diff --git a/.DS_Store b/.DS_Store index 0a49eb7..d8bbe72 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/rc/assets/Color-F6OSRLHC-BhMdJgwp.js b/rc/assets/Color-F6OSRLHC-BhMdJgwp.js deleted file mode 100644 index 347d86e..0000000 --- a/rc/assets/Color-F6OSRLHC-BhMdJgwp.js +++ /dev/null @@ -1 +0,0 @@ -import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-0DKGoewk.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; diff --git a/rc/assets/Color-F6OSRLHC-Cbj52Cbk.js b/rc/assets/Color-F6OSRLHC-Cbj52Cbk.js deleted file mode 100644 index fab47bd..0000000 --- a/rc/assets/Color-F6OSRLHC-Cbj52Cbk.js +++ /dev/null @@ -1 +0,0 @@ -import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-CQXi_Y6g.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; diff --git a/rc/assets/Color-F6OSRLHC-DND2Drzf.js b/rc/assets/Color-F6OSRLHC-DND2Drzf.js deleted file mode 100644 index 51d3598..0000000 --- a/rc/assets/Color-F6OSRLHC-DND2Drzf.js +++ /dev/null @@ -1 +0,0 @@ -import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-Dxx82nxn.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; diff --git a/rc/assets/Color-F6OSRLHC-4xYrqZWr.js b/rc/assets/Color-F6OSRLHC-Dn77HkOp.js similarity index 99% rename from rc/assets/Color-F6OSRLHC-4xYrqZWr.js rename to rc/assets/Color-F6OSRLHC-Dn77HkOp.js index 003f3c2..bc4d87e 100644 --- a/rc/assets/Color-F6OSRLHC-4xYrqZWr.js +++ b/rc/assets/Color-F6OSRLHC-Dn77HkOp.js @@ -1 +1 @@ -import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-CcF9BsMG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; +import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-CMvVeEhu.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; diff --git a/rc/assets/Color-F6OSRLHC-fjEgSeoO.js b/rc/assets/Color-F6OSRLHC-fjEgSeoO.js deleted file mode 100644 index 1d879cd..0000000 --- a/rc/assets/Color-F6OSRLHC-fjEgSeoO.js +++ /dev/null @@ -1 +0,0 @@ -import{an as p,ao as ce,ap as he,aq as q,aj as m,ar as M,a2 as J,a0 as fe,N as de,as as ge,at as be}from"./index-D51CeFyD.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=he(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(be)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:ge(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},ur=rr;export{rr as ColorControl,ur as default}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-CBO2ZpO8.js b/rc/assets/DocsRenderer-CFRXHY34-CBO2ZpO8.js deleted file mode 100644 index aab5ab6..0000000 --- a/rc/assets/DocsRenderer-CFRXHY34-CBO2ZpO8.js +++ /dev/null @@ -1 +0,0 @@ -import{D as a,d}from"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-0DKGoewk.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-CiLRq2cL.js b/rc/assets/DocsRenderer-CFRXHY34-CiLRq2cL.js deleted file mode 100644 index 5c1d642..0000000 --- a/rc/assets/DocsRenderer-CFRXHY34-CiLRq2cL.js +++ /dev/null @@ -1 +0,0 @@ -import{D as a,d}from"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-Dxx82nxn.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-DSCPQ5R7.js b/rc/assets/DocsRenderer-CFRXHY34-DSCPQ5R7.js deleted file mode 100644 index 454b002..0000000 --- a/rc/assets/DocsRenderer-CFRXHY34-DSCPQ5R7.js +++ /dev/null @@ -1 +0,0 @@ -import{D as a,d}from"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-CcF9BsMG.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-DUmSKvt0.js b/rc/assets/DocsRenderer-CFRXHY34-DUmSKvt0.js deleted file mode 100644 index 4e6a64e..0000000 --- a/rc/assets/DocsRenderer-CFRXHY34-DUmSKvt0.js +++ /dev/null @@ -1 +0,0 @@ -import{D as a,d}from"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-D51CeFyD.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-D_eoc53q.js b/rc/assets/DocsRenderer-CFRXHY34-D_eoc53q.js new file mode 100644 index 0000000..70c6fe3 --- /dev/null +++ b/rc/assets/DocsRenderer-CFRXHY34-D_eoc53q.js @@ -0,0 +1 @@ +import{D as a,d}from"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-CMvVeEhu.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/DocsRenderer-CFRXHY34-j567RhKD.js b/rc/assets/DocsRenderer-CFRXHY34-j567RhKD.js deleted file mode 100644 index d00998f..0000000 --- a/rc/assets/DocsRenderer-CFRXHY34-j567RhKD.js +++ /dev/null @@ -1 +0,0 @@ -import{D as a,d}from"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-CQXi_Y6g.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/rc/assets/accordion-D8Cicuuk.js b/rc/assets/accordion-D8Cicuuk.js deleted file mode 100644 index 7fb41dc..0000000 --- a/rc/assets/accordion-D8Cicuuk.js +++ /dev/null @@ -1,117 +0,0 @@ -import{r as b,a as _}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as i}from"./property-CzN8u98o.js";import{b as n}from"./property-types-CkH-zh1n.js";import{e as w}from"./class-map-2iHk_WiG.js";import{i as l,s as h,g,u as a}from"./custom-element-scope-KJWplpvx.js";const S=".dss-decorative-icon{height:24px;width:24px;min-width:24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;border-radius:var(--dss-radius-xs);background-color:var(--color-primary-50);color:var(--color-primary-500);font-size:var(--icon-size-sm)}.dss-decorative-icon--md{height:32px;width:32px;min-width:32px;font-size:var(--icon-size-md);border-radius:var(--dss-radius-xs)}.dss-decorative-icon--lg{height:40px;width:40px;min-width:40px;font-size:var(--icon-size-lg);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--xl{height:48px;width:48px;min-width:48px;font-size:var(--icon-size-xl);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-decorative-icon--success{background-color:var(--color-green-50);color:var(--color-green-500)}.dss-decorative-icon--error{background-color:var(--color-red-50);color:var(--color-red-500)}.dss-decorative-icon--info{background-color:var(--color-blue-50);color:var(--color-blue-500)}",f=":host{width:100%;height:-moz-fit-content;height:fit-content}.dss-accordion{width:100%;min-width:-moz-fit-content;min-width:fit-content}.dss-accordion--box{border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-sm);background-color:var(--color-white)}.dss-accordion--inner:not(.dss-accordion--widget){border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-accordion-header{display:grid;grid-template-columns:1fr var(--dss-spacing-lg);margin:0 var(--dss-spacing-md);padding:var(--dss-spacing-md) 0;gap:var(--dss-spacing-tiny);align-items:center}.dss-accordion-header__info{display:flex;justify-content:space-between;align-items:center}.dss-accordion-header__action{display:flex;justify-content:flex-end;align-items:center}.dss-accordion-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-accordion-title__icon{box-sizing:border-box;width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:var(--color-primary-50);border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-xxs)}.dss-accordion-title__checkbox{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);font-size:14px}.dss-accordion-title__text{color:var(--color-neutral-900);font-size:18px;font-weight:var(--font-semibold);text-overflow:ellipsis;line-height:24px;max-height:24px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.dss-accordion-results{margin-right:var(--dss-spacing-sm);font-weight:var(--font-semibold)}.dss-accordion-header__secondary-action{margin-right:var(--dss-spacing-sm);padding-right:var(--dss-spacing-xs);border-right:var(--dss-border-width-sm) solid var(--color-neutral-400)}.dss-accordion-panel{display:none;color:var(--color-neutral-900);font-size:14px;max-width:100%}.dss-accordion--open .dss-accordion-panel{display:block;padding:0 var(--dss-spacing-md) var(--dss-spacing-md)}.dss-accordion-notifications{padding:0 var(--dss-spacing-xs)}.dss-accordion--widget.dss-accordion--open .dss-accordion-header{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-accordion-widget{display:flex;align-items:center}.dss-accordion-widget__badge{display:flex;align-items:center;gap:var(--dss-spacing-md);margin-right:var(--dss-spacing-md)}.dss-accordion-widget__divider{display:block;height:24px;width:2px;background-color:var(--color-neutral-200)}.dss-accordion-widget__actions{display:flex;gap:var(--dss-spacing-xs);margin-right:var(--dss-spacing-xs)}.dss-accordion--widget .dss-accordion-panel ::slotted(*){max-width:100%}.dss-accordion--widget.dss-accordion--inner:not(.dss-accordion--open) .dss-accordion-header{padding-bottom:0;margin:0}.dss-accordion--widget.dss-accordion--inner .dss-accordion-header{padding-top:0;margin:0}.dss-accordion--widget.dss-accordion--inner .dss-accordion-panel{padding:0}",y=l`dss-icon${h(g())}`,c=l`dss-icon-button${h(g())}`,x=l`dss-badge${h(g())}`,v=l`dss-notification-badge${h(g())}`,m=e=>{const t={"dss-accordion--open":e._isOpen,"dss-accordion--box":e._accordionStyle==="box","dss-accordion--inner":e._accordionStyle==="inner","dss-accordion--widget":e._widget};return a` -
-
-
-
- ${e._icon?a` -
- <${y} icon="${e._icon}" size="md"> -
- `:null} - ${e._hasCheckbox?a` -
- - -
- `:a` -
- ${e._title?a` ${e._title} `:a` ${e._type} ${e._index} `} -
- `} -
- ${e._results&&!e._hasSecondaryAction&&!e._widget?a` -
- <${x} - size="md" - state="${e._resultsState}" - outlined - hideIcon - text="${e._results} ${e._resultsText}" - > -
- `:null} - ${e._notifications&&!e._hasSecondaryAction&&!e._widget?a` -
- <${v} - state="${e._notificationsState}" - value="${e._notifications}" - > - -
- `:null} - ${e._hasSecondaryAction&&!e._widget?a` -
- <${c} - size="md" - icon="${e._secondaryActionIcon}" - type="${e._secondaryActionStatus}" - ?disabled=${e._secondaryActionDisabled} - @onClick=${e._dispatchSecondaryAction} - > -
- `:null} - ${e._widget?a` -
- ${e._widgetBadgeText?a` -
- - -
- `:null} - -
- ${e._widgetShowNext?a` - - - `:null} - ${e._widgetShowClose?a` - - - `:null} -
-
- `:null} -
- -
- <${c} - aria-label="${e._title} accordion" - aria-expanded="${e._isOpen}" - size="md" - icon="${e._isOpen?"expand_less":"expand_more"}" - type="primary" - @onClick=${e._toggleAccordion} - > -
-
- -
- -
-
- `};var $=Object.defineProperty,A=Object.getOwnPropertyDescriptor,o=(e,t,s,k)=>{for(var r=A(t,s),p=e.length-1,u;p>=0;p--)(u=e[p])&&(r=u(t,s,r)||r);return r&&$(t,s,r),r};class d extends b{constructor(){super(...arguments),this._icon="",this._iconStatus="default",this._type="",this._title="",this._index=void 0,this._isOpen=!1,this._results=void 0,this._resultsText="Resultats",this._resultsState="neutral",this._accordionStyle="box",this._hasCheckbox=!1,this._hasSecondaryAction=!1,this._secondaryActionIcon="add_box",this._secondaryActionStatus="primary",this._secondaryActionDisabled=!1,this._notificationsState="default",this._notifications=void 0,this._widget=!1,this._widgetBadgeState="neutral",this._widgetBadgeText=void 0,this._widgetShowNext=!1,this._widgetShowClose=!1}static get styles(){return[_(S),_(f)]}get _checkbox(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="checkbox"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set icon(t){const s=this._icon;this._icon=t,this.requestUpdate("icon",s)}set iconStatus(t){const s=this._iconStatus;this._iconStatus=t,this.requestUpdate("iconStatus",s)}set titleText(t){const s=this._title;this._title=t,this.requestUpdate("title",s)}set type(t){const s=this._type;this._type=t,this.requestUpdate("type",s)}set index(t){const s=this._index;this._index=t,this.requestUpdate("index",s)}set isOpen(t){const s=this._isOpen;this._isOpen=t,this.requestUpdate("disabled",s)}set accordionStyle(t){const s=this._accordionStyle;t==="inner"?this._accordionStyle=t:this._accordionStyle="box",this.requestUpdate("accordionStyle",s)}set results(t){const s=this._results;this._results=t,this.requestUpdate("results",s)}set resultsText(t){const s=this._resultsText;this._resultsText=t,this.requestUpdate("resultsText",s)}set hasCheckbox(t){const s=this._hasCheckbox;this._hasCheckbox=t,this.requestUpdate("hasCheckbox",s)}set hasSecondaryAction(t){const s=this._hasSecondaryAction;this._hasSecondaryAction=t,this.requestUpdate("hasSecondaryAction",s)}set secondaryActionIcon(t){const s=this._secondaryActionIcon;this._secondaryActionIcon=t,this.requestUpdate("secondaryActionIcon",s)}set secondaryActionStatus(t){const s=this._secondaryActionStatus;this._secondaryActionStatus=t,this.requestUpdate("secondaryActionStatus",s)}set secondaryActionDisabled(t){const s=this._secondaryActionDisabled;this._secondaryActionDisabled=t,this.requestUpdate("secondaryActionDisabled",s)}set resultsState(t){const s=this._resultsState;this._resultsState=t,this.requestUpdate("resultsState",s)}set notificationsState(t){const s=this._notificationsState;this._notificationsState=t,this.requestUpdate("notificationsState",s)}set notifications(t){const s=this._notificationsState;this._notifications=t,this.requestUpdate("notifications",s)}set widget(t){const s=this._widget;this._widget=t,this.requestUpdate("widget",s)}set widgetBadgeState(t){const s=this._widgetBadgeState;this._widgetBadgeState=t,this.requestUpdate("widgetBadgeState",s)}set widgetBadgeText(t){const s=this._widgetBadgeText;this._widgetBadgeText=t,this.requestUpdate("widgetBadgeText",s)}set widgetShowNext(t){const s=this._widgetShowNext;this._widgetShowNext=t,this.requestUpdate("widgetShowNext",s)}set widgetShowClose(t){const s=this._widgetShowClose;this._widgetShowClose=t,this.requestUpdate("widgetShowClose",s)}_toggleAccordion(){this._isOpen=!this._isOpen,this._dispatchToggleAccordion(),this.requestUpdate()}_dispatchCheckboxChange(){const t={detail:this._checkbox.checked,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onAccordionCheckboxChange",t))}_dispatchSecondaryAction(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onAccordionSecondaryAction",t))}_dispatchToggleAccordion(){const t={detail:this._isOpen,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onToggleAccordion",t))}_dispatchWidgetNext(){const t={detail:{},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onWidgetNext",t))}_dispatchWidgetClose(){const t={detail:{},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onWidgetClose",t))}render(){return m(this)}}o([i({type:String})],d.prototype,"icon");o([i({type:String})],d.prototype,"iconStatus");o([i({type:String})],d.prototype,"titleText");o([i({type:String})],d.prototype,"type");o([i({type:Number})],d.prototype,"index");o([i(n)],d.prototype,"isOpen");o([i({type:String})],d.prototype,"accordionStyle");o([i({type:Number})],d.prototype,"results");o([i({type:String})],d.prototype,"resultsText");o([i(n)],d.prototype,"hasCheckbox");o([i(n)],d.prototype,"hasSecondaryAction");o([i({type:String})],d.prototype,"secondaryActionIcon");o([i({type:String})],d.prototype,"secondaryActionStatus");o([i(n)],d.prototype,"secondaryActionDisabled");o([i({type:String})],d.prototype,"resultsState");o([i({type:String})],d.prototype,"notificationsState");o([i({type:Number})],d.prototype,"notifications");o([i({type:Boolean})],d.prototype,"widget");o([i({type:String})],d.prototype,"widgetBadgeState");o([i({type:String})],d.prototype,"widgetBadgeText");o([i({type:Boolean})],d.prototype,"widgetShowNext");o([i({type:Boolean})],d.prototype,"widgetShowClose");export{d as A,S as d}; diff --git a/rc/assets/accordion-wGXhMz48.js b/rc/assets/accordion-wGXhMz48.js deleted file mode 100644 index 76c2f43..0000000 --- a/rc/assets/accordion-wGXhMz48.js +++ /dev/null @@ -1,80 +0,0 @@ -import{r as b,a as y}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as e}from"./property-CzN8u98o.js";import{b as n}from"./property-types-CkH-zh1n.js";import{i as l,s as h,u as r}from"./static-DLZyqU8Z.js";import{e as f}from"./class-map-2iHk_WiG.js";import{g as p}from"./custom-element-scope-Dp4Dg8bo.js";const S=".dss-decorative-icon{height:24px;width:24px;min-width:24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;border-radius:var(--dss-radius-xs);background-color:var(--color-primary-50);color:var(--color-primary-500);font-size:var(--icon-size-sm)}.dss-decorative-icon--md{height:32px;width:32px;min-width:32px;font-size:var(--icon-size-md);border-radius:var(--dss-radius-xs)}.dss-decorative-icon--lg{height:40px;width:40px;min-width:40px;font-size:var(--icon-size-lg);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--xl{height:48px;width:48px;min-width:48px;font-size:var(--icon-size-xl);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-decorative-icon--success{background-color:var(--color-green-50);color:var(--color-green-500)}.dss-decorative-icon--error{background-color:var(--color-red-50);color:var(--color-red-500)}.dss-decorative-icon--info{background-color:var(--color-blue-50);color:var(--color-blue-500)}",m=":host{width:100%;height:-moz-fit-content;height:fit-content}.dss-accordion{width:100%}.dss-accordion--box{border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-sm);background-color:var(--color-white)}.dss-accordion--inner{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-accordion-header{display:grid;grid-template-columns:1fr var(--dss-spacing-lg);padding:0 var(--dss-spacing-sm);gap:var(--dss-spacing-tiny);height:48px;align-items:center}.dss-accordion-header__info{display:flex;justify-content:space-between;align-items:center}.dss-accordion-header__action{display:flex;justify-content:flex-end;align-items:center}.dss-accordion-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-accordion-title__icon{box-sizing:border-box;width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:var(--color-primary-50);border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-xxs)}.dss-accordion-title__checkbox{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);font-size:14px}.dss-accordion-title__text{color:var(--color-neutral-700);font-size:14px;font-weight:var(--font-semibold)}.dss-accordion-results{margin-right:var(--dss-spacing-sm);font-weight:var(--font-semibold)}.dss-accordion-header__secondary-action{margin-right:var(--dss-spacing-sm);padding-right:var(--dss-spacing-xs);border-right:var(--dss-border-width-sm) solid var(--color-neutral-400)}.dss-accordion-panel{display:none;padding:0 var(--dss-spacing-sm) var(--dss-spacing-sm);color:var(--color-neutral-900);font-size:14px}.dss-accordion--open .dss-accordion-panel{display:block}.dss-accordion-notifications{padding:0 var(--dss-spacing-xs)}",g=l`dss-icon${h(p())}`,d=l`dss-icon-button${h(p())}`,v=l`dss-badge${h(p())}`,x=l`dss-notification-badge${h(p())}`,A=i=>{const s={"dss-accordion--open":i._isOpen,"dss-accordion--box":i._accordionStyle==="box","dss-accordion--inner":i._accordionStyle==="inner"};return r` -
-
-
-
- ${i._icon?r` -
- <${g} icon="${i._icon}" size="sm"> -
- `:null} - ${i._hasCheckbox?r` -
- - -
- `:r` -
- ${i._title?r` ${i._title} `:r` ${i._type} ${i._index} `} -
- `} -
- ${i._results&&!i._hasSecondaryAction?r` -
- <${v} - size="md" - state="${i._resultsState}" - outlined - hideIcon - text="${i._results} ${i._resultsText}" - > -
- `:null} - ${i._notifications&&!i._hasSecondaryAction?r` -
- <${x} - state="${i._notificationsState}" - value="${i._notifications}" - > - -
- `:null} - ${i._hasSecondaryAction?r` -
- <${d} - size="md" - icon="${i._secondaryActionIcon}" - type="${i._secondaryActionStatus}" - ?disabled=${i._secondaryActionDisabled} - @onClick=${i._dispatchSecondaryAction} - > -
- `:null} -
- -
- <${d} - aria-label="${i._title} accordion" - aria-expanded="${i._isOpen}" - size="md" - icon="${i._isOpen?"expand_less":"expand_more"}" - type="primary" - @onClick=${i._toggleAccordion} - > -
-
- -
- -
-
- `};var $=Object.defineProperty,k=Object.getOwnPropertyDescriptor,o=(i,s,t,w)=>{for(var c=k(s,t),u=i.length-1,_;u>=0;u--)(_=i[u])&&(c=_(s,t,c)||c);return c&&$(s,t,c),c};class a extends b{constructor(){super(...arguments),this._icon="",this._iconStatus="default",this._type="",this._title="",this._index=void 0,this._isOpen=!1,this._results=void 0,this._resultsText="Resultats",this._resultsState="neutral",this._accordionStyle="box",this._hasCheckbox=!1,this._hasSecondaryAction=!1,this._secondaryActionIcon="add_box",this._secondaryActionStatus="primary",this._secondaryActionDisabled=!1,this._notificationsState="default",this._notifications=void 0}static get styles(){return[y(S),y(m)]}get _checkbox(){var t;const s=((t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="checkbox"]'))||void 0;return this.requestUpdate(),s==null?void 0:s.assignedElements()[0]}set icon(s){const t=this._icon;this._icon=s,this.requestUpdate("icon",t)}set iconStatus(s){const t=this._iconStatus;this._iconStatus=s,this.requestUpdate("iconStatus",t)}set titleText(s){const t=this._title;this._title=s,this.requestUpdate("title",t)}set type(s){const t=this._type;this._type=s,this.requestUpdate("type",t)}set index(s){const t=this._index;this._index=s,this.requestUpdate("index",t)}set isOpen(s){const t=this._isOpen;this._isOpen=s,this.requestUpdate("disabled",t)}set accordionStyle(s){const t=this._accordionStyle;s==="inner"?this._accordionStyle=s:this._accordionStyle="box",this.requestUpdate("accordionStyle",t)}set results(s){const t=this._results;this._results=s,this.requestUpdate("results",t)}set resultsText(s){const t=this._resultsText;this._resultsText=s,this.requestUpdate("resultsText",t)}set hasCheckbox(s){const t=this._hasCheckbox;this._hasCheckbox=s,this.requestUpdate("hasCheckbox",t)}set hasSecondaryAction(s){const t=this._hasSecondaryAction;this._hasSecondaryAction=s,this.requestUpdate("hasSecondaryAction",t)}set secondaryActionIcon(s){const t=this._secondaryActionIcon;this._secondaryActionIcon=s,this.requestUpdate("secondaryActionIcon",t)}set secondaryActionStatus(s){const t=this._secondaryActionStatus;this._secondaryActionStatus=s,this.requestUpdate("secondaryActionStatus",t)}set secondaryActionDisabled(s){const t=this._secondaryActionDisabled;this._secondaryActionDisabled=s,this.requestUpdate("secondaryActionDisabled",t)}set resultsState(s){const t=this._resultsState;this._resultsState=s,this.requestUpdate("resultsState",t)}set notificationsState(s){const t=this._notificationsState;this._notificationsState=s,this.requestUpdate("notificationsState",t)}set notifications(s){const t=this._notificationsState;this._notifications=s,this.requestUpdate("notifications",t)}_toggleAccordion(){this._isOpen=!this._isOpen,this._dispatchToggleAccordion(),this.requestUpdate()}_dispatchCheckboxChange(){const s={detail:this._checkbox.checked,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onAccordionCheckboxChange",s))}_dispatchSecondaryAction(){const s={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onAccordionSecondaryAction",s))}_dispatchToggleAccordion(){const s={detail:this._isOpen,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onToggleAccordion",s))}render(){return A(this)}}o([e({type:String})],a.prototype,"icon");o([e({type:String})],a.prototype,"iconStatus");o([e({type:String})],a.prototype,"titleText");o([e({type:String})],a.prototype,"type");o([e({type:Number})],a.prototype,"index");o([e(n)],a.prototype,"isOpen");o([e({type:String})],a.prototype,"accordionStyle");o([e({type:Number})],a.prototype,"results");o([e({type:String})],a.prototype,"resultsText");o([e(n)],a.prototype,"hasCheckbox");o([e(n)],a.prototype,"hasSecondaryAction");o([e({type:String})],a.prototype,"secondaryActionIcon");o([e({type:String})],a.prototype,"secondaryActionStatus");o([e(n)],a.prototype,"secondaryActionDisabled");o([e({type:String})],a.prototype,"resultsState");o([e({type:String})],a.prototype,"notificationsState");o([e({type:Number})],a.prototype,"notifications");export{a as A,S as d}; diff --git a/rc/assets/accordion.doc-CkpBZKs_.js b/rc/assets/accordion.doc-CkpBZKs_.js deleted file mode 100644 index 7420830..0000000 --- a/rc/assets/accordion.doc-CkpBZKs_.js +++ /dev/null @@ -1,72 +0,0 @@ -import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{A as a,P as h,S as o,O as x,N as j,I as g,R as u,a as b,b as m,c as p,d as f,C as y,W as A}from"./accordion.stories-BLuWpO92.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./accordion-D8Cicuuk.js";import"./property-CzN8u98o.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";import"./custom-element-scope-KJWplpvx.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - width: 600px; - } - .wrapper + .wrapper { - margin-top: 20px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un acordió és una llista apilada verticalment de capçaleres que revelen o amaguen seccions de contingut associades. -Per a expandir el contingut ha de fer-se clic en la icona situada a la dreta del component o bé en al títol.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"accordionStyle"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'box'"}),e.jsx(s.td,{children:"Estil de l'acordió. Els valors poden ser box o inner."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Mostra la icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"disabled"}),". Pot validar l'estat que necessita a la pàgina del decorative-icon."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"titleText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Títol que es mostrarà dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"index"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Index que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"isOpen"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Propietat que mostrarà l'acordió obert per defecte en cas de ser definida. Pot utilitzar aquesta propietat quan necessiti mostrar només un acordió en cas que hi hagi varis al mateix temps en la pantalla."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"results"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"number"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Habilita el badge de resultats i defineix el número d'aquests."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Text que es mostra dins del badge de resultats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Assigneu un estil d'estat al badge de resultats. Veure opcions de badge informatiu."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notifications"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Comptador de notificacions que es mostra a la capçalera de l'acordió."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notificationsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Assigneu un estil d'estat al comptador de notificacions. Pot ser: ",e.jsx(s.strong,{children:"success"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"alert"}),", ",e.jsx(s.strong,{children:"info"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasCheckbox"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Substitueix el títol del acordió per una casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasSecondaryAction"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona per a realitzar una acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Modifica la icona d'acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),". Pot validar l'estat que necessita a la pàgina del icon-button."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionDisabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Deshabilita la icona d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widget"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeText"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text mostrat dins de la insígnia d'informació.."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeState"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'neutral'"}),e.jsx(s.td,{children:"Estat de la insígnia d'informació."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowNext"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó d'acció següent."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowClose"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó de tancar el widget."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionCheckboxChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el valor checked de la casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionSecondaryAction"})}),e.jsx(s.td,{children:"Esdeveniment que notifica que s'ha fet clic en el botó d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget-1",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetNext"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'següent'."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetClose"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'tancar'."})]})]})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil",children:"Estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#abierto",children:"Abierto"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-t%C3%ADtol",children:"Sense títol"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-resultats",children:"Amb resultats"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-notificaci%C3%B3",children:"Amb notificació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-acci%C3%B3-secund%C3%A0ria",children:"Amb acció secundària"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-checkbox",children:"Amb checkbox"})}),` -`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx(s.h3,{id:"estil",children:"Estil"}),` -`,e.jsx(s.p,{children:"Farem servir l'estil (box | inner)."}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"abierto",children:"Abierto"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"sense-títol",children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Si el títol no està definit, s'haurà de definir el tipus d'acordió i la posició respecte a la resta d'acordions. -Per exemple, si tenim un array d'acordions per a modificar la direcció de diversos centres, el tipus seria 'Direcció' i l'indexi seria la posició dins del array.`}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-resultats",children:"Amb resultats"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"amb-notificació",children:"Amb notificació"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"amb-acció-secundària",children:"Amb acció secundària"}),` -`,e.jsx(n,{of:m}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionStatus"})," per a canviar l'estat de l'acció secundària: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),"."]}),` -`,e.jsx(n,{of:p}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionDisabled"})," per a deshabilitar l'acció secundària."]}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"amb-checkbox",children:"Amb checkbox"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx(s.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou Web Component"})]})]})]})]})}function R(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{R as default}; diff --git a/rc/assets/accordion.doc-CrgW1Lh9.js b/rc/assets/accordion.doc-CrgW1Lh9.js deleted file mode 100644 index 337ff53..0000000 --- a/rc/assets/accordion.doc-CrgW1Lh9.js +++ /dev/null @@ -1,72 +0,0 @@ -import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{A as a,P as o,S as h,O as x,N as j,I as g,R as u,a as b,b as m,c as p,d as f,C as y,W as A}from"./accordion.stories-39zOIiNn.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./accordion-CfOPVxwX.js";import"./property-DnLABHHV.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - width: 600px; - } - .wrapper + .wrapper { - margin-top: 20px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un acordió és una llista apilada verticalment de capçaleres que revelen o amaguen seccions de contingut associades. -Per a expandir el contingut ha de fer-se clic en la icona situada a la dreta del component o bé en al títol.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"accordionStyle"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'box'"}),e.jsx(s.td,{children:"Estil de l'acordió. Els valors poden ser box o inner."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Mostra la icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"disabled"}),". Pot validar l'estat que necessita a la pàgina del decorative-icon."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"titleText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Títol que es mostrarà dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"index"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Index que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"isOpen"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Propietat que mostrarà l'acordió obert per defecte en cas de ser definida. Pot utilitzar aquesta propietat quan necessiti mostrar només un acordió en cas que hi hagi varis al mateix temps en la pantalla."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"results"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"number"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Habilita el badge de resultats i defineix el número d'aquests."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Text que es mostra dins del badge de resultats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Assigneu un estil d'estat al badge de resultats. Veure opcions de badge informatiu."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notifications"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Comptador de notificacions que es mostra a la capçalera de l'acordió."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notificationsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Assigneu un estil d'estat al comptador de notificacions. Pot ser: ",e.jsx(s.strong,{children:"success"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"alert"}),", ",e.jsx(s.strong,{children:"info"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasCheckbox"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Substitueix el títol del acordió per una casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasSecondaryAction"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona per a realitzar una acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Modifica la icona d'acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),". Pot validar l'estat que necessita a la pàgina del icon-button."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionDisabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Deshabilita la icona d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widget"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeText"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text mostrat dins de la insígnia d'informació.."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeState"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'neutral'"}),e.jsx(s.td,{children:"Estat de la insígnia d'informació."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowNext"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó d'acció següent."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowClose"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó de tancar el widget."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionCheckboxChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el valor checked de la casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionSecondaryAction"})}),e.jsx(s.td,{children:"Esdeveniment que notifica que s'ha fet clic en el botó d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget-1",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetNext"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'següent'."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetClose"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'tancar'."})]})]})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil",children:"Estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#abierto",children:"Abierto"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-t%C3%ADtol",children:"Sense títol"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-resultats",children:"Amb resultats"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-notificaci%C3%B3",children:"Amb notificació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-acci%C3%B3-secund%C3%A0ria",children:"Amb acció secundària"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-checkbox",children:"Amb checkbox"})}),` -`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx(s.h3,{id:"estil",children:"Estil"}),` -`,e.jsx(s.p,{children:"Farem servir l'estil (box | inner)."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"abierto",children:"Abierto"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"sense-títol",children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Si el títol no està definit, s'haurà de definir el tipus d'acordió i la posició respecte a la resta d'acordions. -Per exemple, si tenim un array d'acordions per a modificar la direcció de diversos centres, el tipus seria 'Direcció' i l'indexi seria la posició dins del array.`}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-resultats",children:"Amb resultats"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"amb-notificació",children:"Amb notificació"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"amb-acció-secundària",children:"Amb acció secundària"}),` -`,e.jsx(n,{of:m}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionStatus"})," per a canviar l'estat de l'acció secundària: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),"."]}),` -`,e.jsx(n,{of:p}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionDisabled"})," per a deshabilitar l'acció secundària."]}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"amb-checkbox",children:"Amb checkbox"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx(s.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou Web Component"})]})]})]})]})}function _(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{_ as default}; diff --git a/rc/assets/accordion.doc-DOdGXMaZ.js b/rc/assets/accordion.doc-DOdGXMaZ.js deleted file mode 100644 index e4a4db7..0000000 --- a/rc/assets/accordion.doc-DOdGXMaZ.js +++ /dev/null @@ -1,72 +0,0 @@ -import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{A as a,P as o,S as h,O as x,N as j,I as g,R as u,a as b,b as m,c as p,d as f,C as y,W as A}from"./accordion.stories-39zOIiNn.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./accordion-CfOPVxwX.js";import"./property-DnLABHHV.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - width: 600px; - } - .wrapper + .wrapper { - margin-top: 20px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un acordió és una llista apilada verticalment de capçaleres que revelen o amaguen seccions de contingut associades. -Per a expandir el contingut ha de fer-se clic en la icona situada a la dreta del component o bé en al títol.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"accordionStyle"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'box'"}),e.jsx(s.td,{children:"Estil de l'acordió. Els valors poden ser box o inner."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Mostra la icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"disabled"}),". Pot validar l'estat que necessita a la pàgina del decorative-icon."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"titleText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Títol que es mostrarà dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"index"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Index que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"isOpen"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Propietat que mostrarà l'acordió obert per defecte en cas de ser definida. Pot utilitzar aquesta propietat quan necessiti mostrar només un acordió en cas que hi hagi varis al mateix temps en la pantalla."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"results"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"number"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Habilita el badge de resultats i defineix el número d'aquests."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Text que es mostra dins del badge de resultats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Assigneu un estil d'estat al badge de resultats. Veure opcions de badge informatiu."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notifications"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Comptador de notificacions que es mostra a la capçalera de l'acordió."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notificationsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Assigneu un estil d'estat al comptador de notificacions. Pot ser: ",e.jsx(s.strong,{children:"success"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"alert"}),", ",e.jsx(s.strong,{children:"info"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasCheckbox"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Substitueix el títol del acordió per una casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasSecondaryAction"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona per a realitzar una acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Modifica la icona d'acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),". Pot validar l'estat que necessita a la pàgina del icon-button."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionDisabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Deshabilita la icona d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widget"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeText"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text mostrat dins de la insígnia d'informació.."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetBadgeState"})}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'neutral'"}),e.jsx(s.td,{children:"Estat de la insígnia d'informació."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowNext"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó d'acció següent."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"widgetShowClose"})}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el botó de tancar el widget."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionCheckboxChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el valor checked de la casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionSecondaryAction"})}),e.jsx(s.td,{children:"Esdeveniment que notifica que s'ha fet clic en el botó d'acció secundària."})]})]})]}),` -`,e.jsx(s.h3,{id:"variant-widget-1",children:"(variant: widget)"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetNext"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'següent'."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onWidgetClose"})}),e.jsx(s.td,{children:"Notifica quan s'ha fet clic al botó 'tancar'."})]})]})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil",children:"Estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#abierto",children:"Abierto"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-t%C3%ADtol",children:"Sense títol"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-resultats",children:"Amb resultats"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-notificaci%C3%B3",children:"Amb notificació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-acci%C3%B3-secund%C3%A0ria",children:"Amb acció secundària"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-checkbox",children:"Amb checkbox"})}),` -`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx(s.h3,{id:"estil",children:"Estil"}),` -`,e.jsx(s.p,{children:"Farem servir l'estil (box | inner)."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"abierto",children:"Abierto"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"sense-títol",children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Si el títol no està definit, s'haurà de definir el tipus d'acordió i la posició respecte a la resta d'acordions. -Per exemple, si tenim un array d'acordions per a modificar la direcció de diversos centres, el tipus seria 'Direcció' i l'indexi seria la posició dins del array.`}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-resultats",children:"Amb resultats"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"amb-notificació",children:"Amb notificació"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"amb-acció-secundària",children:"Amb acció secundària"}),` -`,e.jsx(n,{of:m}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionStatus"})," per a canviar l'estat de l'acció secundària: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),"."]}),` -`,e.jsx(n,{of:p}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionDisabled"})," per a deshabilitar l'acció secundària."]}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"amb-checkbox",children:"Amb checkbox"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx(s.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou Web Component"})]})]})]})]})}function _(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{_ as default}; diff --git a/rc/assets/accordion.doc-DvucSrAb.js b/rc/assets/accordion.doc-DvucSrAb.js deleted file mode 100644 index 636c240..0000000 --- a/rc/assets/accordion.doc-DvucSrAb.js +++ /dev/null @@ -1,63 +0,0 @@ -import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{A as a,P as o,S as h,O as x,N as j,I as u,R as p,a as m,b,c as g,d as f,C as A}from"./accordion.stories-912XHnh-.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./accordion-wGXhMz48.js";import"./property-CzN8u98o.js";import"./property-types-CkH-zh1n.js";import"./static-DLZyqU8Z.js";import"./class-map-2iHk_WiG.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - width: 600px; - } - .wrapper + .wrapper { - margin-top: 20px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un acordió és una llista apilada verticalment de capçaleres que revelen o amaguen seccions de contingut associades. -Per a expandir el contingut ha de fer-se clic en la icona situada a la dreta del component o bé en al títol.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"accordionStyle"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'box'"}),e.jsx(s.td,{children:"Estil de l'acordió. Els valors poden ser box o inner."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Mostra la icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"disabled"}),". Pot validar l'estat que necessita a la pàgina del decorative-icon."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"titleText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Títol que es mostrarà dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"index"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Index que es mostrarà dins del component en cas que no hi hagi títol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"isOpen"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Propietat que mostrarà l'acordió obert per defecte en cas de ser definida. Pot utilitzar aquesta propietat quan necessiti mostrar només un acordió en cas que hi hagi varis al mateix temps en la pantalla."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"results"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"number"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Habilita el badge de resultats i defineix el número d'aquests."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsText"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Text que es mostra dins del badge de resultats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Assigneu un estil d'estat al badge de resultats. Veure opcions de badge informatiu."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notifications"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Comptador de notificacions que es mostra a la capçalera de l'acordió."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"notificationsState"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Assigneu un estil d'estat al comptador de notificacions. Pot ser: ",e.jsx(s.strong,{children:"success"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"alert"}),", ",e.jsx(s.strong,{children:"info"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasCheckbox"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Substitueix el títol del acordió per una casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasSecondaryAction"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona per a realitzar una acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Modifica la icona d'acció secundària."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionStatus"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsxs(s.td,{children:["Modifica l'aparença de la icona d'acció secundària. Pot ser: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),". Pot validar l'estat que necessita a la pàgina del icon-button."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"secondaryActionDisabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Deshabilita la icona d'acció secundària."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionCheckboxChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el valor checked de la casella de selecció."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onAccordionSecondaryAction"})}),e.jsx(s.td,{children:"Esdeveniment que notifica que s'ha fet clic en el botó d'acció secundària."})]})]})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil",children:"Estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#abierto",children:"Abierto"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-t%C3%ADtol",children:"Sense títol"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-resultats",children:"Amb resultats"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-notificaci%C3%B3",children:"Amb notificació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-acci%C3%B3-secund%C3%A0ria",children:"Amb acció secundària"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-checkbox",children:"Amb checkbox"})}),` -`]}),` -`,e.jsx(s.h3,{id:"estil",children:"Estil"}),` -`,e.jsx(s.p,{children:"Farem servir l'estil (box | inner)."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"abierto",children:"Abierto"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"sense-títol",children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Si el títol no està definit, s'haurà de definir el tipus d'acordió i la posició respecte a la resta d'acordions. -Per exemple, si tenim un array d'acordions per a modificar la direcció de diversos centres, el tipus seria 'Direcció' i l'indexi seria la posició dins del array.`}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"amb-resultats",children:"Amb resultats"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"amb-notificació",children:"Amb notificació"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"amb-acció-secundària",children:"Amb acció secundària"}),` -`,e.jsx(n,{of:b}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionStatus"})," per a canviar l'estat de l'acció secundària: ",e.jsx(s.strong,{children:"default"}),", ",e.jsx(s.strong,{children:"primary"}),", ",e.jsx(s.strong,{children:"error"}),", ",e.jsx(s.strong,{children:"warning"}),", ",e.jsx(s.strong,{children:"success"})," o ",e.jsx(s.strong,{children:"info"}),"."]}),` -`,e.jsx(n,{of:g}),` -`,e.jsxs(s.p,{children:["Usar la propietat ",e.jsx(s.strong,{children:"secondaryActionDisabled"})," per a deshabilitar l'acció secundària."]}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"amb-checkbox",children:"Amb checkbox"}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou Web Component"})]})]})]})]})}function z(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{z as default}; diff --git a/rc/assets/accordion.doc-CVY2Sd8U.js b/rc/assets/accordion.doc-E6cZaKAW.js similarity index 98% rename from rc/assets/accordion.doc-CVY2Sd8U.js rename to rc/assets/accordion.doc-E6cZaKAW.js index e3bd172..26030a5 100644 --- a/rc/assets/accordion.doc-CVY2Sd8U.js +++ b/rc/assets/accordion.doc-E6cZaKAW.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{A as a,P as o,S as h,O as x,N as j,I as g,R as u,a as b,b as m,c as p,d as f,C as y,W as A}from"./accordion.stories-39zOIiNn.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./accordion-CfOPVxwX.js";import"./property-DnLABHHV.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ag as c,ah as n,ai as l}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{A as a,P as o,S as h,O as x,N as j,I as g,R as u,a as b,b as m,c as p,d as f,C as y,W as A}from"./accordion.stories-39zOIiNn.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./accordion-CfOPVxwX.js";import"./property-DnLABHHV.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/accordion.stories-912XHnh-.js b/rc/assets/accordion.stories-912XHnh-.js deleted file mode 100644 index ccc4b88..0000000 --- a/rc/assets/accordion.stories-912XHnh-.js +++ /dev/null @@ -1,601 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as c}from"./lit-html-paDGiEfB.js";import"./accordion-wGXhMz48.js";const J={title:"Components/Accordion",argTypes:{hasSecondaryAction:{name:"Mostra l'acció secundària",control:{type:"boolean"}},showResults:{name:"Mostra els resultats",control:{type:"boolean"},if:{arg:"hasSecondaryAction",truthy:!1}},showNotifications:{name:"Mostra notificacions",control:{type:"boolean"},if:{arg:"hasSecondaryAction",truthy:!1}},accordionStyle:{name:"Estil",control:{type:"radio"},options:["box","inner"]},showIcon:{name:" Mostra la icona",control:{type:"boolean"}},icon:{name:"Icona",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},iconStatus:{name:"Estat de la icona",control:{type:"select"},options:["default","success","error","disabled"],if:{arg:"showIcon",truthy:!0}},showTitle:{name:" Mostra el títol",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"},if:{arg:"showTitle",truthy:!0}},type:{name:"Tipus",control:{type:"text"},if:{arg:"showTitle",truthy:!1}},index:{name:"Index",control:{type:"text"},if:{arg:"showTitle",truthy:!1}},results:{name:" Resultats",control:{type:"number"},if:{arg:"showResults",truthy:!0}},resultsText:{name:" Resultats Text",control:{type:"text"},if:{arg:"showResults",truthy:!0}},resultsState:{name:" Resultats Estat",control:{type:"select"},options:["ideal","critic","alert","info","info-alt","neutral"],if:{arg:"showResults",truthy:!0}},notifications:{name:"Notificacions",control:{type:"number"},if:{arg:"showNotifications",truthy:!0}},notificationsState:{name:"Estat de les notificacions",control:{type:"select"},options:["success","warning","error","info"],if:{arg:"showNotifications",truthy:!0}},hasCheckbox:{name:" Mostra els checkbox",control:{type:"boolean"}},checkboxLabel:{name:" Resultats Label",control:{type:"text"},if:{arg:"hasCheckbox",truthy:!0}},secondaryActionIcon:{name:"Icona de l'acció secundària",control:{type:"text"},if:{arg:"hasSecondaryAction",truthy:!0}},secondaryActionStatus:{name:"Estat de l'acció secundària",control:{type:"select"},options:["default","primary","success","warning","error","info"],if:{arg:"hasSecondaryAction",truthy:!0}}}},e={render:o=>c` -
- ${o.showTitle&&o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showTitle&&!o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:!o.showTitle&&o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:!o.showTitle&&!o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:null} -
- `,args:{accordionStyle:"box",showIcon:!1,icon:"add_box",iconStatus:"default",showTitle:!1,title:"Accordion title",type:"Accordion type",index:"1",hasSecondaryAction:!1,secondaryActionIcon:"edit_document",secondaryActionStatus:"primary",showResults:!1,results:1,resultsText:"Resultats",resultsState:"ideal",showNotifications:!1,notifications:1,notificationsState:"info",hasCheckbox:!1,checkboxLabel:"Checkbox"}},n={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
-
- - Define the accordion content here. - -
- `},t={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},s={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},a={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},i={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- `},l={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- `},d={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},r={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},h={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},b={tags:["!dev"],render:()=>c` -
- - - - - Define the accordion content here. - -
- `};var x,k,u;e.parameters={...e.parameters,docs:{...(x=e.parameters)==null?void 0:x.docs,source:{originalSource:`{ - render: (args: AccordionArgs) => { - return html\` -
- \${args.showTitle && args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showTitle && !args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : !args.showTitle && args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : !args.showTitle && !args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : null} -
- \`; - }, - args: { - accordionStyle: 'box', - showIcon: false, - icon: 'add_box', - iconStatus: 'default', - showTitle: false, - title: 'Accordion title', - type: 'Accordion type', - index: '1', - hasSecondaryAction: false, - secondaryActionIcon: 'edit_document', - secondaryActionStatus: 'primary', - showResults: false, - results: 1, - resultsText: 'Resultats', - resultsState: 'ideal', - showNotifications: false, - notifications: 1, - notificationsState: 'info', - hasCheckbox: false, - checkboxLabel: 'Checkbox' - } -}`,...(u=(k=e.parameters)==null?void 0:k.docs)==null?void 0:u.source}}};var y,$,p;n.parameters={...n.parameters,docs:{...(y=n.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
-
- - Define the accordion content here. - -
- \`; - } -}`,...(p=($=n.parameters)==null?void 0:$.docs)==null?void 0:p.source}}};var S,f,C;t.parameters={...t.parameters,docs:{...(S=t.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(C=(f=t.parameters)==null?void 0:f.docs)==null?void 0:C.source}}};var m,v,w;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(w=(v=s.parameters)==null?void 0:v.docs)==null?void 0:w.source}}};var A,T,L;a.parameters={...a.parameters,docs:{...(A=a.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(L=(T=a.parameters)==null?void 0:T.docs)==null?void 0:L.source}}};var g,I,_;i.parameters={...i.parameters,docs:{...(g=i.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- \`; - } -}`,...(_=(I=i.parameters)==null?void 0:I.docs)==null?void 0:_.source}}};var D,H,R;l.parameters={...l.parameters,docs:{...(D=l.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- \`; - } -}`,...(R=(H=l.parameters)==null?void 0:H.docs)==null?void 0:R.source}}};var N,O,E;d.parameters={...d.parameters,docs:{...(N=d.parameters)==null?void 0:N.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(E=(O=d.parameters)==null?void 0:O.docs)==null?void 0:E.source}}};var M,P,j;r.parameters={...r.parameters,docs:{...(M=r.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(j=(P=r.parameters)==null?void 0:P.docs)==null?void 0:j.source}}};var B,X,z;h.parameters={...h.parameters,docs:{...(B=h.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(z=(X=h.parameters)==null?void 0:X.docs)==null?void 0:z.source}}};var q,F,G;b.parameters={...b.parameters,docs:{...(q=b.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - Define the accordion content here. - -
- \`; - } -}`,...(G=(F=b.parameters)==null?void 0:F.docs)==null?void 0:G.source}}};const K=["Playground","Style","Open","NoTitle","Icon","Results","Notifications","SecondaryAction","SecondaryActionStatus","SecondaryActionDisabled","Checkbox"],W=Object.freeze(Object.defineProperty({__proto__:null,Checkbox:b,Icon:a,NoTitle:s,Notifications:l,Open:t,Playground:e,Results:i,SecondaryAction:d,SecondaryActionDisabled:h,SecondaryActionStatus:r,Style:n,__namedExportsOrder:K,default:J},Symbol.toStringTag,{value:"Module"}));export{W as A,b as C,a as I,s as N,t as O,e as P,i as R,n as S,l as a,d as b,r as c,h as d}; diff --git a/rc/assets/accordion.stories-BLuWpO92.js b/rc/assets/accordion.stories-BLuWpO92.js deleted file mode 100644 index 344bf08..0000000 --- a/rc/assets/accordion.stories-BLuWpO92.js +++ /dev/null @@ -1,634 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as c}from"./lit-html-paDGiEfB.js";import"./accordion-D8Cicuuk.js";const U={title:"Components/Accordion",argTypes:{hasSecondaryAction:{name:"Mostra l'acció secundària",control:{type:"boolean"}},showResults:{name:"Mostra els resultats",control:{type:"boolean"},if:{arg:"hasSecondaryAction",truthy:!1}},showNotifications:{name:"Mostra notificacions",control:{type:"boolean"},if:{arg:"hasSecondaryAction",truthy:!1}},accordionStyle:{name:"Estil",control:{type:"radio"},options:["box","inner"]},showIcon:{name:" Mostra la icona",control:{type:"boolean"}},icon:{name:"Icona",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},iconStatus:{name:"Estat de la icona",control:{type:"select"},options:["default","success","error","disabled"],if:{arg:"showIcon",truthy:!0}},showTitle:{name:" Mostra el títol",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"},if:{arg:"showTitle",truthy:!0}},type:{name:"Tipus",control:{type:"text"},if:{arg:"showTitle",truthy:!1}},index:{name:"Index",control:{type:"text"},if:{arg:"showTitle",truthy:!1}},results:{name:" Resultats",control:{type:"number"},if:{arg:"showResults",truthy:!0}},resultsText:{name:" Resultats Text",control:{type:"text"},if:{arg:"showResults",truthy:!0}},resultsState:{name:" Resultats Estat",control:{type:"select"},options:["ideal","critic","alert","info","info-alt","neutral"],if:{arg:"showResults",truthy:!0}},notifications:{name:"Notificacions",control:{type:"number"},if:{arg:"showNotifications",truthy:!0}},notificationsState:{name:"Estat de les notificacions",control:{type:"select"},options:["success","warning","error","info"],if:{arg:"showNotifications",truthy:!0}},hasCheckbox:{name:" Mostra els checkbox",control:{type:"boolean"}},checkboxLabel:{name:" Resultats Label",control:{type:"text"},if:{arg:"hasCheckbox",truthy:!0}},secondaryActionIcon:{name:"Icona de l'acció secundària",control:{type:"text"},if:{arg:"hasSecondaryAction",truthy:!0}},secondaryActionStatus:{name:"Estat de l'acció secundària",control:{type:"select"},options:["default","primary","success","warning","error","info"],if:{arg:"hasSecondaryAction",truthy:!0}}}},e={render:o=>c` -
- ${o.showTitle&&o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showTitle&&!o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:!o.showTitle&&o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:!o.showTitle&&!o.showIcon?o.hasSecondaryAction?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showResults?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:o.showNotifications?c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:c` - - ${o.hasCheckbox?c` - - - `:null} -
- Hello world. -
-
- `:null} -
- `,args:{accordionStyle:"box",showIcon:!1,icon:"add_box",iconStatus:"default",showTitle:!1,title:"Accordion title",type:"Accordion type",index:"1",hasSecondaryAction:!1,secondaryActionIcon:"edit_document",secondaryActionStatus:"primary",showResults:!1,results:1,resultsText:"Resultats",resultsState:"ideal",showNotifications:!1,notifications:1,notificationsState:"info",hasCheckbox:!1,checkboxLabel:"Checkbox"}},n={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
-
- - Define the accordion content here. - -
- `},t={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},s={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},a={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},i={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- `},d={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- `},l={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},r={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},h={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `},b={tags:["!dev"],render:()=>c` -
- - - - - Define the accordion content here. - -
- `},x={tags:["!dev"],render:()=>c` -
- - Define the accordion content here. - -
- `};var k,u,y;e.parameters={...e.parameters,docs:{...(k=e.parameters)==null?void 0:k.docs,source:{originalSource:`{ - render: (args: AccordionArgs) => { - return html\` -
- \${args.showTitle && args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showTitle && !args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : !args.showTitle && args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : !args.showTitle && !args.showIcon ? args.hasSecondaryAction ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showResults ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : args.showNotifications ? html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : html\` - - \${args.hasCheckbox ? html\` - - - \` : null} -
- Hello world. -
-
- \` : null} -
- \`; - }, - args: { - accordionStyle: 'box', - showIcon: false, - icon: 'add_box', - iconStatus: 'default', - showTitle: false, - title: 'Accordion title', - type: 'Accordion type', - index: '1', - hasSecondaryAction: false, - secondaryActionIcon: 'edit_document', - secondaryActionStatus: 'primary', - showResults: false, - results: 1, - resultsText: 'Resultats', - resultsState: 'ideal', - showNotifications: false, - notifications: 1, - notificationsState: 'info', - hasCheckbox: false, - checkboxLabel: 'Checkbox' - } -}`,...(y=(u=e.parameters)==null?void 0:u.docs)==null?void 0:y.source}}};var p,$,S;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
-
- - Define the accordion content here. - -
- \`; - } -}`,...(S=($=n.parameters)==null?void 0:$.docs)==null?void 0:S.source}}};var f,C,m;t.parameters={...t.parameters,docs:{...(f=t.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(m=(C=t.parameters)==null?void 0:C.docs)==null?void 0:m.source}}};var v,w,A;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(A=(w=s.parameters)==null?void 0:w.docs)==null?void 0:A.source}}};var T,g,L;a.parameters={...a.parameters,docs:{...(T=a.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(L=(g=a.parameters)==null?void 0:g.docs)==null?void 0:L.source}}};var I,_,D;i.parameters={...i.parameters,docs:{...(I=i.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- \`; - } -}`,...(D=(_=i.parameters)==null?void 0:_.docs)==null?void 0:D.source}}};var H,N,R;d.parameters={...d.parameters,docs:{...(H=d.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- -
- - Define the accordion content here. - -
- \`; - } -}`,...(R=(N=d.parameters)==null?void 0:N.docs)==null?void 0:R.source}}};var O,E,M;l.parameters={...l.parameters,docs:{...(O=l.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(M=(E=l.parameters)==null?void 0:E.docs)==null?void 0:M.source}}};var B,P,W;r.parameters={...r.parameters,docs:{...(B=r.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(W=(P=r.parameters)==null?void 0:P.docs)==null?void 0:W.source}}};var j,X,z;h.parameters={...h.parameters,docs:{...(j=h.parameters)==null?void 0:j.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(z=(X=h.parameters)==null?void 0:X.docs)==null?void 0:z.source}}};var q,F,G;b.parameters={...b.parameters,docs:{...(q=b.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - Define the accordion content here. - -
- \`; - } -}`,...(G=(F=b.parameters)==null?void 0:F.docs)==null?void 0:G.source}}};var J,K,Q;x.parameters={...x.parameters,docs:{...(J=x.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Define the accordion content here. - -
- \`; - } -}`,...(Q=(K=x.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};const V=["Playground","Style","Open","NoTitle","Icon","Results","Notifications","SecondaryAction","SecondaryActionStatus","SecondaryActionDisabled","Checkbox","Widget"],co=Object.freeze(Object.defineProperty({__proto__:null,Checkbox:b,Icon:a,NoTitle:s,Notifications:d,Open:t,Playground:e,Results:i,SecondaryAction:l,SecondaryActionDisabled:h,SecondaryActionStatus:r,Style:n,Widget:x,__namedExportsOrder:V,default:U},Symbol.toStringTag,{value:"Module"}));export{co as A,b as C,a as I,s as N,t as O,e as P,i as R,n as S,x as W,d as a,l as b,r as c,h as d}; diff --git a/rc/assets/action-menu-C54ww5C6.js b/rc/assets/action-menu-C54ww5C6.js deleted file mode 100644 index 155242d..0000000 --- a/rc/assets/action-menu-C54ww5C6.js +++ /dev/null @@ -1,7 +0,0 @@ -import{r,a as l}from"./lit-element-vV9fql9z.js";import{x as d}from"./lit-html-paDGiEfB.js";import{n as c}from"./property-CzN8u98o.js";import{r as u}from"./reset.style-B0CQ8619.js";import{b as h}from"./property-types-CkH-zh1n.js";import{e as m}from"./class-map-2iHk_WiG.js";const f=":host{display:block;width:100%}.dss-action-menu{border-radius:var(--dss-radius-sm);box-shadow:0 1px 3px #0000001a,0 4px 8px 3px #0000000d;min-width:160px;width:-moz-max-content;width:max-content;max-width:280px;background-color:var(--color-white)}.dss-action-menu--full-width{width:100%}",p=i=>d` -
    - -
-`;var w=Object.defineProperty,_=Object.getOwnPropertyDescriptor,b=(i,e,s,n)=>{for(var t=_(e,s),o=i.length-1,a;o>=0;o--)(a=i[o])&&(t=a(e,s,t)||t);return t&&w(e,s,t),t};class g extends r{constructor(){super(...arguments),this._fullWidth=!1}static get styles(){return[l(u),l(f)]}set fullWidth(e){const s=this._fullWidth;this._fullWidth=e,this.requestUpdate("fullWidth",s)}_handleSlotChange(){var s;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");if(e){const n=e.assignedElements({flatten:!0}).filter(t=>t.tagName.toLowerCase()==="dss-action-menu-item");n.forEach((t,o)=>{o===0?t.setAttribute("first",""):t.removeAttribute("first"),o===n.length-1?t.setAttribute("last",""):t.removeAttribute("last")})}}_clickOutside(){document.addEventListener("click",e=>{e.composedPath().some(t=>t instanceof HTMLElement&&(t.tagName.toLowerCase()==="dss-action-menu"||t.tagName.toLowerCase()==="ul"&&t.classList.contains("dss-action-menu")))||this._handleClickOutside()})}_handleClickOutside(){this.dispatchEvent(new CustomEvent("onClickOutside",{bubbles:!1,composed:!1}))}firstUpdated(){var s;const e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&e.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange(),setTimeout(()=>{this._clickOutside()},0)}render(){return p(this)}}b([c(h)],g.prototype,"fullWidth");export{g as A}; diff --git a/rc/assets/action-menu-i5ox-tYM.js b/rc/assets/action-menu-i5ox-tYM.js deleted file mode 100644 index 70c2e87..0000000 --- a/rc/assets/action-menu-i5ox-tYM.js +++ /dev/null @@ -1,7 +0,0 @@ -import{r as he,a as It}from"./lit-element-vV9fql9z.js";import{x as me}from"./lit-html-paDGiEfB.js";import{n as Kt}from"./property-CzN8u98o.js";import{r as ge}from"./reset.style-B0CQ8619.js";import{b as ye}from"./property-types-CkH-zh1n.js";import{e as be}from"./class-map-2iHk_WiG.js";var k="top",S="bottom",M="right",R="left",Ct="auto",ft=[k,S,M,R],K="start",ot="end",we="clippingParents",Qt="viewport",nt="popper",xe="reference",Nt=ft.reduce(function(e,t){return e.concat([t+"-"+K,t+"-"+ot])},[]),Zt=[].concat(ft,[Ct]).reduce(function(e,t){return e.concat([t,t+"-"+K,t+"-"+ot])},[]),Oe="beforeRead",Ae="read",Ee="afterRead",Ce="beforeMain",Pe="main",De="afterMain",je="beforeWrite",ke="write",Re="afterWrite",Le=[Oe,Ae,Ee,Ce,Pe,De,je,ke,Re];function V(e){return e?(e.nodeName||"").toLowerCase():null}function B(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function G(e){var t=B(e).Element;return e instanceof t||e instanceof Element}function $(e){var t=B(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pt(e){if(typeof ShadowRoot>"u")return!1;var t=B(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Be(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},n=t.attributes[r]||{},a=t.elements[r];!$(a)||!V(a)||(Object.assign(a.style,i),Object.keys(n).forEach(function(c){var s=n[c];s===!1?a.removeAttribute(c):a.setAttribute(c,s===!0?"":s)}))})}function $e(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var n=t.elements[i],a=t.attributes[i]||{},c=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]),s=c.reduce(function(o,p){return o[p]="",o},{});!$(n)||!V(n)||(Object.assign(n.style,s),Object.keys(a).forEach(function(o){n.removeAttribute(o)}))})}}const Se={name:"applyStyles",enabled:!0,phase:"write",fn:Be,effect:$e,requires:["computeStyles"]};function _(e){return e.split("-")[0]}var Y=Math.max,gt=Math.min,Q=Math.round;function At(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function te(){return!/^((?!chrome|android).)*safari/i.test(At())}function Z(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var i=e.getBoundingClientRect(),n=1,a=1;t&&$(e)&&(n=e.offsetWidth>0&&Q(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Q(i.height)/e.offsetHeight||1);var c=G(e)?B(e):window,s=c.visualViewport,o=!te()&&r,p=(i.left+(o&&s?s.offsetLeft:0))/n,f=(i.top+(o&&s?s.offsetTop:0))/a,h=i.width/n,y=i.height/a;return{width:h,height:y,top:f,right:p+h,bottom:f+y,left:p,x:p,y:f}}function Dt(e){var t=Z(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function ee(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Pt(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function H(e){return B(e).getComputedStyle(e)}function Me(e){return["table","td","th"].indexOf(V(e))>=0}function N(e){return((G(e)?e.ownerDocument:e.document)||window.document).documentElement}function yt(e){return V(e)==="html"?e:e.assignedSlot||e.parentNode||(Pt(e)?e.host:null)||N(e)}function qt(e){return!$(e)||H(e).position==="fixed"?null:e.offsetParent}function Te(e){var t=/firefox/i.test(At()),r=/Trident/i.test(At());if(r&&$(e)){var i=H(e);if(i.position==="fixed")return null}var n=yt(e);for(Pt(n)&&(n=n.host);$(n)&&["html","body"].indexOf(V(n))<0;){var a=H(n);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return n;n=n.parentNode}return null}function ct(e){for(var t=B(e),r=qt(e);r&&Me(r)&&H(r).position==="static";)r=qt(r);return r&&(V(r)==="html"||V(r)==="body"&&H(r).position==="static")?t:r||Te(e)||t}function jt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function it(e,t,r){return Y(e,gt(t,r))}function We(e,t,r){var i=it(e,t,r);return i>r?r:i}function re(){return{top:0,right:0,bottom:0,left:0}}function ne(e){return Object.assign({},re(),e)}function ie(e,t){return t.reduce(function(r,i){return r[i]=e,r},{})}var _e=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ne(typeof t!="number"?t:ie(t,ft))};function Ve(e){var t,r=e.state,i=e.name,n=e.options,a=r.elements.arrow,c=r.modifiersData.popperOffsets,s=_(r.placement),o=jt(s),p=[R,M].indexOf(s)>=0,f=p?"height":"width";if(!(!a||!c)){var h=_e(n.padding,r),y=Dt(a),l=o==="y"?k:R,w=o==="y"?S:M,v=r.rects.reference[f]+r.rects.reference[o]-c[o]-r.rects.popper[f],d=c[o]-r.rects.reference[o],b=ct(a),O=b?o==="y"?b.clientHeight||0:b.clientWidth||0:0,A=v/2-d/2,u=h[l],m=O-y[f]-h[w],g=O/2-y[f]/2+A,x=it(u,g,m),P=o;r.modifiersData[i]=(t={},t[P]=x,t.centerOffset=x-g,t)}}function He(e){var t=e.state,r=e.options,i=r.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||ee(t.elements.popper,n)&&(t.elements.arrow=n))}const Ie={name:"arrow",enabled:!0,phase:"main",fn:Ve,effect:He,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tt(e){return e.split("-")[1]}var Ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qe(e,t){var r=e.x,i=e.y,n=t.devicePixelRatio||1;return{x:Q(r*n)/n||0,y:Q(i*n)/n||0}}function Ft(e){var t,r=e.popper,i=e.popperRect,n=e.placement,a=e.variation,c=e.offsets,s=e.position,o=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,h=e.isFixed,y=c.x,l=y===void 0?0:y,w=c.y,v=w===void 0?0:w,d=typeof f=="function"?f({x:l,y:v}):{x:l,y:v};l=d.x,v=d.y;var b=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),A=R,u=k,m=window;if(p){var g=ct(r),x="clientHeight",P="clientWidth";if(g===B(r)&&(g=N(r),H(g).position!=="static"&&s==="absolute"&&(x="scrollHeight",P="scrollWidth")),g=g,n===k||(n===R||n===M)&&a===ot){u=S;var C=h&&g===m&&m.visualViewport?m.visualViewport.height:g[x];v-=C-i.height,v*=o?1:-1}if(n===R||(n===k||n===S)&&a===ot){A=M;var E=h&&g===m&&m.visualViewport?m.visualViewport.width:g[P];l-=E-i.width,l*=o?1:-1}}var D=Object.assign({position:s},p&&Ne),T=f===!0?qe({x:l,y:v},B(r)):{x:l,y:v};if(l=T.x,v=T.y,o){var j;return Object.assign({},D,(j={},j[u]=O?"0":"",j[A]=b?"0":"",j.transform=(m.devicePixelRatio||1)<=1?"translate("+l+"px, "+v+"px)":"translate3d("+l+"px, "+v+"px, 0)",j))}return Object.assign({},D,(t={},t[u]=O?v+"px":"",t[A]=b?l+"px":"",t.transform="",t))}function Fe(e){var t=e.state,r=e.options,i=r.gpuAcceleration,n=i===void 0?!0:i,a=r.adaptive,c=a===void 0?!0:a,s=r.roundOffsets,o=s===void 0?!0:s,p={placement:_(t.placement),variation:tt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ft(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ft(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Fe,data:{}};var ht={passive:!0};function Ue(e){var t=e.state,r=e.instance,i=e.options,n=i.scroll,a=n===void 0?!0:n,c=i.resize,s=c===void 0?!0:c,o=B(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(f){f.addEventListener("scroll",r.update,ht)}),s&&o.addEventListener("resize",r.update,ht),function(){a&&p.forEach(function(f){f.removeEventListener("scroll",r.update,ht)}),s&&o.removeEventListener("resize",r.update,ht)}}const Xe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ue,data:{}};var Ye={left:"right",right:"left",bottom:"top",top:"bottom"};function mt(e){return e.replace(/left|right|bottom|top/g,function(t){return Ye[t]})}var Ge={start:"end",end:"start"};function zt(e){return e.replace(/start|end/g,function(t){return Ge[t]})}function kt(e){var t=B(e),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function Rt(e){return Z(N(e)).left+kt(e).scrollLeft}function Je(e,t){var r=B(e),i=N(e),n=r.visualViewport,a=i.clientWidth,c=i.clientHeight,s=0,o=0;if(n){a=n.width,c=n.height;var p=te();(p||!p&&t==="fixed")&&(s=n.offsetLeft,o=n.offsetTop)}return{width:a,height:c,x:s+Rt(e),y:o}}function Ke(e){var t,r=N(e),i=kt(e),n=(t=e.ownerDocument)==null?void 0:t.body,a=Y(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),c=Y(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-i.scrollLeft+Rt(e),o=-i.scrollTop;return H(n||r).direction==="rtl"&&(s+=Y(r.clientWidth,n?n.clientWidth:0)-a),{width:a,height:c,x:s,y:o}}function Lt(e){var t=H(e),r=t.overflow,i=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+i)}function ae(e){return["html","body","#document"].indexOf(V(e))>=0?e.ownerDocument.body:$(e)&&Lt(e)?e:ae(yt(e))}function at(e,t){var r;t===void 0&&(t=[]);var i=ae(e),n=i===((r=e.ownerDocument)==null?void 0:r.body),a=B(i),c=n?[a].concat(a.visualViewport||[],Lt(i)?i:[]):i,s=t.concat(c);return n?s:s.concat(at(yt(c)))}function Et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qe(e,t){var r=Z(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ut(e,t,r){return t===Qt?Et(Je(e,r)):G(t)?Qe(t,r):Et(Ke(N(e)))}function Ze(e){var t=at(yt(e)),r=["absolute","fixed"].indexOf(H(e).position)>=0,i=r&&$(e)?ct(e):e;return G(i)?t.filter(function(n){return G(n)&&ee(n,i)&&V(n)!=="body"}):[]}function tr(e,t,r,i){var n=t==="clippingParents"?Ze(e):[].concat(t),a=[].concat(n,[r]),c=a[0],s=a.reduce(function(o,p){var f=Ut(e,p,i);return o.top=Y(f.top,o.top),o.right=gt(f.right,o.right),o.bottom=gt(f.bottom,o.bottom),o.left=Y(f.left,o.left),o},Ut(e,c,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function oe(e){var t=e.reference,r=e.element,i=e.placement,n=i?_(i):null,a=i?tt(i):null,c=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,o;switch(n){case k:o={x:c,y:t.y-r.height};break;case S:o={x:c,y:t.y+t.height};break;case M:o={x:t.x+t.width,y:s};break;case R:o={x:t.x-r.width,y:s};break;default:o={x:t.x,y:t.y}}var p=n?jt(n):null;if(p!=null){var f=p==="y"?"height":"width";switch(a){case K:o[p]=o[p]-(t[f]/2-r[f]/2);break;case ot:o[p]=o[p]+(t[f]/2-r[f]/2);break}}return o}function st(e,t){t===void 0&&(t={});var r=t,i=r.placement,n=i===void 0?e.placement:i,a=r.strategy,c=a===void 0?e.strategy:a,s=r.boundary,o=s===void 0?we:s,p=r.rootBoundary,f=p===void 0?Qt:p,h=r.elementContext,y=h===void 0?nt:h,l=r.altBoundary,w=l===void 0?!1:l,v=r.padding,d=v===void 0?0:v,b=ne(typeof d!="number"?d:ie(d,ft)),O=y===nt?xe:nt,A=e.rects.popper,u=e.elements[w?O:y],m=tr(G(u)?u:u.contextElement||N(e.elements.popper),o,f,c),g=Z(e.elements.reference),x=oe({reference:g,element:A,placement:n}),P=Et(Object.assign({},A,x)),C=y===nt?P:g,E={top:m.top-C.top+b.top,bottom:C.bottom-m.bottom+b.bottom,left:m.left-C.left+b.left,right:C.right-m.right+b.right},D=e.modifiersData.offset;if(y===nt&&D){var T=D[n];Object.keys(E).forEach(function(j){var q=[M,S].indexOf(j)>=0?1:-1,F=[k,S].indexOf(j)>=0?"y":"x";E[j]+=T[F]*q})}return E}function er(e,t){t===void 0&&(t={});var r=t,i=r.placement,n=r.boundary,a=r.rootBoundary,c=r.padding,s=r.flipVariations,o=r.allowedAutoPlacements,p=o===void 0?Zt:o,f=tt(i),h=f?s?Nt:Nt.filter(function(w){return tt(w)===f}):ft,y=h.filter(function(w){return p.indexOf(w)>=0});y.length===0&&(y=h);var l=y.reduce(function(w,v){return w[v]=st(e,{placement:v,boundary:n,rootBoundary:a,padding:c})[_(v)],w},{});return Object.keys(l).sort(function(w,v){return l[w]-l[v]})}function rr(e){if(_(e)===Ct)return[];var t=mt(e);return[zt(e),t,zt(t)]}function nr(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var n=r.mainAxis,a=n===void 0?!0:n,c=r.altAxis,s=c===void 0?!0:c,o=r.fallbackPlacements,p=r.padding,f=r.boundary,h=r.rootBoundary,y=r.altBoundary,l=r.flipVariations,w=l===void 0?!0:l,v=r.allowedAutoPlacements,d=t.options.placement,b=_(d),O=b===d,A=o||(O||!w?[mt(d)]:rr(d)),u=[d].concat(A).reduce(function(J,I){return J.concat(_(I)===Ct?er(t,{placement:I,boundary:f,rootBoundary:h,padding:p,flipVariations:w,allowedAutoPlacements:v}):I)},[]),m=t.rects.reference,g=t.rects.popper,x=new Map,P=!0,C=u[0],E=0;E=0,F=q?"width":"height",L=st(t,{placement:D,boundary:f,rootBoundary:h,altBoundary:y,padding:p}),W=q?j?M:R:j?S:k;m[F]>g[F]&&(W=mt(W));var pt=mt(W),z=[];if(a&&z.push(L[T]<=0),s&&z.push(L[W]<=0,L[pt]<=0),z.every(function(J){return J})){C=D,P=!1;break}x.set(D,z)}if(P)for(var lt=w?3:1,bt=function(I){var rt=u.find(function(dt){var U=x.get(dt);if(U)return U.slice(0,I).every(function(wt){return wt})});if(rt)return C=rt,"break"},et=lt;et>0;et--){var ut=bt(et);if(ut==="break")break}t.placement!==C&&(t.modifiersData[i]._skip=!0,t.placement=C,t.reset=!0)}}const ir={name:"flip",enabled:!0,phase:"main",fn:nr,requiresIfExists:["offset"],data:{_skip:!1}};function Xt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Yt(e){return[k,M,S,R].some(function(t){return e[t]>=0})}function ar(e){var t=e.state,r=e.name,i=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,c=st(t,{elementContext:"reference"}),s=st(t,{altBoundary:!0}),o=Xt(c,i),p=Xt(s,n,a),f=Yt(o),h=Yt(p);t.modifiersData[r]={referenceClippingOffsets:o,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const or={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ar};function sr(e,t,r){var i=_(e),n=[R,k].indexOf(i)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=a[0],s=a[1];return c=c||0,s=(s||0)*n,[R,M].indexOf(i)>=0?{x:s,y:c}:{x:c,y:s}}function fr(e){var t=e.state,r=e.options,i=e.name,n=r.offset,a=n===void 0?[0,0]:n,c=Zt.reduce(function(f,h){return f[h]=sr(h,t.rects,a),f},{}),s=c[t.placement],o=s.x,p=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=o,t.modifiersData.popperOffsets.y+=p),t.modifiersData[i]=c}const cr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fr};function pr(e){var t=e.state,r=e.name;t.modifiersData[r]=oe({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const lr={name:"popperOffsets",enabled:!0,phase:"read",fn:pr,data:{}};function ur(e){return e==="x"?"y":"x"}function dr(e){var t=e.state,r=e.options,i=e.name,n=r.mainAxis,a=n===void 0?!0:n,c=r.altAxis,s=c===void 0?!1:c,o=r.boundary,p=r.rootBoundary,f=r.altBoundary,h=r.padding,y=r.tether,l=y===void 0?!0:y,w=r.tetherOffset,v=w===void 0?0:w,d=st(t,{boundary:o,rootBoundary:p,padding:h,altBoundary:f}),b=_(t.placement),O=tt(t.placement),A=!O,u=jt(b),m=ur(u),g=t.modifiersData.popperOffsets,x=t.rects.reference,P=t.rects.popper,C=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,E=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(g){if(a){var j,q=u==="y"?k:R,F=u==="y"?S:M,L=u==="y"?"height":"width",W=g[u],pt=W+d[q],z=W-d[F],lt=l?-P[L]/2:0,bt=O===K?x[L]:P[L],et=O===K?-P[L]:-x[L],ut=t.elements.arrow,J=l&&ut?Dt(ut):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:re(),rt=I[q],dt=I[F],U=it(0,x[L],J[L]),wt=A?x[L]/2-lt-U-rt-E.mainAxis:bt-U-rt-E.mainAxis,ce=A?-x[L]/2+lt+U+dt+E.mainAxis:et+U+dt+E.mainAxis,xt=t.elements.arrow&&ct(t.elements.arrow),pe=xt?u==="y"?xt.clientTop||0:xt.clientLeft||0:0,Bt=(j=D==null?void 0:D[u])!=null?j:0,le=W+wt-Bt-pe,ue=W+ce-Bt,$t=it(l?gt(pt,le):pt,W,l?Y(z,ue):z);g[u]=$t,T[u]=$t-W}if(s){var St,de=u==="x"?k:R,ve=u==="x"?S:M,X=g[m],vt=m==="y"?"height":"width",Mt=X+d[de],Tt=X-d[ve],Ot=[k,R].indexOf(b)!==-1,Wt=(St=D==null?void 0:D[m])!=null?St:0,_t=Ot?Mt:X-x[vt]-P[vt]-Wt+E.altAxis,Vt=Ot?X+x[vt]+P[vt]-Wt-E.altAxis:Tt,Ht=l&&Ot?We(_t,X,Vt):it(l?_t:Mt,X,l?Vt:Tt);g[m]=Ht,T[m]=Ht-X}t.modifiersData[i]=T}}const vr={name:"preventOverflow",enabled:!0,phase:"main",fn:dr,requiresIfExists:["offset"]};function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mr(e){return e===B(e)||!$(e)?kt(e):hr(e)}function gr(e){var t=e.getBoundingClientRect(),r=Q(t.width)/e.offsetWidth||1,i=Q(t.height)/e.offsetHeight||1;return r!==1||i!==1}function yr(e,t,r){r===void 0&&(r=!1);var i=$(t),n=$(t)&&gr(t),a=N(t),c=Z(e,n,r),s={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(i||!i&&!r)&&((V(t)!=="body"||Lt(a))&&(s=mr(t)),$(t)?(o=Z(t,!0),o.x+=t.clientLeft,o.y+=t.clientTop):a&&(o.x=Rt(a))),{x:c.left+s.scrollLeft-o.x,y:c.top+s.scrollTop-o.y,width:c.width,height:c.height}}function br(e){var t=new Map,r=new Set,i=[];e.forEach(function(a){t.set(a.name,a)});function n(a){r.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(s){if(!r.has(s)){var o=t.get(s);o&&n(o)}}),i.push(a)}return e.forEach(function(a){r.has(a.name)||n(a)}),i}function wr(e){var t=br(e);return Le.reduce(function(r,i){return r.concat(t.filter(function(n){return n.phase===i}))},[])}function xr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Or(e){var t=e.reduce(function(r,i){var n=r[i.name];return r[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}var Gt={placement:"bottom",modifiers:[],strategy:"absolute"};function Jt(){for(var e=arguments.length,t=new Array(e),r=0;rme` -
    - -
-`;var jr=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,se=(e,t,r,i)=>{for(var n=kr(t,r),a=e.length-1,c;a>=0;a--)(c=e[a])&&(n=c(t,r,n)||n);return n&&jr(t,r,n),n};class fe extends he{constructor(){super(...arguments),this._fullWidth=!1,this._popperInstance=null,this._parent=null,this._position="right-start",this._isVisible=!1}static get styles(){return[It(ge),It(Pr)]}connectedCallback(){super.connectedCallback(),this.addEventListener("onClose",this._handleCloseAllMenus)}disconnectedCallback(){this.removeEventListener("onClose",this._handleCloseAllMenus),this._popperInstance&&(this._popperInstance.destroy(),this._popperInstance=null)}set fullWidth(t){const r=this._fullWidth;this._fullWidth=t,this.requestUpdate("fullWidth",r)}set position(t){const r=this._position;this._position=t,this.requestUpdate("fullWidth",r)}createPopperInstance(t){this._popperInstance=Cr(t,this,{placement:this._position,modifiers:[{name:"flip",enabled:!0,options:{boundary:"viewport",rootBoundary:"viewport"}},{name:"preventOverflow",enabled:!0,options:{boundary:"viewport"}},{name:"offset",options:{offset:[0,8]}}]}),t.addEventListener("click",()=>{this._isVisible||(this._popperInstance.update(),this.classList.add("visible"),this._isVisible=!0)})}_handleCloseAllMenus(){this._closeMenu()}_handleSlotChange(){var r;const t=(r=this.shadowRoot)==null?void 0:r.querySelector("slot");if(t){const i=t.assignedElements({flatten:!0}).filter(n=>n.tagName.toLowerCase()==="dss-action-menu-item");i.forEach((n,a)=>{a===0?n.setAttribute("first",""):n.removeAttribute("first"),a===i.length-1?n.setAttribute("last",""):n.removeAttribute("last")})}}_clickOutside(){document.addEventListener("click",t=>{const r=t.composedPath(),i=r.includes(this._parent);!r.some(a=>a instanceof HTMLElement&&(a.tagName.toLowerCase()==="dss-action-menu"||a.tagName.toLowerCase()==="ul"&&a.classList.contains("dss-action-menu")))&&!i&&this._closeMenu()})}_closeMenu(){setTimeout(()=>{this.classList.contains("visible")&&(this.classList.remove("visible"),this._isVisible=!1)},0)}async firstUpdated(){var i;await this.updateComplete;const t=this.assignedSlot;this._parent=t?t.parentElement:this.parentElement,this._parent&&this.createPopperInstance(this._parent);const r=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");r&&r.addEventListener("slotchange",()=>this._handleSlotChange()),this._handleSlotChange(),setTimeout(()=>{this._clickOutside()},0)}render(){return Dr(this)}}se([Kt(ye)],fe.prototype,"fullWidth");se([Kt({type:String})],fe.prototype,"position");export{fe as A,Cr as c}; diff --git a/rc/assets/action-menu.doc-B5m-U-Rp.js b/rc/assets/action-menu.doc-B5m-U-Rp.js deleted file mode 100644 index 7e3854c..0000000 --- a/rc/assets/action-menu.doc-B5m-U-Rp.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as d,ag as a,ah as s,ai as l}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as p,b as u}from"./action-menu.stories-C6IVtfNY.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./action-menu-DIAPuhNG.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./popper-CMBiYTiD.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .only-demo-nested { - width: 800px; - } - .only-demo-wrapper { - height: 250px; - } - .only-demo-parent { - width: fit-content; - } - .only-demo-button { - padding: 4px; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-action-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-action-menu-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`L'Action Menu s'utilitza quan hi ha opcions addicionals disponibles per a -l'usuari i hi ha una restricció d'espai. El menú d'accions manté les accions -clau a prop en un menú net i discret.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Breaking change:"})}),` -`,e.jsx(n.p,{children:`La lògica per mostrar o amagar el component s’ha implementat dins del component per facilitar-ne l’ús, de manera que és el mateix component -qui gestiona els esdeveniments click i click-out sobre l’element pare per mostrar el action-menu a la posició indicada.`}),` -`,e.jsx(n.p,{children:"Per aquest motiu, és imprescindible que s’elimini en les iniciatives qualsevol lògica afegida anteriorment, incloent qualsevol position:relative o position:absolute."}),` -`,e.jsx(n.p,{children:`Aquesta nova funcionalitat s’ha implementat de manera que els action-menus no es vegin afectats pel flux de la resta de components, corregint així el problema que -trobàvem fins ara quan un element apareixia retallat a causa d’un contenidor amb la propietat overflow definida.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Text mostrat dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Estat d'element. Pot ser: primary o error."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a la dreta de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona utilitzada per realitzar una acció secundària dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat de la icona d'acció secundària. Pot ser: default, primary, error, warning, success, info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre de notificacions a mostrar a l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat. La gestió d'aquesta propietat es realitza internament, definir només en casos d'ús molt específics."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita un slot per a la inclusió d'un nou action-menu niat dins de l'element. Ha d'anar acompanyat, per tant, d'un altre dss-action-menu definit a l'HTML."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableParentClick"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva la funcionalitat interna per mostrar el component quan es fa clic al contenidor pare."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCloseActionMenu"})}),e.jsx(n.td,{children:"Notifica quan s'ha tancat el menú."})]})})]}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic a la icona d'acció secundària dins de l'element."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Defaul"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#opcions-dicones",children:"Opcions d'icones"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nested-menu",children:"Nested Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(n.h5,{id:"estat-primary",children:"Estat primary"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h5,{id:"estat-error",children:"Estat error"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h5,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"opcions-dicones",children:"Opcions d'icones"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"notificacions",children:"Notificacions"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"nested-menu",children:"Nested Menu"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsx(n.p,{children:"Mínima amplada 160px i màxima amplada 280px, tenint en compte que a partir de 160px s'adaptarà l'amplada del modal fins a 280px."}),` -`,e.jsx(n.h5,{id:"visibilitat",children:"Visibilitat"}),` -`,e.jsxs(n.p,{children:["El component action-menu es mostrarà ",e.jsx(n.strong,{children:"sempre visible per defecte"}),", ja que està inclòs en altres components de nivell superior, on la visibilitat es gestiona internament, com per exemple en dss-card-menu."]}),` -`,e.jsxs(n.p,{children:["En cas que aquest component s'utilitzi de manera individual, serà cada iniciativa la que haurà de gestionar quan es mostra o s'oculta l'Action Menu. Per a això, disposarà dels esdeveniments ",e.jsx(n.strong,{children:"onClickOutside"})," del dss-action-menu i dels esdeveniments ",e.jsx(n.strong,{children:"onClick"})," i ",e.jsx(n.strong,{children:"onAction"})," del dss-action-menu-item, els quals haurien de tancar el menú principal i tots els seus menús niats."]}),` -`,e.jsx(n.p,{children:"Els components action-menu que s'incloguin niats dins d'un altre action-menu principal sí que seran controlats per la pròpia lògica interna del mateix, per la qual cosa no necessitaran cap funcionalitat extra."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function w(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{w as default}; diff --git a/rc/assets/action-menu.doc-ByiYBsqj.js b/rc/assets/action-menu.doc-ByiYBsqj.js deleted file mode 100644 index 3c5aca1..0000000 --- a/rc/assets/action-menu.doc-ByiYBsqj.js +++ /dev/null @@ -1,55 +0,0 @@ -import{ae as e,af as r,ag as a,ah as s,ai as l}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as u,b as p}from"./action-menu.stories-2kgy5DQo.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./action-menu-C54ww5C6.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .demo-wrapper { - height: 280px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-action-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-action-menu-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`L'Action Menu s'utilitza quan hi ha opcions addicionals disponibles per a -l'usuari i hi ha una restricció d'espai. El menú d'accions manté les accions -clau a prop en un menú net i discret.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Text mostrat dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Estat d'element. Pot ser: primary o error."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a la dreta de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona utilitzada per realitzar una acció secundària dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat de la icona d'acció secundària. Pot ser: default, primary, error, warning, success, info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre de notificacions a mostrar a l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat. La gestió d'aquesta propietat es realitza internament, definir només en casos d'ús molt específics."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita un slot per a la inclusió d'un nou action-menu niat dins de l'element. Ha d'anar acompanyat, per tant, d'un altre dss-action-menu definit a l'HTML."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickOutside"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic fora del component."})]})})]}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic a la icona d'acció secundària dins de l'element."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Defaul"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#opcions-dicones",children:"Opcions d'icones"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nested-menu",children:"Nested Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(n.h5,{id:"estat-primary",children:"Estat primary"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h5,{id:"estat-error",children:"Estat error"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h5,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"opcions-dicones",children:"Opcions d'icones"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"notificacions",children:"Notificacions"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"nested-menu",children:"Nested Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsx(n.p,{children:"Mínima amplada 160px i màxima amplada 280px, tenint en compte que a partir de 160px s'adaptarà l'amplada del modal fins a 280px."}),` -`,e.jsx(n.h5,{id:"visibilitat",children:"Visibilitat"}),` -`,e.jsxs(n.p,{children:["El component action-menu es mostrarà ",e.jsx(n.strong,{children:"sempre visible per defecte"}),", ja que està inclòs en altres components de nivell superior, on la visibilitat es gestiona internament, com per exemple en dss-card-menu."]}),` -`,e.jsxs(n.p,{children:["En cas que aquest component s'utilitzi de manera individual, serà cada iniciativa la que haurà de gestionar quan es mostra o s'oculta l'Action Menu. Per a això, disposarà dels esdeveniments ",e.jsx(n.strong,{children:"onClickOutside"})," del dss-action-menu i dels esdeveniments ",e.jsx(n.strong,{children:"onClick"})," i ",e.jsx(n.strong,{children:"onAction"})," del dss-action-menu-item, els quals haurien de tancar el menú principal i tots els seus menús niats."]}),` -`,e.jsx(n.p,{children:"Els components action-menu que s'incloguin niats dins d'un altre action-menu principal sí que seran controlats per la pròpia lògica interna del mateix, per la qual cosa no necessitaran cap funcionalitat extra."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function A(i={}){const{wrapper:n}={...d(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{A as default}; diff --git a/rc/assets/action-menu.doc-CVicb3lB.js b/rc/assets/action-menu.doc-CVicb3lB.js deleted file mode 100644 index 47500e1..0000000 --- a/rc/assets/action-menu.doc-CVicb3lB.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as d,ag as a,ah as s,ai as l}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as p,b as u}from"./action-menu.stories-C6IVtfNY.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./action-menu-DIAPuhNG.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./popper-CMBiYTiD.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .only-demo-nested { - width: 800px; - } - .only-demo-wrapper { - height: 250px; - } - .only-demo-parent { - width: fit-content; - } - .only-demo-button { - padding: 4px; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-action-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-action-menu-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`L'Action Menu s'utilitza quan hi ha opcions addicionals disponibles per a -l'usuari i hi ha una restricció d'espai. El menú d'accions manté les accions -clau a prop en un menú net i discret.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Breaking change:"})}),` -`,e.jsx(n.p,{children:`La lògica per mostrar o amagar el component s’ha implementat dins del component per facilitar-ne l’ús, de manera que és el mateix component -qui gestiona els esdeveniments click i click-out sobre l’element pare per mostrar el action-menu a la posició indicada.`}),` -`,e.jsx(n.p,{children:"Per aquest motiu, és imprescindible que s’elimini en les iniciatives qualsevol lògica afegida anteriorment, incloent qualsevol position:relative o position:absolute."}),` -`,e.jsx(n.p,{children:`Aquesta nova funcionalitat s’ha implementat de manera que els action-menus no es vegin afectats pel flux de la resta de components, corregint així el problema que -trobàvem fins ara quan un element apareixia retallat a causa d’un contenidor amb la propietat overflow definida.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Text mostrat dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Estat d'element. Pot ser: primary o error."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a la dreta de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona utilitzada per realitzar una acció secundària dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat de la icona d'acció secundària. Pot ser: default, primary, error, warning, success, info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre de notificacions a mostrar a l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat. La gestió d'aquesta propietat es realitza internament, definir només en casos d'ús molt específics."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita un slot per a la inclusió d'un nou action-menu niat dins de l'element. Ha d'anar acompanyat, per tant, d'un altre dss-action-menu definit a l'HTML."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableParentClick"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva la funcionalitat interna per mostrar el component quan es fa clic al contenidor pare."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCloseActionMenu"})}),e.jsx(n.td,{children:"Notifica quan s'ha tancat el menú."})]})})]}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic a la icona d'acció secundària dins de l'element."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Defaul"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#opcions-dicones",children:"Opcions d'icones"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nested-menu",children:"Nested Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(n.h5,{id:"estat-primary",children:"Estat primary"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h5,{id:"estat-error",children:"Estat error"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h5,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"opcions-dicones",children:"Opcions d'icones"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"notificacions",children:"Notificacions"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"nested-menu",children:"Nested Menu"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsx(n.p,{children:"Mínima amplada 160px i màxima amplada 280px, tenint en compte que a partir de 160px s'adaptarà l'amplada del modal fins a 280px."}),` -`,e.jsx(n.h5,{id:"visibilitat",children:"Visibilitat"}),` -`,e.jsxs(n.p,{children:["El component action-menu es mostrarà ",e.jsx(n.strong,{children:"sempre visible per defecte"}),", ja que està inclòs en altres components de nivell superior, on la visibilitat es gestiona internament, com per exemple en dss-card-menu."]}),` -`,e.jsxs(n.p,{children:["En cas que aquest component s'utilitzi de manera individual, serà cada iniciativa la que haurà de gestionar quan es mostra o s'oculta l'Action Menu. Per a això, disposarà dels esdeveniments ",e.jsx(n.strong,{children:"onClickOutside"})," del dss-action-menu i dels esdeveniments ",e.jsx(n.strong,{children:"onClick"})," i ",e.jsx(n.strong,{children:"onAction"})," del dss-action-menu-item, els quals haurien de tancar el menú principal i tots els seus menús niats."]}),` -`,e.jsx(n.p,{children:"Els components action-menu que s'incloguin niats dins d'un altre action-menu principal sí que seran controlats per la pròpia lògica interna del mateix, per la qual cosa no necessitaran cap funcionalitat extra."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function w(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{w as default}; diff --git a/rc/assets/action-menu.doc-Dr6Pb-m0.js b/rc/assets/action-menu.doc-Dr6Pb-m0.js deleted file mode 100644 index ecb5216..0000000 --- a/rc/assets/action-menu.doc-Dr6Pb-m0.js +++ /dev/null @@ -1,55 +0,0 @@ -import{ae as e,af as r,ag as a,ah as s,ai as l}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as u,b as p}from"./action-menu.stories-CmHuG9yI.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./action-menu-i5ox-tYM.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .demo-wrapper { - height: 280px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-action-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-action-menu-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`L'Action Menu s'utilitza quan hi ha opcions addicionals disponibles per a -l'usuari i hi ha una restricció d'espai. El menú d'accions manté les accions -clau a prop en un menú net i discret.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Text mostrat dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Estat d'element. Pot ser: primary o error."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a la dreta de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona utilitzada per realitzar una acció secundària dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat de la icona d'acció secundària. Pot ser: default, primary, error, warning, success, info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre de notificacions a mostrar a l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat. La gestió d'aquesta propietat es realitza internament, definir només en casos d'ús molt específics."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita un slot per a la inclusió d'un nou action-menu niat dins de l'element. Ha d'anar acompanyat, per tant, d'un altre dss-action-menu definit a l'HTML."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickOutside"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic fora del component."})]})})]}),` -`,e.jsx("div",{className:"dss-sb-selector",children:"dss-action-menu-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic a la icona d'acció secundària dins de l'element."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Defaul"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#opcions-dicones",children:"Opcions d'icones"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nested-menu",children:"Nested Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(n.h5,{id:"estat-primary",children:"Estat primary"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h5,{id:"estat-error",children:"Estat error"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h5,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"opcions-dicones",children:"Opcions d'icones"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"notificacions",children:"Notificacions"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"nested-menu",children:"Nested Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsx(n.p,{children:"Mínima amplada 160px i màxima amplada 280px, tenint en compte que a partir de 160px s'adaptarà l'amplada del modal fins a 280px."}),` -`,e.jsx(n.h5,{id:"visibilitat",children:"Visibilitat"}),` -`,e.jsxs(n.p,{children:["El component action-menu es mostrarà ",e.jsx(n.strong,{children:"sempre visible per defecte"}),", ja que està inclòs en altres components de nivell superior, on la visibilitat es gestiona internament, com per exemple en dss-card-menu."]}),` -`,e.jsxs(n.p,{children:["En cas que aquest component s'utilitzi de manera individual, serà cada iniciativa la que haurà de gestionar quan es mostra o s'oculta l'Action Menu. Per a això, disposarà dels esdeveniments ",e.jsx(n.strong,{children:"onClickOutside"})," del dss-action-menu i dels esdeveniments ",e.jsx(n.strong,{children:"onClick"})," i ",e.jsx(n.strong,{children:"onAction"})," del dss-action-menu-item, els quals haurien de tancar el menú principal i tots els seus menús niats."]}),` -`,e.jsx(n.p,{children:"Els components action-menu que s'incloguin niats dins d'un altre action-menu principal sí que seran controlats per la pròpia lògica interna del mateix, per la qual cosa no necessitaran cap funcionalitat extra."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function A(i={}){const{wrapper:n}={...d(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{A as default}; diff --git a/rc/assets/action-menu.doc-DuKkOq7j.js b/rc/assets/action-menu.doc-pI0Ztw5k.js similarity index 98% rename from rc/assets/action-menu.doc-DuKkOq7j.js rename to rc/assets/action-menu.doc-pI0Ztw5k.js index f51c3be..b9eab52 100644 --- a/rc/assets/action-menu.doc-DuKkOq7j.js +++ b/rc/assets/action-menu.doc-pI0Ztw5k.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as a,ah as s,ai as l}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as p,b as u}from"./action-menu.stories-C6IVtfNY.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./action-menu-DIAPuhNG.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./popper-CMBiYTiD.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as a,ah as s,ai as l}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{A as c,P as o,a as h,E as x,D as j,I as m,N as p,b as u}from"./action-menu.stories-C6IVtfNY.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./action-menu-DIAPuhNG.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./popper-CMBiYTiD.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .only-demo-nested { width: 800px; } diff --git a/rc/assets/action-menu.stories-2kgy5DQo.js b/rc/assets/action-menu.stories-2kgy5DQo.js deleted file mode 100644 index e6fad47..0000000 --- a/rc/assets/action-menu.stories-2kgy5DQo.js +++ /dev/null @@ -1,216 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as t}from"./lit-html-paDGiEfB.js";import"./action-menu-C54ww5C6.js";const L={title:"Components/Action Menu",argTypes:{label:{name:"Text"},elements:{name:"Nombre de ítems",control:{type:"number",max:5,min:1}},type:{name:"Tipus",control:{type:"radio"},options:["primary","error"]},showLeftIcon:{name:"Mostrar icona esquerra",control:{type:"boolean"}},leftIcon:{name:"Icona esquerra",if:{arg:"showLeftIcon"}},showRightIcon:{name:"Mostrar icona dreta",control:{type:"boolean"}},rightIcon:{name:"Icona dreta",if:{arg:"showRightIcon"}},showActionIcon:{name:"Mostrar icona acció",control:{type:"boolean"}},actionIcon:{name:"Icona acció",if:{arg:"showActionIcon"}},actionState:{name:"Estat de la icona d'acció",control:{type:"select"},options:["default","white-default","primary","error","warning","success","info"],if:{arg:"showActionIcon"}},hasNestedMenu:{name:"Habilita menú niat",control:{type:"boolean"}},showNotifications:{name:"Mostrar notificacions",control:{type:"boolean"}},notifications:{name:"Notificacions",control:{type:"number",max:10,min:0},if:{arg:"showNotifications"}},notificationsState:{name:"Estat de la notificació",control:{type:"select"},options:["error","alert","success","info"],if:{arg:"showNotifications"}},disabled:{name:"Deshabilitar",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={render:n=>t` - - - ${n.hasNestedMenu?t` - - - - - - `:null} - - ${Array.from({length:n.elements-1},()=>t` - - `)} - - `,args:{label:"Action",elements:4,type:"primary",showLeftIcon:!0,leftIcon:"add_box",showRightIcon:!1,rightIcon:"add_box",showActionIcon:!1,actionIcon:"add_box",actionState:"primary",hasNestedMenu:!1,showNotifications:!1,notifications:1,notificationsState:"error",disabled:!1}},o={tags:["!dev"],render:()=>t` - - - - - - `},i={tags:["!dev"],render:()=>t` - - - - - - `},a={tags:["!dev"],render:()=>t` - - - - - - `},s={tags:["!dev"],render:()=>t` - - - - - - - `},c={tags:["!dev"],render:()=>t` - - - - - - - `},d={tags:["!dev"],render:()=>t` -
- - - - - - - - - - - - - - - - - - - - -
- `};var m,r,l;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: (args: Args) => { - return html\` - - - \${args.hasNestedMenu ? html\` - - - - - - \` : null} - - \${Array.from({ - length: args.elements - 1 - }, () => html\` - - \`)} - - \`; - }, - args: { - label: 'Action', - elements: 4, - type: 'primary', - showLeftIcon: true, - leftIcon: 'add_box', - showRightIcon: false, - rightIcon: 'add_box', - showActionIcon: false, - actionIcon: 'add_box', - actionState: 'primary', - hasNestedMenu: false, - showNotifications: false, - notifications: 1, - notificationsState: 'error', - disabled: false - } as Args -}`,...(l=(r=e.parameters)==null?void 0:r.docs)==null?void 0:l.source}}};var u,b,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(f=(b=o.parameters)==null?void 0:b.docs)==null?void 0:f.source}}};var I,A,_;i.parameters={...i.parameters,docs:{...(I=i.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(_=(A=i.parameters)==null?void 0:A.docs)==null?void 0:_.source}}};var x,h,p;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(p=(h=a.parameters)==null?void 0:h.docs)==null?void 0:p.source}}};var g,y,S;s.parameters={...s.parameters,docs:{...(g=s.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(S=(y=s.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};var w,N,$;c.parameters={...c.parameters,docs:{...(w=c.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...($=(N=c.parameters)==null?void 0:N.docs)==null?void 0:$.source}}};var M,v,E;d.parameters={...d.parameters,docs:{...(M=d.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - - - - - - - - - - -
- \`; - } -}`,...(E=(v=d.parameters)==null?void 0:v.docs)==null?void 0:E.source}}};const P=["Playground","Primary","ErrorState","Disabled","IconOptions","Notifications","NestedMenu"],T=Object.freeze(Object.defineProperty({__proto__:null,Disabled:a,ErrorState:i,IconOptions:s,NestedMenu:d,Notifications:c,Playground:e,Primary:o,__namedExportsOrder:P,default:L},Symbol.toStringTag,{value:"Module"}));export{T as A,a as D,i as E,s as I,c as N,e as P,o as a,d as b}; diff --git a/rc/assets/action-menu.stories-CmHuG9yI.js b/rc/assets/action-menu.stories-CmHuG9yI.js deleted file mode 100644 index 81fea69..0000000 --- a/rc/assets/action-menu.stories-CmHuG9yI.js +++ /dev/null @@ -1,216 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as t}from"./lit-html-paDGiEfB.js";import"./action-menu-i5ox-tYM.js";const L={title:"Components/Action Menu",argTypes:{label:{name:"Text"},elements:{name:"Nombre de ítems",control:{type:"number",max:5,min:1}},type:{name:"Tipus",control:{type:"radio"},options:["primary","error"]},showLeftIcon:{name:"Mostrar icona esquerra",control:{type:"boolean"}},leftIcon:{name:"Icona esquerra",if:{arg:"showLeftIcon"}},showRightIcon:{name:"Mostrar icona dreta",control:{type:"boolean"}},rightIcon:{name:"Icona dreta",if:{arg:"showRightIcon"}},showActionIcon:{name:"Mostrar icona acció",control:{type:"boolean"}},actionIcon:{name:"Icona acció",if:{arg:"showActionIcon"}},actionState:{name:"Estat de la icona d'acció",control:{type:"select"},options:["default","white-default","primary","error","warning","success","info"],if:{arg:"showActionIcon"}},hasNestedMenu:{name:"Habilita menú niat",control:{type:"boolean"}},showNotifications:{name:"Mostrar notificacions",control:{type:"boolean"}},notifications:{name:"Notificacions",control:{type:"number",max:10,min:0},if:{arg:"showNotifications"}},notificationsState:{name:"Estat de la notificació",control:{type:"select"},options:["error","alert","success","info"],if:{arg:"showNotifications"}},disabled:{name:"Deshabilitar",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={render:n=>t` - - - ${n.hasNestedMenu?t` - - - - - - `:null} - - ${Array.from({length:n.elements-1},()=>t` - - `)} - - `,args:{label:"Action",elements:4,type:"primary",showLeftIcon:!0,leftIcon:"add_box",showRightIcon:!1,rightIcon:"add_box",showActionIcon:!1,actionIcon:"add_box",actionState:"primary",hasNestedMenu:!1,showNotifications:!1,notifications:1,notificationsState:"error",disabled:!1}},o={tags:["!dev"],render:()=>t` - - - - - - `},i={tags:["!dev"],render:()=>t` - - - - - - `},a={tags:["!dev"],render:()=>t` - - - - - - `},s={tags:["!dev"],render:()=>t` - - - - - - - `},c={tags:["!dev"],render:()=>t` - - - - - - - `},d={tags:["!dev"],render:()=>t` -
- - - - - - - - - - - - - - - - - - - - -
- `};var m,r,l;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: (args: Args) => { - return html\` - - - \${args.hasNestedMenu ? html\` - - - - - - \` : null} - - \${Array.from({ - length: args.elements - 1 - }, () => html\` - - \`)} - - \`; - }, - args: { - label: 'Action', - elements: 4, - type: 'primary', - showLeftIcon: true, - leftIcon: 'add_box', - showRightIcon: false, - rightIcon: 'add_box', - showActionIcon: false, - actionIcon: 'add_box', - actionState: 'primary', - hasNestedMenu: false, - showNotifications: false, - notifications: 1, - notificationsState: 'error', - disabled: false - } as Args -}`,...(l=(r=e.parameters)==null?void 0:r.docs)==null?void 0:l.source}}};var u,b,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(f=(b=o.parameters)==null?void 0:b.docs)==null?void 0:f.source}}};var I,A,_;i.parameters={...i.parameters,docs:{...(I=i.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(_=(A=i.parameters)==null?void 0:A.docs)==null?void 0:_.source}}};var x,h,p;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(p=(h=a.parameters)==null?void 0:h.docs)==null?void 0:p.source}}};var g,y,S;s.parameters={...s.parameters,docs:{...(g=s.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(S=(y=s.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};var w,N,$;c.parameters={...c.parameters,docs:{...(w=c.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...($=(N=c.parameters)==null?void 0:N.docs)==null?void 0:$.source}}};var M,v,E;d.parameters={...d.parameters,docs:{...(M=d.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - - - - - - - - - - -
- \`; - } -}`,...(E=(v=d.parameters)==null?void 0:v.docs)==null?void 0:E.source}}};const P=["Playground","Primary","ErrorState","Disabled","IconOptions","Notifications","NestedMenu"],T=Object.freeze(Object.defineProperty({__proto__:null,Disabled:a,ErrorState:i,IconOptions:s,NestedMenu:d,Notifications:c,Playground:e,Primary:o,__namedExportsOrder:P,default:L},Symbol.toStringTag,{value:"Module"}));export{T as A,a as D,i as E,s as I,c as N,e as P,o as a,d as b}; diff --git a/rc/assets/alert-Cs94cQBi.js b/rc/assets/alert-Cs94cQBi.js deleted file mode 100644 index 835b41b..0000000 --- a/rc/assets/alert-Cs94cQBi.js +++ /dev/null @@ -1,35 +0,0 @@ -import{r as m,a as _}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as r}from"./property-CzN8u98o.js";import{r as f}from"./reset.style-B0CQ8619.js";import{b as v}from"./property-types-CkH-zh1n.js";import{i as n,s as c,u as l}from"./static-DLZyqU8Z.js";import{g as h}from"./custom-element-scope-Dp4Dg8bo.js";const x=":host{display:inline-block;vertical-align:middle;max-width:100%}.dss-alert{display:flex;justify-content:space-between;gap:var(--dss-spacing-md);padding:var(--dss-spacing-xs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm);width:-moz-fit-content;width:fit-content;max-width:100%;font-weight:var(--font-semibold);font-size:14px;line-height:var(--line-24);color:var(--color-blue-700);background-color:var(--color-blue-50);border:1px solid var(--color-blue-700)}.dss-alert--md{font-size:12px;line-height:16px;padding:var(--dss-spacing-xs) var(--dss-spacing-xs) var(--dss-spacing-xs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm);gap:var(--dss-spacing-sm)}.dss-alert--sm{font-size:12px;line-height:16px;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-alert--error{color:var(--color-red-700);background-color:var(--color-red-50);border-color:var(--color-red-700)}.dss-alert--warning{color:var(--color-yellow-800);background-color:var(--color-yellow-50);border-color:var(--color-yellow-800)}.dss-alert--success{color:var(--color-green-700);background-color:var(--color-green-50);border-color:var(--color-green-700)}.dss-alert .dss-alert-body{display:flex;gap:var(--dss-spacing-xs)}.dss-alert .dss-alert-body .dss-alert__icon{align-self:flex-start;height:24px;display:flex;align-items:center}.dss-alert.dss-alert--md .dss-alert-body .dss-alert__icon{height:16px}.dss-alert .dss-alert-body .dss-alert__text{display:flex;align-items:center}.dss-alert .dss-alert-action{line-height:0}",p=n`dss-icon${c(h())}`,g=n`dss-icon-button${c(h())}`,b=n`dss-button${c(h())}`,y=t=>l` -
-
- ${t._size!=="sm"?l` -
- <${p} size="${t._iconSize}" icon="${t._stateIcon}"> -
- `:null} -
${t._message}
-
- ${t._hasCloseIcon?l` -
- <${g} - class="dss-alert__icon-button" - icon="close" - size="${t._iconSize}" - type="${t._state}" - @onClick="${t._handleClose}" - > -
- `:null} - ${t._size==="lg"&&t._hasButton?l` -
- <${b} - size="sm" - type="${t._state}" - label="${t._buttonLabel}" - @onClick="${t._handleButtonClick}" - > -
- `:null} -
-`;var $=Object.defineProperty,z=Object.getOwnPropertyDescriptor,o=(t,s,e,C)=>{for(var a=z(s,e),d=t.length-1,u;d>=0;d--)(u=t[d])&&(a=u(s,e,a)||a);return a&&$(s,e,a),a};class i extends m{constructor(){super(...arguments),this._state="info",this._size="md",this._iconSize="sm",this._message="Your message. short and clear.",this._hasCloseIcon=!1,this._hasButton=!1,this._buttonLabel="Button",this._stateIcon="info"}static get styles(){return[_(f),_(x)]}set state(s){const e=this._state;switch(s){case"error":this._state=s,this._stateIcon="error";break;case"warning":this._state=s,this._stateIcon="report";break;case"success":this._state=s,this._stateIcon="check_circle";break;default:this._state="info",this._stateIcon="info"}this.requestUpdate("state",e)}set size(s){const e=this._size;this._size=s,this._iconSize=s==="lg"?"md":"sm",this.requestUpdate("size",e)}set message(s){const e=this._message;this._message=s,this.requestUpdate("message",e)}set hasCloseIcon(s){const e=this._hasCloseIcon;this._hasCloseIcon=s,this.requestUpdate("hasCloseIcon",e)}set hasButton(s){const e=this._hasButton;this._hasButton=s,s&&(this._hasCloseIcon=!1),this.requestUpdate("hasButton",e)}set buttonLabel(s){const e=this._buttonLabel;this._buttonLabel=s,this.requestUpdate("buttonLabel",e)}_handleButtonClick(){this.dispatchEvent(new CustomEvent("onButtonClick",{bubbles:!0,composed:!0}))}_handleClose(){this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0,composed:!0}))}render(){return y(this)}}o([r({type:String})],i.prototype,"state");o([r({type:String})],i.prototype,"size");o([r({type:String})],i.prototype,"message");o([r(v)],i.prototype,"hasCloseIcon");o([r(v)],i.prototype,"hasButton");o([r({type:String})],i.prototype,"buttonLabel");export{i as A}; diff --git a/rc/assets/alert-DctZgQKX.js b/rc/assets/alert-DctZgQKX.js deleted file mode 100644 index 6e07a7d..0000000 --- a/rc/assets/alert-DctZgQKX.js +++ /dev/null @@ -1,35 +0,0 @@ -import{r as f,a as _}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as r}from"./property-CzN8u98o.js";import{r as m}from"./reset.style-B0CQ8619.js";import{b as v}from"./property-types-CkH-zh1n.js";import{i as n,s as c,g as h,u as l}from"./custom-element-scope-KJWplpvx.js";const x=":host{display:inline-block;vertical-align:middle;max-width:100%}.dss-alert{display:flex;justify-content:space-between;gap:var(--dss-spacing-md);padding:var(--dss-spacing-xs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm);width:-moz-fit-content;width:fit-content;max-width:100%;font-weight:var(--font-semibold);font-size:14px;line-height:var(--line-24);color:var(--color-blue-700);background-color:var(--color-blue-50);border:1px solid var(--color-blue-700)}.dss-alert--md{font-size:12px;line-height:16px;padding:var(--dss-spacing-xs) var(--dss-spacing-xs) var(--dss-spacing-xs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm);gap:var(--dss-spacing-sm)}.dss-alert--sm{font-size:12px;line-height:16px;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-alert--error{color:var(--color-red-700);background-color:var(--color-red-50);border-color:var(--color-red-700)}.dss-alert--warning{color:var(--color-yellow-800);background-color:var(--color-yellow-50);border-color:var(--color-yellow-800)}.dss-alert--success{color:var(--color-green-700);background-color:var(--color-green-50);border-color:var(--color-green-700)}.dss-alert .dss-alert-body{display:flex;gap:var(--dss-spacing-xs)}.dss-alert .dss-alert-body .dss-alert__icon{align-self:flex-start;height:24px;display:flex;align-items:center}.dss-alert.dss-alert--md .dss-alert-body .dss-alert__icon{height:16px}.dss-alert .dss-alert-body .dss-alert__text{display:flex;align-items:center}.dss-alert .dss-alert-action{line-height:0}",p=n`dss-icon${c(h())}`,g=n`dss-icon-button${c(h())}`,b=n`dss-button${c(h())}`,y=t=>l` -
-
- ${t._size!=="sm"?l` -
- <${p} size="${t._iconSize}" icon="${t._stateIcon}"> -
- `:null} -
${t._message}
-
- ${t._hasCloseIcon?l` -
- <${g} - class="dss-alert__icon-button" - icon="close" - size="${t._iconSize}" - type="${t._state}" - @onClick="${t._handleClose}" - > -
- `:null} - ${t._size==="lg"&&t._hasButton?l` -
- <${b} - size="sm" - type="${t._state}" - label="${t._buttonLabel}" - @onClick="${t._handleButtonClick}" - > -
- `:null} -
-`;var $=Object.defineProperty,z=Object.getOwnPropertyDescriptor,o=(t,s,e,C)=>{for(var a=z(s,e),d=t.length-1,u;d>=0;d--)(u=t[d])&&(a=u(s,e,a)||a);return a&&$(s,e,a),a};class i extends f{constructor(){super(...arguments),this._state="info",this._size="md",this._iconSize="sm",this._message="Your message. short and clear.",this._hasCloseIcon=!1,this._hasButton=!1,this._buttonLabel="Button",this._stateIcon="info"}static get styles(){return[_(m),_(x)]}set state(s){const e=this._state;switch(s){case"error":this._state=s,this._stateIcon="error";break;case"warning":this._state=s,this._stateIcon="report";break;case"success":this._state=s,this._stateIcon="check_circle";break;default:this._state="info",this._stateIcon="info"}this.requestUpdate("state",e)}set size(s){const e=this._size;this._size=s,this._iconSize=s==="lg"?"md":"sm",this.requestUpdate("size",e)}set message(s){const e=this._message;this._message=s,this.requestUpdate("message",e)}set hasCloseIcon(s){const e=this._hasCloseIcon;this._hasCloseIcon=s,this.requestUpdate("hasCloseIcon",e)}set hasButton(s){const e=this._hasButton;this._hasButton=s,s&&(this._hasCloseIcon=!1),this.requestUpdate("hasButton",e)}set buttonLabel(s){const e=this._buttonLabel;this._buttonLabel=s,this.requestUpdate("buttonLabel",e)}_handleButtonClick(){this.dispatchEvent(new CustomEvent("onButtonClick",{bubbles:!0,composed:!0}))}_handleClose(){this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0,composed:!0}))}render(){return y(this)}}o([r({type:String})],i.prototype,"state");o([r({type:String})],i.prototype,"size");o([r({type:String})],i.prototype,"message");o([r(v)],i.prototype,"hasCloseIcon");o([r(v)],i.prototype,"hasButton");o([r({type:String})],i.prototype,"buttonLabel");export{i as A}; diff --git a/rc/assets/alert.doc-BOPkbefP.js b/rc/assets/alert.doc-BOPkbefP.js deleted file mode 100644 index 35d402f..0000000 --- a/rc/assets/alert.doc-BOPkbefP.js +++ /dev/null @@ -1,64 +0,0 @@ -import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-7zX9OGsn.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./alert-C6k41s5Y.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .dss-alert { - max-width: 400px; - } - .demo-wrapper { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 10px; - max-width: 400px; - } - `}),` -`,s.jsx(d,{of:a}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(l,{}),s.jsx("dss-badge",{text:"dss-alert",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Alerts comuniquen un estat que afecta tot el sistema, no només una funció -o pàgina. Persisteix durant una sessió i apareix sense que l'usuari iniciï -l'acció.`}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(n,{of:h}),` -`,s.jsx(c,{}),` -`,s.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Àmbit"}),s.jsx(e.th,{children:"Condition"}),s.jsx(e.th,{children:"Type"}),s.jsx(e.th,{children:"Default"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"message"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Requerido"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"-"}),s.jsx(e.td,{children:"Text que es mostra dins del component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"state"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'info'"}),s.jsx(e.td,{children:"Tipus d'alerta. Pot ser: error, warning, success o info."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"size"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'lg'"}),s.jsx(e.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasCloseIcon"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Habilita l'icon-button per poder tancar l'alerta."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasButton"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Mostra un botó dins del component. L'estil del botó està vinculat a l'estat de l'alerta, de manera que no es pot modificar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"buttonLabel"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'Button'"}),s.jsx(e.td,{children:"Text que es mostra dins del botó."})]})]})]}),` -`,s.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onClose"})}),s.jsx(e.td,{children:"Notifica que l'alerta s'ha de tancar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onButtonClick"})}),s.jsx(e.td,{children:"Notifica quan es fa clic al botó."})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-lg",children:"Mides: lg"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-md",children:"Mides: md"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-sm",children:"Mides: sm"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#error",children:"Estats: Error"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#warning",children:"Estats: Warning"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#success",children:"Estats: Success"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#info",children:"Estats: Info"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"mides",children:"Mides"}),` -`,s.jsx(e.h4,{id:"mides-lg",children:"Mides: lg"}),` -`,s.jsxs(e.p,{children:[s.jsx(e.strong,{children:"Nota:"})," La versió que inclou un botó només està disponible per a la mida LG."]}),` -`,s.jsx(n,{of:o}),` -`,s.jsx(e.h4,{id:"mides-md",children:"Mides: md"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx(e.h4,{id:"mides-sm",children:"Mides: sm"}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,s.jsx(e.h4,{id:"error",children:"Error"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h4,{id:"warning",children:"Warning"}),` -`,s.jsx(n,{of:u}),` -`,s.jsx(e.h4,{id:"success",children:"Success"}),` -`,s.jsx(n,{of:p}),` -`,s.jsx(e.h4,{id:"info",children:"Info"}),` -`,s.jsx(n,{of:f}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Versió"}),s.jsx(e.th,{children:"Canvis"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"2.0.0"})}),s.jsx(e.td,{children:"Refactor v2."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.11.0"})}),s.jsx(e.td,{children:"Nou web component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.8.0"})}),s.jsx(e.td,{children:"S'han afegit les mesures lg, md i sm. Si no s'afegeixen les classes específiques de cada mesura el component seguira apareixent igual que fins ara, per la qual cosa no és necessari readptar el mateix en iniciatives ja finalitzades."})]})]})]})]})}function T(i={}){const{wrapper:e}={...t(),...i.components};return e?s.jsx(e,{...i,children:s.jsx(r,{...i})}):r(i)}export{T as default}; diff --git a/rc/assets/alert.doc-BRpHSuKl.js b/rc/assets/alert.doc-BRpHSuKl.js deleted file mode 100644 index 8956e12..0000000 --- a/rc/assets/alert.doc-BRpHSuKl.js +++ /dev/null @@ -1,64 +0,0 @@ -import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-B6noWO0O.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./alert-Cs94cQBi.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./static-DLZyqU8Z.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .dss-alert { - max-width: 400px; - } - .demo-wrapper { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 10px; - max-width: 400px; - } - `}),` -`,s.jsx(d,{of:a}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(l,{}),s.jsx("dss-badge",{text:"dss-alert",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Alerts comuniquen un estat que afecta tot el sistema, no només una funció -o pàgina. Persisteix durant una sessió i apareix sense que l'usuari iniciï -l'acció.`}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(n,{of:h}),` -`,s.jsx(c,{}),` -`,s.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Àmbit"}),s.jsx(e.th,{children:"Condition"}),s.jsx(e.th,{children:"Type"}),s.jsx(e.th,{children:"Default"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"message"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Requerido"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"-"}),s.jsx(e.td,{children:"Text que es mostra dins del component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"state"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'info'"}),s.jsx(e.td,{children:"Tipus d'alerta. Pot ser: error, warning, success o info."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"size"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'lg'"}),s.jsx(e.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasCloseIcon"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Habilita l'icon-button per poder tancar l'alerta."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasButton"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Mostra un botó dins del component. L'estil del botó està vinculat a l'estat de l'alerta, de manera que no es pot modificar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"buttonLabel"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'Button'"}),s.jsx(e.td,{children:"Text que es mostra dins del botó."})]})]})]}),` -`,s.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onClose"})}),s.jsx(e.td,{children:"Notifica que l'alerta s'ha de tancar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onButtonClick"})}),s.jsx(e.td,{children:"Notifica quan es fa clic al botó."})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-lg",children:"Mides: lg"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-md",children:"Mides: md"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-sm",children:"Mides: sm"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#error",children:"Estats: Error"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#warning",children:"Estats: Warning"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#success",children:"Estats: Success"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#info",children:"Estats: Info"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"mides",children:"Mides"}),` -`,s.jsx(e.h4,{id:"mides-lg",children:"Mides: lg"}),` -`,s.jsxs(e.p,{children:[s.jsx(e.strong,{children:"Nota:"})," La versió que inclou un botó només està disponible per a la mida LG."]}),` -`,s.jsx(n,{of:o}),` -`,s.jsx(e.h4,{id:"mides-md",children:"Mides: md"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx(e.h4,{id:"mides-sm",children:"Mides: sm"}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,s.jsx(e.h4,{id:"error",children:"Error"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h4,{id:"warning",children:"Warning"}),` -`,s.jsx(n,{of:u}),` -`,s.jsx(e.h4,{id:"success",children:"Success"}),` -`,s.jsx(n,{of:p}),` -`,s.jsx(e.h4,{id:"info",children:"Info"}),` -`,s.jsx(n,{of:f}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Versió"}),s.jsx(e.th,{children:"Canvis"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"2.0.0"})}),s.jsx(e.td,{children:"Refactor v2."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.11.0"})}),s.jsx(e.td,{children:"Nou web component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.8.0"})}),s.jsx(e.td,{children:"S'han afegit les mesures lg, md i sm. Si no s'afegeixen les classes específiques de cada mesura el component seguira apareixent igual que fins ara, per la qual cosa no és necessari readptar el mateix en iniciatives ja finalitzades."})]})]})]})]})}function T(i={}){const{wrapper:e}={...t(),...i.components};return e?s.jsx(e,{...i,children:s.jsx(r,{...i})}):r(i)}export{T as default}; diff --git a/rc/assets/alert.doc-Cxhy9fyG.js b/rc/assets/alert.doc-CbvG_oKj.js similarity index 97% rename from rc/assets/alert.doc-Cxhy9fyG.js rename to rc/assets/alert.doc-CbvG_oKj.js index a243a8b..f843330 100644 --- a/rc/assets/alert.doc-Cxhy9fyG.js +++ b/rc/assets/alert.doc-CbvG_oKj.js @@ -1,4 +1,4 @@ -import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-7zX9OGsn.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./alert-C6k41s5Y.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` +import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-7zX9OGsn.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./alert-C6k41s5Y.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` .innerZoomElementWrapper{ flex-direction: column; align-items: flex-start; diff --git a/rc/assets/alert.doc-fBxSbem7.js b/rc/assets/alert.doc-fBxSbem7.js deleted file mode 100644 index dc6bd29..0000000 --- a/rc/assets/alert.doc-fBxSbem7.js +++ /dev/null @@ -1,64 +0,0 @@ -import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-7zX9OGsn.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./alert-C6k41s5Y.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .dss-alert { - max-width: 400px; - } - .demo-wrapper { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 10px; - max-width: 400px; - } - `}),` -`,s.jsx(d,{of:a}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(l,{}),s.jsx("dss-badge",{text:"dss-alert",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Alerts comuniquen un estat que afecta tot el sistema, no només una funció -o pàgina. Persisteix durant una sessió i apareix sense que l'usuari iniciï -l'acció.`}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(n,{of:h}),` -`,s.jsx(c,{}),` -`,s.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Àmbit"}),s.jsx(e.th,{children:"Condition"}),s.jsx(e.th,{children:"Type"}),s.jsx(e.th,{children:"Default"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"message"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Requerido"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"-"}),s.jsx(e.td,{children:"Text que es mostra dins del component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"state"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'info'"}),s.jsx(e.td,{children:"Tipus d'alerta. Pot ser: error, warning, success o info."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"size"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'lg'"}),s.jsx(e.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasCloseIcon"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Habilita l'icon-button per poder tancar l'alerta."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasButton"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Mostra un botó dins del component. L'estil del botó està vinculat a l'estat de l'alerta, de manera que no es pot modificar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"buttonLabel"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'Button'"}),s.jsx(e.td,{children:"Text que es mostra dins del botó."})]})]})]}),` -`,s.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onClose"})}),s.jsx(e.td,{children:"Notifica que l'alerta s'ha de tancar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onButtonClick"})}),s.jsx(e.td,{children:"Notifica quan es fa clic al botó."})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-lg",children:"Mides: lg"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-md",children:"Mides: md"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-sm",children:"Mides: sm"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#error",children:"Estats: Error"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#warning",children:"Estats: Warning"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#success",children:"Estats: Success"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#info",children:"Estats: Info"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"mides",children:"Mides"}),` -`,s.jsx(e.h4,{id:"mides-lg",children:"Mides: lg"}),` -`,s.jsxs(e.p,{children:[s.jsx(e.strong,{children:"Nota:"})," La versió que inclou un botó només està disponible per a la mida LG."]}),` -`,s.jsx(n,{of:o}),` -`,s.jsx(e.h4,{id:"mides-md",children:"Mides: md"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx(e.h4,{id:"mides-sm",children:"Mides: sm"}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,s.jsx(e.h4,{id:"error",children:"Error"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h4,{id:"warning",children:"Warning"}),` -`,s.jsx(n,{of:u}),` -`,s.jsx(e.h4,{id:"success",children:"Success"}),` -`,s.jsx(n,{of:p}),` -`,s.jsx(e.h4,{id:"info",children:"Info"}),` -`,s.jsx(n,{of:f}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Versió"}),s.jsx(e.th,{children:"Canvis"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"2.0.0"})}),s.jsx(e.td,{children:"Refactor v2."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.11.0"})}),s.jsx(e.td,{children:"Nou web component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.8.0"})}),s.jsx(e.td,{children:"S'han afegit les mesures lg, md i sm. Si no s'afegeixen les classes específiques de cada mesura el component seguira apareixent igual que fins ara, per la qual cosa no és necessari readptar el mateix en iniciatives ja finalitzades."})]})]})]})]})}function T(i={}){const{wrapper:e}={...t(),...i.components};return e?s.jsx(e,{...i,children:s.jsx(r,{...i})}):r(i)}export{T as default}; diff --git a/rc/assets/alert.doc-zuqeYjLK.js b/rc/assets/alert.doc-zuqeYjLK.js deleted file mode 100644 index 2c6819e..0000000 --- a/rc/assets/alert.doc-zuqeYjLK.js +++ /dev/null @@ -1,64 +0,0 @@ -import{ae as s,af as d,ag as l,ah as n,ai as c}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{A as a,P as h,S as o,a as x,b as j,E as m,W as u,c as p,I as f}from"./alert.stories-Vn-OldJ6.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./alert-DctZgQKX.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./custom-element-scope-KJWplpvx.js";function r(i){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .dss-alert { - max-width: 400px; - } - .demo-wrapper { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 10px; - max-width: 400px; - } - `}),` -`,s.jsx(d,{of:a}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(l,{}),s.jsx("dss-badge",{text:"dss-alert",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Alerts comuniquen un estat que afecta tot el sistema, no només una funció -o pàgina. Persisteix durant una sessió i apareix sense que l'usuari iniciï -l'acció.`}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(n,{of:h}),` -`,s.jsx(c,{}),` -`,s.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Àmbit"}),s.jsx(e.th,{children:"Condition"}),s.jsx(e.th,{children:"Type"}),s.jsx(e.th,{children:"Default"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"message"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Requerido"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"-"}),s.jsx(e.td,{children:"Text que es mostra dins del component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"state"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'info'"}),s.jsx(e.td,{children:"Tipus d'alerta. Pot ser: error, warning, success o info."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"size"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'lg'"}),s.jsx(e.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasCloseIcon"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Habilita l'icon-button per poder tancar l'alerta."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"hasButton"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"boolean"}),s.jsx(e.td,{children:"false"}),s.jsx(e.td,{children:"Mostra un botó dins del component. L'estil del botó està vinculat a l'estat de l'alerta, de manera que no es pot modificar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"buttonLabel"})}),s.jsx(e.td,{children:"Input"}),s.jsx(e.td,{children:"Opcional"}),s.jsx(e.td,{children:"string"}),s.jsx(e.td,{children:"'Button'"}),s.jsx(e.td,{children:"Text que es mostra dins del botó."})]})]})]}),` -`,s.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Name"}),s.jsx(e.th,{children:"Description"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onClose"})}),s.jsx(e.td,{children:"Notifica que l'alerta s'ha de tancar."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"onButtonClick"})}),s.jsx(e.td,{children:"Notifica quan es fa clic al botó."})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-lg",children:"Mides: lg"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-md",children:"Mides: md"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#mides-sm",children:"Mides: sm"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#error",children:"Estats: Error"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#warning",children:"Estats: Warning"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#success",children:"Estats: Success"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#info",children:"Estats: Info"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"mides",children:"Mides"}),` -`,s.jsx(e.h4,{id:"mides-lg",children:"Mides: lg"}),` -`,s.jsxs(e.p,{children:[s.jsx(e.strong,{children:"Nota:"})," La versió que inclou un botó només està disponible per a la mida LG."]}),` -`,s.jsx(n,{of:o}),` -`,s.jsx(e.h4,{id:"mides-md",children:"Mides: md"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx(e.h4,{id:"mides-sm",children:"Mides: sm"}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,s.jsx(e.h4,{id:"error",children:"Error"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h4,{id:"warning",children:"Warning"}),` -`,s.jsx(n,{of:u}),` -`,s.jsx(e.h4,{id:"success",children:"Success"}),` -`,s.jsx(n,{of:p}),` -`,s.jsx(e.h4,{id:"info",children:"Info"}),` -`,s.jsx(n,{of:f}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,s.jsxs(e.table,{children:[s.jsx(e.thead,{children:s.jsxs(e.tr,{children:[s.jsx(e.th,{children:"Versió"}),s.jsx(e.th,{children:"Canvis"})]})}),s.jsxs(e.tbody,{children:[s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"2.0.0"})}),s.jsx(e.td,{children:"Refactor v2."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.11.0"})}),s.jsx(e.td,{children:"Nou web component."})]}),s.jsxs(e.tr,{children:[s.jsx(e.td,{children:s.jsx(e.strong,{children:"1.8.0"})}),s.jsx(e.td,{children:"S'han afegit les mesures lg, md i sm. Si no s'afegeixen les classes específiques de cada mesura el component seguira apareixent igual que fins ara, per la qual cosa no és necessari readptar el mateix en iniciatives ja finalitzades."})]})]})]})]})}function P(i={}){const{wrapper:e}={...t(),...i.components};return e?s.jsx(e,{...i,children:s.jsx(r,{...i})}):r(i)}export{P as default}; diff --git a/rc/assets/alert.stories-B6noWO0O.js b/rc/assets/alert.stories-B6noWO0O.js deleted file mode 100644 index d068def..0000000 --- a/rc/assets/alert.stories-B6noWO0O.js +++ /dev/null @@ -1,177 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./alert-Cs94cQBi.js";const P={title:"Components/Alert",component:"dss-alert",argTypes:{text:{name:"Missatge",control:{type:"text"}},size:{name:"Mides",control:{type:"radio"},options:["lg","md","sm"]},state:{name:"Estat",control:{type:"radio"},options:["error","warning","success","info"]},show:{name:"Mostrar",control:{type:"radio"},options:["Cap","Close Icon","Button"]},buttonLabel:{name:"Text del botó.",control:{type:"text"},if:{arg:"show",eq:"Button"}}},parameters:{layout:"centered"}},a={args:{text:"Your message, short and clear.",size:"lg",state:"error",show:"Cap",buttonLabel:"Button"},render:e=>{let i=!1,c=!1;switch(e.show){case"Close Icon":i=!0,c=!1;break;case"Button":i=!1,c=!0;break;default:i=!1,c=!1;break}return s` - - - `}},r={tags:["!dev"],render:()=>s` -
- - - - -
- `},t={tags:["!dev"],render:()=>s` -
- - - -
- `},o={tags:["!dev"],render:()=>s` -
- - - -
- `},n={tags:["!dev"],render:()=>s` -
- - - - -
- `},l={tags:["!dev"],render:()=>s` -
- - - - -
- `},d={tags:["!dev"],render:()=>s` -
- - - - -
- `},m={tags:["!dev"],render:()=>s` -
- - - - -
- `};var u,g,h;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:`{ - args: { - text: 'Your message, short and clear.', - size: 'lg', - state: 'error', - show: 'Cap', - buttonLabel: 'Button' - } as AlertArgs, - render: (args: AlertArgs) => { - let _hasCloseIcon = false; - let _hasButton = false; - switch (args.show) { - case 'Close Icon': - _hasCloseIcon = true; - _hasButton = false; - break; - case 'Button': - _hasCloseIcon = false; - _hasButton = true; - break; - default: - _hasCloseIcon = false; - _hasButton = false; - break; - } - return html\` - - - \`; - } -}`,...(h=(g=a.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var p,z,L;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(L=(z=r.parameters)==null?void 0:z.docs)==null?void 0:L.source}}};var b,v,Y;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - -
- \`; - } -}`,...(Y=(v=t.parameters)==null?void 0:v.docs)==null?void 0:Y.source}}};var f,w,C;o.parameters={...o.parameters,docs:{...(f=o.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - -
- \`; - } -}`,...(C=(w=o.parameters)==null?void 0:w.docs)==null?void 0:C.source}}};var I,B,S;n.parameters={...n.parameters,docs:{...(I=n.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(S=(B=n.parameters)==null?void 0:B.docs)==null?void 0:S.source}}};var _,T,$;l.parameters={...l.parameters,docs:{...(_=l.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...($=(T=l.parameters)==null?void 0:T.docs)==null?void 0:$.source}}};var x,y,A;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(A=(y=d.parameters)==null?void 0:y.docs)==null?void 0:A.source}}};var k,M,E;m.parameters={...m.parameters,docs:{...(k=m.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(E=(M=m.parameters)==null?void 0:M.docs)==null?void 0:E.source}}};const O=["Playground","SizeLg","SizeMd","SizeSm","ErrorState","Warning","Success","Info"],D=Object.freeze(Object.defineProperty({__proto__:null,ErrorState:n,Info:m,Playground:a,SizeLg:r,SizeMd:t,SizeSm:o,Success:d,Warning:l,__namedExportsOrder:O,default:P},Symbol.toStringTag,{value:"Module"}));export{D as A,n as E,m as I,a as P,r as S,l as W,t as a,o as b,d as c}; diff --git a/rc/assets/alert.stories-Vn-OldJ6.js b/rc/assets/alert.stories-Vn-OldJ6.js deleted file mode 100644 index 5535d5f..0000000 --- a/rc/assets/alert.stories-Vn-OldJ6.js +++ /dev/null @@ -1,177 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./alert-DctZgQKX.js";const P={title:"Components/Alert",component:"dss-alert",argTypes:{text:{name:"Missatge",control:{type:"text"}},size:{name:"Mides",control:{type:"radio"},options:["lg","md","sm"]},state:{name:"Estat",control:{type:"radio"},options:["error","warning","success","info"]},show:{name:"Mostrar",control:{type:"radio"},options:["Cap","Close Icon","Button"]},buttonLabel:{name:"Text del botó.",control:{type:"text"},if:{arg:"show",eq:"Button"}}},parameters:{layout:"centered"}},a={args:{text:"Your message, short and clear.",size:"lg",state:"error",show:"Cap",buttonLabel:"Button"},render:e=>{let i=!1,c=!1;switch(e.show){case"Close Icon":i=!0,c=!1;break;case"Button":i=!1,c=!0;break;default:i=!1,c=!1;break}return s` - - - `}},r={tags:["!dev"],render:()=>s` -
- - - - -
- `},t={tags:["!dev"],render:()=>s` -
- - - -
- `},o={tags:["!dev"],render:()=>s` -
- - - -
- `},n={tags:["!dev"],render:()=>s` -
- - - - -
- `},l={tags:["!dev"],render:()=>s` -
- - - - -
- `},d={tags:["!dev"],render:()=>s` -
- - - - -
- `},m={tags:["!dev"],render:()=>s` -
- - - - -
- `};var u,g,h;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:`{ - args: { - text: 'Your message, short and clear.', - size: 'lg', - state: 'error', - show: 'Cap', - buttonLabel: 'Button' - } as AlertArgs, - render: (args: AlertArgs) => { - let _hasCloseIcon = false; - let _hasButton = false; - switch (args.show) { - case 'Close Icon': - _hasCloseIcon = true; - _hasButton = false; - break; - case 'Button': - _hasCloseIcon = false; - _hasButton = true; - break; - default: - _hasCloseIcon = false; - _hasButton = false; - break; - } - return html\` - - - \`; - } -}`,...(h=(g=a.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var p,z,L;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(L=(z=r.parameters)==null?void 0:z.docs)==null?void 0:L.source}}};var b,v,Y;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - -
- \`; - } -}`,...(Y=(v=t.parameters)==null?void 0:v.docs)==null?void 0:Y.source}}};var f,w,C;o.parameters={...o.parameters,docs:{...(f=o.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - -
- \`; - } -}`,...(C=(w=o.parameters)==null?void 0:w.docs)==null?void 0:C.source}}};var I,B,S;n.parameters={...n.parameters,docs:{...(I=n.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(S=(B=n.parameters)==null?void 0:B.docs)==null?void 0:S.source}}};var _,T,$;l.parameters={...l.parameters,docs:{...(_=l.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...($=(T=l.parameters)==null?void 0:T.docs)==null?void 0:$.source}}};var x,y,A;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(A=(y=d.parameters)==null?void 0:y.docs)==null?void 0:A.source}}};var k,M,E;m.parameters={...m.parameters,docs:{...(k=m.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(E=(M=m.parameters)==null?void 0:M.docs)==null?void 0:E.source}}};const O=["Playground","SizeLg","SizeMd","SizeSm","ErrorState","Warning","Success","Info"],D=Object.freeze(Object.defineProperty({__proto__:null,ErrorState:n,Info:m,Playground:a,SizeLg:r,SizeMd:t,SizeSm:o,Success:d,Warning:l,__namedExportsOrder:O,default:P},Symbol.toStringTag,{value:"Module"}));export{D as A,n as E,m as I,a as P,r as S,l as W,t as a,o as b,d as c}; diff --git a/rc/assets/avatar-Bb5T61dP.js b/rc/assets/avatar-Bb5T61dP.js deleted file mode 100644 index 6dc0b04..0000000 --- a/rc/assets/avatar-Bb5T61dP.js +++ /dev/null @@ -1,11 +0,0 @@ -import{r as p,a as _}from"./lit-element-vV9fql9z.js";import{x as i}from"./lit-html-paDGiEfB.js";import{n}from"./property-CzN8u98o.js";import{i as l}from"./icon.style-DPTab5RN.js";const v=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-avatar{border-radius:100%;background-color:#f5f5f5;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#656565;text-transform:uppercase}.dss-avatar.dss-avatar--border{box-shadow:inset 0 0 0 1px #d8d8d8}.dss-avatar .dss-avatar__icon{font-weight:500}.dss-avatar .dss-avatar__font{font-weight:600}.dss-avatar .dss-avatar__img{border-radius:100%;height:100%}.dss-avatar--sm{width:24px;height:24px}.dss-avatar--md{width:32px;height:32px}.dss-avatar--lg{width:40px;height:40px}.dss-avatar--xl{width:48px;height:48px}.dss-avatar--sm .dss-avatar__icon,.dss-avatar--md .dss-avatar__icon{font-size:16px}.dss-avatar--lg .dss-avatar__icon{font-size:24px}.dss-avatar--xl .dss-avatar__icon{font-size:32px}.dss-avatar--sm .dss-avatar__font{font-size:12px;line-height:16px}.dss-avatar--md .dss-avatar__font,.dss-avatar--lg .dss-avatar__font{font-size:14px;line-height:24px}.dss-avatar--xl .dss-avatar__font{font-size:16px;line-height:24px}",c=t=>{const s=t._imageUrl?"":"dss-avatar--border";return i` -
- ${t._imageUrl?i`avatar`:i`${t._acronym?i`${t._acronym}`:i` - person - `}`} -
- `};var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,o=(t,s,a,e)=>{for(var r=g(s,a),m=t.length-1,h;m>=0;m--)(h=t[m])&&(r=h(s,a,r)||r);return r&&f(s,a,r),r};class d extends p{constructor(){super(...arguments),this._acronym="",this._name="",this._surname="",this._imageUrl="",this._size="md"}static get styles(){return[_(l),_(v)]}set name(s){const a=this._name;this._name=s,this.requestUpdate("name",a)}set surname(s){const a=this._surname;this._surname=s,this.requestUpdate("surname",a)}set imageUrl(s){const a=this._imageUrl;this._imageUrl=s,this.requestUpdate("imageUrl",a)}set size(s){const a=this._size;this._size=s,this.requestUpdate("size",a)}willUpdate(s){const a=s.has("name"),e=s.has("surname");(a||e)&&this.formatAcronym()}formatAcronym(){var a,e;let s=(a=this._name)==null?void 0:a.trim().substring(0,1).toUpperCase();this._name&&this._surname?s+=this._surname.trim().substring(0,1).toUpperCase():s=(e=this._name)==null?void 0:e.trim().substring(0,2).toUpperCase(),this._acronym=s,this.requestUpdate("acronym",s)}render(){return c(this)}}o([n({type:String})],d.prototype,"name");o([n({type:String})],d.prototype,"surname");o([n({type:String})],d.prototype,"imageUrl");o([n({type:String})],d.prototype,"size");export{d as A}; diff --git a/rc/assets/avatar-Cb1ARGpi.js b/rc/assets/avatar-Cb1ARGpi.js deleted file mode 100644 index 15002f6..0000000 --- a/rc/assets/avatar-Cb1ARGpi.js +++ /dev/null @@ -1,11 +0,0 @@ -import{r as p,a as _}from"./lit-element-vV9fql9z.js";import{x as i}from"./lit-html-paDGiEfB.js";import{n}from"./property-CzN8u98o.js";import{i as l}from"./icon.style-BFmaJcLw.js";const v=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-avatar{border-radius:100%;background-color:#f5f5f5;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#656565;text-transform:uppercase}.dss-avatar.dss-avatar--border{box-shadow:inset 0 0 0 1px #d8d8d8}.dss-avatar .dss-avatar__icon{font-weight:500}.dss-avatar .dss-avatar__font{font-weight:600}.dss-avatar .dss-avatar__img{border-radius:100%;height:100%}.dss-avatar--sm{width:24px;height:24px}.dss-avatar--md{width:32px;height:32px}.dss-avatar--lg{width:40px;height:40px}.dss-avatar--xl{width:48px;height:48px}.dss-avatar--sm .dss-avatar__icon,.dss-avatar--md .dss-avatar__icon{font-size:16px}.dss-avatar--lg .dss-avatar__icon{font-size:24px}.dss-avatar--xl .dss-avatar__icon{font-size:32px}.dss-avatar--sm .dss-avatar__font{font-size:12px;line-height:16px}.dss-avatar--md .dss-avatar__font,.dss-avatar--lg .dss-avatar__font{font-size:14px;line-height:24px}.dss-avatar--xl .dss-avatar__font{font-size:16px;line-height:24px}",c=t=>{const s=t._imageUrl?"":"dss-avatar--border";return i` -
- ${t._imageUrl?i`avatar`:i`${t._acronym?i`${t._acronym}`:i` - person - `}`} -
- `};var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,o=(t,s,a,e)=>{for(var r=g(s,a),m=t.length-1,h;m>=0;m--)(h=t[m])&&(r=h(s,a,r)||r);return r&&f(s,a,r),r};class d extends p{constructor(){super(...arguments),this._acronym="",this._name="",this._surname="",this._imageUrl="",this._size="md"}static get styles(){return[_(l),_(v)]}set name(s){const a=this._name;this._name=s,this.requestUpdate("name",a)}set surname(s){const a=this._surname;this._surname=s,this.requestUpdate("surname",a)}set imageUrl(s){const a=this._imageUrl;this._imageUrl=s,this.requestUpdate("imageUrl",a)}set size(s){const a=this._size;this._size=s,this.requestUpdate("size",a)}willUpdate(s){const a=s.has("name"),e=s.has("surname");(a||e)&&this.formatAcronym()}formatAcronym(){var a,e;let s=(a=this._name)==null?void 0:a.trim().substring(0,1).toUpperCase();this._name&&this._surname?s+=this._surname.trim().substring(0,1).toUpperCase():s=(e=this._name)==null?void 0:e.trim().substring(0,2).toUpperCase(),this._acronym=s,this.requestUpdate("acronym",s)}render(){return c(this)}}o([n({type:String})],d.prototype,"name");o([n({type:String})],d.prototype,"surname");o([n({type:String})],d.prototype,"imageUrl");o([n({type:String})],d.prototype,"size");export{d as A}; diff --git a/rc/assets/avatar.doc-BeDiMo1p.js b/rc/assets/avatar.doc-BeDiMo1p.js deleted file mode 100644 index 7e46ef9..0000000 --- a/rc/assets/avatar.doc-BeDiMo1p.js +++ /dev/null @@ -1,40 +0,0 @@ -import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as c,P as d,I as m,a as p,b as u}from"./avatar.stories-BjgRMOLo.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./avatar-Bb5T61dP.js";import"./property-CzN8u98o.js";import"./icon.style-DPTab5RN.js";import"./avatar-doctor-BBv5l1RE.js";function a(n){const i={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-avatar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Avatars s'utilitzen per representar visualment les entitats en aplicacions -i plataformes en línia, i proporcionen una forma ràpida i fàcil per als -usuaris de reconèixer i identificar altres usuaris i entitats en línia.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(o,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(i.p,{children:"TODO: Descriure les propietats de l'avatar"}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(i.p,{children:"TODO: Descriure les esdeveniments de l'avatar"}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-imatge",children:"Amb imatge"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-inicials",children:"Amb inicials"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icona",children:"Amb icona"})}),` -`]}),` -`,e.jsx(i.h4,{id:"amb-imatge",children:"Amb imatge"}),` -`,e.jsx(i.p,{children:`Són aquells que utilitzen una fotografia o il·lustració per representar -l'entitat. Això pot incloure fotografies de perfil, retrats o imatges d'altres -objectes o elements que representin l'entitat.`}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(i.h4,{id:"amb-inicials",children:"Amb inicials"}),` -`,e.jsx(i.p,{children:`Són aquells que utilitzen les inicials del nom de l'entitat per -representar-la. Això és especialment útil quan l'usuari no té una imatge de -perfil disponible o no vol compartir una imatge personal.`}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(i.h4,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i.p,{children:`Són aquells que es fan servir per defecte en cas de no venir informat el nom i -cognom ni la imatge representativa.`}),` -`,e.jsx(s,{of:u})]})}function y(n={}){const{wrapper:i}={...t(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(a,{...n})}):a(n)}export{y as default}; diff --git a/rc/assets/avatar.doc-BE98o0Ta.js b/rc/assets/avatar.doc-CCPccyHZ.js similarity index 93% rename from rc/assets/avatar.doc-BE98o0Ta.js rename to rc/assets/avatar.doc-CCPccyHZ.js index 8c7214a..3d288e1 100644 --- a/rc/assets/avatar.doc-BE98o0Ta.js +++ b/rc/assets/avatar.doc-CCPccyHZ.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as c,P as m,I as d,a as p,b as u}from"./avatar.stories-CSsVYqEK.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./avatar-qmcOoFp0.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./avatar-doctor-BBv5l1RE.js";function a(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as c,P as m,I as d,a as p,b as u}from"./avatar.stories-CSsVYqEK.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./avatar-qmcOoFp0.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./avatar-doctor-BBv5l1RE.js";function a(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper #root-inner { display: flex; align-items: center; diff --git a/rc/assets/avatar.doc-Cea14kXY.js b/rc/assets/avatar.doc-Cea14kXY.js deleted file mode 100644 index 4a8fbad..0000000 --- a/rc/assets/avatar.doc-Cea14kXY.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as c,P as m,I as d,a as p,b as u}from"./avatar.stories-CSsVYqEK.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./avatar-qmcOoFp0.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./avatar-doctor-BBv5l1RE.js";function a(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: center; - gap: 16px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-avatar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Els Avatars s'utilitzen per representar visualment les entitats en aplicacions -i plataformes en línia, i proporcionen una forma ràpida i fàcil per als -usuaris de reconèixer i identificar altres usuaris i entitats en línia.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.p,{children:"TODO: Descriure les propietats de l'avatar"}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.p,{children:"TODO: Descriure les esdeveniments de l'avatar"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-imatge",children:"Amb imatge"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-inicials",children:"Amb inicials"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`]}),` -`,e.jsx(n.h4,{id:"amb-imatge",children:"Amb imatge"}),` -`,e.jsx(n.p,{children:`Són aquells que utilitzen una fotografia o il·lustració per representar -l'entitat. Això pot incloure fotografies de perfil, retrats o imatges d'altres -objectes o elements que representin l'entitat.`}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(n.h4,{id:"amb-inicials",children:"Amb inicials"}),` -`,e.jsx(n.p,{children:`Són aquells que utilitzen les inicials del nom de l'entitat per -representar-la. Això és especialment útil quan l'usuari no té una imatge de -perfil disponible o no vol compartir una imatge personal.`}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h4,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n.p,{children:`Són aquells que es fan servir per defecte en cas de no venir informat el nom i -cognom ni la imatge representativa.`}),` -`,e.jsx(s,{of:u})]})}function S(i={}){const{wrapper:n}={...t(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(a,{...i})}):a(i)}export{S as default}; diff --git a/rc/assets/avatar.doc-CuekKRbz.js b/rc/assets/avatar.doc-CuekKRbz.js deleted file mode 100644 index 99453c2..0000000 --- a/rc/assets/avatar.doc-CuekKRbz.js +++ /dev/null @@ -1,40 +0,0 @@ -import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as c,P as d,I as m,a as p,b as u}from"./avatar.stories-C3sQGL95.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./avatar-Cb1ARGpi.js";import"./property-CzN8u98o.js";import"./icon.style-BFmaJcLw.js";import"./avatar-doctor-BBv5l1RE.js";function a(n){const i={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-avatar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Avatars s'utilitzen per representar visualment les entitats en aplicacions -i plataformes en línia, i proporcionen una forma ràpida i fàcil per als -usuaris de reconèixer i identificar altres usuaris i entitats en línia.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(o,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(i.p,{children:"TODO: Descriure les propietats de l'avatar"}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(i.p,{children:"TODO: Descriure les esdeveniments de l'avatar"}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-imatge",children:"Amb imatge"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-inicials",children:"Amb inicials"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icona",children:"Amb icona"})}),` -`]}),` -`,e.jsx(i.h4,{id:"amb-imatge",children:"Amb imatge"}),` -`,e.jsx(i.p,{children:`Són aquells que utilitzen una fotografia o il·lustració per representar -l'entitat. Això pot incloure fotografies de perfil, retrats o imatges d'altres -objectes o elements que representin l'entitat.`}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(i.h4,{id:"amb-inicials",children:"Amb inicials"}),` -`,e.jsx(i.p,{children:`Són aquells que utilitzen les inicials del nom de l'entitat per -representar-la. Això és especialment útil quan l'usuari no té una imatge de -perfil disponible o no vol compartir una imatge personal.`}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(i.h4,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i.p,{children:`Són aquells que es fan servir per defecte en cas de no venir informat el nom i -cognom ni la imatge representativa.`}),` -`,e.jsx(s,{of:u})]})}function y(n={}){const{wrapper:i}={...t(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(a,{...n})}):a(n)}export{y as default}; diff --git a/rc/assets/avatar.doc-ZqrNIp7e.js b/rc/assets/avatar.doc-ZqrNIp7e.js deleted file mode 100644 index 246d250..0000000 --- a/rc/assets/avatar.doc-ZqrNIp7e.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as r,ag as l,ah as s,ai as o}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as c,P as m,I as d,a as p,b as u}from"./avatar.stories-CSsVYqEK.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./avatar-qmcOoFp0.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./avatar-doctor-BBv5l1RE.js";function a(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: center; - gap: 16px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-avatar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Els Avatars s'utilitzen per representar visualment les entitats en aplicacions -i plataformes en línia, i proporcionen una forma ràpida i fàcil per als -usuaris de reconèixer i identificar altres usuaris i entitats en línia.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.p,{children:"TODO: Descriure les propietats de l'avatar"}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.p,{children:"TODO: Descriure les esdeveniments de l'avatar"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-imatge",children:"Amb imatge"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-inicials",children:"Amb inicials"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`]}),` -`,e.jsx(n.h4,{id:"amb-imatge",children:"Amb imatge"}),` -`,e.jsx(n.p,{children:`Són aquells que utilitzen una fotografia o il·lustració per representar -l'entitat. Això pot incloure fotografies de perfil, retrats o imatges d'altres -objectes o elements que representin l'entitat.`}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(n.h4,{id:"amb-inicials",children:"Amb inicials"}),` -`,e.jsx(n.p,{children:`Són aquells que utilitzen les inicials del nom de l'entitat per -representar-la. Això és especialment útil quan l'usuari no té una imatge de -perfil disponible o no vol compartir una imatge personal.`}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h4,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(n.p,{children:`Són aquells que es fan servir per defecte en cas de no venir informat el nom i -cognom ni la imatge representativa.`}),` -`,e.jsx(s,{of:u})]})}function S(i={}){const{wrapper:n}={...t(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(a,{...i})}):a(i)}export{S as default}; diff --git a/rc/assets/avatar.stories-BjgRMOLo.js b/rc/assets/avatar.stories-BjgRMOLo.js deleted file mode 100644 index f37b85b..0000000 --- a/rc/assets/avatar.stories-BjgRMOLo.js +++ /dev/null @@ -1,106 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as m}from"./lit-html-paDGiEfB.js";import"./avatar-Bb5T61dP.js";import{a as t}from"./avatar-doctor-BBv5l1RE.js";const D={title:"Components/Avatar",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg","xl"]},name:{name:"Nom",control:{type:"text"}},surname:{name:"Cognom",control:{type:"text"}},imageUrl:{name:"Imatge",control:{type:"text"}}},parameters:{layout:"centered"}},a={args:{size:"md",name:"Nom",surname:"Cognom",imageUrl:""},render:n=>m``},s={tags:["!dev"],render:()=>m` - - - - - `},e={tags:["!dev"],render:()=>m` - - - - - `},r={tags:["!dev"],render:()=>m` - - - - - `};var d,o,i;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'md', - name: 'Nom', - surname: 'Cognom', - imageUrl: '' - }, - render: (args: any) => { - return html\`\`; - } -}`,...(i=(o=a.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var v,g,l;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(l=(g=s.parameters)==null?void 0:g.docs)==null?void 0:l.source}}};var u,c,p;e.parameters={...e.parameters,docs:{...(u=e.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(p=(c=e.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var z,y,S;r.parameters={...r.parameters,docs:{...(z=r.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(S=(y=r.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};const $=["Playground","Image","Initials","Icons"],f=Object.freeze(Object.defineProperty({__proto__:null,Icons:r,Image:s,Initials:e,Playground:a,__namedExportsOrder:$,default:D},Symbol.toStringTag,{value:"Module"}));export{s as I,a as P,f as S,e as a,r as b}; diff --git a/rc/assets/avatar.stories-C3sQGL95.js b/rc/assets/avatar.stories-C3sQGL95.js deleted file mode 100644 index aceda33..0000000 --- a/rc/assets/avatar.stories-C3sQGL95.js +++ /dev/null @@ -1,106 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as m}from"./lit-html-paDGiEfB.js";import"./avatar-Cb1ARGpi.js";import{a as t}from"./avatar-doctor-BBv5l1RE.js";const D={title:"Components/Avatar",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg","xl"]},name:{name:"Nom",control:{type:"text"}},surname:{name:"Cognom",control:{type:"text"}},imageUrl:{name:"Imatge",control:{type:"text"}}},parameters:{layout:"centered"}},a={args:{size:"md",name:"Nom",surname:"Cognom",imageUrl:""},render:n=>m``},s={tags:["!dev"],render:()=>m` - - - - - `},e={tags:["!dev"],render:()=>m` - - - - - `},r={tags:["!dev"],render:()=>m` - - - - - `};var d,o,i;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'md', - name: 'Nom', - surname: 'Cognom', - imageUrl: '' - }, - render: (args: any) => { - return html\`\`; - } -}`,...(i=(o=a.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var v,g,l;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(l=(g=s.parameters)==null?void 0:g.docs)==null?void 0:l.source}}};var u,c,p;e.parameters={...e.parameters,docs:{...(u=e.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(p=(c=e.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var z,y,S;r.parameters={...r.parameters,docs:{...(z=r.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(S=(y=r.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};const $=["Playground","Image","Initials","Icons"],f=Object.freeze(Object.defineProperty({__proto__:null,Icons:r,Image:s,Initials:e,Playground:a,__namedExportsOrder:$,default:D},Symbol.toStringTag,{value:"Module"}));export{s as I,a as P,f as S,e as a,r as b}; diff --git a/rc/assets/badge-B2-WdLcZ.js b/rc/assets/badge-B2-WdLcZ.js deleted file mode 100644 index fbdfad7..0000000 --- a/rc/assets/badge-B2-WdLcZ.js +++ /dev/null @@ -1,13 +0,0 @@ -import{r as h,a as g}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as o}from"./property-CzN8u98o.js";import{i as u}from"./icon.style-BFmaJcLw.js";import{b as i}from"./property-types-CkH-zh1n.js";import{u as c}from"./static-DLZyqU8Z.js";import{e as b}from"./class-map-2iHk_WiG.js";const v=`.dss-badge--danger{background-color:var(--color-red-100);border-color:var(--color-red-100);color:var(--color-red-900);font-variation-settings:"FILL" 1}.dss-badge--danger-low{background-color:var(--color-white);border-color:var(--color-red-500);color:var(--color-red-900)}.dss-badge--danger-high{background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white);font-variation-settings:"FILL" 1}.dss-badge--moderate{background-color:var(--color-orange-100);border-color:var(--color-orange-100);color:var(--color-orange-900);font-variation-settings:"FILL" 1}.dss-badge--moderate-low{background-color:var(--color-white);border-color:var(--color-orange-500);color:var(--color-orange-900)}.dss-badge--moderate-high{background-color:var(--color-orange-500);border-color:var(--color-orange-500);color:var(--color-orange-900);font-variation-settings:"FILL" 1}.dss-badge--slight{background-color:var(--color-yellow-100);border-color:var(--color-yellow-100);color:var(--color-yellow-900);font-variation-settings:"FILL" 1}.dss-badge--slight-low{background-color:var(--color-white);border-color:var(--color-yellow-500);color:var(--color-yellow-900)}.dss-badge--slight-high{background-color:var(--color-yellow-500);border-color:var(--color-yellow-500);color:var(--color-yellow-900);font-variation-settings:"FILL" 1}.dss-badge--correct{background-color:var(--color-green-100);border-color:var(--color-green-100);color:var(--color-green-900);font-variation-settings:"FILL" 1}.dss-badge--undeterminated{background-color:var(--color-neutral-100);border-color:var(--color-neutral-900);color:var(--color-neutral-900)}.dss-badge--critic{background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)}.dss-badge--critic-outlined{background-color:var(--color-red-50);border-color:var(--color-red-800);color:var(--color-red-800)}.dss-badge--alert{background-color:var(--color-yellow-500);border-color:var(--color-yellow-500);color:var(--color-black)}.dss-badge--alert-outlined{background-color:var(--color-yellow-50);border-color:var(--color-yellow-800);color:var(--color-yellow-800)}.dss-badge--ideal{background-color:var(--color-green-500);border-color:var(--color-green-500);color:var(--color-white)}.dss-badge--ideal-outlined{background-color:var(--color-green-50);border-color:var(--color-green-800);color:var(--color-green-800)}.dss-badge--info{background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)}.dss-badge--info-outlined{background-color:var(--color-blue-50);border-color:var(--color-blue-800);color:var(--color-blue-800)}.dss-badge--info-alt{background-color:var(--color-purple-500);border-color:var(--color-purple-500);color:var(--color-white)}.dss-badge--info-alt-outlined{background-color:var(--color-purple-50);border-color:var(--color-purple-800);color:var(--color-purple-800)}.dss-badge--neutral{background-color:var(--color-neutral-500);border-color:var(--color-neutral-500);color:var(--color-white)}.dss-badge--neutral-outlined{background-color:var(--color-neutral-50);border-color:var(--color-neutral-900);color:var(--color-neutral-900)}.dss-badge--disabled{cursor:not-allowed;border-color:var(--color-neutral-500);background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-badge--dot{display:inline-block;padding:0!important;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto;width:16px;height:16px}.dss-badge--dot>*{display:none;padding:0}.dss-badge--danger.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;background-repeat:no-repeat;width:16px;height:14px;background:url('data:image/svg+xml,')}.dss-badge--danger-low.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;background-repeat:no-repeat;width:16px;height:14px;background:url('data:image/svg+xml,')}.dss-badge--danger-high.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;background-repeat:no-repeat;width:16px;height:14px;background:url('data:image/svg+xml,')}.dss-badge--moderate.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--slight.dss-badge--dot,.dss-badge--slight-low.dss-badge--dot,.dss-badge--slight-high.dss-badge--dot{border-color:var(--color-yellow-900)}.dss-badge--correct.dss-badge--dot{border-color:var(--color-green-900)}.dss-badge--undeterminated.dss-badge--dot{border-color:var(--color-neutral-900)}`,_=".dss-wrapper{position:relative}.dss-badge{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;display:flex;align-items:center;justify-content:center;font-weight:var(--font-semibold);font-size:12px;line-height:16px;border:var(--dss-border-width-sm) solid var(--color-neutral-500)}.dss-badge .dss-badge__icon{font-variation-settings:inherit}.dss-badge--dot{display:inline-block;padding:0;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto}.dss-badge--dot>*{display:none;padding:0}.dss-badge--sm{padding:0 var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-badge--sm>:not(span){display:none}.dss-badge--sm .dss-badge__icon{display:none}.dss-badge--md{padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-badge--md:has(.dss-badge__icon){padding-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-badge__icon) .dss-badge__text{margin-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-icon-button){padding-right:var(--dss-spacing-tiny);padding-top:0;padding-bottom:0}.dss-badge--md:has(.dss-icon-button) .dss-badge__text{margin-right:var(--dss-spacing-tiny)}.dss-badge--lg{font-size:14px;line-height:24px;padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm)}.dss-badge--lg:has(.dss-badge__icon){padding-left:var(--dss-spacing-sm)}.dss-badge--lg:has(.dss-badge__icon) .dss-badge__text{margin-left:var(--dss-spacing-xs)}.dss-badge--lg:has(.dss-icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--lg:has(.dss-icon-button) .dss-badge__text{margin-right:var(--dss-spacing-xs)}.dss-badge--xl{font-size:16px;line-height:24px;padding:var(--dss-spacing-xs) var(--dss-spacing-sm);border-radius:var(--dss-radius-sm)}.dss-badge--xl:has(.dss-badge__icon){padding-left:var(--dss-spacing-sm)}.dss-badge--xl:has(.dss-badge__icon) .dss-badge__text{margin-left:var(--dss-spacing-xs)}.dss-badge--xl:has(.dss-icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--xl:has(.dss-icon-button) .dss-badge__text{margin-right:var(--dss-spacing-xs)}::slotted(dss-tooltip){display:none}.dss-badge:hover+::slotted(dss-tooltip){display:block}",p=s=>{const r={"dss-badge--lg":s._size==="lg","dss-badge--md":s._size==="md","dss-badge--sm":s._size==="sm","dss-badge--xl":s._size==="xl","dss-badge--danger":s._state==="danger","dss-badge--danger-low":s._state==="danger-low","dss-badge--danger-high":s._state==="danger-high","dss-badge--moderate":s._state==="moderate","dss-badge--moderate-low":s._state==="moderate-low","dss-badge--moderate-high":s._state==="moderate-high","dss-badge--slight":s._state==="slight","dss-badge--slight-low":s._state==="slight-low","dss-badge--slight-high":s._state==="slight-high","dss-badge--correct":s._state==="correct","dss-badge--undeterminated":s._state==="undeterminated","dss-badge--critic":s._state==="critic"&&!s._outlined,"dss-badge--critic-outlined":s._state==="critic"&&s._outlined,"dss-badge--alert":s._state==="alert"&&!s._outlined,"dss-badge--alert-outlined":s._state==="alert"&&s._outlined,"dss-badge--ideal":s._state==="ideal"&&!s._outlined,"dss-badge--ideal-outlined":s._state==="ideal"&&s._outlined,"dss-badge--info":s._state==="info"&&!s._outlined,"dss-badge--info-outlined":s._state==="info"&&s._outlined,"dss-badge--info-alt":s._state==="info-alt"&&!s._outlined,"dss-badge--info-alt-outlined":s._state==="info-alt"&&s._outlined,"dss-badge--neutral":s._state==="neutral"&&!s._outlined,"dss-badge--neutral-outlined":s._state==="neutral"&&s._outlined,"dss-badge--disabled":s._disabled,"dss-badge--dot":s._dot},d={"dss-icon--md":s._size==="xl","dss-icon--sm":s._size!=="xl"};return c` -
-
- ${s._hideIcon?null:c` - ${s._icon} - `} - ${s._text} -
- -
- `};var w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,e=(s,r,d,f)=>{for(var t=x(r,d),l=s.length-1,n;l>=0;l--)(n=s[l])&&(t=n(r,d,t)||t);return t&&w(r,d,t),t};class a extends h{constructor(){super(...arguments),this._icon="warning",this._size="sm",this._text="",this._state="",this._disabled=!1,this._isIconDefined=!1,this._outlined=!1,this._dot=!1,this._hideIcon=!1}static get styles(){return[g(u),g(_),g(v)]}set icon(r){const d=this._icon;this._icon=r,this._isIconDefined=!0,this.requestUpdate("icon",d)}set size(r){const d=this._size;this._size=r,this.requestUpdate("size",d)}set text(r){const d=this._text;this._text=r,this.requestUpdate("text",d)}set state(r){const d=this._state;this._state=r,r&&!this._isIconDefined&&(r.includes("danger")?this._icon="warning":r.includes("moderate")?this._icon="emergency_home":r.includes("slight")?this._icon="error":r.includes("correct")?this._icon="check_circle":r.includes("undeterminated")?this._icon="circle":r.includes("critic")?this._icon="cancel":r.includes("alert")?this._icon="report":r.includes("ideal")?this._icon="check_circle":r.includes("info")?this._icon="info":r.includes("neutral")&&(this._icon="circle")),this.requestUpdate("state",d)}set disabled(r){const d=this._disabled;this._disabled=r,this.requestUpdate("disabled",d)}set outlined(r){const d=this._outlined;this._outlined=r,this.requestUpdate("outlined",d)}set dot(r){const d=this._dot;this._dot=r,this.requestUpdate("dot",d)}set hideIcon(r){const d=this._hideIcon;this._hideIcon=r,this.requestUpdate("hideIcon",d)}render(){return p(this)}}e([o({type:String})],a.prototype,"icon");e([o({type:String})],a.prototype,"size");e([o({type:String})],a.prototype,"text");e([o({type:String})],a.prototype,"state");e([o(i)],a.prototype,"disabled");e([o(i)],a.prototype,"outlined");e([o(i)],a.prototype,"dot");e([o(i)],a.prototype,"hideIcon");export{a as B,v as b}; diff --git a/rc/assets/badge-yWdXoMyt.js b/rc/assets/badge-yWdXoMyt.js deleted file mode 100644 index 8531378..0000000 --- a/rc/assets/badge-yWdXoMyt.js +++ /dev/null @@ -1,9 +0,0 @@ -import{r as h,a as g}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as s}from"./property-CzN8u98o.js";import{i as u}from"./icon.style-DPTab5RN.js";import{b as l}from"./property-types-CkH-zh1n.js";import{e as v}from"./class-map-2iHk_WiG.js";import{i as w,s as _,g as p,u as n}from"./custom-element-scope-KJWplpvx.js";const f=`.dss-badge--danger{background-color:var(--color-red-100);border-color:var(--color-red-100);color:var(--color-red-900);font-variation-settings:"FILL" 1}.dss-badge--danger-low{background-color:var(--color-white);border-color:var(--color-red-500);color:var(--color-red-900)}.dss-badge--danger-high{background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white);font-variation-settings:"FILL" 1}.dss-badge--moderate{background-color:var(--color-orange-100);border-color:var(--color-orange-100);color:var(--color-orange-900);font-variation-settings:"FILL" 1}.dss-badge--moderate-low{background-color:var(--color-white);border-color:var(--color-orange-500);color:var(--color-orange-900)}.dss-badge--moderate-high{background-color:var(--color-orange-500);border-color:var(--color-orange-500);color:var(--color-orange-900);font-variation-settings:"FILL" 1}.dss-badge--slight{background-color:var(--color-yellow-100);border-color:var(--color-yellow-100);color:var(--color-yellow-900);font-variation-settings:"FILL" 1}.dss-badge--slight-low{background-color:var(--color-white);border-color:var(--color-yellow-500);color:var(--color-yellow-900)}.dss-badge--slight-high{background-color:var(--color-yellow-500);border-color:var(--color-yellow-500);color:var(--color-yellow-900);font-variation-settings:"FILL" 1}.dss-badge--correct{background-color:var(--color-green-100);border-color:var(--color-green-100);color:var(--color-green-900);font-variation-settings:"FILL" 1}.dss-badge--undeterminated{background-color:var(--color-neutral-100);border-color:var(--color-neutral-900);color:var(--color-neutral-900)}.dss-badge--critic{background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)}.dss-badge--critic-outlined{background-color:var(--color-red-50);border-color:var(--color-red-800);color:var(--color-red-800)}.dss-badge--alert{background-color:var(--color-yellow-500);border-color:var(--color-yellow-500);color:var(--color-black)}.dss-badge--alert-outlined{background-color:var(--color-yellow-50);border-color:var(--color-yellow-800);color:var(--color-yellow-800)}.dss-badge--ideal{background-color:var(--color-green-500);border-color:var(--color-green-500);color:var(--color-white)}.dss-badge--ideal-outlined{background-color:var(--color-green-50);border-color:var(--color-green-800);color:var(--color-green-800)}.dss-badge--info{background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)}.dss-badge--info-outlined{background-color:var(--color-blue-50);border-color:var(--color-blue-800);color:var(--color-blue-800)}.dss-badge--info-alt{background-color:var(--color-purple-500);border-color:var(--color-purple-500);color:var(--color-white)}.dss-badge--info-alt-outlined{background-color:var(--color-purple-50);border-color:var(--color-purple-800);color:var(--color-purple-800)}.dss-badge--neutral{background-color:var(--color-neutral-500);border-color:var(--color-neutral-500);color:var(--color-white)}.dss-badge--neutral-outlined{background-color:var(--color-neutral-50);border-color:var(--color-neutral-900);color:var(--color-neutral-900)}.dss-badge--disabled{cursor:not-allowed;border-color:var(--color-neutral-500);background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-badge--dot{display:inline-block;padding:0!important;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto;width:16px;height:16px}.dss-badge--dot>*{display:none;padding:0}.dss-badge--danger.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-low.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-high.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--moderate.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high.dss-badge--dot{border:0;box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;background-image:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--slight.dss-badge--dot,.dss-badge--slight-low.dss-badge--dot,.dss-badge--slight-high.dss-badge--dot{border-color:var(--color-yellow-900)}.dss-badge--correct.dss-badge--dot{border-color:var(--color-green-900)}.dss-badge--undeterminated.dss-badge--dot{border-color:var(--color-neutral-900)}`,x=":host{display:inline-flex;width:auto}.dss-badge{width:auto;height:-moz-fit-content;height:fit-content;display:flex;align-items:center;justify-content:center;font-weight:var(--font-semibold);font-size:12px;line-height:16px;border:var(--dss-border-width-sm) solid var(--color-neutral-500);gap:var(--dss-spacing-xs)}.dss-badge--dot{display:inline-block;padding:0;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto}.dss-badge--dot>*{display:none;padding:0}.dss-badge--sm{border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-tiny) var(--dss-spacing-xs)}.dss-badge--md{border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-xxs) var(--dss-spacing-xs)}.dss-badge--lg{font-size:14px;line-height:24px;border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-badge--xl{font-size:16px;line-height:24px;border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-xs) var(--dss-spacing-sm)}",b=w`dss-icon${_(p())}`,k=r=>{const o={"dss-badge":!0,[`dss-badge--${r._size}`]:!!r._size,[`dss-badge--${r._state}`]:!!r._state&&!r._outlined,[`dss-badge--${r._state}-outlined`]:!!r._state&&!r._outlined,"dss-badge--danger":r._state==="danger","dss-badge--danger-low":r._state==="danger-low","dss-badge--danger-high":r._state==="danger-high","dss-badge--moderate":r._state==="moderate","dss-badge--moderate-low":r._state==="moderate-low","dss-badge--moderate-high":r._state==="moderate-high","dss-badge--slight":r._state==="slight","dss-badge--slight-low":r._state==="slight-low","dss-badge--slight-high":r._state==="slight-high","dss-badge--correct":r._state==="correct","dss-badge--undeterminated":r._state==="undeterminated","dss-badge--critic":r._state==="critic"&&!r._outlined,"dss-badge--critic-outlined":r._state==="critic"&&r._outlined,"dss-badge--alert":r._state==="alert"&&!r._outlined,"dss-badge--alert-outlined":r._state==="alert"&&r._outlined,"dss-badge--ideal":r._state==="ideal"&&!r._outlined,"dss-badge--ideal-outlined":r._state==="ideal"&&r._outlined,"dss-badge--info":r._state==="info"&&!r._outlined,"dss-badge--info-outlined":r._state==="info"&&r._outlined,"dss-badge--info-alt":r._state==="info-alt"&&!r._outlined,"dss-badge--info-alt-outlined":r._state==="info-alt"&&r._outlined,"dss-badge--neutral":r._state==="neutral"&&!r._outlined,"dss-badge--neutral-outlined":r._state==="neutral"&&r._outlined,"dss-badge--disabled":r._disabled,"dss-badge--dot":r._dot};return n` -
- ${!r._hideIcon&&r._size!=="sm"?n` - <${b} icon="${r._icon}" size="${r._iconSize}"> - `:null} - ${r._text} -
- - `};var m=Object.defineProperty,y=Object.getOwnPropertyDescriptor,d=(r,o,e,L)=>{for(var t=y(o,e),i=r.length-1,c;i>=0;i--)(c=r[i])&&(t=c(o,e,t)||t);return t&&m(o,e,t),t};class a extends h{constructor(){super(...arguments),this._icon="warning",this._iconSize="sm",this._size="sm",this._text="",this._state="",this._disabled=!1,this._isIconDefined=!1,this._outlined=!1,this._dot=!1,this._hideIcon=!1}static get styles(){return[g(u),g(x),g(f)]}get _tooltip(){var e;const o=((e=this.shadowRoot)==null?void 0:e.querySelector('slot[name="tooltip"]'))||void 0;return this.requestUpdate(),o==null?void 0:o.assignedElements()[0]}set icon(o){const e=this._icon;this._icon=o,this._isIconDefined=!0,this.requestUpdate("icon",e)}set size(o){const e=this._size;this._size=o,o==="xl"?this._iconSize="md":this._iconSize="sm",this.requestUpdate("size",e)}set text(o){const e=this._text;this._text=o,this.requestUpdate("text",e)}set state(o){const e=this._state;this._state=o,o&&!this._isIconDefined&&(o.includes("danger")?this._icon="warning":o.includes("moderate")?this._icon="emergency_home":o.includes("slight")?this._icon="error":o.includes("correct")?this._icon="check_circle":o.includes("undeterminated")?this._icon="circle":o.includes("critic")?this._icon="cancel":o.includes("alert")?this._icon="report":o.includes("ideal")?this._icon="check_circle":o.includes("info")?this._icon="info":o.includes("neutral")&&(this._icon="circle")),this.requestUpdate("state",e)}set disabled(o){const e=this._disabled;this._disabled=o,this.requestUpdate("disabled",e)}set outlined(o){const e=this._outlined;this._outlined=o,this.requestUpdate("outlined",e)}set dot(o){const e=this._dot;this._dot=o,this.requestUpdate("dot",e)}set hideIcon(o){const e=this._hideIcon;this._hideIcon=o,this.requestUpdate("hideIcon",e)}async firstUpdated(){await this.updateComplete,this._tooltip&&setTimeout(()=>{this._tooltip.updateTooltip()},200)}render(){return k(this)}}d([s({type:String})],a.prototype,"icon");d([s({type:String})],a.prototype,"size");d([s({type:String})],a.prototype,"text");d([s({type:String})],a.prototype,"state");d([s(l)],a.prototype,"disabled");d([s(l)],a.prototype,"outlined");d([s(l)],a.prototype,"dot");d([s(l)],a.prototype,"hideIcon");export{a as B,f as b}; diff --git a/rc/assets/badge.doc-BFwAcIa5.js b/rc/assets/badge.doc-BFwAcIa5.js deleted file mode 100644 index 1e1786b..0000000 --- a/rc/assets/badge.doc-BFwAcIa5.js +++ /dev/null @@ -1,93 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-DT4NliRH.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./badge-Bk6SotTl.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - dss-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un -Badge pot incloure etiquetes o números. L’amplada mínima serà de 40px.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component. Pot ser: sm, md, lg o xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["text",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostrarà dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["state",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"dot"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Activa la vista alternativa del componente."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hideIcon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Oculta el icono mostrado por defecto."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitat",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg )."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx("h5",{children:"Criticitat: Molt Greu"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Criticitat: Greu"}),` -`,e.jsx(t,{of:f}),` -`,e.jsx("h5",{children:"Criticitat: Greu Lleu"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Criticitat: Moderat Greu"}),` -`,e.jsx(t,{of:g}),` -`,e.jsx("h5",{children:"Criticitat: Moderat"}),` -`,e.jsx(t,{of:b}),` -`,e.jsx("h5",{children:"Criticitat: Moderat lleu"}),` -`,e.jsx(t,{of:C}),` -`,e.jsx("h5",{children:"Criticitat: Lleu moderat"}),` -`,e.jsx(t,{of:I}),` -`,e.jsx("h5",{children:"Criticitat: Lleu"}),` -`,e.jsx(t,{of:M}),` -`,e.jsx("h5",{children:"Criticitat: Poc"}),` -`,e.jsx(t,{of:v}),` -`,e.jsx("h5",{children:"Criticitat: Correcte"}),` -`,e.jsx(t,{of:A}),` -`,e.jsx("h5",{children:"Criticitat: No determinat"}),` -`,e.jsx(t,{of:D}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx("h5",{children:"Informació: Ideal"}),` -`,e.jsx(t,{of:q}),` -`,e.jsx("h5",{children:"Informació: Critic"}),` -`,e.jsx(t,{of:y}),` -`,e.jsx("h5",{children:"Informació: Alert"}),` -`,e.jsx(t,{of:S}),` -`,e.jsx("h5",{children:"Informació: Info"}),` -`,e.jsx(t,{of:L}),` -`,e.jsx("h5",{children:"Informació: Info Alt"}),` -`,e.jsx(t,{of:w}),` -`,e.jsx("h5",{children:"Informació: Neutral"}),` -`,e.jsx(t,{of:P}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.12.4"})}),e.jsx(i.td,{children:"S'ha afegit la mida xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.5.0"})}),e.jsx(i.td,{children:"S'ha corregit un error pel qual la propietat text no incloïa el text dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"S'ha creat una nova versió del badge on passa a ser un Web Component, això permet la possibilitat de poder incloure un tooltip. Es mantè el component simple actual per tal d'evitar problemes en les aplicacions ja desenvolupades."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.1.5"})}),e.jsxs(i.td,{children:["S’han afegit nous estats per al component Badge, incloent-hi tots els relacionats amb indicadors de criticitat i informació:",e.jsx("br",{}),e.jsx(i.strong,{children:"Criticitat"}),": molt greu, greu, greu lleu, moderat greu, moderat, moderat lleu, lleu moderat, lleu, lleu poc, correcte, no determinat.",e.jsx("br",{}),e.jsx(i.strong,{children:"Informatiu"}),": ideal, crític, alerta, info, info alt, neutral."]})]})]})]})]})}function J(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{J as default}; diff --git a/rc/assets/badge.doc-BPSkUhqa.js b/rc/assets/badge.doc-BPSkUhqa.js deleted file mode 100644 index cec99bc..0000000 --- a/rc/assets/badge.doc-BPSkUhqa.js +++ /dev/null @@ -1,93 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-D4WDg7Ck.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./badge-B2-WdLcZ.js";import"./property-CzN8u98o.js";import"./icon.style-BFmaJcLw.js";import"./property-types-CkH-zh1n.js";import"./static-DLZyqU8Z.js";import"./class-map-2iHk_WiG.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - dss-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un -Badge pot incloure etiquetes o números. L’amplada mínima serà de 40px.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component. Pot ser: sm, md, lg o xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["text",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostrarà dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["state",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"dot"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Activa la vista alternativa del componente."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hideIcon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Oculta el icono mostrado por defecto."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitat",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg )."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx("h5",{children:"Criticitat: Molt Greu"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Criticitat: Greu"}),` -`,e.jsx(t,{of:f}),` -`,e.jsx("h5",{children:"Criticitat: Greu Lleu"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Criticitat: Moderat Greu"}),` -`,e.jsx(t,{of:g}),` -`,e.jsx("h5",{children:"Criticitat: Moderat"}),` -`,e.jsx(t,{of:b}),` -`,e.jsx("h5",{children:"Criticitat: Moderat lleu"}),` -`,e.jsx(t,{of:C}),` -`,e.jsx("h5",{children:"Criticitat: Lleu moderat"}),` -`,e.jsx(t,{of:I}),` -`,e.jsx("h5",{children:"Criticitat: Lleu"}),` -`,e.jsx(t,{of:M}),` -`,e.jsx("h5",{children:"Criticitat: Poc"}),` -`,e.jsx(t,{of:v}),` -`,e.jsx("h5",{children:"Criticitat: Correcte"}),` -`,e.jsx(t,{of:A}),` -`,e.jsx("h5",{children:"Criticitat: No determinat"}),` -`,e.jsx(t,{of:D}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx("h5",{children:"Informació: Ideal"}),` -`,e.jsx(t,{of:q}),` -`,e.jsx("h5",{children:"Informació: Critic"}),` -`,e.jsx(t,{of:y}),` -`,e.jsx("h5",{children:"Informació: Alert"}),` -`,e.jsx(t,{of:S}),` -`,e.jsx("h5",{children:"Informació: Info"}),` -`,e.jsx(t,{of:L}),` -`,e.jsx("h5",{children:"Informació: Info Alt"}),` -`,e.jsx(t,{of:w}),` -`,e.jsx("h5",{children:"Informació: Neutral"}),` -`,e.jsx(t,{of:P}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.12.4"})}),e.jsx(i.td,{children:"S'ha afegit la mida xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.5.0"})}),e.jsx(i.td,{children:"S'ha corregit un error pel qual la propietat text no incloïa el text dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"S'ha creat una nova versió del badge on passa a ser un Web Component, això permet la possibilitat de poder incloure un tooltip. Es mantè el component simple actual per tal d'evitar problemes en les aplicacions ja desenvolupades."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.1.5"})}),e.jsxs(i.td,{children:["S’han afegit nous estats per al component Badge, incloent-hi tots els relacionats amb indicadors de criticitat i informació:",e.jsx("br",{}),e.jsx(i.strong,{children:"Criticitat"}),": molt greu, greu, greu lleu, moderat greu, moderat, moderat lleu, lleu moderat, lleu, lleu poc, correcte, no determinat.",e.jsx("br",{}),e.jsx(i.strong,{children:"Informatiu"}),": ideal, crític, alerta, info, info alt, neutral."]})]})]})]})]})}function Z(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{Z as default}; diff --git a/rc/assets/badge.doc-CKMfHzkd.js b/rc/assets/badge.doc-CKMfHzkd.js deleted file mode 100644 index 9ea5ae9..0000000 --- a/rc/assets/badge.doc-CKMfHzkd.js +++ /dev/null @@ -1,93 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-DT4NliRH.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./badge-Bk6SotTl.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - dss-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un -Badge pot incloure etiquetes o números. L’amplada mínima serà de 40px.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component. Pot ser: sm, md, lg o xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["text",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostrarà dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["state",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"dot"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Activa la vista alternativa del componente."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hideIcon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Oculta el icono mostrado por defecto."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitat",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg )."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx("h5",{children:"Criticitat: Molt Greu"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Criticitat: Greu"}),` -`,e.jsx(t,{of:f}),` -`,e.jsx("h5",{children:"Criticitat: Greu Lleu"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Criticitat: Moderat Greu"}),` -`,e.jsx(t,{of:g}),` -`,e.jsx("h5",{children:"Criticitat: Moderat"}),` -`,e.jsx(t,{of:b}),` -`,e.jsx("h5",{children:"Criticitat: Moderat lleu"}),` -`,e.jsx(t,{of:C}),` -`,e.jsx("h5",{children:"Criticitat: Lleu moderat"}),` -`,e.jsx(t,{of:I}),` -`,e.jsx("h5",{children:"Criticitat: Lleu"}),` -`,e.jsx(t,{of:M}),` -`,e.jsx("h5",{children:"Criticitat: Poc"}),` -`,e.jsx(t,{of:v}),` -`,e.jsx("h5",{children:"Criticitat: Correcte"}),` -`,e.jsx(t,{of:A}),` -`,e.jsx("h5",{children:"Criticitat: No determinat"}),` -`,e.jsx(t,{of:D}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx("h5",{children:"Informació: Ideal"}),` -`,e.jsx(t,{of:q}),` -`,e.jsx("h5",{children:"Informació: Critic"}),` -`,e.jsx(t,{of:y}),` -`,e.jsx("h5",{children:"Informació: Alert"}),` -`,e.jsx(t,{of:S}),` -`,e.jsx("h5",{children:"Informació: Info"}),` -`,e.jsx(t,{of:L}),` -`,e.jsx("h5",{children:"Informació: Info Alt"}),` -`,e.jsx(t,{of:w}),` -`,e.jsx("h5",{children:"Informació: Neutral"}),` -`,e.jsx(t,{of:P}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.12.4"})}),e.jsx(i.td,{children:"S'ha afegit la mida xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.5.0"})}),e.jsx(i.td,{children:"S'ha corregit un error pel qual la propietat text no incloïa el text dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"S'ha creat una nova versió del badge on passa a ser un Web Component, això permet la possibilitat de poder incloure un tooltip. Es mantè el component simple actual per tal d'evitar problemes en les aplicacions ja desenvolupades."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.1.5"})}),e.jsxs(i.td,{children:["S’han afegit nous estats per al component Badge, incloent-hi tots els relacionats amb indicadors de criticitat i informació:",e.jsx("br",{}),e.jsx(i.strong,{children:"Criticitat"}),": molt greu, greu, greu lleu, moderat greu, moderat, moderat lleu, lleu moderat, lleu, lleu poc, correcte, no determinat.",e.jsx("br",{}),e.jsx(i.strong,{children:"Informatiu"}),": ideal, crític, alerta, info, info alt, neutral."]})]})]})]})]})}function J(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{J as default}; diff --git a/rc/assets/badge.doc-DXunrNWQ.js b/rc/assets/badge.doc-D5NFTOUR.js similarity index 98% rename from rc/assets/badge.doc-DXunrNWQ.js rename to rc/assets/badge.doc-D5NFTOUR.js index 41dd472..df0c6b3 100644 --- a/rc/assets/badge.doc-DXunrNWQ.js +++ b/rc/assets/badge.doc-D5NFTOUR.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-DT4NliRH.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./badge-Bk6SotTl.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-DT4NliRH.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./badge-Bk6SotTl.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { flex-direction: row; align-items: center; diff --git a/rc/assets/badge.doc-D8LqLHZn.js b/rc/assets/badge.doc-D8LqLHZn.js deleted file mode 100644 index 88a8d6a..0000000 --- a/rc/assets/badge.doc-D8LqLHZn.js +++ /dev/null @@ -1,93 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as h,a as o,D as x,T as j,I as m,b as p,c as f,d as u,M as g,e as b,f as C,g as I,h as M,i as v,C as A,U as D,j as q,k as y,A as S,l as L,m as w,N as P}from"./badge.stories-w11TmSPA.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./badge-yWdXoMyt.js";import"./property-CzN8u98o.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";import"./custom-element-scope-KJWplpvx.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - dss-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un -Badge pot incloure etiquetes o números. L’amplada mínima serà de 40px.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component. Pot ser: sm, md, lg o xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["text",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostrarà dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["state",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"dot"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Activa la vista alternativa del componente."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hideIcon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Oculta el icono mostrado por defecto."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitat",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg )."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx("h5",{children:"Criticitat: Molt Greu"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Criticitat: Greu"}),` -`,e.jsx(t,{of:f}),` -`,e.jsx("h5",{children:"Criticitat: Greu Lleu"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Criticitat: Moderat Greu"}),` -`,e.jsx(t,{of:g}),` -`,e.jsx("h5",{children:"Criticitat: Moderat"}),` -`,e.jsx(t,{of:b}),` -`,e.jsx("h5",{children:"Criticitat: Moderat lleu"}),` -`,e.jsx(t,{of:C}),` -`,e.jsx("h5",{children:"Criticitat: Lleu moderat"}),` -`,e.jsx(t,{of:I}),` -`,e.jsx("h5",{children:"Criticitat: Lleu"}),` -`,e.jsx(t,{of:M}),` -`,e.jsx("h5",{children:"Criticitat: Poc"}),` -`,e.jsx(t,{of:v}),` -`,e.jsx("h5",{children:"Criticitat: Correcte"}),` -`,e.jsx(t,{of:A}),` -`,e.jsx("h5",{children:"Criticitat: No determinat"}),` -`,e.jsx(t,{of:D}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx("h5",{children:"Informació: Ideal"}),` -`,e.jsx(t,{of:q}),` -`,e.jsx("h5",{children:"Informació: Critic"}),` -`,e.jsx(t,{of:y}),` -`,e.jsx("h5",{children:"Informació: Alert"}),` -`,e.jsx(t,{of:S}),` -`,e.jsx("h5",{children:"Informació: Info"}),` -`,e.jsx(t,{of:L}),` -`,e.jsx("h5",{children:"Informació: Info Alt"}),` -`,e.jsx(t,{of:w}),` -`,e.jsx("h5",{children:"Informació: Neutral"}),` -`,e.jsx(t,{of:P}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.12.4"})}),e.jsx(i.td,{children:"S'ha afegit la mida xl."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.5.0"})}),e.jsx(i.td,{children:"S'ha corregit un error pel qual la propietat text no incloïa el text dins del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"S'ha creat una nova versió del badge on passa a ser un Web Component, això permet la possibilitat de poder incloure un tooltip. Es mantè el component simple actual per tal d'evitar problemes en les aplicacions ja desenvolupades."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.1.5"})}),e.jsxs(i.td,{children:["S’han afegit nous estats per al component Badge, incloent-hi tots els relacionats amb indicadors de criticitat i informació:",e.jsx("br",{}),e.jsx(i.strong,{children:"Criticitat"}),": molt greu, greu, greu lleu, moderat greu, moderat, moderat lleu, lleu moderat, lleu, lleu poc, correcte, no determinat.",e.jsx("br",{}),e.jsx(i.strong,{children:"Informatiu"}),": ideal, crític, alerta, info, info alt, neutral."]})]})]})]})]})}function Z(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{Z as default}; diff --git a/rc/assets/badge.stories-D4WDg7Ck.js b/rc/assets/badge.stories-D4WDg7Ck.js deleted file mode 100644 index d65883a..0000000 --- a/rc/assets/badge.stories-D4WDg7Ck.js +++ /dev/null @@ -1,490 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./badge-B2-WdLcZ.js";const Oe={title:"Components/Badge",argTypes:{size:{name:"Size",control:{type:"radio"},options:["sm","md","lg","xl"]},showIcon:{name:" Modify icon",control:{type:"boolean"}},icon:{name:"Icon",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},text:{name:"Text",control:{type:"text"}},state:{name:"State",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"]},disabled:{name:"Disabled",control:{type:"boolean"}},outlined:{name:"Outlined (Només informació)",control:{type:"boolean"}},hideIcon:{name:"Hide Icon",control:{type:"boolean"}},showTooltip:{name:"Amb tooltip",control:{type:"boolean"}},tooltipPosition:{name:"Posición tooltip",control:{type:"radio"},options:["top","right","bottom","left"],if:{arg:"showTooltip",truthy:!0}}},parameters:{layout:"centered"}},t={args:{size:"lg",showIcon:!1,text:"12345",icon:"person",state:"danger-high",disabled:!1,outlined:!1,hideIcon:!1,showTooltip:!1,tooltipPosition:"top"},render:e=>s` - ${e.showTooltip?e.showIcon?s` - - - Indicar info - - - `:s` - - - Indicar info - - - `:e.showIcon?s` - - - `:s` - - - `} - `},d={tags:["!dev"],render:()=>s` -
- - - - -
- `},a={tags:["!dev"],render:()=>s` - - `},i={tags:["!dev"],render:()=>s` - - - Indicar info - - - `},n={tags:["!dev"],render:()=>s` - - - Indicar info - - - `},r={tags:["!dev"],render:()=>s` -
- - - - -
- `},g={tags:["!dev"],render:()=>s` -
- - - - -
- `},o={tags:["!dev"],render:()=>s` -
- - - - -
- `},l={tags:["!dev"],render:()=>s` -
- - - - -
- `},b={tags:["!dev"],render:()=>s` -
- - - - -
- `},c={tags:["!dev"],render:()=>s` -
- - - - -
- `},m={tags:["!dev"],render:()=>s` -
- - - - -
- `},p={tags:["!dev"],render:()=>s` -
- - - - -
- `},x={tags:["!dev"],render:()=>s` -
- - - - -
- `},z={tags:["!dev"],render:()=>s` -
- - - - -
- `},u={tags:["!dev"],render:()=>s` -
- - - - -
- `},h={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},v={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},w={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},f={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},$={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},I={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `};var S,y,P;t.parameters={...t.parameters,docs:{...(S=t.parameters)==null?void 0:S.docs,source:{originalSource:`{ - args: { - size: 'lg', - showIcon: false, - text: '12345', - icon: 'person', - state: 'danger-high', - disabled: false, - outlined: false, - hideIcon: false, - showTooltip: false, - tooltipPosition: 'top' - }, - render: (args: any) => { - return html\` - \${args.showTooltip ? args.showIcon ? html\` - - - Indicar info - - - \` : html\` - - - Indicar info - - - \` : args.showIcon ? html\` - - - \` : html\` - - - \`} - \`; - } -}`,...(P=(y=t.parameters)==null?void 0:y.docs)==null?void 0:P.source}}};var T,D,M;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(M=(D=d.parameters)==null?void 0:D.docs)==null?void 0:M.source}}};var H,_,A;a.parameters={...a.parameters,docs:{...(H=a.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(A=(_=a.parameters)==null?void 0:_.docs)==null?void 0:A.source}}};var C,L,N;i.parameters={...i.parameters,docs:{...(C=i.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(N=(L=i.parameters)==null?void 0:L.docs)==null?void 0:N.source}}};var O,j,U;n.parameters={...n.parameters,docs:{...(O=n.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(U=(j=n.parameters)==null?void 0:j.docs)==null?void 0:U.source}}};var k,B,E;r.parameters={...r.parameters,docs:{...(k=r.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(E=(B=r.parameters)==null?void 0:B.docs)==null?void 0:E.source}}};var q,F,G;g.parameters={...g.parameters,docs:{...(q=g.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(G=(F=g.parameters)==null?void 0:F.docs)==null?void 0:G.source}}};var J,K,Q;o.parameters={...o.parameters,docs:{...(J=o.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(Q=(K=o.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var R,V,W;l.parameters={...l.parameters,docs:{...(R=l.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(W=(V=l.parameters)==null?void 0:V.docs)==null?void 0:W.source}}};var X,Y,Z;b.parameters={...b.parameters,docs:{...(X=b.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(Z=(Y=b.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var ee,se,te;c.parameters={...c.parameters,docs:{...(ee=c.parameters)==null?void 0:ee.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(te=(se=c.parameters)==null?void 0:se.docs)==null?void 0:te.source}}};var de,ae,ie;m.parameters={...m.parameters,docs:{...(de=m.parameters)==null?void 0:de.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ie=(ae=m.parameters)==null?void 0:ae.docs)==null?void 0:ie.source}}};var ne,re,ge;p.parameters={...p.parameters,docs:{...(ne=p.parameters)==null?void 0:ne.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ge=(re=p.parameters)==null?void 0:re.docs)==null?void 0:ge.source}}};var oe,le,be;x.parameters={...x.parameters,docs:{...(oe=x.parameters)==null?void 0:oe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(be=(le=x.parameters)==null?void 0:le.docs)==null?void 0:be.source}}};var ce,me,pe;z.parameters={...z.parameters,docs:{...(ce=z.parameters)==null?void 0:ce.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(pe=(me=z.parameters)==null?void 0:me.docs)==null?void 0:pe.source}}};var xe,ze,ue;u.parameters={...u.parameters,docs:{...(xe=u.parameters)==null?void 0:xe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ue=(ze=u.parameters)==null?void 0:ze.docs)==null?void 0:ue.source}}};var he,ve,we;h.parameters={...h.parameters,docs:{...(he=h.parameters)==null?void 0:he.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(we=(ve=h.parameters)==null?void 0:ve.docs)==null?void 0:we.source}}};var fe,$e,Ie;v.parameters={...v.parameters,docs:{...(fe=v.parameters)==null?void 0:fe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ie=($e=v.parameters)==null?void 0:$e.docs)==null?void 0:Ie.source}}};var Se,ye,Pe;w.parameters={...w.parameters,docs:{...(Se=w.parameters)==null?void 0:Se.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Pe=(ye=w.parameters)==null?void 0:ye.docs)==null?void 0:Pe.source}}};var Te,De,Me;f.parameters={...f.parameters,docs:{...(Te=f.parameters)==null?void 0:Te.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Me=(De=f.parameters)==null?void 0:De.docs)==null?void 0:Me.source}}};var He,_e,Ae;$.parameters={...$.parameters,docs:{...(He=$.parameters)==null?void 0:He.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ae=(_e=$.parameters)==null?void 0:_e.docs)==null?void 0:Ae.source}}};var Ce,Le,Ne;I.parameters={...I.parameters,docs:{...(Ce=I.parameters)==null?void 0:Ce.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ne=(Le=I.parameters)==null?void 0:Le.docs)==null?void 0:Ne.source}}};const je=["Playground","Sizes","Disabled","Tooltip","Icon","DangerHigh","Danger","DangerLow","ModerateHigh","Moderate","ModerateLow","SlightHigh","Slight","SlightLow","Correct","Undeterminated","Ideal","Critic","Alert","Info","InfoAlt","Neutral"],Ee=Object.freeze(Object.defineProperty({__proto__:null,Alert:w,Correct:z,Critic:v,Danger:g,DangerHigh:r,DangerLow:o,Disabled:a,Icon:n,Ideal:h,Info:f,InfoAlt:$,Moderate:b,ModerateHigh:l,ModerateLow:c,Neutral:I,Playground:t,Sizes:d,Slight:p,SlightHigh:m,SlightLow:x,Tooltip:i,Undeterminated:u,__namedExportsOrder:je,default:Oe},Symbol.toStringTag,{value:"Module"}));export{w as A,z as C,a as D,n as I,l as M,I as N,t as P,Ee as S,i as T,u as U,d as a,r as b,g as c,o as d,b as e,c as f,m as g,p as h,x as i,h as j,v as k,f as l,$ as m}; diff --git a/rc/assets/badge.stories-w11TmSPA.js b/rc/assets/badge.stories-w11TmSPA.js deleted file mode 100644 index edaeffa..0000000 --- a/rc/assets/badge.stories-w11TmSPA.js +++ /dev/null @@ -1,490 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./badge-yWdXoMyt.js";const Oe={title:"Components/Badge",argTypes:{size:{name:"Size",control:{type:"radio"},options:["sm","md","lg","xl"]},showIcon:{name:" Modify icon",control:{type:"boolean"}},icon:{name:"Icon",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},text:{name:"Text",control:{type:"text"}},state:{name:"State",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"]},disabled:{name:"Disabled",control:{type:"boolean"}},outlined:{name:"Outlined (Només informació)",control:{type:"boolean"}},hideIcon:{name:"Hide Icon",control:{type:"boolean"}},showTooltip:{name:"Amb tooltip",control:{type:"boolean"}},tooltipPosition:{name:"Posición tooltip",control:{type:"radio"},options:["top","right","bottom","left"],if:{arg:"showTooltip",truthy:!0}}},parameters:{layout:"centered"}},t={args:{size:"lg",showIcon:!1,text:"12345",icon:"person",state:"danger-high",disabled:!1,outlined:!1,hideIcon:!1,showTooltip:!1,tooltipPosition:"top"},render:e=>s` - ${e.showTooltip?e.showIcon?s` - - - Indicar info - - - `:s` - - - Indicar info - - - `:e.showIcon?s` - - - `:s` - - - `} - `},d={tags:["!dev"],render:()=>s` -
- - - - -
- `},a={tags:["!dev"],render:()=>s` - - `},i={tags:["!dev"],render:()=>s` - - - Indicar info - - - `},n={tags:["!dev"],render:()=>s` - - - Indicar info - - - `},r={tags:["!dev"],render:()=>s` -
- - - - -
- `},g={tags:["!dev"],render:()=>s` -
- - - - -
- `},o={tags:["!dev"],render:()=>s` -
- - - - -
- `},l={tags:["!dev"],render:()=>s` -
- - - - -
- `},b={tags:["!dev"],render:()=>s` -
- - - - -
- `},c={tags:["!dev"],render:()=>s` -
- - - - -
- `},m={tags:["!dev"],render:()=>s` -
- - - - -
- `},p={tags:["!dev"],render:()=>s` -
- - - - -
- `},x={tags:["!dev"],render:()=>s` -
- - - - -
- `},z={tags:["!dev"],render:()=>s` -
- - - - -
- `},u={tags:["!dev"],render:()=>s` -
- - - - -
- `},h={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},v={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},w={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},f={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},$={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},I={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `};var S,y,P;t.parameters={...t.parameters,docs:{...(S=t.parameters)==null?void 0:S.docs,source:{originalSource:`{ - args: { - size: 'lg', - showIcon: false, - text: '12345', - icon: 'person', - state: 'danger-high', - disabled: false, - outlined: false, - hideIcon: false, - showTooltip: false, - tooltipPosition: 'top' - }, - render: (args: any) => { - return html\` - \${args.showTooltip ? args.showIcon ? html\` - - - Indicar info - - - \` : html\` - - - Indicar info - - - \` : args.showIcon ? html\` - - - \` : html\` - - - \`} - \`; - } -}`,...(P=(y=t.parameters)==null?void 0:y.docs)==null?void 0:P.source}}};var T,D,M;d.parameters={...d.parameters,docs:{...(T=d.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(M=(D=d.parameters)==null?void 0:D.docs)==null?void 0:M.source}}};var H,_,A;a.parameters={...a.parameters,docs:{...(H=a.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(A=(_=a.parameters)==null?void 0:_.docs)==null?void 0:A.source}}};var C,L,N;i.parameters={...i.parameters,docs:{...(C=i.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(N=(L=i.parameters)==null?void 0:L.docs)==null?void 0:N.source}}};var O,j,U;n.parameters={...n.parameters,docs:{...(O=n.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(U=(j=n.parameters)==null?void 0:j.docs)==null?void 0:U.source}}};var k,B,E;r.parameters={...r.parameters,docs:{...(k=r.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(E=(B=r.parameters)==null?void 0:B.docs)==null?void 0:E.source}}};var q,F,G;g.parameters={...g.parameters,docs:{...(q=g.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(G=(F=g.parameters)==null?void 0:F.docs)==null?void 0:G.source}}};var J,K,Q;o.parameters={...o.parameters,docs:{...(J=o.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(Q=(K=o.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var R,V,W;l.parameters={...l.parameters,docs:{...(R=l.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(W=(V=l.parameters)==null?void 0:V.docs)==null?void 0:W.source}}};var X,Y,Z;b.parameters={...b.parameters,docs:{...(X=b.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(Z=(Y=b.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var ee,se,te;c.parameters={...c.parameters,docs:{...(ee=c.parameters)==null?void 0:ee.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(te=(se=c.parameters)==null?void 0:se.docs)==null?void 0:te.source}}};var de,ae,ie;m.parameters={...m.parameters,docs:{...(de=m.parameters)==null?void 0:de.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ie=(ae=m.parameters)==null?void 0:ae.docs)==null?void 0:ie.source}}};var ne,re,ge;p.parameters={...p.parameters,docs:{...(ne=p.parameters)==null?void 0:ne.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ge=(re=p.parameters)==null?void 0:re.docs)==null?void 0:ge.source}}};var oe,le,be;x.parameters={...x.parameters,docs:{...(oe=x.parameters)==null?void 0:oe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(be=(le=x.parameters)==null?void 0:le.docs)==null?void 0:be.source}}};var ce,me,pe;z.parameters={...z.parameters,docs:{...(ce=z.parameters)==null?void 0:ce.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(pe=(me=z.parameters)==null?void 0:me.docs)==null?void 0:pe.source}}};var xe,ze,ue;u.parameters={...u.parameters,docs:{...(xe=u.parameters)==null?void 0:xe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(ue=(ze=u.parameters)==null?void 0:ze.docs)==null?void 0:ue.source}}};var he,ve,we;h.parameters={...h.parameters,docs:{...(he=h.parameters)==null?void 0:he.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(we=(ve=h.parameters)==null?void 0:ve.docs)==null?void 0:we.source}}};var fe,$e,Ie;v.parameters={...v.parameters,docs:{...(fe=v.parameters)==null?void 0:fe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ie=($e=v.parameters)==null?void 0:$e.docs)==null?void 0:Ie.source}}};var Se,ye,Pe;w.parameters={...w.parameters,docs:{...(Se=w.parameters)==null?void 0:Se.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Pe=(ye=w.parameters)==null?void 0:ye.docs)==null?void 0:Pe.source}}};var Te,De,Me;f.parameters={...f.parameters,docs:{...(Te=f.parameters)==null?void 0:Te.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Me=(De=f.parameters)==null?void 0:De.docs)==null?void 0:Me.source}}};var He,_e,Ae;$.parameters={...$.parameters,docs:{...(He=$.parameters)==null?void 0:He.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ae=(_e=$.parameters)==null?void 0:_e.docs)==null?void 0:Ae.source}}};var Ce,Le,Ne;I.parameters={...I.parameters,docs:{...(Ce=I.parameters)==null?void 0:Ce.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(Ne=(Le=I.parameters)==null?void 0:Le.docs)==null?void 0:Ne.source}}};const je=["Playground","Sizes","Disabled","Tooltip","Icon","DangerHigh","Danger","DangerLow","ModerateHigh","Moderate","ModerateLow","SlightHigh","Slight","SlightLow","Correct","Undeterminated","Ideal","Critic","Alert","Info","InfoAlt","Neutral"],Ee=Object.freeze(Object.defineProperty({__proto__:null,Alert:w,Correct:z,Critic:v,Danger:g,DangerHigh:r,DangerLow:o,Disabled:a,Icon:n,Ideal:h,Info:f,InfoAlt:$,Moderate:b,ModerateHigh:l,ModerateLow:c,Neutral:I,Playground:t,Sizes:d,Slight:p,SlightHigh:m,SlightLow:x,Tooltip:i,Undeterminated:u,__namedExportsOrder:je,default:Oe},Symbol.toStringTag,{value:"Module"}));export{w as A,z as C,a as D,n as I,l as M,I as N,t as P,Ee as S,i as T,u as U,d as a,r as b,g as c,o as d,b as e,c as f,m as g,p as h,x as i,h as j,v as k,f as l,$ as m}; diff --git a/rc/assets/borders.doc-B-sGl0hz.js b/rc/assets/borders.doc-B-sGl0hz.js deleted file mode 100644 index ffd6a07..0000000 --- a/rc/assets/borders.doc-B-sGl0hz.js +++ /dev/null @@ -1,53 +0,0 @@ -import{ae as r,af as t}from"./index-CcF9BsMG.js";import{u as e}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` - .box { - width: 60px; - height: 40px; - background-color: var(--color-primary-300); - } - .width-sm { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-sm) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-md { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-md) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-lg { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-lg) solid var(--color-primary-500); - background-color: var(--color-white); - } - .radius-xs { - border-radius: var(--dss-radius-xs); - } - .radius-sm { - border-radius: var(--dss-radius-sm); - } - .radius-md { - border-radius: var(--dss-radius-md); - } - .radius-lg { - border-radius: var(--dss-radius-lg); - } - .radius-xl { - border-radius: var(--dss-radius-xl); - } - .radius-full { - width: 40px; - height: 40px; - border-radius: var(--dss-radius-full); - } - `}),` -`,r.jsx(t,{title:"Foundations/Borders",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,r.jsx(d.h1,{id:"borders",children:"Borders"}),` -`,r.jsx(d.p,{children:"Per definir les propietats relacionades amb les vores d'un element utilitzeu les variables CSS definides a continuació."}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border: var(--dss-border-width-sm) solid var(--color-neutral-100);"})]}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border-radius: var(--dss-radius-xs);"})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-width",children:"Border width"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-sm"})}),r.jsx(d.td,{children:"1px"}),r.jsx(d.td,{children:"0.0625rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-md"})}),r.jsx(d.td,{children:"2px"}),r.jsx(d.td,{children:"0.125rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-lg"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-lg"})})]})]})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-radius",children:"Border Radius"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xs"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xs"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-sm"})}),r.jsx(d.td,{children:"8px"}),r.jsx(d.td,{children:"0.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-md"})}),r.jsx(d.td,{children:"12px"}),r.jsx(d.td,{children:"0.75rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-lg"})}),r.jsx(d.td,{children:"16px"}),r.jsx(d.td,{children:"1rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-lg"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xl"})}),r.jsx(d.td,{children:"24px"}),r.jsx(d.td,{children:"1.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xl"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-full"})}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-full"})})]})]})]})]})}function u(s={}){const{wrapper:d}={...e(),...s.components};return d?r.jsx(d,{...s,children:r.jsx(i,{...s})}):i(s)}export{u as default}; diff --git a/rc/assets/borders.doc-B7qd_j33.js b/rc/assets/borders.doc-CDrLWZCF.js similarity index 96% rename from rc/assets/borders.doc-B7qd_j33.js rename to rc/assets/borders.doc-CDrLWZCF.js index 65732c5..ae190c2 100644 --- a/rc/assets/borders.doc-B7qd_j33.js +++ b/rc/assets/borders.doc-CDrLWZCF.js @@ -1,4 +1,4 @@ -import{ae as r,af as t}from"./index-CQXi_Y6g.js";import{u as e}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` +import{ae as r,af as t}from"./index-CMvVeEhu.js";import{u as e}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` .box { width: 60px; height: 40px; diff --git a/rc/assets/borders.doc-COqFXff4.js b/rc/assets/borders.doc-COqFXff4.js deleted file mode 100644 index 3d1be92..0000000 --- a/rc/assets/borders.doc-COqFXff4.js +++ /dev/null @@ -1,53 +0,0 @@ -import{ae as r,af as t}from"./index-Dxx82nxn.js";import{u as e}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` - .box { - width: 60px; - height: 40px; - background-color: var(--color-primary-300); - } - .width-sm { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-sm) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-md { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-md) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-lg { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-lg) solid var(--color-primary-500); - background-color: var(--color-white); - } - .radius-xs { - border-radius: var(--dss-radius-xs); - } - .radius-sm { - border-radius: var(--dss-radius-sm); - } - .radius-md { - border-radius: var(--dss-radius-md); - } - .radius-lg { - border-radius: var(--dss-radius-lg); - } - .radius-xl { - border-radius: var(--dss-radius-xl); - } - .radius-full { - width: 40px; - height: 40px; - border-radius: var(--dss-radius-full); - } - `}),` -`,r.jsx(t,{title:"Foundations/Borders",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,r.jsx(d.h1,{id:"borders",children:"Borders"}),` -`,r.jsx(d.p,{children:"Per definir les propietats relacionades amb les vores d'un element utilitzeu les variables CSS definides a continuació."}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border: var(--dss-border-width-sm) solid var(--color-neutral-100);"})]}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border-radius: var(--dss-radius-xs);"})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-width",children:"Border width"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-sm"})}),r.jsx(d.td,{children:"1px"}),r.jsx(d.td,{children:"0.0625rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-md"})}),r.jsx(d.td,{children:"2px"}),r.jsx(d.td,{children:"0.125rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-lg"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-lg"})})]})]})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-radius",children:"Border Radius"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xs"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xs"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-sm"})}),r.jsx(d.td,{children:"8px"}),r.jsx(d.td,{children:"0.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-md"})}),r.jsx(d.td,{children:"12px"}),r.jsx(d.td,{children:"0.75rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-lg"})}),r.jsx(d.td,{children:"16px"}),r.jsx(d.td,{children:"1rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-lg"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xl"})}),r.jsx(d.td,{children:"24px"}),r.jsx(d.td,{children:"1.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xl"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-full"})}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-full"})})]})]})]})]})}function u(s={}){const{wrapper:d}={...e(),...s.components};return d?r.jsx(d,{...s,children:r.jsx(i,{...s})}):i(s)}export{u as default}; diff --git a/rc/assets/borders.doc-DejOwyAJ.js b/rc/assets/borders.doc-DejOwyAJ.js deleted file mode 100644 index f42c6d2..0000000 --- a/rc/assets/borders.doc-DejOwyAJ.js +++ /dev/null @@ -1,53 +0,0 @@ -import{ae as r,af as t}from"./index-D51CeFyD.js";import{u as e}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` - .box { - width: 60px; - height: 40px; - background-color: var(--color-primary-300); - } - .width-sm { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-sm) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-md { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-md) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-lg { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-lg) solid var(--color-primary-500); - background-color: var(--color-white); - } - .radius-xs { - border-radius: var(--dss-radius-xs); - } - .radius-sm { - border-radius: var(--dss-radius-sm); - } - .radius-md { - border-radius: var(--dss-radius-md); - } - .radius-lg { - border-radius: var(--dss-radius-lg); - } - .radius-xl { - border-radius: var(--dss-radius-xl); - } - .radius-full { - width: 40px; - height: 40px; - border-radius: var(--dss-radius-full); - } - `}),` -`,r.jsx(t,{title:"Foundations/Borders",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,r.jsx(d.h1,{id:"borders",children:"Borders"}),` -`,r.jsx(d.p,{children:"Per definir les propietats relacionades amb les vores d'un element utilitzeu les variables CSS definides a continuació."}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border: var(--dss-border-width-sm) solid var(--color-neutral-100);"})]}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border-radius: var(--dss-radius-xs);"})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-width",children:"Border width"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-sm"})}),r.jsx(d.td,{children:"1px"}),r.jsx(d.td,{children:"0.0625rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-md"})}),r.jsx(d.td,{children:"2px"}),r.jsx(d.td,{children:"0.125rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-lg"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-lg"})})]})]})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-radius",children:"Border Radius"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xs"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xs"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-sm"})}),r.jsx(d.td,{children:"8px"}),r.jsx(d.td,{children:"0.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-md"})}),r.jsx(d.td,{children:"12px"}),r.jsx(d.td,{children:"0.75rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-lg"})}),r.jsx(d.td,{children:"16px"}),r.jsx(d.td,{children:"1rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-lg"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xl"})}),r.jsx(d.td,{children:"24px"}),r.jsx(d.td,{children:"1.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xl"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-full"})}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-full"})})]})]})]})]})}function u(s={}){const{wrapper:d}={...e(),...s.components};return d?r.jsx(d,{...s,children:r.jsx(i,{...s})}):i(s)}export{u as default}; diff --git a/rc/assets/borders.doc-_E5zUQ76.js b/rc/assets/borders.doc-_E5zUQ76.js deleted file mode 100644 index 0c1fc13..0000000 --- a/rc/assets/borders.doc-_E5zUQ76.js +++ /dev/null @@ -1,53 +0,0 @@ -import{ae as r,af as t}from"./index-0DKGoewk.js";import{u as e}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(s){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...e(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx("style",{children:` - .box { - width: 60px; - height: 40px; - background-color: var(--color-primary-300); - } - .width-sm { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-sm) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-md { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-md) solid var(--color-primary-500); - background-color: var(--color-white); - } - .width-lg { - border-radius: var(--dss-radius-sm); - border: var(--dss-border-width-lg) solid var(--color-primary-500); - background-color: var(--color-white); - } - .radius-xs { - border-radius: var(--dss-radius-xs); - } - .radius-sm { - border-radius: var(--dss-radius-sm); - } - .radius-md { - border-radius: var(--dss-radius-md); - } - .radius-lg { - border-radius: var(--dss-radius-lg); - } - .radius-xl { - border-radius: var(--dss-radius-xl); - } - .radius-full { - width: 40px; - height: 40px; - border-radius: var(--dss-radius-full); - } - `}),` -`,r.jsx(t,{title:"Foundations/Borders",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,r.jsx(d.h1,{id:"borders",children:"Borders"}),` -`,r.jsx(d.p,{children:"Per definir les propietats relacionades amb les vores d'un element utilitzeu les variables CSS definides a continuació."}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border: var(--dss-border-width-sm) solid var(--color-neutral-100);"})]}),` -`,r.jsxs(d.p,{children:[r.jsx(d.strong,{children:"Exemple CSS"}),": ",r.jsx(d.code,{children:"border-radius: var(--dss-radius-xs);"})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-width",children:"Border width"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-sm"})}),r.jsx(d.td,{children:"1px"}),r.jsx(d.td,{children:"0.0625rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-md"})}),r.jsx(d.td,{children:"2px"}),r.jsx(d.td,{children:"0.125rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-border-width-lg"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box width-lg"})})]})]})]}),` -`,r.jsx("br",{}),` -`,r.jsx(d.h2,{id:"border-radius",children:"Border Radius"}),` -`,r.jsxs(d.table,{children:[r.jsx(d.thead,{children:r.jsxs(d.tr,{children:[r.jsx(d.th,{children:"Nom"}),r.jsx(d.th,{children:"px"}),r.jsx(d.th,{children:"rem"}),r.jsx(d.th,{children:"Exemple"})]})}),r.jsxs(d.tbody,{children:[r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xs"})}),r.jsx(d.td,{children:"4px"}),r.jsx(d.td,{children:"0.25rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xs"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-sm"})}),r.jsx(d.td,{children:"8px"}),r.jsx(d.td,{children:"0.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-sm"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-md"})}),r.jsx(d.td,{children:"12px"}),r.jsx(d.td,{children:"0.75rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-md"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-lg"})}),r.jsx(d.td,{children:"16px"}),r.jsx(d.td,{children:"1rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-lg"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-xl"})}),r.jsx(d.td,{children:"24px"}),r.jsx(d.td,{children:"1.5rem"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-xl"})})]}),r.jsxs(d.tr,{children:[r.jsx(d.td,{children:r.jsx(d.strong,{children:"--dss-radius-full"})}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:"50%"}),r.jsx(d.td,{children:r.jsx("div",{class:"box radius-full"})})]})]})]})]})}function u(s={}){const{wrapper:d}={...e(),...s.components};return d?r.jsx(d,{...s,children:r.jsx(i,{...s})}):i(s)}export{u as default}; diff --git a/rc/assets/breadcrumb.doc-BW3-qiaQ.js b/rc/assets/breadcrumb.doc-BW3-qiaQ.js deleted file mode 100644 index 91ff4d7..0000000 --- a/rc/assets/breadcrumb.doc-BW3-qiaQ.js +++ /dev/null @@ -1,12 +0,0 @@ -import{ae as e,af as i,ag as o,ah as n}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{B as l,P as c,M as d}from"./breadcrumb.stories-CKT__cNf.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(a){const s={p:"p",strong:"strong",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Breadcrumb és una navegació secundària que ofereix als usuaris l'opció, en -forma d'enllaços interns, de trobar ràpidament el camí de tornada a la pàgina -d'inici o a un altre nivell del lloc web.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-breadcrumb"}),` com a classe base. Per a cadascún -dels links aplicarem la classe `,e.jsx(s.strong,{children:"dss-breadrumb__item"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsx(s.p,{children:`Aquest és el exemple que es troba al canvas. Tota modificació es veurà -reflectida al següent bloc.`}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(n,{of:d})]})}function M(a={}){const{wrapper:s}={...t(),...a.components};return s?e.jsx(s,{...a,children:e.jsx(r,{...a})}):r(a)}export{M as default}; diff --git a/rc/assets/breadcrumb.doc-CfZwhYUw.js b/rc/assets/breadcrumb.doc-CfZwhYUw.js deleted file mode 100644 index 420e510..0000000 --- a/rc/assets/breadcrumb.doc-CfZwhYUw.js +++ /dev/null @@ -1,18 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{B as o,P as c,M as h}from"./breadcrumb.stories-DUarcv0n.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./breadcrumb-CMd2B89-.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./static-B9bHPl91.js";function r(t){const s={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-breadcrumb",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Breadcrumb és una navegació secundària que ofereix als usuaris l'opció, en -forma d'enllaços interns, de trobar ràpidament el camí de tornada a la pàgina -d'inici o a un altre nivell del lloc web.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["items",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"Array<{ label: string, href: string }>"})}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Els elements del breadcrumb."})]})})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onItemClick"})}),e.jsxs(s.td,{children:["Esdeveniment que notifica a l'usuari quan es fa clic en un element del breadcrumb.",e.jsx("br",{}),"Retorna el ",e.jsx(s.code,{children:"href"})," de l'element clicat."]})]})})]}),` -`,e.jsx(s.h3,{id:"exemples",children:"Exemples"}),` -`,e.jsx(n,{of:h})]})}function E(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/breadcrumb.doc-DVfgRU29.js b/rc/assets/breadcrumb.doc-DKzF9tNe.js similarity index 93% rename from rc/assets/breadcrumb.doc-DVfgRU29.js rename to rc/assets/breadcrumb.doc-DKzF9tNe.js index 71e4450..eb5261f 100644 --- a/rc/assets/breadcrumb.doc-DVfgRU29.js +++ b/rc/assets/breadcrumb.doc-DKzF9tNe.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{B as o,P as c,M as h}from"./breadcrumb.stories-DUarcv0n.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./breadcrumb-CMd2B89-.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./static-B9bHPl91.js";function r(t){const s={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(d,{of:o}),` +import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{B as o,P as c,M as h}from"./breadcrumb.stories-DUarcv0n.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./breadcrumb-CMd2B89-.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./static-B9bHPl91.js";function r(t){const s={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(d,{of:o}),` `,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-breadcrumb",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` `,e.jsx(s.p,{children:`El Breadcrumb és una navegació secundària que ofereix als usuaris l'opció, en forma d'enllaços interns, de trobar ràpidament el camí de tornada a la pàgina diff --git a/rc/assets/breadcrumb.doc-RJ_c1kv-.js b/rc/assets/breadcrumb.doc-RJ_c1kv-.js deleted file mode 100644 index ed78345..0000000 --- a/rc/assets/breadcrumb.doc-RJ_c1kv-.js +++ /dev/null @@ -1,18 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{B as o,P as c,M as h}from"./breadcrumb.stories-DUarcv0n.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./breadcrumb-CMd2B89-.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./static-B9bHPl91.js";function r(t){const s={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-breadcrumb",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Breadcrumb és una navegació secundària que ofereix als usuaris l'opció, en -forma d'enllaços interns, de trobar ràpidament el camí de tornada a la pàgina -d'inici o a un altre nivell del lloc web.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["items",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"Array<{ label: string, href: string }>"})}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Els elements del breadcrumb."})]})})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onItemClick"})}),e.jsxs(s.td,{children:["Esdeveniment que notifica a l'usuari quan es fa clic en un element del breadcrumb.",e.jsx("br",{}),"Retorna el ",e.jsx(s.code,{children:"href"})," de l'element clicat."]})]})})]}),` -`,e.jsx(s.h3,{id:"exemples",children:"Exemples"}),` -`,e.jsx(n,{of:h})]})}function E(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/breadcrumb.doc-RfFsXkWc.js b/rc/assets/breadcrumb.doc-RfFsXkWc.js deleted file mode 100644 index c3de99b..0000000 --- a/rc/assets/breadcrumb.doc-RfFsXkWc.js +++ /dev/null @@ -1,12 +0,0 @@ -import{ae as e,af as i,ag as o,ah as n}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{B as l,P as c,M as d}from"./breadcrumb.stories-CKT__cNf.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(a){const s={p:"p",strong:"strong",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Breadcrumb és una navegació secundària que ofereix als usuaris l'opció, en -forma d'enllaços interns, de trobar ràpidament el camí de tornada a la pàgina -d'inici o a un altre nivell del lloc web.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-breadcrumb"}),` com a classe base. Per a cadascún -dels links aplicarem la classe `,e.jsx(s.strong,{children:"dss-breadrumb__item"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsx(s.p,{children:`Aquest és el exemple que es troba al canvas. Tota modificació es veurà -reflectida al següent bloc.`}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(n,{of:d})]})}function M(a={}){const{wrapper:s}={...t(),...a.components};return s?e.jsx(s,{...a,children:e.jsx(r,{...a})}):r(a)}export{M as default}; diff --git a/rc/assets/breadcrumb.stories-CKT__cNf.js b/rc/assets/breadcrumb.stories-CKT__cNf.js deleted file mode 100644 index 9a1b0d3..0000000 --- a/rc/assets/breadcrumb.stories-CKT__cNf.js +++ /dev/null @@ -1,76 +0,0 @@ -import{x as u}from"./lit-html-paDGiEfB.js";const l={title:"Components/Breadcrumb",argTypes:{breadNumber:{name:"Quantitat de pàgines",control:{type:"select"},options:[2,3,4,5]}},parameters:{layout:"centered"}},a={render:_=>{const e=document.createElement("div");e.className="dss-breadcrumb";let r="";for(let d=1;d<=_.breadNumber;d++)r+='Page';return e.innerHTML+=r,u`${e}`},args:{breadNumber:3}},s={tags:["!dev"],render:()=>u` -
-
- Page - Page -
- -
- Page - Page - Page -
- -
- Page - Page - Page - Page -
- -
- Page - Page - Page - Page - Page -
-
- `};var c,m,b;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`{ - render: (args: any) => { - const container = document.createElement('div'); - container.className = 'dss-breadcrumb'; - let items = ''; - for (let i = 1; i <= args.breadNumber; i++) { - items += \`Page\`; - } - container.innerHTML += items; - return html\`\${container}\`; - }, - args: { - breadNumber: 3 - } -}`,...(b=(m=a.parameters)==null?void 0:m.docs)==null?void 0:b.source}}};var n,t,i;s.parameters={...s.parameters,docs:{...(n=s.parameters)==null?void 0:n.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- Page - Page -
- -
- Page - Page - Page -
- -
- Page - Page - Page - Page -
- -
- Page - Page - Page - Page - Page -
-
- \`; - } -}`,...(i=(t=s.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const o=["Playground","More"],P=Object.freeze(Object.defineProperty({__proto__:null,More:s,Playground:a,__namedExportsOrder:o,default:l},Symbol.toStringTag,{value:"Module"}));export{P as B,s as M,a as P}; diff --git a/rc/assets/breakpoints.doc-DQ2AZqDA.js b/rc/assets/breakpoints.doc-DQ2AZqDA.js deleted file mode 100644 index 966940d..0000000 --- a/rc/assets/breakpoints.doc-DQ2AZqDA.js +++ /dev/null @@ -1,68 +0,0 @@ -import{ae as e,af as t,ak as d}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .description { - font-size: 13px; - text-align: center; - color: var(--color-neutral-400); - } - - .breakpoint-demo { - height: 20px; - width: 100%; - background-color: var(--color-primary-800); - } - - @media screen and (min-width: 1440px) and (max-width: 1919px) { - .breakpoint-demo { - background-color: var(--color-primary-600); - } - } - - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - .breakpoint-demo { - background-color: var(--color-primary-400); - } - } - - @media only screen and (max-width: 1023px) { - .breakpoint-demo { - background-color: var(--color-primary-200); - } - } - `}),` -`,e.jsx(t,{title:"Foundations/Breakpoints",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(n.h1,{id:"breakpoints",children:"Breakpoints"}),` -`,e.jsx(n.p,{children:`Els punts de ruptura, o breakpoints, són punts clau en el disseny responsiu que defineixen -com ha de canviar la presentació d'una UI en diferents dimensions de pantalla.`}),` -`,e.jsx(n.p,{children:`Aquests punts permeten adaptar de manera eficient el contingut i la estructura de la UI per oferir -una experiència òptima als usuaris, ja sigui en pantalles grans com a ordinadors de sobretaula o en -dispositius mòbils més petits.`}),` -`,e.jsx(n.p,{children:"En el nostre sistema de disseny disposem de 4 punts de ruptura."}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"min-width"}),e.jsx(n.th,{children:"max-width"}),e.jsx(n.th,{children:"Grid"}),e.jsx(n.th,{children:"Content Max-width"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-desktop"})}),e.jsx(n.td,{children:"1920px"}),e.jsx(n.td,{children:"∞"}),e.jsx(n.td,{children:"XL"}),e.jsx(n.td,{children:"1920px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop-lg"})}),e.jsx(n.td,{children:"1440px"}),e.jsx(n.td,{children:"1919px"}),e.jsx(n.td,{children:"L"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop"})}),e.jsx(n.td,{children:"1024px"}),e.jsx(n.td,{children:"1439px"}),e.jsx(n.td,{children:"M"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-tablet"})}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"1023px"}),e.jsx(n.td,{children:"S"}),e.jsx(n.td,{children:"100%"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"media-queries",children:"Media queries"}),` -`,e.jsx(n.p,{children:`Un media query és una tècnica de disseny web que permet adaptar els estils d'una pàgina en funció de les -característiques del dispositiu, com ara la mida de la pantalla o la resolució.`}),` -`,e.jsx(n.p,{children:`Els media queries es fan servir com a part de les fulls d'estil en cascada (CSS) i permeten als desenvolupadors -web crear dissenys responsius que s'ajustin automàticament a diferents mides de pantalla i dispositius.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El breakpoint per defecte serà sempre Desktop. No es farà servir una metodologia First Mobile ja que l'ús de breakpoints menors es limitarà a components i temperats molt específics."}),` -`]}),` -`,e.jsx(d,{code:` - /* Codi per a la resolució base 1920px (Desktop) */ - @media screen and (min-width: 1440px) and (max-width: 1919px) { - /* Estils específics per a pantalles de 1440 píxels o més */ - } - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - /* Estils per a dispositius amb ample entre 1024px i 1339px */ - } - @media only screen and (max-width: 1023px) { - /* Estils per a dispositius amb ample màxim de 1023px */ - } -`}),` -`,e.jsx(n.h3,{id:"try-it",children:"Try it"}),` -`,e.jsx("p",{class:"description",children:"Reduce the window/browser width to change the background color on media query breakpoint"}),` -`,e.jsx("div",{class:"breakpoint-demo"}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Les variables CSS no funcionen dins de media queries i container queries. En cas d'estar treballant en una aplicació amb Sass/SCSS recomanem definir variables pròpies del tipus:"]}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"Value"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-max"})}),e.jsx(n.td,{children:"1919px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-min"})}),e.jsx(n.td,{children:"1440px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-max"})}),e.jsx(n.td,{children:"1439px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-min"})}),e.jsx(n.td,{children:"1024px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-tablet-max"})}),e.jsx(n.td,{children:"1023px"})]})]})]})]})}function j(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{j as default}; diff --git a/rc/assets/breakpoints.doc-DV592QQ2.js b/rc/assets/breakpoints.doc-DV592QQ2.js deleted file mode 100644 index b630280..0000000 --- a/rc/assets/breakpoints.doc-DV592QQ2.js +++ /dev/null @@ -1,68 +0,0 @@ -import{ae as e,af as t,ak as d}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .description { - font-size: 13px; - text-align: center; - color: var(--color-neutral-400); - } - - .breakpoint-demo { - height: 20px; - width: 100%; - background-color: var(--color-primary-800); - } - - @media screen and (min-width: 1440px) and (max-width: 1919px) { - .breakpoint-demo { - background-color: var(--color-primary-600); - } - } - - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - .breakpoint-demo { - background-color: var(--color-primary-400); - } - } - - @media only screen and (max-width: 1023px) { - .breakpoint-demo { - background-color: var(--color-primary-200); - } - } - `}),` -`,e.jsx(t,{title:"Foundations/Breakpoints",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(n.h1,{id:"breakpoints",children:"Breakpoints"}),` -`,e.jsx(n.p,{children:`Els punts de ruptura, o breakpoints, són punts clau en el disseny responsiu que defineixen -com ha de canviar la presentació d'una UI en diferents dimensions de pantalla.`}),` -`,e.jsx(n.p,{children:`Aquests punts permeten adaptar de manera eficient el contingut i la estructura de la UI per oferir -una experiència òptima als usuaris, ja sigui en pantalles grans com a ordinadors de sobretaula o en -dispositius mòbils més petits.`}),` -`,e.jsx(n.p,{children:"En el nostre sistema de disseny disposem de 4 punts de ruptura."}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"min-width"}),e.jsx(n.th,{children:"max-width"}),e.jsx(n.th,{children:"Grid"}),e.jsx(n.th,{children:"Content Max-width"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-desktop"})}),e.jsx(n.td,{children:"1920px"}),e.jsx(n.td,{children:"∞"}),e.jsx(n.td,{children:"XL"}),e.jsx(n.td,{children:"1920px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop-lg"})}),e.jsx(n.td,{children:"1440px"}),e.jsx(n.td,{children:"1919px"}),e.jsx(n.td,{children:"L"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop"})}),e.jsx(n.td,{children:"1024px"}),e.jsx(n.td,{children:"1439px"}),e.jsx(n.td,{children:"M"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-tablet"})}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"1023px"}),e.jsx(n.td,{children:"S"}),e.jsx(n.td,{children:"100%"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"media-queries",children:"Media queries"}),` -`,e.jsx(n.p,{children:`Un media query és una tècnica de disseny web que permet adaptar els estils d'una pàgina en funció de les -característiques del dispositiu, com ara la mida de la pantalla o la resolució.`}),` -`,e.jsx(n.p,{children:`Els media queries es fan servir com a part de les fulls d'estil en cascada (CSS) i permeten als desenvolupadors -web crear dissenys responsius que s'ajustin automàticament a diferents mides de pantalla i dispositius.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El breakpoint per defecte serà sempre Desktop. No es farà servir una metodologia First Mobile ja que l'ús de breakpoints menors es limitarà a components i temperats molt específics."}),` -`]}),` -`,e.jsx(d,{code:` - /* Codi per a la resolució base 1920px (Desktop) */ - @media screen and (min-width: 1440px) and (max-width: 1919px) { - /* Estils específics per a pantalles de 1440 píxels o més */ - } - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - /* Estils per a dispositius amb ample entre 1024px i 1339px */ - } - @media only screen and (max-width: 1023px) { - /* Estils per a dispositius amb ample màxim de 1023px */ - } -`}),` -`,e.jsx(n.h3,{id:"try-it",children:"Try it"}),` -`,e.jsx("p",{class:"description",children:"Reduce the window/browser width to change the background color on media query breakpoint"}),` -`,e.jsx("div",{class:"breakpoint-demo"}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Les variables CSS no funcionen dins de media queries i container queries. En cas d'estar treballant en una aplicació amb Sass/SCSS recomanem definir variables pròpies del tipus:"]}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"Value"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-max"})}),e.jsx(n.td,{children:"1919px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-min"})}),e.jsx(n.td,{children:"1440px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-max"})}),e.jsx(n.td,{children:"1439px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-min"})}),e.jsx(n.td,{children:"1024px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-tablet-max"})}),e.jsx(n.td,{children:"1023px"})]})]})]})]})}function j(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{j as default}; diff --git a/rc/assets/breakpoints.doc-BdtvaVQt.js b/rc/assets/breakpoints.doc-DWF6EcJD.js similarity index 96% rename from rc/assets/breakpoints.doc-BdtvaVQt.js rename to rc/assets/breakpoints.doc-DWF6EcJD.js index e5514d9..426edd9 100644 --- a/rc/assets/breakpoints.doc-BdtvaVQt.js +++ b/rc/assets/breakpoints.doc-DWF6EcJD.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ak as d}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ak as d}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .description { font-size: 13px; text-align: center; diff --git a/rc/assets/breakpoints.doc-HpbnqwUS.js b/rc/assets/breakpoints.doc-HpbnqwUS.js deleted file mode 100644 index 0dc4694..0000000 --- a/rc/assets/breakpoints.doc-HpbnqwUS.js +++ /dev/null @@ -1,68 +0,0 @@ -import{ae as e,af as t,ak as d}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .description { - font-size: 13px; - text-align: center; - color: var(--color-neutral-400); - } - - .breakpoint-demo { - height: 20px; - width: 100%; - background-color: var(--color-primary-800); - } - - @media screen and (min-width: 1440px) and (max-width: 1919px) { - .breakpoint-demo { - background-color: var(--color-primary-600); - } - } - - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - .breakpoint-demo { - background-color: var(--color-primary-400); - } - } - - @media only screen and (max-width: 1023px) { - .breakpoint-demo { - background-color: var(--color-primary-200); - } - } - `}),` -`,e.jsx(t,{title:"Foundations/Breakpoints",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(n.h1,{id:"breakpoints",children:"Breakpoints"}),` -`,e.jsx(n.p,{children:`Els punts de ruptura, o breakpoints, són punts clau en el disseny responsiu que defineixen -com ha de canviar la presentació d'una UI en diferents dimensions de pantalla.`}),` -`,e.jsx(n.p,{children:`Aquests punts permeten adaptar de manera eficient el contingut i la estructura de la UI per oferir -una experiència òptima als usuaris, ja sigui en pantalles grans com a ordinadors de sobretaula o en -dispositius mòbils més petits.`}),` -`,e.jsx(n.p,{children:"En el nostre sistema de disseny disposem de 4 punts de ruptura."}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"min-width"}),e.jsx(n.th,{children:"max-width"}),e.jsx(n.th,{children:"Grid"}),e.jsx(n.th,{children:"Content Max-width"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-desktop"})}),e.jsx(n.td,{children:"1920px"}),e.jsx(n.td,{children:"∞"}),e.jsx(n.td,{children:"XL"}),e.jsx(n.td,{children:"1920px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop-lg"})}),e.jsx(n.td,{children:"1440px"}),e.jsx(n.td,{children:"1919px"}),e.jsx(n.td,{children:"L"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop"})}),e.jsx(n.td,{children:"1024px"}),e.jsx(n.td,{children:"1439px"}),e.jsx(n.td,{children:"M"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-tablet"})}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"1023px"}),e.jsx(n.td,{children:"S"}),e.jsx(n.td,{children:"100%"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"media-queries",children:"Media queries"}),` -`,e.jsx(n.p,{children:`Un media query és una tècnica de disseny web que permet adaptar els estils d'una pàgina en funció de les -característiques del dispositiu, com ara la mida de la pantalla o la resolució.`}),` -`,e.jsx(n.p,{children:`Els media queries es fan servir com a part de les fulls d'estil en cascada (CSS) i permeten als desenvolupadors -web crear dissenys responsius que s'ajustin automàticament a diferents mides de pantalla i dispositius.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El breakpoint per defecte serà sempre Desktop. No es farà servir una metodologia First Mobile ja que l'ús de breakpoints menors es limitarà a components i temperats molt específics."}),` -`]}),` -`,e.jsx(d,{code:` - /* Codi per a la resolució base 1920px (Desktop) */ - @media screen and (min-width: 1440px) and (max-width: 1919px) { - /* Estils específics per a pantalles de 1440 píxels o més */ - } - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - /* Estils per a dispositius amb ample entre 1024px i 1339px */ - } - @media only screen and (max-width: 1023px) { - /* Estils per a dispositius amb ample màxim de 1023px */ - } -`}),` -`,e.jsx(n.h3,{id:"try-it",children:"Try it"}),` -`,e.jsx("p",{class:"description",children:"Reduce the window/browser width to change the background color on media query breakpoint"}),` -`,e.jsx("div",{class:"breakpoint-demo"}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Les variables CSS no funcionen dins de media queries i container queries. En cas d'estar treballant en una aplicació amb Sass/SCSS recomanem definir variables pròpies del tipus:"]}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"Value"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-max"})}),e.jsx(n.td,{children:"1919px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-min"})}),e.jsx(n.td,{children:"1440px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-max"})}),e.jsx(n.td,{children:"1439px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-min"})}),e.jsx(n.td,{children:"1024px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-tablet-max"})}),e.jsx(n.td,{children:"1023px"})]})]})]})]})}function j(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{j as default}; diff --git a/rc/assets/breakpoints.doc-oPwrfE2Z.js b/rc/assets/breakpoints.doc-oPwrfE2Z.js deleted file mode 100644 index a4f28b5..0000000 --- a/rc/assets/breakpoints.doc-oPwrfE2Z.js +++ /dev/null @@ -1,68 +0,0 @@ -import{ae as e,af as t,ak as d}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(s){const n={blockquote:"blockquote",h1:"h1",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .description { - font-size: 13px; - text-align: center; - color: var(--color-neutral-400); - } - - .breakpoint-demo { - height: 20px; - width: 100%; - background-color: var(--color-primary-800); - } - - @media screen and (min-width: 1440px) and (max-width: 1919px) { - .breakpoint-demo { - background-color: var(--color-primary-600); - } - } - - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - .breakpoint-demo { - background-color: var(--color-primary-400); - } - } - - @media only screen and (max-width: 1023px) { - .breakpoint-demo { - background-color: var(--color-primary-200); - } - } - `}),` -`,e.jsx(t,{title:"Foundations/Breakpoints",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(n.h1,{id:"breakpoints",children:"Breakpoints"}),` -`,e.jsx(n.p,{children:`Els punts de ruptura, o breakpoints, són punts clau en el disseny responsiu que defineixen -com ha de canviar la presentació d'una UI en diferents dimensions de pantalla.`}),` -`,e.jsx(n.p,{children:`Aquests punts permeten adaptar de manera eficient el contingut i la estructura de la UI per oferir -una experiència òptima als usuaris, ja sigui en pantalles grans com a ordinadors de sobretaula o en -dispositius mòbils més petits.`}),` -`,e.jsx(n.p,{children:"En el nostre sistema de disseny disposem de 4 punts de ruptura."}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"min-width"}),e.jsx(n.th,{children:"max-width"}),e.jsx(n.th,{children:"Grid"}),e.jsx(n.th,{children:"Content Max-width"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-desktop"})}),e.jsx(n.td,{children:"1920px"}),e.jsx(n.td,{children:"∞"}),e.jsx(n.td,{children:"XL"}),e.jsx(n.td,{children:"1920px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop-lg"})}),e.jsx(n.td,{children:"1440px"}),e.jsx(n.td,{children:"1919px"}),e.jsx(n.td,{children:"L"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-laptop"})}),e.jsx(n.td,{children:"1024px"}),e.jsx(n.td,{children:"1439px"}),e.jsx(n.td,{children:"M"}),e.jsx(n.td,{children:"100%"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"breakpoint-tablet"})}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"1023px"}),e.jsx(n.td,{children:"S"}),e.jsx(n.td,{children:"100%"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"media-queries",children:"Media queries"}),` -`,e.jsx(n.p,{children:`Un media query és una tècnica de disseny web que permet adaptar els estils d'una pàgina en funció de les -característiques del dispositiu, com ara la mida de la pantalla o la resolució.`}),` -`,e.jsx(n.p,{children:`Els media queries es fan servir com a part de les fulls d'estil en cascada (CSS) i permeten als desenvolupadors -web crear dissenys responsius que s'ajustin automàticament a diferents mides de pantalla i dispositius.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El breakpoint per defecte serà sempre Desktop. No es farà servir una metodologia First Mobile ja que l'ús de breakpoints menors es limitarà a components i temperats molt específics."}),` -`]}),` -`,e.jsx(d,{code:` - /* Codi per a la resolució base 1920px (Desktop) */ - @media screen and (min-width: 1440px) and (max-width: 1919px) { - /* Estils específics per a pantalles de 1440 píxels o més */ - } - @media only screen and (min-width: 1024px) and (max-width: 1439px) { - /* Estils per a dispositius amb ample entre 1024px i 1339px */ - } - @media only screen and (max-width: 1023px) { - /* Estils per a dispositius amb ample màxim de 1023px */ - } -`}),` -`,e.jsx(n.h3,{id:"try-it",children:"Try it"}),` -`,e.jsx("p",{class:"description",children:"Reduce the window/browser width to change the background color on media query breakpoint"}),` -`,e.jsx("div",{class:"breakpoint-demo"}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Les variables CSS no funcionen dins de media queries i container queries. En cas d'estar treballant en una aplicació amb Sass/SCSS recomanem definir variables pròpies del tipus:"]}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Nom"}),e.jsx(n.th,{children:"Value"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-max"})}),e.jsx(n.td,{children:"1919px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-lg-min"})}),e.jsx(n.td,{children:"1440px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-max"})}),e.jsx(n.td,{children:"1439px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-laptop-min"})}),e.jsx(n.td,{children:"1024px"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"$breakpoint-tablet-max"})}),e.jsx(n.td,{children:"1023px"})]})]})]})]})}function j(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{j as default}; diff --git a/rc/assets/button-CeNEyja2.js b/rc/assets/button-CeNEyja2.js deleted file mode 100644 index 19cffa2..0000000 --- a/rc/assets/button-CeNEyja2.js +++ /dev/null @@ -1,16 +0,0 @@ -import{r as c,a as h}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as e}from"./property-CzN8u98o.js";import{r as p}from"./reset.style-B0CQ8619.js";import{b as d}from"./property-types-CkH-zh1n.js";import{b as y}from"./button.style-2dqsCQot.js";import{i as b,s as f,u as _}from"./static-DLZyqU8Z.js";import{e as $}from"./class-map-2iHk_WiG.js";import{g}from"./custom-element-scope-Dp4Dg8bo.js";const u=b`dss-icon${f(g())}`,z=t=>_` - -`;var P=Object.defineProperty,S=Object.getOwnPropertyDescriptor,o=(t,i,s,q)=>{for(var n=S(i,s),r=t.length-1,a;r>=0;r--)(a=t[r])&&(n=a(i,s,n)||n);return n&&P(i,s,n),n};class l extends c{constructor(){super(...arguments),this._type="primary",this._size="md",this._label="",this._icon=void 0,this._iconSize="sm",this._iconPosition="left",this._iconFill=!1,this._disabled=!1,this._hidden=!1,this._onlyIcon=!1,this._fullWidth=!1}static get styles(){return[h(p),h(y)]}set type(i){const s=this._type;this._type=i,this.requestUpdate("type",s)}set size(i){const s=this._size;this._size=i,i==="lg"&&(this._iconSize="md"),this.requestUpdate("size",s)}set label(i){const s=this._label;this._label=i,this.requestUpdate("label",s)}set icon(i){const s=this._icon;this._icon=i,this.requestUpdate("icon",s)}set iconPosition(i){const s=this._iconPosition;this._iconPosition=i,this.requestUpdate("iconPosition",s)}set iconFill(i){const s=this._iconFill;this._iconFill=i,this.requestUpdate("iconFill",s)}set disabled(i){const s=this._disabled;this._disabled=i,this.requestUpdate("disabled",s)}set hidden(i){const s=this._hidden;this._hidden=i,this.requestUpdate("hidden",s)}set onlyIcon(i){const s=this._onlyIcon;this._onlyIcon=i,this.requestUpdate("onlyIcon",s)}set fullWidth(i){const s=this._fullWidth;this._fullWidth=i,this.requestUpdate("fullWidth",s)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return z(this)}}o([e({type:String})],l.prototype,"type");o([e({type:String})],l.prototype,"size");o([e({type:String})],l.prototype,"label");o([e({type:String})],l.prototype,"icon");o([e({type:String})],l.prototype,"iconPosition");o([e(d)],l.prototype,"iconFill");o([e(d)],l.prototype,"disabled");o([e(d)],l.prototype,"hidden");o([e(d)],l.prototype,"onlyIcon");o([e(d)],l.prototype,"fullWidth");export{l as B}; diff --git a/rc/assets/button-DbpOJUcP.js b/rc/assets/button-DbpOJUcP.js deleted file mode 100644 index 06aba31..0000000 --- a/rc/assets/button-DbpOJUcP.js +++ /dev/null @@ -1,16 +0,0 @@ -import{r as c,a as h}from"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import{n as e}from"./property-CzN8u98o.js";import{r as p}from"./reset.style-B0CQ8619.js";import{b as d}from"./property-types-CkH-zh1n.js";import{b as y}from"./button.style-2dqsCQot.js";import{i as b,s as f,g as $,u as _}from"./custom-element-scope-KJWplpvx.js";import{e as g}from"./class-map-2iHk_WiG.js";const u=b`dss-icon${f($())}`,z=t=>_` - -`;var P=Object.defineProperty,S=Object.getOwnPropertyDescriptor,o=(t,i,s,q)=>{for(var n=S(i,s),r=t.length-1,a;r>=0;r--)(a=t[r])&&(n=a(i,s,n)||n);return n&&P(i,s,n),n};class l extends c{constructor(){super(...arguments),this._type="primary",this._size="md",this._label="",this._icon=void 0,this._iconSize="sm",this._iconPosition="left",this._iconFill=!1,this._disabled=!1,this._hidden=!1,this._onlyIcon=!1,this._fullWidth=!1}static get styles(){return[h(p),h(y)]}set type(i){const s=this._type;this._type=i,this.requestUpdate("type",s)}set size(i){const s=this._size;this._size=i,i==="lg"&&(this._iconSize="md"),this.requestUpdate("size",s)}set label(i){const s=this._label;this._label=i,this.requestUpdate("label",s)}set icon(i){const s=this._icon;this._icon=i,this.requestUpdate("icon",s)}set iconPosition(i){const s=this._iconPosition;this._iconPosition=i,this.requestUpdate("iconPosition",s)}set iconFill(i){const s=this._iconFill;this._iconFill=i,this.requestUpdate("iconFill",s)}set disabled(i){const s=this._disabled;this._disabled=i,this.requestUpdate("disabled",s)}set hidden(i){const s=this._hidden;this._hidden=i,this.requestUpdate("hidden",s)}set onlyIcon(i){const s=this._onlyIcon;this._onlyIcon=i,this.requestUpdate("onlyIcon",s)}set fullWidth(i){const s=this._fullWidth;this._fullWidth=i,this.requestUpdate("fullWidth",s)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return z(this)}}o([e({type:String})],l.prototype,"type");o([e({type:String})],l.prototype,"size");o([e({type:String})],l.prototype,"label");o([e({type:String})],l.prototype,"icon");o([e({type:String})],l.prototype,"iconPosition");o([e(d)],l.prototype,"iconFill");o([e(d)],l.prototype,"disabled");o([e(d)],l.prototype,"hidden");o([e(d)],l.prototype,"onlyIcon");o([e(d)],l.prototype,"fullWidth");export{l as B}; diff --git a/rc/assets/button-link-AVTPQ2S6.js b/rc/assets/button-link-AVTPQ2S6.js deleted file mode 100644 index 7fc2792..0000000 --- a/rc/assets/button-link-AVTPQ2S6.js +++ /dev/null @@ -1,13 +0,0 @@ -import{r as p,a}from"./lit-element-vV9fql9z.js";import{x as c}from"./lit-html-paDGiEfB.js";import{n as e}from"./property-CzN8u98o.js";import{i as b}from"./icon.style-DPTab5RN.js";import{r as h}from"./reset.style-B0CQ8619.js";import{b as u}from"./property-types-CkH-zh1n.js";import{e as _}from"./class-map-2iHk_WiG.js";const f=":host{display:inline-block;vertical-align:middle}.dss-button-link{display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in;vertical-align:middle}.dss-button-link:visited{color:var(--color-purple-700)}.dss-button-link:hover{color:var(--color-primary-600)}.dss-button-link:active{color:var(--color-primary-400)}.dss-button-link:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-button-link.dss-button-link--disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-button-link .dss-button-link-text{text-decoration:underline}.dss-button-link--icon-right{flex-direction:row-reverse}",k=s=>c` - - ${s._icon?c` - ${s._icon} - `:null} - ${s._label} - -`;var v=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=(s,t,i,y)=>{for(var o=m(t,i),r=s.length-1,d;r>=0;r--)(d=s[r])&&(o=d(t,i,o)||o);return o&&v(t,i,o),o};class n extends p{constructor(){super(...arguments),this._linkHref="#",this._label="Button Link",this._icon=void 0,this._iconPosition="left",this._iconFill=!1,this._disabled=!1}static get styles(){return[a(b),a(h),a(f)]}set linkHref(t){const i=this._linkHref;this._linkHref=t,this.requestUpdate("linkHref",i)}set label(t){const i=this._label;this._label=t,this.requestUpdate("label",i)}set icon(t){const i=this._icon;this._icon=t,this.requestUpdate("icon",i)}set iconPosition(t){const i=this._iconPosition;this._iconPosition=t,this.requestUpdate("iconPosition",i)}set iconFill(t){const i=this._iconFill;this._iconFill=t,this.requestUpdate("iconFill",i)}set disabled(t){const i=this._disabled;this._disabled=t,this.requestUpdate("disabled",i)}render(){return k(this)}}l([e({type:String})],n.prototype,"linkHref");l([e({type:String})],n.prototype,"label");l([e({type:String})],n.prototype,"icon");l([e({type:String})],n.prototype,"iconPosition");l([e(u)],n.prototype,"iconFill");l([e(u)],n.prototype,"disabled");export{n as B}; diff --git a/rc/assets/button-link-CCJAoxkm.js b/rc/assets/button-link-CCJAoxkm.js deleted file mode 100644 index ffc6aef..0000000 --- a/rc/assets/button-link-CCJAoxkm.js +++ /dev/null @@ -1,13 +0,0 @@ -import{r as p,a}from"./lit-element-vV9fql9z.js";import{x as c}from"./lit-html-paDGiEfB.js";import{n as e}from"./property-CzN8u98o.js";import{i as b}from"./icon.style-BFmaJcLw.js";import{r as h}from"./reset.style-B0CQ8619.js";import{b as u}from"./property-types-CkH-zh1n.js";import{e as _}from"./class-map-2iHk_WiG.js";const f=":host{display:inline-block;vertical-align:middle}.dss-button-link{display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in;vertical-align:middle}.dss-button-link:visited{color:var(--color-purple-700)}.dss-button-link:hover{color:var(--color-primary-600)}.dss-button-link:active{color:var(--color-primary-400)}.dss-button-link:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-button-link.dss-button-link--disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-button-link .dss-button-link-text{text-decoration:underline}.dss-button-link--icon-right{flex-direction:row-reverse}",k=s=>c` - - ${s._icon?c` - ${s._icon} - `:null} - ${s._label} - -`;var v=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=(s,t,i,y)=>{for(var o=m(t,i),r=s.length-1,d;r>=0;r--)(d=s[r])&&(o=d(t,i,o)||o);return o&&v(t,i,o),o};class n extends p{constructor(){super(...arguments),this._linkHref="#",this._label="Button Link",this._icon=void 0,this._iconPosition="left",this._iconFill=!1,this._disabled=!1}static get styles(){return[a(b),a(h),a(f)]}set linkHref(t){const i=this._linkHref;this._linkHref=t,this.requestUpdate("linkHref",i)}set label(t){const i=this._label;this._label=t,this.requestUpdate("label",i)}set icon(t){const i=this._icon;this._icon=t,this.requestUpdate("icon",i)}set iconPosition(t){const i=this._iconPosition;this._iconPosition=t,this.requestUpdate("iconPosition",i)}set iconFill(t){const i=this._iconFill;this._iconFill=t,this.requestUpdate("iconFill",i)}set disabled(t){const i=this._disabled;this._disabled=t,this.requestUpdate("disabled",i)}render(){return k(this)}}l([e({type:String})],n.prototype,"linkHref");l([e({type:String})],n.prototype,"label");l([e({type:String})],n.prototype,"icon");l([e({type:String})],n.prototype,"iconPosition");l([e(u)],n.prototype,"iconFill");l([e(u)],n.prototype,"disabled");export{n as B}; diff --git a/rc/assets/button-link.doc-DX775yRu.js b/rc/assets/button-link.doc-Bs1UnYAH.js similarity index 96% rename from rc/assets/button-link.doc-DX775yRu.js rename to rc/assets/button-link.doc-Bs1UnYAH.js index 26b5629..0c96ae0 100644 --- a/rc/assets/button-link.doc-DX775yRu.js +++ b/rc/assets/button-link.doc-Bs1UnYAH.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-CdQT97cJ.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-link-CDUkXfss.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-CdQT97cJ.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-link-CDUkXfss.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .none { display:none; } diff --git a/rc/assets/button-link.doc-CWXubBkB.js b/rc/assets/button-link.doc-CWXubBkB.js deleted file mode 100644 index 77d766d..0000000 --- a/rc/assets/button-link.doc-CWXubBkB.js +++ /dev/null @@ -1,39 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-D5hTAiMW.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./button-link-AVTPQ2S6.js";import"./property-CzN8u98o.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .none { - display:none; - } - .wrapper { - display: flex; - align-items: center; - gap: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button-link",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Buttons Link són elements clicables que s'utilitzen per navegar a través de les diferents seccions de l'aplicació."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Text que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"url"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Enllaç que usés el component com a atribut Href."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsxs(s.td,{children:["Dóna al component un estil de deshabilitat. Aquest component és un enllaç ",e.jsx(s.code,{children:""}),", per tant, a nivell de desenvolupament no es pot deshabilitar.",e.jsx("br",{}),"L'opció ideal seria inhabilitar l'href (linkHref) si aquesta propietat està habilitada añadiendo ",e.jsx(s.code,{children:"javascript:void(0)"})]})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`]}),` -`,e.jsx(s.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"a"})})," no disposa de la propietat disabled per la qual cosa haurem de fer ús de la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-button-link--disabled"})}),"."]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"Nou component simple per donar un estil específic als enllaços."})]})]})]})]})}function L(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{L as default}; diff --git a/rc/assets/button-link.doc-DlGyKedN.js b/rc/assets/button-link.doc-DlGyKedN.js deleted file mode 100644 index c978be3..0000000 --- a/rc/assets/button-link.doc-DlGyKedN.js +++ /dev/null @@ -1,39 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-CdQT97cJ.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-link-CDUkXfss.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .none { - display:none; - } - .wrapper { - display: flex; - align-items: center; - gap: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button-link",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Buttons Link són elements clicables que s'utilitzen per navegar a través de les diferents seccions de l'aplicació."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Text que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"url"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Enllaç que usés el component com a atribut Href."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsxs(s.td,{children:["Dóna al component un estil de deshabilitat. Aquest component és un enllaç ",e.jsx(s.code,{children:""}),", per tant, a nivell de desenvolupament no es pot deshabilitar.",e.jsx("br",{}),"L'opció ideal seria inhabilitar l'href (linkHref) si aquesta propietat està habilitada añadiendo ",e.jsx(s.code,{children:"javascript:void(0)"})]})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`]}),` -`,e.jsx(s.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"a"})})," no disposa de la propietat disabled per la qual cosa haurem de fer ús de la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-button-link--disabled"})}),"."]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"Nou component simple per donar un estil específic als enllaços."})]})]})]})]})}function L(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{L as default}; diff --git a/rc/assets/button-link.doc-Dv82MVgd.js b/rc/assets/button-link.doc-Dv82MVgd.js deleted file mode 100644 index 646e794..0000000 --- a/rc/assets/button-link.doc-Dv82MVgd.js +++ /dev/null @@ -1,39 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-CdQT97cJ.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-link-CDUkXfss.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .none { - display:none; - } - .wrapper { - display: flex; - align-items: center; - gap: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button-link",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Buttons Link són elements clicables que s'utilitzen per navegar a través de les diferents seccions de l'aplicació."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Text que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"url"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Enllaç que usés el component com a atribut Href."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsxs(s.td,{children:["Dóna al component un estil de deshabilitat. Aquest component és un enllaç ",e.jsx(s.code,{children:""}),", per tant, a nivell de desenvolupament no es pot deshabilitar.",e.jsx("br",{}),"L'opció ideal seria inhabilitar l'href (linkHref) si aquesta propietat està habilitada añadiendo ",e.jsx(s.code,{children:"javascript:void(0)"})]})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`]}),` -`,e.jsx(s.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"a"})})," no disposa de la propietat disabled per la qual cosa haurem de fer ús de la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-button-link--disabled"})}),"."]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"Nou component simple per donar un estil específic als enllaços."})]})]})]})]})}function L(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{L as default}; diff --git a/rc/assets/button-link.doc-mfJ9eVJC.js b/rc/assets/button-link.doc-mfJ9eVJC.js deleted file mode 100644 index d5bf5c6..0000000 --- a/rc/assets/button-link.doc-mfJ9eVJC.js +++ /dev/null @@ -1,39 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as c}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as o,B as h,I as x,D as j}from"./button-link.stories-Ba2br41l.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./button-link-CCJAoxkm.js";import"./property-CzN8u98o.js";import"./icon.style-BFmaJcLw.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-2iHk_WiG.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .none { - display:none; - } - .wrapper { - display: flex; - align-items: center; - gap: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button-link",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Buttons Link són elements clicables que s'utilitzen per navegar a través de les diferents seccions de l'aplicació."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Text que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"url"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Enllaç que usés el component com a atribut Href."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsxs(s.td,{children:["Dóna al component un estil de deshabilitat. Aquest component és un enllaç ",e.jsx(s.code,{children:""}),", per tant, a nivell de desenvolupament no es pot deshabilitar.",e.jsx("br",{}),"L'opció ideal seria inhabilitar l'href (linkHref) si aquesta propietat està habilitada añadiendo ",e.jsx(s.code,{children:"javascript:void(0)"})]})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`]}),` -`,e.jsx(s.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"a"})})," no disposa de la propietat disabled per la qual cosa haurem de fer ús de la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-button-link--disabled"})}),"."]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"Nou component simple per donar un estil específic als enllaços."})]})]})]})]})}function L(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{L as default}; diff --git a/rc/assets/button-link.stories-Ba2br41l.js b/rc/assets/button-link.stories-Ba2br41l.js deleted file mode 100644 index b3e25ff..0000000 --- a/rc/assets/button-link.stories-Ba2br41l.js +++ /dev/null @@ -1,60 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as o}from"./lit-html-paDGiEfB.js";import"./button-link-CCJAoxkm.js";const h={title:"Components/Button Link",argTypes:{label:{name:"Text"},url:{name:"URL"},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},icon:{name:"Icona",if:{arg:"showIcon"}},iconPosition:{name:"Posició de la icona",control:{type:"radio"},options:["left","right"],if:{arg:"showIcon"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={args:{label:"Button Link",url:"#",showIcon:!0,icon:"add_box",iconPosition:"left",disabled:!1},render:n=>o` - ${n.showIcon?o` - - `:o` - - `} - `},t={tags:["!dev"],render:()=>o` - - `},s={tags:["!dev"],render:()=>o` -
- - -
- - `},r={tags:["!dev"],render:()=>o` - - `};var i,a,l;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ - args: { - label: 'Button Link', - url: '#', - showIcon: true, - icon: 'add_box', - iconPosition: 'left', - disabled: false - }, - render: (args: any) => { - return html\` - \${args.showIcon ? html\` - - \` : html\` - - \`} - \`; - } -}`,...(l=(a=e.parameters)==null?void 0:a.docs)==null?void 0:l.source}}};var d,c,b;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(b=(c=t.parameters)==null?void 0:c.docs)==null?void 0:b.source}}};var u,k,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
- - \`; - } -}`,...(m=(k=s.parameters)==null?void 0:k.docs)==null?void 0:m.source}}};var p,f,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(g=(f=r.parameters)==null?void 0:f.docs)==null?void 0:g.source}}};const $=["Playground","ByDefault","Icons","Disabled"],x=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:t,Disabled:r,Icons:s,Playground:e,__namedExportsOrder:$,default:h},Symbol.toStringTag,{value:"Module"}));export{t as B,r as D,s as I,e as P,x as S}; diff --git a/rc/assets/button-link.stories-D5hTAiMW.js b/rc/assets/button-link.stories-D5hTAiMW.js deleted file mode 100644 index ab1b552..0000000 --- a/rc/assets/button-link.stories-D5hTAiMW.js +++ /dev/null @@ -1,60 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as o}from"./lit-html-paDGiEfB.js";import"./button-link-AVTPQ2S6.js";const h={title:"Components/Button Link",argTypes:{label:{name:"Text"},url:{name:"URL"},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},icon:{name:"Icona",if:{arg:"showIcon"}},iconPosition:{name:"Posició de la icona",control:{type:"radio"},options:["left","right"],if:{arg:"showIcon"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={args:{label:"Button Link",url:"#",showIcon:!0,icon:"add_box",iconPosition:"left",disabled:!1},render:n=>o` - ${n.showIcon?o` - - `:o` - - `} - `},t={tags:["!dev"],render:()=>o` - - `},s={tags:["!dev"],render:()=>o` -
- - -
- - `},r={tags:["!dev"],render:()=>o` - - `};var i,a,l;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ - args: { - label: 'Button Link', - url: '#', - showIcon: true, - icon: 'add_box', - iconPosition: 'left', - disabled: false - }, - render: (args: any) => { - return html\` - \${args.showIcon ? html\` - - \` : html\` - - \`} - \`; - } -}`,...(l=(a=e.parameters)==null?void 0:a.docs)==null?void 0:l.source}}};var d,c,b;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(b=(c=t.parameters)==null?void 0:c.docs)==null?void 0:b.source}}};var u,k,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
- - \`; - } -}`,...(m=(k=s.parameters)==null?void 0:k.docs)==null?void 0:m.source}}};var p,f,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(g=(f=r.parameters)==null?void 0:f.docs)==null?void 0:g.source}}};const $=["Playground","ByDefault","Icons","Disabled"],x=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:t,Disabled:r,Icons:s,Playground:e,__namedExportsOrder:$,default:h},Symbol.toStringTag,{value:"Module"}));export{t as B,r as D,s as I,e as P,x as S}; diff --git a/rc/assets/button.doc-Bhty-K7q.js b/rc/assets/button.doc-Bhty-K7q.js deleted file mode 100644 index 8a93de3..0000000 --- a/rc/assets/button.doc-Bhty-K7q.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-BIoGbgyG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./button-CeNEyja2.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./static-DLZyqU8Z.js";import"./class-map-2iHk_WiG.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper--dark { - display: flex; - gap: 20px; - background-color: black; - padding: 25px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Buttons són elements clicables que s'utilitzen per activar accions. Comuniquen crides a l'acció a l'usuari i -permeten als usuaris interactuar amb les pàgines de diverses maneres. Les etiquetes dels botons expressen quina acció -es produirà quan l'usuari hi interacciona.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsx(s.td,{children:"Tipus de botó. Pot ser: primary, secondary, subtle, error, warning, success, info, alternative-light, alternative-dark"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md o lg."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidden"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onlyIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"S'utilitza per crear una versió del botó que només mostra la icona. La propietat label no hauria d'incloure's si s'utilitza aquesta opció."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClick"})}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#mida-de-botons",children:"Mida de Botons"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Tipus de Botó"})}),` -`]}),` -`,e.jsx(s.h3,{id:"mida-de-botons",children:"Mida de Botons"}),` -`,e.jsxs(s.p,{children:["Per especificar la mida del botó utilitzarem la classe ",e.jsx(s.strong,{children:"dss-button-(sm | md | lg)"}),"."]}),` -`,e.jsx("hr",{}),` -`,e.jsx("h5",{children:"Text sense icona"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Text amb icona"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Botó amb icona sense text"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"tipus-de-botó",children:"Tipus de Botó"}),` -`,e.jsxs(s.p,{children:[`A continuació es mostren els diferents tipus de botons que es poden configurar. Farem servir la classe -`,e.jsx(s.strong,{children:"css-button--(primary | secondary | subtle | error | warning | success | info)"}),` per indicar el tipus de botó que -volem mostrar.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," per defecte es mostrarà el botó de mida mitjana."]})}),` -`,e.jsx("h5",{children:"Primary"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Secondary"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Subtle"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Alternative Light"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Alternative Dark"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.2"})}),e.jsx(s.td,{children:"S'ha afegit un background blanc als botons sense fons per evitar problemes en utilitzar-lo en components que no tenen un background blanc per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha corregit un error pel qual la tipografia dels botons no s'aplicava correctament."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S'ha afegit el disseny per als botons 'alternative-light' i 'alternative-dark'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.2.1"})}),e.jsx(s.td,{children:"Modificacions de les variants dels botons per a complir amb requisits d'accessibilitat en estats hover i disabled."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.1.5"})}),e.jsx(s.td,{children:"S'han ajustat el padding dels buttons medium per tal que les variants amb icona i sense, tinguin la mateixa vida."})]})]})]})]})}function R(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{R as default}; diff --git a/rc/assets/button.doc-C8NzlBbo.js b/rc/assets/button.doc-C8NzlBbo.js deleted file mode 100644 index 80392a9..0000000 --- a/rc/assets/button.doc-C8NzlBbo.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-BTDyR5mt.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./button-DbpOJUcP.js";import"./property-CzN8u98o.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./custom-element-scope-KJWplpvx.js";import"./class-map-2iHk_WiG.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper--dark { - display: flex; - gap: 20px; - background-color: black; - padding: 25px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Buttons són elements clicables que s'utilitzen per activar accions. Comuniquen crides a l'acció a l'usuari i -permeten als usuaris interactuar amb les pàgines de diverses maneres. Les etiquetes dels botons expressen quina acció -es produirà quan l'usuari hi interacciona.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsx(s.td,{children:"Tipus de botó. Pot ser: primary, secondary, subtle, error, warning, success, info, alternative-light, alternative-dark"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md o lg."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidden"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onlyIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"S'utilitza per crear una versió del botó que només mostra la icona. La propietat label no hauria d'incloure's si s'utilitza aquesta opció."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClick"})}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#mida-de-botons",children:"Mida de Botons"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Tipus de Botó"})}),` -`]}),` -`,e.jsx(s.h3,{id:"mida-de-botons",children:"Mida de Botons"}),` -`,e.jsxs(s.p,{children:["Per especificar la mida del botó utilitzarem la classe ",e.jsx(s.strong,{children:"dss-button-(sm | md | lg)"}),"."]}),` -`,e.jsx("hr",{}),` -`,e.jsx("h5",{children:"Text sense icona"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Text amb icona"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Botó amb icona sense text"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"tipus-de-botó",children:"Tipus de Botó"}),` -`,e.jsxs(s.p,{children:[`A continuació es mostren els diferents tipus de botons que es poden configurar. Farem servir la classe -`,e.jsx(s.strong,{children:"css-button--(primary | secondary | subtle | error | warning | success | info)"}),` per indicar el tipus de botó que -volem mostrar.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," per defecte es mostrarà el botó de mida mitjana."]})}),` -`,e.jsx("h5",{children:"Primary"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Secondary"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Subtle"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Alternative Light"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Alternative Dark"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.2"})}),e.jsx(s.td,{children:"S'ha afegit un background blanc als botons sense fons per evitar problemes en utilitzar-lo en components que no tenen un background blanc per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha corregit un error pel qual la tipografia dels botons no s'aplicava correctament."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S'ha afegit el disseny per als botons 'alternative-light' i 'alternative-dark'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.2.1"})}),e.jsx(s.td,{children:"Modificacions de les variants dels botons per a complir amb requisits d'accessibilitat en estats hover i disabled."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.1.5"})}),e.jsx(s.td,{children:"S'han ajustat el padding dels buttons medium per tal que les variants amb icona i sense, tinguin la mateixa vida."})]})]})]})]})}function F(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{F as default}; diff --git a/rc/assets/button.doc-DA22MZuW.js b/rc/assets/button.doc-DA22MZuW.js deleted file mode 100644 index 6a9326f..0000000 --- a/rc/assets/button.doc-DA22MZuW.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-CfBb6Vp1.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-DoKF2nNJ.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper--dark { - display: flex; - gap: 20px; - background-color: black; - padding: 25px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Buttons són elements clicables que s'utilitzen per activar accions. Comuniquen crides a l'acció a l'usuari i -permeten als usuaris interactuar amb les pàgines de diverses maneres. Les etiquetes dels botons expressen quina acció -es produirà quan l'usuari hi interacciona.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsx(s.td,{children:"Tipus de botó. Pot ser: primary, secondary, subtle, error, warning, success, info, alternative-light, alternative-dark"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md o lg."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidden"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onlyIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"S'utilitza per crear una versió del botó que només mostra la icona. La propietat label no hauria d'incloure's si s'utilitza aquesta opció."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClick"})}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#mida-de-botons",children:"Mida de Botons"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Tipus de Botó"})}),` -`]}),` -`,e.jsx(s.h3,{id:"mida-de-botons",children:"Mida de Botons"}),` -`,e.jsxs(s.p,{children:["Per especificar la mida del botó utilitzarem la classe ",e.jsx(s.strong,{children:"dss-button-(sm | md | lg)"}),"."]}),` -`,e.jsx("hr",{}),` -`,e.jsx("h5",{children:"Text sense icona"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Text amb icona"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Botó amb icona sense text"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"tipus-de-botó",children:"Tipus de Botó"}),` -`,e.jsxs(s.p,{children:[`A continuació es mostren els diferents tipus de botons que es poden configurar. Farem servir la classe -`,e.jsx(s.strong,{children:"css-button--(primary | secondary | subtle | error | warning | success | info)"}),` per indicar el tipus de botó que -volem mostrar.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," per defecte es mostrarà el botó de mida mitjana."]})}),` -`,e.jsx("h5",{children:"Primary"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Secondary"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Subtle"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Alternative Light"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Alternative Dark"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.2"})}),e.jsx(s.td,{children:"S'ha afegit un background blanc als botons sense fons per evitar problemes en utilitzar-lo en components que no tenen un background blanc per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha corregit un error pel qual la tipografia dels botons no s'aplicava correctament."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S'ha afegit el disseny per als botons 'alternative-light' i 'alternative-dark'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.2.1"})}),e.jsx(s.td,{children:"Modificacions de les variants dels botons per a complir amb requisits d'accessibilitat en estats hover i disabled."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.1.5"})}),e.jsx(s.td,{children:"S'han ajustat el padding dels buttons medium per tal que les variants amb icona i sense, tinguin la mateixa vida."})]})]})]})]})}function R(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{R as default}; diff --git a/rc/assets/button.doc-C7L-VgwO.js b/rc/assets/button.doc-DvSRl6D5.js similarity index 97% rename from rc/assets/button.doc-C7L-VgwO.js rename to rc/assets/button.doc-DvSRl6D5.js index dcdab38..e1e02c6 100644 --- a/rc/assets/button.doc-C7L-VgwO.js +++ b/rc/assets/button.doc-DvSRl6D5.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-CfBb6Vp1.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-DoKF2nNJ.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-CfBb6Vp1.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-DoKF2nNJ.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper--dark { display: flex; gap: 20px; diff --git a/rc/assets/button.doc-Lm29ByKK.js b/rc/assets/button.doc-Lm29ByKK.js deleted file mode 100644 index 87596f2..0000000 --- a/rc/assets/button.doc-Lm29ByKK.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{B as a,P as o,T as h,a as x,I as j,b as u,S as p,c as m,E as b,W as g,d as f,e as v,A as y,f as q}from"./button.stories-CfBb6Vp1.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./button-DoKF2nNJ.js";import"./property-DnLABHHV.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper--dark { - display: flex; - gap: 20px; - background-color: black; - padding: 25px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Buttons són elements clicables que s'utilitzen per activar accions. Comuniquen crides a l'acció a l'usuari i -permeten als usuaris interactuar amb les pàgines de diverses maneres. Les etiquetes dels botons expressen quina acció -es produirà quan l'usuari hi interacciona.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"type"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'primary'"}),e.jsx(s.td,{children:"Tipus de botó. Pot ser: primary, secondary, subtle, error, warning, success, info, alternative-light, alternative-dark"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md o lg."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"iconPosition"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'left'"}),e.jsx(s.td,{children:"Posició de la icona en relació amb el text. Pot ser: left o right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidden"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onlyIcon"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"S'utilitza per crear una versió del botó que només mostra la icona. La propietat label no hauria d'incloure's si s'utilitza aquesta opció."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClick"})}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#mida-de-botons",children:"Mida de Botons"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Tipus de Botó"})}),` -`]}),` -`,e.jsx(s.h3,{id:"mida-de-botons",children:"Mida de Botons"}),` -`,e.jsxs(s.p,{children:["Per especificar la mida del botó utilitzarem la classe ",e.jsx(s.strong,{children:"dss-button-(sm | md | lg)"}),"."]}),` -`,e.jsx("hr",{}),` -`,e.jsx("h5",{children:"Text sense icona"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Text amb icona"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Botó amb icona sense text"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"tipus-de-botó",children:"Tipus de Botó"}),` -`,e.jsxs(s.p,{children:[`A continuació es mostren els diferents tipus de botons que es poden configurar. Farem servir la classe -`,e.jsx(s.strong,{children:"css-button--(primary | secondary | subtle | error | warning | success | info)"}),` per indicar el tipus de botó que -volem mostrar.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," per defecte es mostrarà el botó de mida mitjana."]})}),` -`,e.jsx("h5",{children:"Primary"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Secondary"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Subtle"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Alternative Light"}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Alternative Dark"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.2"})}),e.jsx(s.td,{children:"S'ha afegit un background blanc als botons sense fons per evitar problemes en utilitzar-lo en components que no tenen un background blanc per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"Nou web component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha corregit un error pel qual la tipografia dels botons no s'aplicava correctament."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S'ha afegit el disseny per als botons 'alternative-light' i 'alternative-dark'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.2.1"})}),e.jsx(s.td,{children:"Modificacions de les variants dels botons per a complir amb requisits d'accessibilitat en estats hover i disabled."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.1.5"})}),e.jsx(s.td,{children:"S'han ajustat el padding dels buttons medium per tal que les variants amb icona i sense, tinguin la mateixa vida."})]})]})]})]})}function R(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{R as default}; diff --git a/rc/assets/button.stories-BIoGbgyG.js b/rc/assets/button.stories-BIoGbgyG.js deleted file mode 100644 index f8d4924..0000000 --- a/rc/assets/button.stories-BIoGbgyG.js +++ /dev/null @@ -1,325 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./button-CeNEyja2.js";const tt={title:"Components/Button",component:"dss-button",argTypes:{label:{name:"label",description:"Text del botó"},type:{name:"type",description:"Tipus de botó",control:{type:"select"},options:["primary","secondary","subtle","error","warning","success","info"]},size:{name:"size",description:"Mida",control:{type:"radio"},options:["sm","md","lg"]},showIcon:{name:"Control: showIcon",description:"Mostrar icona",control:{type:"boolean"}},side:{name:"iconPosition",description:"Costat",control:{type:"radio"},options:["left","right"],if:{arg:"showIcon"}},onlyIcon:{name:"onlyIcon",description:"Botó només icona",control:{type:"boolean"},if:{arg:"showIcon"}},icon:{name:"icon",description:"Icona",if:{arg:"showIcon"}},disabled:{name:"disabled",description:"Deshabilitat"}}},n={args:{label:"Button",type:"primary",size:"md",showIcon:!1,side:"left",onlyIcon:!1,icon:"add_box",disabled:!1},render:t=>t.showIcon?t.onlyIcon?s` - - - `:s` - - - `:s` - - `},o={tags:["!dev"],render:()=>s` - - - - `},d={tags:["!dev"],render:()=>s` - - - - - - - `},e={tags:["!dev"],render:()=>s` - - - - `},i={tags:["!dev"],render:()=>s` - - - - - - - - - `},b={tags:["!dev"],render:()=>s` - - - - - - - - - `},a={tags:["!dev"],render:()=>s` - - - - - - - - - `},u={tags:["!dev"],render:()=>s` - - - - - - - - - `},l={tags:["!dev"],render:()=>s` - - - - - - - - `},r={tags:["!dev"],render:()=>s` - - - - - - - - - `},c={tags:["!dev"],render:()=>s` - - - - - - - - - `},m={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},p={tags:["!dev"],render:()=>s` - - - - - - - - - `};var y,z,g;n.parameters={...n.parameters,docs:{...(y=n.parameters)==null?void 0:y.docs,source:{originalSource:`{ - args: { - label: 'Button', - type: 'primary', - size: 'md', - showIcon: false, - side: 'left', - onlyIcon: false, - icon: 'add_box', - disabled: false - }, - render: (args: { - disabled: unknown; - label: string; - type: string; - size: string; - showIcon: boolean; - side: string; - onlyIcon: boolean; - iconType: string; - icon: string; - }) => { - if (args.showIcon) { - const template = args.onlyIcon ? html\` - - - \` : html\` - - - \`; - return template; - } - return html\` - - \`; - } -}`,...(g=(z=n.parameters)==null?void 0:z.docs)==null?void 0:g.source}}};var x,_,B;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(B=(_=o.parameters)==null?void 0:_.docs)==null?void 0:B.source}}};var h,I,v;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(v=(I=d.parameters)==null?void 0:I.docs)==null?void 0:v.source}}};var P,f,S;e.parameters={...e.parameters,docs:{...(P=e.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(S=(f=e.parameters)==null?void 0:f.docs)==null?void 0:S.source}}};var $,w,k;i.parameters={...i.parameters,docs:{...($=i.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(k=(w=i.parameters)==null?void 0:w.docs)==null?void 0:k.source}}};var T,M,L;b.parameters={...b.parameters,docs:{...(T=b.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(L=(M=b.parameters)==null?void 0:M.docs)==null?void 0:L.source}}};var A,E,N;a.parameters={...a.parameters,docs:{...(A=a.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(N=(E=a.parameters)==null?void 0:E.docs)==null?void 0:N.source}}};var C,D,O;u.parameters={...u.parameters,docs:{...(C=u.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(O=(D=u.parameters)==null?void 0:D.docs)==null?void 0:O.source}}};var W,j,q;l.parameters={...l.parameters,docs:{...(W=l.parameters)==null?void 0:W.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - \`; - } -}`,...(q=(j=l.parameters)==null?void 0:j.docs)==null?void 0:q.source}}};var F,G,H;r.parameters={...r.parameters,docs:{...(F=r.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(H=(G=r.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,Q;c.parameters={...c.parameters,docs:{...(J=c.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(Q=(K=c.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var R,U,V;m.parameters={...m.parameters,docs:{...(R=m.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(V=(U=m.parameters)==null?void 0:U.docs)==null?void 0:V.source}}};var X,Y,Z;p.parameters={...p.parameters,docs:{...(X=p.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(Z=(Y=p.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};const st=["Playground","TextNoIcon","TextIcon","IconNoText","Primary","Secondary","Subtle","ErrorState","Warning","Success","Info","AltLight","AltDark"],it=Object.freeze(Object.defineProperty({__proto__:null,AltDark:p,AltLight:m,ErrorState:u,IconNoText:e,Info:c,Playground:n,Primary:i,Secondary:b,Subtle:a,Success:r,TextIcon:d,TextNoIcon:o,Warning:l,__namedExportsOrder:st,default:tt},Symbol.toStringTag,{value:"Module"}));export{m as A,it as B,u as E,e as I,n as P,b as S,o as T,l as W,d as a,i as b,a as c,r as d,c as e,p as f}; diff --git a/rc/assets/button.stories-BTDyR5mt.js b/rc/assets/button.stories-BTDyR5mt.js deleted file mode 100644 index ce372b5..0000000 --- a/rc/assets/button.stories-BTDyR5mt.js +++ /dev/null @@ -1,325 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";import"./button-DbpOJUcP.js";const tt={title:"Components/Button",component:"dss-button",argTypes:{label:{name:"label",description:"Text del botó"},type:{name:"type",description:"Tipus de botó",control:{type:"select"},options:["primary","secondary","subtle","error","warning","success","info"]},size:{name:"size",description:"Mida",control:{type:"radio"},options:["sm","md","lg"]},showIcon:{name:"Control: showIcon",description:"Mostrar icona",control:{type:"boolean"}},side:{name:"iconPosition",description:"Costat",control:{type:"radio"},options:["left","right"],if:{arg:"showIcon"}},onlyIcon:{name:"onlyIcon",description:"Botó només icona",control:{type:"boolean"},if:{arg:"showIcon"}},icon:{name:"icon",description:"Icona",if:{arg:"showIcon"}},disabled:{name:"disabled",description:"Deshabilitat"}}},n={args:{label:"Button",type:"primary",size:"md",showIcon:!1,side:"left",onlyIcon:!1,icon:"add_box",disabled:!1},render:t=>t.showIcon?t.onlyIcon?s` - - - `:s` - - - `:s` - - `},o={tags:["!dev"],render:()=>s` - - - - `},d={tags:["!dev"],render:()=>s` - - - - - - - `},e={tags:["!dev"],render:()=>s` - - - - `},i={tags:["!dev"],render:()=>s` - - - - - - - - - `},b={tags:["!dev"],render:()=>s` - - - - - - - - - `},a={tags:["!dev"],render:()=>s` - - - - - - - - - `},u={tags:["!dev"],render:()=>s` - - - - - - - - - `},l={tags:["!dev"],render:()=>s` - - - - - - - - `},r={tags:["!dev"],render:()=>s` - - - - - - - - - `},c={tags:["!dev"],render:()=>s` - - - - - - - - - `},m={tags:["!dev"],render:()=>s` -
- - - - - - - - -
- `},p={tags:["!dev"],render:()=>s` - - - - - - - - - `};var y,z,g;n.parameters={...n.parameters,docs:{...(y=n.parameters)==null?void 0:y.docs,source:{originalSource:`{ - args: { - label: 'Button', - type: 'primary', - size: 'md', - showIcon: false, - side: 'left', - onlyIcon: false, - icon: 'add_box', - disabled: false - }, - render: (args: { - disabled: unknown; - label: string; - type: string; - size: string; - showIcon: boolean; - side: string; - onlyIcon: boolean; - iconType: string; - icon: string; - }) => { - if (args.showIcon) { - const template = args.onlyIcon ? html\` - - - \` : html\` - - - \`; - return template; - } - return html\` - - \`; - } -}`,...(g=(z=n.parameters)==null?void 0:z.docs)==null?void 0:g.source}}};var x,_,B;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(B=(_=o.parameters)==null?void 0:_.docs)==null?void 0:B.source}}};var h,I,v;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(v=(I=d.parameters)==null?void 0:I.docs)==null?void 0:v.source}}};var P,f,S;e.parameters={...e.parameters,docs:{...(P=e.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(S=(f=e.parameters)==null?void 0:f.docs)==null?void 0:S.source}}};var $,w,k;i.parameters={...i.parameters,docs:{...($=i.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(k=(w=i.parameters)==null?void 0:w.docs)==null?void 0:k.source}}};var T,M,L;b.parameters={...b.parameters,docs:{...(T=b.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(L=(M=b.parameters)==null?void 0:M.docs)==null?void 0:L.source}}};var A,E,N;a.parameters={...a.parameters,docs:{...(A=a.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(N=(E=a.parameters)==null?void 0:E.docs)==null?void 0:N.source}}};var C,D,O;u.parameters={...u.parameters,docs:{...(C=u.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(O=(D=u.parameters)==null?void 0:D.docs)==null?void 0:O.source}}};var W,j,q;l.parameters={...l.parameters,docs:{...(W=l.parameters)==null?void 0:W.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - \`; - } -}`,...(q=(j=l.parameters)==null?void 0:j.docs)==null?void 0:q.source}}};var F,G,H;r.parameters={...r.parameters,docs:{...(F=r.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(H=(G=r.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,Q;c.parameters={...c.parameters,docs:{...(J=c.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(Q=(K=c.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var R,U,V;m.parameters={...m.parameters,docs:{...(R=m.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(V=(U=m.parameters)==null?void 0:U.docs)==null?void 0:V.source}}};var X,Y,Z;p.parameters={...p.parameters,docs:{...(X=p.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(Z=(Y=p.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};const st=["Playground","TextNoIcon","TextIcon","IconNoText","Primary","Secondary","Subtle","ErrorState","Warning","Success","Info","AltLight","AltDark"],it=Object.freeze(Object.defineProperty({__proto__:null,AltDark:p,AltLight:m,ErrorState:u,IconNoText:e,Info:c,Playground:n,Primary:i,Secondary:b,Subtle:a,Success:r,TextIcon:d,TextNoIcon:o,Warning:l,__namedExportsOrder:st,default:tt},Symbol.toStringTag,{value:"Module"}));export{m as A,it as B,u as E,e as I,n as P,b as S,o as T,l as W,d as a,i as b,a as c,r as d,c as e,p as f}; diff --git a/rc/assets/card.doc-BE54NK7L.js b/rc/assets/card.doc-BE54NK7L.js deleted file mode 100644 index 2e673b8..0000000 --- a/rc/assets/card.doc-BE54NK7L.js +++ /dev/null @@ -1,96 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-DJycBVjk.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - width: 500px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-card",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:`Cards are used to group information and to display related actions. Cards can include images, text, buttons, links, and data visualizations. -Les targetes s'utilitzen per agrupar informació i mostrar accions relacionades. Les targetes poden incloure imatges, text, botons, enllaços i visualitzacions de dades.`}),` -`,e.jsx(s.p,{children:"Per permetre una total flexibilitat, s'ha modularitzat tot el contingut de la targeta en subcomponents, cadascun amb les seves pròpies propietats i estils. D'aquesta manera, podrem utilitzar només aquells que necessitem sense haver de manipular propietats per amagar contingut."}),` -`,e.jsx(s.p,{children:"Els diferents elements que formen aquesta col·lecció són:"}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-tags",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info-item",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-header",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-title",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-form",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-body",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-subtitle",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-description",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(s.h4,{id:"dss-card",children:"dss-card"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragged"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet modificar l'estil del component quan la targeta està sent moguda mitjançant drag&drop. L'estil es modifica alternant el valor d'aquesta variable de false a true; l'estat de dragover o dragleave no es gestiona internament i ha de ser controlat des de la pròpia iniciativa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"deleted"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a eliminat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a deshabilitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasClose"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la funcionalitat de tancar la targeta. En fer clic al botó d'icona, el component enviarà un esdeveniment personalitzat per a notificar de l'acció, de manera que la pròpia iniciativa ha de capturar aquest esdeveniment per ocultar l'element, per exemple, modificant una variable assignada a un ngIf."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la secció de detalls que inclou les etiquetes i la informació extra."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota:"})," Les propietats deleted i disabled es propaguen dinàmicament als components fills inclosos a la targeta a través dels slots, de manera que no cal afegir-les manualment a cadascun d'ells."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-info-item",children:"dss-card-info-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"critic"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Afegeix l'estil de criticitat a l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-header",children:"dss-card-header"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"flag"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra una icona 'flag' al header."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasMenu"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un action menu al header. L'icon-button actualment no es pot modificar i el contingut del menú s'ha d'afegir manualment a través d'un slot fent ús del subcomponent dss-card-menu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-menu",children:"dss-card-menu"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"position"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'right'"}),e.jsx(s.td,{children:"Defineix la posició en la qual apareixerà el desplegable amb el menú. Pot ser: left / right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó per obrir el desplegable amb el menú. Si el component principal ja té afegida la propietat disabled, no cal afegir-la aquí, ja que es propagarà dinàmicament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-image",children:"dss-card-image"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"source"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"alt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-subtitle",children:"dss-card-subtitle"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasLink"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un enllaç dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"linkHref"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'#'"}),e.jsx(s.td,{children:"Href del enllaç."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-highlights-item",children:"dss-card-highlights-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClose"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomnEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó d'icona per tancar la targeta."})]})})]}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsx(s.p,{children:`El component principal dss-card és només un esquelet sobre el qual es poden afegir qualsevol dels subcomponents. -Per defecte, la targeta estarà buida i haurem d'anar afegint els elements que necessitem a través dels slots. -D'aquesta manera, reduïm la complexitat del component en no necessitar utilitzar una multitud de variables per ocultar contingut per defecte, -com passa en altres components.`}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#completa",children:"Completa"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-seleccionat",children:"Estat: seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-en-moviment",children:"Estat: en moviment"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-eliminat",children:"Estat: eliminat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-deshabilitat",children:"Estat: deshabilitat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasdetails",children:"Per defecte: sense incloure hasDetails"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#info-item-critic",children:"Info Item Critic"})}),` -`]}),` -`,e.jsx(s.h3,{id:"completa",children:"Completa"}),` -`,e.jsx(s.p,{children:`En el següent exemple, podem veure una targeta completa; a partir d'aquest template podrem treure o modificar qualsevol dels elements -per alinear-lo al disseny de cada iniciativa.`}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"estat-seleccionat",children:"Estat: seleccionat"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"estat-en-moviment",children:"Estat: en moviment"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"estat-eliminat",children:"Estat: eliminat"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"estat-deshabilitat",children:"Estat: deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-details",children:"Per defecte: sense incloure details"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"info-item-critic",children:"Info Item critic"}),` -`,e.jsx(n,{of:I}),` -`,e.jsx(s.h3,{id:"menu-position-left",children:"Menu Position Left"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"S'han afegit propietats per afegir una icona i un enllaç al subcomponent dss-card-subtitle."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"Nou component afegit."})]})]})]})]})}function P(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(d,{...t})}):d(t)}export{P as default}; diff --git a/rc/assets/card.doc-Cvp7Ny0F.js b/rc/assets/card.doc-Cvp7Ny0F.js deleted file mode 100644 index 1b325a7..0000000 --- a/rc/assets/card.doc-Cvp7Ny0F.js +++ /dev/null @@ -1,96 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-DJycBVjk.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - width: 500px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-card",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:`Cards are used to group information and to display related actions. Cards can include images, text, buttons, links, and data visualizations. -Les targetes s'utilitzen per agrupar informació i mostrar accions relacionades. Les targetes poden incloure imatges, text, botons, enllaços i visualitzacions de dades.`}),` -`,e.jsx(s.p,{children:"Per permetre una total flexibilitat, s'ha modularitzat tot el contingut de la targeta en subcomponents, cadascun amb les seves pròpies propietats i estils. D'aquesta manera, podrem utilitzar només aquells que necessitem sense haver de manipular propietats per amagar contingut."}),` -`,e.jsx(s.p,{children:"Els diferents elements que formen aquesta col·lecció són:"}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-tags",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info-item",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-header",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-title",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-form",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-body",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-subtitle",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-description",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(s.h4,{id:"dss-card",children:"dss-card"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragged"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet modificar l'estil del component quan la targeta està sent moguda mitjançant drag&drop. L'estil es modifica alternant el valor d'aquesta variable de false a true; l'estat de dragover o dragleave no es gestiona internament i ha de ser controlat des de la pròpia iniciativa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"deleted"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a eliminat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a deshabilitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasClose"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la funcionalitat de tancar la targeta. En fer clic al botó d'icona, el component enviarà un esdeveniment personalitzat per a notificar de l'acció, de manera que la pròpia iniciativa ha de capturar aquest esdeveniment per ocultar l'element, per exemple, modificant una variable assignada a un ngIf."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la secció de detalls que inclou les etiquetes i la informació extra."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota:"})," Les propietats deleted i disabled es propaguen dinàmicament als components fills inclosos a la targeta a través dels slots, de manera que no cal afegir-les manualment a cadascun d'ells."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-info-item",children:"dss-card-info-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"critic"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Afegeix l'estil de criticitat a l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-header",children:"dss-card-header"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"flag"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra una icona 'flag' al header."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasMenu"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un action menu al header. L'icon-button actualment no es pot modificar i el contingut del menú s'ha d'afegir manualment a través d'un slot fent ús del subcomponent dss-card-menu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-menu",children:"dss-card-menu"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"position"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'right'"}),e.jsx(s.td,{children:"Defineix la posició en la qual apareixerà el desplegable amb el menú. Pot ser: left / right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó per obrir el desplegable amb el menú. Si el component principal ja té afegida la propietat disabled, no cal afegir-la aquí, ja que es propagarà dinàmicament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-image",children:"dss-card-image"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"source"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"alt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-subtitle",children:"dss-card-subtitle"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasLink"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un enllaç dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"linkHref"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'#'"}),e.jsx(s.td,{children:"Href del enllaç."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-highlights-item",children:"dss-card-highlights-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClose"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomnEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó d'icona per tancar la targeta."})]})})]}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsx(s.p,{children:`El component principal dss-card és només un esquelet sobre el qual es poden afegir qualsevol dels subcomponents. -Per defecte, la targeta estarà buida i haurem d'anar afegint els elements que necessitem a través dels slots. -D'aquesta manera, reduïm la complexitat del component en no necessitar utilitzar una multitud de variables per ocultar contingut per defecte, -com passa en altres components.`}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#completa",children:"Completa"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-seleccionat",children:"Estat: seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-en-moviment",children:"Estat: en moviment"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-eliminat",children:"Estat: eliminat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-deshabilitat",children:"Estat: deshabilitat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasdetails",children:"Per defecte: sense incloure hasDetails"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#info-item-critic",children:"Info Item Critic"})}),` -`]}),` -`,e.jsx(s.h3,{id:"completa",children:"Completa"}),` -`,e.jsx(s.p,{children:`En el següent exemple, podem veure una targeta completa; a partir d'aquest template podrem treure o modificar qualsevol dels elements -per alinear-lo al disseny de cada iniciativa.`}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"estat-seleccionat",children:"Estat: seleccionat"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"estat-en-moviment",children:"Estat: en moviment"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"estat-eliminat",children:"Estat: eliminat"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"estat-deshabilitat",children:"Estat: deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-details",children:"Per defecte: sense incloure details"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"info-item-critic",children:"Info Item critic"}),` -`,e.jsx(n,{of:I}),` -`,e.jsx(s.h3,{id:"menu-position-left",children:"Menu Position Left"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"S'han afegit propietats per afegir una icona i un enllaç al subcomponent dss-card-subtitle."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"Nou component afegit."})]})]})]})]})}function P(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(d,{...t})}):d(t)}export{P as default}; diff --git a/rc/assets/card.doc-D66SJ6a2.js b/rc/assets/card.doc-D66SJ6a2.js deleted file mode 100644 index b8c6f57..0000000 --- a/rc/assets/card.doc-D66SJ6a2.js +++ /dev/null @@ -1,96 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-BPBRsOVy.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - width: 500px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-card",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:`Cards are used to group information and to display related actions. Cards can include images, text, buttons, links, and data visualizations. -Les targetes s'utilitzen per agrupar informació i mostrar accions relacionades. Les targetes poden incloure imatges, text, botons, enllaços i visualitzacions de dades.`}),` -`,e.jsx(s.p,{children:"Per permetre una total flexibilitat, s'ha modularitzat tot el contingut de la targeta en subcomponents, cadascun amb les seves pròpies propietats i estils. D'aquesta manera, podrem utilitzar només aquells que necessitem sense haver de manipular propietats per amagar contingut."}),` -`,e.jsx(s.p,{children:"Els diferents elements que formen aquesta col·lecció són:"}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-tags",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info-item",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-header",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-title",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-form",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-body",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-subtitle",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-description",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(s.h4,{id:"dss-card",children:"dss-card"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragged"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet modificar l'estil del component quan la targeta està sent moguda mitjançant drag&drop. L'estil es modifica alternant el valor d'aquesta variable de false a true; l'estat de dragover o dragleave no es gestiona internament i ha de ser controlat des de la pròpia iniciativa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"deleted"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a eliminat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a deshabilitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasClose"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la funcionalitat de tancar la targeta. En fer clic al botó d'icona, el component enviarà un esdeveniment personalitzat per a notificar de l'acció, de manera que la pròpia iniciativa ha de capturar aquest esdeveniment per ocultar l'element, per exemple, modificant una variable assignada a un ngIf."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la secció de detalls que inclou les etiquetes i la informació extra."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota:"})," Les propietats deleted i disabled es propaguen dinàmicament als components fills inclosos a la targeta a través dels slots, de manera que no cal afegir-les manualment a cadascun d'ells."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-info-item",children:"dss-card-info-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"critic"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Afegeix l'estil de criticitat a l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-header",children:"dss-card-header"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"flag"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra una icona 'flag' al header."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasMenu"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un action menu al header. L'icon-button actualment no es pot modificar i el contingut del menú s'ha d'afegir manualment a través d'un slot fent ús del subcomponent dss-card-menu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-menu",children:"dss-card-menu"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"position"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'right'"}),e.jsx(s.td,{children:"Defineix la posició en la qual apareixerà el desplegable amb el menú. Pot ser: left / right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó per obrir el desplegable amb el menú. Si el component principal ja té afegida la propietat disabled, no cal afegir-la aquí, ja que es propagarà dinàmicament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-image",children:"dss-card-image"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"source"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"alt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-subtitle",children:"dss-card-subtitle"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasLink"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un enllaç dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"linkHref"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'#'"}),e.jsx(s.td,{children:"Href del enllaç."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-highlights-item",children:"dss-card-highlights-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClose"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomnEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó d'icona per tancar la targeta."})]})})]}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsx(s.p,{children:`El component principal dss-card és només un esquelet sobre el qual es poden afegir qualsevol dels subcomponents. -Per defecte, la targeta estarà buida i haurem d'anar afegint els elements que necessitem a través dels slots. -D'aquesta manera, reduïm la complexitat del component en no necessitar utilitzar una multitud de variables per ocultar contingut per defecte, -com passa en altres components.`}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#completa",children:"Completa"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-seleccionat",children:"Estat: seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-en-moviment",children:"Estat: en moviment"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-eliminat",children:"Estat: eliminat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-deshabilitat",children:"Estat: deshabilitat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasdetails",children:"Per defecte: sense incloure hasDetails"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#info-item-critic",children:"Info Item Critic"})}),` -`]}),` -`,e.jsx(s.h3,{id:"completa",children:"Completa"}),` -`,e.jsx(s.p,{children:`En el següent exemple, podem veure una targeta completa; a partir d'aquest template podrem treure o modificar qualsevol dels elements -per alinear-lo al disseny de cada iniciativa.`}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"estat-seleccionat",children:"Estat: seleccionat"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"estat-en-moviment",children:"Estat: en moviment"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"estat-eliminat",children:"Estat: eliminat"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"estat-deshabilitat",children:"Estat: deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-details",children:"Per defecte: sense incloure details"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"info-item-critic",children:"Info Item critic"}),` -`,e.jsx(n,{of:I}),` -`,e.jsx(s.h3,{id:"menu-position-left",children:"Menu Position Left"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"S'han afegit propietats per afegir una icona i un enllaç al subcomponent dss-card-subtitle."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"Nou component afegit."})]})]})]})]})}function P(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(d,{...t})}):d(t)}export{P as default}; diff --git a/rc/assets/card.doc-DLz1uIPp.js b/rc/assets/card.doc-DLz1uIPp.js deleted file mode 100644 index 07f92ba..0000000 --- a/rc/assets/card.doc-DLz1uIPp.js +++ /dev/null @@ -1,96 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-BPBRsOVy.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - width: 500px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-card",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:`Cards are used to group information and to display related actions. Cards can include images, text, buttons, links, and data visualizations. -Les targetes s'utilitzen per agrupar informació i mostrar accions relacionades. Les targetes poden incloure imatges, text, botons, enllaços i visualitzacions de dades.`}),` -`,e.jsx(s.p,{children:"Per permetre una total flexibilitat, s'ha modularitzat tot el contingut de la targeta en subcomponents, cadascun amb les seves pròpies propietats i estils. D'aquesta manera, podrem utilitzar només aquells que necessitem sense haver de manipular propietats per amagar contingut."}),` -`,e.jsx(s.p,{children:"Els diferents elements que formen aquesta col·lecció són:"}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-tags",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-info-item",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-header",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-title",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx("dss-badge",{text:"dss-card-menu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-form",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-body",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-subtitle",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-card-description",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(s.h4,{id:"dss-card",children:"dss-card"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragged"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet modificar l'estil del component quan la targeta està sent moguda mitjançant drag&drop. L'estil es modifica alternant el valor d'aquesta variable de false a true; l'estat de dragover o dragleave no es gestiona internament i ha de ser controlat des de la pròpia iniciativa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"deleted"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a eliminat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Marca el component com a deshabilitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasClose"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la funcionalitat de tancar la targeta. En fer clic al botó d'icona, el component enviarà un esdeveniment personalitzat per a notificar de l'acció, de manera que la pròpia iniciativa ha de capturar aquest esdeveniment per ocultar l'element, per exemple, modificant una variable assignada a un ngIf."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la secció de detalls que inclou les etiquetes i la informació extra."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota:"})," Les propietats deleted i disabled es propaguen dinàmicament als components fills inclosos a la targeta a través dels slots, de manera que no cal afegir-les manualment a cadascun d'ells."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-info-item",children:"dss-card-info-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"critic"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Afegeix l'estil de criticitat a l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-header",children:"dss-card-header"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"flag"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra una icona 'flag' al header."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasMenu"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un action menu al header. L'icon-button actualment no es pot modificar i el contingut del menú s'ha d'afegir manualment a través d'un slot fent ús del subcomponent dss-card-menu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-menu",children:"dss-card-menu"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"position"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'right'"}),e.jsx(s.td,{children:"Defineix la posició en la qual apareixerà el desplegable amb el menú. Pot ser: left / right."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Deshabilita el botó per obrir el desplegable amb el menú. Si el component principal ja té afegida la propietat disabled, no cal afegir-la aquí, ja que es propagarà dinàmicament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-image",children:"dss-card-image"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"source"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"alt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-subtitle",children:"dss-card-subtitle"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la icona dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'add_box'"}),e.jsx(s.td,{children:"Icona."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasLink"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita un enllaç dins del subtítol."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"linkHref"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'#'"}),e.jsx(s.td,{children:"Href del enllaç."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-card-highlights-item",children:"dss-card-highlights-item"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol que es mostrarà a l'element."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada davant del text."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"text"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Item'"}),e.jsx(s.td,{children:"Text que es mostrarà a l'element."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onClose"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomnEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó d'icona per tancar la targeta."})]})})]}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsx(s.p,{children:`El component principal dss-card és només un esquelet sobre el qual es poden afegir qualsevol dels subcomponents. -Per defecte, la targeta estarà buida i haurem d'anar afegint els elements que necessitem a través dels slots. -D'aquesta manera, reduïm la complexitat del component en no necessitar utilitzar una multitud de variables per ocultar contingut per defecte, -com passa en altres components.`}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#completa",children:"Completa"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-seleccionat",children:"Estat: seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-en-moviment",children:"Estat: en moviment"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-eliminat",children:"Estat: eliminat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estat-deshabilitat",children:"Estat: deshabilitat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasdetails",children:"Per defecte: sense incloure hasDetails"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#info-item-critic",children:"Info Item Critic"})}),` -`]}),` -`,e.jsx(s.h3,{id:"completa",children:"Completa"}),` -`,e.jsx(s.p,{children:`En el següent exemple, podem veure una targeta completa; a partir d'aquest template podrem treure o modificar qualsevol dels elements -per alinear-lo al disseny de cada iniciativa.`}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"estat-seleccionat",children:"Estat: seleccionat"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"estat-en-moviment",children:"Estat: en moviment"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"estat-eliminat",children:"Estat: eliminat"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"estat-deshabilitat",children:"Estat: deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasclose",children:"Per defecte: sense incloure hasClose"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-details",children:"Per defecte: sense incloure details"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-flag",children:"Per defecte: sense incloure flag"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(s.h3,{id:"per-defecte-sense-incloure-hasmenu",children:"Per defecte: sense incloure hasMenu"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"info-item-critic",children:"Info Item critic"}),` -`,e.jsx(n,{of:I}),` -`,e.jsx(s.h3,{id:"menu-position-left",children:"Menu Position Left"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.11.0"})}),e.jsx(s.td,{children:"S'han afegit propietats per afegir una icona i un enllaç al subcomponent dss-card-subtitle."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"Nou component afegit."})]})]})]})]})}function P(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(d,{...t})}):d(t)}export{P as default}; diff --git a/rc/assets/card.doc-CPLUv20D.js b/rc/assets/card.doc-DqAPqJv0.js similarity index 98% rename from rc/assets/card.doc-CPLUv20D.js rename to rc/assets/card.doc-DqAPqJv0.js index 66e3dc2..26b0ab7 100644 --- a/rc/assets/card.doc-CPLUv20D.js +++ b/rc/assets/card.doc-DqAPqJv0.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-BPBRsOVy.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as l,ah as n,ai as a}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as c,P as h,F as x,a as o,M as j,D as u,b as m,N as p,c as f,d as b,e as g,I,f as v}from"./card.stories-BPBRsOVy.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(t){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper{ flex-direction: column; align-items: flex-start; diff --git a/rc/assets/card.stories-DJycBVjk.js b/rc/assets/card.stories-DJycBVjk.js deleted file mode 100644 index d44b664..0000000 --- a/rc/assets/card.stories-DJycBVjk.js +++ /dev/null @@ -1,630 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const ds={title:"Collections/Card",argTypes:{status:{name:"Status",control:{type:"select"},options:["default","selected","dragged","deleted","disabled"]},type:{name:"Tipus",control:{type:"select"},options:["default","informative"]},showClose:{name:"Mostrar botó de tancament",control:{type:"boolean"}},showDetails:{name:"Mostrar detalls",control:{type:"boolean"}},showTags:{name:"Mostrar tags",control:{type:"boolean"},if:{arg:"showDetails",truthy:!0}},tags:{name:"Nombre d'etiquetes",control:{type:"number",max:10,min:1},if:{arg:"showTags",truthy:!0}},showInfo:{name:"Mostrar informació",control:{type:"boolean"},if:{arg:"showDetails",truthy:!0}},info:{name:"Nombre d'elements d'informació",control:{type:"number",max:10,min:1},if:{arg:"showInfo",truthy:!0}},showHeader:{name:"Mostrar Header",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"},if:{arg:"showHeader",truthy:!0}},showFlag:{name:"Mostrar Flag",control:{type:"boolean"},if:{arg:"showHeader",truthy:!0}},showMenu:{name:"Mostrar menu",control:{type:"boolean"},if:{arg:"showHeader",truthy:!0}},menuPosition:{name:"Posició del menú",control:{type:"select"},options:["right","left"],if:{arg:"showMenu",truthy:!0}},showForm:{name:"Mostrar formulari",control:{type:"boolean"}},showImage:{name:"Mostrar imatge",control:{type:"boolean"}},imageURL:{name:"URL de la imatge",control:{type:"text"},if:{arg:"showImage",truthy:!0}},imageALT:{name:"Text alternatiu de la imatge",control:{type:"text"},if:{arg:"showImage",truthy:!0}},showBody:{name:"Mostrar Body",control:{type:"boolean"}},subtitle:{name:"Subtítol",control:{type:"text"},if:{arg:"showBody",truthy:!0}},subtitleHasIcon:{name:"Mostra icona dins del subtítol",control:{type:"boolean"},if:{arg:"showBody",truthy:!0}},subtitleIcon:{name:"Subtítol icona",control:{type:"text"},if:{arg:"subtitleHasIcon",truthy:!0}},subtitleHasLink:{name:"Mostra enllaç dins del subtítol",control:{type:"boolean"},if:{arg:"showBody",truthy:!0}},subtitleHref:{name:"Subtítol enllaç",control:{type:"text"},if:{arg:"subtitleHasLink",truthy:!0}},description:{name:"Descripció",control:{type:"text"},if:{arg:"showBody",truthy:!0}},showHighlights:{name:"Mostrar Highlights",control:{type:"boolean"}},highlights:{name:"Nombre de highlights",control:{type:"number",max:3,min:1},if:{arg:"showHighlights",truthy:!0}},showFooter:{name:"Mostrar Footer",control:{type:"boolean"}}},parameters:{layout:"centered"}},c={args:{status:"default",showClose:!0,showDetails:!0,showTags:!0,tags:2,showInfo:!0,info:2,showHeader:!0,title:"Title",showFlag:!0,showMenu:!0,menuPosition:"right",showForm:!0,showImage:!0,imageURL:"https://placehold.co/500x124/0073e6/FFF?text=Card+Image",imageALT:"Image description",showBody:!0,subtitle:"Subtitle",subtitleHasIcon:!1,subtitleIcon:"add_box",subtitleHasLink:!1,subtitleHref:"#",description:"Lorem ipsum dolor sit amet consectetur. Adipiscing dui vel id nibh. Euismod tortor tempus praesent adipiscing dictum lacus aliquam mollis eu.Lorem ipsum dolor sit amet consectetur.",showHighlights:!0,highlights:3,showFooter:!0},render:t=>s` -
- - ${t.showTags?s` - - ${Array.from({length:t.tags},()=>s` `)} - - `:null} - ${t.showInfo?s` - - ${Array.from({length:t.info},()=>s` `)} - - `:null} - ${t.showHeader?s` - - ${t.title} - ${t.showMenu?s` - - - - - - - - - `:null} - - `:null} - ${t.showForm?s` - - - - - - - `:null} - ${t.showImage?s` - - `:null} - ${t.showBody?s` - - ${t.subtitle} - ${t.description} - - `:null} - ${t.showHighlights?s` - - ${Array.from({length:t.highlights},()=>s``)} - - `:null} - ${t.showFooter?s` - - - - - - `:null} - -
- `},o=s` - - - - -`,l=s` - - - - -`,i=s` - - - - - - - - -`,e=s` - - - - - - -`,a=s` - -`,d=s` - - - Subtitle - - - Lorem ipsum dolor sit amet consectetur. Adipiscing dui vel id nibh. Euismod tortor tempus praesent adipiscing dictum - lacus aliquam mollis eu.Lorem ipsum dolor sit amet consectetur. - - -`,r=s` - - - - - -`,n=s` - - - - - -`,u={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},h={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},m={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},g={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},$={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},b={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},p={tags:["!dev"],render:()=>s` -
- - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},f={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},y={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},I={tags:["!dev"],render:()=>s` -
- - ${o} - - - - - - Title - ${i} - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `},w={tags:["!dev"],render:()=>s` -
- - ${o} - ${l} - - Title - - - - - - - - - - ${e} - ${a} - ${d} - ${r} - ${n} - -
- `};var x,v,M;c.parameters={...c.parameters,docs:{...(x=c.parameters)==null?void 0:x.docs,source:{originalSource:`{ - args: { - status: 'default', - showClose: true, - showDetails: true, - showTags: true, - tags: 2, - showInfo: true, - info: 2, - showHeader: true, - title: 'Title', - showFlag: true, - showMenu: true, - menuPosition: 'right', - showForm: true, - showImage: true, - imageURL: 'https://placehold.co/500x124/0073e6/FFF?text=Card+Image', - imageALT: 'Image description', - showBody: true, - subtitle: 'Subtitle', - subtitleHasIcon: false, - subtitleIcon: 'add_box', - subtitleHasLink: false, - subtitleHref: '#', - description: 'Lorem ipsum dolor sit amet consectetur. Adipiscing dui vel id nibh. Euismod tortor tempus praesent adipiscing dictum lacus aliquam mollis eu.Lorem ipsum dolor sit amet consectetur.', - showHighlights: true, - highlights: 3, - showFooter: true - }, - render: (args: any) => { - return html\` -
- - \${args.showTags ? html\` - - \${Array.from({ - length: args.tags - }, () => html\` \`)} - - \` : null} - \${args.showInfo ? html\` - - \${Array.from({ - length: args.info - }, () => html\` \`)} - - \` : null} - \${args.showHeader ? html\` - - \${args.title} - \${args.showMenu ? html\` - - - - - - - - - \` : null} - - \` : null} - \${args.showForm ? html\` - - - - - - - \` : null} - \${args.showImage ? html\` - - \` : null} - \${args.showBody ? html\` - - \${args.subtitle} - \${args.description} - - \` : null} - \${args.showHighlights ? html\` - - \${Array.from({ - length: args.highlights - }, () => html\`\`)} - - \` : null} - \${args.showFooter ? html\` - - - - - - \` : null} - -
- \`; - } -}`,...(M=(v=c.parameters)==null?void 0:v.docs)==null?void 0:M.source}}};var T,F,_;u.parameters={...u.parameters,docs:{...(T=u.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(_=(F=u.parameters)==null?void 0:F.docs)==null?void 0:_.source}}};var H,C,D;h.parameters={...h.parameters,docs:{...(H=h.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(D=(C=h.parameters)==null?void 0:C.docs)==null?void 0:D.source}}};var A,B,L;m.parameters={...m.parameters,docs:{...(A=m.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(L=(B=m.parameters)==null?void 0:B.docs)==null?void 0:L.source}}};var S,N,k;g.parameters={...g.parameters,docs:{...(S=g.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(k=(N=g.parameters)==null?void 0:N.docs)==null?void 0:k.source}}};var P,E,R;$.parameters={...$.parameters,docs:{...(P=$.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(R=(E=$.parameters)==null?void 0:E.docs)==null?void 0:R.source}}};var U,z,q;b.parameters={...b.parameters,docs:{...(U=b.parameters)==null?void 0:U.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(q=(z=b.parameters)==null?void 0:z.docs)==null?void 0:q.source}}};var O,j,G;p.parameters={...p.parameters,docs:{...(O=p.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(G=(j=p.parameters)==null?void 0:j.docs)==null?void 0:G.source}}};var J,K,Q;f.parameters={...f.parameters,docs:{...(J=f.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(Q=(K=f.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var V,W,X;y.parameters={...y.parameters,docs:{...(V=y.parameters)==null?void 0:V.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(X=(W=y.parameters)==null?void 0:W.docs)==null?void 0:X.source}}};var Y,Z,ss;I.parameters={...I.parameters,docs:{...(Y=I.parameters)==null?void 0:Y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - - - - - - Title - \${cardMenu} - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(ss=(Z=I.parameters)==null?void 0:Z.docs)==null?void 0:ss.source}}};var ts,es,as;w.parameters={...w.parameters,docs:{...(ts=w.parameters)==null?void 0:ts.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - \${cardTags} - \${cardInfo} - - Title - - - - - - - - - - \${cardForm} - \${cardImage} - \${cardBody} - \${cardHighlights} - \${cardFooter} - -
- \`; - } -}`,...(as=(es=w.parameters)==null?void 0:es.docs)==null?void 0:as.source}}};const rs=["Playground","FullCard","Selected","Moving","Deleted","Disabled","NoCloseIcon","NoDetails","NoFlag","NoMenu","InfoItemCritic","MenuLeft"],os=Object.freeze(Object.defineProperty({__proto__:null,Deleted:g,Disabled:$,FullCard:u,InfoItemCritic:I,MenuLeft:w,Moving:m,NoCloseIcon:b,NoDetails:p,NoFlag:f,NoMenu:y,Playground:c,Selected:h,__namedExportsOrder:rs,default:ds},Symbol.toStringTag,{value:"Module"}));export{g as D,u as F,I,m as M,b as N,c as P,os as S,h as a,$ as b,p as c,f as d,y as e,w as f}; diff --git a/rc/assets/chat-message.doc-Dic3-N4s.js b/rc/assets/chat-message.doc-Dic3-N4s.js deleted file mode 100644 index 263d3cf..0000000 --- a/rc/assets/chat-message.doc-Dic3-N4s.js +++ /dev/null @@ -1,42 +0,0 @@ -import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-BhZXpuNm.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-chat-message",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component de xat sutilitza per mostrar els registres de xat anteriors i en temps real entre els professionals i els seus pacients. -Els missatges de xat han d'estar formats pel text del missatge i les metadades del missatge, inclosos el nom de la persona i l'hora en què el missatge s'ha enviat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["username",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom o rol de lusuari."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["message",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text del missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["date",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Data a la qual es va fer el missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["who",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Indica si el missatge el va enviar el pacient o un professional. Pot ser: ",e.jsx(s.em,{children:"patient"})," o ",e.jsx(s.em,{children:"doctor"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarImageUrl"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge que es mostrés dins de l'avatar."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarName"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom del que es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarSurname"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cognom del qual es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-pacient",children:"Enviat per pacient"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-professional",children:"Enviat per professional"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-imatge",children:"Avatar amb imatge"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-nom",children:"Avatar amb nom"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-xat",children:"Exemple xat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-pacient",children:"Enviat per pacient"}),` -`,e.jsx(a,{of:o}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-professionals",children:"Enviat per professionals"}),` -`,e.jsx(a,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"}),` -`,e.jsx(a,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"avatar-amb-imatge",children:"Avatar amb imatge"}),` -`,e.jsx(a,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"exemple-xat",children:"Exemple xat"}),` -`,e.jsxs(s.p,{children:["Per al contenidor del xat haurem de fer servir una classe que apliqui un ",e.jsx(s.code,{children:"display:grid"})," al costat d'un ",e.jsx(s.code,{children:"gap: var(--dss-spacing-lg)"})," (24px)."]}),` -`,e.jsx(a,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["Se ha añadido el componente para mostrar la conversación entre profesionales y pacientes, donde tendremos el mensaje y su metadata relacionada (autor, avatar, fecha y archivos adjuntos si los hubiera).",e.jsx("br",{}),"S'ha afegit el component per a mostrar la conversa entre professionals i pacients, on tindrem el missatge i el seu metadata relacionat (autor, avatar, data i arxius adjunts si n'hi hagués)"]})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(n,{...r})}):n(r)}export{A as default}; diff --git a/rc/assets/chat-message.doc-DunA7w4f.js b/rc/assets/chat-message.doc-DunA7w4f.js deleted file mode 100644 index b81063c..0000000 --- a/rc/assets/chat-message.doc-DunA7w4f.js +++ /dev/null @@ -1,42 +0,0 @@ -import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-gbmUYz7d.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-chat-message",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component de xat sutilitza per mostrar els registres de xat anteriors i en temps real entre els professionals i els seus pacients. -Els missatges de xat han d'estar formats pel text del missatge i les metadades del missatge, inclosos el nom de la persona i l'hora en què el missatge s'ha enviat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["username",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom o rol de lusuari."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["message",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text del missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["date",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Data a la qual es va fer el missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["who",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Indica si el missatge el va enviar el pacient o un professional. Pot ser: ",e.jsx(s.em,{children:"patient"})," o ",e.jsx(s.em,{children:"doctor"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarImageUrl"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge que es mostrés dins de l'avatar."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarName"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom del que es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarSurname"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cognom del qual es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-pacient",children:"Enviat per pacient"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-professional",children:"Enviat per professional"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-imatge",children:"Avatar amb imatge"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-nom",children:"Avatar amb nom"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-xat",children:"Exemple xat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-pacient",children:"Enviat per pacient"}),` -`,e.jsx(a,{of:o}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-professionals",children:"Enviat per professionals"}),` -`,e.jsx(a,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"}),` -`,e.jsx(a,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"avatar-amb-imatge",children:"Avatar amb imatge"}),` -`,e.jsx(a,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"exemple-xat",children:"Exemple xat"}),` -`,e.jsxs(s.p,{children:["Per al contenidor del xat haurem de fer servir una classe que apliqui un ",e.jsx(s.code,{children:"display:grid"})," al costat d'un ",e.jsx(s.code,{children:"gap: var(--dss-spacing-lg)"})," (24px)."]}),` -`,e.jsx(a,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["Se ha añadido el componente para mostrar la conversación entre profesionales y pacientes, donde tendremos el mensaje y su metadata relacionada (autor, avatar, fecha y archivos adjuntos si los hubiera).",e.jsx("br",{}),"S'ha afegit el component per a mostrar la conversa entre professionals i pacients, on tindrem el missatge i el seu metadata relacionat (autor, avatar, data i arxius adjunts si n'hi hagués)"]})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(n,{...r})}):n(r)}export{A as default}; diff --git a/rc/assets/chat-message.doc-RgxDr-jX.js b/rc/assets/chat-message.doc-RgxDr-jX.js deleted file mode 100644 index b5e779b..0000000 --- a/rc/assets/chat-message.doc-RgxDr-jX.js +++ /dev/null @@ -1,42 +0,0 @@ -import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-BhZXpuNm.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-chat-message",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component de xat sutilitza per mostrar els registres de xat anteriors i en temps real entre els professionals i els seus pacients. -Els missatges de xat han d'estar formats pel text del missatge i les metadades del missatge, inclosos el nom de la persona i l'hora en què el missatge s'ha enviat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["username",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom o rol de lusuari."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["message",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text del missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["date",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Data a la qual es va fer el missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["who",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Indica si el missatge el va enviar el pacient o un professional. Pot ser: ",e.jsx(s.em,{children:"patient"})," o ",e.jsx(s.em,{children:"doctor"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarImageUrl"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge que es mostrés dins de l'avatar."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarName"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom del que es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarSurname"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cognom del qual es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-pacient",children:"Enviat per pacient"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-professional",children:"Enviat per professional"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-imatge",children:"Avatar amb imatge"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-nom",children:"Avatar amb nom"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-xat",children:"Exemple xat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-pacient",children:"Enviat per pacient"}),` -`,e.jsx(a,{of:o}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-professionals",children:"Enviat per professionals"}),` -`,e.jsx(a,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"}),` -`,e.jsx(a,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"avatar-amb-imatge",children:"Avatar amb imatge"}),` -`,e.jsx(a,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"exemple-xat",children:"Exemple xat"}),` -`,e.jsxs(s.p,{children:["Per al contenidor del xat haurem de fer servir una classe que apliqui un ",e.jsx(s.code,{children:"display:grid"})," al costat d'un ",e.jsx(s.code,{children:"gap: var(--dss-spacing-lg)"})," (24px)."]}),` -`,e.jsx(a,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["Se ha añadido el componente para mostrar la conversación entre profesionales y pacientes, donde tendremos el mensaje y su metadata relacionada (autor, avatar, fecha y archivos adjuntos si los hubiera).",e.jsx("br",{}),"S'ha afegit el component per a mostrar la conversa entre professionals i pacients, on tindrem el missatge i el seu metadata relacionat (autor, avatar, data i arxius adjunts si n'hi hagués)"]})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(n,{...r})}):n(r)}export{A as default}; diff --git a/rc/assets/chat-message.doc-c0X95WWp.js b/rc/assets/chat-message.doc-c0X95WWp.js deleted file mode 100644 index cfc1867..0000000 --- a/rc/assets/chat-message.doc-c0X95WWp.js +++ /dev/null @@ -1,42 +0,0 @@ -import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-gbmUYz7d.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-chat-message",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component de xat sutilitza per mostrar els registres de xat anteriors i en temps real entre els professionals i els seus pacients. -Els missatges de xat han d'estar formats pel text del missatge i les metadades del missatge, inclosos el nom de la persona i l'hora en què el missatge s'ha enviat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["username",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom o rol de lusuari."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["message",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text del missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["date",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Data a la qual es va fer el missatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["who",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Indica si el missatge el va enviar el pacient o un professional. Pot ser: ",e.jsx(s.em,{children:"patient"})," o ",e.jsx(s.em,{children:"doctor"}),"."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarImageUrl"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"URL de la imatge que es mostrés dins de l'avatar."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarName"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom del que es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"avatarSurname"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cognom del qual es capturarà la primera lletra per mostrar-la a l'avatar en cas que no hi hagi imatge."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-pacient",children:"Enviat per pacient"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#enviat-per-professional",children:"Enviat per professional"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-imatge",children:"Avatar amb imatge"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#avatar-amb-nom",children:"Avatar amb nom"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-xat",children:"Exemple xat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-pacient",children:"Enviat per pacient"}),` -`,e.jsx(a,{of:o}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"enviat-per-professionals",children:"Enviat per professionals"}),` -`,e.jsx(a,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"missatge-amb-fitxers-adjunts",children:"Missatge amb fitxers adjunts"}),` -`,e.jsx(a,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"avatar-amb-imatge",children:"Avatar amb imatge"}),` -`,e.jsx(a,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"exemple-xat",children:"Exemple xat"}),` -`,e.jsxs(s.p,{children:["Per al contenidor del xat haurem de fer servir una classe que apliqui un ",e.jsx(s.code,{children:"display:grid"})," al costat d'un ",e.jsx(s.code,{children:"gap: var(--dss-spacing-lg)"})," (24px)."]}),` -`,e.jsx(a,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["Se ha añadido el componente para mostrar la conversación entre profesionales y pacientes, donde tendremos el mensaje y su metadata relacionada (autor, avatar, fecha y archivos adjuntos si los hubiera).",e.jsx("br",{}),"S'ha afegit el component per a mostrar la conversa entre professionals i pacients, on tindrem el missatge i el seu metadata relacionat (autor, avatar, data i arxius adjunts si n'hi hagués)"]})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(n,{...r})}):n(r)}export{A as default}; diff --git a/rc/assets/chat-message.doc-CiOxehXy.js b/rc/assets/chat-message.doc-yR96luyf.js similarity index 96% rename from rc/assets/chat-message.doc-CiOxehXy.js rename to rc/assets/chat-message.doc-yR96luyf.js index 320d5d6..82cec95 100644 --- a/rc/assets/chat-message.doc-CiOxehXy.js +++ b/rc/assets/chat-message.doc-yR96luyf.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-BhZXpuNm.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` +import{ae as e,af as i,ag as d,ah as a,ai as l}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{C as c,P as h,S as o,a as x,A as j,I as m,F as p}from"./chat-message.stories-BhZXpuNm.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./avatar-doctor-BBv5l1RE.js";function n(r){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:c}),` `,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-chat-message",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` `,e.jsx(s.p,{children:`El component de xat sutilitza per mostrar els registres de xat anteriors i en temps real entre els professionals i els seus pacients. Els missatges de xat han d'estar formats pel text del missatge i les metadades del missatge, inclosos el nom de la persona i l'hora en què el missatge s'ha enviat.`}),` diff --git a/rc/assets/chat-message.stories-gbmUYz7d.js b/rc/assets/chat-message.stories-gbmUYz7d.js deleted file mode 100644 index 6c4929e..0000000 --- a/rc/assets/chat-message.stories-gbmUYz7d.js +++ /dev/null @@ -1,337 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";import{a as u}from"./avatar-doctor-BBv5l1RE.js";const V={title:"Components/Chat Message",argTypes:{text:{name:"Missatge",control:{type:"text"}},date:{name:"Data",control:{type:"text"}},username:{name:"Nom",control:{type:"text"}},who:{name:"Identitat",control:{type:"radio"},options:["patient","doctor"]},showAttachments:{name:"Mostrar fitxers adjunts",control:{type:"boolean"}},showAvatarImage:{name:"Mostrar imatge de avatar",control:{type:"boolean"}},avatarImageURL:{name:"Imatge de avatar URL",control:{type:"text"},if:{arg:"showAvatarImage",truthy:!0}},avatarName:{name:"Avatar: Imatge URL",control:{type:"text"},if:{arg:"showAvatarImage",truthy:!1}},avatarLastname:{name:"Avatar: Cognom",control:{type:"text"},if:{arg:"showAvatarImage",truthy:!1}}},parameters:{layout:"centered"}},e={args:{text:"Lorem ipsum dolor sit amet consectetur. Tincidunt egestas et dolor eu pharetra. Ullamcorper nascetur nisl facilisi lacus facilisi senectus laoreet euismod.",date:"16/08/2023 02:59",username:"Nom del patient o professional - Rol",who:"patient",showAvatarImage:!1,avatarImageURL:u,avatarName:"John",avatarLastname:"Doe",showAttachments:!1},render:s=>{const m=a` -
- `;let l=a``;return s.showAvatarImage?l=a` - - ${s.showAttachments?m:null} - - `:l=a` - - ${s.showAttachments?m:null} - - `,a` -
- ${l} -
- `}},t={tags:["!dev"],render:()=>a` -
- - -
`},n={tags:["!dev"],render:()=>a` - `},i={tags:["!dev"],render:()=>a` -
- - -
`},r={tags:["!dev"],render:()=>a` -
- - -
`},o={tags:["!dev"],render:()=>a` -
- - -
`},c={tags:["!dev"],render:()=>a` - `};var d,p,h;e.parameters={...e.parameters,docs:{...(d=e.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - text: 'Lorem ipsum dolor sit amet consectetur. Tincidunt egestas et dolor eu pharetra. Ullamcorper nascetur nisl facilisi lacus facilisi senectus laoreet euismod.', - date: '16/08/2023 02:59', - username: 'Nom del patient o professional - Rol', - who: 'patient', - showAvatarImage: false, - avatarImageURL: avatarDoctor, - avatarName: 'John', - avatarLastname: 'Doe', - showAttachments: false - }, - render: args => { - const slotAttachments = html\` - - \`; - let messageEl = html\`\`; - args.showAvatarImage ? messageEl = html\` - - \${args.showAttachments ? slotAttachments : null} - - \` : messageEl = html\` - - \${args.showAttachments ? slotAttachments : null} - - \`; - return html\` -
- \${messageEl} -
- \`; - } -}`,...(h=(p=e.parameters)==null?void 0:p.docs)==null?void 0:h.source}}};var g,v,b;t.parameters={...t.parameters,docs:{...(g=t.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
\`; - } -}`,...(b=(v=t.parameters)==null?void 0:v.docs)==null?void 0:b.source}}};var f,x,w;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - \`; - } -}`,...(w=(x=n.parameters)==null?void 0:x.docs)==null?void 0:w.source}}};var N,k,y;i.parameters={...i.parameters,docs:{...(N=i.parameters)==null?void 0:N.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
\`; - } -}`,...(y=(k=i.parameters)==null?void 0:k.docs)==null?void 0:y.source}}};var $,U,L;r.parameters={...r.parameters,docs:{...($=r.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
\`; - } -}`,...(L=(U=r.parameters)==null?void 0:U.docs)==null?void 0:L.source}}};var I,A,S;o.parameters={...o.parameters,docs:{...(I=o.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
\`; - } -}`,...(S=(A=o.parameters)==null?void 0:A.docs)==null?void 0:S.source}}};var T,D,_;c.parameters={...c.parameters,docs:{...(T=c.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - \`; - } -}`,...(_=(D=c.parameters)==null?void 0:D.docs)==null?void 0:_.source}}};const J=["Playground","SentByDoctor","Attachments","SentByPatient","ImageAvatar","NameAvatar","FullChat"],M=Object.freeze(Object.defineProperty({__proto__:null,Attachments:n,FullChat:c,ImageAvatar:r,NameAvatar:o,Playground:e,SentByDoctor:t,SentByPatient:i,__namedExportsOrder:J,default:V},Symbol.toStringTag,{value:"Module"}));export{n as A,M as C,c as F,r as I,e as P,i as S,t as a}; diff --git a/rc/assets/checkbox.doc-BIQMT-lJ.js b/rc/assets/checkbox.doc-BIQMT-lJ.js deleted file mode 100644 index 2ee08c3..0000000 --- a/rc/assets/checkbox.doc-BIQMT-lJ.js +++ /dev/null @@ -1,37 +0,0 @@ -import{ae as e,af as r,ag as t,ah as n}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-BYYVLdII.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(a.p,{children:`Els Checkboxs permeten als usuaris seleccionar un o més elements d'un conjunt. -Les caselles de selecció poden activar o desactivar una opció.`}),` -`,e.jsxs(a.p,{children:["Utilitzarem la classe ",e.jsx(a.strong,{children:"dss-checkbox"}),` com a classe per al input. Es pot -utilizar `,e.jsx(a.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(a.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#tipus-validacio",children:"Tipús validacio"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(a.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsxs(a.p,{children:["Les icones que apareixen als estats de ",e.jsx(a.code,{children:"checked"})," i ",e.jsx(a.code,{children:"indeterminate"}),` son de la -galería de Google Material rounded, de mida 16 x 16px.`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx(a.h3,{id:"tipús-validacio",children:"Tipús validacio"}),` -`,e.jsx(a.p,{children:"Utilitzeu aquesta classe si voleu activar la casella de selecció verda per a marcar la tasca com a validada"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(a.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(a.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(n,{of:h})]})}function y(s={}){const{wrapper:a}={...i(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(l,{...s})}):l(s)}export{y as default}; diff --git a/rc/assets/checkbox.doc-Cak-ssON.js b/rc/assets/checkbox.doc-Cak-ssON.js deleted file mode 100644 index 6a37130..0000000 --- a/rc/assets/checkbox.doc-Cak-ssON.js +++ /dev/null @@ -1,37 +0,0 @@ -import{ae as e,af as r,ag as t,ah as n}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-ezVek6yQ.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(a.p,{children:`Els Checkboxs permeten als usuaris seleccionar un o més elements d'un conjunt. -Les caselles de selecció poden activar o desactivar una opció.`}),` -`,e.jsxs(a.p,{children:["Utilitzarem la classe ",e.jsx(a.strong,{children:"dss-checkbox"}),` com a classe per al input. Es pot -utilizar `,e.jsx(a.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(a.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#tipus-validacio",children:"Tipús validacio"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(a.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsxs(a.p,{children:["Les icones que apareixen als estats de ",e.jsx(a.code,{children:"checked"})," i ",e.jsx(a.code,{children:"indeterminate"}),` son de la -galería de Google Material rounded, de mida 16 x 16px.`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx(a.h3,{id:"tipús-validacio",children:"Tipús validacio"}),` -`,e.jsx(a.p,{children:"Utilitzeu aquesta classe si voleu activar la casella de selecció verda per a marcar la tasca com a validada"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(a.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(a.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(n,{of:h})]})}function y(s={}){const{wrapper:a}={...i(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(l,{...s})}):l(s)}export{y as default}; diff --git a/rc/assets/checkbox.doc-DocDDASd.js b/rc/assets/checkbox.doc-DIq4lQv1.js similarity index 93% rename from rc/assets/checkbox.doc-DocDDASd.js rename to rc/assets/checkbox.doc-DIq4lQv1.js index 3f47627..b4b68b3 100644 --- a/rc/assets/checkbox.doc-DocDDASd.js +++ b/rc/assets/checkbox.doc-DIq4lQv1.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as t,ah as n}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-ezVek6yQ.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as t,ah as n}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-ezVek6yQ.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/checkbox.doc-Dqaf3l3a.js b/rc/assets/checkbox.doc-Dqaf3l3a.js deleted file mode 100644 index 8a530f9..0000000 --- a/rc/assets/checkbox.doc-Dqaf3l3a.js +++ /dev/null @@ -1,37 +0,0 @@ -import{ae as e,af as r,ag as t,ah as n}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-BYYVLdII.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(a.p,{children:`Els Checkboxs permeten als usuaris seleccionar un o més elements d'un conjunt. -Les caselles de selecció poden activar o desactivar una opció.`}),` -`,e.jsxs(a.p,{children:["Utilitzarem la classe ",e.jsx(a.strong,{children:"dss-checkbox"}),` com a classe per al input. Es pot -utilizar `,e.jsx(a.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(a.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#tipus-validacio",children:"Tipús validacio"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(a.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsxs(a.p,{children:["Les icones que apareixen als estats de ",e.jsx(a.code,{children:"checked"})," i ",e.jsx(a.code,{children:"indeterminate"}),` son de la -galería de Google Material rounded, de mida 16 x 16px.`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx(a.h3,{id:"tipús-validacio",children:"Tipús validacio"}),` -`,e.jsx(a.p,{children:"Utilitzeu aquesta classe si voleu activar la casella de selecció verda per a marcar la tasca com a validada"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(a.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(a.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(n,{of:h})]})}function y(s={}){const{wrapper:a}={...i(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(l,{...s})}):l(s)}export{y as default}; diff --git a/rc/assets/checkbox.doc-xcbRemhr.js b/rc/assets/checkbox.doc-xcbRemhr.js deleted file mode 100644 index 80dd1d1..0000000 --- a/rc/assets/checkbox.doc-xcbRemhr.js +++ /dev/null @@ -1,37 +0,0 @@ -import{ae as e,af as r,ag as t,ah as n}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as c,P as o,N as d,T as x,L as h}from"./checkbox.stories-ezVek6yQ.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const a={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(a.p,{children:`Els Checkboxs permeten als usuaris seleccionar un o més elements d'un conjunt. -Les caselles de selecció poden activar o desactivar una opció.`}),` -`,e.jsxs(a.p,{children:["Utilitzarem la classe ",e.jsx(a.strong,{children:"dss-checkbox"}),` com a classe per al input. Es pot -utilizar `,e.jsx(a.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(a.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#tipus-validacio",children:"Tipús validacio"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(a.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsxs(a.p,{children:["Les icones que apareixen als estats de ",e.jsx(a.code,{children:"checked"})," i ",e.jsx(a.code,{children:"indeterminate"}),` son de la -galería de Google Material rounded, de mida 16 x 16px.`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx(a.h3,{id:"tipús-validacio",children:"Tipús validacio"}),` -`,e.jsx(a.p,{children:"Utilitzeu aquesta classe si voleu activar la casella de selecció verda per a marcar la tasca com a validada"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(a.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(a.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(n,{of:h})]})}function y(s={}){const{wrapper:a}={...i(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(l,{...s})}):l(s)}export{y as default}; diff --git a/rc/assets/checkbox.stories-BYYVLdII.js b/rc/assets/checkbox.stories-BYYVLdII.js deleted file mode 100644 index 8b3f717..0000000 --- a/rc/assets/checkbox.stories-BYYVLdII.js +++ /dev/null @@ -1,115 +0,0 @@ -import{x as l}from"./lit-html-paDGiEfB.js";const m={title:"Components/Checkbox",argTypes:{withLabel:{name:"Amb text",control:{type:"boolean"}},label:{name:"Text",control:{type:"text"},if:{arg:"withLabel"}},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},checked:{name:"Marcat",control:{type:"boolean"}},validateType:{name:"Tipús validacio (verd)",control:{type:"boolean"}}},parameters:{layout:"centered"}},s={render:e=>l` -
- - ${e.withLabel?l``:null} -
- `,args:{withLabel:!1,label:"",disabled:!1,checked:!1,validateType:!1}},c={tags:["!dev"],render:()=>l` -
- - - - -
- `},a={tags:["!dev"],render:()=>l` -
- - - - -
- `},d={tags:["!dev"],render:()=>l` -
-
- - -
-
- - -
-
- - -
-
- - -
-
- `};var o,n,t;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`{ - render: (args: any) => { - return html\` -
- - \${args.withLabel ? html\`\` : null} -
- \`; - }, - args: { - withLabel: false, - label: '', - disabled: false, - checked: false, - validateType: false - } -}`,...(t=(n=s.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};var b,i,r;c.parameters={...c.parameters,docs:{...(b=c.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(r=(i=c.parameters)==null?void 0:i.docs)==null?void 0:r.source}}};var h,p,k;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(k=(p=a.parameters)==null?void 0:p.docs)==null?void 0:k.source}}};var x,u,v;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- - -
-
- - -
-
- - -
-
- - -
-
- \`; - } -}`,...(v=(u=d.parameters)==null?void 0:u.docs)==null?void 0:v.source}}};const y=["Playground","NoLabel","TypeValidation","Label"],g=Object.freeze(Object.defineProperty({__proto__:null,Label:d,NoLabel:c,Playground:s,TypeValidation:a,__namedExportsOrder:y,default:m},Symbol.toStringTag,{value:"Module"}));export{d as L,c as N,s as P,g as S,a as T}; diff --git a/rc/assets/chip.doc-DUvzbtrd.js b/rc/assets/chip.doc-DUvzbtrd.js deleted file mode 100644 index 8851437..0000000 --- a/rc/assets/chip.doc-DUvzbtrd.js +++ /dev/null @@ -1,54 +0,0 @@ -import{ae as e,af as d,ag as c,ah as s,ai as l}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as h,a as o,B as x,I as j,D as p,b as m,O as b}from"./chip.stories-IiF9EUPx.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const i={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - .wrapper--next { - margin-top: 24px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-chip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("hr",{}),` -`,e.jsx(i.p,{children:`Els Chips ajuden les persones a introduir informació, fer seleccions, filtrar -contingut o activar accions.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostra dins del chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"'md'"}),e.jsx(i.td,{children:"Mida del chip. Pot ser: sm o lg."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"''"}),e.jsx(i.td,{children:"Icona mostrada dins del chio."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"selected"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al chip l'estat seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita el chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disableSelect"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita la funcionalitat de marcar o desmarcar el chip com a seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hasDelete"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Mostra un botó que, en fer clic, retorna un esdeveniment informant que aquest chip ha de ser eliminat des de la iniciativa."})]})]})]})}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onToggle"})}),e.jsx(i.td,{children:"Notifica quan s'ha modificat el valor de la propietat selected, retornant la label de l'element i l'estat de selected."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onDelete"})}),e.jsx(i.td,{children:"Notifica quan s'ha fet clic al xip i retorna si l'estat és seleccionat o no."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mida-i-tipus",children:"Mida i tipus"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-b%C3%A0sic",children:"Chip bàsic"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona",children:"Chip amb icona"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-bot%C3%B3-de-tancar",children:"Chip amb botó de tancar"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona-i-bot%C3%B3-de-tancar",children:"Chip amb icona i icon button"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-nom%C3%A9s-icona",children:"Chip només icona"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"mida-i-tipus",children:"Mida i tipus"}),` -`,e.jsxs(i.p,{children:[`Hi ha dos tipus de mida, el mitjà i el petit, per defecte es mostrés el mitjà. -Per mostrar el petit haurem d'afegir la propietat `,e.jsx(i.code,{children:'size="sm"'}),`. Així com el -xip per defecte o actiu, per mostrar el xip actiu haurem d'afegir la propietat `,e.jsx(i.code,{children:"selected"})]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(i.h3,{id:"chip-bàsic",children:"Chip bàsic"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(i.h3,{id:"chip-amb-icona",children:"Chip amb icona"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(i.h3,{id:"chip-amb-botó-de-tancar",children:"Chip amb botó de tancar"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(i.h3,{id:"chip-amb-icona-i-botó-de-tancar",children:"Chip amb icona i botó de tancar"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(i.h3,{id:"chip-només-icona",children:"Chip només icona"}),` -`,e.jsx(s,{of:b})]})}function A(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(t,{...n})}):t(n)}export{A as default}; diff --git a/rc/assets/chip.doc-DayNWrzS.js b/rc/assets/chip.doc-DayNWrzS.js deleted file mode 100644 index 94f4b69..0000000 --- a/rc/assets/chip.doc-DayNWrzS.js +++ /dev/null @@ -1,48 +0,0 @@ -import{ae as i,af as o,ag as a,ah as s}from"./index-CcF9BsMG.js";import{u as c}from"./index-BlEr_OIe.js";import{S as r,P as l,a as h,B as d,I as p,b as x,c as m,O as j}from"./chip.stories-I7fiJj5H.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(e){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...c(),...e.components};return i.jsxs(i.Fragment,{children:[i.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,i.jsx(o,{of:r}),` -`,i.jsxs("div",{className:"dss-sb-title",children:[i.jsx(a,{}),i.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,i.jsx("hr",{}),` -`,i.jsx(n.p,{children:`Els Chips ajuden les persones a introduir informació, fer seleccions, filtrar -contingut o activar accions.`}),` -`,i.jsxs(n.blockquote,{children:[` -`,i.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,i.jsx(s,{of:l}),` -`,i.jsxs(n.blockquote,{children:[` -`,i.jsx(n.p,{children:"Aquest és un component simple de tipus HTML/CSS pel que no té propietats"}),` -`]}),` -`,i.jsx("br",{}),` -`,i.jsx("br",{}),` -`,i.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,i.jsxs(n.ul,{children:[` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#mida-i-tipus",children:"Mida i tipus"})}),` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#chip-b%C3%A0sic",children:"Chip bàsic"})}),` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#chip-amb-icona",children:"Chip amb icona"})}),` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#chip-amb-icon-button",children:"Chip amb icon button"})}),` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#chip-amb-icona-i-icon-button",children:"Chip amb icona i icon button"})}),` -`,i.jsx(n.li,{children:i.jsx(n.a,{href:"#chip-nom%C3%A9s-icona",children:"Chip només icona"})}),` -`]}),` -`,i.jsx("br",{}),` -`,i.jsx(n.h3,{id:"mida-i-tipus",children:"Mida i tipus"}),` -`,i.jsxs(n.p,{children:[`Hi ha dos tipus de mida, el mitjà i el petit, per defecte es mostrés el mitjà. -Per mostrar el petit haurem d'afegir la classe `,i.jsx(n.strong,{children:".dss-chip--sm"}),`. Així com el -xip per defecte o actiu, per mostrar el xip actiu haurem d'afegir la classe -`,i.jsx(n.strong,{children:".dss-chip--active"}),"."]}),` -`,i.jsx(s,{of:h}),` -`,i.jsx(n.h3,{id:"chip-bàsic",children:"Chip bàsic"}),` -`,i.jsx(s,{of:d}),` -`,i.jsx(n.h3,{id:"chip-amb-icona",children:"Chip amb icona"}),` -`,i.jsx(s,{of:p}),` -`,i.jsx(n.h3,{id:"chip-amb-icon-button",children:"Chip amb icon button"}),` -`,i.jsx(s,{of:x}),` -`,i.jsx(n.h3,{id:"chip-amb-icona-i-icon-button",children:"Chip amb icona i icon button"}),` -`,i.jsx(s,{of:m}),` -`,i.jsx(n.h3,{id:"chip-només-icona",children:"Chip només icona"}),` -`,i.jsx(s,{of:j})]})}function I(e={}){const{wrapper:n}={...c(),...e.components};return n?i.jsx(n,{...e,children:i.jsx(t,{...e})}):t(e)}export{I as default}; diff --git a/rc/assets/chip.doc-DddxOM9I.js b/rc/assets/chip.doc-DddxOM9I.js deleted file mode 100644 index 3eb1e1e..0000000 --- a/rc/assets/chip.doc-DddxOM9I.js +++ /dev/null @@ -1,54 +0,0 @@ -import{ae as e,af as d,ag as c,ah as s,ai as l}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as h,a as o,B as x,I as j,D as p,b as m,O as b}from"./chip.stories-DO4UTlwQ.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const i={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - .wrapper--next { - margin-top: 24px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-chip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("hr",{}),` -`,e.jsx(i.p,{children:`Els Chips ajuden les persones a introduir informació, fer seleccions, filtrar -contingut o activar accions.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostra dins del chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"'md'"}),e.jsx(i.td,{children:"Mida del chip. Pot ser: sm o lg."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"''"}),e.jsx(i.td,{children:"Icona mostrada dins del chio."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"selected"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al chip l'estat seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita el chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disableSelect"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita la funcionalitat de marcar o desmarcar el chip com a seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hasDelete"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Mostra un botó que, en fer clic, retorna un esdeveniment informant que aquest chip ha de ser eliminat des de la iniciativa."})]})]})]})}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onToggle"})}),e.jsx(i.td,{children:"Notifica quan s'ha modificat el valor de la propietat selected, retornant la label de l'element i l'estat de selected."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onDelete"})}),e.jsx(i.td,{children:"Notifica quan s'ha fet clic al xip i retorna si l'estat és seleccionat o no."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mida-i-tipus",children:"Mida i tipus"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-b%C3%A0sic",children:"Chip bàsic"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona",children:"Chip amb icona"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-bot%C3%B3-de-tancar",children:"Chip amb botó de tancar"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona-i-bot%C3%B3-de-tancar",children:"Chip amb icona i icon button"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-nom%C3%A9s-icona",children:"Chip només icona"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"mida-i-tipus",children:"Mida i tipus"}),` -`,e.jsxs(i.p,{children:[`Hi ha dos tipus de mida, el mitjà i el petit, per defecte es mostrés el mitjà. -Per mostrar el petit haurem d'afegir la propietat `,e.jsx(i.code,{children:'size="sm"'}),`. Així com el -xip per defecte o actiu, per mostrar el xip actiu haurem d'afegir la propietat `,e.jsx(i.code,{children:"selected"})]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(i.h3,{id:"chip-bàsic",children:"Chip bàsic"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(i.h3,{id:"chip-amb-icona",children:"Chip amb icona"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(i.h3,{id:"chip-amb-botó-de-tancar",children:"Chip amb botó de tancar"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(i.h3,{id:"chip-amb-icona-i-botó-de-tancar",children:"Chip amb icona i botó de tancar"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(i.h3,{id:"chip-només-icona",children:"Chip només icona"}),` -`,e.jsx(s,{of:b})]})}function A(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(t,{...n})}):t(n)}export{A as default}; diff --git a/rc/assets/chip.doc-BIXPwq2K.js b/rc/assets/chip.doc-J_aNEivV.js similarity index 96% rename from rc/assets/chip.doc-BIXPwq2K.js rename to rc/assets/chip.doc-J_aNEivV.js index b149488..c025f94 100644 --- a/rc/assets/chip.doc-BIXPwq2K.js +++ b/rc/assets/chip.doc-J_aNEivV.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as c,ah as s,ai as l}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as h,a as o,B as x,I as j,D as p,b as m,O as b}from"./chip.stories-IiF9EUPx.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const i={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as c,ah as s,ai as l}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as h,a as o,B as x,I as j,D as p,b as m,O as b}from"./chip.stories-IiF9EUPx.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const i={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/chip.doc-cYpIZKuN.js b/rc/assets/chip.doc-cYpIZKuN.js deleted file mode 100644 index 8562cd7..0000000 --- a/rc/assets/chip.doc-cYpIZKuN.js +++ /dev/null @@ -1,54 +0,0 @@ -import{ae as e,af as d,ag as c,ah as s,ai as l}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as h,a as o,B as x,I as j,D as p,b as m,O as b}from"./chip.stories-IiF9EUPx.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const i={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - .wrapper--next { - margin-top: 24px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-chip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("hr",{}),` -`,e.jsx(i.p,{children:`Els Chips ajuden les persones a introduir informació, fer seleccions, filtrar -contingut o activar accions.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(l,{}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsxs(i.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Text que es mostra dins del chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"'md'"}),e.jsx(i.td,{children:"Mida del chip. Pot ser: sm o lg."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"string"})}),e.jsx(i.td,{children:"''"}),e.jsx(i.td,{children:"Icona mostrada dins del chio."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"selected"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al chip l'estat seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita el chip."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disableSelect"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Deshabilita la funcionalitat de marcar o desmarcar el chip com a seleccionat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"hasDelete"})}),e.jsx(i.td,{children:e.jsx(i.code,{children:"boolean"})}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Mostra un botó que, en fer clic, retorna un esdeveniment informant que aquest chip ha de ser eliminat des de la iniciativa."})]})]})]})}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onToggle"})}),e.jsx(i.td,{children:"Notifica quan s'ha modificat el valor de la propietat selected, retornant la label de l'element i l'estat de selected."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"onDelete"})}),e.jsx(i.td,{children:"Notifica quan s'ha fet clic al xip i retorna si l'estat és seleccionat o no."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mida-i-tipus",children:"Mida i tipus"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-b%C3%A0sic",children:"Chip bàsic"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona",children:"Chip amb icona"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-bot%C3%B3-de-tancar",children:"Chip amb botó de tancar"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-amb-icona-i-bot%C3%B3-de-tancar",children:"Chip amb icona i icon button"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#chip-nom%C3%A9s-icona",children:"Chip només icona"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h3,{id:"mida-i-tipus",children:"Mida i tipus"}),` -`,e.jsxs(i.p,{children:[`Hi ha dos tipus de mida, el mitjà i el petit, per defecte es mostrés el mitjà. -Per mostrar el petit haurem d'afegir la propietat `,e.jsx(i.code,{children:'size="sm"'}),`. Així com el -xip per defecte o actiu, per mostrar el xip actiu haurem d'afegir la propietat `,e.jsx(i.code,{children:"selected"})]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(i.h3,{id:"chip-bàsic",children:"Chip bàsic"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(i.h3,{id:"chip-amb-icona",children:"Chip amb icona"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(i.h3,{id:"chip-amb-botó-de-tancar",children:"Chip amb botó de tancar"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(i.h3,{id:"chip-amb-icona-i-botó-de-tancar",children:"Chip amb icona i botó de tancar"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(i.h3,{id:"chip-només-icona",children:"Chip només icona"}),` -`,e.jsx(s,{of:b})]})}function A(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(t,{...n})}):t(n)}export{A as default}; diff --git a/rc/assets/chip.stories-DO4UTlwQ.js b/rc/assets/chip.stories-DO4UTlwQ.js deleted file mode 100644 index fc87e44..0000000 --- a/rc/assets/chip.stories-DO4UTlwQ.js +++ /dev/null @@ -1,171 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const O={title:"Components/Chip",argTypes:{label:{name:"Text"},size:{name:"Mida",control:{type:"radio"},options:["sm","lg"]},selected:{name:"Seleccionat",control:{type:"boolean"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},disableSelect:{name:"Deshabilitar Toggle",control:{type:"boolean"}},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},icon:{name:"Icona",if:{arg:"showIcon"}},showIconButton:{name:"Mostrar botó de tancar",control:{type:"boolean"}}},parameters:{layout:"centered"}},d={args:{label:"Chip",size:"lg",selected:!1,disabled:!1,disableSelect:!1,showIcon:!1,icon:"add_box",showIconButton:!1},render:s=>e` - - - `},i={tags:["!dev"],render:()=>e` -
- - - - -
- `},a={tags:["!dev"],render:()=>e` -
- - - - -
- `},c={tags:["!dev"],render:()=>e` -
- - - - - - - - -
- `},l={tags:["!dev"],render:()=>e` -
- - - - -
- `},p={tags:["!dev"],render:()=>e` -
- - - - -
-
- - - - -
- `},n={tags:["!dev"],render:()=>e` -
- - - - -
- `};var h,o,r;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ - args: { - label: 'Chip', - size: 'lg', - selected: false, - disabled: false, - disableSelect: false, - showIcon: false, - icon: 'add_box', - showIconButton: false - }, - render: (args: any) => { - return html\` - - - \`; - } -}`,...(r=(o=d.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};var t,b,m;i.parameters={...i.parameters,docs:{...(t=i.parameters)==null?void 0:t.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(m=(b=i.parameters)==null?void 0:b.docs)==null?void 0:m.source}}};var C,_,x;a.parameters={...a.parameters,docs:{...(C=a.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(x=(_=a.parameters)==null?void 0:_.docs)==null?void 0:x.source}}};var u,v,g;c.parameters={...c.parameters,docs:{...(u=c.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(g=(v=c.parameters)==null?void 0:v.docs)==null?void 0:g.source}}};var D,z,w;l.parameters={...l.parameters,docs:{...(D=l.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(w=(z=l.parameters)==null?void 0:z.docs)==null?void 0:w.source}}};var S,y,I;p.parameters={...p.parameters,docs:{...(S=p.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
-
- - - - -
- \`; - } -}`,...(I=(y=p.parameters)==null?void 0:y.docs)==null?void 0:I.source}}};var f,$,B;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(B=($=n.parameters)==null?void 0:$.docs)==null?void 0:B.source}}};const T=["Playground","SizeType","Basic","Icon","Delete","IconAndDelete","OnlyIcon"],P=Object.freeze(Object.defineProperty({__proto__:null,Basic:a,Delete:l,Icon:c,IconAndDelete:p,OnlyIcon:n,Playground:d,SizeType:i,__namedExportsOrder:T,default:O},Symbol.toStringTag,{value:"Module"}));export{a as B,l as D,c as I,n as O,d as P,P as S,i as a,p as b}; diff --git a/rc/assets/chip.stories-I7fiJj5H.js b/rc/assets/chip.stories-I7fiJj5H.js deleted file mode 100644 index 3d6554f..0000000 --- a/rc/assets/chip.stories-I7fiJj5H.js +++ /dev/null @@ -1,482 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const A={title:"Components/Chip",argTypes:{label:{name:"Text"},size:{name:"Mida",control:{type:"radio"},options:["sm","md"]},active:{name:"Active",control:{type:"boolean"}},disabled:{name:"Disabled",control:{type:"boolean"}},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},iconType:{name:"Tipús icona",control:{type:"select"},options:["dss-icon","dss-icon dss-icon--fill"],if:{arg:"showIcon"}},icon:{name:"Icona",if:{arg:"showIcon"}},showIconButton:{name:"Mostrar Icon Button",control:{type:"boolean"}}},parameters:{layout:"centered"}},i={render:s=>{const O=s.size==="sm"?"dss-chip--sm":"",M=s.active?"dss-chip--active":"",P=s.disabled?"disabled":"";return n` - - ${s.showIcon&&s.size==="sm"?n`${s.icon}`:null} - ${s.showIcon&&s.size==="md"?n`${s.icon}`:null} - ${s.label} - ${s.showIconButton&&!s.disabled?n``:null} - ${s.showIconButton&&s.disabled?n``:null} - - `},args:{label:"Chip",size:"md",active:!1,disabled:!1,showIconButton:!1,showIcon:!1,iconType:"dss-icon",icon:"add_box"}},a={tags:["!dev"],render:()=>n` -
- - Chip - - - Chip - - - Chip - - - Chip - -
- `},c={tags:["!dev"],render:()=>n` -
- - Chip - - - Chip - - - Chip - - - Chip - -
- `},d={tags:["!dev"],render:()=>n` -
- - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - - - - add\_boxChip - -
- `},o={tags:["!dev"],render:()=>n` -
- - Chip - - - - - - Chip - - - - - - Chip - - - - - - Chip - - - -
- `},p={tags:["!dev"],render:()=>n` -
- - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - - - - add\_boxChip - - - -
- `},e={tags:["!dev"],render:()=>n` -
- - add\_box - - - - add\_box - - - - add\_box - - - - add\_box - - - - add\_box - - - - add\_box - - - - add\_box - - - - add\_box - -
- `};var t,l,b;i.parameters={...i.parameters,docs:{...(t=i.parameters)==null?void 0:t.docs,source:{originalSource:`{ - render: (args: any) => { - const cssClass = args.size === 'sm' ? 'dss-chip--sm' : ''; - const activeClass = args.active ? 'dss-chip--active' : ''; - const disabledClass = args.disabled ? 'disabled' : ''; - return html\` - - \${args.showIcon && args.size === 'sm' ? html\`\${args.icon}\` : null} - \${args.showIcon && args.size === 'md' ? html\`\${args.icon}\` : null} - \${args.label} - \${args.showIconButton && !args.disabled ? html\`\` : null} - \${args.showIconButton && args.disabled ? html\`\` : null} - - \`; - }, - args: { - label: 'Chip', - size: 'md', - active: false, - disabled: false, - showIconButton: false, - showIcon: false, - iconType: 'dss-icon', - icon: 'add_box' - } -}`,...(b=(l=i.parameters)==null?void 0:l.docs)==null?void 0:b.source}}};var h,r,u;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Chip - - - Chip - - - Chip - - - Chip - -
- \`; - } -}`,...(u=(r=a.parameters)==null?void 0:r.docs)==null?void 0:u.source}}};var m,x,_;c.parameters={...c.parameters,docs:{...(m=c.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Chip - - - Chip - - - Chip - - - Chip - -
- \`; - } -}`,...(_=(x=c.parameters)==null?void 0:x.docs)==null?void 0:_.source}}};var v,C,I;d.parameters={...d.parameters,docs:{...(v=d.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - - - - add\\_boxChip - -
- \`; - } -}`,...(I=(C=d.parameters)==null?void 0:C.docs)==null?void 0:I.source}}};var g,w,y;o.parameters={...o.parameters,docs:{...(g=o.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - Chip - - - - - - Chip - - - - - - Chip - - - - - - Chip - - - -
- \`; - } -}`,...(y=(w=o.parameters)==null?void 0:w.docs)==null?void 0:y.source}}};var $,f,B;p.parameters={...p.parameters,docs:{...($=p.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - - - - add\\_boxChip - - - -
- \`; - } -}`,...(B=(f=p.parameters)==null?void 0:f.docs)==null?void 0:B.source}}};var S,T,z;e.parameters={...e.parameters,docs:{...(S=e.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - add\\_box - - - - add\\_box - - - - add\\_box - - - - add\\_box - - - - add\\_box - - - - add\\_box - - - - add\\_box - - - - add\\_box - -
- \`; - } -}`,...(z=(T=e.parameters)==null?void 0:T.docs)==null?void 0:z.source}}};const j=["Playground","SizeType","Basic","Icon","IconButton","IconAndIconButton","OnlyIcon"],E=Object.freeze(Object.defineProperty({__proto__:null,Basic:c,Icon:d,IconAndIconButton:p,IconButton:o,OnlyIcon:e,Playground:i,SizeType:a,__namedExportsOrder:j,default:A},Symbol.toStringTag,{value:"Module"}));export{c as B,d as I,e as O,i as P,E as S,a,o as b,p as c}; diff --git a/rc/assets/chunk-NUUEMKO5-Ck9k0yJP.js b/rc/assets/chunk-NUUEMKO5-Ck9k0yJP.js deleted file mode 100644 index 52507f8..0000000 --- a/rc/assets/chunk-NUUEMKO5-Ck9k0yJP.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./index-BaHiBOvO.js","./index-w933pGNw.js","./index-Dxx82nxn.js","./iframe-BDLrX2vE.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as p}from"./iframe-BDLrX2vE.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-Dxx82nxn.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-BaHiBOvO.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; diff --git a/rc/assets/chunk-NUUEMKO5-CzX-w2bE.js b/rc/assets/chunk-NUUEMKO5-CzX-w2bE.js deleted file mode 100644 index 1281291..0000000 --- a/rc/assets/chunk-NUUEMKO5-CzX-w2bE.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./index-B0Lclpwb.js","./index-BlEr_OIe.js","./index-CcF9BsMG.js","./iframe-BLrvpHse.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as p}from"./iframe-BLrvpHse.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-CcF9BsMG.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-B0Lclpwb.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; diff --git a/rc/assets/chunk-NUUEMKO5-BrMvvjZ4.js b/rc/assets/chunk-NUUEMKO5-OZ8B_0Q4.js similarity index 82% rename from rc/assets/chunk-NUUEMKO5-BrMvvjZ4.js rename to rc/assets/chunk-NUUEMKO5-OZ8B_0Q4.js index c1d9e0a..18cf620 100644 --- a/rc/assets/chunk-NUUEMKO5-BrMvvjZ4.js +++ b/rc/assets/chunk-NUUEMKO5-OZ8B_0Q4.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./index-CXVppuTU.js","./index-Dvvi2AU9.js","./index-D51CeFyD.js","./iframe-C-plfy9T.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as p}from"./iframe-C-plfy9T.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-D51CeFyD.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-CXVppuTU.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; +const __vite__fileDeps=["./index-DAoRqWt2.js","./index-C5hQraAl.js","./index-CMvVeEhu.js","./iframe-BXEjRaIp.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as p}from"./iframe-BXEjRaIp.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-CMvVeEhu.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-DAoRqWt2.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; diff --git a/rc/assets/chunk-NUUEMKO5-OoXnuJHq.js b/rc/assets/chunk-NUUEMKO5-OoXnuJHq.js deleted file mode 100644 index 6dc1589..0000000 --- a/rc/assets/chunk-NUUEMKO5-OoXnuJHq.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./index-B3nLAk4P.js","./index-FamfD7PC.js","./index-0DKGoewk.js","./iframe-BaSWKbVt.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as p}from"./iframe-BaSWKbVt.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-0DKGoewk.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-B3nLAk4P.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; diff --git a/rc/assets/chunk-NUUEMKO5-RFzBTEhX.js b/rc/assets/chunk-NUUEMKO5-RFzBTEhX.js deleted file mode 100644 index 445cfed..0000000 --- a/rc/assets/chunk-NUUEMKO5-RFzBTEhX.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./index-Clab_fcP.js","./index-CkYTJ7Ip.js","./index-CQXi_Y6g.js","./iframe-i1QLOcry.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as p}from"./iframe-i1QLOcry.js";import{au as E,an as s,aj as n,av as d,aw as v,ax as R,ay as w}from"./index-CQXi_Y6g.js";var m,l=E;m=l.createRoot,l.hydrateRoot;var a=new Map;function _(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var y=async(e,t,r)=>{let o=await D(t,r);if(_()){o.render(e);return}let{promise:u,resolve:i}=Promise.withResolvers();return o.render(s.createElement(x,{callback:i},e)),u},f=(e,t)=>{let r=a.get(e);r&&(r.unmount(),a.delete(e))},D=async(e,t)=>{let r=a.get(e);return r||(r=m(e,t),a.set(e,r)),r},g={code:R,a:v,...d},C=class extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},T=class{constructor(){this.render=async(e,t,r)=>{let o={...g,...t==null?void 0:t.components},u=w;return new Promise((i,h)=>{p(async()=>{const{MDXProvider:c}=await import("./index-Clab_fcP.js");return{MDXProvider:c}},__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(({MDXProvider:c})=>y(n.createElement(C,{showException:h,key:Math.random()},n.createElement(c,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{f(e)}}};export{T as D,g as d}; diff --git a/rc/assets/class-map-2iHk_WiG.js b/rc/assets/class-map-2iHk_WiG.js deleted file mode 100644 index 7720ec1..0000000 --- a/rc/assets/class-map-2iHk_WiG.js +++ /dev/null @@ -1,9 +0,0 @@ -import{T as h}from"./lit-html-paDGiEfB.js";/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const a={ATTRIBUTE:1},c=e=>(...t)=>({_$litDirective$:e,values:t});class d{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}}/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const u=c(class extends d{constructor(e){var t;if(super(e),e.type!==a.ATTRIBUTE||e.name!=="class"||((t=e.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var n,i;if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(const s in t)t[s]&&!((n=this.nt)!=null&&n.has(s))&&this.st.add(s);return this.render(t)}const r=e.element.classList;for(const s of this.st)s in t||(r.remove(s),this.st.delete(s));for(const s in t){const o=!!t[s];o===this.st.has(s)||(i=this.nt)!=null&&i.has(s)||(o?(r.add(s),this.st.add(s)):(r.remove(s),this.st.delete(s)))}return h}});export{u as e}; diff --git a/rc/assets/colors.doc-CwFAvWuY.js b/rc/assets/colors.doc-CwFAvWuY.js deleted file mode 100644 index 6633c51..0000000 --- a/rc/assets/colors.doc-CwFAvWuY.js +++ /dev/null @@ -1,15 +0,0 @@ -import{ae as e,af as a,al as n,am as s}from"./index-Dxx82nxn.js";import{u as o}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(r.h1,{id:"colors",children:"Colors"}),` -`,e.jsx(r.p,{children:`Els colors ajuden a aplicar el color a la interfície d'usuari d'una manera significativa. -En aquest sistema, el color primari serveix per representar la marca, mentre que el vermell, el groc, el verd, -el blau i el neutre es poden aplicar a la interfície d'usuari de diferents maneres.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n,{children:[e.jsx(s,{title:"Primary",colors:{50:"#EFF7FF",100:"#BFDDFA",200:"#8FC2F5",300:"#60A8F0",400:"#308DEB",500:"#0073E6",600:"#0064C7",700:"#0054A8",800:"#004589",900:"#00356A"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"SYSTEM FEEDBACK"}),e.jsx(s,{title:"Red",colors:{50:"#FFF6F6",100:"#F0C5C5",200:"#E29494",300:"#D36262",400:"#C53131",500:"#B60000",600:"#A20707",700:"#8E0F0F",800:"#791616",900:"#651D1D"}}),e.jsx(s,{title:"Orange",colors:{50:"#FFECC7",100:"#FFE1A6",200:"#FED585",300:"#FECA64",400:"#FDBE43",500:"#FDB322",600:"#CC8D1A",700:"#9B6711",800:"#6A4109",900:"#391B00"}}),e.jsx(s,{title:"Yellow",colors:{50:"#FFFBE5",100:"#FFF5C0",200:"#FFEF9B",300:"#FFE976",400:"#FFE351",500:"#FFDD2C",600:"#D2B524",700:"#A48D1B",800:"#766512",900:"#483D09"}}),e.jsx(s,{title:"Green",colors:{50:"#F1FCF6",100:"#C1E5D1",200:"#91CEAC",300:"#60B787",400:"#30A062",500:"#00893D",600:"#027937",700:"#046931",800:"#05592A",900:"#074924"}}),e.jsx(s,{title:"Blue",colors:{50:"#ECF9FF",100:"#BDE0F2",200:"#8EC7E5",300:"#5EAED8",400:"#2F95CB",500:"#007CBE",600:"#006BA6",700:"#005A8F",800:"#004877",900:"#00375F"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"COMPLEMENTARY"}),e.jsx(s,{title:"Purple",colors:{50:"#FCF2FD",100:"#EBCAF7",200:"#D9A1F1",300:"#C879EB",400:"#B651E4",500:"#A528DE",600:"#8F1EC3",700:"#7914A8",800:"#630A8C",900:"#4D0071"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"GRAYSCALE"}),e.jsx(s,{title:"Neutral",colors:{50:"#F5F5F5",100:"#D8D8D8",200:"#BBBBBB",300:"#9F9F9F",400:"#828282",500:"#656565",600:"#535353",700:"#414141",800:"#2F2F2F",900:"#1D1D1D"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"OTHERS"}),e.jsx(s,{title:"",colors:{white:"#FFFFFF",black:"#000000",salut:"#6AAAE4","prim-salut":"#0073e6"}})]}),` -`,e.jsxs(r.p,{children:["Para otros colores no será necesario definir la escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsxs(r.p,{children:["Per a utilitzar els colors principals en el codi css s'ha d'invocar la variable corresponent mitjançant el següent patró: ",e.jsx(r.code,{children:"color: var(--color-{tipo}-{escala})"})]}),` -`,e.jsx(r.p,{children:"On tipus podrà ser: primary, red, orange, yellow, green, blue, purple, neutral."}),` -`,e.jsx(r.p,{children:"I on l'escala serà: 50, 100, 200, ... , 800, 900"}),` -`,e.jsxs(r.p,{children:["Exemple: ",e.jsx(r.code,{children:"color: var(--color-primary-500)"})]}),` -`,e.jsxs(r.p,{children:["Per a altres colors no serà necessari definir l'escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsx(r.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Versió"}),e.jsx(r.th,{children:"Canvis"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"1.1.5"})}),e.jsxs(r.td,{children:["S’ha ajustat la paleta de colors, afegint el color 'taronja'.",e.jsx("br",{}),"S'han ajustat alguns tons de colors que no estaven alineats amb Figma."]})]})})]})]})}function E(l={}){const{wrapper:r}={...o(),...l.components};return r?e.jsx(r,{...l,children:e.jsx(t,{...l})}):t(l)}export{E as default}; diff --git a/rc/assets/colors.doc-DGwEQttk.js b/rc/assets/colors.doc-DGwEQttk.js deleted file mode 100644 index 2947113..0000000 --- a/rc/assets/colors.doc-DGwEQttk.js +++ /dev/null @@ -1,15 +0,0 @@ -import{ae as e,af as a,al as n,am as s}from"./index-0DKGoewk.js";import{u as o}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(r.h1,{id:"colors",children:"Colors"}),` -`,e.jsx(r.p,{children:`Els colors ajuden a aplicar el color a la interfície d'usuari d'una manera significativa. -En aquest sistema, el color primari serveix per representar la marca, mentre que el vermell, el groc, el verd, -el blau i el neutre es poden aplicar a la interfície d'usuari de diferents maneres.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n,{children:[e.jsx(s,{title:"Primary",colors:{50:"#EFF7FF",100:"#BFDDFA",200:"#8FC2F5",300:"#60A8F0",400:"#308DEB",500:"#0073E6",600:"#0064C7",700:"#0054A8",800:"#004589",900:"#00356A"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"SYSTEM FEEDBACK"}),e.jsx(s,{title:"Red",colors:{50:"#FFF6F6",100:"#F0C5C5",200:"#E29494",300:"#D36262",400:"#C53131",500:"#B60000",600:"#A20707",700:"#8E0F0F",800:"#791616",900:"#651D1D"}}),e.jsx(s,{title:"Orange",colors:{50:"#FFECC7",100:"#FFE1A6",200:"#FED585",300:"#FECA64",400:"#FDBE43",500:"#FDB322",600:"#CC8D1A",700:"#9B6711",800:"#6A4109",900:"#391B00"}}),e.jsx(s,{title:"Yellow",colors:{50:"#FFFBE5",100:"#FFF5C0",200:"#FFEF9B",300:"#FFE976",400:"#FFE351",500:"#FFDD2C",600:"#D2B524",700:"#A48D1B",800:"#766512",900:"#483D09"}}),e.jsx(s,{title:"Green",colors:{50:"#F1FCF6",100:"#C1E5D1",200:"#91CEAC",300:"#60B787",400:"#30A062",500:"#00893D",600:"#027937",700:"#046931",800:"#05592A",900:"#074924"}}),e.jsx(s,{title:"Blue",colors:{50:"#ECF9FF",100:"#BDE0F2",200:"#8EC7E5",300:"#5EAED8",400:"#2F95CB",500:"#007CBE",600:"#006BA6",700:"#005A8F",800:"#004877",900:"#00375F"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"COMPLEMENTARY"}),e.jsx(s,{title:"Purple",colors:{50:"#FCF2FD",100:"#EBCAF7",200:"#D9A1F1",300:"#C879EB",400:"#B651E4",500:"#A528DE",600:"#8F1EC3",700:"#7914A8",800:"#630A8C",900:"#4D0071"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"GRAYSCALE"}),e.jsx(s,{title:"Neutral",colors:{50:"#F5F5F5",100:"#D8D8D8",200:"#BBBBBB",300:"#9F9F9F",400:"#828282",500:"#656565",600:"#535353",700:"#414141",800:"#2F2F2F",900:"#1D1D1D"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"OTHERS"}),e.jsx(s,{title:"",colors:{white:"#FFFFFF",black:"#000000",salut:"#6AAAE4","prim-salut":"#0073e6"}})]}),` -`,e.jsxs(r.p,{children:["Para otros colores no será necesario definir la escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsxs(r.p,{children:["Per a utilitzar els colors principals en el codi css s'ha d'invocar la variable corresponent mitjançant el següent patró: ",e.jsx(r.code,{children:"color: var(--color-{tipo}-{escala})"})]}),` -`,e.jsx(r.p,{children:"On tipus podrà ser: primary, red, orange, yellow, green, blue, purple, neutral."}),` -`,e.jsx(r.p,{children:"I on l'escala serà: 50, 100, 200, ... , 800, 900"}),` -`,e.jsxs(r.p,{children:["Exemple: ",e.jsx(r.code,{children:"color: var(--color-primary-500)"})]}),` -`,e.jsxs(r.p,{children:["Per a altres colors no serà necessari definir l'escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsx(r.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Versió"}),e.jsx(r.th,{children:"Canvis"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"1.1.5"})}),e.jsxs(r.td,{children:["S’ha ajustat la paleta de colors, afegint el color 'taronja'.",e.jsx("br",{}),"S'han ajustat alguns tons de colors que no estaven alineats amb Figma."]})]})})]})]})}function E(l={}){const{wrapper:r}={...o(),...l.components};return r?e.jsx(r,{...l,children:e.jsx(t,{...l})}):t(l)}export{E as default}; diff --git a/rc/assets/colors.doc-DbnPhD9z.js b/rc/assets/colors.doc-DbnPhD9z.js deleted file mode 100644 index 1c603e6..0000000 --- a/rc/assets/colors.doc-DbnPhD9z.js +++ /dev/null @@ -1,15 +0,0 @@ -import{ae as e,af as a,al as n,am as s}from"./index-D51CeFyD.js";import{u as o}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(r.h1,{id:"colors",children:"Colors"}),` -`,e.jsx(r.p,{children:`Els colors ajuden a aplicar el color a la interfície d'usuari d'una manera significativa. -En aquest sistema, el color primari serveix per representar la marca, mentre que el vermell, el groc, el verd, -el blau i el neutre es poden aplicar a la interfície d'usuari de diferents maneres.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n,{children:[e.jsx(s,{title:"Primary",colors:{50:"#EFF7FF",100:"#BFDDFA",200:"#8FC2F5",300:"#60A8F0",400:"#308DEB",500:"#0073E6",600:"#0064C7",700:"#0054A8",800:"#004589",900:"#00356A"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"SYSTEM FEEDBACK"}),e.jsx(s,{title:"Red",colors:{50:"#FFF6F6",100:"#F0C5C5",200:"#E29494",300:"#D36262",400:"#C53131",500:"#B60000",600:"#A20707",700:"#8E0F0F",800:"#791616",900:"#651D1D"}}),e.jsx(s,{title:"Orange",colors:{50:"#FFECC7",100:"#FFE1A6",200:"#FED585",300:"#FECA64",400:"#FDBE43",500:"#FDB322",600:"#CC8D1A",700:"#9B6711",800:"#6A4109",900:"#391B00"}}),e.jsx(s,{title:"Yellow",colors:{50:"#FFFBE5",100:"#FFF5C0",200:"#FFEF9B",300:"#FFE976",400:"#FFE351",500:"#FFDD2C",600:"#D2B524",700:"#A48D1B",800:"#766512",900:"#483D09"}}),e.jsx(s,{title:"Green",colors:{50:"#F1FCF6",100:"#C1E5D1",200:"#91CEAC",300:"#60B787",400:"#30A062",500:"#00893D",600:"#027937",700:"#046931",800:"#05592A",900:"#074924"}}),e.jsx(s,{title:"Blue",colors:{50:"#ECF9FF",100:"#BDE0F2",200:"#8EC7E5",300:"#5EAED8",400:"#2F95CB",500:"#007CBE",600:"#006BA6",700:"#005A8F",800:"#004877",900:"#00375F"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"COMPLEMENTARY"}),e.jsx(s,{title:"Purple",colors:{50:"#FCF2FD",100:"#EBCAF7",200:"#D9A1F1",300:"#C879EB",400:"#B651E4",500:"#A528DE",600:"#8F1EC3",700:"#7914A8",800:"#630A8C",900:"#4D0071"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"GRAYSCALE"}),e.jsx(s,{title:"Neutral",colors:{50:"#F5F5F5",100:"#D8D8D8",200:"#BBBBBB",300:"#9F9F9F",400:"#828282",500:"#656565",600:"#535353",700:"#414141",800:"#2F2F2F",900:"#1D1D1D"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"OTHERS"}),e.jsx(s,{title:"",colors:{white:"#FFFFFF",black:"#000000",salut:"#6AAAE4","prim-salut":"#0073e6"}})]}),` -`,e.jsxs(r.p,{children:["Para otros colores no será necesario definir la escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsxs(r.p,{children:["Per a utilitzar els colors principals en el codi css s'ha d'invocar la variable corresponent mitjançant el següent patró: ",e.jsx(r.code,{children:"color: var(--color-{tipo}-{escala})"})]}),` -`,e.jsx(r.p,{children:"On tipus podrà ser: primary, red, orange, yellow, green, blue, purple, neutral."}),` -`,e.jsx(r.p,{children:"I on l'escala serà: 50, 100, 200, ... , 800, 900"}),` -`,e.jsxs(r.p,{children:["Exemple: ",e.jsx(r.code,{children:"color: var(--color-primary-500)"})]}),` -`,e.jsxs(r.p,{children:["Per a altres colors no serà necessari definir l'escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsx(r.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Versió"}),e.jsx(r.th,{children:"Canvis"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"1.1.5"})}),e.jsxs(r.td,{children:["S’ha ajustat la paleta de colors, afegint el color 'taronja'.",e.jsx("br",{}),"S'han ajustat alguns tons de colors que no estaven alineats amb Figma."]})]})})]})]})}function E(l={}){const{wrapper:r}={...o(),...l.components};return r?e.jsx(r,{...l,children:e.jsx(t,{...l})}):t(l)}export{E as default}; diff --git a/rc/assets/colors.doc-C3bW4Va4.js b/rc/assets/colors.doc-DlN3bWDS.js similarity index 95% rename from rc/assets/colors.doc-C3bW4Va4.js rename to rc/assets/colors.doc-DlN3bWDS.js index 97d20c7..8bbe1b3 100644 --- a/rc/assets/colors.doc-C3bW4Va4.js +++ b/rc/assets/colors.doc-DlN3bWDS.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,al as n,am as s}from"./index-CQXi_Y6g.js";import{u as o}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` +import{ae as e,af as a,al as n,am as s}from"./index-CMvVeEhu.js";import{u as o}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` `,e.jsx(r.h1,{id:"colors",children:"Colors"}),` `,e.jsx(r.p,{children:`Els colors ajuden a aplicar el color a la interfície d'usuari d'una manera significativa. En aquest sistema, el color primari serveix per representar la marca, mentre que el vermell, el groc, el verd, diff --git a/rc/assets/colors.doc-DoBKzkWA.js b/rc/assets/colors.doc-DoBKzkWA.js deleted file mode 100644 index d8438be..0000000 --- a/rc/assets/colors.doc-DoBKzkWA.js +++ /dev/null @@ -1,15 +0,0 @@ -import{ae as e,af as a,al as n,am as s}from"./index-CcF9BsMG.js";import{u as o}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function t(l){const r={code:"code",h1:"h1",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...o(),...l.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Foundations/Colors",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,e.jsx(r.h1,{id:"colors",children:"Colors"}),` -`,e.jsx(r.p,{children:`Els colors ajuden a aplicar el color a la interfície d'usuari d'una manera significativa. -En aquest sistema, el color primari serveix per representar la marca, mentre que el vermell, el groc, el verd, -el blau i el neutre es poden aplicar a la interfície d'usuari de diferents maneres.`}),` -`,e.jsx("br",{}),` -`,e.jsxs(n,{children:[e.jsx(s,{title:"Primary",colors:{50:"#EFF7FF",100:"#BFDDFA",200:"#8FC2F5",300:"#60A8F0",400:"#308DEB",500:"#0073E6",600:"#0064C7",700:"#0054A8",800:"#004589",900:"#00356A"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"SYSTEM FEEDBACK"}),e.jsx(s,{title:"Red",colors:{50:"#FFF6F6",100:"#F0C5C5",200:"#E29494",300:"#D36262",400:"#C53131",500:"#B60000",600:"#A20707",700:"#8E0F0F",800:"#791616",900:"#651D1D"}}),e.jsx(s,{title:"Orange",colors:{50:"#FFECC7",100:"#FFE1A6",200:"#FED585",300:"#FECA64",400:"#FDBE43",500:"#FDB322",600:"#CC8D1A",700:"#9B6711",800:"#6A4109",900:"#391B00"}}),e.jsx(s,{title:"Yellow",colors:{50:"#FFFBE5",100:"#FFF5C0",200:"#FFEF9B",300:"#FFE976",400:"#FFE351",500:"#FFDD2C",600:"#D2B524",700:"#A48D1B",800:"#766512",900:"#483D09"}}),e.jsx(s,{title:"Green",colors:{50:"#F1FCF6",100:"#C1E5D1",200:"#91CEAC",300:"#60B787",400:"#30A062",500:"#00893D",600:"#027937",700:"#046931",800:"#05592A",900:"#074924"}}),e.jsx(s,{title:"Blue",colors:{50:"#ECF9FF",100:"#BDE0F2",200:"#8EC7E5",300:"#5EAED8",400:"#2F95CB",500:"#007CBE",600:"#006BA6",700:"#005A8F",800:"#004877",900:"#00375F"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"COMPLEMENTARY"}),e.jsx(s,{title:"Purple",colors:{50:"#FCF2FD",100:"#EBCAF7",200:"#D9A1F1",300:"#C879EB",400:"#B651E4",500:"#A528DE",600:"#8F1EC3",700:"#7914A8",800:"#630A8C",900:"#4D0071"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"GRAYSCALE"}),e.jsx(s,{title:"Neutral",colors:{50:"#F5F5F5",100:"#D8D8D8",200:"#BBBBBB",300:"#9F9F9F",400:"#828282",500:"#656565",600:"#535353",700:"#414141",800:"#2F2F2F",900:"#1D1D1D"}}),e.jsx("hr",{}),e.jsx("div",{class:"dss-subtitle-1",children:"OTHERS"}),e.jsx(s,{title:"",colors:{white:"#FFFFFF",black:"#000000",salut:"#6AAAE4","prim-salut":"#0073e6"}})]}),` -`,e.jsxs(r.p,{children:["Para otros colores no será necesario definir la escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsxs(r.p,{children:["Per a utilitzar els colors principals en el codi css s'ha d'invocar la variable corresponent mitjançant el següent patró: ",e.jsx(r.code,{children:"color: var(--color-{tipo}-{escala})"})]}),` -`,e.jsx(r.p,{children:"On tipus podrà ser: primary, red, orange, yellow, green, blue, purple, neutral."}),` -`,e.jsx(r.p,{children:"I on l'escala serà: 50, 100, 200, ... , 800, 900"}),` -`,e.jsxs(r.p,{children:["Exemple: ",e.jsx(r.code,{children:"color: var(--color-primary-500)"})]}),` -`,e.jsxs(r.p,{children:["Per a altres colors no serà necessari definir l'escala. ",e.jsx(r.code,{children:"color: var(--color-white)"})]}),` -`,e.jsx(r.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Versió"}),e.jsx(r.th,{children:"Canvis"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"1.1.5"})}),e.jsxs(r.td,{children:["S’ha ajustat la paleta de colors, afegint el color 'taronja'.",e.jsx("br",{}),"S'han ajustat alguns tons de colors que no estaven alineats amb Figma."]})]})})]})]})}function E(l={}){const{wrapper:r}={...o(),...l.components};return r?e.jsx(r,{...l,children:e.jsx(t,{...l})}):t(l)}export{E as default}; diff --git a/rc/assets/content-switcher.doc-BlMbqxkY.js b/rc/assets/content-switcher.doc-BlMbqxkY.js deleted file mode 100644 index bd4ef29..0000000 --- a/rc/assets/content-switcher.doc-BlMbqxkY.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as d,ag as a,ah as t,ak as l}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as c,P as h,a as o,E as x,D as j,M as p}from"./content-switcher.stories-DgfjUAsB.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const s={blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-content-switcher",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Content Switchers permeten als usuaris canviar entre visualitzacions -alternatives de contingut similar o relacionat. Només es mostra una secció de -contingut alhora.`}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h3",{children:"Content Switcher"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear un Content Switcher:"}),` -`,e.jsx(l,{code:` - - `}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del switcher. Pot ser: sm, md o lg."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats-de-cada-pestanya",children:"Propietats de cada pestanya"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins de la pestanya."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'false'"}),e.jsx(s.td,{children:"Marca la pestanya seleccionada. En cas que no hi hagi cap seleccionada per defecte, el switcher seleccionara la primera pestanya que no estigui deshabilitada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'false'"}),e.jsx(s.td,{children:"Deshabilita la pestanya."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el nom de la pestanya seleccionada."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Mides del switches"}),` -`,e.jsx(t,{of:o}),` -`,e.jsx("h5",{children:"Habilitat"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Deshabilitat"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h5",{children:"Habilitat i deshabilitat"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]})})]})]})}function M(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(i,{...n})}):i(n)}export{M as default}; diff --git a/rc/assets/content-switcher.doc-DLEROyFM.js b/rc/assets/content-switcher.doc-DLEROyFM.js deleted file mode 100644 index d287183..0000000 --- a/rc/assets/content-switcher.doc-DLEROyFM.js +++ /dev/null @@ -1,43 +0,0 @@ -import{ae as e,af as r,ag as o,ah as n,ak as l}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as c,P as d,E as m,D as h,M as u}from"./content-switcher.stories-77fkpHwH.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(s){const t={blockquote:"blockquote",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.p,{children:[`Els Content Switchers permeten als usuaris canviar entre visualitzacions -alternatives de contingut similar o relacionat. Només es mostra una secció de -contingut alhora. Utilitzarem la classe `,e.jsx(t.strong,{children:"dss-content-switcher"}),` com a -contenidor i la classe `,e.jsx(t.strong,{children:"dss-content-switcher__item"})," com a element fill."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx("h3",{children:"Content Switcher"}),` -`,e.jsx(t.p,{children:"Utilitzarem la següent estructura per crear un Content Switcher:"}),` -`,e.jsx(l,{code:` -
-
- - -
-
- - -
-
- - -
-
- `}),` -`,e.jsx("h5",{children:"Habilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Deshabilitat"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Habilitat i deshabilitat"}),` -`,e.jsx(n,{of:u})]})}function y(s={}){const{wrapper:t}={...a(),...s.components};return t?e.jsx(t,{...s,children:e.jsx(i,{...s})}):i(s)}export{y as default}; diff --git a/rc/assets/content-switcher.doc-BYyY9N3M.js b/rc/assets/content-switcher.doc-DsVAcuXs.js similarity index 96% rename from rc/assets/content-switcher.doc-BYyY9N3M.js rename to rc/assets/content-switcher.doc-DsVAcuXs.js index 3b8b5e0..7c99527 100644 --- a/rc/assets/content-switcher.doc-BYyY9N3M.js +++ b/rc/assets/content-switcher.doc-DsVAcuXs.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as a,ah as t,ak as l}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as c,P as h,a as o,E as x,D as j,M as p}from"./content-switcher.stories-DgfjUAsB.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const s={blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as a,ah as t,ak as l}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as c,P as h,a as o,E as x,D as j,M as p}from"./content-switcher.stories-DgfjUAsB.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const s={blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/content-switcher.doc-kzKPCllN.js b/rc/assets/content-switcher.doc-kzKPCllN.js deleted file mode 100644 index e0ea10f..0000000 --- a/rc/assets/content-switcher.doc-kzKPCllN.js +++ /dev/null @@ -1,43 +0,0 @@ -import{ae as e,af as r,ag as o,ah as n,ak as l}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as c,P as d,E as m,D as h,M as u}from"./content-switcher.stories-77fkpHwH.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(s){const t={blockquote:"blockquote",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.p,{children:[`Els Content Switchers permeten als usuaris canviar entre visualitzacions -alternatives de contingut similar o relacionat. Només es mostra una secció de -contingut alhora. Utilitzarem la classe `,e.jsx(t.strong,{children:"dss-content-switcher"}),` com a -contenidor i la classe `,e.jsx(t.strong,{children:"dss-content-switcher__item"})," com a element fill."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:d}),` -`,e.jsx("h3",{children:"Content Switcher"}),` -`,e.jsx(t.p,{children:"Utilitzarem la següent estructura per crear un Content Switcher:"}),` -`,e.jsx(l,{code:` -
-
- - -
-
- - -
-
- - -
-
- `}),` -`,e.jsx("h5",{children:"Habilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Deshabilitat"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h5",{children:"Habilitat i deshabilitat"}),` -`,e.jsx(n,{of:u})]})}function y(s={}){const{wrapper:t}={...a(),...s.components};return t?e.jsx(t,{...s,children:e.jsx(i,{...s})}):i(s)}export{y as default}; diff --git a/rc/assets/content-switcher.doc-mQGXVgLh.js b/rc/assets/content-switcher.doc-mQGXVgLh.js deleted file mode 100644 index 344a26f..0000000 --- a/rc/assets/content-switcher.doc-mQGXVgLh.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as d,ag as a,ah as t,ak as l}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as c,P as h,a as o,E as x,D as j,M as p}from"./content-switcher.stories-DgfjUAsB.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const s={blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 20px; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-content-switcher",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Content Switchers permeten als usuaris canviar entre visualitzacions -alternatives de contingut similar o relacionat. Només es mostra una secció de -contingut alhora.`}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h3",{children:"Content Switcher"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear un Content Switcher:"}),` -`,e.jsx(l,{code:` - - `}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del switcher. Pot ser: sm, md o lg."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats-de-cada-pestanya",children:"Propietats de cada pestanya"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["label",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra dins de la pestanya."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selected"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'false'"}),e.jsx(s.td,{children:"Marca la pestanya seleccionada. En cas que no hi hagi cap seleccionada per defecte, el switcher seleccionara la primera pestanya que no estigui deshabilitada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"disabled"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"boolean"})}),e.jsx(s.td,{children:"'false'"}),e.jsx(s.td,{children:"Deshabilita la pestanya."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onChange"})}),e.jsx(s.td,{children:"Esdeveniment que retorna el nom de la pestanya seleccionada."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Mides del switches"}),` -`,e.jsx(t,{of:o}),` -`,e.jsx("h5",{children:"Habilitat"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Deshabilitat"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h5",{children:"Habilitat i deshabilitat"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]})})]})]})}function M(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(i,{...n})}):i(n)}export{M as default}; diff --git a/rc/assets/content-switcher.stories-77fkpHwH.js b/rc/assets/content-switcher.stories-77fkpHwH.js deleted file mode 100644 index 4d84e0b..0000000 --- a/rc/assets/content-switcher.stories-77fkpHwH.js +++ /dev/null @@ -1,193 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as t}from"./lit-html-paDGiEfB.js";const g={title:"Components/Content Switcher",argTypes:{label:{name:"Text"},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},items:{name:"Quantitat de botons",control:{type:"select"},options:[2,3,4]}},parameters:{layout:"centered"}},e={render:i=>t` -
-
-
- - -
- ${Array.from({length:i.items-1},()=>t`
- - -
`)} -
-
- `,args:{label:"Tab",items:2,disabled:!1}},a={tags:["!dev"],render:()=>t` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- `},n={tags:["!dev"],render:()=>t` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- `},s={tags:["!dev"],render:()=>t` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- `};var d,r,l;e.parameters={...e.parameters,docs:{...(d=e.parameters)==null?void 0:d.docs,source:{originalSource:`{ - render: (args: any) => { - return html\` -
-
-
- - -
- \${Array.from({ - length: args.items - 1 - }, () => html\`
- - -
\`)} -
-
- \`; - }, - args: { - label: 'Tab', - items: 2, - disabled: false - } -}`,...(l=(r=e.parameters)==null?void 0:r.docs)==null?void 0:l.source}}};var o,c,p;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- \`; - } -}`,...(p=(c=a.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var b,v,m;n.parameters={...n.parameters,docs:{...(b=n.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- \`; - } -}`,...(m=(v=n.parameters)==null?void 0:v.docs)==null?void 0:m.source}}};var u,_,h;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
- - - -
- -
- - - -
- -
- - - -
-
-
- \`; - } -}`,...(h=(_=s.parameters)==null?void 0:_.docs)==null?void 0:h.source}}};const w=["Playground","Enabled","Disabled","Mix"],f=Object.freeze(Object.defineProperty({__proto__:null,Disabled:n,Enabled:a,Mix:s,Playground:e,__namedExportsOrder:w,default:g},Symbol.toStringTag,{value:"Module"}));export{n as D,a as E,s as M,e as P,f as S}; diff --git a/rc/assets/custom-element-scope-KJWplpvx.js b/rc/assets/custom-element-scope-KJWplpvx.js deleted file mode 100644 index d977251..0000000 --- a/rc/assets/custom-element-scope-KJWplpvx.js +++ /dev/null @@ -1,6 +0,0 @@ -import{x as S}from"./lit-html-paDGiEfB.js";/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const l=Symbol.for(""),m=t=>{if((t==null?void 0:t.r)===l)return t==null?void 0:t._$litStatic$},_=t=>({_$litStatic$:t,r:l}),v=(t,...e)=>({_$litStatic$:e.reduce((n,o,u)=>n+(r=>{if(r._$litStatic$!==void 0)return r._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${r}. Use 'unsafeStatic' to pass non-literal values, but - take care to ensure page security.`)})(o)+t[u+1],t[0]),r:l}),p=new Map,d=t=>(e,...n)=>{const o=n.length;let u,r;const s=[],c=[];let a,i=0,$=!1;for(;i columnHeader => column: 'name'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"style"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estil personalitzat de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"align"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Alineament del text dins de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortType"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'number' o 'date' o 'string'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Tipus de dades que contindrà la columna. Si aquesta propietat no està definida, no s'habilitarà la funció d'ordenar la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortOrder"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'asc' o 'desc' o 'none'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat actual de lordenació de la columna. Aquesta propietat no s'ha d'incloure la primera vegada que es renderitza el component. Només cal definir-lo en cas que vulguem recuperar l'estat de l'ordenació anterior en navegar entre pàgines."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-pagination",children:"dss-custom-table: pagination"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida, el paginador i l'àrea de descripció i accions s'amagaran sobre les files seleccionades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginator"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida s'amagarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentIndex"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Pàgina per defecte en què se situarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number[]"}),e.jsx(s.td,{children:"[5,10,20]"}),e.jsx(s.td,{children:"Opcions disponibles per modificar la mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Resultats"}),e.jsx(s.td,{children:"Text mostrat pel nombre de resultats mostrats a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"rowsPerPageLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Files per página"}),e.jsx(s.td,{children:"Text mostrat per a files per pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginationResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-events",children:"dss-custom-table: events"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onPaginate"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà les opcions actuals del paginador. Si la propietat totalResults no està definida també es tornarà el segment de dades que s'ha de renderitzar dins de l'slot."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onSort"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà l'ordenació de les dades juntament amb l'estat de l'objecte 'columnsHeader'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onExpandTable"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click en el botó d'ampliar o reduir la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onOpenDrawer"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click al botó per obrir el selector de filtres (drawer) fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUpdateFilters"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'han eliminat algun dels filtres des de la pròpia taula. L'esdeveniment retorna un objecte amb els filtres actuals perquè l'usuari torni a aplicar la funcionalitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onMultiselect"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'ha premut al checkbox per seleccionar totes les files."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"css",children:"CSS"}),` -`,e.jsx(s.p,{children:"Finalment el contingut de la taula s'injecta al web component a través d'un slot, la qual cosa ens permet donar-li aparença a través de CSS. D'aquesta manera pot utilitzar les classes definides per defecte per a la taula i/o sobreescriure aquells aspectes que necessiti en l'aplicació final."}),` -`,e.jsx(s.h3,{id:"estils-per-defecte",children:"Estils per defecte"}),` -`,e.jsx(t,{code:` -
- - - - - ... - - ... - -
- ... -
-
- - - `}),` -`,e.jsx(s.h3,{id:"estils-sobre-files",children:"Estils sobre files"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Estados"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--selected"}),": background: --color-primary-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--deleted"}),": background: --color-red-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--disabled"}),": background: --color-neutral-50 / color: --color-neutral-500"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Contenido anidado"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--expanded"}),": Àmplia l' alçada de la fila i permet definir un td amb colspan que ocupi tot l' ample de la taula."]}),` -`]}),` -`,e.jsx(l,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"estils-sobre-columnes",children:"Estils sobre columnes"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Text Align:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-right"}),": text-align: right."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-center"}),": tex-align: right."]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Font Weight:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-bold"}),": font-weight: bold / color: neutral-700"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-black"}),": font-weight: bold / color: neutral-900"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Td Content:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content"}),": crea un div amb display:inline-flex dins la cel·la per poder mostrar el valor de la columna acompanyat d'una icona o badge."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content--sm"}),": redueix el gap entre els elements dins del div.dss-td-content."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content__value"}),": usar aquesta classe dins del div.dss-td-content limita a dues línies l' alçada màxima de la cel·la."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-checkbox--multiselect"}),": per diferenciar el checkbox de selecció de fila amb el d' estat revisat i poder seleccionar mitjançant navegació per teclat."]}),` -`]}),` -`,e.jsx(t,{code:` - ... - -
- -
- - -
- 123 - John Doe -
- - ... - `}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-cap%C3%A7alera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-sticky-columns",children:"Taula amb sticky columns"})}),` -`]}),` -`,e.jsx(s.h3,{id:"taula-amb-capçalera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"}),` -`,e.jsx(s.p,{children:"Afegir la propietat 'innerFilters'. Es recomana utilitzar el component input-dropdown per afegir selectors de filtres."}),` -`,e.jsx(l,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"}),` -`,e.jsxs(s.p,{children:["Utilitzar la classe ",e.jsx(s.code,{children:"dss-custom-table dss-custom-table--max-content-width"}),` per habilitar l' overflow horitzontal de la taula. -Amb aquesta opció podem ajustar manualment l' ample de les columnes amb la propietat 'columHeader > style'.`]}),` -`,e.jsx(l,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-sticky-columns",children:"Taula amb sticky columns"}),` -`,e.jsxs(s.p,{children:["Combinar la classe ",e.jsx(s.code,{children:"dss-custom-table--max-content-width"})," amb ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-default"})," per fixar la posició de la primera i última columnes. Això provoca que la fila amb els títols de les columnes deixi d'estar fixa durant l'scroll."]}),` -`,e.jsxs(s.p,{children:["En cas de tenir una taula amb multiselect haurà de reemplaçar la classe default per una de les següents ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-multiselect"})," o ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-radioselect"}),"."]}),` -`,e.jsx(l,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha afegit una propietat disableSorting que permet deshabilitar l'opció d'ordenar qualsevol columna de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.2"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual el navegador podia arribar a bloquejar-se si es feia click multitud de vegades en un checkbox per seleccionar una fila.",e.jsx("br",{}),"S'ha millorat el funcionament del checkbox multiselect perquè s'actualitzi dinàmicament en cas que l'usuari seleccioni totes les files manualment o bé desmarqui una d'elles quan estaven totes seleccionades.",e.jsx("br",{}),"S' ha modificat el missatge d' informació sobre les files seleccionades, que podia arribar a ser confús, ja que en el comptador es tenen en compte també les files seleccionades en altres pàgines de la taula.",e.jsx("br",{}),"S'ha afegit una propietat hideFooter per a aquelles casuístiques especials on es necessiti ocultar per algun motiu tant el paginador com les opcions referents a les files seleccionades en la versió multiselect."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.1"})}),e.jsxs(s.td,{children:["S' ha corregit un error pel qual l' ordenació de les columnes no funcionava si n' hi havia algun camp sense valor.",e.jsx("br",{}),"S'ha corregit un error pel qual la fila expandida amb classe 'tbody-row--expanded' tenia un background en estat 'hover'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual la propietat 'rowsPerPageLabel' no estava fent efecte.",e.jsx("br",{}),"S'han afegit noves propietats que permeten ocultar o modificar l'aparença d'alguns elements per a poder adaptar el component a tots els dissenys de les iniciatives. Veure propietats: hidePaginationResults, pageSizeOptionsDisabled, hideHeaderTitleAndExpand."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.1"})}),e.jsxs(s.td,{children:["Se ha corregido un error en el caso de uso donde los datos se paginan/segmentan desde el propio backend, que estaba produciendo un bucle infinito al modificar los datos cuando se hacia click en el paginador.",e.jsx("br",{}),"Se ha corregido un error por el que el orden de las columnas de tipo número no se mantenía al cambiar el estado del paginador."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha creat una nova versió del component per a les taules que conté tota la funcionalitat del component anterior però permetent una major flexibilitat a l'hora de maquetar l' interior de la taula i un control total sobre la interacció amb els elements de cada fila."})]})]})]})]})}function S(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(d,{...n})}):d(n)}export{S as default}; diff --git a/rc/assets/custom-table.doc-TGr-JMl0.js b/rc/assets/custom-table.doc-CXQ4if7r.js similarity index 99% rename from rc/assets/custom-table.doc-TGr-JMl0.js rename to rc/assets/custom-table.doc-CXQ4if7r.js index 62935ff..bf779ee 100644 --- a/rc/assets/custom-table.doc-TGr-JMl0.js +++ b/rc/assets/custom-table.doc-CXQ4if7r.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as i,ah as l,ak as t}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{C as c,P as o,R as h,A as x,H as j,S as u}from"./custom-table.stories-DxjjeUtp.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as i,ah as l,ak as t}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{C as c,P as o,R as h,A as x,H as j,S as u}from"./custom-table.stories-DxjjeUtp.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .table-wrapper { width: 900px; height: 600px; diff --git a/rc/assets/custom-table.doc-CdhuRxz4.js b/rc/assets/custom-table.doc-CdhuRxz4.js deleted file mode 100644 index e818ea3..0000000 --- a/rc/assets/custom-table.doc-CdhuRxz4.js +++ /dev/null @@ -1,149 +0,0 @@ -import{ae as e,af as a,ag as i,ah as l,ak as t}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{C as c,P as o,R as h,A as x,H as j,S as u}from"./custom-table.stories-DxjjeUtp.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .table-wrapper { - width: 900px; - height: 600px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-custom-table",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest component sorgeix de la fusió entre els antics dss-table i table-css per donar una major flexibilitat a l'hora de fer les taules."}),` -`]}),` -`,e.jsx(s.p,{children:`Una part del component està creada com a Web Component per afegir funcionalitats i esdeveniments com la paginació, sorting o navegació per teclat. -Mentre que l' altra part s' ha d' implementar com a slot, utilitzant HTML i CSS el que ens permet simplificar la interacció amb els elements clicables -especialment dins de cada fila.`}),` -`,e.jsx(s.p,{children:"L' estructura del component seria per tant:"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Header"}),": Secció que inclou principalment l' àrea per visualitzar els filtres definits fora del component. També conté la funcionalitat per ampliar o reduir la taula i per obrir/tancar el drawer."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Body"}),": Slot on injectarem la taula en format HTML/CSS, sense incloure la capçalera de les columnes que es generarà dinàmicament."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Footer"}),": Secció que inclou la paginació i les accions en cas de tractar-se d' una taula amb multiselecció."]}),` -`]}),` -`,e.jsxs(s.p,{children:["El selector per poder utilitzar la taula és ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-custom-table"})}),"."]}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota"}),": Les funcionalitats sobre el contingut de la taula no poden aplicar-se directament sobre el slot a Storybook, per la qual cosa haurà de capturar els esdeveniments en la seva aplicació i actualitzar les dades que es renderitzen en aquest slot. Pot veure un exemple complet del component en la ",e.jsx(s.a,{href:"https://git.intranet.gencat.cat/3609/dss-demo-angular",rel:"nofollow",children:"demo Angular"}),"**."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"flux-de-dades",children:"Flux de dades"}),` -`,e.jsx(s.p,{children:"Per desenvolupar la taula tindrem dos casos d' ús:"}),` -`,e.jsxs(s.ol,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben segmentades des del backend"}),`, del qual obtenim el total d'elements i el primer bloc de dades. En aquest cas haurem d'enviar al web les propietats "data" i "totalResults" i en el slot podrem renderitzar aquestes dades seguint l'exemple. Quan s'interactui sobre el paginador l'esdeveniment ens retornarà el nou estat del mateix per trucar al backend i obtenir el següent bloc de dades (aquí haurem d'actualitzar la propietat "data"). Quan s'ordeni una columna, l'esdeveniment corresponent ens retorna tant l'estat actual de la capçalera de la taula (que indica que s'ha clicat) com el bloc de dades definit en "data" ordenats correctament per actualitzar el slot de la taula.`]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben al complet des del backend"}),`. En aquest cas només necessitem enviar al component la propietat "data", de manera que quan el component rep les dades aplicarà la paginació inicial i retornarà un esdeveniment amb el bloc de dades paginat que s'ha de mostrar dins del slot. Es recomana utilitzar aqui una segona variable on s' emmagatzemen les dades tant paginades o ordenades i que sigui aquesta variable la que s' utilitza per visualitzar el contingut de la taula en lloc del bloc de dades original.`]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-custom-table-header",children:"dss-custom-table: header"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si es defineix s'ocultarà la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"tableTitle"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol mostrat a la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Filtres aplicats prèviament a la taula. En cas d' interacció amb els mateixos, el component notificarà mitjançant esdeveniment que hi va haver un canvi i que s' ha de tornar a aplicar un nou filtratge fora de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"innerFilters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Canvia la capçalera per defecte a una versió on es poden incloure els filtres a traves d' un slot. L' aplicació d' aquests filtres s' ha d' executar fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandTable"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet mostrar tots els elements de la taula quan es renderitza el component. Per defecte la taula mostra la meitat d' elements afegint scroll vertical."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Ampliar'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per ampliar el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"collapseLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Reduir'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per reduir el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filtersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Selecció'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per obrir un component extern on s' alleugereixen els filtres."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"cleanFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Netejar filtres'"}),e.jsx(s.td,{children:"Text mostrat al botó d' interacció per eliminar tots els filtres seleccionats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"noFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'No hi ha filtres seleccionats'"}),e.jsx(s.td,{children:"Text mostrat quan no hi ha cap filtre seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeaderTitleAndExpand"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga tota la fila de la capçalera on es mostra el títol i el botó d'expandir la taula en cas que només calgui utilitzar els filtres."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-table",children:"dss-custom-table: table"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"columnsHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"ColumnHeader[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Llistat de columnes que conté la taula i la configuració per a cadascuna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"data"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"Object[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Dades sobre les quals s'aplicaran les funcionalitats del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"totalResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nombre de dades totals quan l'objecte ja arriba segmentat des del mateix backend. Si aquesta propietat està activa, l'esdeveniment de paginació només retornarà les opcions del paginador perquè es torni a trucar al backend per obtenir el següent segment de dades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"multiselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus checkbox per seleccionar diverses files."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"radioselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus ràdio per seleccionar una fila."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selectedRowsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'files seleccionades'"}),e.jsx(s.td,{children:"Text mostrat al footer per definir les files seleccionades."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"columnheader",children:"ColumnHeader"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte. Exemple: objecte = name: 'xxx' => columnHeader => column: 'name'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"style"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estil personalitzat de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"align"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Alineament del text dins de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortType"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'number' o 'date' o 'string'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Tipus de dades que contindrà la columna. Si aquesta propietat no està definida, no s'habilitarà la funció d'ordenar la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortOrder"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'asc' o 'desc' o 'none'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat actual de lordenació de la columna. Aquesta propietat no s'ha d'incloure la primera vegada que es renderitza el component. Només cal definir-lo en cas que vulguem recuperar l'estat de l'ordenació anterior en navegar entre pàgines."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-pagination",children:"dss-custom-table: pagination"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida, el paginador i l'àrea de descripció i accions s'amagaran sobre les files seleccionades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginator"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida s'amagarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentIndex"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Pàgina per defecte en què se situarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number[]"}),e.jsx(s.td,{children:"[5,10,20]"}),e.jsx(s.td,{children:"Opcions disponibles per modificar la mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Resultats"}),e.jsx(s.td,{children:"Text mostrat pel nombre de resultats mostrats a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"rowsPerPageLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Files per página"}),e.jsx(s.td,{children:"Text mostrat per a files per pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginationResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-events",children:"dss-custom-table: events"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onPaginate"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà les opcions actuals del paginador. Si la propietat totalResults no està definida també es tornarà el segment de dades que s'ha de renderitzar dins de l'slot."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onSort"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà l'ordenació de les dades juntament amb l'estat de l'objecte 'columnsHeader'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onExpandTable"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click en el botó d'ampliar o reduir la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onOpenDrawer"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click al botó per obrir el selector de filtres (drawer) fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUpdateFilters"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'han eliminat algun dels filtres des de la pròpia taula. L'esdeveniment retorna un objecte amb els filtres actuals perquè l'usuari torni a aplicar la funcionalitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onMultiselect"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'ha premut al checkbox per seleccionar totes les files."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"css",children:"CSS"}),` -`,e.jsx(s.p,{children:"Finalment el contingut de la taula s'injecta al web component a través d'un slot, la qual cosa ens permet donar-li aparença a través de CSS. D'aquesta manera pot utilitzar les classes definides per defecte per a la taula i/o sobreescriure aquells aspectes que necessiti en l'aplicació final."}),` -`,e.jsx(s.h3,{id:"estils-per-defecte",children:"Estils per defecte"}),` -`,e.jsx(t,{code:` -
- - - - - ... - - ... - -
- ... -
-
- - - `}),` -`,e.jsx(s.h3,{id:"estils-sobre-files",children:"Estils sobre files"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Estados"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--selected"}),": background: --color-primary-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--deleted"}),": background: --color-red-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--disabled"}),": background: --color-neutral-50 / color: --color-neutral-500"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Contenido anidado"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--expanded"}),": Àmplia l' alçada de la fila i permet definir un td amb colspan que ocupi tot l' ample de la taula."]}),` -`]}),` -`,e.jsx(l,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"estils-sobre-columnes",children:"Estils sobre columnes"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Text Align:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-right"}),": text-align: right."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-center"}),": tex-align: right."]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Font Weight:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-bold"}),": font-weight: bold / color: neutral-700"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-black"}),": font-weight: bold / color: neutral-900"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Td Content:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content"}),": crea un div amb display:inline-flex dins la cel·la per poder mostrar el valor de la columna acompanyat d'una icona o badge."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content--sm"}),": redueix el gap entre els elements dins del div.dss-td-content."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content__value"}),": usar aquesta classe dins del div.dss-td-content limita a dues línies l' alçada màxima de la cel·la."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-checkbox--multiselect"}),": per diferenciar el checkbox de selecció de fila amb el d' estat revisat i poder seleccionar mitjançant navegació per teclat."]}),` -`]}),` -`,e.jsx(t,{code:` - ... - -
- -
- - -
- 123 - John Doe -
- - ... - `}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-cap%C3%A7alera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-sticky-columns",children:"Taula amb sticky columns"})}),` -`]}),` -`,e.jsx(s.h3,{id:"taula-amb-capçalera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"}),` -`,e.jsx(s.p,{children:"Afegir la propietat 'innerFilters'. Es recomana utilitzar el component input-dropdown per afegir selectors de filtres."}),` -`,e.jsx(l,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"}),` -`,e.jsxs(s.p,{children:["Utilitzar la classe ",e.jsx(s.code,{children:"dss-custom-table dss-custom-table--max-content-width"}),` per habilitar l' overflow horitzontal de la taula. -Amb aquesta opció podem ajustar manualment l' ample de les columnes amb la propietat 'columHeader > style'.`]}),` -`,e.jsx(l,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-sticky-columns",children:"Taula amb sticky columns"}),` -`,e.jsxs(s.p,{children:["Combinar la classe ",e.jsx(s.code,{children:"dss-custom-table--max-content-width"})," amb ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-default"})," per fixar la posició de la primera i última columnes. Això provoca que la fila amb els títols de les columnes deixi d'estar fixa durant l'scroll."]}),` -`,e.jsxs(s.p,{children:["En cas de tenir una taula amb multiselect haurà de reemplaçar la classe default per una de les següents ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-multiselect"})," o ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-radioselect"}),"."]}),` -`,e.jsx(l,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha afegit una propietat disableSorting que permet deshabilitar l'opció d'ordenar qualsevol columna de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.2"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual el navegador podia arribar a bloquejar-se si es feia click multitud de vegades en un checkbox per seleccionar una fila.",e.jsx("br",{}),"S'ha millorat el funcionament del checkbox multiselect perquè s'actualitzi dinàmicament en cas que l'usuari seleccioni totes les files manualment o bé desmarqui una d'elles quan estaven totes seleccionades.",e.jsx("br",{}),"S' ha modificat el missatge d' informació sobre les files seleccionades, que podia arribar a ser confús, ja que en el comptador es tenen en compte també les files seleccionades en altres pàgines de la taula.",e.jsx("br",{}),"S'ha afegit una propietat hideFooter per a aquelles casuístiques especials on es necessiti ocultar per algun motiu tant el paginador com les opcions referents a les files seleccionades en la versió multiselect."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.1"})}),e.jsxs(s.td,{children:["S' ha corregit un error pel qual l' ordenació de les columnes no funcionava si n' hi havia algun camp sense valor.",e.jsx("br",{}),"S'ha corregit un error pel qual la fila expandida amb classe 'tbody-row--expanded' tenia un background en estat 'hover'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual la propietat 'rowsPerPageLabel' no estava fent efecte.",e.jsx("br",{}),"S'han afegit noves propietats que permeten ocultar o modificar l'aparença d'alguns elements per a poder adaptar el component a tots els dissenys de les iniciatives. Veure propietats: hidePaginationResults, pageSizeOptionsDisabled, hideHeaderTitleAndExpand."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.1"})}),e.jsxs(s.td,{children:["Se ha corregido un error en el caso de uso donde los datos se paginan/segmentan desde el propio backend, que estaba produciendo un bucle infinito al modificar los datos cuando se hacia click en el paginador.",e.jsx("br",{}),"Se ha corregido un error por el que el orden de las columnas de tipo número no se mantenía al cambiar el estado del paginador."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha creat una nova versió del component per a les taules que conté tota la funcionalitat del component anterior però permetent una major flexibilitat a l'hora de maquetar l' interior de la taula i un control total sobre la interacció amb els elements de cada fila."})]})]})]})]})}function S(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(d,{...n})}):d(n)}export{S as default}; diff --git a/rc/assets/custom-table.doc-CjR5REvr.js b/rc/assets/custom-table.doc-CjR5REvr.js deleted file mode 100644 index e7a33fe..0000000 --- a/rc/assets/custom-table.doc-CjR5REvr.js +++ /dev/null @@ -1,149 +0,0 @@ -import{ae as e,af as a,ag as i,ah as l,ak as t}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{C as c,P as o,R as h,A as x,H as j,S as u}from"./custom-table.stories-y7CdkspH.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .table-wrapper { - width: 900px; - height: 600px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-custom-table",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest component sorgeix de la fusió entre els antics dss-table i table-css per donar una major flexibilitat a l'hora de fer les taules."}),` -`]}),` -`,e.jsx(s.p,{children:`Una part del component està creada com a Web Component per afegir funcionalitats i esdeveniments com la paginació, sorting o navegació per teclat. -Mentre que l' altra part s' ha d' implementar com a slot, utilitzant HTML i CSS el que ens permet simplificar la interacció amb els elements clicables -especialment dins de cada fila.`}),` -`,e.jsx(s.p,{children:"L' estructura del component seria per tant:"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Header"}),": Secció que inclou principalment l' àrea per visualitzar els filtres definits fora del component. També conté la funcionalitat per ampliar o reduir la taula i per obrir/tancar el drawer."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Body"}),": Slot on injectarem la taula en format HTML/CSS, sense incloure la capçalera de les columnes que es generarà dinàmicament."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Footer"}),": Secció que inclou la paginació i les accions en cas de tractar-se d' una taula amb multiselecció."]}),` -`]}),` -`,e.jsxs(s.p,{children:["El selector per poder utilitzar la taula és ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-custom-table"})}),"."]}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota"}),": Les funcionalitats sobre el contingut de la taula no poden aplicar-se directament sobre el slot a Storybook, per la qual cosa haurà de capturar els esdeveniments en la seva aplicació i actualitzar les dades que es renderitzen en aquest slot. Pot veure un exemple complet del component en la ",e.jsx(s.a,{href:"https://git.intranet.gencat.cat/3609/dss-demo-angular",rel:"nofollow",children:"demo Angular"}),"**."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"flux-de-dades",children:"Flux de dades"}),` -`,e.jsx(s.p,{children:"Per desenvolupar la taula tindrem dos casos d' ús:"}),` -`,e.jsxs(s.ol,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben segmentades des del backend"}),`, del qual obtenim el total d'elements i el primer bloc de dades. En aquest cas haurem d'enviar al web les propietats "data" i "totalResults" i en el slot podrem renderitzar aquestes dades seguint l'exemple. Quan s'interactui sobre el paginador l'esdeveniment ens retornarà el nou estat del mateix per trucar al backend i obtenir el següent bloc de dades (aquí haurem d'actualitzar la propietat "data"). Quan s'ordeni una columna, l'esdeveniment corresponent ens retorna tant l'estat actual de la capçalera de la taula (que indica que s'ha clicat) com el bloc de dades definit en "data" ordenats correctament per actualitzar el slot de la taula.`]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben al complet des del backend"}),`. En aquest cas només necessitem enviar al component la propietat "data", de manera que quan el component rep les dades aplicarà la paginació inicial i retornarà un esdeveniment amb el bloc de dades paginat que s'ha de mostrar dins del slot. Es recomana utilitzar aqui una segona variable on s' emmagatzemen les dades tant paginades o ordenades i que sigui aquesta variable la que s' utilitza per visualitzar el contingut de la taula en lloc del bloc de dades original.`]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-custom-table-header",children:"dss-custom-table: header"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si es defineix s'ocultarà la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"tableTitle"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol mostrat a la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Filtres aplicats prèviament a la taula. En cas d' interacció amb els mateixos, el component notificarà mitjançant esdeveniment que hi va haver un canvi i que s' ha de tornar a aplicar un nou filtratge fora de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"innerFilters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Canvia la capçalera per defecte a una versió on es poden incloure els filtres a traves d' un slot. L' aplicació d' aquests filtres s' ha d' executar fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandTable"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet mostrar tots els elements de la taula quan es renderitza el component. Per defecte la taula mostra la meitat d' elements afegint scroll vertical."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Ampliar'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per ampliar el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"collapseLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Reduir'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per reduir el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filtersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Selecció'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per obrir un component extern on s' alleugereixen els filtres."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"cleanFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Netejar filtres'"}),e.jsx(s.td,{children:"Text mostrat al botó d' interacció per eliminar tots els filtres seleccionats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"noFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'No hi ha filtres seleccionats'"}),e.jsx(s.td,{children:"Text mostrat quan no hi ha cap filtre seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeaderTitleAndExpand"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga tota la fila de la capçalera on es mostra el títol i el botó d'expandir la taula en cas que només calgui utilitzar els filtres."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-table",children:"dss-custom-table: table"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"columnsHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"ColumnHeader[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Llistat de columnes que conté la taula i la configuració per a cadascuna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"data"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"Object[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Dades sobre les quals s'aplicaran les funcionalitats del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"totalResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nombre de dades totals quan l'objecte ja arriba segmentat des del mateix backend. Si aquesta propietat està activa, l'esdeveniment de paginació només retornarà les opcions del paginador perquè es torni a trucar al backend per obtenir el següent segment de dades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"multiselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus checkbox per seleccionar diverses files."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"radioselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus ràdio per seleccionar una fila."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selectedRowsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'files seleccionades'"}),e.jsx(s.td,{children:"Text mostrat al footer per definir les files seleccionades."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"columnheader",children:"ColumnHeader"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte. Exemple: objecte = name: 'xxx' => columnHeader => column: 'name'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"style"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estil personalitzat de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"align"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Alineament del text dins de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortType"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'number' o 'date' o 'string'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Tipus de dades que contindrà la columna. Si aquesta propietat no està definida, no s'habilitarà la funció d'ordenar la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortOrder"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'asc' o 'desc' o 'none'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat actual de lordenació de la columna. Aquesta propietat no s'ha d'incloure la primera vegada que es renderitza el component. Només cal definir-lo en cas que vulguem recuperar l'estat de l'ordenació anterior en navegar entre pàgines."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-pagination",children:"dss-custom-table: pagination"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida, el paginador i l'àrea de descripció i accions s'amagaran sobre les files seleccionades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginator"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida s'amagarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentIndex"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Pàgina per defecte en què se situarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number[]"}),e.jsx(s.td,{children:"[5,10,20]"}),e.jsx(s.td,{children:"Opcions disponibles per modificar la mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Resultats"}),e.jsx(s.td,{children:"Text mostrat pel nombre de resultats mostrats a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"rowsPerPageLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Files per página"}),e.jsx(s.td,{children:"Text mostrat per a files per pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginationResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-events",children:"dss-custom-table: events"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onPaginate"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà les opcions actuals del paginador. Si la propietat totalResults no està definida també es tornarà el segment de dades que s'ha de renderitzar dins de l'slot."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onSort"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà l'ordenació de les dades juntament amb l'estat de l'objecte 'columnsHeader'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onExpandTable"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click en el botó d'ampliar o reduir la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onOpenDrawer"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click al botó per obrir el selector de filtres (drawer) fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUpdateFilters"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'han eliminat algun dels filtres des de la pròpia taula. L'esdeveniment retorna un objecte amb els filtres actuals perquè l'usuari torni a aplicar la funcionalitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onMultiselect"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'ha premut al checkbox per seleccionar totes les files."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"css",children:"CSS"}),` -`,e.jsx(s.p,{children:"Finalment el contingut de la taula s'injecta al web component a través d'un slot, la qual cosa ens permet donar-li aparença a través de CSS. D'aquesta manera pot utilitzar les classes definides per defecte per a la taula i/o sobreescriure aquells aspectes que necessiti en l'aplicació final."}),` -`,e.jsx(s.h3,{id:"estils-per-defecte",children:"Estils per defecte"}),` -`,e.jsx(t,{code:` -
- - - - - ... - - ... - -
- ... -
-
- - - `}),` -`,e.jsx(s.h3,{id:"estils-sobre-files",children:"Estils sobre files"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Estados"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--selected"}),": background: --color-primary-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--deleted"}),": background: --color-red-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--disabled"}),": background: --color-neutral-50 / color: --color-neutral-500"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Contenido anidado"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--expanded"}),": Àmplia l' alçada de la fila i permet definir un td amb colspan que ocupi tot l' ample de la taula."]}),` -`]}),` -`,e.jsx(l,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"estils-sobre-columnes",children:"Estils sobre columnes"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Text Align:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-right"}),": text-align: right."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-center"}),": tex-align: right."]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Font Weight:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-bold"}),": font-weight: bold / color: neutral-700"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-black"}),": font-weight: bold / color: neutral-900"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Td Content:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content"}),": crea un div amb display:inline-flex dins la cel·la per poder mostrar el valor de la columna acompanyat d'una icona o badge."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content--sm"}),": redueix el gap entre els elements dins del div.dss-td-content."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content__value"}),": usar aquesta classe dins del div.dss-td-content limita a dues línies l' alçada màxima de la cel·la."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-checkbox--multiselect"}),": per diferenciar el checkbox de selecció de fila amb el d' estat revisat i poder seleccionar mitjançant navegació per teclat."]}),` -`]}),` -`,e.jsx(t,{code:` - ... - -
- -
- - -
- 123 - John Doe -
- - ... - `}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-cap%C3%A7alera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-sticky-columns",children:"Taula amb sticky columns"})}),` -`]}),` -`,e.jsx(s.h3,{id:"taula-amb-capçalera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"}),` -`,e.jsx(s.p,{children:"Afegir la propietat 'innerFilters'. Es recomana utilitzar el component input-dropdown per afegir selectors de filtres."}),` -`,e.jsx(l,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"}),` -`,e.jsxs(s.p,{children:["Utilitzar la classe ",e.jsx(s.code,{children:"dss-custom-table dss-custom-table--max-content-width"}),` per habilitar l' overflow horitzontal de la taula. -Amb aquesta opció podem ajustar manualment l' ample de les columnes amb la propietat 'columHeader > style'.`]}),` -`,e.jsx(l,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-sticky-columns",children:"Taula amb sticky columns"}),` -`,e.jsxs(s.p,{children:["Combinar la classe ",e.jsx(s.code,{children:"dss-custom-table--max-content-width"})," amb ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-default"})," per fixar la posició de la primera i última columnes. Això provoca que la fila amb els títols de les columnes deixi d'estar fixa durant l'scroll."]}),` -`,e.jsxs(s.p,{children:["En cas de tenir una taula amb multiselect haurà de reemplaçar la classe default per una de les següents ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-multiselect"})," o ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-radioselect"}),"."]}),` -`,e.jsx(l,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha afegit una propietat disableSorting que permet deshabilitar l'opció d'ordenar qualsevol columna de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.2"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual el navegador podia arribar a bloquejar-se si es feia click multitud de vegades en un checkbox per seleccionar una fila.",e.jsx("br",{}),"S'ha millorat el funcionament del checkbox multiselect perquè s'actualitzi dinàmicament en cas que l'usuari seleccioni totes les files manualment o bé desmarqui una d'elles quan estaven totes seleccionades.",e.jsx("br",{}),"S' ha modificat el missatge d' informació sobre les files seleccionades, que podia arribar a ser confús, ja que en el comptador es tenen en compte també les files seleccionades en altres pàgines de la taula.",e.jsx("br",{}),"S'ha afegit una propietat hideFooter per a aquelles casuístiques especials on es necessiti ocultar per algun motiu tant el paginador com les opcions referents a les files seleccionades en la versió multiselect."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.1"})}),e.jsxs(s.td,{children:["S' ha corregit un error pel qual l' ordenació de les columnes no funcionava si n' hi havia algun camp sense valor.",e.jsx("br",{}),"S'ha corregit un error pel qual la fila expandida amb classe 'tbody-row--expanded' tenia un background en estat 'hover'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual la propietat 'rowsPerPageLabel' no estava fent efecte.",e.jsx("br",{}),"S'han afegit noves propietats que permeten ocultar o modificar l'aparença d'alguns elements per a poder adaptar el component a tots els dissenys de les iniciatives. Veure propietats: hidePaginationResults, pageSizeOptionsDisabled, hideHeaderTitleAndExpand."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.1"})}),e.jsxs(s.td,{children:["Se ha corregido un error en el caso de uso donde los datos se paginan/segmentan desde el propio backend, que estaba produciendo un bucle infinito al modificar los datos cuando se hacia click en el paginador.",e.jsx("br",{}),"Se ha corregido un error por el que el orden de las columnas de tipo número no se mantenía al cambiar el estado del paginador."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha creat una nova versió del component per a les taules que conté tota la funcionalitat del component anterior però permetent una major flexibilitat a l'hora de maquetar l' interior de la taula i un control total sobre la interacció amb els elements de cada fila."})]})]})]})]})}function S(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(d,{...n})}):d(n)}export{S as default}; diff --git a/rc/assets/custom-table.doc-Cxkg72RQ.js b/rc/assets/custom-table.doc-Cxkg72RQ.js deleted file mode 100644 index 4ba80bf..0000000 --- a/rc/assets/custom-table.doc-Cxkg72RQ.js +++ /dev/null @@ -1,149 +0,0 @@ -import{ae as e,af as a,ag as i,ah as l,ak as t}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{C as c,P as o,R as h,A as x,H as j,S as u}from"./custom-table.stories-DxjjeUtp.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .table-wrapper { - width: 900px; - height: 600px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-custom-table",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest component sorgeix de la fusió entre els antics dss-table i table-css per donar una major flexibilitat a l'hora de fer les taules."}),` -`]}),` -`,e.jsx(s.p,{children:`Una part del component està creada com a Web Component per afegir funcionalitats i esdeveniments com la paginació, sorting o navegació per teclat. -Mentre que l' altra part s' ha d' implementar com a slot, utilitzant HTML i CSS el que ens permet simplificar la interacció amb els elements clicables -especialment dins de cada fila.`}),` -`,e.jsx(s.p,{children:"L' estructura del component seria per tant:"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Header"}),": Secció que inclou principalment l' àrea per visualitzar els filtres definits fora del component. També conté la funcionalitat per ampliar o reduir la taula i per obrir/tancar el drawer."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Body"}),": Slot on injectarem la taula en format HTML/CSS, sense incloure la capçalera de les columnes que es generarà dinàmicament."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Footer"}),": Secció que inclou la paginació i les accions en cas de tractar-se d' una taula amb multiselecció."]}),` -`]}),` -`,e.jsxs(s.p,{children:["El selector per poder utilitzar la taula és ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-custom-table"})}),"."]}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"Nota"}),": Les funcionalitats sobre el contingut de la taula no poden aplicar-se directament sobre el slot a Storybook, per la qual cosa haurà de capturar els esdeveniments en la seva aplicació i actualitzar les dades que es renderitzen en aquest slot. Pot veure un exemple complet del component en la ",e.jsx(s.a,{href:"https://git.intranet.gencat.cat/3609/dss-demo-angular",rel:"nofollow",children:"demo Angular"}),"**."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"flux-de-dades",children:"Flux de dades"}),` -`,e.jsx(s.p,{children:"Per desenvolupar la taula tindrem dos casos d' ús:"}),` -`,e.jsxs(s.ol,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben segmentades des del backend"}),`, del qual obtenim el total d'elements i el primer bloc de dades. En aquest cas haurem d'enviar al web les propietats "data" i "totalResults" i en el slot podrem renderitzar aquestes dades seguint l'exemple. Quan s'interactui sobre el paginador l'esdeveniment ens retornarà el nou estat del mateix per trucar al backend i obtenir el següent bloc de dades (aquí haurem d'actualitzar la propietat "data"). Quan s'ordeni una columna, l'esdeveniment corresponent ens retorna tant l'estat actual de la capçalera de la taula (que indica que s'ha clicat) com el bloc de dades definit en "data" ordenats correctament per actualitzar el slot de la taula.`]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:"Les dades arriben al complet des del backend"}),`. En aquest cas només necessitem enviar al component la propietat "data", de manera que quan el component rep les dades aplicarà la paginació inicial i retornarà un esdeveniment amb el bloc de dades paginat que s'ha de mostrar dins del slot. Es recomana utilitzar aqui una segona variable on s' emmagatzemen les dades tant paginades o ordenades i que sigui aquesta variable la que s' utilitza per visualitzar el contingut de la taula en lloc del bloc de dades original.`]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"dss-custom-table-header",children:"dss-custom-table: header"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si es defineix s'ocultarà la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"tableTitle"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Title'"}),e.jsx(s.td,{children:"Títol mostrat a la capçalera de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Filtres aplicats prèviament a la taula. En cas d' interacció amb els mateixos, el component notificarà mitjançant esdeveniment que hi va haver un canvi i que s' ha de tornar a aplicar un nou filtratge fora de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"innerFilters"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Canvia la capçalera per defecte a una versió on es poden incloure els filtres a traves d' un slot. L' aplicació d' aquests filtres s' ha d' executar fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandTable"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet mostrar tots els elements de la taula quan es renderitza el component. Per defecte la taula mostra la meitat d' elements afegint scroll vertical."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"expandLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Ampliar'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per ampliar el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"collapseLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Reduir'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per reduir el nombre d' elements visibles a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filtersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Selecció'"}),e.jsx(s.td,{children:"Text mostrat al botó d'interacció per obrir un component extern on s' alleugereixen els filtres."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"cleanFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Netejar filtres'"}),e.jsx(s.td,{children:"Text mostrat al botó d' interacció per eliminar tots els filtres seleccionats."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"noFiltersLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'No hi ha filtres seleccionats'"}),e.jsx(s.td,{children:"Text mostrat quan no hi ha cap filtre seleccionat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideHeaderTitleAndExpand"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amaga tota la fila de la capçalera on es mostra el títol i el botó d'expandir la taula en cas que només calgui utilitzar els filtres."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-table",children:"dss-custom-table: table"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"columnsHeader"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"ColumnHeader[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Llistat de columnes que conté la taula i la configuració per a cadascuna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"data"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"Object[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Dades sobre les quals s'aplicaran les funcionalitats del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"totalResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nombre de dades totals quan l'objecte ja arriba segmentat des del mateix backend. Si aquesta propietat està activa, l'esdeveniment de paginació només retornarà les opcions del paginador perquè es torni a trucar al backend per obtenir el següent segment de dades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"multiselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus checkbox per seleccionar diverses files."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"radioselect"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita la columna de tipus ràdio per seleccionar una fila."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"selectedRowsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'files seleccionades'"}),e.jsx(s.td,{children:"Text mostrat al footer per definir les files seleccionades."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"columnheader",children:"ColumnHeader"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte. Exemple: objecte = name: 'xxx' => columnHeader => column: 'name'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Nom de la propietat corresponent a l'objecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"style"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estil personalitzat de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"align"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Alineament del text dins de la capçalera de la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortType"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'number' o 'date' o 'string'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Tipus de dades que contindrà la columna. Si aquesta propietat no està definida, no s'habilitarà la funció d'ordenar la columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"sortOrder"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"'asc' o 'desc' o 'none'"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat actual de lordenació de la columna. Aquesta propietat no s'ha d'incloure la primera vegada que es renderitza el component. Només cal definir-lo en cas que vulguem recuperar l'estat de l'ordenació anterior en navegar entre pàgines."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-pagination",children:"dss-custom-table: pagination"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida, el paginador i l'àrea de descripció i accions s'amagaran sobre les files seleccionades."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginator"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Si aquesta propietat està definida s'amagarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentIndex"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Pàgina per defecte en què se situarà el paginador."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number[]"}),e.jsx(s.td,{children:"[5,10,20]"}),e.jsx(s.td,{children:"Opcions disponibles per modificar la mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"resultsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Resultats"}),e.jsx(s.td,{children:"Text mostrat pel nombre de resultats mostrats a la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"rowsPerPageLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"Files per página"}),e.jsx(s.td,{children:"Text mostrat per a files per pàgina."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hidePaginationResults"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"dss-custom-table-events",children:"dss-custom-table: events"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onPaginate"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà les opcions actuals del paginador. Si la propietat totalResults no està definida també es tornarà el segment de dades que s'ha de renderitzar dins de l'slot."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onSort"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que tornarà l'ordenació de les dades juntament amb l'estat de l'objecte 'columnsHeader'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onExpandTable"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click en el botó d'ampliar o reduir la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onOpenDrawer"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà a l'usuari que s' ha fet click al botó per obrir el selector de filtres (drawer) fora del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUpdateFilters"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'han eliminat algun dels filtres des de la pròpia taula. L'esdeveniment retorna un objecte amb els filtres actuals perquè l'usuari torni a aplicar la funcionalitat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onMultiselect"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"Esdeveniment que notificarà que s'ha premut al checkbox per seleccionar totes les files."})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"css",children:"CSS"}),` -`,e.jsx(s.p,{children:"Finalment el contingut de la taula s'injecta al web component a través d'un slot, la qual cosa ens permet donar-li aparença a través de CSS. D'aquesta manera pot utilitzar les classes definides per defecte per a la taula i/o sobreescriure aquells aspectes que necessiti en l'aplicació final."}),` -`,e.jsx(s.h3,{id:"estils-per-defecte",children:"Estils per defecte"}),` -`,e.jsx(t,{code:` -
- - - - - ... - - ... - -
- ... -
-
- - - `}),` -`,e.jsx(s.h3,{id:"estils-sobre-files",children:"Estils sobre files"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Estados"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--selected"}),": background: --color-primary-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--deleted"}),": background: --color-red-50"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--disabled"}),": background: --color-neutral-50 / color: --color-neutral-500"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Contenido anidado"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-tbody-row--expanded"}),": Àmplia l' alçada de la fila i permet definir un td amb colspan que ocupi tot l' ample de la taula."]}),` -`]}),` -`,e.jsx(l,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"estils-sobre-columnes",children:"Estils sobre columnes"}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Text Align:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-right"}),": text-align: right."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--align-center"}),": tex-align: right."]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Font Weight:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-bold"}),": font-weight: bold / color: neutral-700"]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td--font-black"}),": font-weight: bold / color: neutral-900"]}),` -`]}),` -`,e.jsx(s.p,{children:e.jsx(s.strong,{children:"Td Content:"})}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content"}),": crea un div amb display:inline-flex dins la cel·la per poder mostrar el valor de la columna acompanyat d'una icona o badge."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content--sm"}),": redueix el gap entre els elements dins del div.dss-td-content."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-td-content__value"}),": usar aquesta classe dins del div.dss-td-content limita a dues línies l' alçada màxima de la cel·la."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"dss-checkbox--multiselect"}),": per diferenciar el checkbox de selecció de fila amb el d' estat revisat i poder seleccionar mitjançant navegació per teclat."]}),` -`]}),` -`,e.jsx(t,{code:` - ... - -
- -
- - -
- 123 - John Doe -
- - ... - `}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-cap%C3%A7alera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#taula-amb-sticky-columns",children:"Taula amb sticky columns"})}),` -`]}),` -`,e.jsx(s.h3,{id:"taula-amb-capçalera-alternativa-per-a-filtres",children:"Taula amb capçalera alternativa per a filtres"}),` -`,e.jsx(s.p,{children:"Afegir la propietat 'innerFilters'. Es recomana utilitzar el component input-dropdown per afegir selectors de filtres."}),` -`,e.jsx(l,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-scroll-horitzontal",children:"Taula amb scroll horitzontal"}),` -`,e.jsxs(s.p,{children:["Utilitzar la classe ",e.jsx(s.code,{children:"dss-custom-table dss-custom-table--max-content-width"}),` per habilitar l' overflow horitzontal de la taula. -Amb aquesta opció podem ajustar manualment l' ample de les columnes amb la propietat 'columHeader > style'.`]}),` -`,e.jsx(l,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"taula-amb-sticky-columns",children:"Taula amb sticky columns"}),` -`,e.jsxs(s.p,{children:["Combinar la classe ",e.jsx(s.code,{children:"dss-custom-table--max-content-width"})," amb ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-default"})," per fixar la posició de la primera i última columnes. Això provoca que la fila amb els títols de les columnes deixi d'estar fixa durant l'scroll."]}),` -`,e.jsxs(s.p,{children:["En cas de tenir una taula amb multiselect haurà de reemplaçar la classe default per una de les següents ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-multiselect"})," o ",e.jsx(s.code,{children:"dss-custom-table--sticky-columns-radioselect"}),"."]}),` -`,e.jsx(l,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha afegit una propietat disableSorting que permet deshabilitar l'opció d'ordenar qualsevol columna de la taula."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.2"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual el navegador podia arribar a bloquejar-se si es feia click multitud de vegades en un checkbox per seleccionar una fila.",e.jsx("br",{}),"S'ha millorat el funcionament del checkbox multiselect perquè s'actualitzi dinàmicament en cas que l'usuari seleccioni totes les files manualment o bé desmarqui una d'elles quan estaven totes seleccionades.",e.jsx("br",{}),"S' ha modificat el missatge d' informació sobre les files seleccionades, que podia arribar a ser confús, ja que en el comptador es tenen en compte també les files seleccionades en altres pàgines de la taula.",e.jsx("br",{}),"S'ha afegit una propietat hideFooter per a aquelles casuístiques especials on es necessiti ocultar per algun motiu tant el paginador com les opcions referents a les files seleccionades en la versió multiselect."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.1"})}),e.jsxs(s.td,{children:["S' ha corregit un error pel qual l' ordenació de les columnes no funcionava si n' hi havia algun camp sense valor.",e.jsx("br",{}),"S'ha corregit un error pel qual la fila expandida amb classe 'tbody-row--expanded' tenia un background en estat 'hover'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsxs(s.td,{children:["S'ha corregit un error pel qual la propietat 'rowsPerPageLabel' no estava fent efecte.",e.jsx("br",{}),"S'han afegit noves propietats que permeten ocultar o modificar l'aparença d'alguns elements per a poder adaptar el component a tots els dissenys de les iniciatives. Veure propietats: hidePaginationResults, pageSizeOptionsDisabled, hideHeaderTitleAndExpand."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.1"})}),e.jsxs(s.td,{children:["Se ha corregido un error en el caso de uso donde los datos se paginan/segmentan desde el propio backend, que estaba produciendo un bucle infinito al modificar los datos cuando se hacia click en el paginador.",e.jsx("br",{}),"Se ha corregido un error por el que el orden de las columnas de tipo número no se mantenía al cambiar el estado del paginador."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha creat una nova versió del component per a les taules que conté tota la funcionalitat del component anterior però permetent una major flexibilitat a l'hora de maquetar l' interior de la taula i un control total sobre la interacció amb els elements de cada fila."})]})]})]})]})}function S(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(d,{...n})}):d(n)}export{S as default}; diff --git a/rc/assets/custom-table.stories-y7CdkspH.js b/rc/assets/custom-table.stories-y7CdkspH.js deleted file mode 100644 index 0b298ee..0000000 --- a/rc/assets/custom-table.stories-y7CdkspH.js +++ /dev/null @@ -1,2434 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const w={title:"Components/Custom Table",argTypes:{},parameters:{layout:"centered"}},s={tags:["!dev"],render:()=>a` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- `},t={tags:["!dev"],render:()=>a` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
- Row expanded. -
-
-
-
- End row. -
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- - - `},d={tags:["!dev"],render:()=>a` -
- -
- - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- - `},n={tags:["!dev"],render:()=>a` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
-
-
- `},e={tags:["!dev"],render:()=>a` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
-
-
- `};var o,l,c;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- \`; - } -}`,...(c=(l=s.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var i,b,u;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
- Row expanded. -
-
-
-
- End row. -
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- - - \`; - } -}`,...(u=(b=t.parameters)==null?void 0:b.docs)==null?void 0:u.source}}};var r,g,p;d.parameters={...d.parameters,docs:{...(r=d.parameters)==null?void 0:r.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
- - \`; - } -}`,...(p=(g=d.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};var m,v,h;n.parameters={...n.parameters,docs:{...(m=n.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
-
-
- \`; - } -}`,...(h=(v=n.parameters)==null?void 0:v.docs)==null?void 0:h.source}}};var x,_,y;e.parameters={...e.parameters,docs:{...(x=e.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- add_box - John Doe -
-
-
- add_box - 123 -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- John Doe - add_box -
-
-
- 123 - add_box -
-
- - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
- -
-
-
- - - Lorem ipsum - - - John Doe -
-
123 - - - -
- - 123 -
-
-
- -
-
- - -
- - -
-
-
-
-
- \`; - } -}`,...(y=(_=e.parameters)==null?void 0:_.docs)==null?void 0:y.source}}};const f=["Playground","RowStyles","AltHeader","HorizontalScroll","StickyColumns"],z=Object.freeze(Object.defineProperty({__proto__:null,AltHeader:d,HorizontalScroll:n,Playground:s,RowStyles:t,StickyColumns:e,__namedExportsOrder:f,default:w},Symbol.toStringTag,{value:"Module"}));export{d as A,z as C,n as H,s as P,t as R,e as S}; diff --git a/rc/assets/datepicker-BRwK53Kt.js b/rc/assets/datepicker-BRwK53Kt.js deleted file mode 100644 index 99f0c47..0000000 --- a/rc/assets/datepicker-BRwK53Kt.js +++ /dev/null @@ -1,56 +0,0 @@ -import{r as k,a as h}from"./lit-element-vV9fql9z.js";import{E as $}from"./lit-html-paDGiEfB.js";import{b as m}from"./property-types-CkH-zh1n.js";import{n as o}from"./property-CzN8u98o.js";import{i as S}from"./icon.style-BFmaJcLw.js";import{b as D}from"./button.style-2dqsCQot.js";import{e as g}from"./class-map-2iHk_WiG.js";import{i as q,s as C,u as b}from"./static-DLZyqU8Z.js";import{g as L}from"./custom-element-scope-Dp4Dg8bo.js";const U="*{scrollbar-width:thin;scrollbar-color:var(--color-neutral-100) var(--color-white)}*::-webkit-scrollbar{width:6px}*::-webkit-scrollbar-track{background:var(--color-white);border-radius:128px}*::-webkit-scrollbar-thumb{background-color:var(--color-neutral-100);border-radius:128px}",V='.dss-input-group{position:relative;font-family:var(--font-family)}.dss-input-group--md{height:40px}.dss-input-group--lg{height:48px}.dss-input-group--has-icon ::slotted(label),.dss-input-group--has-icon .dss-input-label{left:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))}.dss-input-group--has-icon .dss-input-icon{display:block}.dss-input-group--has-icon ::slotted(input),.dss-input-group--has-icon .dss-input{padding-left:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))!important}.dss-input-group--numeric ::slotted(input),.dss-input-group--numeric .dss-input{padding-right:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))!important}.dss-input-group--dropdown ::slotted(input),.dss-input-group--dropdown .dss-input{padding-right:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xxs))!important}.dss-input-group--disabled{cursor:not-allowed}.dss-input-group--disabled ::slotted(label),.dss-input-group--disabled .dss-input-label,.dss-input-group--disabled .dss-input-icon{color:var(--color-neutral-500)}.dss-input-group--required ::slotted(label):before,.dss-input-group--required .dss-input-label:before{content:"*"}.dss-input-group--invalid ::slotted(label),.dss-input-group--invalid .dss-input-label,.dss-input-group--invalid .dss-input-icon{color:var(--color-red-500)}.dss-input-group--invalid ::slotted(input){background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-input-group--invalid ::slotted(input:focus-visible){background-color:var(--color-white)}::slotted(input),.dss-input{position:relative;box-sizing:border-box;height:100%;width:100%;min-width:200px;font-size:14px;font-family:inherit;color:var(--color-neutral-900);background-color:var(--color-white);border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);padding-top:var(--dss-spacing-md)!important;padding-right:var(--dss-spacing-sm)!important;padding-bottom:var(--dss-spacing-xxs)!important;padding-left:var(--dss-spacing-sm)!important;z-index:100}::slotted(input::-moz-placeholder),.dss-input::-moz-placeholder{color:var(--color-neutral-600);opacity:0;-moz-transition:opacity .5s;transition:opacity .5s}::slotted(input::placeholder),.dss-input::placeholder{color:var(--color-neutral-600);opacity:0;transition:opacity .5s}::slotted(input:focus-visible),.dss-input:focus-visible{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200)}::slotted(input:disabled),.dss-input:disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-input-group--invalid .dss-input:not(:focus-visible){background-color:var(--color-red-50);border-color:var(--color-red-500)}::slotted(input:invalid:not(:empty)),::slotted(input.ng-invalid:not(:empty)),.dss-input:invalid:not(:empty){background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-input-group--read-only ::slotted(input),.dss-input-group--read-only .dss-input{border-top:0;border-left:0;border-right:0;border-radius:0}::slotted(label),.dss-input-label{cursor:inherit;position:absolute;top:calc(50% - 12px);left:var(--dss-spacing-sm);z-index:200;font-size:14px;font-family:inherit;color:var(--color-neutral-600);transition:top .3s;-moz-transition:top .3s;-webkit-transition:top .3s;-o-transition:top .3s}.dss-input-icon{display:none;position:absolute;top:calc(50% - 12px);left:var(--dss-spacing-sm);color:var(--color-neutral-700);z-index:200}.dss-input-group--focused ::slotted(label),.dss-input-group--focused .dss-input-label{font-size:12px}.dss-input-group--md.dss-input-group--focused ::slotted(label),.dss-input-group--md.dss-input-group--focused .dss-input-label{top:0}.dss-input-group--lg.dss-input-group--focused ::slotted(label),.dss-input-group--lg.dss-input-group--focused .dss-input-label{top:var(--dss-spacing-tiny)}.dss-input-group--focused .dss-input::-moz-placeholder{opacity:1}.dss-input-group--focused .dss-input::placeholder{opacity:1}.dss-input-help{display:flex;justify-content:space-between;font-family:var(--font-family);font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-input-help--disabled{color:var(--color-neutral-500)}.dss-input-help--invalid{color:var(--color-red-500)}.dss-input__numeric-buttons{position:absolute;top:0;right:0;z-index:300;padding:0 var(--dss-spacing-sm);display:flex;flex-direction:column;justify-content:center;transition:all .3s ease-in;height:100%}.dss-input__numeric-buttons .dss-icon-button{display:flex;justify-content:center;text-align:center;width:18px;height:18px;align-items:center;font-size:16px}.dss-input-group--no-min-width ::slotted(input){min-width:0}.dss-input-group--no-label ::slotted(input),.dss-input-group--no-label .dss-input{padding-top:var(--dss-spacing-xxs)!important}',T=".dss-datepicker{position:relative}.dss-datepicker-help{font-family:var(--font-family)}.dss-datepicker-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-datepicker-help--disabled{color:var(--color-neutral-500)}.dss-datepicker-help--invalid{color:var(--color-red-500)}.dss-calendar{position:absolute;margin-top:8px;top:52px;z-index:900;width:-moz-fit-content;width:fit-content}.dss-calendar--md{top:44px}";/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const z=e=>e??$,v=q`dss-calendar${C(L())}`,H=e=>{var r,a;const t={"dss-input-group--focused":((r=e._input)==null?void 0:r.value)||e._placeholder||e._isFocused,"dss-input-group--lg":e._inputSize==="lg","dss-input-group--md":e._inputSize==="md","dss-input-group--invalid":e._invalid||!e._inputValidity,"dss-input-group--required":e._required,"dss-input-group--disabled":e._disabled,"dss-input-group--read-only":e._readonly,"dss-input-group--no-label":!e._labelSlot},s={"dss-datepicker-help--invalid":e._invalid||!e._inputValidity,"dss-datepicker-help--disabled":e._disabled},i={"dss-calendar":!0,"dss-calendar--disabled":e._disabled,"dss-calendar--md":e._inputSize==="md"};return b` -
-
- ${e._icon} - - - -
- ${e._helpText?b` -
- ${e._helpText} -
- `:null} - ${e._showCalendar&&!e._readonly?b` - <${v} - role="listbox" - aria-label="Datepicker Calendar" - id="datepicker-calendar" - class="${g(i)}" - .selectedDate=${(a=e._input)==null?void 0:a.value} - .showTime=${e._showTime} - .showButtons=${e._showButtons} - .leftLabel=${e._leftLabel} - .rightLabel=${e._rightLabel} - .minDate=${e._minDate} - .maxDate=${e._maxDate} - timepickerLabel=${e._timepickerLabel} - .timepicker=${e._timepicker} - .customTimeListOptions=${e._customTimeListOptions} - .minutesRange=${e._minutesRange} - .minHour=${e._minHour} - .maxHour=${e._maxHour} - @onDateChange=${e._onDateChange} - @onCancel=${e._onCancel} - > - `:null} -
- `};var R=Object.defineProperty,O=Object.getOwnPropertyDescriptor,l=(e,t,s,i)=>{for(var r=O(t,s),a=e.length-1,d;a>=0;a--)(d=e[a])&&(r=d(t,s,r)||r);return r&&R(t,s,r),r};class n extends k{constructor(){super(...arguments),this._timepickerLabel="Seleccionar l'hora",this._timepicker="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._customTimeListOptions=[],this._icon="calendar_today",this._placeholder="",this._externalPlaceholder="",this._previousDate="",this._minDate="",this._maxDate="",this._showCalendar=!1,this._showTime=!1,this._invalid=!1,this._showButtons=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._leftLabel="Cancel·lar",this._rightLabel="Seleccionar",this._isFocused=!1,this._helpText="",this._inputSize="lg",this._inputValidity=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const s of t)s.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[h(S),h(D),h(V),h(U),h(T)]}get _input(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _label(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set showTime(t){const s=this._showTime;this._showTime=t,this._showButtons=!0,this.requestUpdate("showTime",s)}set showButtons(t){const s=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",s)}set leftLabel(t){const s=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",s)}set rightLabel(t){const s=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",s)}set minDate(t){const s=this._minDate;this._minDate=t,this.requestUpdate("minDate",s)}set maxDate(t){const s=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",s)}set invalid(t){const s=this._invalid;this._invalid=t,this.requestUpdate("invalid",s)}set inputSize(t){const s=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",s)}set helpText(t){const s=this._helpText;this._helpText=t,this.requestUpdate("helpText",s)}set timepicker(t){const s=this._timepicker;this._timepicker=t,this.requestUpdate("timepicker",s)}set minutesRange(t){const s=this._minutesRange;this._minutesRange=t,this.requestUpdate("minutesRange",s)}set minHour(t){const s=this._minHour;this._minHour=t,this.requestUpdate("minHour",s)}set maxHour(t){const s=this._maxHour;this._maxHour=t,this.requestUpdate("maxHour",s)}set customTimeListOptions(t){const s=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",s)}set timepickerLabel(t){const s=this._timepickerLabel;this._timepickerLabel=t,this.requestUpdate("timepickerLabel",s)}set value(t){t!==void 0&&this.requestUpdate()}set icon(t){const s=this._icon;this._icon=t,this.requestUpdate("icon",s)}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._closeDropdown(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_checkInputAttributes(){var a,d,p,u,c,_;const t=(a=this._input)==null?void 0:a.getAttribute("placeholder");t&&(this._placeholder=t,this._externalPlaceholder=t);const s=(d=this._input)==null?void 0:d.getAttribute("readonly");this._readonly=s!==null;const i=(p=this._input)==null?void 0:p.getAttribute("disabled");this._disabled=i!==null;const r=(u=this._input)==null?void 0:u.getAttribute("required");this._required=r!==null,(c=this._input)!=null&&c.value&&((_=this._input)==null?void 0:_.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleValidity(){var s;const t=(s=this._input)==null?void 0:s.checkValidity();t!==void 0&&(this._inputValidity=t)}_closeDropdown(){document.addEventListener("click",t=>{var s;t.composedPath().includes(this)||this._showCalendar&&(this._placeholder="",(s=this._input)==null||s.removeAttribute("placeholder"),this._isFocused=!1,this._showCalendar=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{var i;const s=t.relatedTarget;s!==null&&s!==this&&s!==this._input&&s!==this._label&&this._showCalendar&&((i=this._input)==null||i.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this.requestUpdate())})}_handleKeyUp(t){var s,i,r,a,d;if((t==null?void 0:t.key)==="Tab"?(this._isFocused=!0,this._handleBlur()):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this._handleBlur()):(t==null?void 0:t.key)==="Escape"&&(this._isFocused=!0,this._showCalendar=!1,this._handleBlur()),t.key==="Enter"&&this._input&&((s=this._input.value)==null?void 0:s.length)>7&&this._input){const p=(i=this._input.value)==null?void 0:i.replace(/(\d+[/])(\d+[/])/,"$2$1"),u=new Date(p),c=(r=u.getDate())==null?void 0:r.toString().padStart(2,"0"),_=(u.getMonth()+1).toString().padStart(2,"0"),y=u.getFullYear(),x=(a=u.getHours())==null?void 0:a.toString().padStart(2,"0"),w=(d=u.getMinutes())==null?void 0:d.toString().padStart(2,"0");let f=`${c}/${_}/${y}`;this._showTime&&(f+=` ${x}:${w}`,this._handleValidity()),this._input&&(this._input.value=f),this._dispatchValueChange(),this.requestUpdate()}}_handleInput(t){var i;const s=(i=t.target.value)==null?void 0:i.replace(/\D/g,"");this._input&&(this._input.value=this._formatDate(s),this._handleValidity()),this._dispatchValueChange(),this.requestUpdate()}_formatDate(t){let s=t.substring(0,2),i=t.substring(2,4);const r=t.substring(4,8);let a=t.substring(8,10),d=t.substring(10,12);Number(s)>3&&(s=s==null?void 0:s.padStart(2,"0")),Number(i)>1&&(i=i==null?void 0:i.padStart(2,"0")),Number(s)>31&&(s="31"),Number(i)>12&&(i="12"),i==="02"&&Number(s)>28&&(r==null?void 0:r.length)===4&&(s=new Date(Number(r),1,29).getMonth()===1?"29":"28");let p=`${s}${i?`/${i}`:""}${r?`/${r}`:""}`;return this._showTime&&(Number(a)>2&&(a=a==null?void 0:a.padStart(2,"0")),Number(a)>23&&(a="23"),Number(d)>5&&(d=d==null?void 0:d.padStart(2,"0")),p=`${p}${a?` ${a}`:""}${d?`:${d}`:""}`),p}_handleFocus(){var t;this._readonly||(this._externalPlaceholder!==""?this._placeholder=this._externalPlaceholder:this._placeholder=this._showTime?"DD/MM/YYYY HH:MM":"DD/MM/YYYY",(t=this._input)==null||t.setAttribute("placeholder",this._placeholder),this.requestUpdate())}_handleBlur(){this.requestUpdate()}_focusInput(){var t;!this._disabled&&!this._readonly&&((t=this._input)==null||t.focus(),this._handleClick())}_handleClick(){this._showCalendar=!0,this.requestUpdate()}_onDateChange(t){var i;const s=t.detail;this._input&&(this._input.value=s,this._handleValidity()),(i=this._input)==null||i.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this._dispatchValueChange(),this.requestUpdate()}_onCancel(){var t;(t=this._input)==null||t.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this._input&&(this._input.value=this._previousDate||"",this._handleValidity()),this.requestUpdate()}_dispatchValueChange(){var s;const t={detail:(s=this._input)==null?void 0:s.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}render(){return H(this)}}l([o(m)],n.prototype,"showTime");l([o(m)],n.prototype,"showButtons");l([o({type:String})],n.prototype,"leftLabel");l([o({type:String})],n.prototype,"rightLabel");l([o({type:String})],n.prototype,"minDate");l([o({type:String})],n.prototype,"maxDate");l([o(m)],n.prototype,"invalid");l([o({type:String})],n.prototype,"inputSize");l([o({type:String})],n.prototype,"helpText");l([o({type:String})],n.prototype,"timepicker");l([o({type:Number})],n.prototype,"minutesRange");l([o({type:Number})],n.prototype,"minHour");l([o({type:Number})],n.prototype,"maxHour");l([o({type:Array})],n.prototype,"customTimeListOptions");l([o({type:String})],n.prototype,"timepickerLabel");l([o({type:String})],n.prototype,"value");l([o({type:String})],n.prototype,"icon");export{n as D,V as i,z as o,U as s}; diff --git a/rc/assets/datepicker-Bsbzzuym.js b/rc/assets/datepicker-Bsbzzuym.js deleted file mode 100644 index 4f141b5..0000000 --- a/rc/assets/datepicker-Bsbzzuym.js +++ /dev/null @@ -1,56 +0,0 @@ -import{r as k,a as h}from"./lit-element-vV9fql9z.js";import{E as $}from"./lit-html-paDGiEfB.js";import{b as m}from"./property-types-CkH-zh1n.js";import{n as o}from"./property-CzN8u98o.js";import{i as S}from"./icon.style-DPTab5RN.js";import{b as D}from"./button.style-2dqsCQot.js";import{e as _}from"./class-map-2iHk_WiG.js";import{i as q,s as C,g as L,u as b}from"./custom-element-scope-KJWplpvx.js";const U="*{scrollbar-width:thin;scrollbar-color:var(--color-neutral-100) var(--color-white)}*::-webkit-scrollbar{width:6px}*::-webkit-scrollbar-track{background:var(--color-white);border-radius:128px}*::-webkit-scrollbar-thumb{background-color:var(--color-neutral-100);border-radius:128px}",V='.dss-input-group{position:relative;font-family:var(--font-family)}.dss-input-group--md{height:40px}.dss-input-group--lg{height:48px}.dss-input-group--has-icon ::slotted(label),.dss-input-group--has-icon .dss-input-label{left:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))}.dss-input-group--has-icon .dss-input-icon{display:block}.dss-input-group--has-icon ::slotted(input),.dss-input-group--has-icon .dss-input{padding-left:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))!important}.dss-input-group--numeric ::slotted(input),.dss-input-group--numeric .dss-input{padding-right:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xs))!important}.dss-input-group--dropdown ::slotted(input),.dss-input-group--dropdown .dss-input{padding-right:calc(var(--dss-spacing-sm) + 24px + var(--dss-spacing-xxs))!important}.dss-input-group--disabled{cursor:not-allowed}.dss-input-group--disabled ::slotted(label),.dss-input-group--disabled .dss-input-label,.dss-input-group--disabled .dss-input-icon{color:var(--color-neutral-500)}.dss-input-group--required ::slotted(label):before,.dss-input-group--required .dss-input-label:before{content:"*"}.dss-input-group--invalid ::slotted(label),.dss-input-group--invalid .dss-input-label,.dss-input-group--invalid .dss-input-icon{color:var(--color-red-500)}.dss-input-group--invalid ::slotted(input){background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-input-group--invalid ::slotted(input:focus-visible){background-color:var(--color-white)}::slotted(input),.dss-input{position:relative;box-sizing:border-box;height:100%;width:100%;min-width:200px;font-size:14px;font-family:inherit;color:var(--color-neutral-900);background-color:var(--color-white);border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);padding-top:var(--dss-spacing-md)!important;padding-right:var(--dss-spacing-sm)!important;padding-bottom:var(--dss-spacing-xxs)!important;padding-left:var(--dss-spacing-sm)!important;z-index:100;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted(input::-moz-placeholder),.dss-input::-moz-placeholder{color:var(--color-neutral-600);opacity:0;-moz-transition:opacity .5s;transition:opacity .5s}::slotted(input::placeholder),.dss-input::placeholder{color:var(--color-neutral-600);opacity:0;transition:opacity .5s}::slotted(input:focus-visible),.dss-input:focus-visible{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200)}::slotted(input:disabled),.dss-input:disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-input-group--invalid .dss-input:not(:focus-visible){background-color:var(--color-red-50);border-color:var(--color-red-500)}::slotted(input:invalid:not(:empty)),::slotted(input.ng-invalid:not(:empty)),.dss-input:invalid:not(:empty){background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-input-group--read-only ::slotted(input),.dss-input-group--read-only .dss-input{border-top:0;border-left:0;border-right:0;border-radius:0}::slotted(label),.dss-input-label{cursor:inherit;position:absolute;top:calc(50% - 12px);left:var(--dss-spacing-sm);z-index:200;font-size:14px;font-family:inherit;color:var(--color-neutral-600);transition:top .3s;-moz-transition:top .3s;-webkit-transition:top .3s;-o-transition:top .3s;max-height:24px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;width:calc(100% - var(--dss-spacing-lg))}.dss-input-group--has-icon ::slotted(label){width:calc(100% - var(--dss-spacing-xhg))}.dss-input-group--dropdown ::slotted(label){width:calc(100% - var(--dss-spacing-hg))}.dss-input-group--numeric ::slotted(label){width:calc(100% - var(--dss-spacing-hg))}.dss-input-group--has-icon.dss-input-group--numeric ::slotted(label),.dss-input-group--has-icon.dss-input-group--dropdown ::slotted(label){width:calc(100% - var(--dss-spacing-xxhg))}.dss-input-group--actions ::slotted(label){width:calc(100% - var(--dss-spacing-xhg))}.dss-input-group--actions.dss-input-group--numeric ::slotted(label){width:calc(100% - var(--dss-spacing-xxhg))}.dss-input-group--has-icon.dss-input-group--actions ::slotted(label){width:calc(100% - 96px)}.dss-input-group--has-icon.dss-input-group--actions.dss-input-group--numeric ::slotted(label){width:calc(100% - 112px)}.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(label){width:calc(100% - 112px)}.dss-input-group--has-icon.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(label){width:calc(100% - 144px)}.dss-input-icon{display:none;position:absolute;top:calc(50% - 12px);left:var(--dss-spacing-sm);color:var(--color-neutral-700);z-index:200}.dss-input-group--focused ::slotted(label),.dss-input-group--focused .dss-input-label{font-size:12px}.dss-input-group--md.dss-input-group--focused ::slotted(label),.dss-input-group--md.dss-input-group--focused .dss-input-label{top:0}.dss-input-group--lg.dss-input-group--focused ::slotted(label),.dss-input-group--lg.dss-input-group--focused .dss-input-label{top:var(--dss-spacing-tiny)}.dss-input-group--focused .dss-input::-moz-placeholder{opacity:1}.dss-input-group--focused .dss-input::placeholder{opacity:1}.dss-input-help{display:flex;justify-content:space-between;font-family:var(--font-family);font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-input-help--disabled{color:var(--color-neutral-500)}.dss-input-help--invalid{color:var(--color-red-500)}.dss-input__numeric-buttons{position:absolute;top:0;right:0;z-index:300;padding:0 var(--dss-spacing-sm);display:flex;flex-direction:column;justify-content:center;transition:all .3s ease-in;height:100%}.dss-input__numeric-buttons .dss-icon-button{display:flex;justify-content:center;text-align:center;width:18px;height:18px;align-items:center;font-size:16px}.dss-input-group--no-min-width ::slotted(input){min-width:0}.dss-input-group--no-label ::slotted(input),.dss-input-group--no-label .dss-input{padding-top:var(--dss-spacing-xxs)!important}',T=".dss-datepicker{position:relative}.dss-datepicker-help{font-family:var(--font-family)}.dss-datepicker-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-datepicker-help--disabled{color:var(--color-neutral-500)}.dss-datepicker-help--invalid{color:var(--color-red-500)}.dss-calendar{position:absolute;margin-top:8px;top:52px;z-index:900;width:-moz-fit-content;width:fit-content}.dss-calendar--md{top:44px}";/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const z=i=>i??$,v=q`dss-calendar${C(L())}`,H=i=>{var r,a;const t={"dss-input-group--focused":((r=i._input)==null?void 0:r.value)||i._placeholder||i._isFocused,"dss-input-group--lg":i._inputSize==="lg","dss-input-group--md":i._inputSize==="md","dss-input-group--invalid":i._invalid||!i._inputValidity,"dss-input-group--required":i._required,"dss-input-group--disabled":i._disabled,"dss-input-group--read-only":i._readonly,"dss-input-group--no-label":!i._labelSlot},s={"dss-datepicker-help--invalid":i._invalid||!i._inputValidity,"dss-datepicker-help--disabled":i._disabled},e={"dss-calendar":!0,"dss-calendar--disabled":i._disabled,"dss-calendar--md":i._inputSize==="md"};return b` -
-
- ${i._icon} - - - -
- ${i._helpText?b` -
- ${i._helpText} -
- `:null} - ${i._showCalendar&&!i._readonly?b` - <${v} - role="listbox" - aria-label="Datepicker Calendar" - id="datepicker-calendar" - class="${_(e)}" - .selectedDate=${(a=i._input)==null?void 0:a.value} - .showTime=${i._showTime} - .showButtons=${i._showButtons} - .leftLabel=${i._leftLabel} - .rightLabel=${i._rightLabel} - .minDate=${i._minDate} - .maxDate=${i._maxDate} - timepickerLabel=${i._timepickerLabel} - .timepicker=${i._timepicker} - .customTimeListOptions=${i._customTimeListOptions} - .minutesRange=${i._minutesRange} - .minHour=${i._minHour} - .maxHour=${i._maxHour} - @onDateChange=${i._onDateChange} - @onCancel=${i._onCancel} - > - `:null} -
- `};var R=Object.defineProperty,O=Object.getOwnPropertyDescriptor,l=(i,t,s,e)=>{for(var r=O(t,s),a=i.length-1,n;a>=0;a--)(n=i[a])&&(r=n(t,s,r)||r);return r&&R(t,s,r),r};class d extends k{constructor(){super(...arguments),this._timepickerLabel="Seleccionar l'hora",this._timepicker="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._customTimeListOptions=[],this._icon="calendar_today",this._placeholder="",this._externalPlaceholder="",this._previousDate="",this._minDate="",this._maxDate="",this._showCalendar=!1,this._showTime=!1,this._invalid=!1,this._showButtons=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._leftLabel="Cancel·lar",this._rightLabel="Seleccionar",this._isFocused=!1,this._helpText="",this._inputSize="lg",this._inputValidity=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const s of t)s.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[h(S),h(D),h(V),h(U),h(T)]}get _input(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _label(){var s;const t=((s=this.shadowRoot)==null?void 0:s.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set showTime(t){const s=this._showTime;this._showTime=t,this._showButtons=!0,this.requestUpdate("showTime",s)}set showButtons(t){const s=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",s)}set leftLabel(t){const s=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",s)}set rightLabel(t){const s=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",s)}set minDate(t){const s=this._minDate;this._minDate=t,this.requestUpdate("minDate",s)}set maxDate(t){const s=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",s)}set invalid(t){const s=this._invalid;this._invalid=t,this.requestUpdate("invalid",s)}set inputSize(t){const s=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",s)}set helpText(t){const s=this._helpText;this._helpText=t,this.requestUpdate("helpText",s)}set timepicker(t){const s=this._timepicker;this._timepicker=t,this.requestUpdate("timepicker",s)}set minutesRange(t){const s=this._minutesRange;this._minutesRange=t,this.requestUpdate("minutesRange",s)}set minHour(t){const s=this._minHour;this._minHour=t,this.requestUpdate("minHour",s)}set maxHour(t){const s=this._maxHour;this._maxHour=t,this.requestUpdate("maxHour",s)}set customTimeListOptions(t){const s=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",s)}set timepickerLabel(t){const s=this._timepickerLabel;this._timepickerLabel=t,this.requestUpdate("timepickerLabel",s)}set value(t){t!==void 0&&this.requestUpdate()}set icon(t){const s=this._icon;this._icon=t,this.requestUpdate("icon",s)}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._closeDropdown(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_checkInputAttributes(){var a,n,u,p,c,g;const t=(a=this._input)==null?void 0:a.getAttribute("placeholder");t&&(this._placeholder=t,this._externalPlaceholder=t);const s=(n=this._input)==null?void 0:n.getAttribute("readonly");this._readonly=s!==null;const e=(u=this._input)==null?void 0:u.getAttribute("disabled");this._disabled=e!==null;const r=(p=this._input)==null?void 0:p.getAttribute("required");this._required=r!==null,(c=this._input)!=null&&c.value&&((g=this._input)==null?void 0:g.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleValidity(){var s;const t=(s=this._input)==null?void 0:s.checkValidity();t!==void 0&&(this._inputValidity=t)}_closeDropdown(){document.addEventListener("click",t=>{var s;t.composedPath().includes(this)||this._showCalendar&&(this._placeholder="",(s=this._input)==null||s.removeAttribute("placeholder"),this._isFocused=!1,this._showCalendar=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{var e;const s=t.relatedTarget;s!==null&&s!==this&&s!==this._input&&s!==this._label&&this._showCalendar&&((e=this._input)==null||e.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this.requestUpdate())})}_handleKeyUp(t){var s,e,r,a,n;if((t==null?void 0:t.key)==="Tab"?(this._isFocused=!0,this._handleBlur()):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this._handleBlur()):(t==null?void 0:t.key)==="Escape"&&(this._isFocused=!0,this._showCalendar=!1,this._handleBlur()),t.key==="Enter"&&this._input&&((s=this._input.value)==null?void 0:s.length)>7&&this._input){const u=(e=this._input.value)==null?void 0:e.replace(/(\d+[/])(\d+[/])/,"$2$1"),p=new Date(u),c=(r=p.getDate())==null?void 0:r.toString().padStart(2,"0"),g=(p.getMonth()+1).toString().padStart(2,"0"),y=p.getFullYear(),x=(a=p.getHours())==null?void 0:a.toString().padStart(2,"0"),w=(n=p.getMinutes())==null?void 0:n.toString().padStart(2,"0");let f=`${c}/${g}/${y}`;this._showTime&&(f+=` ${x}:${w}`,this._handleValidity()),this._input&&(this._input.value=f),this._dispatchValueChange(),this.requestUpdate()}}_handleInput(t){var e;const s=(e=t.target.value)==null?void 0:e.replace(/\D/g,"");this._input&&(this._input.value=this._formatDate(s),this._handleValidity()),this._dispatchValueChange(),this.requestUpdate()}_formatDate(t){let s=t.substring(0,2),e=t.substring(2,4);const r=t.substring(4,8);let a=t.substring(8,10),n=t.substring(10,12);Number(s)>3&&(s=s==null?void 0:s.padStart(2,"0")),Number(e)>1&&(e=e==null?void 0:e.padStart(2,"0")),Number(s)>31&&(s="31"),Number(e)>12&&(e="12"),e==="02"&&Number(s)>28&&(r==null?void 0:r.length)===4&&(s=new Date(Number(r),1,29).getMonth()===1?"29":"28");let u=`${s}${e?`/${e}`:""}${r?`/${r}`:""}`;return this._showTime&&(Number(a)>2&&(a=a==null?void 0:a.padStart(2,"0")),Number(a)>23&&(a="23"),Number(n)>5&&(n=n==null?void 0:n.padStart(2,"0")),u=`${u}${a?` ${a}`:""}${n?`:${n}`:""}`),u}_handleFocus(){var t;this._readonly||(this._externalPlaceholder!==""?this._placeholder=this._externalPlaceholder:this._placeholder=this._showTime?"DD/MM/YYYY HH:MM":"DD/MM/YYYY",(t=this._input)==null||t.setAttribute("placeholder",this._placeholder),this.requestUpdate())}_handleBlur(){this.requestUpdate()}_focusInput(){var t;!this._disabled&&!this._readonly&&((t=this._input)==null||t.focus(),this._handleClick())}_handleClick(){this._showCalendar=!0,this.requestUpdate()}_onDateChange(t){var e;const s=t.detail;this._input&&(this._input.value=s,this._handleValidity()),(e=this._input)==null||e.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this._dispatchValueChange(),this.requestUpdate()}_onCancel(){var t;(t=this._input)==null||t.removeAttribute("placeholder"),this._placeholder="",this._isFocused=!1,this._showCalendar=!1,this._input&&(this._input.value=this._previousDate||"",this._handleValidity()),this.requestUpdate()}_dispatchValueChange(){var s;const t={detail:(s=this._input)==null?void 0:s.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}render(){return H(this)}}l([o(m)],d.prototype,"showTime");l([o(m)],d.prototype,"showButtons");l([o({type:String})],d.prototype,"leftLabel");l([o({type:String})],d.prototype,"rightLabel");l([o({type:String})],d.prototype,"minDate");l([o({type:String})],d.prototype,"maxDate");l([o(m)],d.prototype,"invalid");l([o({type:String})],d.prototype,"inputSize");l([o({type:String})],d.prototype,"helpText");l([o({type:String})],d.prototype,"timepicker");l([o({type:Number})],d.prototype,"minutesRange");l([o({type:Number})],d.prototype,"minHour");l([o({type:Number})],d.prototype,"maxHour");l([o({type:Array})],d.prototype,"customTimeListOptions");l([o({type:String})],d.prototype,"timepickerLabel");l([o({type:String})],d.prototype,"value");l([o({type:String})],d.prototype,"icon");export{d as D,V as i,z as o,U as s}; diff --git a/rc/assets/datepicker-range.doc-Dm1vP3L0.js b/rc/assets/datepicker-range.doc-2BZbXoG7.js similarity index 98% rename from rc/assets/datepicker-range.doc-Dm1vP3L0.js rename to rc/assets/datepicker-range.doc-2BZbXoG7.js index 6e27695..075452c 100644 --- a/rc/assets/datepicker-range.doc-Dm1vP3L0.js +++ b/rc/assets/datepicker-range.doc-2BZbXoG7.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-DIOmFNuR.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-DIOmFNuR.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .datepicker-canvas { min-height: 350px; display: flex; diff --git a/rc/assets/datepicker-range.doc-B5ePP1z3.js b/rc/assets/datepicker-range.doc-B5ePP1z3.js deleted file mode 100644 index a30a7d4..0000000 --- a/rc/assets/datepicker-range.doc-B5ePP1z3.js +++ /dev/null @@ -1,91 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-BpfC2-J9.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - dss-datepicker-range { - height: fit-content; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-datepicker-range",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component datepicker-range és una extensió del datepicker, que permet als usuaris seleccionar un rang de dates de manera senzilla."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari per defecte:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:`En seleccionar una data el component comprova si la data d' inici ja ha estat seleccionada, si no és així, se selecciona la -data escollida com a data d' inici i es passa el focus a la data final.`}),` -`,e.jsx(n.li,{children:"En estar la data inicial ja seleccionada, quan se seleeciona la següent data, el component valida si és major que la inicial."}),` -`,e.jsx(n.li,{children:"En cas que la data final seleccionada sigui menor que la data inicial el component resetejarà llavors la data inicial havent de triar de nou la data final."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan ambdues dates ja han estat seleccionades:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El component tindrà en compte en què input, inici o fi, estem fent el focus per actualitzar la data corresponent."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data d' inici s' actualitzarà l' esmentada data sempre que sigui menor que la data final."}),` -`,e.jsx(n.li,{children:"En cas que la nova data inicial sigui major que l' anterior data final, el component resetejarà la data final i s' haurà de triar de nou."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data final s' actualitzarà l' esmentada data sempre que sigui major que la data inicial."}),` -`,e.jsx(n.li,{children:"En cas que aquesta data sigui menor que la data inicial, el component establirà la data escollida com la data inicial."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan s' activen els botons:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Si cap data ha estat seleccionada funcionarà igual que en la versió sense botons, llevat que les dates no es guardaran fins que s' acceptin els canvis."}),` -`,e.jsx(n.li,{children:"Si ambdues dates estan ja seleccionades, en tornar a obrir el calendari es resetejaran les dates i s' hauran de tornar a elegir tant la data inicial com la final."}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'sm' o 'md'. Per defecte tindrà sempre el valor 'md'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeStart"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data d'inici"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeEnd"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data de fi"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarLeftButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarRightButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onRangeChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"inputSize"}),` al -component. Pot ser: 'sm' o 'md'.`]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:["Per indicar que els inputs es troben deshabilitats cal afegir la propietat nativa ",e.jsx(n.strong,{children:"disabled"})," als propis inputs definits com a slot."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:["De la mateixa manera per a l'estat de només lectura farem servir la propietat nativa de l'input ",e.jsx(n.strong,{children:"readonly"})]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat nativa ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(i,{of:u}),` -`,e.jsx(n.blockquote,{children:` -`}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que el component és invàlid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),`. -Podeu utilitzar aquesta propietat si necessiteu realitzar validacions addicionals a les que inclogui el mateix component.`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"calendarLeftLabel"}),` i el -`,e.jsx(n.strong,{children:"calendarRightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha creat una versió del datepicker que permet escollir entre una data d'inici i una data final, mostrant-se el rang entre aquestes al calendari."})]})]})]})]})}function C(a={}){const{wrapper:n}={...t(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(s,{...a})}):s(a)}export{C as default}; diff --git a/rc/assets/datepicker-range.doc-C1jk5HGn.js b/rc/assets/datepicker-range.doc-C1jk5HGn.js deleted file mode 100644 index a94ba42..0000000 --- a/rc/assets/datepicker-range.doc-C1jk5HGn.js +++ /dev/null @@ -1,91 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-BpfC2-J9.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - dss-datepicker-range { - height: fit-content; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-datepicker-range",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component datepicker-range és una extensió del datepicker, que permet als usuaris seleccionar un rang de dates de manera senzilla."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari per defecte:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:`En seleccionar una data el component comprova si la data d' inici ja ha estat seleccionada, si no és així, se selecciona la -data escollida com a data d' inici i es passa el focus a la data final.`}),` -`,e.jsx(n.li,{children:"En estar la data inicial ja seleccionada, quan se seleeciona la següent data, el component valida si és major que la inicial."}),` -`,e.jsx(n.li,{children:"En cas que la data final seleccionada sigui menor que la data inicial el component resetejarà llavors la data inicial havent de triar de nou la data final."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan ambdues dates ja han estat seleccionades:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El component tindrà en compte en què input, inici o fi, estem fent el focus per actualitzar la data corresponent."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data d' inici s' actualitzarà l' esmentada data sempre que sigui menor que la data final."}),` -`,e.jsx(n.li,{children:"En cas que la nova data inicial sigui major que l' anterior data final, el component resetejarà la data final i s' haurà de triar de nou."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data final s' actualitzarà l' esmentada data sempre que sigui major que la data inicial."}),` -`,e.jsx(n.li,{children:"En cas que aquesta data sigui menor que la data inicial, el component establirà la data escollida com la data inicial."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan s' activen els botons:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Si cap data ha estat seleccionada funcionarà igual que en la versió sense botons, llevat que les dates no es guardaran fins que s' acceptin els canvis."}),` -`,e.jsx(n.li,{children:"Si ambdues dates estan ja seleccionades, en tornar a obrir el calendari es resetejaran les dates i s' hauran de tornar a elegir tant la data inicial com la final."}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'sm' o 'md'. Per defecte tindrà sempre el valor 'md'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeStart"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data d'inici"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeEnd"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data de fi"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarLeftButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarRightButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onRangeChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"inputSize"}),` al -component. Pot ser: 'sm' o 'md'.`]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:["Per indicar que els inputs es troben deshabilitats cal afegir la propietat nativa ",e.jsx(n.strong,{children:"disabled"})," als propis inputs definits com a slot."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:["De la mateixa manera per a l'estat de només lectura farem servir la propietat nativa de l'input ",e.jsx(n.strong,{children:"readonly"})]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat nativa ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(i,{of:u}),` -`,e.jsx(n.blockquote,{children:` -`}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que el component és invàlid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),`. -Podeu utilitzar aquesta propietat si necessiteu realitzar validacions addicionals a les que inclogui el mateix component.`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"calendarLeftLabel"}),` i el -`,e.jsx(n.strong,{children:"calendarRightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha creat una versió del datepicker que permet escollir entre una data d'inici i una data final, mostrant-se el rang entre aquestes al calendari."})]})]})]})]})}function C(a={}){const{wrapper:n}={...t(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(s,{...a})}):s(a)}export{C as default}; diff --git a/rc/assets/datepicker-range.doc-CDkvsNZ9.js b/rc/assets/datepicker-range.doc-CDkvsNZ9.js deleted file mode 100644 index b7f6f45..0000000 --- a/rc/assets/datepicker-range.doc-CDkvsNZ9.js +++ /dev/null @@ -1,91 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-DIOmFNuR.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - dss-datepicker-range { - height: fit-content; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-datepicker-range",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component datepicker-range és una extensió del datepicker, que permet als usuaris seleccionar un rang de dates de manera senzilla."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari per defecte:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:`En seleccionar una data el component comprova si la data d' inici ja ha estat seleccionada, si no és així, se selecciona la -data escollida com a data d' inici i es passa el focus a la data final.`}),` -`,e.jsx(n.li,{children:"En estar la data inicial ja seleccionada, quan se seleeciona la següent data, el component valida si és major que la inicial."}),` -`,e.jsx(n.li,{children:"En cas que la data final seleccionada sigui menor que la data inicial el component resetejarà llavors la data inicial havent de triar de nou la data final."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan ambdues dates ja han estat seleccionades:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El component tindrà en compte en què input, inici o fi, estem fent el focus per actualitzar la data corresponent."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data d' inici s' actualitzarà l' esmentada data sempre que sigui menor que la data final."}),` -`,e.jsx(n.li,{children:"En cas que la nova data inicial sigui major que l' anterior data final, el component resetejarà la data final i s' haurà de triar de nou."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data final s' actualitzarà l' esmentada data sempre que sigui major que la data inicial."}),` -`,e.jsx(n.li,{children:"En cas que aquesta data sigui menor que la data inicial, el component establirà la data escollida com la data inicial."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan s' activen els botons:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Si cap data ha estat seleccionada funcionarà igual que en la versió sense botons, llevat que les dates no es guardaran fins que s' acceptin els canvis."}),` -`,e.jsx(n.li,{children:"Si ambdues dates estan ja seleccionades, en tornar a obrir el calendari es resetejaran les dates i s' hauran de tornar a elegir tant la data inicial com la final."}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'sm' o 'md'. Per defecte tindrà sempre el valor 'md'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeStart"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data d'inici"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeEnd"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data de fi"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarLeftButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarRightButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onRangeChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"inputSize"}),` al -component. Pot ser: 'sm' o 'md'.`]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:["Per indicar que els inputs es troben deshabilitats cal afegir la propietat nativa ",e.jsx(n.strong,{children:"disabled"})," als propis inputs definits com a slot."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:["De la mateixa manera per a l'estat de només lectura farem servir la propietat nativa de l'input ",e.jsx(n.strong,{children:"readonly"})]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat nativa ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(i,{of:u}),` -`,e.jsx(n.blockquote,{children:` -`}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que el component és invàlid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),`. -Podeu utilitzar aquesta propietat si necessiteu realitzar validacions addicionals a les que inclogui el mateix component.`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"calendarLeftLabel"}),` i el -`,e.jsx(n.strong,{children:"calendarRightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha creat una versió del datepicker que permet escollir entre una data d'inici i una data final, mostrant-se el rang entre aquestes al calendari."})]})]})]})]})}function C(a={}){const{wrapper:n}={...t(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(s,{...a})}):s(a)}export{C as default}; diff --git a/rc/assets/datepicker-range.doc-DVll6cxZ.js b/rc/assets/datepicker-range.doc-DVll6cxZ.js deleted file mode 100644 index 8b84b64..0000000 --- a/rc/assets/datepicker-range.doc-DVll6cxZ.js +++ /dev/null @@ -1,91 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as d}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as c,P as o,a as h,D as x,R as j,b as u,I as p,B as m}from"./datepicker-range.stories-DIOmFNuR.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(a){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - dss-datepicker-range { - height: fit-content; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-datepicker-range",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component datepicker-range és una extensió del datepicker, que permet als usuaris seleccionar un rang de dates de manera senzilla."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari per defecte:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:`En seleccionar una data el component comprova si la data d' inici ja ha estat seleccionada, si no és així, se selecciona la -data escollida com a data d' inici i es passa el focus a la data final.`}),` -`,e.jsx(n.li,{children:"En estar la data inicial ja seleccionada, quan se seleeciona la següent data, el component valida si és major que la inicial."}),` -`,e.jsx(n.li,{children:"En cas que la data final seleccionada sigui menor que la data inicial el component resetejarà llavors la data inicial havent de triar de nou la data final."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan ambdues dates ja han estat seleccionades:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El component tindrà en compte en què input, inici o fi, estem fent el focus per actualitzar la data corresponent."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data d' inici s' actualitzarà l' esmentada data sempre que sigui menor que la data final."}),` -`,e.jsx(n.li,{children:"En cas que la nova data inicial sigui major que l' anterior data final, el component resetejarà la data final i s' haurà de triar de nou."}),` -`,e.jsx(n.li,{children:"Si el focus està en la data final s' actualitzarà l' esmentada data sempre que sigui major que la data inicial."}),` -`,e.jsx(n.li,{children:"En cas que aquesta data sigui menor que la data inicial, el component establirà la data escollida com la data inicial."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Funcionalitat del calendari quan s' activen els botons:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Si cap data ha estat seleccionada funcionarà igual que en la versió sense botons, llevat que les dates no es guardaran fins que s' acceptin els canvis."}),` -`,e.jsx(n.li,{children:"Si ambdues dates estan ja seleccionades, en tornar a obrir el calendari es resetejaran les dates i s' hauran de tornar a elegir tant la data inicial com la final."}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'sm' o 'md'. Per defecte tindrà sempre el valor 'md'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeStart"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data d'inici"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconRangeEnd"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"calendar_month"}),e.jsx(n.td,{children:"Icona mostrada a l'input de data de fi"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarLeftButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"calendarRightButtonLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onRangeChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]}),` -`,e.jsx("h3",{children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"inputSize"}),` al -component. Pot ser: 'sm' o 'md'.`]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:["Per indicar que els inputs es troben deshabilitats cal afegir la propietat nativa ",e.jsx(n.strong,{children:"disabled"})," als propis inputs definits com a slot."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:["De la mateixa manera per a l'estat de només lectura farem servir la propietat nativa de l'input ",e.jsx(n.strong,{children:"readonly"})]}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat nativa ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(i,{of:u}),` -`,e.jsx(n.blockquote,{children:` -`}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que el component és invàlid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),`. -Podeu utilitzar aquesta propietat si necessiteu realitzar validacions addicionals a les que inclogui el mateix component.`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"calendarLeftLabel"}),` i el -`,e.jsx(n.strong,{children:"calendarRightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha creat una versió del datepicker que permet escollir entre una data d'inici i una data final, mostrant-se el rang entre aquestes al calendari."})]})]})]})]})}function C(a={}){const{wrapper:n}={...t(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(s,{...a})}):s(a)}export{C as default}; diff --git a/rc/assets/datepicker-range.stories-BpfC2-J9.js b/rc/assets/datepicker-range.stories-BpfC2-J9.js deleted file mode 100644 index 1d11e16..0000000 --- a/rc/assets/datepicker-range.stories-BpfC2-J9.js +++ /dev/null @@ -1,199 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const z={title:"Components/Datepicker Range",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md"]},labelStart:{name:"Label per a la data dinici"},labelEnd:{name:"Label per a la data fin"},iconRangeStart:{name:"Icona per a la data dinici"},iconRangeEnd:{name:"icona per a la data fin"},helpText:{name:"Message for initial help"},invalid:{name:"Mostrar error",control:{type:"boolean"}},showButtons:{name:"Mostrar botons",control:{type:"boolean"},if:{arg:"showTime",truthy:!1}},leftLabel:{name:"Botó esquerra"},rightLabel:{name:"Botó dreta"}},parameters:{layout:"centered"}},t={args:{size:"md",labelStart:"Data inici",labelEnd:"Data fi",iconRangeStart:"calendar_month",iconRangeEnd:"calendar_month",helpText:"Help text.",invalid:!1,showButtons:!1,leftLabel:"Cancel·lar",rightLabel:"Acceptar"},render:e=>a` -
- - - - - - -
- `},n={tags:["!dev"],render:()=>a` -
- - - - - - -
-
- - - - - - -
- `},r={tags:["!dev"],render:()=>a` - - - - - - - `},s={tags:["!dev"],render:()=>a` - - - - - - - `},l={tags:["!dev"],render:()=>a` -
- - - - - - -
- `},i={tags:["!dev"],render:()=>a` -
- - - - - - -
- `},d={tags:["!dev"],render:()=>a` -
- - - - - - -
- `};var p,c,o;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ - args: { - size: 'md', - labelStart: 'Data inici', - labelEnd: 'Data fi', - iconRangeStart: 'calendar_month', - iconRangeEnd: 'calendar_month', - helpText: 'Help text.', - invalid: false, - showButtons: false, - leftLabel: 'Cancel·lar', - rightLabel: 'Acceptar' - }, - render: (args: any) => { - return html\` -
- - - - - - -
- \`; - } -}`,...(o=(c=t.parameters)==null?void 0:c.docs)==null?void 0:o.source}}};var g,u,b;n.parameters={...n.parameters,docs:{...(g=n.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - -
-
- - - - - - -
- \`; - } -}`,...(b=(u=n.parameters)==null?void 0:u.docs)==null?void 0:b.source}}};var m,y,k;r.parameters={...r.parameters,docs:{...(m=r.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(k=(y=r.parameters)==null?void 0:y.docs)==null?void 0:k.source}}};var R,h,x;s.parameters={...s.parameters,docs:{...(R=s.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(x=(h=s.parameters)==null?void 0:h.docs)==null?void 0:x.source}}};var D,f,v;l.parameters={...l.parameters,docs:{...(D=l.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - -
- \`; - } -}`,...(v=(f=l.parameters)==null?void 0:f.docs)==null?void 0:v.source}}};var S,E,F;i.parameters={...i.parameters,docs:{...(S=i.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - -
- \`; - } -}`,...(F=(E=i.parameters)==null?void 0:E.docs)==null?void 0:F.source}}};var L,T,B;d.parameters={...d.parameters,docs:{...(L=d.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - -
- \`; - } -}`,...(B=(T=d.parameters)==null?void 0:T.docs)==null?void 0:B.source}}};const $=["Playground","Size","Disabled","Readonly","Required","Invalid","Buttons"],_=Object.freeze(Object.defineProperty({__proto__:null,Buttons:d,Disabled:r,Invalid:i,Playground:t,Readonly:s,Required:l,Size:n,__namedExportsOrder:$,default:z},Symbol.toStringTag,{value:"Module"}));export{d as B,r as D,i as I,t as P,s as R,_ as S,n as a,l as b}; diff --git a/rc/assets/datepicker.doc-Bd9PkJX8.js b/rc/assets/datepicker.doc-Bd9PkJX8.js deleted file mode 100644 index c7f1377..0000000 --- a/rc/assets/datepicker.doc-Bd9PkJX8.js +++ /dev/null @@ -1,110 +0,0 @@ -import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-CGGD7GfG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./datepicker-BRwK53Kt.js";import"./property-types-CkH-zh1n.js";import"./property-CzN8u98o.js";import"./icon.style-BFmaJcLw.js";import"./button.style-2dqsCQot.js";import"./class-map-2iHk_WiG.js";import"./static-DLZyqU8Z.js";import"./custom-element-scope-Dp4Dg8bo.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - - .datepicker-canvas--temps { - min-height: 700px; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-datepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component datepicker ofereix als usuaris una entrada senzilla per -a un formulari, ajuda als usuaris a seleccionar una sola data. Per utilitzar -aquest component en angular cal fer servir la directiva adjuntada.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del datepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showTime"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activa l'element selector de temps dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepicker"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minutesRange"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"23"}),e.jsx(n.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"customTimeListOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"DssTimepickerOption[]"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepickerLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Selecciona l'hora'"}),e.jsx(n.td,{children:"Modifica el text que es mostra com a placeholder dins de l'element timepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onValueChange"})}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-temps",children:"Amb temps"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"small"}),` al -component.`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(n.strong,{children:"disabled"})," al component."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba només lectura, cal afegir la propietat -`,e.jsx(n.strong,{children:"readonly"})," al component."]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"amb-temps",children:"Amb temps"}),` -`,e.jsxs(n.p,{children:["Per indicar que el date-picker mostri temps, cal afegir la propietat ",e.jsx(n.strong,{children:"showTime"})," al component."]}),` -`,e.jsx(n.p,{children:"Pots escollir entre tres tipus de timepicker: sense dropdown (per defecte, no cal definir-ho), dropdown de tipus llista (timepicker='list') o dropdown de tipus manual (timepicker='manual')."}),` -`,e.jsx(n.p,{children:"A més es pot configurar el timepicker utilitzant les propietats pròpies del component: minutesRange, minHour, MaxHour i customTimeListOptions."}),` -`,e.jsxs(n.p,{children:["Veure ",e.jsx(n.a,{href:"/docs/components-timepicker--exemple",children:"documentació del componente timepicker"}),"."]}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"leftLabel"}),` i el -`,e.jsx(n.strong,{children:"rightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"el-valor-del-datepicker-no-sactualitza-en-angular-form",children:"El valor del datepicker no s'actualitza en Angular Form"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsxs(n.p,{children:[`S'ha afegit la funcionalitat per a poder detectar aquest component des de formularis reactius, no obstant això, s'ha detectat que quan l'usuari tria una data -fent clic en el calendari no s'actualitza el valor dins del form control per al camp de data.`,e.jsx("br",{})]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsxs(n.p,{children:["Es recomana capturar la data triada des del calendari mitjançant l'esdeveniment 'onValueChange' emès en el component ",e.jsx(n.code,{children:"dss-date-picker"}),` i posteriorment -utilitzar el mètode `,e.jsx(n.code,{children:"setValue"})," per a assignar el valor manualment al camp de data."]}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular. ",e.jsx("br",{})," S'ha corregit un error pel qual el component no detectava quan s'eliminava l'estat de només lectura de l'input dinàmicament."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit el font-family per a alguns elements mostrats al calendari, que no estaven alineats amb el disseny del mateix."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S'ha afegit un espai al final del dropdown del calendari perquè la sobra no talli en els casos d'ús on el datepicker es mostra al final d'un component o pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual, en el cas de tenir un selector d'hora, no s'habilitava el botó d'acceptar-la si l'hora o minuts definits eren '00'.",e.jsx("br",{}),"S'ha solucionat un error pel qual els estats disable o readonly no es tenien en compte en fer click a la label, cosa que permetia obrir el calendari."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha modificat el selector de mes i any per facilitar-ne la interacció. Ara tant en fer click el mes o any mostrat al calendari s'obrirà una nova opció per canviar-los manualment, sense haver de recórrer un a un tots els mesos amb l'ús de les fletxes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha modificat la funcionalitat de seleccionar una hora dins del datepicker, passant a utilitzar el component timepicker amb les seves diferents possibilitats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Date-Picker"})]})]})]})]})}function L(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{L as default}; diff --git a/rc/assets/datepicker.doc-BknvJ1SL.js b/rc/assets/datepicker.doc-BknvJ1SL.js deleted file mode 100644 index e41d7ad..0000000 --- a/rc/assets/datepicker.doc-BknvJ1SL.js +++ /dev/null @@ -1,110 +0,0 @@ -import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-mCkCyCoY.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./datepicker-DkpLFocn.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";import"./popper-CMBiYTiD.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - - .datepicker-canvas--temps { - min-height: 700px; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-datepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component datepicker ofereix als usuaris una entrada senzilla per -a un formulari, ajuda als usuaris a seleccionar una sola data. Per utilitzar -aquest component en angular cal fer servir la directiva adjuntada.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del datepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showTime"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activa l'element selector de temps dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepicker"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minutesRange"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"23"}),e.jsx(n.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"customTimeListOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"DssTimepickerOption[]"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepickerLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Selecciona l'hora'"}),e.jsx(n.td,{children:"Modifica el text que es mostra com a placeholder dins de l'element timepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onValueChange"})}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-temps",children:"Amb temps"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"small"}),` al -component.`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(n.strong,{children:"disabled"})," al component."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba només lectura, cal afegir la propietat -`,e.jsx(n.strong,{children:"readonly"})," al component."]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"amb-temps",children:"Amb temps"}),` -`,e.jsxs(n.p,{children:["Per indicar que el date-picker mostri temps, cal afegir la propietat ",e.jsx(n.strong,{children:"showTime"})," al component."]}),` -`,e.jsx(n.p,{children:"Pots escollir entre tres tipus de timepicker: sense dropdown (per defecte, no cal definir-ho), dropdown de tipus llista (timepicker='list') o dropdown de tipus manual (timepicker='manual')."}),` -`,e.jsx(n.p,{children:"A més es pot configurar el timepicker utilitzant les propietats pròpies del component: minutesRange, minHour, MaxHour i customTimeListOptions."}),` -`,e.jsxs(n.p,{children:["Veure ",e.jsx(n.a,{href:"/docs/components-timepicker--exemple",children:"documentació del componente timepicker"}),"."]}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"leftLabel"}),` i el -`,e.jsx(n.strong,{children:"rightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"el-valor-del-datepicker-no-sactualitza-en-angular-form",children:"El valor del datepicker no s'actualitza en Angular Form"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsxs(n.p,{children:[`S'ha afegit la funcionalitat per a poder detectar aquest component des de formularis reactius, no obstant això, s'ha detectat que quan l'usuari tria una data -fent clic en el calendari no s'actualitza el valor dins del form control per al camp de data.`,e.jsx("br",{})]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsxs(n.p,{children:["Es recomana capturar la data triada des del calendari mitjançant l'esdeveniment 'onValueChange' emès en el component ",e.jsx(n.code,{children:"dss-date-picker"}),` i posteriorment -utilitzar el mètode `,e.jsx(n.code,{children:"setValue"})," per a assignar el valor manualment al camp de data."]}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular. ",e.jsx("br",{})," S'ha corregit un error pel qual el component no detectava quan s'eliminava l'estat de només lectura de l'input dinàmicament."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit el font-family per a alguns elements mostrats al calendari, que no estaven alineats amb el disseny del mateix."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S'ha afegit un espai al final del dropdown del calendari perquè la sobra no talli en els casos d'ús on el datepicker es mostra al final d'un component o pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual, en el cas de tenir un selector d'hora, no s'habilitava el botó d'acceptar-la si l'hora o minuts definits eren '00'.",e.jsx("br",{}),"S'ha solucionat un error pel qual els estats disable o readonly no es tenien en compte en fer click a la label, cosa que permetia obrir el calendari."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha modificat el selector de mes i any per facilitar-ne la interacció. Ara tant en fer click el mes o any mostrat al calendari s'obrirà una nova opció per canviar-los manualment, sense haver de recórrer un a un tots els mesos amb l'ús de les fletxes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha modificat la funcionalitat de seleccionar una hora dins del datepicker, passant a utilitzar el component timepicker amb les seves diferents possibilitats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Date-Picker"})]})]})]})]})}function E(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{E as default}; diff --git a/rc/assets/datepicker.doc-C3CJ7BoV.js b/rc/assets/datepicker.doc-C3CJ7BoV.js deleted file mode 100644 index 26efa37..0000000 --- a/rc/assets/datepicker.doc-C3CJ7BoV.js +++ /dev/null @@ -1,110 +0,0 @@ -import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-mCkCyCoY.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./datepicker-DkpLFocn.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";import"./popper-CMBiYTiD.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - - .datepicker-canvas--temps { - min-height: 700px; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-datepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component datepicker ofereix als usuaris una entrada senzilla per -a un formulari, ajuda als usuaris a seleccionar una sola data. Per utilitzar -aquest component en angular cal fer servir la directiva adjuntada.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del datepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showTime"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activa l'element selector de temps dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepicker"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minutesRange"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"23"}),e.jsx(n.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"customTimeListOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"DssTimepickerOption[]"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepickerLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Selecciona l'hora'"}),e.jsx(n.td,{children:"Modifica el text que es mostra com a placeholder dins de l'element timepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onValueChange"})}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-temps",children:"Amb temps"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"small"}),` al -component.`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(n.strong,{children:"disabled"})," al component."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba només lectura, cal afegir la propietat -`,e.jsx(n.strong,{children:"readonly"})," al component."]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"amb-temps",children:"Amb temps"}),` -`,e.jsxs(n.p,{children:["Per indicar que el date-picker mostri temps, cal afegir la propietat ",e.jsx(n.strong,{children:"showTime"})," al component."]}),` -`,e.jsx(n.p,{children:"Pots escollir entre tres tipus de timepicker: sense dropdown (per defecte, no cal definir-ho), dropdown de tipus llista (timepicker='list') o dropdown de tipus manual (timepicker='manual')."}),` -`,e.jsx(n.p,{children:"A més es pot configurar el timepicker utilitzant les propietats pròpies del component: minutesRange, minHour, MaxHour i customTimeListOptions."}),` -`,e.jsxs(n.p,{children:["Veure ",e.jsx(n.a,{href:"/docs/components-timepicker--exemple",children:"documentació del componente timepicker"}),"."]}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"leftLabel"}),` i el -`,e.jsx(n.strong,{children:"rightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"el-valor-del-datepicker-no-sactualitza-en-angular-form",children:"El valor del datepicker no s'actualitza en Angular Form"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsxs(n.p,{children:[`S'ha afegit la funcionalitat per a poder detectar aquest component des de formularis reactius, no obstant això, s'ha detectat que quan l'usuari tria una data -fent clic en el calendari no s'actualitza el valor dins del form control per al camp de data.`,e.jsx("br",{})]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsxs(n.p,{children:["Es recomana capturar la data triada des del calendari mitjançant l'esdeveniment 'onValueChange' emès en el component ",e.jsx(n.code,{children:"dss-date-picker"}),` i posteriorment -utilitzar el mètode `,e.jsx(n.code,{children:"setValue"})," per a assignar el valor manualment al camp de data."]}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular. ",e.jsx("br",{})," S'ha corregit un error pel qual el component no detectava quan s'eliminava l'estat de només lectura de l'input dinàmicament."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit el font-family per a alguns elements mostrats al calendari, que no estaven alineats amb el disseny del mateix."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S'ha afegit un espai al final del dropdown del calendari perquè la sobra no talli en els casos d'ús on el datepicker es mostra al final d'un component o pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual, en el cas de tenir un selector d'hora, no s'habilitava el botó d'acceptar-la si l'hora o minuts definits eren '00'.",e.jsx("br",{}),"S'ha solucionat un error pel qual els estats disable o readonly no es tenien en compte en fer click a la label, cosa que permetia obrir el calendari."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha modificat el selector de mes i any per facilitar-ne la interacció. Ara tant en fer click el mes o any mostrat al calendari s'obrirà una nova opció per canviar-los manualment, sense haver de recórrer un a un tots els mesos amb l'ús de les fletxes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha modificat la funcionalitat de seleccionar una hora dins del datepicker, passant a utilitzar el component timepicker amb les seves diferents possibilitats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Date-Picker"})]})]})]})]})}function E(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{E as default}; diff --git a/rc/assets/datepicker.doc-CwX5BUL5.js b/rc/assets/datepicker.doc-CwX5BUL5.js deleted file mode 100644 index 1327890..0000000 --- a/rc/assets/datepicker.doc-CwX5BUL5.js +++ /dev/null @@ -1,110 +0,0 @@ -import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-Bv2cjJ0c.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";import"./datepicker-Bsbzzuym.js";import"./property-types-CkH-zh1n.js";import"./property-CzN8u98o.js";import"./icon.style-DPTab5RN.js";import"./button.style-2dqsCQot.js";import"./class-map-2iHk_WiG.js";import"./custom-element-scope-KJWplpvx.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .datepicker-canvas { - min-height: 350px; - display: flex; - justify-content: flex-start; - } - - .datepicker-canvas--temps { - min-height: 700px; - } - - .datepicker-canvas--botons { - min-height: 420px; - } - - dss-datepicker + dss-datepicker { - margin-left: 20px; - } - `}),` -`,e.jsx(l,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-datepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component datepicker ofereix als usuaris una entrada senzilla per -a un formulari, ajuda als usuaris a seleccionar una sola data. Per utilitzar -aquest component en angular cal fer servir la directiva adjuntada.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del datepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data mínima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxDate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Definiu la data màxima que podríem seleccionar al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showButtons"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activeu els buttos per a cancel·lar o acceptar la data seleccionada al calendari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"leftLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Cancel·lar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó esquerre."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rightLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar'"}),e.jsx(n.td,{children:"Text que es mostra dins del botó dret."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showTime"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Activa l'element selector de temps dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepicker"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minutesRange"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"minHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"maxHour"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"23"}),e.jsx(n.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"customTimeListOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"DssTimepickerOption[]"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"timepickerLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Selecciona l'hora'"}),e.jsx(n.td,{children:"Modifica el text que es mostra com a placeholder dins de l'element timepicker."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onValueChange"})}),e.jsx(n.td,{children:"Esdeveniment que retornarà la data seleccionada dins del component."})]})})]})}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-temps",children:"Amb temps"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-botons",children:"Amb botons"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(n.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(n.strong,{children:"small"}),` al -component.`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(n.strong,{children:"disabled"})," al component."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(n.p,{children:[`Per indicar que l'input es troba només lectura, cal afegir la propietat -`,e.jsx(n.strong,{children:"readonly"})," al component."]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(n.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(n.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(n.strong,{children:"invalid"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"amb-temps",children:"Amb temps"}),` -`,e.jsxs(n.p,{children:["Per indicar que el date-picker mostri temps, cal afegir la propietat ",e.jsx(n.strong,{children:"showTime"})," al component."]}),` -`,e.jsx(n.p,{children:"Pots escollir entre tres tipus de timepicker: sense dropdown (per defecte, no cal definir-ho), dropdown de tipus llista (timepicker='list') o dropdown de tipus manual (timepicker='manual')."}),` -`,e.jsx(n.p,{children:"A més es pot configurar el timepicker utilitzant les propietats pròpies del component: minutesRange, minHour, MaxHour i customTimeListOptions."}),` -`,e.jsxs(n.p,{children:["Veure ",e.jsx(n.a,{href:"/docs/components-timepicker--exemple",children:"documentació del componente timepicker"}),"."]}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"amb-botons",children:"Amb botons"}),` -`,e.jsxs(n.p,{children:[`Per indicar que el date-picker mostri botons, cal afegir la propietat -`,e.jsx(n.strong,{children:"showButtons"})," al component, també indicar el ",e.jsx(n.strong,{children:"leftLabel"}),` i el -`,e.jsx(n.strong,{children:"rightLabel"}),` per canviar els valors per defecte dels botons si cal. Per -defecte, els botons mostren `,e.jsx(n.strong,{children:"Cancel·lar"})," i ",e.jsx(n.strong,{children:"Acceptar"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"el-valor-del-datepicker-no-sactualitza-en-angular-form",children:"El valor del datepicker no s'actualitza en Angular Form"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsxs(n.p,{children:[`S'ha afegit la funcionalitat per a poder detectar aquest component des de formularis reactius, no obstant això, s'ha detectat que quan l'usuari tria una data -fent clic en el calendari no s'actualitza el valor dins del form control per al camp de data.`,e.jsx("br",{})]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsxs(n.p,{children:["Es recomana capturar la data triada des del calendari mitjançant l'esdeveniment 'onValueChange' emès en el component ",e.jsx(n.code,{children:"dss-date-picker"}),` i posteriorment -utilitzar el mètode `,e.jsx(n.code,{children:"setValue"})," per a assignar el valor manualment al camp de data."]}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular. ",e.jsx("br",{})," S'ha corregit un error pel qual el component no detectava quan s'eliminava l'estat de només lectura de l'input dinàmicament."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha corregit un error en el calendari pel qual el selector de dia se solapava amb el selector de mes i any."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit el font-family per a alguns elements mostrats al calendari, que no estaven alineats amb el disseny del mateix."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S'ha afegit un espai al final del dropdown del calendari perquè la sobra no talli en els casos d'ús on el datepicker es mostra al final d'un component o pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual, en el cas de tenir un selector d'hora, no s'habilitava el botó d'acceptar-la si l'hora o minuts definits eren '00'.",e.jsx("br",{}),"S'ha solucionat un error pel qual els estats disable o readonly no es tenien en compte en fer click a la label, cosa que permetia obrir el calendari."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha modificat el selector de mes i any per facilitar-ne la interacció. Ara tant en fer click el mes o any mostrat al calendari s'obrirà una nova opció per canviar-los manualment, sense haver de recórrer un a un tots els mesos amb l'ús de les fletxes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha modificat la funcionalitat de seleccionar una hora dins del datepicker, passant a utilitzar el component timepicker amb les seves diferents possibilitats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Date-Picker"})]})]})]})]})}function M(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/datepicker.doc-CyRjz1vO.js b/rc/assets/datepicker.doc-lP1B55wK.js similarity index 99% rename from rc/assets/datepicker.doc-CyRjz1vO.js rename to rc/assets/datepicker.doc-lP1B55wK.js index be823f5..c4396a5 100644 --- a/rc/assets/datepicker.doc-CyRjz1vO.js +++ b/rc/assets/datepicker.doc-lP1B55wK.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-mCkCyCoY.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./datepicker-DkpLFocn.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";import"./popper-CMBiYTiD.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as d,ah as r,ai as a,ak as c}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as o,P as h,a as x,D as j,R as p,b as u,I as m,T as g,B as b}from"./datepicker.stories-mCkCyCoY.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";import"./datepicker-DkpLFocn.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./property-types-CkH-zh1n.js";import"./button.style-2dqsCQot.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";import"./popper-CMBiYTiD.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .datepicker-canvas { min-height: 350px; display: flex; diff --git a/rc/assets/datepicker.stories-Bv2cjJ0c.js b/rc/assets/datepicker.stories-Bv2cjJ0c.js deleted file mode 100644 index 52d5516..0000000 --- a/rc/assets/datepicker.stories-Bv2cjJ0c.js +++ /dev/null @@ -1,206 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as a}from"./lit-html-paDGiEfB.js";import"./datepicker-Bsbzzuym.js";const M={title:"Components/Datepicker",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["md","lg"]},label:{name:"Label"},helpText:{name:"Message for initial help"},invalid:{name:"Mostrar error",control:{type:"boolean"}},showTime:{name:"Mostrar temps",control:{type:"boolean"}},timepickerSelector:{name:"Timepicker Dropdown",control:{type:"radio"},options:["none","list","manual"],if:{arg:"showTime"}},minutesRange:{name:"Minutes Range",control:{type:"number",min:0,max:59},if:{arg:"showTime"}},minHour:{name:"Min Hour",control:{type:"number",min:0,max:22},if:{arg:"showTime"}},maxHour:{name:"Max Hour",control:{type:"number",min:1,max:23},if:{arg:"showTime"}},showButtons:{name:"Mostrar botons",control:{type:"boolean"},if:{arg:"showTime",truthy:!1}},leftLabel:{name:"Botó esquerra"},rightLabel:{name:"Botó dreta"}},parameters:{layout:"centered"}},t={args:{size:"lg",label:"Data inici",helpText:"Help text.",invalid:!1,showTime:!1,timepickerSelector:"none",minutesRange:1,minHour:0,maxHour:23,showButtons:!1,leftLabel:"Cancel·lar",rightLabel:"Acceptar"},render:e=>a` -
- - - - -
- `},s={tags:["!dev"],render:()=>a` -
- - - - - - - - -
- `},i={tags:["!dev"],render:()=>a` - - - - - `},r={tags:["!dev"],render:()=>a` - - - - - `},n={tags:["!dev"],render:()=>a` -
- - - - -
- `},l={tags:["!dev"],render:()=>a` -
- - - - -
- `},p={tags:["!dev"],render:()=>a` -
- - - - - - - - - - - - -
- `},c={tags:["!dev"],render:()=>a` -
- - - - -
- `};var d,o,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'lg', - label: 'Data inici', - helpText: 'Help text.', - invalid: false, - showTime: false, - timepickerSelector: 'none', - minutesRange: 1, - minHour: 0, - maxHour: 23, - showButtons: false, - leftLabel: 'Cancel·lar', - rightLabel: 'Acceptar' - }, - render: (args: any) => { - return html\` -
- - - - -
- \`; - } -}`,...(u=(o=t.parameters)==null?void 0:o.docs)==null?void 0:u.source}}};var m,k,b;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(b=(k=s.parameters)==null?void 0:k.docs)==null?void 0:b.source}}};var y,v,D;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(D=(v=i.parameters)==null?void 0:v.docs)==null?void 0:D.source}}};var g,h,T;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(T=(h=r.parameters)==null?void 0:h.docs)==null?void 0:T.source}}};var f,x,w;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(w=(x=n.parameters)==null?void 0:x.docs)==null?void 0:w.source}}};var $,L,S;l.parameters={...l.parameters,docs:{...($=l.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(S=(L=l.parameters)==null?void 0:L.docs)==null?void 0:S.source}}};var H,P,I;p.parameters={...p.parameters,docs:{...(H=p.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - - -
- \`; - } -}`,...(I=(P=p.parameters)==null?void 0:P.docs)==null?void 0:I.source}}};var R,B,z;c.parameters={...c.parameters,docs:{...(R=c.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(z=(B=c.parameters)==null?void 0:B.docs)==null?void 0:z.source}}};const O=["Playground","Sizes","Disabled","ReadOnly","Required","Invalid","Timepicker","Buttons"],A=Object.freeze(Object.defineProperty({__proto__:null,Buttons:c,Disabled:i,Invalid:l,Playground:t,ReadOnly:r,Required:n,Sizes:s,Timepicker:p,__namedExportsOrder:O,default:M},Symbol.toStringTag,{value:"Module"}));export{c as B,i as D,l as I,t as P,r as R,A as S,p as T,s as a,n as b}; diff --git a/rc/assets/datepicker.stories-CGGD7GfG.js b/rc/assets/datepicker.stories-CGGD7GfG.js deleted file mode 100644 index a6b907a..0000000 --- a/rc/assets/datepicker.stories-CGGD7GfG.js +++ /dev/null @@ -1,206 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as a}from"./lit-html-paDGiEfB.js";import"./datepicker-BRwK53Kt.js";const M={title:"Components/Datepicker",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["md","lg"]},label:{name:"Label"},helpText:{name:"Message for initial help"},invalid:{name:"Mostrar error",control:{type:"boolean"}},showTime:{name:"Mostrar temps",control:{type:"boolean"}},timepickerSelector:{name:"Timepicker Dropdown",control:{type:"radio"},options:["none","list","manual"],if:{arg:"showTime"}},minutesRange:{name:"Minutes Range",control:{type:"number",min:0,max:59},if:{arg:"showTime"}},minHour:{name:"Min Hour",control:{type:"number",min:0,max:22},if:{arg:"showTime"}},maxHour:{name:"Max Hour",control:{type:"number",min:1,max:23},if:{arg:"showTime"}},showButtons:{name:"Mostrar botons",control:{type:"boolean"},if:{arg:"showTime",truthy:!1}},leftLabel:{name:"Botó esquerra"},rightLabel:{name:"Botó dreta"}},parameters:{layout:"centered"}},t={args:{size:"lg",label:"Data inici",helpText:"Help text.",invalid:!1,showTime:!1,timepickerSelector:"none",minutesRange:1,minHour:0,maxHour:23,showButtons:!1,leftLabel:"Cancel·lar",rightLabel:"Acceptar"},render:e=>a` -
- - - - -
- `},s={tags:["!dev"],render:()=>a` -
- - - - - - - - -
- `},i={tags:["!dev"],render:()=>a` - - - - - `},r={tags:["!dev"],render:()=>a` - - - - - `},n={tags:["!dev"],render:()=>a` -
- - - - -
- `},l={tags:["!dev"],render:()=>a` -
- - - - -
- `},p={tags:["!dev"],render:()=>a` -
- - - - - - - - - - - - -
- `},c={tags:["!dev"],render:()=>a` -
- - - - -
- `};var d,o,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'lg', - label: 'Data inici', - helpText: 'Help text.', - invalid: false, - showTime: false, - timepickerSelector: 'none', - minutesRange: 1, - minHour: 0, - maxHour: 23, - showButtons: false, - leftLabel: 'Cancel·lar', - rightLabel: 'Acceptar' - }, - render: (args: any) => { - return html\` -
- - - - -
- \`; - } -}`,...(u=(o=t.parameters)==null?void 0:o.docs)==null?void 0:u.source}}};var m,k,b;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(b=(k=s.parameters)==null?void 0:k.docs)==null?void 0:b.source}}};var y,v,D;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(D=(v=i.parameters)==null?void 0:v.docs)==null?void 0:D.source}}};var g,h,T;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(T=(h=r.parameters)==null?void 0:h.docs)==null?void 0:T.source}}};var f,x,w;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(w=(x=n.parameters)==null?void 0:x.docs)==null?void 0:w.source}}};var $,L,S;l.parameters={...l.parameters,docs:{...($=l.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(S=(L=l.parameters)==null?void 0:L.docs)==null?void 0:S.source}}};var H,P,I;p.parameters={...p.parameters,docs:{...(H=p.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - - -
- \`; - } -}`,...(I=(P=p.parameters)==null?void 0:P.docs)==null?void 0:I.source}}};var R,B,z;c.parameters={...c.parameters,docs:{...(R=c.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(z=(B=c.parameters)==null?void 0:B.docs)==null?void 0:z.source}}};const O=["Playground","Sizes","Disabled","ReadOnly","Required","Invalid","Timepicker","Buttons"],A=Object.freeze(Object.defineProperty({__proto__:null,Buttons:c,Disabled:i,Invalid:l,Playground:t,ReadOnly:r,Required:n,Sizes:s,Timepicker:p,__namedExportsOrder:O,default:M},Symbol.toStringTag,{value:"Module"}));export{c as B,i as D,l as I,t as P,r as R,A as S,p as T,s as a,n as b}; diff --git a/rc/assets/decorative-icon.doc-BppYcxOC.js b/rc/assets/decorative-icon.doc-BppYcxOC.js deleted file mode 100644 index 01c9e1a..0000000 --- a/rc/assets/decorative-icon.doc-BppYcxOC.js +++ /dev/null @@ -1,30 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BQDWsPJH.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Decorative Icon està pensat per ser utilitzat per millorar l'aspecte d'un component, però no hi ha cap funcionalitat al mateix."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#success",children:"Success"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#error",children:"Error"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(r,{of:d}),` -`,e.jsx(s.h3,{id:"success",children:"Success"}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(s.h3,{id:"error",children:"Error"}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(r,{of:u})]})}function y(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/decorative-icon.doc-C43_eODt.js b/rc/assets/decorative-icon.doc-C43_eODt.js deleted file mode 100644 index a0f60a0..0000000 --- a/rc/assets/decorative-icon.doc-C43_eODt.js +++ /dev/null @@ -1,30 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BVJ7dXXN.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Decorative Icon està pensat per ser utilitzat per millorar l'aspecte d'un component, però no hi ha cap funcionalitat al mateix."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#success",children:"Success"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#error",children:"Error"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(r,{of:d}),` -`,e.jsx(s.h3,{id:"success",children:"Success"}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(s.h3,{id:"error",children:"Error"}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(r,{of:u})]})}function y(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/decorative-icon.doc-DCSSOdFC.js b/rc/assets/decorative-icon.doc-DNdA2-O8.js similarity index 90% rename from rc/assets/decorative-icon.doc-DCSSOdFC.js rename to rc/assets/decorative-icon.doc-DNdA2-O8.js index 7a727ec..accbfa2 100644 --- a/rc/assets/decorative-icon.doc-DCSSOdFC.js +++ b/rc/assets/decorative-icon.doc-DNdA2-O8.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as l,ah as r}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BVJ7dXXN.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as l,ah as r}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BVJ7dXXN.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/decorative-icon.doc-DT4VU_XQ.js b/rc/assets/decorative-icon.doc-DT4VU_XQ.js deleted file mode 100644 index eeff0b4..0000000 --- a/rc/assets/decorative-icon.doc-DT4VU_XQ.js +++ /dev/null @@ -1,30 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BQDWsPJH.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Decorative Icon està pensat per ser utilitzat per millorar l'aspecte d'un component, però no hi ha cap funcionalitat al mateix."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#success",children:"Success"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#error",children:"Error"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(r,{of:d}),` -`,e.jsx(s.h3,{id:"success",children:"Success"}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(s.h3,{id:"error",children:"Error"}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(r,{of:u})]})}function y(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/decorative-icon.doc-DWuXogfl.js b/rc/assets/decorative-icon.doc-DWuXogfl.js deleted file mode 100644 index d6c5e24..0000000 --- a/rc/assets/decorative-icon.doc-DWuXogfl.js +++ /dev/null @@ -1,30 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import{S as o,P as c,B as d,a as h,E as x,D as u}from"./decorative-icon.stories-BVJ7dXXN.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Els Decorative Icon està pensat per ser utilitzat per millorar l'aspecte d'un component, però no hi ha cap funcionalitat al mateix."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#success",children:"Success"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#error",children:"Error"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(r,{of:d}),` -`,e.jsx(s.h3,{id:"success",children:"Success"}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(s.h3,{id:"error",children:"Error"}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(r,{of:u})]})}function y(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/decorative-icon.stories-BQDWsPJH.js b/rc/assets/decorative-icon.stories-BQDWsPJH.js deleted file mode 100644 index d911d90..0000000 --- a/rc/assets/decorative-icon.stories-BQDWsPJH.js +++ /dev/null @@ -1,185 +0,0 @@ -import{x as o}from"./lit-html-paDGiEfB.js";const w={title:"Components/Decorative Icon",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg","xl"]},color:{name:"Colors",control:{type:"select"},options:["default","success","error","disabled"]},iconType:{name:"Tipús icona",control:{type:"select"},options:["dss-icon","dss-icon dss-icon--fill"]},icon:{name:"Icona"}},parameters:{layout:"centered"}},s={render:a=>o` -
- ${a.icon} -
- `,args:{size:"xl",color:"default",icon:"add_box",iconType:"dss-icon"}},d={tags:["!dev"],render:()=>o` -
-
- add\_box -
- -
- add\_box -
- -
- add\_box -
- -
- add\_box -
-
- `},i={tags:["!dev"],render:()=>o` -
-
- add\_box -
- -
- add\_box -
- -
- add\_box -
- -
- add\_box -
-
- `},c={tags:["!dev"],render:()=>o` -
-
- add\_box -
- -
- add\_box -
- -
- add\_box -
- -
- add\_box -
-
- `},e={tags:["!dev"],render:()=>o` -
-
- add\_box -
- -
- add\_box -
- -
- add\_box -
- -
- add\_box -
-
- `};var n,r,v;s.parameters={...s.parameters,docs:{...(n=s.parameters)==null?void 0:n.docs,source:{originalSource:`{ - render: (args: any) => html\` -
- \${args.icon} -
- \`, - args: { - size: 'xl', - color: 'default', - icon: 'add_box', - iconType: 'dss-icon' - } -}`,...(v=(r=s.parameters)==null?void 0:r.docs)==null?void 0:v.source}}};var t,l,p;d.parameters={...d.parameters,docs:{...(t=d.parameters)==null?void 0:t.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
-
- \`; - } -}`,...(p=(l=d.parameters)==null?void 0:l.docs)==null?void 0:p.source}}};var b,x,u;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
-
- \`; - } -}`,...(u=(x=i.parameters)==null?void 0:x.docs)==null?void 0:u.source}}};var m,_,g;c.parameters={...c.parameters,docs:{...(m=c.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
-
- \`; - } -}`,...(g=(_=c.parameters)==null?void 0:_.docs)==null?void 0:g.source}}};var y,S,f;e.parameters={...e.parameters,docs:{...(y=e.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
- -
- add\\_box -
-
- \`; - } -}`,...(f=(S=e.parameters)==null?void 0:S.docs)==null?void 0:f.source}}};const T=["Playground","ByDefault","Success","ErrorState","Disabled"],z=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:d,Disabled:e,ErrorState:c,Playground:s,Success:i,__namedExportsOrder:T,default:w},Symbol.toStringTag,{value:"Module"}));export{d as B,e as D,c as E,s as P,z as S,i as a}; diff --git a/rc/assets/divider.doc-CKb0KlNZ.js b/rc/assets/divider.doc-C2ulC2pz.js similarity index 91% rename from rc/assets/divider.doc-CKb0KlNZ.js rename to rc/assets/divider.doc-C2ulC2pz.js index 20fdb0c..ad06c6f 100644 --- a/rc/assets/divider.doc-CKb0KlNZ.js +++ b/rc/assets/divider.doc-C2ulC2pz.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as t,ah as n}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-pgGOcia4.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as t,ah as n}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-pgGOcia4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` hr { width: 300px; } diff --git a/rc/assets/divider.doc-Cj1MTkaa.js b/rc/assets/divider.doc-Cj1MTkaa.js deleted file mode 100644 index 567ab9e..0000000 --- a/rc/assets/divider.doc-Cj1MTkaa.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as a,ag as t,ah as n}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-pgGOcia4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - hr { - width: 300px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Dividers ajuden a mantenir tots els continguts relacionats junts -visualment perquè els usuaris sàpiguen on centrar la seva atenció.`}),` -`,e.jsxs(s.p,{children:["S'aplica amb la etiqueta ",e.jsx(s.code,{children:"hr"}),` per a l'estil per defecte, pero podem aplicar la -classe `,e.jsx(s.strong,{children:"dss-divider--dashed"})," o ",e.jsx(s.strong,{children:"dss-divider--bold"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"}),` Al codi em afegit una mida fixa d'amplaria per a que es puga -visualitzar al canvas.`]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsx("hr",{}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider",children:"Divider"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider-bold",children:"Divider Bold"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Divider Dashed"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"divider",children:"Divider"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(s.h3,{id:"divider-bold",children:"Divider Bold"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"divider-dashed",children:"Divider Dashed"}),` -`,e.jsx(n,{of:x})]})}function q(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{q as default}; diff --git a/rc/assets/divider.doc-DQ3ioDUs.js b/rc/assets/divider.doc-DQ3ioDUs.js deleted file mode 100644 index 9f1297a..0000000 --- a/rc/assets/divider.doc-DQ3ioDUs.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as a,ag as t,ah as n}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-pgGOcia4.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - hr { - width: 300px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Dividers ajuden a mantenir tots els continguts relacionats junts -visualment perquè els usuaris sàpiguen on centrar la seva atenció.`}),` -`,e.jsxs(s.p,{children:["S'aplica amb la etiqueta ",e.jsx(s.code,{children:"hr"}),` per a l'estil per defecte, pero podem aplicar la -classe `,e.jsx(s.strong,{children:"dss-divider--dashed"})," o ",e.jsx(s.strong,{children:"dss-divider--bold"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"}),` Al codi em afegit una mida fixa d'amplaria per a que es puga -visualitzar al canvas.`]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsx("hr",{}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider",children:"Divider"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider-bold",children:"Divider Bold"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Divider Dashed"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"divider",children:"Divider"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(s.h3,{id:"divider-bold",children:"Divider Bold"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"divider-dashed",children:"Divider Dashed"}),` -`,e.jsx(n,{of:x})]})}function q(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{q as default}; diff --git a/rc/assets/divider.doc-L0rXXkWv.js b/rc/assets/divider.doc-L0rXXkWv.js deleted file mode 100644 index 3f1d6ac..0000000 --- a/rc/assets/divider.doc-L0rXXkWv.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as a,ag as t,ah as n}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-DB5eeA3X.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - hr { - width: 300px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Dividers ajuden a mantenir tots els continguts relacionats junts -visualment perquè els usuaris sàpiguen on centrar la seva atenció.`}),` -`,e.jsxs(s.p,{children:["S'aplica amb la etiqueta ",e.jsx(s.code,{children:"hr"}),` per a l'estil per defecte, pero podem aplicar la -classe `,e.jsx(s.strong,{children:"dss-divider--dashed"})," o ",e.jsx(s.strong,{children:"dss-divider--bold"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"}),` Al codi em afegit una mida fixa d'amplaria per a que es puga -visualitzar al canvas.`]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsx("hr",{}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider",children:"Divider"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider-bold",children:"Divider Bold"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Divider Dashed"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"divider",children:"Divider"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(s.h3,{id:"divider-bold",children:"Divider Bold"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"divider-dashed",children:"Divider Dashed"}),` -`,e.jsx(n,{of:x})]})}function q(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{q as default}; diff --git a/rc/assets/divider.doc-oI_jCLL1.js b/rc/assets/divider.doc-oI_jCLL1.js deleted file mode 100644 index 2d45f8a..0000000 --- a/rc/assets/divider.doc-oI_jCLL1.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as a,ag as t,ah as n}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as l,P as o,B as c,a as h,D as x}from"./divider.stories-DB5eeA3X.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - hr { - width: 300px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Dividers ajuden a mantenir tots els continguts relacionats junts -visualment perquè els usuaris sàpiguen on centrar la seva atenció.`}),` -`,e.jsxs(s.p,{children:["S'aplica amb la etiqueta ",e.jsx(s.code,{children:"hr"}),` per a l'estil per defecte, pero podem aplicar la -classe `,e.jsx(s.strong,{children:"dss-divider--dashed"})," o ",e.jsx(s.strong,{children:"dss-divider--bold"}),"."]}),` -`,e.jsx("h3",{children:"Història d'exemple"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"}),` Al codi em afegit una mida fixa d'amplaria per a que es puga -visualitzar al canvas.`]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsx("hr",{}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider",children:"Divider"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#divider-bold",children:"Divider Bold"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-bot%C3%B3",children:"Divider Dashed"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"divider",children:"Divider"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(s.h3,{id:"divider-bold",children:"Divider Bold"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"divider-dashed",children:"Divider Dashed"}),` -`,e.jsx(n,{of:x})]})}function q(i={}){const{wrapper:s}={...d(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{q as default}; diff --git a/rc/assets/divider.stories-DB5eeA3X.js b/rc/assets/divider.stories-DB5eeA3X.js deleted file mode 100644 index 55d4db5..0000000 --- a/rc/assets/divider.stories-DB5eeA3X.js +++ /dev/null @@ -1,34 +0,0 @@ -import{x as d}from"./lit-html-paDGiEfB.js";const S={title:"Components/Divider",argTypes:{weight:{name:"Ample",control:{type:"check"},options:["dss-divider--bold"]},dashed:{name:"Dashed",control:{type:"check"},options:["dss-divider--dashed"]}},parameters:{layout:"centered"}},e={render:t=>d`
`,args:{weight:"",dashed:""}},r={tags:["!dev"],render:()=>d` -
- `},s={tags:["!dev"],render:()=>d` -
- `},a={tags:["!dev"],render:()=>d` -
- `};var n,o,c;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ - render: (args: any) => html\`
\`, - args: { - weight: '', - dashed: '' - } -}`,...(c=(o=e.parameters)==null?void 0:o.docs)==null?void 0:c.source}}};var i,l,h;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- \`; - } -}`,...(h=(l=r.parameters)==null?void 0:l.docs)==null?void 0:h.source}}};var p,m,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- \`; - } -}`,...(u=(m=s.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var g,v,y;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- \`; - } -}`,...(y=(v=a.parameters)==null?void 0:v.docs)==null?void 0:y.source}}};const w=["Playground","ByDefault","Bold","Dashed"],_=Object.freeze(Object.defineProperty({__proto__:null,Bold:s,ByDefault:r,Dashed:a,Playground:e,__namedExportsOrder:w,default:S},Symbol.toStringTag,{value:"Module"}));export{r as B,a as D,e as P,_ as S,s as a}; diff --git a/rc/assets/drawer.doc-C16Xlo87.js b/rc/assets/drawer.doc-C16Xlo87.js deleted file mode 100644 index dbef7c3..0000000 --- a/rc/assets/drawer.doc-C16Xlo87.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as c,P as h}from"./drawer.stories-DURugo2o.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-drawer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El drawer és un element de la interfície d'usuari que llisca des d'un costat de la pantalla, generalment per mostrar un menú o -opcions addicionals sense ocupar espai permanent a la pantalla principal. En el nostre cas, s'usarà principalment per gestionar -els filtres que s'aplicaran sobre el contingut de l'aplicació.`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(o,{}),` -`,e.jsxs(t.p,{children:["El component drawer està compost per tres blocs: ",e.jsx(t.strong,{children:"header"}),", ",e.jsx(t.strong,{children:"body"})," i ",e.jsx(t.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component.`]}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"open"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"boolean"}),e.jsx(t.td,{children:"false"}),e.jsx(t.td,{children:"Defineix si el modal és visible o ocult."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"title"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsx(t.td,{children:"Títol mostrat a la capçalera."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"size"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsxs(t.td,{children:["Mida dels elements del drawer. Pot ser: '",e.jsx(t.strong,{children:"sm"}),"', '",e.jsx(t.strong,{children:"md"}),"' o '",e.jsx(t.strong,{children:"lg"}),"'"]})]})]})]}),` -`,e.jsx(t.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsx(t.tbody,{children:e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"onDrawerClosed"})}),e.jsx(t.td,{children:"Output"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"Event"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Esdeveniment que notifica que el drawer s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,e.jsx(t.h2,{id:"source-code",children:"Source code"}),` -`,e.jsxs(t.ul,{children:[` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#default",children:"Default"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,e.jsx(t.h3,{id:"default",children:"Default"}),` -`,e.jsx(t.p,{children:"El contingut de cada drawer es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,e.jsx(s,{code:` - -
-

This is the body of the dialog.

-
-
- - - -
-
-`}),` -`,e.jsxs(t.p,{children:["Per activar el drawer haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-drawer. Un ",e.jsx(t.strong,{children:"exemple en angular"})," seria:"]}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Template"})}),` -`,e.jsx(s,{code:` - - -
-

This is the body of the drawer.

-
-
- -
-
-`}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Controller"})}),` -`,e.jsx(s,{code:` - isDrawerOpen = false; - toggleDrawer() { - this.isDrawerOpen = !this.isDrawerOpen; - } - closeModal() { - this.isDrawerOpen = false; - } -`}),` -`,e.jsx(t.p,{children:"Pareu atenció a l'esdeveniment onDrawerClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Versió"}),e.jsx(t.th,{children:"Canvis"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"2.0.0"})}),e.jsx(t.td,{children:"Refactor v2"})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.1"})}),e.jsx(t.td,{children:"S'ha corregit un error en l'espaiat del Drawer."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.0"})}),e.jsx(t.td,{children:"S'ha creat el component drawer, amb un funcionament similar al modal, que es podrà utilitzar per afegir contingut addicional a les aplicacions, com per exemple la selecció de filtres."})]})]})]})]})}function v(n={}){const{wrapper:t}={...d(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{v as default}; diff --git a/rc/assets/drawer.doc-DM7_dycC.js b/rc/assets/drawer.doc-DM7_dycC.js deleted file mode 100644 index d6ed674..0000000 --- a/rc/assets/drawer.doc-DM7_dycC.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as c,P as h}from"./drawer.stories-DT9q_I36.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-drawer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El drawer és un element de la interfície d'usuari que llisca des d'un costat de la pantalla, generalment per mostrar un menú o -opcions addicionals sense ocupar espai permanent a la pantalla principal. En el nostre cas, s'usarà principalment per gestionar -els filtres que s'aplicaran sobre el contingut de l'aplicació.`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(o,{}),` -`,e.jsxs(t.p,{children:["El component drawer està compost per tres blocs: ",e.jsx(t.strong,{children:"header"}),", ",e.jsx(t.strong,{children:"body"})," i ",e.jsx(t.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component.`]}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"open"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"boolean"}),e.jsx(t.td,{children:"false"}),e.jsx(t.td,{children:"Defineix si el modal és visible o ocult."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"title"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsx(t.td,{children:"Títol mostrat a la capçalera."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"size"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsxs(t.td,{children:["Mida dels elements del drawer. Pot ser: '",e.jsx(t.strong,{children:"sm"}),"', '",e.jsx(t.strong,{children:"md"}),"' o '",e.jsx(t.strong,{children:"lg"}),"'"]})]})]})]}),` -`,e.jsx(t.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsx(t.tbody,{children:e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"onDrawerClosed"})}),e.jsx(t.td,{children:"Output"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"Event"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Esdeveniment que notifica que el drawer s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,e.jsx(t.h2,{id:"source-code",children:"Source code"}),` -`,e.jsxs(t.ul,{children:[` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#default",children:"Default"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,e.jsx(t.h3,{id:"default",children:"Default"}),` -`,e.jsx(t.p,{children:"El contingut de cada drawer es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,e.jsx(s,{code:` - -
-

This is the body of the dialog.

-
-
- - - -
-
-`}),` -`,e.jsxs(t.p,{children:["Per activar el drawer haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-drawer. Un ",e.jsx(t.strong,{children:"exemple en angular"})," seria:"]}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Template"})}),` -`,e.jsx(s,{code:` - - -
-

This is the body of the drawer.

-
-
- -
-
-`}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Controller"})}),` -`,e.jsx(s,{code:` - isDrawerOpen = false; - toggleDrawer() { - this.isDrawerOpen = !this.isDrawerOpen; - } - closeModal() { - this.isDrawerOpen = false; - } -`}),` -`,e.jsx(t.p,{children:"Pareu atenció a l'esdeveniment onDrawerClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Versió"}),e.jsx(t.th,{children:"Canvis"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"2.0.0"})}),e.jsx(t.td,{children:"Refactor v2"})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.1"})}),e.jsx(t.td,{children:"S'ha corregit un error en l'espaiat del Drawer."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.0"})}),e.jsx(t.td,{children:"S'ha creat el component drawer, amb un funcionament similar al modal, que es podrà utilitzar per afegir contingut addicional a les aplicacions, com per exemple la selecció de filtres."})]})]})]})]})}function v(n={}){const{wrapper:t}={...d(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{v as default}; diff --git a/rc/assets/drawer.doc-Dd5VqqwN.js b/rc/assets/drawer.doc-Dd5VqqwN.js deleted file mode 100644 index be871f9..0000000 --- a/rc/assets/drawer.doc-Dd5VqqwN.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as c,P as h}from"./drawer.stories-DURugo2o.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-drawer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El drawer és un element de la interfície d'usuari que llisca des d'un costat de la pantalla, generalment per mostrar un menú o -opcions addicionals sense ocupar espai permanent a la pantalla principal. En el nostre cas, s'usarà principalment per gestionar -els filtres que s'aplicaran sobre el contingut de l'aplicació.`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(o,{}),` -`,e.jsxs(t.p,{children:["El component drawer està compost per tres blocs: ",e.jsx(t.strong,{children:"header"}),", ",e.jsx(t.strong,{children:"body"})," i ",e.jsx(t.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component.`]}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"open"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"boolean"}),e.jsx(t.td,{children:"false"}),e.jsx(t.td,{children:"Defineix si el modal és visible o ocult."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"title"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsx(t.td,{children:"Títol mostrat a la capçalera."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"size"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsxs(t.td,{children:["Mida dels elements del drawer. Pot ser: '",e.jsx(t.strong,{children:"sm"}),"', '",e.jsx(t.strong,{children:"md"}),"' o '",e.jsx(t.strong,{children:"lg"}),"'"]})]})]})]}),` -`,e.jsx(t.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsx(t.tbody,{children:e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"onDrawerClosed"})}),e.jsx(t.td,{children:"Output"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"Event"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Esdeveniment que notifica que el drawer s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,e.jsx(t.h2,{id:"source-code",children:"Source code"}),` -`,e.jsxs(t.ul,{children:[` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#default",children:"Default"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,e.jsx(t.h3,{id:"default",children:"Default"}),` -`,e.jsx(t.p,{children:"El contingut de cada drawer es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,e.jsx(s,{code:` - -
-

This is the body of the dialog.

-
-
- - - -
-
-`}),` -`,e.jsxs(t.p,{children:["Per activar el drawer haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-drawer. Un ",e.jsx(t.strong,{children:"exemple en angular"})," seria:"]}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Template"})}),` -`,e.jsx(s,{code:` - - -
-

This is the body of the drawer.

-
-
- -
-
-`}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Controller"})}),` -`,e.jsx(s,{code:` - isDrawerOpen = false; - toggleDrawer() { - this.isDrawerOpen = !this.isDrawerOpen; - } - closeModal() { - this.isDrawerOpen = false; - } -`}),` -`,e.jsx(t.p,{children:"Pareu atenció a l'esdeveniment onDrawerClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Versió"}),e.jsx(t.th,{children:"Canvis"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"2.0.0"})}),e.jsx(t.td,{children:"Refactor v2"})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.1"})}),e.jsx(t.td,{children:"S'ha corregit un error en l'espaiat del Drawer."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.0"})}),e.jsx(t.td,{children:"S'ha creat el component drawer, amb un funcionament similar al modal, que es podrà utilitzar per afegir contingut addicional a les aplicacions, com per exemple la selecció de filtres."})]})]})]})]})}function v(n={}){const{wrapper:t}={...d(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{v as default}; diff --git a/rc/assets/drawer.doc-fHExx5mm.js b/rc/assets/drawer.doc-fHExx5mm.js deleted file mode 100644 index 60656b3..0000000 --- a/rc/assets/drawer.doc-fHExx5mm.js +++ /dev/null @@ -1,71 +0,0 @@ -import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as c,P as h}from"./drawer.stories-DT9q_I36.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-drawer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El drawer és un element de la interfície d'usuari que llisca des d'un costat de la pantalla, generalment per mostrar un menú o -opcions addicionals sense ocupar espai permanent a la pantalla principal. En el nostre cas, s'usarà principalment per gestionar -els filtres que s'aplicaran sobre el contingut de l'aplicació.`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:h}),` -`,e.jsx(o,{}),` -`,e.jsxs(t.p,{children:["El component drawer està compost per tres blocs: ",e.jsx(t.strong,{children:"header"}),", ",e.jsx(t.strong,{children:"body"})," i ",e.jsx(t.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component.`]}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"open"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"boolean"}),e.jsx(t.td,{children:"false"}),e.jsx(t.td,{children:"Defineix si el modal és visible o ocult."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"title"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsx(t.td,{children:"Títol mostrat a la capçalera."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"size"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"''"}),e.jsxs(t.td,{children:["Mida dels elements del drawer. Pot ser: '",e.jsx(t.strong,{children:"sm"}),"', '",e.jsx(t.strong,{children:"md"}),"' o '",e.jsx(t.strong,{children:"lg"}),"'"]})]})]})]}),` -`,e.jsx(t.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsx(t.tbody,{children:e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"onDrawerClosed"})}),e.jsx(t.td,{children:"Output"}),e.jsx(t.td,{children:"Opcional"}),e.jsx(t.td,{children:"Event"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Esdeveniment que notifica que el drawer s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,e.jsx(t.h2,{id:"source-code",children:"Source code"}),` -`,e.jsxs(t.ul,{children:[` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#default",children:"Default"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,e.jsx(t.li,{children:e.jsx(t.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,e.jsx(t.h3,{id:"default",children:"Default"}),` -`,e.jsx(t.p,{children:"El contingut de cada drawer es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,e.jsx(s,{code:` - -
-

This is the body of the dialog.

-
-
- - - -
-
-`}),` -`,e.jsxs(t.p,{children:["Per activar el drawer haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-drawer. Un ",e.jsx(t.strong,{children:"exemple en angular"})," seria:"]}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Template"})}),` -`,e.jsx(s,{code:` - - -
-

This is the body of the drawer.

-
-
- -
-
-`}),` -`,e.jsx(t.p,{children:e.jsx(t.strong,{children:"Component Controller"})}),` -`,e.jsx(s,{code:` - isDrawerOpen = false; - toggleDrawer() { - this.isDrawerOpen = !this.isDrawerOpen; - } - closeModal() { - this.isDrawerOpen = false; - } -`}),` -`,e.jsx(t.p,{children:"Pareu atenció a l'esdeveniment onDrawerClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(t.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Versió"}),e.jsx(t.th,{children:"Canvis"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"2.0.0"})}),e.jsx(t.td,{children:"Refactor v2"})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.1"})}),e.jsx(t.td,{children:"S'ha corregit un error en l'espaiat del Drawer."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"1.9.0"})}),e.jsx(t.td,{children:"S'ha creat el component drawer, amb un funcionament similar al modal, que es podrà utilitzar per afegir contingut addicional a les aplicacions, com per exemple la selecció de filtres."})]})]})]})]})}function v(n={}){const{wrapper:t}={...d(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(r,{...n})}):r(n)}export{v as default}; diff --git a/rc/assets/drawer.doc-BrShoT1C.js b/rc/assets/drawer.doc-ypIqKePQ.js similarity index 98% rename from rc/assets/drawer.doc-BrShoT1C.js rename to rc/assets/drawer.doc-ypIqKePQ.js index 38c7bc4..4d9fb27 100644 --- a/rc/assets/drawer.doc-BrShoT1C.js +++ b/rc/assets/drawer.doc-ypIqKePQ.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as c,P as h}from"./drawer.stories-DT9q_I36.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as l,ah as a,ai as o,ak as s}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as c,P as h}from"./drawer.stories-DT9q_I36.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const t={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(i,{of:c}),` diff --git a/rc/assets/drawer.stories-DURugo2o.js b/rc/assets/drawer.stories-DURugo2o.js deleted file mode 100644 index a17fc1d..0000000 --- a/rc/assets/drawer.stories-DURugo2o.js +++ /dev/null @@ -1,85 +0,0 @@ -import{x as r}from"./lit-html-paDGiEfB.js";const b={title:"Components/Drawer",argTypes:{open:{name:"Obert",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"}},contentScroll:{name:"Contingut amb scroll",control:{type:"boolean"}},hasButtonAlternative:{name:"Botó alternatiu",control:{type:"boolean"}},hasButtonSecondary:{name:"Botó secundari",control:{type:"boolean"}},description:{name:"Descripció",control:{type:"text"}},size:{name:"Mida",control:{type:"select",options:["sm","md","lg"]}}},parameters:{layout:"centered"}},n={args:{open:!1,title:"Drawer title",size:"md",contentScroll:!1,hasButtonAlternative:!0,hasButtonSecondary:!0,description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore. Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore."},render:t=>{const a=r` -

${t.description}

- `,i=r` -

${t.description}





-

${t.description}





-

${t.description}





-

${t.description}





-

${t.description}





-

${t.description}





-

${t.description}





-

${t.description}

- `,d=r` - ${t.hasButtonAlternative?r``:""} - ${t.hasButtonSecondary?r``:""} - - `;return r` - -
- ${t.contentScroll?i:a} -
-
- ${d} -
-
- `}};var o,e,s;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - open: false, - title: 'Drawer title', - size: 'md', - contentScroll: false, - hasButtonAlternative: true, - hasButtonSecondary: true, - description: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore. Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore.' - }, - render: (args: any) => { - const drawerBody = html\` -

\${args.description}

- \`; - const drawerBodyScroll = html\` -

\${args.description}





-

\${args.description}





-

\${args.description}





-

\${args.description}





-

\${args.description}





-

\${args.description}





-

\${args.description}





-

\${args.description}

- \`; - const drawerFooter = html\` - \${args.hasButtonAlternative ? html\`\` : ''} - \${args.hasButtonSecondary ? html\`\` : ''} - - \`; - return html\` - -
- \${args.contentScroll ? drawerBodyScroll : drawerBody} -
-
- \${drawerFooter} -
-
- \`; - } -}`,...(s=(e=n.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};const p=["Playground"],c=Object.freeze(Object.defineProperty({__proto__:null,Playground:n,__namedExportsOrder:p,default:b},Symbol.toStringTag,{value:"Module"}));export{n as P,c as S}; diff --git a/rc/assets/dropdown-list.doc-1G70WY9M.js b/rc/assets/dropdown-list.doc-1G70WY9M.js deleted file mode 100644 index 9313a9b..0000000 --- a/rc/assets/dropdown-list.doc-1G70WY9M.js +++ /dev/null @@ -1,131 +0,0 @@ -import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as a,P as o}from"./dropdown-list.stories-C0by9R4d.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - min-height: 200px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input-dropdown--exemple",children:"dss-input-dropdown"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(l.p,{children:"Un DropDownList és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(c,{of:o}),` -`,e.jsx(l.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(l.h3,{id:"dss-dropdown-list",children:"dss-dropdown-list"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"icon"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'search'"}),e.jsx(l.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra com label del dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"placeHolder"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra en el placeholder de l'input quan no hi ha elements seleccionats."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"required"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a obligatori."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"disabled"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Deshabilitat l'input del dropdown"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"readonly"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a només lectura."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"multiple"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"openWithSearch"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet obrir el dropdownlist amb la cerca oberta."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"tick"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"deselectable"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"elements"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"Elements[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"selectedValue"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"type"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'default'"}),e.jsx(l.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"inputStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"boxStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de la caixa."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelSelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Seleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelDeselectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"SelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"onValueChange"})}),e.jsx(l.td,{children:"Output"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"CustomEvent"}),e.jsx(l.td,{children:"-"}),e.jsx(l.td,{children:"Esdeveniment que retorna els elements seleccionats"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Texto que se mostrará visible para cada elemento."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"value"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Valor que captura para el input cuando se seleccione el elemento."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelSelectAll",children:"Text per seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelDeselectAll",children:"Text per deseleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-requerit",children:"Valor requerit"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#input-style",children:"Input style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desplegada",children:"Desplegada"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#ordenacio",children:"Ordenació"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#modificar-icona",children:"Modificar icona"})}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(l.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(l.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(l.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(l.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(l.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(l.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(l.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(l.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(l.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,selectAll:"true",openWithSearch:"true",label:"Label",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,disabled:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(l.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',tick:"false"})})}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.h4,{id:"default",children:"Default"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"default"})})}),` -`,e.jsx(l.h4,{id:"green",children:"Green"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green"})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green",selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(l.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,deselectable:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(l.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(l.p,{children:"Permet només llegir l'element sense poder modificar-lo."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,readonly:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedValue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-requerit",children:"Valor requerit"}),` -`,e.jsx(l.p,{children:"És necessari completar aquest valor."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,required:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"input-style",children:"Input style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,boxStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"desplegada",children:"Desplegada"}),` -`,e.jsx(l.p,{children:"Permet obrir el dropdownlist amb la cerca oberta."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,openWithSearch:"true",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"ordenació",children:"Ordenació"}),` -`,e.jsx(l.p,{children:"En seleccionar un o diversos elements en tornar a obrir el dropdown els elements seleccionats es mostraran en les primeres posicions."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(l.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,icon:"favorite_border",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})})]})}function E(s={}){const{wrapper:l}={...i(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(r,{...s})}):r(s)}export{E as default}; diff --git a/rc/assets/dropdown-list.doc-BHrKTc84.js b/rc/assets/dropdown-list.doc-BHrKTc84.js deleted file mode 100644 index a7c84c6..0000000 --- a/rc/assets/dropdown-list.doc-BHrKTc84.js +++ /dev/null @@ -1,131 +0,0 @@ -import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as a,P as o}from"./dropdown-list.stories-Dfw0iqD-.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - min-height: 200px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input-dropdown--exemple",children:"dss-input-dropdown"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(l.p,{children:"Un DropDownList és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(c,{of:o}),` -`,e.jsx(l.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(l.h3,{id:"dss-dropdown-list",children:"dss-dropdown-list"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"icon"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'search'"}),e.jsx(l.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra com label del dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"placeHolder"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra en el placeholder de l'input quan no hi ha elements seleccionats."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"required"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a obligatori."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"disabled"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Deshabilitat l'input del dropdown"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"readonly"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a només lectura."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"multiple"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"openWithSearch"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet obrir el dropdownlist amb la cerca oberta."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"tick"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"deselectable"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"elements"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"Elements[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"selectedValue"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"type"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'default'"}),e.jsx(l.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"inputStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"boxStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de la caixa."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelSelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Seleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelDeselectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"SelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"onValueChange"})}),e.jsx(l.td,{children:"Output"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"CustomEvent"}),e.jsx(l.td,{children:"-"}),e.jsx(l.td,{children:"Esdeveniment que retorna els elements seleccionats"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Texto que se mostrará visible para cada elemento."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"value"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Valor que captura para el input cuando se seleccione el elemento."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelSelectAll",children:"Text per seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelDeselectAll",children:"Text per deseleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-requerit",children:"Valor requerit"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#input-style",children:"Input style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desplegada",children:"Desplegada"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#ordenacio",children:"Ordenació"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#modificar-icona",children:"Modificar icona"})}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(l.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(l.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(l.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(l.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(l.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(l.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(l.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(l.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(l.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,selectAll:"true",openWithSearch:"true",label:"Label",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,disabled:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(l.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',tick:"false"})})}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.h4,{id:"default",children:"Default"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"default"})})}),` -`,e.jsx(l.h4,{id:"green",children:"Green"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green"})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green",selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(l.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,deselectable:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(l.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(l.p,{children:"Permet només llegir l'element sense poder modificar-lo."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,readonly:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedValue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-requerit",children:"Valor requerit"}),` -`,e.jsx(l.p,{children:"És necessari completar aquest valor."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,required:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"input-style",children:"Input style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,boxStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"desplegada",children:"Desplegada"}),` -`,e.jsx(l.p,{children:"Permet obrir el dropdownlist amb la cerca oberta."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,openWithSearch:"true",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"ordenació",children:"Ordenació"}),` -`,e.jsx(l.p,{children:"En seleccionar un o diversos elements en tornar a obrir el dropdown els elements seleccionats es mostraran en les primeres posicions."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(l.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,icon:"favorite_border",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})})]})}function E(s={}){const{wrapper:l}={...i(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(r,{...s})}):r(s)}export{E as default}; diff --git a/rc/assets/dropdown-list.doc-Cu30UTh8.js b/rc/assets/dropdown-list.doc-Cu30UTh8.js deleted file mode 100644 index fcc3f77..0000000 --- a/rc/assets/dropdown-list.doc-Cu30UTh8.js +++ /dev/null @@ -1,131 +0,0 @@ -import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as a,P as o}from"./dropdown-list.stories-C0by9R4d.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - min-height: 200px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input-dropdown--exemple",children:"dss-input-dropdown"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(l.p,{children:"Un DropDownList és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(c,{of:o}),` -`,e.jsx(l.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(l.h3,{id:"dss-dropdown-list",children:"dss-dropdown-list"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"icon"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'search'"}),e.jsx(l.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra com label del dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"placeHolder"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra en el placeholder de l'input quan no hi ha elements seleccionats."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"required"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a obligatori."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"disabled"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Deshabilitat l'input del dropdown"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"readonly"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a només lectura."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"multiple"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"openWithSearch"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet obrir el dropdownlist amb la cerca oberta."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"tick"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"deselectable"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"elements"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"Elements[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"selectedValue"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"type"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'default'"}),e.jsx(l.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"inputStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"boxStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de la caixa."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelSelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Seleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelDeselectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"SelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"onValueChange"})}),e.jsx(l.td,{children:"Output"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"CustomEvent"}),e.jsx(l.td,{children:"-"}),e.jsx(l.td,{children:"Esdeveniment que retorna els elements seleccionats"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Texto que se mostrará visible para cada elemento."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"value"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Valor que captura para el input cuando se seleccione el elemento."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelSelectAll",children:"Text per seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelDeselectAll",children:"Text per deseleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-requerit",children:"Valor requerit"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#input-style",children:"Input style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desplegada",children:"Desplegada"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#ordenacio",children:"Ordenació"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#modificar-icona",children:"Modificar icona"})}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(l.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(l.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(l.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(l.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(l.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(l.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(l.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(l.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(l.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,selectAll:"true",openWithSearch:"true",label:"Label",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,disabled:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(l.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',tick:"false"})})}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.h4,{id:"default",children:"Default"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"default"})})}),` -`,e.jsx(l.h4,{id:"green",children:"Green"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green"})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green",selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(l.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,deselectable:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(l.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(l.p,{children:"Permet només llegir l'element sense poder modificar-lo."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,readonly:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedValue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-requerit",children:"Valor requerit"}),` -`,e.jsx(l.p,{children:"És necessari completar aquest valor."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,required:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"input-style",children:"Input style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,boxStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"desplegada",children:"Desplegada"}),` -`,e.jsx(l.p,{children:"Permet obrir el dropdownlist amb la cerca oberta."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,openWithSearch:"true",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"ordenació",children:"Ordenació"}),` -`,e.jsx(l.p,{children:"En seleccionar un o diversos elements en tornar a obrir el dropdown els elements seleccionats es mostraran en les primeres posicions."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(l.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,icon:"favorite_border",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})})]})}function E(s={}){const{wrapper:l}={...i(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(r,{...s})}):r(s)}export{E as default}; diff --git a/rc/assets/dropdown-list.doc-DI6UN9nO.js b/rc/assets/dropdown-list.doc-DI6UN9nO.js deleted file mode 100644 index 1b09625..0000000 --- a/rc/assets/dropdown-list.doc-DI6UN9nO.js +++ /dev/null @@ -1,131 +0,0 @@ -import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as a,P as o}from"./dropdown-list.stories-Dfw0iqD-.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - min-height: 200px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input-dropdown--exemple",children:"dss-input-dropdown"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(l.p,{children:"Un DropDownList és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(c,{of:o}),` -`,e.jsx(l.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(l.h3,{id:"dss-dropdown-list",children:"dss-dropdown-list"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"icon"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'search'"}),e.jsx(l.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra com label del dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"placeHolder"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Text que es mostra en el placeholder de l'input quan no hi ha elements seleccionats."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"required"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a obligatori."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"disabled"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Deshabilitat l'input del dropdown"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"readonly"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Marcar l'input com a només lectura."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"multiple"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"openWithSearch"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet obrir el dropdownlist amb la cerca oberta."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"tick"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"deselectable"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"boolean"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"elements"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"Elements[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"selectedValue"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string[]"}),e.jsx(l.td,{children:"[]"}),e.jsx(l.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"type"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'default'"}),e.jsx(l.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"inputStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"boxStyle"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Permet canviar l'estil de la caixa."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelSelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Seleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"labelDeselectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(l.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"SelectAll"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"false"}),e.jsx(l.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"onValueChange"})}),e.jsx(l.td,{children:"Output"}),e.jsx(l.td,{children:"Opcional"}),e.jsx(l.td,{children:"CustomEvent"}),e.jsx(l.td,{children:"-"}),e.jsx(l.td,{children:"Esdeveniment que retorna els elements seleccionats"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(l.table,{children:[e.jsx(l.thead,{children:e.jsxs(l.tr,{children:[e.jsx(l.th,{children:"Name"}),e.jsx(l.th,{children:"Àmbit"}),e.jsx(l.th,{children:"Condition"}),e.jsx(l.th,{children:"Type"}),e.jsx(l.th,{children:"Default"}),e.jsx(l.th,{children:"Description"})]})}),e.jsxs(l.tbody,{children:[e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"label"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Texto que se mostrará visible para cada elemento."})]}),e.jsxs(l.tr,{children:[e.jsx(l.td,{children:e.jsx(l.strong,{children:"value"})}),e.jsx(l.td,{children:"Input"}),e.jsx(l.td,{children:"Requerida"}),e.jsx(l.td,{children:"string"}),e.jsx(l.td,{children:"''"}),e.jsx(l.td,{children:"Valor que captura para el input cuando se seleccione el elemento."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(l.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelSelectAll",children:"Text per seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#labelDeselectAll",children:"Text per deseleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#valor-requerit",children:"Valor requerit"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#input-style",children:"Input style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#desplegada",children:"Desplegada"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#ordenacio",children:"Ordenació"})}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:e.jsx(l.a,{href:"#modificar-icona",children:"Modificar icona"})}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(l.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(l.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(l.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(l.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(l.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(l.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(l.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(l.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(l.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,selectAll:"true",openWithSearch:"true",label:"Label",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,disabled:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(l.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(l.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',tick:"false"})})}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.h4,{id:"default",children:"Default"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"default"})})}),` -`,e.jsx(l.h4,{id:"green",children:"Green"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green"})})}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',type:"green",selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(l.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,deselectable:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(l.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedvalue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(l.p,{children:"Permet només llegir l'element sense poder modificar-lo."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,readonly:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]',selectedValue:'["1","3"]'})})}),` -`,e.jsx(l.h3,{id:"valor-requerit",children:"Valor requerit"}),` -`,e.jsx(l.p,{children:"És necessari completar aquest valor."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,required:!0,label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"input-style",children:"Input style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de l'input. L'ample del selector serà definit per l'ample de l'input"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(l.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,boxStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"desplegada",children:"Desplegada"}),` -`,e.jsx(l.p,{children:"Permet obrir el dropdownlist amb la cerca oberta."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,openWithSearch:"true",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"}]'})})}),` -`,e.jsx(l.h3,{id:"ordenació",children:"Ordenació"}),` -`,e.jsx(l.p,{children:"En seleccionar un o diversos elements en tornar a obrir el dropdown els elements seleccionats es mostraran en les primeres posicions."}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{multiple:!0,inputStyle:"width: 300px",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})}),` -`,e.jsx(l.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(l.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(n,{children:e.jsx("div",{class:"container-dropdownlist",children:e.jsx("dss-dropdownlist",{simple:!0,icon:"favorite_border",label:"Label",placeHolder:"Seleccionar",elements:'[{"label":"Element 1","value":"1"},{"label":"Element 2","value":"2"},{"label":"Element 3","value":"3"}]'})})})]})}function E(s={}){const{wrapper:l}={...i(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(r,{...s})}):r(s)}export{E as default}; diff --git a/rc/assets/dropdown-list.doc-0lSc5uT7.js b/rc/assets/dropdown-list.doc-XVp1cLxJ.js similarity index 99% rename from rc/assets/dropdown-list.doc-0lSc5uT7.js rename to rc/assets/dropdown-list.doc-XVp1cLxJ.js index 413d751..5cd5f47 100644 --- a/rc/assets/dropdown-list.doc-0lSc5uT7.js +++ b/rc/assets/dropdown-list.doc-XVp1cLxJ.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as a,P as o}from"./dropdown-list.stories-Dfw0iqD-.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as t,ah as c,ak as n}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as a,P as o}from"./dropdown-list.stories-Dfw0iqD-.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function r(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .container-dropdownlist { min-height: 200px; } diff --git a/rc/assets/dropdown-list.stories-C0by9R4d.js b/rc/assets/dropdown-list.stories-C0by9R4d.js deleted file mode 100644 index e1a4a26..0000000 --- a/rc/assets/dropdown-list.stories-C0by9R4d.js +++ /dev/null @@ -1,131 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as n}from"./lit-html-paDGiEfB.js";const s={title:"Discontinued/Dropdown-list ⚠️",argTypes:{labelSelectAll:{name:"Text per seleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},labelDeselectAll:{name:"Text per deseleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},seleccionarTot:{name:"Seleccionar-ho tot",control:{type:"boolean"},if:{arg:"multiple",truthy:!0}},multiple:{name:"Múltiple",control:{type:"boolean"}},tick:{name:"Tick",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},tipus:{name:"Tipus",control:{type:"select"},options:["default","green"]},desselectable:{name:"Desseleccionable",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},icon:{name:"Icon",control:{type:"text"}},label:{name:"Label",control:{type:"text"}},placeHolder:{name:"Placeholder",control:{type:"text"}},required:{name:"Requerit",control:{type:"boolean"}},readonly:{name:"Només lectura",control:{type:"boolean"}},openWithSearch:{name:"Obrir amb cerca",control:{type:"boolean"}}},parameters:{layout:"centered"}},l={render:e=>{const t=[{label:"Element 1",value:"1"},{label:"Element 2",value:"2"},{label:"Element 3",value:"3"},{label:"Element 4",value:"4"},{label:"Element 5",value:"5"},{label:"Element 6",value:"6"}];return e.openWithSearch?n` -
- -
- `:n` -
- -
- `},name:"Exemple",args:{seleccionarTot:!0,multiple:!1,tick:!0,disabled:!1,tipus:"default",desselectable:!1,icon:"search",label:"Label",placeHolder:"Placeholder",required:!1,readonly:!1,openWithSearch:!1,labelSelectAll:"Seleccionar-ho tot",labelDeselectAll:"Deseleccionar-ho tot"}};var a,o,r;l.parameters={...l.parameters,docs:{...(a=l.parameters)==null?void 0:a.docs,source:{originalSource:`{ - render: (args: any) => { - const elements = [{ - label: 'Element 1', - value: '1' - }, { - label: 'Element 2', - value: '2' - }, { - label: 'Element 3', - value: '3' - }, { - label: 'Element 4', - value: '4' - }, { - label: 'Element 5', - value: '5' - }, { - label: 'Element 6', - value: '6' - }]; - return args.openWithSearch ? html\` -
- -
- \` : html\` -
- -
- \`; - }, - name: 'Exemple', - args: { - seleccionarTot: true, - multiple: false, - tick: true, - disabled: false, - tipus: 'default', - desselectable: false, - icon: 'search', - label: 'Label', - placeHolder: 'Placeholder', - required: false, - readonly: false, - openWithSearch: false, - labelSelectAll: 'Seleccionar-ho tot', - labelDeselectAll: 'Deseleccionar-ho tot' - } -}`,...(r=(o=l.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const i=["Playground"],p=Object.freeze(Object.defineProperty({__proto__:null,Playground:l,__namedExportsOrder:i,default:s},Symbol.toStringTag,{value:"Module"}));export{l as P,p as S}; diff --git a/rc/assets/elevation.doc-BRsOSlDi.js b/rc/assets/elevation.doc-BRsOSlDi.js deleted file mode 100644 index 7184cd5..0000000 --- a/rc/assets/elevation.doc-BRsOSlDi.js +++ /dev/null @@ -1,22 +0,0 @@ -import{ae as e,af as r,ag as t,ah as i}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import"./lit-html-paDGiEfB.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-Bij6E0wB.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` -`,e.jsx(t,{}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.p,{children:`L'elevation és la distància relativa entre dos elements al llarg de l'eix z. -Qualsevol objecte del món real projecta una ombra quan està elevat, i l'ombra -té propietats i aparença específiques en funció del grau d'elevació.`}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-elevation--(sm | md | lg)"}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," La classe ",e.jsx(n.code,{children:"elevations-box"}),` s'afegix al exemple per a poder donar -una mida i que es mostre la sombra.`]})}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"mida-de-elevations",children:"Mida de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 3 mides disponibles: ",e.jsx("code",{children:"sm"})," ",e.jsx("code",{children:"md"})," ",e.jsx("code",{children:"lg"})]}),` -`,e.jsx(i,{of:d}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"direcció-de-elevations",children:"Direcció de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 2 direcció disponibles: ",e.jsx("code",{children:"left"})," ",e.jsx("code",{children:"right"})]}),` -`,e.jsx(i,{of:x})]})}function q(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{q as default}; diff --git a/rc/assets/elevation.doc-BX3XfGkt.js b/rc/assets/elevation.doc-BX3XfGkt.js deleted file mode 100644 index e605277..0000000 --- a/rc/assets/elevation.doc-BX3XfGkt.js +++ /dev/null @@ -1,22 +0,0 @@ -import{ae as e,af as r,ag as t,ah as i}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import"./lit-html-B2eaWknC.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-D0SUOfBs.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` -`,e.jsx(t,{}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.p,{children:`L'elevation és la distància relativa entre dos elements al llarg de l'eix z. -Qualsevol objecte del món real projecta una ombra quan està elevat, i l'ombra -té propietats i aparença específiques en funció del grau d'elevació.`}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-elevation--(sm | md | lg)"}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," La classe ",e.jsx(n.code,{children:"elevations-box"}),` s'afegix al exemple per a poder donar -una mida i que es mostre la sombra.`]})}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"mida-de-elevations",children:"Mida de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 3 mides disponibles: ",e.jsx("code",{children:"sm"})," ",e.jsx("code",{children:"md"})," ",e.jsx("code",{children:"lg"})]}),` -`,e.jsx(i,{of:d}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"direcció-de-elevations",children:"Direcció de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 2 direcció disponibles: ",e.jsx("code",{children:"left"})," ",e.jsx("code",{children:"right"})]}),` -`,e.jsx(i,{of:x})]})}function q(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{q as default}; diff --git a/rc/assets/elevation.doc-Bf6ieF6v.js b/rc/assets/elevation.doc-Bf6ieF6v.js deleted file mode 100644 index 2bdd435..0000000 --- a/rc/assets/elevation.doc-Bf6ieF6v.js +++ /dev/null @@ -1,22 +0,0 @@ -import{ae as e,af as r,ag as t,ah as i}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import"./lit-html-paDGiEfB.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-Bij6E0wB.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` -`,e.jsx(t,{}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.p,{children:`L'elevation és la distància relativa entre dos elements al llarg de l'eix z. -Qualsevol objecte del món real projecta una ombra quan està elevat, i l'ombra -té propietats i aparença específiques en funció del grau d'elevació.`}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-elevation--(sm | md | lg)"}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," La classe ",e.jsx(n.code,{children:"elevations-box"}),` s'afegix al exemple per a poder donar -una mida i que es mostre la sombra.`]})}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"mida-de-elevations",children:"Mida de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 3 mides disponibles: ",e.jsx("code",{children:"sm"})," ",e.jsx("code",{children:"md"})," ",e.jsx("code",{children:"lg"})]}),` -`,e.jsx(i,{of:d}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"direcció-de-elevations",children:"Direcció de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 2 direcció disponibles: ",e.jsx("code",{children:"left"})," ",e.jsx("code",{children:"right"})]}),` -`,e.jsx(i,{of:x})]})}function q(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{q as default}; diff --git a/rc/assets/elevation.doc-j5aez0Uj.js b/rc/assets/elevation.doc-BoxYcmU5.js similarity index 90% rename from rc/assets/elevation.doc-j5aez0Uj.js rename to rc/assets/elevation.doc-BoxYcmU5.js index 73e721c..1ae1eba 100644 --- a/rc/assets/elevation.doc-j5aez0Uj.js +++ b/rc/assets/elevation.doc-BoxYcmU5.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as t,ah as i}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import"./lit-html-B2eaWknC.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-D0SUOfBs.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` +import{ae as e,af as r,ag as t,ah as i}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import"./lit-html-B2eaWknC.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-D0SUOfBs.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` `,e.jsx(t,{}),` `,e.jsx("hr",{}),` `,e.jsx(n.p,{children:`L'elevation és la distància relativa entre dos elements al llarg de l'eix z. diff --git a/rc/assets/elevation.doc-CgEpEgNR.js b/rc/assets/elevation.doc-CgEpEgNR.js deleted file mode 100644 index 80fadac..0000000 --- a/rc/assets/elevation.doc-CgEpEgNR.js +++ /dev/null @@ -1,22 +0,0 @@ -import{ae as e,af as r,ag as t,ah as i}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import"./lit-html-B2eaWknC.js";import{E as l,P as c,S as d,D as x}from"./elevation.stories-D0SUOfBs.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(s){const n={blockquote:"blockquote",code:"code",em:"em",h3:"h3",p:"p",strong:"strong",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{of:l}),` -`,e.jsx(t,{}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.p,{children:`L'elevation és la distància relativa entre dos elements al llarg de l'eix z. -Qualsevol objecte del món real projecta una ombra quan està elevat, i l'ombra -té propietats i aparença específiques en funció del grau d'elevació.`}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-elevation--(sm | md | lg)"}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," La classe ",e.jsx(n.code,{children:"elevations-box"}),` s'afegix al exemple per a poder donar -una mida i que es mostre la sombra.`]})}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"mida-de-elevations",children:"Mida de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 3 mides disponibles: ",e.jsx("code",{children:"sm"})," ",e.jsx("code",{children:"md"})," ",e.jsx("code",{children:"lg"})]}),` -`,e.jsx(i,{of:d}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"direcció-de-elevations",children:"Direcció de Elevations"}),` -`,e.jsxs(n.p,{children:["Hi han 2 direcció disponibles: ",e.jsx("code",{children:"left"})," ",e.jsx("code",{children:"right"})]}),` -`,e.jsx(i,{of:x})]})}function q(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(o,{...s})}):o(s)}export{q as default}; diff --git a/rc/assets/elevation.stories-Bij6E0wB.js b/rc/assets/elevation.stories-Bij6E0wB.js deleted file mode 100644 index 626186a..0000000 --- a/rc/assets/elevation.stories-Bij6E0wB.js +++ /dev/null @@ -1,40 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const g={title:"Foundations/Elevation",argTypes:{options:{name:"Opcions",control:{type:"radio"},options:["sm","md","lg","left","right"]}},parameters:{layout:"centered"}},e={render:m=>t`
`,args:{options:"md"}},s={tags:["!dev"],render:()=>t` -
-
Small Elevation
-
Medium Elevation
-
Large Elevation
-
- `},a={tags:["!dev"],render:()=>t` -
-
Left Elevation
-
Right Elevation
-
- `};var i,n,o;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:`{ - render: (args: any) => { - return html\`
\`; - }, - args: { - options: 'md' - } -}`,...(o=(n=e.parameters)==null?void 0:n.docs)==null?void 0:o.source}}};var r,l,d;s.parameters={...s.parameters,docs:{...(r=s.parameters)==null?void 0:r.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
Small Elevation
-
Medium Elevation
-
Large Elevation
-
- \`; - } -}`,...(d=(l=s.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};var v,c,p;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
Left Elevation
-
Right Elevation
-
- \`; - } -}`,...(p=(c=a.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};const u=["Playground","Size","Direction"],y=Object.freeze(Object.defineProperty({__proto__:null,Direction:a,Playground:e,Size:s,__namedExportsOrder:u,default:g},Symbol.toStringTag,{value:"Module"}));export{a as D,y as E,e as P,s as S}; diff --git a/rc/assets/entry-preview-CRqr0V-9.js b/rc/assets/entry-preview-CRqr0V-9.js deleted file mode 100644 index 1b6c315..0000000 --- a/rc/assets/entry-preview-CRqr0V-9.js +++ /dev/null @@ -1,8 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{B as _}from"./lit-html-paDGiEfB.js";import{d as a}from"./index-DrFu-skq.js";/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const l=(e,t)=>t===void 0?(e==null?void 0:e._$litType$)!==void 0:(e==null?void 0:e._$litType$)===t,{simulatePageLoad:s,simulateDOMContentLoaded:y}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__;var u=Object.defineProperty,T=(e,t)=>{for(var i in t)u(e,i,{get:t[i],enumerable:!0})},h={};T(h,{parameters:()=>c,render:()=>L,renderToCanvas:()=>M});var{Node:m}=O,L=(e,t)=>{let{id:i,component:n}=t;if(!n)throw new Error(`Unable to render story ${i} as the component annotation is missing from the default export`);let d=document.createElement(n);return Object.entries(e).forEach(([p,r])=>{d[p]=r}),d};function M({storyFn:e,kind:t,name:i,showMain:n,showError:d,forceRemount:p},r){let o=e();if(n(),l(o)){(p||!r.querySelector('[id="root-inner"]'))&&(r.innerHTML='
');let f=r.querySelector('[id="root-inner"]');_(o,f),s(r)}else if(typeof o=="string")r.innerHTML=o,s(r);else if(o instanceof m){if(r.firstChild===o&&!p)return;r.innerHTML="",r.appendChild(o),y()}else d({title:`Expecting an HTML snippet or DOM node from the story: "${i}" of "${t}".`,description:a` - Did you forget to return the HTML snippet from the story? - Use "() => " or when defining the story. - `})}var c={renderer:"web-components"};export{c as parameters,L as render,M as renderToCanvas}; diff --git a/rc/assets/entry-preview-docs-DaYV1EZe.js b/rc/assets/entry-preview-docs-DaYV1EZe.js deleted file mode 100644 index 260754f..0000000 --- a/rc/assets/entry-preview-docs-DaYV1EZe.js +++ /dev/null @@ -1,2 +0,0 @@ -import"./entry-preview-CRqr0V-9.js";import{c as w,g as u,y as S}from"./index-u5I_DdWt.js";import{i as b}from"./tiny-invariant-CopsF_GD.js";import"./lit-element-vV9fql9z.js";import{B as l}from"./lit-html-paDGiEfB.js";import"./index-DrFu-skq.js";const{global:d}=__STORYBOOK_MODULE_GLOBAL__,{setDefaultProjectAnnotations:F,setProjectAnnotations:G}=__STORYBOOK_MODULE_PREVIEW_API__;var{window:v}=d;v.STORYBOOK_ENV="web-components";function c(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}function f(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements(). - See the readme of addon-docs for web components for more details.`)}function O(){return d.__STORYBOOK_CUSTOM_ELEMENTS__||d.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__}var{window:A,EventSource:D}=d,_;typeof module<"u"&&((_=module==null?void 0:module.hot)!=null&&_.decline)&&(module.hot.decline(),new D("__webpack_hmr").addEventListener("message",function(e){try{let{action:r}=JSON.parse(e.data);r==="built"&&A.location.reload()}catch{}}));const{logger:m}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{useEffect:C,addons:h}=__STORYBOOK_MODULE_PREVIEW_API__;function E(e,r){var n,a;let t;switch(r){case"attributes":case"properties":t={name:((n=e.type)==null?void 0:n.text)||e.type};break;case"slots":t={name:"string"};break;default:t={name:"void"};break}return{name:e.name,required:!1,description:e.description,type:t,table:{category:r,type:{summary:((a=e.type)==null?void 0:a.text)||e.type},defaultValue:{summary:e.default!==void 0?e.default:e.defaultValue}}}}function M(e){let r=e.name.replace(/(-|_|:|\.|\s)+(.)?/g,(t,n,a)=>a?a.toUpperCase():"").replace(/^([A-Z])/,t=>t.toLowerCase());return r=`on${r.charAt(0).toUpperCase()+r.substr(1)}`,[{name:r,action:{name:e.name},table:{disable:!0}},E(e,"events")]}function o(e,r){return e&&e.filter(t=>t&&t.name).reduce((t,n)=>{if(n.kind==="method")return t;switch(r){case"events":M(n).forEach(a=>{b(a.name),t[a.name]=a});break;default:t[n.name]=E(n,r);break}return t},{})}var T=(e,r)=>{if(!c(e)||!f(r))return null;let t=r.tags.find(n=>n.name.toUpperCase()===e.toUpperCase());return t||m.warn(`Component not found in custom-elements.json: ${e}`),t},L=(e,r)=>{var n;if(!c(e)||!f(r))return null;let t;return(n=r==null?void 0:r.modules)==null||n.forEach(a=>{var s;(s=a==null?void 0:a.declarations)==null||s.forEach(i=>{i.tagName===e&&(t=i)})}),t||m.warn(`Component not found in custom-elements.json: ${e}`),t},y=(e,r)=>(r==null?void 0:r.version)==="experimental"?T(e,r):L(e,r),R=(e,r)=>{let t=y(e,r);return t&&{...o(t.members??[],"properties"),...o(t.properties??[],"properties"),...o(t.attributes??[],"attributes"),...o(t.events??[],"events"),...o(t.slots??[],"slots"),...o(t.cssProperties??[],"css custom properties"),...o(t.cssParts??[],"css shadow parts")}},I=e=>{let r=O();return R(e,r)},U=e=>{let r=y(e,O());return r&&r.description},Y=/|/g;function B(e){var n;let r=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,t=e==null?void 0:e.parameters.__isArgsStory;return(r==null?void 0:r.type)===u.DYNAMIC?!1:!t||(r==null?void 0:r.code)||(r==null?void 0:r.type)===u.CODE}function k(e,r){var s,i;let t=e(),n=(i=(s=r==null?void 0:r.parameters.docs)==null?void 0:s.source)!=null&&i.excludeDecorators?r.originalStoryFn(r.args,r):t,a;if(C(()=>{let{id:p,unmappedArgs:g}=r;a&&h.getChannel().emit(S,{id:p,source:a,args:g})}),!B(r)){let p=window.document.createElement("div");n instanceof DocumentFragment?l(n.cloneNode(!0),p):l(n,p),a=p.innerHTML.replace(Y,"")}return t}var W=[k],q={docs:{extractArgTypes:I,extractComponentDescription:U,story:{inline:!0},source:{type:u.DYNAMIC,language:"html"}}},H=[w];export{H as argTypesEnhancers,W as decorators,q as parameters}; diff --git a/rc/assets/floating-button.doc-Boa8lLh_.js b/rc/assets/floating-button.doc-BFIdCaXL.js similarity index 89% rename from rc/assets/floating-button.doc-Boa8lLh_.js rename to rc/assets/floating-button.doc-BFIdCaXL.js index 4934386..c98147d 100644 --- a/rc/assets/floating-button.doc-Boa8lLh_.js +++ b/rc/assets/floating-button.doc-BFIdCaXL.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as r,ah as t}from"./index-CQXi_Y6g.js";import{u as o}from"./index-CkYTJ7Ip.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-_DlOw-Af.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as r,ah as t}from"./index-CMvVeEhu.js";import{u as o}from"./index-C5hQraAl.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-_DlOw-Af.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/floating-button.doc-CpeMm135.js b/rc/assets/floating-button.doc-CpeMm135.js deleted file mode 100644 index e779e7c..0000000 --- a/rc/assets/floating-button.doc-CpeMm135.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as r,ah as t}from"./index-D51CeFyD.js";import{u as o}from"./index-Dvvi2AU9.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-_DlOw-Af.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Floating Action Buttons ajuden a les persones a fer accions principals i -recurrents. S'utilitzen per a representar l'acció m'es important en una -pantalla.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-floating-button"}),` com a classe base. Hi han 3 -mides que s'afegixen amb la classe `,e.jsx(s.strong,{children:"dss-floating-button--(sm | md | lg)"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(s.h3,{id:"mides",children:"Mides"}),` -`,e.jsx("h5",{children:"Nomes amb icona"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h5",{children:"Amb icona i text"}),` -`,e.jsx(t,{of:d})]})}function q(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{q as default}; diff --git a/rc/assets/floating-button.doc-DxtxMZcx.js b/rc/assets/floating-button.doc-DxtxMZcx.js deleted file mode 100644 index b851bc3..0000000 --- a/rc/assets/floating-button.doc-DxtxMZcx.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as r,ah as t}from"./index-Dxx82nxn.js";import{u as o}from"./index-w933pGNw.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-_DlOw-Af.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Floating Action Buttons ajuden a les persones a fer accions principals i -recurrents. S'utilitzen per a representar l'acció m'es important en una -pantalla.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-floating-button"}),` com a classe base. Hi han 3 -mides que s'afegixen amb la classe `,e.jsx(s.strong,{children:"dss-floating-button--(sm | md | lg)"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(s.h3,{id:"mides",children:"Mides"}),` -`,e.jsx("h5",{children:"Nomes amb icona"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h5",{children:"Amb icona i text"}),` -`,e.jsx(t,{of:d})]})}function q(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{q as default}; diff --git a/rc/assets/floating-button.doc-KajDW2xi.js b/rc/assets/floating-button.doc-KajDW2xi.js deleted file mode 100644 index 89c0c6b..0000000 --- a/rc/assets/floating-button.doc-KajDW2xi.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as r,ah as t}from"./index-0DKGoewk.js";import{u as o}from"./index-FamfD7PC.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-BxSwkfGc.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Floating Action Buttons ajuden a les persones a fer accions principals i -recurrents. S'utilitzen per a representar l'acció m'es important en una -pantalla.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-floating-button"}),` com a classe base. Hi han 3 -mides que s'afegixen amb la classe `,e.jsx(s.strong,{children:"dss-floating-button--(sm | md | lg)"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(s.h3,{id:"mides",children:"Mides"}),` -`,e.jsx("h5",{children:"Nomes amb icona"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h5",{children:"Amb icona i text"}),` -`,e.jsx(t,{of:d})]})}function q(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{q as default}; diff --git a/rc/assets/floating-button.doc-yrFwglSr.js b/rc/assets/floating-button.doc-yrFwglSr.js deleted file mode 100644 index b06e767..0000000 --- a/rc/assets/floating-button.doc-yrFwglSr.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as r,ah as t}from"./index-CcF9BsMG.js";import{u as o}from"./index-BlEr_OIe.js";import{S as l,P as c,O as m,I as d}from"./floating-button.stories-BxSwkfGc.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(n){const s={blockquote:"blockquote",h3:"h3",p:"p",strong:"strong",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(i,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Floating Action Buttons ajuden a les persones a fer accions principals i -recurrents. S'utilitzen per a representar l'acció m'es important en una -pantalla.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-floating-button"}),` com a classe base. Hi han 3 -mides que s'afegixen amb la classe `,e.jsx(s.strong,{children:"dss-floating-button--(sm | md | lg)"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(s.h3,{id:"mides",children:"Mides"}),` -`,e.jsx("h5",{children:"Nomes amb icona"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h5",{children:"Amb icona i text"}),` -`,e.jsx(t,{of:d})]})}function q(n={}){const{wrapper:s}={...o(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{q as default}; diff --git a/rc/assets/floating-button.stories-BxSwkfGc.js b/rc/assets/floating-button.stories-BxSwkfGc.js deleted file mode 100644 index 33b35ca..0000000 --- a/rc/assets/floating-button.stories-BxSwkfGc.js +++ /dev/null @@ -1,114 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const _={title:"Components/Floating Button",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},ifText:{name:"Amb text",control:{type:"boolean"}},text:{name:"Text",control:{type:"text"},if:{arg:"ifText"}}},parameters:{layout:"centered"}},s={render:t=>{const f=t.disabled?n``:n``;return n`${f}`},args:{size:"md",disabled:!1,ifText:!1,text:"Floating Button"}},o={tags:["!dev"],render:()=>n` -
- - - - - -
- `},a={tags:["!dev"],render:()=>n` -
- - - - - -
- `};var l,d,i;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ - render: (args: any) => { - const button = args.disabled ? html\`\` : html\`\`; - return html\`\${button}\`; - }, - args: { - size: 'md', - disabled: false, - ifText: false, - text: 'Floating Button' - } -}`,...(i=(d=s.parameters)==null?void 0:d.docs)==null?void 0:i.source}}};var e,u,b;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - -
- \`; - } -}`,...(b=(u=o.parameters)==null?void 0:u.docs)==null?void 0:b.source}}};var r,c,g;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - -
- \`; - } -}`,...(g=(c=a.parameters)==null?void 0:c.docs)==null?void 0:g.source}}};const m=["Playground","OnlyIcon","IconText"],x=Object.freeze(Object.defineProperty({__proto__:null,IconText:a,OnlyIcon:o,Playground:s,__namedExportsOrder:m,default:_},Symbol.toStringTag,{value:"Module"}));export{a as I,o as O,s as P,x as S}; diff --git a/rc/assets/footer.doc-oLTAF4o7.js b/rc/assets/footer.doc-BoEDmlDY.js similarity index 92% rename from rc/assets/footer.doc-oLTAF4o7.js rename to rc/assets/footer.doc-BoEDmlDY.js index ffda389..30fdab8 100644 --- a/rc/assets/footer.doc-oLTAF4o7.js +++ b/rc/assets/footer.doc-BoEDmlDY.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as a,ah as d}from"./index-D51CeFyD.js";import{u as n}from"./index-Dvvi2AU9.js";import{S as o,P as l}from"./footer.stories-DP7238oa.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(r){const t={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:o}),` +import{ae as e,af as i,ag as a,ah as d}from"./index-CMvVeEhu.js";import{u as n}from"./index-C5hQraAl.js";import{S as o,P as l}from"./footer.stories-DP7238oa.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(r){const t={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:o}),` `,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-footer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` `,e.jsx(t.p,{children:`El Footer és un component senzill, net i directe, el qual mostra informació útil per a l'usuari que no s'ha pogut mostrar a la capçalera. Per crear un diff --git a/rc/assets/footer.doc-CJ6HZFhd.js b/rc/assets/footer.doc-CJ6HZFhd.js deleted file mode 100644 index d6694b8..0000000 --- a/rc/assets/footer.doc-CJ6HZFhd.js +++ /dev/null @@ -1,56 +0,0 @@ -import{ae as e,af as i,ag as a,ak as l,ah as s}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as c,P as d,M as m}from"./footer.stories-DGF-6pqR.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(o){const n={code:"code",em:"em",p:"p",strong:"strong",...r(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .device-mobile-wrapper { - width: 340px - } - - .device-mobile-wrapper .dss-footer__container { - flex-direction: column; - padding: 24px; - } - - .device-mobile-wrapper .dss-footer__logo-content { - margin-bottom: 24px; - } - - .device-mobile-wrapper .dss-footer__content { - justify-content: center; - } - - .device-mobile-wrapper .dss-footer__link-content { - flex-direction: column; - align-items: center; - gap: 16px; - margin: 0; - } - - .device-mobile-wrapper span { - display: none !important; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Footer és un component senzill, net i directe, el qual mostra informació -útil per a l'usuari que no s'ha pogut mostrar a la capçalera. Per crear un -footer utilitzarem la següent estructura:`}),` -`,e.jsx(l,{code:``}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Example escriptori i tablet"}),` -`,e.jsx(n.p,{children:"Això és un exemple de com es veurà en escriptori i en tablet devices."}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h3",{children:"Example mòbil"}),` -`,e.jsx(n.p,{children:"Això és un exemple de com es veurà en mòbil."}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(n.code,{children:"device-mobile-wrapper"}),` es fa servir només per -mostrar l'exemple de com es veurà en mòbil.`]})}),` -`,e.jsx(s,{of:m})]})}function b(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{b as default}; diff --git a/rc/assets/footer.doc-CMODuYMT.js b/rc/assets/footer.doc-CMODuYMT.js deleted file mode 100644 index 1c98d3e..0000000 --- a/rc/assets/footer.doc-CMODuYMT.js +++ /dev/null @@ -1,12 +0,0 @@ -import{ae as e,af as i,ag as a,ah as d}from"./index-CQXi_Y6g.js";import{u as n}from"./index-CkYTJ7Ip.js";import{S as o,P as l}from"./footer.stories-DP7238oa.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(r){const t={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-footer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El Footer és un component senzill, net i directe, el qual mostra informació -útil per a l'usuari que no s'ha pogut mostrar a la capçalera. Per crear un -footer utilitzarem la següent estructura:`}),` -`,e.jsxs(t.p,{children:["Cal tenir en compte que el ",e.jsx(t.code,{children:"dss-footer"})," s'amaga en pantalles iguals o menors a 808 píxels, per raons estrictament de diseny i usabilitat."]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(d,{of:l}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"logo"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"description"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Descripció del footer."})]})]})]})]})}function b(r={}){const{wrapper:t}={...n(),...r.components};return t?e.jsx(t,{...r,children:e.jsx(s,{...r})}):s(r)}export{b as default}; diff --git a/rc/assets/footer.doc-DLZCVSpn.js b/rc/assets/footer.doc-DLZCVSpn.js deleted file mode 100644 index 0336d61..0000000 --- a/rc/assets/footer.doc-DLZCVSpn.js +++ /dev/null @@ -1,56 +0,0 @@ -import{ae as e,af as i,ag as a,ak as l,ah as s}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as c,P as d,M as m}from"./footer.stories-DGF-6pqR.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(o){const n={code:"code",em:"em",p:"p",strong:"strong",...r(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .device-mobile-wrapper { - width: 340px - } - - .device-mobile-wrapper .dss-footer__container { - flex-direction: column; - padding: 24px; - } - - .device-mobile-wrapper .dss-footer__logo-content { - margin-bottom: 24px; - } - - .device-mobile-wrapper .dss-footer__content { - justify-content: center; - } - - .device-mobile-wrapper .dss-footer__link-content { - flex-direction: column; - align-items: center; - gap: 16px; - margin: 0; - } - - .device-mobile-wrapper span { - display: none !important; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Footer és un component senzill, net i directe, el qual mostra informació -útil per a l'usuari que no s'ha pogut mostrar a la capçalera. Per crear un -footer utilitzarem la següent estructura:`}),` -`,e.jsx(l,{code:``}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Example escriptori i tablet"}),` -`,e.jsx(n.p,{children:"Això és un exemple de com es veurà en escriptori i en tablet devices."}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h3",{children:"Example mòbil"}),` -`,e.jsx(n.p,{children:"Això és un exemple de com es veurà en mòbil."}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(n.code,{children:"device-mobile-wrapper"}),` es fa servir només per -mostrar l'exemple de com es veurà en mòbil.`]})}),` -`,e.jsx(s,{of:m})]})}function b(o={}){const{wrapper:n}={...r(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(t,{...o})}):t(o)}export{b as default}; diff --git a/rc/assets/footer.doc-DzY72jVz.js b/rc/assets/footer.doc-DzY72jVz.js deleted file mode 100644 index 7711a86..0000000 --- a/rc/assets/footer.doc-DzY72jVz.js +++ /dev/null @@ -1,12 +0,0 @@ -import{ae as e,af as i,ag as a,ah as d}from"./index-Dxx82nxn.js";import{u as n}from"./index-w933pGNw.js";import{S as o,P as l}from"./footer.stories-DP7238oa.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(r){const t={blockquote:"blockquote",code:"code",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-footer",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(t.p,{children:`El Footer és un component senzill, net i directe, el qual mostra informació -útil per a l'usuari que no s'ha pogut mostrar a la capçalera. Per crear un -footer utilitzarem la següent estructura:`}),` -`,e.jsxs(t.p,{children:["Cal tenir en compte que el ",e.jsx(t.code,{children:"dss-footer"})," s'amaga en pantalles iguals o menors a 808 píxels, per raons estrictament de diseny i usabilitat."]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(d,{of:l}),` -`,e.jsx(t.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Name"}),e.jsx(t.th,{children:"Àmbit"}),e.jsx(t.th,{children:"Condition"}),e.jsx(t.th,{children:"Type"}),e.jsx(t.th,{children:"Default"}),e.jsx(t.th,{children:"Description"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"logo"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"description"})}),e.jsx(t.td,{children:"Input"}),e.jsx(t.td,{children:"Requerida"}),e.jsx(t.td,{children:"string"}),e.jsx(t.td,{children:"-"}),e.jsx(t.td,{children:"Descripció del footer."})]})]})]})]})}function b(r={}){const{wrapper:t}={...n(),...r.components};return t?e.jsx(t,{...r,children:e.jsx(s,{...r})}):s(r)}export{b as default}; diff --git a/rc/assets/footer.stories-DGF-6pqR.js b/rc/assets/footer.stories-DGF-6pqR.js deleted file mode 100644 index 646c6de..0000000 --- a/rc/assets/footer.stories-DGF-6pqR.js +++ /dev/null @@ -1,79 +0,0 @@ -import{x as d}from"./lit-html-paDGiEfB.js";const c={title:"Components/Footer",argTypes:{},parameters:{layout:"centered"}},s={tags:["!dev"],render:()=>d` - - `},e={tags:["!dev"],render:()=>d` -
- -
- `};var n,o,t;s.parameters={...s.parameters,docs:{...(n=s.parameters)==null?void 0:n.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(t=(o=s.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};var a,r,i;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(i=(r=e.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const l=["Playground","Mobile"],v=Object.freeze(Object.defineProperty({__proto__:null,Mobile:e,Playground:s,__namedExportsOrder:l,default:c},Symbol.toStringTag,{value:"Module"}));export{e as M,s as P,v as S}; diff --git a/rc/assets/grid.doc-Bk3Gm5XW.js b/rc/assets/grid.doc-Bk3Gm5XW.js deleted file mode 100644 index 8258199..0000000 --- a/rc/assets/grid.doc-Bk3Gm5XW.js +++ /dev/null @@ -1,100 +0,0 @@ -import{ae as s,af as r}from"./index-0DKGoewk.js";import{u as n}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .dss-grid { - background-color: rgb(245,245,245); - align-items: center; - } - .dss-grid > div{ - width: 100%; - height: 50px; - background-color: rgba(216,216,216,.5); - display: flex; - align-items:center; - justify-content: center; - } - - .innerZoomElementWrapper, .innerZoomElementWrapper > div{ - display: block !important; - } - - .description{ - font-size: 0.75rem; - opacity: 0.7; - } - - .description > code { - background-color: rgb(245,245,245); - padding: 5px; - } - `}),` -`,s.jsx(r,{title:"Foundations/Grid",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"grid",children:"Grid"}),` -`,s.jsxs(d.blockquote,{children:[` -`,s.jsx(d.p,{children:"Important: Aquesta documentació està pendent dactualització."}),` -`]}),` -`,s.jsx(d.p,{children:`La maquetació ajuda a tenir una plantilla estructural que admet la coherència -entre les aplicacions mitjançant la definició de quadrícules visuals, espaiat -i punts d'interrupció.`}),` -`,s.jsx(d.p,{children:`Dissenyar amb una bona distribució de columnes ajuda a crear experiències -d’usuari fluides i fàcils de seguir.`}),` -`,s.jsxs(d.p,{children:["_",s.jsx(d.strong,{children:"Nota:"}),` tots els exemples que es mostren a continuació, tenen el contengut -centrat i amb colors de fons per a la documentació. _`]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(d.ul,{children:[` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"grid-per-defecte",children:"Grid per defecte"})}),` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"#grid-segons-resoluci%C3%B3",children:"Grid segons resolució"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-per-defecte",children:"Grid per defecte"}),` -`,s.jsxs(d.p,{children:["Si no s'especifica res, el grid es de 12 col·lumnes, ",s.jsx(d.code,{children:"grid-template-columns: repeat(12, 1fr);"}),`. Si no s'especifica, sempre es 12 col·lumnes siga quina siga -la resolució.`]}),` -`,s.jsxs("div",{class:"dss-grid",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsxs(d.p,{children:[`Podem indicar el nº de co·lumnes que s'aplicará a totes les resolucions, en -aquest exemple, serà 3 i per tant s'aplica la propietat -`,s.jsx(d.code,{children:"grid-template-columns: repeat(3, minmax(0, 1fr));"}),"."]}),` -`,s.jsx("br",{}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 3 columnes, sense resolució definida: ",s.jsx("code",{children:"dss-grid__cols-3"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-3",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-segons-resolució",children:"Grid segons resolució"}),` -`,s.jsx(d.p,{children:"Hi han 4 punts d'interrupció:"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Mida"}),s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"@media screen"}),s.jsx("th",{children:"Columnes"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"Mòbils (small)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 320px;"}),s.jsx("td",{children:"4"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Tablets (medium)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 768px;"}),s.jsx("td",{children:"8"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador (lg)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:s.jsxs(d.p,{children:["min-width: 768px;",s.jsx("br",{}),` -max-width: 1280px;`]})}),s.jsx("td",{children:"12"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador gran (xl)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"min-width: 1280px;"}),s.jsx("td",{children:"12"})]})]})]}),` -`,s.jsx(d.p,{children:`Aquestes classes es poden combinar amb el grid per defecte. Aquelles -resolucions que no estiguen definides es comportarán com el grid per defecte.`}),` -`,s.jsx(d.p,{children:s.jsxs(d.em,{children:[s.jsx(d.strong,{children:"Nota:"}),` per a visualitzar el resultat dels grids d'aquesta secció, només es -pot amb el dispositiu correcte o amb el inspeccionador del navegador.`]})}),` -`,s.jsx("p",{class:"description",children:s.jsx(d.p,{children:"Ejemple complet amb totes les resolucions:"})}),` -`,s.jsxs("ul",{class:"description",children:[s.jsx("li",{children:s.jsxs("small",{children:["Per defecte, 6 columnes ",s.jsx("code",{children:"dss-grid__cols-6"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador gran, 5 columnes ",s.jsx("code",{children:"dss-grid__cols--xl-5"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador normal, 4 columnes ",s.jsx("code",{children:"dss-grid__cols--lg-4"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Tablet, 3 columnes ",s.jsx("code",{children:"dss-grid__cols--md-3"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Mòbil, 2 columnes ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]})})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-6 dss-grid__cols--xl-5 dss-grid__cols--lg-4 dss-grid__cols--md-3 dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"mòbil",children:"Mòbil"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(4, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 2 columnes: ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"tablet",children:"Tablet"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(8, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--md-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--md-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador",children:"Ordinador"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 6 columnes: ",s.jsx("code",{children:"dss-grid__cols--lg-6"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--lg-6",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador-gran",children:"Ordinador gran"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--xl-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--xl-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]})]})}function m(e={}){const{wrapper:d}={...n(),...e.components};return d?s.jsx(d,{...e,children:s.jsx(i,{...e})}):i(e)}export{m as default}; diff --git a/rc/assets/grid.doc-CJnhZzOE.js b/rc/assets/grid.doc-CJnhZzOE.js deleted file mode 100644 index 6d7919b..0000000 --- a/rc/assets/grid.doc-CJnhZzOE.js +++ /dev/null @@ -1,100 +0,0 @@ -import{ae as s,af as r}from"./index-Dxx82nxn.js";import{u as n}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .dss-grid { - background-color: rgb(245,245,245); - align-items: center; - } - .dss-grid > div{ - width: 100%; - height: 50px; - background-color: rgba(216,216,216,.5); - display: flex; - align-items:center; - justify-content: center; - } - - .innerZoomElementWrapper, .innerZoomElementWrapper > div{ - display: block !important; - } - - .description{ - font-size: 0.75rem; - opacity: 0.7; - } - - .description > code { - background-color: rgb(245,245,245); - padding: 5px; - } - `}),` -`,s.jsx(r,{title:"Foundations/Grid",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"grid",children:"Grid"}),` -`,s.jsxs(d.blockquote,{children:[` -`,s.jsx(d.p,{children:"Important: Aquesta documentació està pendent dactualització."}),` -`]}),` -`,s.jsx(d.p,{children:`La maquetació ajuda a tenir una plantilla estructural que admet la coherència -entre les aplicacions mitjançant la definició de quadrícules visuals, espaiat -i punts d'interrupció.`}),` -`,s.jsx(d.p,{children:`Dissenyar amb una bona distribució de columnes ajuda a crear experiències -d’usuari fluides i fàcils de seguir.`}),` -`,s.jsxs(d.p,{children:["_",s.jsx(d.strong,{children:"Nota:"}),` tots els exemples que es mostren a continuació, tenen el contengut -centrat i amb colors de fons per a la documentació. _`]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(d.ul,{children:[` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"grid-per-defecte",children:"Grid per defecte"})}),` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"#grid-segons-resoluci%C3%B3",children:"Grid segons resolució"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-per-defecte",children:"Grid per defecte"}),` -`,s.jsxs(d.p,{children:["Si no s'especifica res, el grid es de 12 col·lumnes, ",s.jsx(d.code,{children:"grid-template-columns: repeat(12, 1fr);"}),`. Si no s'especifica, sempre es 12 col·lumnes siga quina siga -la resolució.`]}),` -`,s.jsxs("div",{class:"dss-grid",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsxs(d.p,{children:[`Podem indicar el nº de co·lumnes que s'aplicará a totes les resolucions, en -aquest exemple, serà 3 i per tant s'aplica la propietat -`,s.jsx(d.code,{children:"grid-template-columns: repeat(3, minmax(0, 1fr));"}),"."]}),` -`,s.jsx("br",{}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 3 columnes, sense resolució definida: ",s.jsx("code",{children:"dss-grid__cols-3"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-3",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-segons-resolució",children:"Grid segons resolució"}),` -`,s.jsx(d.p,{children:"Hi han 4 punts d'interrupció:"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Mida"}),s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"@media screen"}),s.jsx("th",{children:"Columnes"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"Mòbils (small)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 320px;"}),s.jsx("td",{children:"4"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Tablets (medium)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 768px;"}),s.jsx("td",{children:"8"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador (lg)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:s.jsxs(d.p,{children:["min-width: 768px;",s.jsx("br",{}),` -max-width: 1280px;`]})}),s.jsx("td",{children:"12"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador gran (xl)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"min-width: 1280px;"}),s.jsx("td",{children:"12"})]})]})]}),` -`,s.jsx(d.p,{children:`Aquestes classes es poden combinar amb el grid per defecte. Aquelles -resolucions que no estiguen definides es comportarán com el grid per defecte.`}),` -`,s.jsx(d.p,{children:s.jsxs(d.em,{children:[s.jsx(d.strong,{children:"Nota:"}),` per a visualitzar el resultat dels grids d'aquesta secció, només es -pot amb el dispositiu correcte o amb el inspeccionador del navegador.`]})}),` -`,s.jsx("p",{class:"description",children:s.jsx(d.p,{children:"Ejemple complet amb totes les resolucions:"})}),` -`,s.jsxs("ul",{class:"description",children:[s.jsx("li",{children:s.jsxs("small",{children:["Per defecte, 6 columnes ",s.jsx("code",{children:"dss-grid__cols-6"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador gran, 5 columnes ",s.jsx("code",{children:"dss-grid__cols--xl-5"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador normal, 4 columnes ",s.jsx("code",{children:"dss-grid__cols--lg-4"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Tablet, 3 columnes ",s.jsx("code",{children:"dss-grid__cols--md-3"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Mòbil, 2 columnes ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]})})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-6 dss-grid__cols--xl-5 dss-grid__cols--lg-4 dss-grid__cols--md-3 dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"mòbil",children:"Mòbil"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(4, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 2 columnes: ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"tablet",children:"Tablet"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(8, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--md-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--md-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador",children:"Ordinador"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 6 columnes: ",s.jsx("code",{children:"dss-grid__cols--lg-6"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--lg-6",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador-gran",children:"Ordinador gran"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--xl-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--xl-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]})]})}function m(e={}){const{wrapper:d}={...n(),...e.components};return d?s.jsx(d,{...e,children:s.jsx(i,{...e})}):i(e)}export{m as default}; diff --git a/rc/assets/grid.doc-CVfVABh6.js b/rc/assets/grid.doc-CVfVABh6.js deleted file mode 100644 index 8b5da12..0000000 --- a/rc/assets/grid.doc-CVfVABh6.js +++ /dev/null @@ -1,100 +0,0 @@ -import{ae as s,af as r}from"./index-CQXi_Y6g.js";import{u as n}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .dss-grid { - background-color: rgb(245,245,245); - align-items: center; - } - .dss-grid > div{ - width: 100%; - height: 50px; - background-color: rgba(216,216,216,.5); - display: flex; - align-items:center; - justify-content: center; - } - - .innerZoomElementWrapper, .innerZoomElementWrapper > div{ - display: block !important; - } - - .description{ - font-size: 0.75rem; - opacity: 0.7; - } - - .description > code { - background-color: rgb(245,245,245); - padding: 5px; - } - `}),` -`,s.jsx(r,{title:"Foundations/Grid",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"grid",children:"Grid"}),` -`,s.jsxs(d.blockquote,{children:[` -`,s.jsx(d.p,{children:"Important: Aquesta documentació està pendent dactualització."}),` -`]}),` -`,s.jsx(d.p,{children:`La maquetació ajuda a tenir una plantilla estructural que admet la coherència -entre les aplicacions mitjançant la definició de quadrícules visuals, espaiat -i punts d'interrupció.`}),` -`,s.jsx(d.p,{children:`Dissenyar amb una bona distribució de columnes ajuda a crear experiències -d’usuari fluides i fàcils de seguir.`}),` -`,s.jsxs(d.p,{children:["_",s.jsx(d.strong,{children:"Nota:"}),` tots els exemples que es mostren a continuació, tenen el contengut -centrat i amb colors de fons per a la documentació. _`]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(d.ul,{children:[` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"grid-per-defecte",children:"Grid per defecte"})}),` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"#grid-segons-resoluci%C3%B3",children:"Grid segons resolució"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-per-defecte",children:"Grid per defecte"}),` -`,s.jsxs(d.p,{children:["Si no s'especifica res, el grid es de 12 col·lumnes, ",s.jsx(d.code,{children:"grid-template-columns: repeat(12, 1fr);"}),`. Si no s'especifica, sempre es 12 col·lumnes siga quina siga -la resolució.`]}),` -`,s.jsxs("div",{class:"dss-grid",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsxs(d.p,{children:[`Podem indicar el nº de co·lumnes que s'aplicará a totes les resolucions, en -aquest exemple, serà 3 i per tant s'aplica la propietat -`,s.jsx(d.code,{children:"grid-template-columns: repeat(3, minmax(0, 1fr));"}),"."]}),` -`,s.jsx("br",{}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 3 columnes, sense resolució definida: ",s.jsx("code",{children:"dss-grid__cols-3"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-3",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-segons-resolució",children:"Grid segons resolució"}),` -`,s.jsx(d.p,{children:"Hi han 4 punts d'interrupció:"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Mida"}),s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"@media screen"}),s.jsx("th",{children:"Columnes"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"Mòbils (small)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 320px;"}),s.jsx("td",{children:"4"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Tablets (medium)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 768px;"}),s.jsx("td",{children:"8"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador (lg)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:s.jsxs(d.p,{children:["min-width: 768px;",s.jsx("br",{}),` -max-width: 1280px;`]})}),s.jsx("td",{children:"12"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador gran (xl)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"min-width: 1280px;"}),s.jsx("td",{children:"12"})]})]})]}),` -`,s.jsx(d.p,{children:`Aquestes classes es poden combinar amb el grid per defecte. Aquelles -resolucions que no estiguen definides es comportarán com el grid per defecte.`}),` -`,s.jsx(d.p,{children:s.jsxs(d.em,{children:[s.jsx(d.strong,{children:"Nota:"}),` per a visualitzar el resultat dels grids d'aquesta secció, només es -pot amb el dispositiu correcte o amb el inspeccionador del navegador.`]})}),` -`,s.jsx("p",{class:"description",children:s.jsx(d.p,{children:"Ejemple complet amb totes les resolucions:"})}),` -`,s.jsxs("ul",{class:"description",children:[s.jsx("li",{children:s.jsxs("small",{children:["Per defecte, 6 columnes ",s.jsx("code",{children:"dss-grid__cols-6"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador gran, 5 columnes ",s.jsx("code",{children:"dss-grid__cols--xl-5"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador normal, 4 columnes ",s.jsx("code",{children:"dss-grid__cols--lg-4"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Tablet, 3 columnes ",s.jsx("code",{children:"dss-grid__cols--md-3"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Mòbil, 2 columnes ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]})})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-6 dss-grid__cols--xl-5 dss-grid__cols--lg-4 dss-grid__cols--md-3 dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"mòbil",children:"Mòbil"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(4, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 2 columnes: ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"tablet",children:"Tablet"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(8, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--md-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--md-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador",children:"Ordinador"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 6 columnes: ",s.jsx("code",{children:"dss-grid__cols--lg-6"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--lg-6",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador-gran",children:"Ordinador gran"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--xl-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--xl-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]})]})}function m(e={}){const{wrapper:d}={...n(),...e.components};return d?s.jsx(d,{...e,children:s.jsx(i,{...e})}):i(e)}export{m as default}; diff --git a/rc/assets/grid.doc-BeyrNb-D.js b/rc/assets/grid.doc-D1OISHee.js similarity index 98% rename from rc/assets/grid.doc-BeyrNb-D.js rename to rc/assets/grid.doc-D1OISHee.js index 180dba1..a029fcf 100644 --- a/rc/assets/grid.doc-BeyrNb-D.js +++ b/rc/assets/grid.doc-D1OISHee.js @@ -1,4 +1,4 @@ -import{ae as s,af as r}from"./index-D51CeFyD.js";import{u as n}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` +import{ae as s,af as r}from"./index-CMvVeEhu.js";import{u as n}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` .dss-grid { background-color: rgb(245,245,245); align-items: center; diff --git a/rc/assets/grid.doc-DApx7ghI.js b/rc/assets/grid.doc-DApx7ghI.js deleted file mode 100644 index 0d42ff4..0000000 --- a/rc/assets/grid.doc-DApx7ghI.js +++ /dev/null @@ -1,100 +0,0 @@ -import{ae as s,af as r}from"./index-CcF9BsMG.js";import{u as n}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(e){const d={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .dss-grid { - background-color: rgb(245,245,245); - align-items: center; - } - .dss-grid > div{ - width: 100%; - height: 50px; - background-color: rgba(216,216,216,.5); - display: flex; - align-items:center; - justify-content: center; - } - - .innerZoomElementWrapper, .innerZoomElementWrapper > div{ - display: block !important; - } - - .description{ - font-size: 0.75rem; - opacity: 0.7; - } - - .description > code { - background-color: rgb(245,245,245); - padding: 5px; - } - `}),` -`,s.jsx(r,{title:"Foundations/Grid",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"grid",children:"Grid"}),` -`,s.jsxs(d.blockquote,{children:[` -`,s.jsx(d.p,{children:"Important: Aquesta documentació està pendent dactualització."}),` -`]}),` -`,s.jsx(d.p,{children:`La maquetació ajuda a tenir una plantilla estructural que admet la coherència -entre les aplicacions mitjançant la definició de quadrícules visuals, espaiat -i punts d'interrupció.`}),` -`,s.jsx(d.p,{children:`Dissenyar amb una bona distribució de columnes ajuda a crear experiències -d’usuari fluides i fàcils de seguir.`}),` -`,s.jsxs(d.p,{children:["_",s.jsx(d.strong,{children:"Nota:"}),` tots els exemples que es mostren a continuació, tenen el contengut -centrat i amb colors de fons per a la documentació. _`]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,s.jsxs(d.ul,{children:[` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"grid-per-defecte",children:"Grid per defecte"})}),` -`,s.jsx(d.li,{children:s.jsx(d.a,{href:"#grid-segons-resoluci%C3%B3",children:"Grid segons resolució"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-per-defecte",children:"Grid per defecte"}),` -`,s.jsxs(d.p,{children:["Si no s'especifica res, el grid es de 12 col·lumnes, ",s.jsx(d.code,{children:"grid-template-columns: repeat(12, 1fr);"}),`. Si no s'especifica, sempre es 12 col·lumnes siga quina siga -la resolució.`]}),` -`,s.jsxs("div",{class:"dss-grid",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsxs(d.p,{children:[`Podem indicar el nº de co·lumnes que s'aplicará a totes les resolucions, en -aquest exemple, serà 3 i per tant s'aplica la propietat -`,s.jsx(d.code,{children:"grid-template-columns: repeat(3, minmax(0, 1fr));"}),"."]}),` -`,s.jsx("br",{}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 3 columnes, sense resolució definida: ",s.jsx("code",{children:"dss-grid__cols-3"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-3",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h3,{id:"grid-segons-resolució",children:"Grid segons resolució"}),` -`,s.jsx(d.p,{children:"Hi han 4 punts d'interrupció:"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Mida"}),s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"@media screen"}),s.jsx("th",{children:"Columnes"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"Mòbils (small)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 320px;"}),s.jsx("td",{children:"4"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Tablets (medium)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"max-width: 768px;"}),s.jsx("td",{children:"8"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador (lg)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:s.jsxs(d.p,{children:["min-width: 768px;",s.jsx("br",{}),` -max-width: 1280px;`]})}),s.jsx("td",{children:"12"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"Ordinador gran (xl)"}),s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"min-width: 1280px;"}),s.jsx("td",{children:"12"})]})]})]}),` -`,s.jsx(d.p,{children:`Aquestes classes es poden combinar amb el grid per defecte. Aquelles -resolucions que no estiguen definides es comportarán com el grid per defecte.`}),` -`,s.jsx(d.p,{children:s.jsxs(d.em,{children:[s.jsx(d.strong,{children:"Nota:"}),` per a visualitzar el resultat dels grids d'aquesta secció, només es -pot amb el dispositiu correcte o amb el inspeccionador del navegador.`]})}),` -`,s.jsx("p",{class:"description",children:s.jsx(d.p,{children:"Ejemple complet amb totes les resolucions:"})}),` -`,s.jsxs("ul",{class:"description",children:[s.jsx("li",{children:s.jsxs("small",{children:["Per defecte, 6 columnes ",s.jsx("code",{children:"dss-grid__cols-6"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador gran, 5 columnes ",s.jsx("code",{children:"dss-grid__cols--xl-5"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Ordinador normal, 4 columnes ",s.jsx("code",{children:"dss-grid__cols--lg-4"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Tablet, 3 columnes ",s.jsx("code",{children:"dss-grid__cols--md-3"})]})}),s.jsx("li",{children:s.jsxs("small",{children:["Mòbil, 2 columnes ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]})})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols-6 dss-grid__cols--xl-5 dss-grid__cols--lg-4 dss-grid__cols--md-3 dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"mòbil",children:"Mòbil"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(4, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--sm-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 2 columnes: ",s.jsx("code",{children:"dss-grid__cols--sm-2"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--sm-2",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"tablet",children:"Tablet"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(8, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--md-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--md-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--md-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador",children:"Ordinador"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--lg-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 6 columnes: ",s.jsx("code",{children:"dss-grid__cols--lg-6"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--lg-6",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h4,{id:"ordinador-gran",children:"Ordinador gran"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietats"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid"})}),s.jsx("td",{children:"grid-template-columns: repeat(12, 1fr);"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-grid__cols--xl-(nº col·lumnes)"})}),s.jsx("td",{children:"grid-template-columns: repeat((nº col·lumnes), minmax(0, 1fr));"})]})]})]}),` -`,s.jsx("br",{}),` -`,s.jsx("h6",{children:"Exemple"}),` -`,s.jsxs("p",{class:"description",children:["Ejemple de 4 columnes: ",s.jsx("code",{children:"dss-grid__cols--xl-4"})]}),` -`,s.jsxs("div",{class:"dss-grid dss-grid__cols--xl-4",children:[s.jsx("div",{children:"1"}),s.jsx("div",{children:"2"}),s.jsx("div",{children:"3"}),s.jsx("div",{children:"4"}),s.jsx("div",{children:"5"}),s.jsx("div",{children:"6"}),s.jsx("div",{children:"7"}),s.jsx("div",{children:"8"}),s.jsx("div",{children:"9"}),s.jsx("div",{children:"10"}),s.jsx("div",{children:"11"}),s.jsx("div",{children:"12"})]})]})}function m(e={}){const{wrapper:d}={...n(),...e.components};return d?s.jsx(d,{...e,children:s.jsx(i,{...e})}):i(e)}export{m as default}; diff --git a/rc/assets/header-links.doc-68JhqIXe.js b/rc/assets/header-links.doc-BnPqmTCH.js similarity index 96% rename from rc/assets/header-links.doc-68JhqIXe.js rename to rc/assets/header-links.doc-BnPqmTCH.js index c885118..367b319 100644 --- a/rc/assets/header-links.doc-68JhqIXe.js +++ b/rc/assets/header-links.doc-BnPqmTCH.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as c,P as x}from"./header-links.stories-fkmAZVPb.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as c,P as x}from"./header-links.stories-fkmAZVPb.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display: flex; justify-content: center; diff --git a/rc/assets/header-links.doc-CumAz-Ve.js b/rc/assets/header-links.doc-CumAz-Ve.js deleted file mode 100644 index ae9f6e7..0000000 --- a/rc/assets/header-links.doc-CumAz-Ve.js +++ /dev/null @@ -1,28 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as c,P as x}from"./header-links.stories-Bn9PaYrj.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-header-links",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(h,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-header-links",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Ajuda'"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Llista d'elements que es mostraran dins del component."})]})]})]}),` -`,e.jsx(n.h4,{id:"items",children:"Items"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Muestra el enlace como deshabilitado."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-header-links-1",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickLink"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en algun dels elements."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onHelp"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en l'element d'ajuda."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function y(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/header-links.doc-DWFhF2Bu.js b/rc/assets/header-links.doc-DWFhF2Bu.js deleted file mode 100644 index 3374e81..0000000 --- a/rc/assets/header-links.doc-DWFhF2Bu.js +++ /dev/null @@ -1,28 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as c,P as x}from"./header-links.stories-fkmAZVPb.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-header-links",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(h,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-header-links",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Ajuda'"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Llista d'elements que es mostraran dins del component."})]})]})]}),` -`,e.jsx(n.h4,{id:"items",children:"Items"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Muestra el enlace como deshabilitado."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-header-links-1",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickLink"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en algun dels elements."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onHelp"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en l'element d'ajuda."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function y(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/header-links.doc-DoeGyoLn.js b/rc/assets/header-links.doc-DoeGyoLn.js deleted file mode 100644 index f3d0dd0..0000000 --- a/rc/assets/header-links.doc-DoeGyoLn.js +++ /dev/null @@ -1,28 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as c,P as x}from"./header-links.stories-Bn9PaYrj.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-header-links",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(h,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-header-links",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Ajuda'"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Llista d'elements que es mostraran dins del component."})]})]})]}),` -`,e.jsx(n.h4,{id:"items",children:"Items"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Muestra el enlace como deshabilitado."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-header-links-1",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickLink"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en algun dels elements."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onHelp"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en l'element d'ajuda."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function y(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/header-links.doc-h3kARRz9.js b/rc/assets/header-links.doc-h3kARRz9.js deleted file mode 100644 index 8953c32..0000000 --- a/rc/assets/header-links.doc-h3kARRz9.js +++ /dev/null @@ -1,28 +0,0 @@ -import{ae as e,af as i,ag as l,ah as r,ai as h}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as c,P as x}from"./header-links.stories-fkmAZVPb.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-header-links",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(h,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-header-links",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Ajuda'"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableHelp"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita enllaç d'ajuda."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Llista d'elements que es mostraran dins del component."})]})]})]}),` -`,e.jsx(n.h4,{id:"items",children:"Items"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona que es mostra dins del enllaç."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Muestra el enlace como deshabilitado."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-header-links-1",children:"dss-header-links"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickLink"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en algun dels elements."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onHelp"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en l'element d'ajuda."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function y(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/header-links.stories-Bn9PaYrj.js b/rc/assets/header-links.stories-Bn9PaYrj.js deleted file mode 100644 index d292e8c..0000000 --- a/rc/assets/header-links.stories-Bn9PaYrj.js +++ /dev/null @@ -1,37 +0,0 @@ -import{x as i}from"./lit-html-paDGiEfB.js";const t={title:"Components/Header Links",argTypes:{numElements:{name:"Quantitat d'elements",control:{type:"number",min:1,max:3}},hideHelp:{name:"Amaga enllaç Ajuda",control:{type:"boolean"}},helpLabel:{name:"Text enllaç Ajuda ",if:{arg:"hideHelp",eq:!1}},disableHelp:{name:"Deshabil·litar enllaç Ajuda",control:{type:"boolean"},if:{arg:"hideHelp",eq:!1}}},parameters:{layout:"centered"}},e={args:{numElements:1,helpLabel:"Ajuda",hideHelp:!1,disableHelp:!1},render:n=>{const l=[{label:"Finalizar visita",icon:"door_front"}];return Array.from({length:n.numElements-1},()=>{l.push({label:"Link",icon:"add_box"})}),i` - - `}};var a,s,r;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - numElements: 1, - helpLabel: 'Ajuda', - hideHelp: false, - disableHelp: false - }, - render: (args: any) => { - const links = [{ - label: 'Finalizar visita', - icon: 'door_front' - }]; - Array.from({ - length: args.numElements - 1 - }, () => { - links.push({ - label: 'Link', - icon: 'add_box' - }); - }); - return html\` - - \`; - } -}`,...(r=(s=e.parameters)==null?void 0:s.docs)==null?void 0:r.source}}};const o=["Playground"],p=Object.freeze(Object.defineProperty({__proto__:null,Playground:e,__namedExportsOrder:o,default:t},Symbol.toStringTag,{value:"Module"}));export{e as P,p as S}; diff --git a/rc/assets/header-menu-patient.doc-DQDlLZRa.js b/rc/assets/header-menu-patient.doc-61ijBoYJ.js similarity index 96% rename from rc/assets/header-menu-patient.doc-DQDlLZRa.js rename to rc/assets/header-menu-patient.doc-61ijBoYJ.js index 00b6d39..e0b2864 100644 --- a/rc/assets/header-menu-patient.doc-DQDlLZRa.js +++ b/rc/assets/header-menu-patient.doc-61ijBoYJ.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as h,P as x}from"./header-menu-patient.stories-e9mTmUkC.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as h,P as x}from"./header-menu-patient.stories-e9mTmUkC.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display: flex; justify-content: center; diff --git a/rc/assets/header-menu-patient.doc-DDt246fL.js b/rc/assets/header-menu-patient.doc-DDt246fL.js deleted file mode 100644 index 1a71823..0000000 --- a/rc/assets/header-menu-patient.doc-DDt246fL.js +++ /dev/null @@ -1,26 +0,0 @@ -import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as h,P as x}from"./header-menu-patient.stories-Pn15Zz3C.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 300px; - } - `}),` -`,e.jsx(i,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-header-menu-patient",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:x}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"cip"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CIP del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"age"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Edat del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"gender"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Gènere del pacient"})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onActionPatientClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en alguna de les accions del menú desplegable."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCopyCIP"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el codi CIP del pacient. Utilitzar només en cas que la funcionalitat interna del component per capturar el CIP al porta-retalls no s'executi correctament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function C(t={}){const{wrapper:n}={...d(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{C as default}; diff --git a/rc/assets/header-menu-patient.doc-DXPx_J4o.js b/rc/assets/header-menu-patient.doc-DXPx_J4o.js deleted file mode 100644 index 7274caf..0000000 --- a/rc/assets/header-menu-patient.doc-DXPx_J4o.js +++ /dev/null @@ -1,26 +0,0 @@ -import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as h,P as x}from"./header-menu-patient.stories-e9mTmUkC.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 300px; - } - `}),` -`,e.jsx(i,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-header-menu-patient",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:x}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"cip"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CIP del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"age"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Edat del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"gender"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Gènere del pacient"})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onActionPatientClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en alguna de les accions del menú desplegable."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCopyCIP"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el codi CIP del pacient. Utilitzar només en cas que la funcionalitat interna del component per capturar el CIP al porta-retalls no s'executi correctament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function C(t={}){const{wrapper:n}={...d(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{C as default}; diff --git a/rc/assets/header-menu-patient.doc-Ea2p6eKv.js b/rc/assets/header-menu-patient.doc-Ea2p6eKv.js deleted file mode 100644 index 8c36e15..0000000 --- a/rc/assets/header-menu-patient.doc-Ea2p6eKv.js +++ /dev/null @@ -1,26 +0,0 @@ -import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as h,P as x}from"./header-menu-patient.stories-e9mTmUkC.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 300px; - } - `}),` -`,e.jsx(i,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-header-menu-patient",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:x}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"cip"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CIP del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"age"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Edat del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"gender"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Gènere del pacient"})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onActionPatientClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en alguna de les accions del menú desplegable."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCopyCIP"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el codi CIP del pacient. Utilitzar només en cas que la funcionalitat interna del component per capturar el CIP al porta-retalls no s'executi correctament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function C(t={}){const{wrapper:n}={...d(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{C as default}; diff --git a/rc/assets/header-menu-patient.doc-qBV27G72.js b/rc/assets/header-menu-patient.doc-qBV27G72.js deleted file mode 100644 index a7bce59..0000000 --- a/rc/assets/header-menu-patient.doc-qBV27G72.js +++ /dev/null @@ -1,26 +0,0 @@ -import{ae as e,af as i,ag as r,ah as l,ai as c}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as h,P as x}from"./header-menu-patient.stories-Pn15Zz3C.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(t){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 300px; - } - `}),` -`,e.jsx(i,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-header-menu-patient",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:x}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"cip"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CIP del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"age"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Edat del pacient"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"gender"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Gènere del pacient"})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onActionPatientClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en alguna de les accions del menú desplegable."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onCopyCIP"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el codi CIP del pacient. Utilitzar només en cas que la funcionalitat interna del component per capturar el CIP al porta-retalls no s'executi correctament."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function C(t={}){const{wrapper:n}={...d(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(s,{...t})}):s(t)}export{C as default}; diff --git a/rc/assets/header-menu-patient.stories-Pn15Zz3C.js b/rc/assets/header-menu-patient.stories-Pn15Zz3C.js deleted file mode 100644 index 6bc85a7..0000000 --- a/rc/assets/header-menu-patient.stories-Pn15Zz3C.js +++ /dev/null @@ -1,47 +0,0 @@ -import{x as m}from"./lit-html-paDGiEfB.js";const l={title:"Components/Header Menu Patient",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},disabled:{name:"Deshabilitar",control:{type:"boolean"}},name:{name:"Nom del pacient"},surname:{name:"Cognom del pacient"},cip:{name:"CIP del paciente"},age:{name:"Edat del pacient"},gender:{name:"Gènere del pacient"}},parameters:{layout:"centered"}},a={args:{size:"lg",disabled:!1,name:"John",surname:"Doe",cip:"CIP",age:"Edat",gender:"Gènere"},render:e=>m` -
- - - -
- `},r={tags:["!dev"],render:()=>m` - - `};var n,s,t;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{ - args: { - size: 'lg', - disabled: false, - name: 'John', - surname: 'Doe', - cip: 'CIP', - age: 'Edat', - gender: 'Gènere' - }, - render: (args: any) => { - return html\` -
- - - -
- \`; - } -}`,...(t=(s=a.parameters)==null?void 0:s.docs)==null?void 0:t.source}}};var d,i,o;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(o=(i=r.parameters)==null?void 0:i.docs)==null?void 0:o.source}}};const p=["Playground","Xxxxxx"],u=Object.freeze(Object.defineProperty({__proto__:null,Playground:a,Xxxxxx:r,__namedExportsOrder:p,default:l},Symbol.toStringTag,{value:"Module"}));export{a as P,u as S}; diff --git a/rc/assets/header-menu-professional.doc-CZqVetuN.js b/rc/assets/header-menu-professional.doc-CZqVetuN.js deleted file mode 100644 index 2352f32..0000000 --- a/rc/assets/header-menu-professional.doc-CZqVetuN.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as r,ag as i,ah as l,ai as c}from"./index-CcF9BsMG.js";import{u as s}from"./index-BlEr_OIe.js";import{S as h,P as x}from"./header-menu-professional.stories-BxtzGBvB.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const d={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 600px; - } - `}),` -`,e.jsx(r,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-header-menu-professional",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(d.p,{children:"Component intern del Header"}),` -`,e.jsxs(d.p,{children:[e.jsx(d.strong,{children:"Slots:"}),' Aquest component inclou un slot="avatar" per poder injectar el component dss-avatar en el mateix.']}),` -`,e.jsx(d.p,{children:"Al mateix temps, disposa d'un slot per defecte, que haurem d'utilitzar per incloure a la zona designada els diferents input-dropdowns que s'utilitzaran per modificar les preferències de treball."}),` -`,e.jsxs(d.blockquote,{children:[` -`,e.jsx(d.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:x}),` -`,e.jsx(c,{}),` -`,e.jsx(d.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"size"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'lg'"}),e.jsx(d.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"disabled"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"boolean"}),e.jsx(d.td,{children:"false"}),e.jsx(d.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"name"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom del professional."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"center"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom del centre hospitalari."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"collegiate"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom del col·legiat."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"infoLabel"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'Les meves dades'"}),e.jsx(d.td,{children:"Label per secció d'informació."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"collegiateLabel"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Label per nom del col·legiat."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"preferencesLabel"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'Col·legiat nº'"}),e.jsx(d.td,{children:"Label per secció de preferències."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"detailsLabel"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'Veure més detalls'"}),e.jsx(d.td,{children:"Text enllaç details."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"detailsHref"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Href enllaç details. Si aquest enllaç no està definit, l'element no serà visible dins del component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"detailsIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona enllaç details."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"detailsIconPosition"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'left'"}),e.jsx(d.td,{children:"Posició icona enllaç details."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"logoutLabel"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'Tancar sessió'"}),e.jsx(d.td,{children:"Text botó logout."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"logoutIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'logout'"}),e.jsx(d.td,{children:"Icona botó logout."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"logoutIconPosition"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'left'"}),e.jsx(d.td,{children:"Posició icona botó logout."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"hideDropdownDetails"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"boolean"}),e.jsx(d.td,{children:"false"}),e.jsx(d.td,{children:"Amaga la secció d'informació personal del professional."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"hideDropdownDetails"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"boolean"}),e.jsx(d.td,{children:"false"}),e.jsx(d.td,{children:"Amaga la secció de preferències de treball."})]})]})]}),` -`,e.jsx(d.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsx(d.tbody,{children:e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onLogout"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"CustomnEvent"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Esdeveniment que notifica quan s'ha fet clic al botó de logout"})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Versió"}),e.jsx(d.th,{children:"Canvis"})]})}),e.jsx(d.tbody,{children:e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.0"})}),e.jsx(d.td,{children:"Nou web component."})]})})]})]})}function q(n={}){const{wrapper:d}={...s(),...n.components};return d?e.jsx(d,{...n,children:e.jsx(t,{...n})}):t(n)}export{q as default}; diff --git a/rc/assets/header-menu-professional.doc-CoySiEuR.js b/rc/assets/header-menu-professional.doc-CoySiEuR.js deleted file mode 100644 index c5ed27f..0000000 --- a/rc/assets/header-menu-professional.doc-CoySiEuR.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as l,ag as t,ah as s,ai as c}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as h,P as o,R as x,N as a}from"./header-menu-professional.stories-CL-Ac7pJ.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(d){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 600px; - } - `}),` -`,e.jsx(l,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"dss-header-menu-professional",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Component intern del Header"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Slots:"}),' Aquest component inclou un slot="avatar" per poder injectar el component dss-avatar en el mateix.']}),` -`,e.jsx(n.p,{children:"Al mateix temps, disposa d'un slot per defecte, que haurem d'utilitzar per incloure a la zona designada els diferents input-dropdowns que s'utilitzaran per modificar les preferències de treball."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"center"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del centre hospitalari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"infoLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Les meves dades'"}),e.jsx(n.td,{children:"Label per secció d'informació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiateLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Label per nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"preferencesLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Col·legiat nº'"}),e.jsx(n.td,{children:"Label per secció de preferències."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Veure més detalls'"}),e.jsx(n.td,{children:"Text enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsHref"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Href enllaç details. Si aquest enllaç no està definit, l'element no serà visible dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar sessió'"}),e.jsx(n.td,{children:"Text botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'logout'"}),e.jsx(n.td,{children:"Icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownDetails"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció d'informació personal del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownPreferences"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció de preferències de treball."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onLogout"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic al botó de logout"})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#versi%C3%B3-redu%C3%AFda",children:"Versió Reduïda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#enlla%C3%A7-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"})}),` -`]}),` -`,e.jsx(n.h4,{id:"versió-reduïda",children:"Versió Reduïda"}),` -`,e.jsx(n.p,{children:"Aquesta variant s'utilitzarà en aquelles iniciatives que no disposen d'accés al servidor de recursos per obtenir tota la informació disponible."}),` -`,e.jsx(n.p,{children:"Els passos a seguir són:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:["Incloure els atributs ",e.jsx(n.code,{children:"hideDropdownDetails"})," i ",e.jsx(n.code,{children:"hideDropdownPreferences"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar l'atribut ",e.jsx(n.code,{children:"collegiate"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar els ",e.jsx(n.em,{children:"input-dropdowns"})," de l'interior del component."]}),` -`]}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h4,{id:"enllaç-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"}),` -`,e.jsxs(n.p,{children:["Per ocultar l'enllaç a la pàgina de detalls del professional, cal assegurar-se de no incloure l'atribut ",e.jsx(n.code,{children:"detailsHref"}),"."]}),` -`,e.jsx(s,{of:a}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function v(d={}){const{wrapper:n}={...r(),...d.components};return n?e.jsx(n,{...d,children:e.jsx(i,{...d})}):i(d)}export{v as default}; diff --git a/rc/assets/header-menu-professional.doc-CDQA0Zys.js b/rc/assets/header-menu-professional.doc-Dp_BGBRW.js similarity index 97% rename from rc/assets/header-menu-professional.doc-CDQA0Zys.js rename to rc/assets/header-menu-professional.doc-Dp_BGBRW.js index 5ecc793..e847d01 100644 --- a/rc/assets/header-menu-professional.doc-CDQA0Zys.js +++ b/rc/assets/header-menu-professional.doc-Dp_BGBRW.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as t,ah as s,ai as c}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as h,P as o,R as x,N as a}from"./header-menu-professional.stories-CL-Ac7pJ.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(d){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as t,ah as s,ai as c}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as h,P as o,R as x,N as a}from"./header-menu-professional.stories-CL-Ac7pJ.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(d){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display: flex; justify-content: center; diff --git a/rc/assets/header-menu-professional.doc-Dx8g1y5P.js b/rc/assets/header-menu-professional.doc-Dx8g1y5P.js deleted file mode 100644 index 7718b52..0000000 --- a/rc/assets/header-menu-professional.doc-Dx8g1y5P.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as l,ag as t,ah as s,ai as c}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as h,P as o,R as x,N as a}from"./header-menu-professional.stories-CL-Ac7pJ.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(d){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 600px; - } - `}),` -`,e.jsx(l,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"dss-header-menu-professional",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Component intern del Header"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Slots:"}),' Aquest component inclou un slot="avatar" per poder injectar el component dss-avatar en el mateix.']}),` -`,e.jsx(n.p,{children:"Al mateix temps, disposa d'un slot per defecte, que haurem d'utilitzar per incloure a la zona designada els diferents input-dropdowns que s'utilitzaran per modificar les preferències de treball."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"center"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del centre hospitalari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"infoLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Les meves dades'"}),e.jsx(n.td,{children:"Label per secció d'informació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiateLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Label per nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"preferencesLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Col·legiat nº'"}),e.jsx(n.td,{children:"Label per secció de preferències."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Veure més detalls'"}),e.jsx(n.td,{children:"Text enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsHref"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Href enllaç details. Si aquest enllaç no està definit, l'element no serà visible dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar sessió'"}),e.jsx(n.td,{children:"Text botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'logout'"}),e.jsx(n.td,{children:"Icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownDetails"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció d'informació personal del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownPreferences"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció de preferències de treball."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onLogout"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic al botó de logout"})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#versi%C3%B3-redu%C3%AFda",children:"Versió Reduïda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#enlla%C3%A7-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"})}),` -`]}),` -`,e.jsx(n.h4,{id:"versió-reduïda",children:"Versió Reduïda"}),` -`,e.jsx(n.p,{children:"Aquesta variant s'utilitzarà en aquelles iniciatives que no disposen d'accés al servidor de recursos per obtenir tota la informació disponible."}),` -`,e.jsx(n.p,{children:"Els passos a seguir són:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:["Incloure els atributs ",e.jsx(n.code,{children:"hideDropdownDetails"})," i ",e.jsx(n.code,{children:"hideDropdownPreferences"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar l'atribut ",e.jsx(n.code,{children:"collegiate"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar els ",e.jsx(n.em,{children:"input-dropdowns"})," de l'interior del component."]}),` -`]}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h4,{id:"enllaç-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"}),` -`,e.jsxs(n.p,{children:["Per ocultar l'enllaç a la pàgina de detalls del professional, cal assegurar-se de no incloure l'atribut ",e.jsx(n.code,{children:"detailsHref"}),"."]}),` -`,e.jsx(s,{of:a}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function v(d={}){const{wrapper:n}={...r(),...d.components};return n?e.jsx(n,{...d,children:e.jsx(i,{...d})}):i(d)}export{v as default}; diff --git a/rc/assets/header-menu-professional.doc-vKHEmImZ.js b/rc/assets/header-menu-professional.doc-vKHEmImZ.js deleted file mode 100644 index e185be1..0000000 --- a/rc/assets/header-menu-professional.doc-vKHEmImZ.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as l,ag as t,ah as s,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as h,P as o,R as x,N as a}from"./header-menu-professional.stories-DHvRiFqY.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(d){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 600px; - } - `}),` -`,e.jsx(l,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"dss-header-menu-professional",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Component intern del Header"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Slots:"}),' Aquest component inclou un slot="avatar" per poder injectar el component dss-avatar en el mateix.']}),` -`,e.jsx(n.p,{children:"Al mateix temps, disposa d'un slot per defecte, que haurem d'utilitzar per incloure a la zona designada els diferents input-dropdowns que s'utilitzaran per modificar les preferències de treball."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'lg'"}),e.jsx(n.td,{children:"Determineu el max-width del contenidor principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabiliteu el botó per obrir o tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"name"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"center"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del centre hospitalari."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiate"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"infoLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Les meves dades'"}),e.jsx(n.td,{children:"Label per secció d'informació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"collegiateLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Label per nom del col·legiat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"preferencesLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Col·legiat nº'"}),e.jsx(n.td,{children:"Label per secció de preferències."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Veure més detalls'"}),e.jsx(n.td,{children:"Text enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsHref"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Href enllaç details. Si aquest enllaç no està definit, l'element no serà visible dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"detailsIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona enllaç details."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar sessió'"}),e.jsx(n.td,{children:"Text botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'logout'"}),e.jsx(n.td,{children:"Icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoutIconPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'left'"}),e.jsx(n.td,{children:"Posició icona botó logout."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownDetails"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció d'informació personal del professional."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideDropdownPreferences"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la secció de preferències de treball."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onLogout"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic al botó de logout"})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#versi%C3%B3-redu%C3%AFda",children:"Versió Reduïda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#enlla%C3%A7-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"})}),` -`]}),` -`,e.jsx(n.h4,{id:"versió-reduïda",children:"Versió Reduïda"}),` -`,e.jsx(n.p,{children:"Aquesta variant s'utilitzarà en aquelles iniciatives que no disposen d'accés al servidor de recursos per obtenir tota la informació disponible."}),` -`,e.jsx(n.p,{children:"Els passos a seguir són:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:["Incloure els atributs ",e.jsx(n.code,{children:"hideDropdownDetails"})," i ",e.jsx(n.code,{children:"hideDropdownPreferences"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar l'atribut ",e.jsx(n.code,{children:"collegiate"}),"."]}),` -`,e.jsxs(n.li,{children:["Eliminar els ",e.jsx(n.em,{children:"input-dropdowns"})," de l'interior del component."]}),` -`]}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h4,{id:"enllaç-a-detalls-no-disponible",children:"Enllaç a detalls no disponible"}),` -`,e.jsxs(n.p,{children:["Per ocultar l'enllaç a la pàgina de detalls del professional, cal assegurar-se de no incloure l'atribut ",e.jsx(n.code,{children:"detailsHref"}),"."]}),` -`,e.jsx(s,{of:a}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})})]})]})}function v(d={}){const{wrapper:n}={...r(),...d.components};return n?e.jsx(n,{...d,children:e.jsx(i,{...d})}):i(d)}export{v as default}; diff --git a/rc/assets/header-menu-professional.stories-BxtzGBvB.js b/rc/assets/header-menu-professional.stories-BxtzGBvB.js deleted file mode 100644 index baabfa5..0000000 --- a/rc/assets/header-menu-professional.stories-BxtzGBvB.js +++ /dev/null @@ -1,127 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const s={title:"Components/Header Menu Professional",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},disabled:{name:"Deshabilitar",control:{type:"boolean"}},name:{name:"Nom del professional"},surname:{name:"Cognom del professional"},center:{name:"Centre hospitalari"},collegiate:{name:"Col·legiat nº"},infoLabel:{name:"Label Info"},collegiateLabel:{name:"Label Col·legiat"},preferencesLabel:{name:"Label Preferències"},detailsLabel:{name:"Label enllaç details"},detailsHref:{name:"Href enllaç details"},detailsIcon:{name:"Icona enllaç details"},detailsIconPosition:{name:"Posició icona enllaç details",control:{type:"radio"},options:["left","right"]},logoutLabel:{name:"Label enllaç details"},logoutIcon:{name:"Icona enllaç details"},logoutIconPosition:{name:"Posició icona enllaç details",control:{type:"radio"},options:["left","right"]},hideDropdownDetails:{name:"Amaga secció d'informació personal",control:{type:"boolean"}},hideDropdownPreferences:{name:"Amaga secció de preferències de treball",control:{type:"boolean"}}},parameters:{layout:"centered"}},l={args:{name:"John",surname:"Doe",size:"lg",disabled:!1,center:"Centre hospitalari",collegiate:"859438475",infoLabel:"Les meves dades",collegiateLabel:"Col·legiat nº",preferencesLabel:"Preferències de treball",detailsLabel:"Veure més detalls",detailsHref:"#",detailsIcon:"",detailsIconPosition:"left",logoutLabel:"Tancar sessió",logoutIcon:"logout",logoutIconPosition:"left",hideDropdownDetails:!1,hideDropdownPreferences:!1},render:e=>n` -
- - - - - - - - - - - - - - - -
- `};var a,o,t;l.parameters={...l.parameters,docs:{...(a=l.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - name: 'John', - surname: 'Doe', - size: 'lg', - disabled: false, - center: 'Centre hospitalari', - collegiate: '859438475', - infoLabel: 'Les meves dades', - collegiateLabel: 'Col·legiat nº', - preferencesLabel: 'Preferències de treball', - detailsLabel: 'Veure més detalls', - detailsHref: '#', - detailsIcon: '', - detailsIconPosition: 'left', - logoutLabel: 'Tancar sessió', - logoutIcon: 'logout', - logoutIconPosition: 'left', - hideDropdownDetails: false, - hideDropdownPreferences: false - }, - render: (args: any) => { - return html\` -
- - - - - - - - - - - - - - - -
- \`; - } -}`,...(t=(o=l.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const i=["Playground"],d=Object.freeze(Object.defineProperty({__proto__:null,Playground:l,__namedExportsOrder:i,default:s},Symbol.toStringTag,{value:"Module"}));export{l as P,d as S}; diff --git a/rc/assets/header-menu-professional.stories-DHvRiFqY.js b/rc/assets/header-menu-professional.stories-DHvRiFqY.js deleted file mode 100644 index 2c83745..0000000 --- a/rc/assets/header-menu-professional.stories-DHvRiFqY.js +++ /dev/null @@ -1,225 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const b={title:"Components/Header Menu Professional",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},disabled:{name:"Deshabilitar",control:{type:"boolean"}},name:{name:"Nom del professional"},surname:{name:"Cognom del professional"},center:{name:"Centre hospitalari"},collegiate:{name:"Col·legiat nº"},infoLabel:{name:"Label Info"},collegiateLabel:{name:"Label Col·legiat"},preferencesLabel:{name:"Label Preferències"},detailsLabel:{name:"Label enllaç details"},detailsHref:{name:"Href enllaç details"},detailsIcon:{name:"Icona enllaç details"},detailsIconPosition:{name:"Posició icona enllaç details",control:{type:"radio"},options:["left","right"]},logoutLabel:{name:"Label enllaç details"},logoutIcon:{name:"Icona enllaç details"},logoutIconPosition:{name:"Posició icona enllaç details",control:{type:"radio"},options:["left","right"]},hideDropdownDetails:{name:"Amaga secció d'informació personal",control:{type:"boolean"}},hideDropdownPreferences:{name:"Amaga secció de preferències de treball",control:{type:"boolean"}}},parameters:{layout:"centered"}},l={args:{name:"John",surname:"Doe",size:"lg",disabled:!1,center:"Centre hospitalari",collegiate:"859438475",infoLabel:"Les meves dades",collegiateLabel:"Col·legiat nº",preferencesLabel:"Preferències de treball",detailsLabel:"Veure més detalls",detailsHref:"#",detailsIcon:"",detailsIconPosition:"left",logoutLabel:"Tancar sessió",logoutIcon:"logout",logoutIconPosition:"left",hideDropdownDetails:!1,hideDropdownPreferences:!1},render:e=>n` -
- - - - - - - - - - - - - - - -
- `},a={tags:["!dev"],render:()=>n` - - - - `},s={tags:["!dev"],render:()=>n` - - - - - - - - - - - - - - - - `};var t,o,r;l.parameters={...l.parameters,docs:{...(t=l.parameters)==null?void 0:t.docs,source:{originalSource:`{ - args: { - name: 'John', - surname: 'Doe', - size: 'lg', - disabled: false, - center: 'Centre hospitalari', - collegiate: '859438475', - infoLabel: 'Les meves dades', - collegiateLabel: 'Col·legiat nº', - preferencesLabel: 'Preferències de treball', - detailsLabel: 'Veure més detalls', - detailsHref: '#', - detailsIcon: '', - detailsIconPosition: 'left', - logoutLabel: 'Tancar sessió', - logoutIcon: 'logout', - logoutIconPosition: 'left', - hideDropdownDetails: false, - hideDropdownPreferences: false - }, - render: (args: any) => { - return html\` -
- - - - - - - - - - - - - - - -
- \`; - } -}`,...(r=(o=l.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};var i,d,p;a.parameters={...a.parameters,docs:{...(i=a.parameters)==null?void 0:i.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(p=(d=a.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};var u,c,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - \`; - } -}`,...(m=(c=s.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};const f=["Playground","Reduced","NoDetailsLink"],g=Object.freeze(Object.defineProperty({__proto__:null,NoDetailsLink:s,Playground:l,Reduced:a,__namedExportsOrder:f,default:b},Symbol.toStringTag,{value:"Module"}));export{s as N,l as P,a as R,g as S}; diff --git a/rc/assets/header.doc-BB8VQTyi.js b/rc/assets/header.doc-BB8VQTyi.js deleted file mode 100644 index bf7098c..0000000 --- a/rc/assets/header.doc-BB8VQTyi.js +++ /dev/null @@ -1,35 +0,0 @@ -import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as c,P as o}from"./header.stories-Cox9PV2S.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-header",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Header és essencial per a la interfície d'usuari d'un producte. És un -element d'interfície d'usuari disponible de manera coherent que conté -funcionalitats per al producte així com per a tot el sistema. Per veure com -quedaria en mòbil i tauleta hem d'accedir al canvas i modificar el viewport.`}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.code,{children:"dss-header"}),"."]}),` -`,e.jsx(n.p,{children:"A més, a través dels diferents slots, podrem fer ús dels subcomponents:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"dss-links"}),` -`,e.jsx(n.li,{children:"dss-menu-pacient"}),` -`,e.jsx(n.li,{children:"dss-menu-professional"}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," el logotip de Salut s'està carregant des d'una ruta externa per un problema de configuració a Storybook. Si us plau, assegureu-vos d'utilitzar una ruta relativa a la imatge interna de la llibreria en la vostra iniciativa. Exemple Angular: ",e.jsx(n.code,{children:'logoSrc="/dss-assets/img/salut-logotip-default.svg"'})]}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom de la iniciativa."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"area"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'HES'"}),e.jsx(n.td,{children:"Nom de l'àrea."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoSrc"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"Les diferents variants del header dependran dels slots activats en el component. Si us plau, per"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-links--exemple",children:"Header Links"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-patient--exemple",children:"Header Menu Patient"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-professional--exemple",children:"Header Menu Professional"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.3"})}),e.jsx(n.td,{children:"S'ha corregit la propietat logoSrc que estava causant conflictes a l'hora de renderitzar la imatge a aplicacions Angular."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function v(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/header.doc-CRNLACnA.js b/rc/assets/header.doc-CRNLACnA.js deleted file mode 100644 index 5bd246e..0000000 --- a/rc/assets/header.doc-CRNLACnA.js +++ /dev/null @@ -1,35 +0,0 @@ -import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as c,P as o}from"./header.stories-CnbwlNBE.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-header",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Header és essencial per a la interfície d'usuari d'un producte. És un -element d'interfície d'usuari disponible de manera coherent que conté -funcionalitats per al producte així com per a tot el sistema. Per veure com -quedaria en mòbil i tauleta hem d'accedir al canvas i modificar el viewport.`}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.code,{children:"dss-header"}),"."]}),` -`,e.jsx(n.p,{children:"A més, a través dels diferents slots, podrem fer ús dels subcomponents:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"dss-links"}),` -`,e.jsx(n.li,{children:"dss-menu-pacient"}),` -`,e.jsx(n.li,{children:"dss-menu-professional"}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," el logotip de Salut s'està carregant des d'una ruta externa per un problema de configuració a Storybook. Si us plau, assegureu-vos d'utilitzar una ruta relativa a la imatge interna de la llibreria en la vostra iniciativa. Exemple Angular: ",e.jsx(n.code,{children:'logoSrc="/dss-assets/img/salut-logotip-default.svg"'})]}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom de la iniciativa."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"area"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'HES'"}),e.jsx(n.td,{children:"Nom de l'àrea."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoSrc"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"Les diferents variants del header dependran dels slots activats en el component. Si us plau, per"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-links--exemple",children:"Header Links"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-patient--exemple",children:"Header Menu Patient"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-professional--exemple",children:"Header Menu Professional"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.3"})}),e.jsx(n.td,{children:"S'ha corregit la propietat logoSrc que estava causant conflictes a l'hora de renderitzar la imatge a aplicacions Angular."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function v(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/header.doc-0Dc1UrU4.js b/rc/assets/header.doc-CRfcjC4g.js similarity index 94% rename from rc/assets/header.doc-0Dc1UrU4.js rename to rc/assets/header.doc-CRfcjC4g.js index c13aad4..d6bf314 100644 --- a/rc/assets/header.doc-0Dc1UrU4.js +++ b/rc/assets/header.doc-CRfcjC4g.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as c,P as o}from"./header.stories-CnbwlNBE.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as c,P as o}from"./header.stories-CnbwlNBE.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(i,{of:c}),` diff --git a/rc/assets/header.doc-C_KYMrDt.js b/rc/assets/header.doc-C_KYMrDt.js deleted file mode 100644 index 7fe2877..0000000 --- a/rc/assets/header.doc-C_KYMrDt.js +++ /dev/null @@ -1,35 +0,0 @@ -import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as c,P as o}from"./header.stories-Cox9PV2S.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-header",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Header és essencial per a la interfície d'usuari d'un producte. És un -element d'interfície d'usuari disponible de manera coherent que conté -funcionalitats per al producte així com per a tot el sistema. Per veure com -quedaria en mòbil i tauleta hem d'accedir al canvas i modificar el viewport.`}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.code,{children:"dss-header"}),"."]}),` -`,e.jsx(n.p,{children:"A més, a través dels diferents slots, podrem fer ús dels subcomponents:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"dss-links"}),` -`,e.jsx(n.li,{children:"dss-menu-pacient"}),` -`,e.jsx(n.li,{children:"dss-menu-professional"}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," el logotip de Salut s'està carregant des d'una ruta externa per un problema de configuració a Storybook. Si us plau, assegureu-vos d'utilitzar una ruta relativa a la imatge interna de la llibreria en la vostra iniciativa. Exemple Angular: ",e.jsx(n.code,{children:'logoSrc="/dss-assets/img/salut-logotip-default.svg"'})]}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom de la iniciativa."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"area"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'HES'"}),e.jsx(n.td,{children:"Nom de l'àrea."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoSrc"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"Les diferents variants del header dependran dels slots activats en el component. Si us plau, per"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-links--exemple",children:"Header Links"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-patient--exemple",children:"Header Menu Patient"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-professional--exemple",children:"Header Menu Professional"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.3"})}),e.jsx(n.td,{children:"S'ha corregit la propietat logoSrc que estava causant conflictes a l'hora de renderitzar la imatge a aplicacions Angular."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function v(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/header.doc-UoELKuWd.js b/rc/assets/header.doc-UoELKuWd.js deleted file mode 100644 index faed9d3..0000000 --- a/rc/assets/header.doc-UoELKuWd.js +++ /dev/null @@ -1,35 +0,0 @@ -import{ae as e,af as i,ag as d,ah as l,ai as a}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as c,P as o}from"./header.stories-CnbwlNBE.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-header",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Header és essencial per a la interfície d'usuari d'un producte. És un -element d'interfície d'usuari disponible de manera coherent que conté -funcionalitats per al producte així com per a tot el sistema. Per veure com -quedaria en mòbil i tauleta hem d'accedir al canvas i modificar el viewport.`}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.code,{children:"dss-header"}),"."]}),` -`,e.jsx(n.p,{children:"A més, a través dels diferents slots, podrem fer ús dels subcomponents:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"dss-links"}),` -`,e.jsx(n.li,{children:"dss-menu-pacient"}),` -`,e.jsx(n.li,{children:"dss-menu-professional"}),` -`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," el logotip de Salut s'està carregant des d'una ruta externa per un problema de configuració a Storybook. Si us plau, assegureu-vos d'utilitzar una ruta relativa a la imatge interna de la llibreria en la vostra iniciativa. Exemple Angular: ",e.jsx(n.code,{children:'logoSrc="/dss-assets/img/salut-logotip-default.svg"'})]}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Nom de la iniciativa."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"area"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'HES'"}),e.jsx(n.td,{children:"Nom de l'àrea."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoSrc"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Ruta de la imatge. Utilitzar la ruta configurada per obtenir la imatge interna de la llibreria."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"Les diferents variants del header dependran dels slots activats en el component. Si us plau, per"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-links--exemple",children:"Header Links"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-patient--exemple",children:"Header Menu Patient"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/docs/components-header-menu-professional--exemple",children:"Header Menu Professional"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.3"})}),e.jsx(n.td,{children:"S'ha corregit la propietat logoSrc que estava causant conflictes a l'hora de renderitzar la imatge a aplicacions Angular."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function v(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/header.stories-Cox9PV2S.js b/rc/assets/header.stories-Cox9PV2S.js deleted file mode 100644 index c87ef33..0000000 --- a/rc/assets/header.stories-Cox9PV2S.js +++ /dev/null @@ -1,172 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const t="data:image/svg+xml,%3csvg%20width='199'%20height='60'%20viewBox='0%200%20199%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.28848%2058.7078H0L20.5656%201.29666H26.8529L6.28848%2058.7078Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.3934%2060C42.9237%2060%2037.0929%2058.3045%2032.901%2054.9147C28.7091%2051.5237%2026.5824%2046.4764%2026.5235%2039.773H33.5424C33.7031%2049.1844%2039.3189%2053.8907%2050.3934%2053.8907C55.0719%2053.8907%2058.6617%2052.9753%2061.1605%2051.1469C63.6604%2049.3173%2064.9109%2046.6452%2064.9109%2043.1305C65.0184%2040.6063%2063.8499%2038.1977%2061.8031%2036.7184C59.7354%2035.1858%2056.1225%2033.8567%2050.9632%2032.7275L45.8779%2031.5972C40.0702%2030.2484%2035.7187%2028.301%2032.8201%2025.7548C29.9226%2023.2076%2028.4825%2019.6235%2028.501%2015.004C28.375%2010.7034%2030.3733%206.61658%2033.8452%204.07622C37.3599%201.3625%2042.1101%200.00566499%2048.0958%200.00566499C51.644%20-0.0590576%2055.1806%200.430991%2058.5785%201.45731C61.2044%202.21433%2063.6015%203.61392%2065.5524%205.52786C67.145%207.15517%2068.3932%209.08762%2069.2208%2011.2096C70.024%2013.3813%2070.4493%2015.6731%2070.4771%2017.9881H63.539C63.2189%2013.8967%2061.8886%2010.8987%2059.5493%208.9917C57.2089%207.08585%2053.3915%206.13351%2048.0958%206.13351C44.0576%206.13351%2040.952%206.9148%2038.7792%208.47624C36.6433%209.94867%2035.4113%2012.4116%2035.5095%2015.004C35.3732%2017.4958%2036.4029%2019.909%2038.2984%2021.5328C40.121%2023.0943%2043.6831%2024.4662%2048.9857%2025.6473L54.0722%2026.7788C60.4127%2028.1796%2064.9814%2030.1802%2067.7784%2032.7818C70.5753%2035.3823%2071.9703%2038.8381%2071.9645%2043.149C71.9645%2048.3615%2070.0587%2052.4737%2066.247%2055.4845C62.4341%2058.4941%2057.15%2060%2050.3934%2060'%20fill='%236AAAE4'/%3e%3cpath%20d='M91.7361%2054.1923C95.0242%2054.2443%2098.2234%2053.1301%20100.768%2051.0486C103.339%2049.0063%20104.629%2046.0753%20104.634%2042.2579V37.3413C102.999%2038.4115%20101.108%2039.0264%2099.1561%2039.1235L93.1092%2039.8446C89.6084%2040.2804%2087.1235%2041.0825%2085.6452%2042.2671C84.1393%2043.5096%2083.3152%2045.3946%2083.4273%2047.3432C83.328%2049.256%2084.1%2051.1098%2085.5297%2052.3846C86.9455%2053.5866%2089.0651%2054.1923%2091.7361%2054.1923V54.1923ZM113.21%2053.4445H115.544V58.6905C114.365%2058.8592%20113.173%2058.939%20111.982%2058.9309C107.624%2058.9309%20105.286%2056.9418%20104.973%2052.9637C102.086%2057.4411%2097.5761%2059.6787%2091.4437%2059.6787C86.8657%2059.6787%2083.2852%2058.6107%2080.6755%2056.4911C78.0658%2054.3714%2076.7655%2051.3687%2076.7655%2047.5039C76.7655%2039.9695%2081.8983%2035.6666%2092.1649%2034.5987L98.1321%2033.9572C102.484%2033.4706%20104.66%2031.5613%20104.66%2028.2304C104.66%2025.9143%20103.948%2024.2465%20102.523%2023.2248C101.098%2022.2089%2098.6926%2021.6935%2095.3086%2021.6935C91.7454%2021.6935%2089.0744%2022.2991%2087.5245%2023.4745C85.9746%2024.6499%2085.0396%2026.8227%2084.8524%2029.8867H78.3778C78.9118%2020.6949%2084.5531%2016.0996%2095.2993%2016.0996C105.727%2016.0996%20110.94%2020.132%20110.94%2028.1946V51.4496C110.948%2052.7938%20111.705%2053.4445%20113.21%2053.4445'%20fill='%236AAAE4'/%3e%3cpath%20d='M127.238%2058.7078H120.79V1.29666H127.238V58.7078Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M164.334%2040.6456V17.097H170.782V58.7078H164.654V52.4736C161.484%2057.277%20157.129%2059.6787%20151.589%2059.6787C146.969%2059.6787%20143.367%2058.4142%20140.785%2055.8854C138.202%2053.3555%20136.91%2049.7934%20136.91%2045.197V17.097H143.395V44.6006C143.395%2050.7816%20146.565%2053.8721%20152.907%2053.8721C155.929%2053.8825%20158.826%2052.6574%20160.923%2050.4788C163.197%2048.2286%20164.334%2044.9508%20164.334%2040.6456'%20fill='%236AAAE4'/%3e%3cpath%20d='M198.677%2017.097V22.7441H190.136V49.7577C190.136%2052.127%20191.721%2053.3197%20194.892%2053.3197H198.677V58.7264C196.896%2058.887%20195.365%2058.9668%20194.081%2058.9668C187.152%2058.9668%20183.687%2056.0901%20183.687%2050.3367V22.7268H176.829V17.097H183.687V5.34989H190.136V17.097H198.677'%20fill='%236AAAE4'/%3e%3c/svg%3e",p={title:"Components/Header",argTypes:{showAppName:{name:"Mostrar titol",control:{type:"boolean"}},area:{name:"Area",if:{arg:"showAppName"}},appName:{name:"Iniciativa",if:{arg:"showAppName"}},showPatient:{name:"Mostrar menu pacient",control:{type:"boolean"},if:{arg:"showAppName",eq:!1}},showLinks:{name:"Mostrar enllaçes",control:{type:"boolean"}},showProfessional:{name:"Mostrar menu professional",control:{type:"boolean"}}},parameters:{layout:"centered"}},a={args:{showAppName:!0,area:"HES",appName:"Mi iniciativa",showPatient:!0,showLinks:!0,showProfessional:!0},render:n=>{const l=e` - - `,d=e` - - - - `,s=e` - - - - - - - - - - - - - - - - `;return e` -
- ${n.showAppName?e` - - ${n.showLinks?e` - ${l} - `:null} - ${n.showProfessional?e` - ${s} - `:null} - - `:e` - - ${n.showPatient?e` - ${d} - `:null} - ${n.showLinks?e` - ${l} - `:null} - ${n.showProfessional?e` - ${s} - `:null} - - `} - -
- `}};var r,o,i;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ - args: { - showAppName: true, - area: 'HES', - appName: 'Mi iniciativa', - showPatient: true, - showLinks: true, - showProfessional: true - }, - render: (args: any) => { - const headerLinks = html\` - - \`; - const headerMenuPatient = html\` - - - - \`; - const headerMenuProfessional = html\` - - - - - - - - - - - - - - - - \`; - return html\` -
- \${args.showAppName ? html\` - - \${args.showLinks ? html\` - \${headerLinks} - \` : null} - \${args.showProfessional ? html\` - \${headerMenuProfessional} - \` : null} - - \` : html\` - - \${args.showPatient ? html\` - \${headerMenuPatient} - \` : null} - \${args.showLinks ? html\` - \${headerLinks} - \` : null} - \${args.showProfessional ? html\` - \${headerMenuProfessional} - \` : null} - - \`} - -
- \`; - } -}`,...(i=(o=a.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const u=["Playground"],c=Object.freeze(Object.defineProperty({__proto__:null,Playground:a,__namedExportsOrder:u,default:p},Symbol.toStringTag,{value:"Module"}));export{a as P,c as S}; diff --git a/rc/assets/icon-badge.doc-CAdt1Xg1.js b/rc/assets/icon-badge.doc-CAdt1Xg1.js deleted file mode 100644 index e7eb29d..0000000 --- a/rc/assets/icon-badge.doc-CAdt1Xg1.js +++ /dev/null @@ -1,82 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-DNWE1i6M.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - dss-icon-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-icon-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Un Tooltip mostra als usuaris que hi ha més coses per aprendre només tocar o -passar el ratolí per sobre d'un element.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Àmbit"}),e.jsx(i.th,{children:"Condition"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Requerida"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitad",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg | xl)."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"Nou component afegit per tal de poder definir un badge especial representat únicament per una icona. Disposem de badge de criticitat o informatius. El component també permet associar un tooltip per tal d'oferir més informació als usuaris."})]})]})]})]})}function v(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{v as default}; diff --git a/rc/assets/icon-badge.doc-CcAIs0JE.js b/rc/assets/icon-badge.doc-CcAIs0JE.js deleted file mode 100644 index 8a570b2..0000000 --- a/rc/assets/icon-badge.doc-CcAIs0JE.js +++ /dev/null @@ -1,82 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-CioFacBZ.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - dss-icon-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-icon-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Un Tooltip mostra als usuaris que hi ha més coses per aprendre només tocar o -passar el ratolí per sobre d'un element.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Àmbit"}),e.jsx(i.th,{children:"Condition"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Requerida"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitad",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg | xl)."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"Nou component afegit per tal de poder definir un badge especial representat únicament per una icona. Disposem de badge de criticitat o informatius. El component també permet associar un tooltip per tal d'oferir més informació als usuaris."})]})]})]})]})}function v(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{v as default}; diff --git a/rc/assets/icon-badge.doc-DVZO9bz0.js b/rc/assets/icon-badge.doc-DVZO9bz0.js deleted file mode 100644 index 417fcf1..0000000 --- a/rc/assets/icon-badge.doc-DVZO9bz0.js +++ /dev/null @@ -1,82 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-DNWE1i6M.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - dss-icon-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-icon-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Un Tooltip mostra als usuaris que hi ha més coses per aprendre només tocar o -passar el ratolí per sobre d'un element.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Àmbit"}),e.jsx(i.th,{children:"Condition"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Requerida"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitad",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg | xl)."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"Nou component afegit per tal de poder definir un badge especial representat únicament per una icona. Disposem de badge de criticitat o informatius. El component també permet associar un tooltip per tal d'oferir més informació als usuaris."})]})]})]})]})}function v(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{v as default}; diff --git a/rc/assets/icon-badge.doc-WPV0SrwH.js b/rc/assets/icon-badge.doc-WPV0SrwH.js deleted file mode 100644 index a2fde6f..0000000 --- a/rc/assets/icon-badge.doc-WPV0SrwH.js +++ /dev/null @@ -1,82 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-CioFacBZ.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - dss-icon-badge { - margin-left: 10px; - margin-right: 10px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-icon-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(i.p,{children:`Un Tooltip mostra als usuaris que hi ha més coses per aprendre només tocar o -passar el ratolí per sobre d'un element.`}),` -`,e.jsxs(i.blockquote,{children:[` -`,e.jsx(i.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(i.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Name"}),e.jsx(i.th,{children:"Àmbit"}),e.jsx(i.th,{children:"Condition"}),e.jsx(i.th,{children:"Type"}),e.jsx(i.th,{children:"Default"}),e.jsx(i.th,{children:"Description"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"size"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"sm"}),e.jsx(i.td,{children:"Defineix la mida del component."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"icon"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"Depèn de l'estat"}),e.jsx(i.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Requerida"}),e.jsx(i.td,{children:"string"}),e.jsx(i.td,{children:"-"}),e.jsx(i.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"disabled"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"outlined"})}),e.jsx(i.td,{children:"Input"}),e.jsx(i.td,{children:"Opcional"}),e.jsx(i.td,{children:"boolean"}),e.jsx(i.td,{children:"false"}),e.jsx(i.td,{children:"Modifica l’aparença del component quan l’estat definit és de criticitat. Aquest paràmetre no afecta els estats de criticitat."})]})]})]}),` -`,e.jsx(i.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(i.h3,{id:"relació-estats---criticidat",children:"Relació estats - criticidat"}),` -`,e.jsx(i.p,{children:"Els estats de criticitat han de definir-se en anglès per a mantenir la consistència en el codi de la llibreria. Cal seguir la següent taula per obtenir la correspondència:"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Criticitat"})}),e.jsx(i.td,{children:"Molt Greu"}),e.jsx(i.td,{children:"Greu"}),e.jsx(i.td,{children:"Greu lleu"}),e.jsx(i.td,{children:"Moderat Greu"}),e.jsx(i.td,{children:"Moderat"}),e.jsx(i.td,{children:"Moderat lleu"}),e.jsx(i.td,{children:"Lleu moderat"}),e.jsx(i.td,{children:"Lleu"}),e.jsx(i.td,{children:"Poc"}),e.jsx(i.td,{children:"Correcte"}),e.jsx(i.td,{children:"No determinat"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"danger-high"}),e.jsx(i.td,{children:"danger"}),e.jsx(i.td,{children:"danger-low"}),e.jsx(i.td,{children:"moderate-high"}),e.jsx(i.td,{children:"moderate"}),e.jsx(i.td,{children:"moderate-low"}),e.jsx(i.td,{children:"slight-high"}),e.jsx(i.td,{children:"slight"}),e.jsx(i.td,{children:"slight-low"}),e.jsx(i.td,{children:"correct"}),e.jsx(i.td,{children:"undeterminated"})]})]})]}),` -`,e.jsx(i.h3,{id:"relació-estats---informació",children:"Relació estats - informació"}),` -`,e.jsx(i.p,{children:"En el cas dels estats d'informació, aquests concedeixen amb els estats interns del component."}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{}),e.jsx(i.th,{})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"Informació"})}),e.jsx(i.td,{children:"Ideal"}),e.jsx(i.td,{children:"Critic"}),e.jsx(i.td,{children:"Alert"}),e.jsx(i.td,{children:"Info"}),e.jsx(i.td,{children:"Info-alt"}),e.jsx(i.td,{children:"Neutral"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"state"})}),e.jsx(i.td,{children:"ideal"}),e.jsx(i.td,{children:"critic"}),e.jsx(i.td,{children:"alert"}),e.jsx(i.td,{children:"info"}),e.jsx(i.td,{children:"info-alt"}),e.jsx(i.td,{children:"neutral"})]})]})]}),` -`,e.jsx(i.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-tooltip",children:"Amb tooltip"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#amb-icon",children:"Amb icon"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#criticitad",children:"Criticitat"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#informaci%C3%B3",children:"Informació"})}),` -`]}),` -`,e.jsx(i.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(i.p,{children:"Utilitzarem la mida (sm | md | lg | xl)."}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(i.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(i.h3,{id:"amb-tooltip",children:"Amb tooltip"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(i.h3,{id:"amb-icon",children:"Amb icon"}),` -`,e.jsxs(i.p,{children:["Podem modificar la icona assignada a cada estat utilitzant la propietat ",e.jsx(i.code,{children:"icon"}),"."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(i.h3,{id:"criticitat",children:"Criticitat"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(i.h3,{id:"informació",children:"Informació"}),` -`,e.jsxs(i.p,{children:["En els estats d’informació podem utilitzar la propietat ",e.jsx(i.code,{children:"outlined"})," per a mostrar la versió alternativa del component."]}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(i.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(i.table,{children:[e.jsx(i.thead,{children:e.jsxs(i.tr,{children:[e.jsx(i.th,{children:"Versió"}),e.jsx(i.th,{children:"Canvis"})]})}),e.jsxs(i.tbody,{children:[e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"2.0.0"})}),e.jsx(i.td,{children:"Refactor v2"})]}),e.jsxs(i.tr,{children:[e.jsx(i.td,{children:e.jsx(i.strong,{children:"1.4.1"})}),e.jsx(i.td,{children:"Nou component afegit per tal de poder definir un badge especial representat únicament per una icona. Disposem de badge de criticitat o informatius. El component també permet associar un tooltip per tal d'oferir més informació als usuaris."})]})]})]})]})}function v(n={}){const{wrapper:i}={...r(),...n.components};return i?e.jsx(i,{...n,children:e.jsx(s,{...n})}):s(n)}export{v as default}; diff --git a/rc/assets/icon-badge.doc-k4bRFByi.js b/rc/assets/icon-badge.doc-fUt-0Hw9.js similarity index 97% rename from rc/assets/icon-badge.doc-k4bRFByi.js rename to rc/assets/icon-badge.doc-fUt-0Hw9.js index 5e1f57b..8097d66 100644 --- a/rc/assets/icon-badge.doc-k4bRFByi.js +++ b/rc/assets/icon-badge.doc-fUt-0Hw9.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-CioFacBZ.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as h,a as o,D as x,T as j,I as p,C as m,b as u}from"./icon-badge.stories-CioFacBZ.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(n){const i={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .css-1sqhzee { display:none } diff --git a/rc/assets/icon-badge.stories-DNWE1i6M.js b/rc/assets/icon-badge.stories-DNWE1i6M.js deleted file mode 100644 index d7e7933..0000000 --- a/rc/assets/icon-badge.stories-DNWE1i6M.js +++ /dev/null @@ -1,199 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const D={title:"Components/Icon Badge",argTypes:{size:{name:"Size",control:{type:"radio"},options:["sm","md","lg","xl"]},showIcon:{name:" Modify icon",control:{type:"boolean"}},icon:{name:"Icon",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},state:{name:"State",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"]},disabled:{name:"Disabled",control:{type:"boolean"}},outlined:{name:"Outlined (Només informació)",control:{type:"boolean"}},showTooltip:{name:"Amb tooltip",control:{type:"boolean"}},tooltipPosition:{name:"Posición tooltip",control:{type:"radio"},options:["top","right","bottom","left"],if:{arg:"showTooltip",truthy:!0}}},parameters:{layout:"centered"}},d={args:{size:"xl",showIcon:!1,icon:"person",state:"danger-high",disabled:!1,outlined:!1,showTooltip:!1,tooltipPosition:"top"},render:s=>e` - ${s.showTooltip?s.showIcon?e` - - - Indicar info - - - `:e` - - - Indicar info - - - `:s.showIcon?e` - - - `:e` - - - `} - `},i={tags:["!dev"],render:()=>e` -
- - - - -
- `},o={tags:["!dev"],render:()=>e` -
- - - - -
- `},a={tags:["!dev"],render:()=>e` - - - Indicar info - - - `},n={tags:["!dev"],render:()=>e` - - - Indicar info - - - `},t={tags:["!dev"],render:()=>e` -
- - - - - - - - - - - -
- `},l={tags:["!dev"],render:()=>e` -
- - - - - - -
-
- - - - - - -
- `};var c,r,g;d.parameters={...d.parameters,docs:{...(c=d.parameters)==null?void 0:c.docs,source:{originalSource:`{ - args: { - size: 'xl', - showIcon: false, - icon: 'person', - state: 'danger-high', - disabled: false, - outlined: false, - showTooltip: false, - tooltipPosition: 'top' - }, - render: (args: any) => { - return html\` - \${args.showTooltip ? args.showIcon ? html\` - - - Indicar info - - - \` : html\` - - - Indicar info - - - \` : args.showIcon ? html\` - - - \` : html\` - - - \`} - \`; - } -}`,...(g=(r=d.parameters)==null?void 0:r.docs)==null?void 0:g.source}}};var b,p,z;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(z=(p=i.parameters)==null?void 0:p.docs)==null?void 0:z.source}}};var u,m,h;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(h=(m=o.parameters)==null?void 0:m.docs)==null?void 0:h.source}}};var x,$,f;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(f=($=a.parameters)==null?void 0:$.docs)==null?void 0:f.source}}};var v,w,I;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - Indicar info - - - \`; - } -}`,...(I=(w=n.parameters)==null?void 0:w.docs)==null?void 0:I.source}}};var y,S,P;t.parameters={...t.parameters,docs:{...(y=t.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - -
- \`; - } -}`,...(P=(S=t.parameters)==null?void 0:S.docs)==null?void 0:P.source}}};var T,_,C;l.parameters={...l.parameters,docs:{...(T=l.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - -
-
- - - - - - -
- \`; - } -}`,...(C=(_=l.parameters)==null?void 0:_.docs)==null?void 0:C.source}}};const O=["Playground","Sizes","Disabled","Tooltip","Icon","Critic","Info"],B=Object.freeze(Object.defineProperty({__proto__:null,Critic:t,Disabled:o,Icon:n,Info:l,Playground:d,Sizes:i,Tooltip:a,__namedExportsOrder:O,default:D},Symbol.toStringTag,{value:"Module"}));export{t as C,o as D,n as I,d as P,B as S,a as T,i as a,l as b}; diff --git a/rc/assets/icon-button.doc-B9NBZagg.js b/rc/assets/icon-button.doc-B9NBZagg.js deleted file mode 100644 index ea027bf..0000000 --- a/rc/assets/icon-button.doc-B9NBZagg.js +++ /dev/null @@ -1,36 +0,0 @@ -import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as h,P as o,B as a,a as x,E as j,W as p,b as u,I as m}from"./icon-button.stories-BwxffeYQ.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` - - `}),` -`,n.jsx(d,{of:h}),` -`,n.jsxs("div",{className:"dss-sb-title",children:[n.jsx(l,{}),n.jsx("dss-badge",{text:"dss-icon-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,n.jsx(s.p,{children:`Els Icon Buttons s'utilitzen per a accions menors. Està pensat per ser -utilitzat en pantalles en què els botons no són l'element principal. A més, -pot tenir una funció similar als enllaços.`}),` -`,n.jsxs(s.blockquote,{children:[` -`,n.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,n.jsx(e,{of:o}),` -`,n.jsx(c,{}),` -`,n.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"type"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'primary'"}),n.jsx(s.td,{children:"Tipus de botó. Pot ser: default, primary, secondary, error, warning, success, info"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"size"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'md'"}),n.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"icon"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"''"}),n.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"disabled"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Deshabilita el botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"hidden"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]})]})]}),` -`,n.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsx(s.tbody,{children:n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"onClick"})}),n.jsx(s.td,{children:"Output"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"CustomnEvent"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,n.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Default"}),` -`,n.jsx(e,{of:a}),` -`,n.jsx("h5",{children:"Primary"}),` -`,n.jsx(e,{of:x}),` -`,n.jsx("h5",{children:"Error"}),` -`,n.jsx(e,{of:j}),` -`,n.jsx("h5",{children:"Warning"}),` -`,n.jsx(e,{of:p}),` -`,n.jsx("h5",{children:"Success"}),` -`,n.jsx(e,{of:u}),` -`,n.jsx("h5",{children:"Info"}),` -`,n.jsx(e,{of:m}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Versió"}),n.jsx(s.th,{children:"Canvis"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"2.0.0"})}),n.jsx(s.td,{children:"Refactor v2"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.11.0"})}),n.jsx(s.td,{children:"Nou Web Component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.10.0"})}),n.jsx(s.td,{children:"S'han actualitzat els colors de la icona per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.3.0"})}),n.jsx(s.td,{children:"Actualització en els estils del component."})]})]})]})]})}function E(t={}){const{wrapper:s}={...r(),...t.components};return s?n.jsx(s,{...t,children:n.jsx(i,{...t})}):i(t)}export{E as default}; diff --git a/rc/assets/icon-button.doc-BjV-GAO3.js b/rc/assets/icon-button.doc-BjV-GAO3.js deleted file mode 100644 index 15c12ea..0000000 --- a/rc/assets/icon-button.doc-BjV-GAO3.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as h,P as a,B as o,a as x,E as j,W as p,b as u,I as m,O as b,c as f}from"./icon-button.stories-CaIR2hmo.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: center; - gap: 16px; - } - `}),` -`,n.jsx(d,{of:h}),` -`,n.jsxs("div",{className:"dss-sb-title",children:[n.jsx(l,{}),n.jsx("dss-badge",{text:"dss-icon-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,n.jsx(s.p,{children:`Els Icon Buttons s'utilitzen per a accions menors. Està pensat per ser -utilitzat en pantalles en què els botons no són l'element principal. A més, -pot tenir una funció similar als enllaços.`}),` -`,n.jsxs(s.blockquote,{children:[` -`,n.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,n.jsx(e,{of:a}),` -`,n.jsx(c,{}),` -`,n.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"type"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'primary'"}),n.jsx(s.td,{children:"Tipus de botó. Pot ser: default, primary, secondary, error, warning, success, info"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"size"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'md'"}),n.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"icon"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"''"}),n.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"disabled"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Deshabilita el botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"hidden"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]})]})]}),` -`,n.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsx(s.tbody,{children:n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"onClick"})}),n.jsx(s.td,{children:"Output"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"CustomnEvent"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,n.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Default"}),` -`,n.jsx(e,{of:o}),` -`,n.jsx("h5",{children:"Primary"}),` -`,n.jsx(e,{of:x}),` -`,n.jsx("h5",{children:"Error"}),` -`,n.jsx(e,{of:j}),` -`,n.jsx("h5",{children:"Warning"}),` -`,n.jsx(e,{of:p}),` -`,n.jsx("h5",{children:"Success"}),` -`,n.jsx(e,{of:u}),` -`,n.jsx("h5",{children:"Info"}),` -`,n.jsx(e,{of:m}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Orange"}),` -`,n.jsx(e,{of:b}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Purple"}),` -`,n.jsx(e,{of:f}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Versió"}),n.jsx(s.th,{children:"Canvis"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"2.0.0"})}),n.jsx(s.td,{children:"Refactor v2"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.11.0"})}),n.jsx(s.td,{children:"Nou Web Component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.10.0"})}),n.jsx(s.td,{children:"S'han actualitzat els colors de la icona per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.3.0"})}),n.jsx(s.td,{children:"Actualització en els estils del component."})]})]})]})]})}function O(t={}){const{wrapper:s}={...i(),...t.components};return s?n.jsx(s,{...t,children:n.jsx(r,{...t})}):r(t)}export{O as default}; diff --git a/rc/assets/icon-button.doc-CwNyq7Om.js b/rc/assets/icon-button.doc-CwNyq7Om.js deleted file mode 100644 index 89d8233..0000000 --- a/rc/assets/icon-button.doc-CwNyq7Om.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as h,P as a,B as o,a as x,E as j,W as p,b as u,I as m,O as b,c as f}from"./icon-button.stories-CaIR2hmo.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: center; - gap: 16px; - } - `}),` -`,n.jsx(d,{of:h}),` -`,n.jsxs("div",{className:"dss-sb-title",children:[n.jsx(l,{}),n.jsx("dss-badge",{text:"dss-icon-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,n.jsx(s.p,{children:`Els Icon Buttons s'utilitzen per a accions menors. Està pensat per ser -utilitzat en pantalles en què els botons no són l'element principal. A més, -pot tenir una funció similar als enllaços.`}),` -`,n.jsxs(s.blockquote,{children:[` -`,n.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,n.jsx(e,{of:a}),` -`,n.jsx(c,{}),` -`,n.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"type"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'primary'"}),n.jsx(s.td,{children:"Tipus de botó. Pot ser: default, primary, secondary, error, warning, success, info"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"size"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'md'"}),n.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"icon"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"''"}),n.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"disabled"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Deshabilita el botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"hidden"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]})]})]}),` -`,n.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsx(s.tbody,{children:n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"onClick"})}),n.jsx(s.td,{children:"Output"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"CustomnEvent"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,n.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Default"}),` -`,n.jsx(e,{of:o}),` -`,n.jsx("h5",{children:"Primary"}),` -`,n.jsx(e,{of:x}),` -`,n.jsx("h5",{children:"Error"}),` -`,n.jsx(e,{of:j}),` -`,n.jsx("h5",{children:"Warning"}),` -`,n.jsx(e,{of:p}),` -`,n.jsx("h5",{children:"Success"}),` -`,n.jsx(e,{of:u}),` -`,n.jsx("h5",{children:"Info"}),` -`,n.jsx(e,{of:m}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Orange"}),` -`,n.jsx(e,{of:b}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Purple"}),` -`,n.jsx(e,{of:f}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Versió"}),n.jsx(s.th,{children:"Canvis"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"2.0.0"})}),n.jsx(s.td,{children:"Refactor v2"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.11.0"})}),n.jsx(s.td,{children:"Nou Web Component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.10.0"})}),n.jsx(s.td,{children:"S'han actualitzat els colors de la icona per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.3.0"})}),n.jsx(s.td,{children:"Actualització en els estils del component."})]})]})]})]})}function O(t={}){const{wrapper:s}={...i(),...t.components};return s?n.jsx(s,{...t,children:n.jsx(r,{...t})}):r(t)}export{O as default}; diff --git a/rc/assets/icon-button.doc-BbGj8fmU.js b/rc/assets/icon-button.doc-D869X6pZ.js similarity index 96% rename from rc/assets/icon-button.doc-BbGj8fmU.js rename to rc/assets/icon-button.doc-D869X6pZ.js index d2f5f6f..ce58f05 100644 --- a/rc/assets/icon-button.doc-BbGj8fmU.js +++ b/rc/assets/icon-button.doc-D869X6pZ.js @@ -1,4 +1,4 @@ -import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as h,P as a,B as o,a as x,E as j,W as p,b as u,I as m,O as b,c as f}from"./icon-button.stories-CaIR2hmo.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` +import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as h,P as a,B as o,a as x,E as j,W as p,b as u,I as m,O as b,c as f}from"./icon-button.stories-CaIR2hmo.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...i(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` .innerZoomElementWrapper #root-inner { display: flex; align-items: center; diff --git a/rc/assets/icon-button.doc-DDSGT4zZ.js b/rc/assets/icon-button.doc-DDSGT4zZ.js deleted file mode 100644 index 514e1b2..0000000 --- a/rc/assets/icon-button.doc-DDSGT4zZ.js +++ /dev/null @@ -1,36 +0,0 @@ -import{ae as n,af as d,ag as l,ah as e,ai as c}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as h,P as o,B as a,a as x,E as j,W as p,b as u,I as m}from"./icon-button.stories-BwxffeYQ.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(t){const s={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` - - `}),` -`,n.jsx(d,{of:h}),` -`,n.jsxs("div",{className:"dss-sb-title",children:[n.jsx(l,{}),n.jsx("dss-badge",{text:"dss-icon-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,n.jsx(s.p,{children:`Els Icon Buttons s'utilitzen per a accions menors. Està pensat per ser -utilitzat en pantalles en què els botons no són l'element principal. A més, -pot tenir una funció similar als enllaços.`}),` -`,n.jsxs(s.blockquote,{children:[` -`,n.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,n.jsx(e,{of:o}),` -`,n.jsx(c,{}),` -`,n.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"type"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'primary'"}),n.jsx(s.td,{children:"Tipus de botó. Pot ser: default, primary, secondary, error, warning, success, info"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"size"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"'md'"}),n.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"icon"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"string"}),n.jsx(s.td,{children:"''"}),n.jsx(s.td,{children:"Icona mostrada dins del botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"disabled"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Deshabilita el botó."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"hidden"})}),n.jsx(s.td,{children:"Input"}),n.jsx(s.td,{children:"Opcional"}),n.jsx(s.td,{children:"boolean"}),n.jsx(s.td,{children:"false"}),n.jsx(s.td,{children:"Amaga la icona amb la propietat nativa hidden."})]})]})]}),` -`,n.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Name"}),n.jsx(s.th,{children:"Àmbit"}),n.jsx(s.th,{children:"Condition"}),n.jsx(s.th,{children:"Type"}),n.jsx(s.th,{children:"Default"}),n.jsx(s.th,{children:"Description"})]})}),n.jsx(s.tbody,{children:n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"onClick"})}),n.jsx(s.td,{children:"Output"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"CustomnEvent"}),n.jsx(s.td,{children:"-"}),n.jsx(s.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó."})]})})]}),` -`,n.jsx(s.h3,{id:"variants",children:"Variants"}),` -`,n.jsx("br",{}),` -`,n.jsx("h5",{children:"Default"}),` -`,n.jsx(e,{of:a}),` -`,n.jsx("h5",{children:"Primary"}),` -`,n.jsx(e,{of:x}),` -`,n.jsx("h5",{children:"Error"}),` -`,n.jsx(e,{of:j}),` -`,n.jsx("h5",{children:"Warning"}),` -`,n.jsx(e,{of:p}),` -`,n.jsx("h5",{children:"Success"}),` -`,n.jsx(e,{of:u}),` -`,n.jsx("h5",{children:"Info"}),` -`,n.jsx(e,{of:m}),` -`,n.jsx("br",{}),` -`,n.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,n.jsxs(s.table,{children:[n.jsx(s.thead,{children:n.jsxs(s.tr,{children:[n.jsx(s.th,{children:"Versió"}),n.jsx(s.th,{children:"Canvis"})]})}),n.jsxs(s.tbody,{children:[n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"2.0.0"})}),n.jsx(s.td,{children:"Refactor v2"})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.11.0"})}),n.jsx(s.td,{children:"Nou Web Component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.10.0"})}),n.jsx(s.td,{children:"S'han actualitzat els colors de la icona per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),n.jsxs(s.tr,{children:[n.jsx(s.td,{children:n.jsx(s.strong,{children:"1.3.0"})}),n.jsx(s.td,{children:"Actualització en els estils del component."})]})]})]})]})}function E(t={}){const{wrapper:s}={...r(),...t.components};return s?n.jsx(s,{...t,children:n.jsx(i,{...t})}):i(t)}export{E as default}; diff --git a/rc/assets/icon-button.stories-BwxffeYQ.js b/rc/assets/icon-button.stories-BwxffeYQ.js deleted file mode 100644 index fa6952f..0000000 --- a/rc/assets/icon-button.stories-BwxffeYQ.js +++ /dev/null @@ -1,128 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const O={title:"Components/Icon Button",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},color:{name:"Colors",control:{type:"select"},options:["default","white-default","primary","error","warning","success","info"]},icon:{name:"Icona"}},parameters:{layout:"centered"}},o={args:{size:"md",color:"primary",icon:"add_box"},render:r=>s` - - `},n={tags:["!dev"],render:()=>s` - - - - - - - `},t={tags:["!dev"],render:()=>s` - - - - - - - `},d={tags:["!dev"],render:()=>s` - - - - - - - `},i={tags:["!dev"],render:()=>s` - - - - - - - `},e={tags:["!dev"],render:()=>s` - - - - - - - `},c={tags:["!dev"],render:()=>s` - - - - - - - `};var b,a,u;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:`{ - args: { - size: 'md', - color: 'primary', - icon: 'add_box' - }, - render: (args: any) => { - return html\` - - \`; - } -}`,...(u=(a=o.parameters)==null?void 0:a.docs)==null?void 0:u.source}}};var p,m,l;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(l=(m=n.parameters)==null?void 0:m.docs)==null?void 0:l.source}}};var y,_,z;t.parameters={...t.parameters,docs:{...(y=t.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(z=(_=t.parameters)==null?void 0:_.docs)==null?void 0:z.source}}};var x,g,f;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(f=(g=d.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var S,w,v;i.parameters={...i.parameters,docs:{...(S=i.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(v=(w=i.parameters)==null?void 0:w.docs)==null?void 0:v.source}}};var h,P,$;e.parameters={...e.parameters,docs:{...(h=e.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...($=(P=e.parameters)==null?void 0:P.docs)==null?void 0:$.source}}};var B,I,E;c.parameters={...c.parameters,docs:{...(B=c.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(E=(I=c.parameters)==null?void 0:I.docs)==null?void 0:E.source}}};const W=["Playground","ByDefault","Primary","ErrorState","Warning","Success","Info"],C=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:n,ErrorState:d,Info:c,Playground:o,Primary:t,Success:e,Warning:i,__namedExportsOrder:W,default:O},Symbol.toStringTag,{value:"Module"}));export{n as B,d as E,c as I,o as P,C as S,i as W,t as a,e as b}; diff --git a/rc/assets/icon.doc-B1m-faMf.js b/rc/assets/icon.doc-B1m-faMf.js deleted file mode 100644 index 28ae84d..0000000 --- a/rc/assets/icon.doc-B1m-faMf.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as c}from"./icon.stories-DG6xn302.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-icon",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les icones es poden utilitzar per representar accions comunes. Tals icones -estàn creades amb quatre pesos en dos estils diferents.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:c}),` -`,e.jsx(d,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["icon",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"google-material-symbols",children:"Google Material Symbols"}),` -`,e.jsx(s.p,{children:`Llibreria d'icones creades per Google amb més de 2500 elements disponibles. -Totes aquestes estan disponibles en vàris estils, tot i això el Design System -de Salut només utilitzarà les icones en format rounded.`}),` -`,e.jsxs(s.p,{children:[`Aquesta llibreria, que complementa la principal de Salut, servirà per -representar idees, objectes o accions. Tanmateix, per comunicar missatges a -primer cop d'ull, oferir interactivitat i cridar l'atenció sobre la informació -important. `,e.jsx(s.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Veure colecció"})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Nou component."})]})})]})]})}function y(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/icon.doc-CjbYaQzM.js b/rc/assets/icon.doc-CjbYaQzM.js deleted file mode 100644 index e93cd62..0000000 --- a/rc/assets/icon.doc-CjbYaQzM.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as c}from"./icon.stories-MEVnbH3f.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-icon",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les icones es poden utilitzar per representar accions comunes. Tals icones -estàn creades amb quatre pesos en dos estils diferents.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:c}),` -`,e.jsx(d,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["icon",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"google-material-symbols",children:"Google Material Symbols"}),` -`,e.jsx(s.p,{children:`Llibreria d'icones creades per Google amb més de 2500 elements disponibles. -Totes aquestes estan disponibles en vàris estils, tot i això el Design System -de Salut només utilitzarà les icones en format rounded.`}),` -`,e.jsxs(s.p,{children:[`Aquesta llibreria, que complementa la principal de Salut, servirà per -representar idees, objectes o accions. Tanmateix, per comunicar missatges a -primer cop d'ull, oferir interactivitat i cridar l'atenció sobre la informació -important. `,e.jsx(s.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Veure colecció"})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Nou component."})]})})]})]})}function y(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/icon.doc-CmlcqKLy.js b/rc/assets/icon.doc-D8IIFBAz.js similarity index 94% rename from rc/assets/icon.doc-CmlcqKLy.js rename to rc/assets/icon.doc-D8IIFBAz.js index 8525410..a794fa7 100644 --- a/rc/assets/icon.doc-CmlcqKLy.js +++ b/rc/assets/icon.doc-D8IIFBAz.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as c}from"./icon.stories-DG6xn302.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as c}from"./icon.stories-DG6xn302.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(i,{of:a}),` diff --git a/rc/assets/icon.doc-Dp--gcrB.js b/rc/assets/icon.doc-Dp--gcrB.js deleted file mode 100644 index 4cd37c9..0000000 --- a/rc/assets/icon.doc-Dp--gcrB.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as c}from"./icon.stories-DG6xn302.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-icon",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les icones es poden utilitzar per representar accions comunes. Tals icones -estàn creades amb quatre pesos en dos estils diferents.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:c}),` -`,e.jsx(d,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["icon",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"google-material-symbols",children:"Google Material Symbols"}),` -`,e.jsx(s.p,{children:`Llibreria d'icones creades per Google amb més de 2500 elements disponibles. -Totes aquestes estan disponibles en vàris estils, tot i això el Design System -de Salut només utilitzarà les icones en format rounded.`}),` -`,e.jsxs(s.p,{children:[`Aquesta llibreria, que complementa la principal de Salut, servirà per -representar idees, objectes o accions. Tanmateix, per comunicar missatges a -primer cop d'ull, oferir interactivitat i cridar l'atenció sobre la informació -important. `,e.jsx(s.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Veure colecció"})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Nou component."})]})})]})]})}function y(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/icon.doc-DrCSSVp2.js b/rc/assets/icon.doc-DrCSSVp2.js deleted file mode 100644 index 20319ad..0000000 --- a/rc/assets/icon.doc-DrCSSVp2.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as i,ag as o,ah as l,ai as d}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as c}from"./icon.stories-MEVnbH3f.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(i,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-icon",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Les icones es poden utilitzar per representar accions comunes. Tals icones -estàn creades amb quatre pesos en dos estils diferents.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(l,{of:c}),` -`,e.jsx(d,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsxs(s.strong,{children:["icon",e.jsx("span",{children:"*"})]})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"''"}),e.jsx(s.td,{children:"Icona mostrada."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:e.jsx(s.code,{children:"string"})}),e.jsx(s.td,{children:"'md'"}),e.jsx(s.td,{children:"Mida del botó. Pot ser: sm, md, lg o xl."})]})]})]})}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"google-material-symbols",children:"Google Material Symbols"}),` -`,e.jsx(s.p,{children:`Llibreria d'icones creades per Google amb més de 2500 elements disponibles. -Totes aquestes estan disponibles en vàris estils, tot i això el Design System -de Salut només utilitzarà les icones en format rounded.`}),` -`,e.jsxs(s.p,{children:[`Aquesta llibreria, que complementa la principal de Salut, servirà per -representar idees, objectes o accions. Tanmateix, per comunicar missatges a -primer cop d'ull, oferir interactivitat i cridar l'atenció sobre la informació -important. `,e.jsx(s.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Veure colecció"})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Nou component."})]})})]})]})}function y(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{y as default}; diff --git a/rc/assets/icon.stories-MEVnbH3f.js b/rc/assets/icon.stories-MEVnbH3f.js deleted file mode 100644 index befb7bd..0000000 --- a/rc/assets/icon.stories-MEVnbH3f.js +++ /dev/null @@ -1,13 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const t={title:"Foundations/Icons",argTypes:{icon:{name:"Icona"},size:{name:"Mides",control:{type:"radio"},options:["sm","md","lg","xl"]}},parameters:{layout:"centered"}},e={args:{icon:"add_box",size:"lg"},render:o=>a` - - `};var n,r,s;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`{ - args: { - icon: 'add_box', - size: 'lg' - }, - render: (args: any) => { - return html\` - - \`; - } -}`,...(s=(r=e.parameters)==null?void 0:r.docs)==null?void 0:s.source}}};const i=["Playground"],d=Object.freeze(Object.defineProperty({__proto__:null,Playground:e,__namedExportsOrder:i,default:t},Symbol.toStringTag,{value:"Module"}));export{e as P,d as S}; diff --git a/rc/assets/icon.style-BFmaJcLw.js b/rc/assets/icon.style-BFmaJcLw.js deleted file mode 100644 index 226278a..0000000 --- a/rc/assets/icon.style-BFmaJcLw.js +++ /dev/null @@ -1 +0,0 @@ -const i=':host{display:flex;align-items:center}.dss-icon,.material-symbols-rounded{font-family:var(--font-icons);font-size:var(--icon-size-md);font-weight:400;font-style:normal;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.dss-icon--fill,.material-symbols-rounded--fill{font-variation-settings:"FILL" 1}.dss-icon--sm{font-size:var(--icon-size-sm)}.dss-icon--md{font-size:var(--icon-size-md)}.dss-icon--lg{font-size:var(--icon-size-lg)}.dss-icon--xl{font-size:var(--icon-size-xl)}.dss-icon-skeleton{position:relative;display:inline-block;height:var(--icon-size-md);width:var(--icon-size-md);overflow:hidden;background-color:var(--color-neutral-50);border-radius:var(--dss-radius-sm)}.dss-icon-skeleton:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0);animation:shimmer 2s infinite;content:""}@keyframes shimmer{to{transform:translate(100%)}}.dss-icon-skeleton--sm{height:var(--icon-size-sm);width:var(--icon-size-sm);border-radius:var(--dss-radius-xs)}.dss-icon-skeleton--lg{height:var(--icon-size-lg);width:var(--icon-size-lg)}.dss-icon-skeleton--xl{height:var(--icon-size-xl);width:var(--icon-size-xl)}';export{i}; diff --git a/rc/assets/iframe-BLrvpHse.js b/rc/assets/iframe-BLrvpHse.js deleted file mode 100644 index afba2c6..0000000 --- a/rc/assets/iframe-BLrvpHse.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./card.doc-BE54NK7L.js","./index-CcF9BsMG.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-BlEr_OIe.js","./card.stories-DJycBVjk.js","./lit-html-paDGiEfB.js","./accordion.doc-DvucSrAb.js","./accordion.stories-912XHnh-.js","./lit-element-vV9fql9z.js","./accordion-wGXhMz48.js","./property-CzN8u98o.js","./property-types-CkH-zh1n.js","./static-DLZyqU8Z.js","./class-map-2iHk_WiG.js","./custom-element-scope-Dp4Dg8bo.js","./action-menu.doc-ByiYBsqj.js","./action-menu.stories-2kgy5DQo.js","./action-menu-C54ww5C6.js","./reset.style-B0CQ8619.js","./alert.doc-BRpHSuKl.js","./alert.stories-B6noWO0O.js","./alert-Cs94cQBi.js","./avatar.doc-CuekKRbz.js","./avatar.stories-C3sQGL95.js","./avatar-Cb1ARGpi.js","./icon.style-BFmaJcLw.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-BPSkUhqa.js","./badge.stories-D4WDg7Ck.js","./badge-B2-WdLcZ.js","./breadcrumb.doc-BW3-qiaQ.js","./breadcrumb.stories-CKT__cNf.js","./button-link.doc-mfJ9eVJC.js","./button-link.stories-Ba2br41l.js","./button-link-CCJAoxkm.js","./button.doc-Bhty-K7q.js","./button.stories-BIoGbgyG.js","./button-CeNEyja2.js","./button.style-2dqsCQot.js","./chat-message.doc-c0X95WWp.js","./chat-message.stories-gbmUYz7d.js","./checkbox.doc-BIQMT-lJ.js","./checkbox.stories-BYYVLdII.js","./chip.doc-DayNWrzS.js","./chip.stories-I7fiJj5H.js","./content-switcher.doc-kzKPCllN.js","./content-switcher.stories-77fkpHwH.js","./custom-table.doc-CjR5REvr.js","./custom-table.stories-y7CdkspH.js","./datepicker-range.doc-C1jk5HGn.js","./datepicker-range.stories-BpfC2-J9.js","./datepicker.doc-Bd9PkJX8.js","./datepicker.stories-CGGD7GfG.js","./datepicker-BRwK53Kt.js","./decorative-icon.doc-BppYcxOC.js","./decorative-icon.stories-BQDWsPJH.js","./divider.doc-L0rXXkWv.js","./divider.stories-DB5eeA3X.js","./drawer.doc-Dd5VqqwN.js","./drawer.stories-DURugo2o.js","./floating-button.doc-yrFwglSr.js","./floating-button.stories-BxSwkfGc.js","./footer.doc-DLZCVSpn.js","./footer.stories-DGF-6pqR.js","./header-links.doc-CumAz-Ve.js","./header-links.stories-Bn9PaYrj.js","./header-menu-patient.doc-DDt246fL.js","./header-menu-patient.stories-Pn15Zz3C.js","./header-menu-professional.doc-CZqVetuN.js","./header-menu-professional.stories-BxtzGBvB.js","./header.doc-BB8VQTyi.js","./header.stories-Cox9PV2S.js","./icon-badge.doc-CAdt1Xg1.js","./icon-badge.stories-DNWE1i6M.js","./icon-button.doc-DDSGT4zZ.js","./icon-button.stories-BwxffeYQ.js","./input-action.doc-CyloAyMy.js","./input-action.stories-CMPgeGxx.js","./input-dropdown.doc-CDzLomxa.js","./input-dropdown.stories-D65uGMpm.js","./input-switch.doc-Cdy60c7J.js","./input-switch.stories-CIRsw79J.js","./input.doc-C0UoaKE5.js","./input.stories-Jw1fSDL_.js","./item-list.doc-BSlIJJyY.js","./item-list.stories-DtUWLPOs.js","./legend.doc-CXzm35F1.js","./legend.stories-BFidxGnY.js","./list-menu.doc-CD2qSFR7.js","./list-menu.stories-3Ut4_Gha.js","./list.doc-BmLB_-kp.js","./list.stories-BFeDRA54.js","./modal.doc-HUdIt7RA.js","./modal.stories-BGId7u5N.js","./module-header.doc-CthRmtol.js","./module-header.stories-DAw43PfZ.js","./notification-badge.doc-Bw6uAIEN.js","./notification-badge.stories-BF-y_xf9.js","./pagination.doc-C0C-BAza.js","./pagination.stories-labxGTkf.js","./popover.doc-DQXM3tzu.js","./popover.stories-PdwFXnn7.js","./progress-indicator.doc-CbC2rZDJ.js","./progress-indicator.stories-C9fFX99H.js","./radio-button.doc-B-N0BHWg.js","./radio-button.stories-CD-Rdqzz.js","./search-bar.doc-Bfu7dtT7.js","./search-bar.stories-DLiS1xOu.js","./selector.doc-p1nKw7-N.js","./selector.stories-Do-1HI-T.js","./sidemenu.doc-CfbBsKu8.js","./sidemenu.stories-BmedWbij.js","./skeleton.doc-uX09Tz3R.js","./skeleton.stories-D0wtjzOU.js","./slider.doc-xSdnIcXK.js","./slider.stories-DdExkrtG.js","./spinner.doc-DMNeKUiN.js","./spinner.stories-PG2FfI9V.js","./split-button.doc-bWtMpJ2K.js","./split-button.stories-Cw6VWHJ2.js","./stepper.doc-C_6hcrGD.js","./stepper.stories-BUZiSfMj.js","./tabs.doc-C18mwK64.js","./tabs.stories-wCufqI6O.js","./task.doc-DHvLzKXk.js","./task.stories-BtspbkrR.js","./textarea.doc--AhI_iEj.js","./textarea.stories-3w4lINBO.js","./tile.doc-VB1pK4gH.js","./tile.stories-DQqyulSi.js","./timepicker.doc-Bz9z8Tzz.js","./timepicker.stories-ynJ6K59N.js","./toast.doc-BOr8Ib3G.js","./toast.stories-D1qdm5KS.js","./tooltip.doc-CqPUfoyH.js","./tooltip.stories-BcS194xO.js","./upload-box.doc-Bdw3kS0u.js","./upload-box.stories-Da5vP6j9.js","./user-feedback.doc-CMve73Qu.js","./user-feedback.stories-CnjwrJIJ.js","./dropdown-list.doc-Cu30UTh8.js","./dropdown-list.stories-C0by9R4d.js","./input-field.doc-Cdm3ct9I.js","./input-field.stories-C6mGzV-c.js","./sidebar.doc-TfrZeLHX.js","./sidebar.stories-BSMSOHpu.js","./switch.doc-BRRfhnfm.js","./switch.stories-BlPgYOlW.js","./table-css.doc-C0fxZlp5.js","./table-css.stories-CEsII2zx.js","./intro.doc-DvE9P8W9.js","./chunk-NUUEMKO5-CzX-w2bE.js","./versions.doc-ag4kEcvO.js","./borders.doc-B-sGl0hz.js","./logo.doc-JVDDpBdw.js","./logo.stories-Pq9wDPMV.js","./colors.doc-DoBKzkWA.js","./elevation.doc-Bf6ieF6v.js","./elevation.stories-Bij6E0wB.js","./icon.doc-CjbYaQzM.js","./icon.stories-MEVnbH3f.js","./breakpoints.doc-DV592QQ2.js","./grid.doc-DApx7ghI.js","./spacing.doc-BfeZvYQz.js","./typography.doc-w7o8Agcr.js","./typography.stories-CLtcgagc.js","./entry-preview-CRqr0V-9.js","./entry-preview-docs-DaYV1EZe.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-BJ10gr0-.js","./preview-fC_vxZw6.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))p(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&p(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function p(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,p){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,p),n in E)return;E[n]=!0;const a=n.endsWith(".css"),b=a?'[rel="stylesheet"]':"";if(!!p)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":O,a||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),a)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-BE54NK7L.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-DJycBVjk.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-DvucSrAb.js"),__vite__mapDeps([8,1,2,3,4,5,9,10,7,11,12,13,14,15,16]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-912XHnh-.js").then(o=>o.A),__vite__mapDeps([9,10,7,11,12,13,14,15,16]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-ByiYBsqj.js"),__vite__mapDeps([17,1,2,3,4,5,18,10,7,19,12,20,13,15]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-2kgy5DQo.js").then(o=>o.A),__vite__mapDeps([18,10,7,19,12,20,13,15]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-BRpHSuKl.js"),__vite__mapDeps([21,1,2,3,4,5,22,10,7,23,12,20,13,14,16]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-B6noWO0O.js").then(o=>o.A),__vite__mapDeps([22,10,7,23,12,20,13,14,16]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-CuekKRbz.js"),__vite__mapDeps([24,1,2,3,4,5,25,10,7,26,12,27,28]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-C3sQGL95.js").then(o=>o.S),__vite__mapDeps([25,10,7,26,12,27,28]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-BPSkUhqa.js"),__vite__mapDeps([29,1,2,3,4,5,30,10,7,31,12,27,13,14,15]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-D4WDg7Ck.js").then(o=>o.S),__vite__mapDeps([30,10,7,31,12,27,13,14,15]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-BW3-qiaQ.js"),__vite__mapDeps([32,1,2,3,4,5,33,7]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-CKT__cNf.js").then(o=>o.B),__vite__mapDeps([33,7]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-mfJ9eVJC.js"),__vite__mapDeps([34,1,2,3,4,5,35,10,7,36,12,27,20,13,15]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-Ba2br41l.js").then(o=>o.S),__vite__mapDeps([35,10,7,36,12,27,20,13,15]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-Bhty-K7q.js"),__vite__mapDeps([37,1,2,3,4,5,38,10,7,39,12,20,13,40,14,15,16]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-BIoGbgyG.js").then(o=>o.B),__vite__mapDeps([38,10,7,39,12,20,13,40,14,15,16]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-c0X95WWp.js"),__vite__mapDeps([41,1,2,3,4,5,42,7,28]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-gbmUYz7d.js").then(o=>o.C),__vite__mapDeps([42,7,28]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-BIQMT-lJ.js"),__vite__mapDeps([43,1,2,3,4,5,44,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-BYYVLdII.js").then(o=>o.S),__vite__mapDeps([44,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-DayNWrzS.js"),__vite__mapDeps([45,1,2,3,4,5,46,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-I7fiJj5H.js").then(o=>o.S),__vite__mapDeps([46,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-kzKPCllN.js"),__vite__mapDeps([47,1,2,3,4,5,48,10,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-77fkpHwH.js").then(o=>o.S),__vite__mapDeps([48,10,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-CjR5REvr.js"),__vite__mapDeps([49,1,2,3,4,5,50,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-y7CdkspH.js").then(o=>o.C),__vite__mapDeps([50,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-C1jk5HGn.js"),__vite__mapDeps([51,1,2,3,4,5,52,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-BpfC2-J9.js").then(o=>o.S),__vite__mapDeps([52,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-Bd9PkJX8.js"),__vite__mapDeps([53,1,2,3,4,5,54,10,7,55,13,12,27,40,15,14,16]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-CGGD7GfG.js").then(o=>o.S),__vite__mapDeps([54,10,7,55,13,12,27,40,15,14,16]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-BppYcxOC.js"),__vite__mapDeps([56,1,2,3,4,5,57,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BQDWsPJH.js").then(o=>o.S),__vite__mapDeps([57,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-L0rXXkWv.js"),__vite__mapDeps([58,1,2,3,4,5,59,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-DB5eeA3X.js").then(o=>o.S),__vite__mapDeps([59,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-Dd5VqqwN.js"),__vite__mapDeps([60,1,2,3,4,5,61,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DURugo2o.js").then(o=>o.S),__vite__mapDeps([61,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-yrFwglSr.js"),__vite__mapDeps([62,1,2,3,4,5,63,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-BxSwkfGc.js").then(o=>o.S),__vite__mapDeps([63,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-DLZCVSpn.js"),__vite__mapDeps([64,1,2,3,4,5,65,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DGF-6pqR.js").then(o=>o.S),__vite__mapDeps([65,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-CumAz-Ve.js"),__vite__mapDeps([66,1,2,3,4,5,67,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-Bn9PaYrj.js").then(o=>o.S),__vite__mapDeps([67,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-DDt246fL.js"),__vite__mapDeps([68,1,2,3,4,5,69,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-Pn15Zz3C.js").then(o=>o.S),__vite__mapDeps([69,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-CZqVetuN.js"),__vite__mapDeps([70,1,2,3,4,5,71,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-BxtzGBvB.js").then(o=>o.S),__vite__mapDeps([71,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-BB8VQTyi.js"),__vite__mapDeps([72,1,2,3,4,5,73,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-Cox9PV2S.js").then(o=>o.S),__vite__mapDeps([73,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-CAdt1Xg1.js"),__vite__mapDeps([74,1,2,3,4,5,75,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-DNWE1i6M.js").then(o=>o.S),__vite__mapDeps([75,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-DDSGT4zZ.js"),__vite__mapDeps([76,1,2,3,4,5,77,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-BwxffeYQ.js").then(o=>o.S),__vite__mapDeps([77,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-CyloAyMy.js"),__vite__mapDeps([78,1,2,3,4,5,79,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CMPgeGxx.js").then(o=>o.S),__vite__mapDeps([79,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-CDzLomxa.js"),__vite__mapDeps([80,1,2,3,4,5,81,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-D65uGMpm.js").then(o=>o.S),__vite__mapDeps([81,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-Cdy60c7J.js"),__vite__mapDeps([82,1,2,3,4,5,83,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-CIRsw79J.js").then(o=>o.S),__vite__mapDeps([83,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-C0UoaKE5.js"),__vite__mapDeps([84,1,2,3,4,5,85,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-Jw1fSDL_.js").then(o=>o.S),__vite__mapDeps([85,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-BSlIJJyY.js"),__vite__mapDeps([86,1,2,3,4,5,87,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-DtUWLPOs.js").then(o=>o.S),__vite__mapDeps([87,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-CXzm35F1.js"),__vite__mapDeps([88,1,2,3,4,5,89,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-BFidxGnY.js").then(o=>o.S),__vite__mapDeps([89,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-CD2qSFR7.js"),__vite__mapDeps([90,1,2,3,4,5,91,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-3Ut4_Gha.js").then(o=>o.S),__vite__mapDeps([91,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-BmLB_-kp.js"),__vite__mapDeps([92,1,2,3,4,5,93,10,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BFeDRA54.js").then(o=>o.S),__vite__mapDeps([93,10,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-HUdIt7RA.js"),__vite__mapDeps([94,1,2,3,4,5,95,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-BGId7u5N.js").then(o=>o.S),__vite__mapDeps([95,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-CthRmtol.js"),__vite__mapDeps([96,1,2,3,4,5,97,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-DAw43PfZ.js").then(o=>o.S),__vite__mapDeps([97,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-Bw6uAIEN.js"),__vite__mapDeps([98,1,2,3,4,5,99,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-BF-y_xf9.js").then(o=>o.S),__vite__mapDeps([99,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-C0C-BAza.js"),__vite__mapDeps([100,1,2,3,4,5,101,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-labxGTkf.js").then(o=>o.S),__vite__mapDeps([101,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-DQXM3tzu.js"),__vite__mapDeps([102,1,2,3,4,5,103,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-PdwFXnn7.js").then(o=>o.S),__vite__mapDeps([103,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-CbC2rZDJ.js"),__vite__mapDeps([104,1,2,3,4,5,105,10,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-C9fFX99H.js").then(o=>o.S),__vite__mapDeps([105,10,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-B-N0BHWg.js"),__vite__mapDeps([106,1,2,3,4,5,107,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-CD-Rdqzz.js").then(o=>o.S),__vite__mapDeps([107,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-Bfu7dtT7.js"),__vite__mapDeps([108,1,2,3,4,5,109,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-DLiS1xOu.js").then(o=>o.S),__vite__mapDeps([109,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-p1nKw7-N.js"),__vite__mapDeps([110,1,2,3,4,5,111,10,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-Do-1HI-T.js").then(o=>o.S),__vite__mapDeps([111,10,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-CfbBsKu8.js"),__vite__mapDeps([112,1,2,3,4,5,113,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-BmedWbij.js").then(o=>o.S),__vite__mapDeps([113,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-uX09Tz3R.js"),__vite__mapDeps([114,1,2,3,4,5,115,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-D0wtjzOU.js").then(o=>o.S),__vite__mapDeps([115,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-xSdnIcXK.js"),__vite__mapDeps([116,1,2,3,4,5,117,10,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-DdExkrtG.js").then(o=>o.S),__vite__mapDeps([117,10,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-DMNeKUiN.js"),__vite__mapDeps([118,1,2,3,4,5,119,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-PG2FfI9V.js").then(o=>o.S),__vite__mapDeps([119,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-bWtMpJ2K.js"),__vite__mapDeps([120,1,2,3,4,5,121,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-Cw6VWHJ2.js").then(o=>o.S),__vite__mapDeps([121,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-C_6hcrGD.js"),__vite__mapDeps([122,1,2,3,4,5,123,10,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUZiSfMj.js").then(o=>o.S),__vite__mapDeps([123,10,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-C18mwK64.js"),__vite__mapDeps([124,1,2,3,4,5,125,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-wCufqI6O.js").then(o=>o.S),__vite__mapDeps([125,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-DHvLzKXk.js"),__vite__mapDeps([126,1,2,3,4,5,127,10,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-BtspbkrR.js").then(o=>o.S),__vite__mapDeps([127,10,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc--AhI_iEj.js"),__vite__mapDeps([128,1,2,3,4,5,129,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-3w4lINBO.js").then(o=>o.S),__vite__mapDeps([129,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-VB1pK4gH.js"),__vite__mapDeps([130,1,2,3,4,5,131,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-DQqyulSi.js").then(o=>o.S),__vite__mapDeps([131,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-Bz9z8Tzz.js"),__vite__mapDeps([132,1,2,3,4,5,133,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-ynJ6K59N.js").then(o=>o.S),__vite__mapDeps([133,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-BOr8Ib3G.js"),__vite__mapDeps([134,1,2,3,4,5,135,7]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-D1qdm5KS.js").then(o=>o.S),__vite__mapDeps([135,7]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-CqPUfoyH.js"),__vite__mapDeps([136,1,2,3,4,5,137,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-BcS194xO.js").then(o=>o.S),__vite__mapDeps([137,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-Bdw3kS0u.js"),__vite__mapDeps([138,1,2,3,4,5,139,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-Da5vP6j9.js").then(o=>o.S),__vite__mapDeps([139,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-CMve73Qu.js"),__vite__mapDeps([140,1,2,3,4,5,141,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-CnjwrJIJ.js").then(o=>o.S),__vite__mapDeps([141,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-Cu30UTh8.js"),__vite__mapDeps([142,1,2,3,4,5,143,10,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-C0by9R4d.js").then(o=>o.S),__vite__mapDeps([143,10,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-Cdm3ct9I.js"),__vite__mapDeps([144,1,2,3,4,5,145,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-C6mGzV-c.js").then(o=>o.S),__vite__mapDeps([145,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-TfrZeLHX.js"),__vite__mapDeps([146,1,2,3,4,5,147,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-BSMSOHpu.js").then(o=>o.S),__vite__mapDeps([147,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-BRRfhnfm.js"),__vite__mapDeps([148,1,2,3,4,5,149,10,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-BlPgYOlW.js").then(o=>o.S),__vite__mapDeps([149,10,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-C0fxZlp5.js"),__vite__mapDeps([150,1,2,3,4,5,151,10,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-CEsII2zx.js").then(o=>o.S),__vite__mapDeps([151,10,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-DvE9P8W9.js"),__vite__mapDeps([152,1,2,3,4,5,153]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-ag4kEcvO.js"),__vite__mapDeps([154,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-B-sGl0hz.js"),__vite__mapDeps([155,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-JVDDpBdw.js"),__vite__mapDeps([156,1,2,3,4,5,157,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-Pq9wDPMV.js").then(o=>o.L),__vite__mapDeps([157,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-DoBKzkWA.js"),__vite__mapDeps([158,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-Bf6ieF6v.js"),__vite__mapDeps([159,1,2,3,4,5,7,160]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-Bij6E0wB.js").then(o=>o.E),__vite__mapDeps([160,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-CjbYaQzM.js"),__vite__mapDeps([161,1,2,3,4,5,162,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-MEVnbH3f.js").then(o=>o.S),__vite__mapDeps([162,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-DV592QQ2.js"),__vite__mapDeps([163,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-DApx7ghI.js"),__vite__mapDeps([164,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-BfeZvYQz.js"),__vite__mapDeps([165,1,2,3,4,5,153]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-w7o8Agcr.js"),__vite__mapDeps([166,1,2,3,4,5,153,167,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-CLtcgagc.js"),__vite__mapDeps([167,7]),import.meta.url)};async function T(o){return L[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-CRqr0V-9.js"),__vite__mapDeps([168,10,7,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-DaYV1EZe.js"),__vite__mapDeps([169,168,10,7,4,2,170]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([171,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([172,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([173,170]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([174,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-CrScLkoQ.js"),[],import.meta.url),o[10]??t(()=>import("./preview-BJ10gr0-.js"),__vite__mapDeps([175,16,10,7,12,20,27,15,11,13,14,19,23,26,31,39,40,36,55,176]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(T,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/rc/assets/iframe-BDLrX2vE.js b/rc/assets/iframe-BXEjRaIp.js similarity index 68% rename from rc/assets/iframe-BDLrX2vE.js rename to rc/assets/iframe-BXEjRaIp.js index 38ea440..a844652 100644 --- a/rc/assets/iframe-BDLrX2vE.js +++ b/rc/assets/iframe-BXEjRaIp.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./card.doc-CPLUv20D.js","./index-Dxx82nxn.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-w933pGNw.js","./card.stories-BPBRsOVy.js","./lit-html-B2eaWknC.js","./widget.doc-BCKoITvV.js","./widget.stories-CdysMAB6.js","./accordion.doc-DOdGXMaZ.js","./accordion.stories-39zOIiNn.js","./lit-element-DhY7bShc.js","./accordion-CfOPVxwX.js","./property-DnLABHHV.js","./property-types-CkH-zh1n.js","./class-map-BDeD7Kfm.js","./static-B9bHPl91.js","./custom-element-scope-Dp4Dg8bo.js","./action-menu.doc-B5m-U-Rp.js","./action-menu.stories-C6IVtfNY.js","./action-menu-DIAPuhNG.js","./reset.style-B0CQ8619.js","./popper-CMBiYTiD.js","./alert.doc-BOPkbefP.js","./alert.stories-7zX9OGsn.js","./alert-C6k41s5Y.js","./avatar.doc-Cea14kXY.js","./avatar.stories-CSsVYqEK.js","./avatar-qmcOoFp0.js","./icon.style-DPTab5RN.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-DXunrNWQ.js","./badge.stories-DT4NliRH.js","./badge-Bk6SotTl.js","./breadcrumb.doc-RJ_c1kv-.js","./breadcrumb.stories-DUarcv0n.js","./breadcrumb-CMd2B89-.js","./button-link.doc-Dv82MVgd.js","./button-link.stories-CdQT97cJ.js","./button-link-CDUkXfss.js","./button.doc-C7L-VgwO.js","./button.stories-CfBb6Vp1.js","./button-DoKF2nNJ.js","./button.style-2dqsCQot.js","./chat-message.doc-RgxDr-jX.js","./chat-message.stories-BhZXpuNm.js","./checkbox.doc-DocDDASd.js","./checkbox.stories-ezVek6yQ.js","./chip.doc-BIXPwq2K.js","./chip.stories-IiF9EUPx.js","./content-switcher.doc-BYyY9N3M.js","./content-switcher.stories-DgfjUAsB.js","./custom-table.doc-CdhuRxz4.js","./custom-table.stories-DxjjeUtp.js","./datepicker-range.doc-CDkvsNZ9.js","./datepicker-range.stories-DIOmFNuR.js","./datepicker.doc-BknvJ1SL.js","./datepicker.stories-mCkCyCoY.js","./datepicker-DkpLFocn.js","./decorative-icon.doc-DCSSOdFC.js","./decorative-icon.stories-BVJ7dXXN.js","./divider.doc-DQ3ioDUs.js","./divider.stories-pgGOcia4.js","./drawer.doc-BrShoT1C.js","./drawer.stories-DT9q_I36.js","./floating-button.doc-DxtxMZcx.js","./floating-button.stories-_DlOw-Af.js","./footer.doc-DzY72jVz.js","./footer.stories-DP7238oa.js","./header-links.doc-68JhqIXe.js","./header-links.stories-fkmAZVPb.js","./header-menu-patient.doc-DXPx_J4o.js","./header-menu-patient.stories-e9mTmUkC.js","./header-menu-professional.doc-CoySiEuR.js","./header-menu-professional.stories-CL-Ac7pJ.js","./header.doc-CRNLACnA.js","./header.stories-CnbwlNBE.js","./icon-badge.doc-WPV0SrwH.js","./icon-badge.stories-CioFacBZ.js","./icon-button.doc-BbGj8fmU.js","./icon-button.stories-CaIR2hmo.js","./input-action.doc-DsSSnMPL.js","./input-action.stories-CqNdaC58.js","./input-dropdown.doc-BZRG6XVG.js","./input-dropdown.stories-wKdy6_p-.js","./input-switch.doc-1AsS6VnS.js","./input-switch.stories-k_ivhGXu.js","./input.doc-CDgYqMbc.js","./input.stories-BrkwxZr1.js","./item-list.doc-CdTbK3Oq.js","./item-list.stories-C70knNWo.js","./legend.doc-D6eMJbAc.js","./legend.stories-DtWs5hw5.js","./list-menu.doc-dF7RttQx.js","./list-menu.stories-DkO56yv_.js","./list.doc-DdK6G9Za.js","./list.stories-BcZ2RFZk.js","./modal.doc-13-Ipo9-.js","./modal.stories-DBvCYULf.js","./module-header.doc-D5bEJOW1.js","./module-header.stories-BTbcHVIi.js","./notification-badge.doc-Cqsd20Yz.js","./notification-badge.stories-D4Teec5t.js","./pagination.doc-CZ5-FKR-.js","./pagination.stories-DsELIg8i.js","./popover.doc-Bjo3t2s-.js","./popover.stories-D7t51FD3.js","./progress-indicator.doc-DwM79j6U.js","./progress-indicator.stories-BKEkPYui.js","./radio-button.doc-DpvVtOes.js","./radio-button.stories-DxgrMWwA.js","./search-bar.doc-CKG_ItXK.js","./search-bar.stories-Ctsx389P.js","./selector.doc-D_XkOwC9.js","./selector.stories-CHPw8T9H.js","./sidemenu.doc-BzWagZHu.js","./sidemenu.stories-B-8kgs0B.js","./skeleton.doc-BsFBqs_W.js","./skeleton.stories-BG0Q1Tzv.js","./slider.doc-_q2SxjE1.js","./slider.stories-D6Dcn4_G.js","./spinner.doc-Bcrkwqfn.js","./spinner.stories-n-DIw-Kr.js","./split-button.doc-5FCIMY7P.js","./split-button.stories-CAV-ol94.js","./stepper.doc-BQUJuMfe.js","./stepper.stories-BUF2AEYz.js","./tabs.doc-B30Ccsei.js","./tabs.stories-1EPoqSJm.js","./task.doc-C5cygng2.js","./task.stories-D23YWUP3.js","./textarea.doc-D8_HNKFr.js","./textarea.stories-BVFxAfFi.js","./tile.doc-K2HmbeiR.js","./tile.stories-ZKctoWct.js","./timepicker.doc-DinxTz5i.js","./timepicker.stories-h5cFKlkA.js","./toast.doc-B8BqKTOv.js","./toast.stories-BzYArNdm.js","./toast-ChTcsFcR.js","./tooltip.doc-9EPwqIDt.js","./tooltip.stories-C41kQzR2.js","./upload-box.doc-BrZsAqVS.js","./upload-box.stories-D76PP_e4.js","./user-feedback.doc-BhZaA9u8.js","./user-feedback.stories-JhiRvL2e.js","./dropdown-list.doc-DI6UN9nO.js","./dropdown-list.stories-Dfw0iqD-.js","./input-field.doc-BfubggdE.js","./input-field.stories-9D2cKxT1.js","./sidebar.doc-BQdqzKXT.js","./sidebar.stories-Cw1bpr80.js","./switch.doc-CMjUfzwm.js","./switch.stories-D3i4EFIf.js","./table-css.doc-wgZg9f0Y.js","./table-css.stories-XMoWHLx6.js","./intro.doc-EFhTXP5T.js","./chunk-NUUEMKO5-Ck9k0yJP.js","./migration-breaking-changes.doc-CIM5oHSm.js","./migration-intro.doc-CvFZqZKH.js","./versions.doc-DIGK_LuW.js","./borders.doc-COqFXff4.js","./logo.doc-00wSnfCk.js","./logo.stories-DctTKhaJ.js","./colors.doc-CwFAvWuY.js","./elevation.doc-BX3XfGkt.js","./elevation.stories-D0SUOfBs.js","./icon.doc-Dp--gcrB.js","./icon.stories-DG6xn302.js","./breakpoints.doc-DQ2AZqDA.js","./grid.doc-CJnhZzOE.js","./spacing.doc-DflSxc9b.js","./typography.doc-CSfyqrCI.js","./typography.stories-C7DFWHUm.js","./entry-preview-DjIolVhg.js","./directive-helpers-B8EPEUEV.js","./entry-preview-docs-CvF5k5YT.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-CbS6dfU1.js","./preview-C2GlFv11.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,a){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,a),n in E)return;E[n]=!0;const p=n.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(!!a)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!p||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":O,p||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),p)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const T={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-CPLUv20D.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-BPBRsOVy.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/collections/widget/widget.doc.mdx":async()=>t(()=>import("./widget.doc-BCKoITvV.js"),__vite__mapDeps([8,1,2,3,4,5,9,7]),import.meta.url),"./lib/collections/widget/widget.stories.ts":async()=>t(()=>import("./widget.stories-CdysMAB6.js").then(o=>o.S),__vite__mapDeps([9,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-DOdGXMaZ.js"),__vite__mapDeps([10,1,2,3,4,5,11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-39zOIiNn.js").then(o=>o.A),__vite__mapDeps([11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-B5m-U-Rp.js"),__vite__mapDeps([19,1,2,3,4,5,20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-C6IVtfNY.js").then(o=>o.A),__vite__mapDeps([20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-BOPkbefP.js"),__vite__mapDeps([24,1,2,3,4,5,25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-7zX9OGsn.js").then(o=>o.A),__vite__mapDeps([25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-Cea14kXY.js"),__vite__mapDeps([27,1,2,3,4,5,28,12,7,29,14,30,31]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-CSsVYqEK.js").then(o=>o.S),__vite__mapDeps([28,12,7,29,14,30,31]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-DXunrNWQ.js"),__vite__mapDeps([32,1,2,3,4,5,33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-DT4NliRH.js").then(o=>o.S),__vite__mapDeps([33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-RJ_c1kv-.js"),__vite__mapDeps([35,1,2,3,4,5,36,7,37,12,14,22,17]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-DUarcv0n.js").then(o=>o.B),__vite__mapDeps([36,7,37,12,14,22,17]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-Dv82MVgd.js"),__vite__mapDeps([38,1,2,3,4,5,39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-CdQT97cJ.js").then(o=>o.S),__vite__mapDeps([39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-C7L-VgwO.js"),__vite__mapDeps([41,1,2,3,4,5,42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-CfBb6Vp1.js").then(o=>o.B),__vite__mapDeps([42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-RgxDr-jX.js"),__vite__mapDeps([45,1,2,3,4,5,46,7,31]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-BhZXpuNm.js").then(o=>o.C),__vite__mapDeps([46,7,31]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-DocDDASd.js"),__vite__mapDeps([47,1,2,3,4,5,48,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-ezVek6yQ.js").then(o=>o.S),__vite__mapDeps([48,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-BIXPwq2K.js"),__vite__mapDeps([49,1,2,3,4,5,50,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-IiF9EUPx.js").then(o=>o.S),__vite__mapDeps([50,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-BYyY9N3M.js"),__vite__mapDeps([51,1,2,3,4,5,52,12,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-DgfjUAsB.js").then(o=>o.S),__vite__mapDeps([52,12,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-CdhuRxz4.js"),__vite__mapDeps([53,1,2,3,4,5,54,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-DxjjeUtp.js").then(o=>o.C),__vite__mapDeps([54,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-CDkvsNZ9.js"),__vite__mapDeps([55,1,2,3,4,5,56,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-DIOmFNuR.js").then(o=>o.S),__vite__mapDeps([56,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-BknvJ1SL.js"),__vite__mapDeps([57,1,2,3,4,5,58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-mCkCyCoY.js").then(o=>o.S),__vite__mapDeps([58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-DCSSOdFC.js"),__vite__mapDeps([60,1,2,3,4,5,61,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BVJ7dXXN.js").then(o=>o.S),__vite__mapDeps([61,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-DQ3ioDUs.js"),__vite__mapDeps([62,1,2,3,4,5,63,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-pgGOcia4.js").then(o=>o.S),__vite__mapDeps([63,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-BrShoT1C.js"),__vite__mapDeps([64,1,2,3,4,5,65,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DT9q_I36.js").then(o=>o.S),__vite__mapDeps([65,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-DxtxMZcx.js"),__vite__mapDeps([66,1,2,3,4,5,67,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-_DlOw-Af.js").then(o=>o.S),__vite__mapDeps([67,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-DzY72jVz.js"),__vite__mapDeps([68,1,2,3,4,5,69,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DP7238oa.js").then(o=>o.S),__vite__mapDeps([69,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-68JhqIXe.js"),__vite__mapDeps([70,1,2,3,4,5,71,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-fkmAZVPb.js").then(o=>o.S),__vite__mapDeps([71,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-DXPx_J4o.js"),__vite__mapDeps([72,1,2,3,4,5,73,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-e9mTmUkC.js").then(o=>o.S),__vite__mapDeps([73,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-CoySiEuR.js"),__vite__mapDeps([74,1,2,3,4,5,75,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-CL-Ac7pJ.js").then(o=>o.S),__vite__mapDeps([75,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-CRNLACnA.js"),__vite__mapDeps([76,1,2,3,4,5,77,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-CnbwlNBE.js").then(o=>o.S),__vite__mapDeps([77,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-WPV0SrwH.js"),__vite__mapDeps([78,1,2,3,4,5,79,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-CioFacBZ.js").then(o=>o.S),__vite__mapDeps([79,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-BbGj8fmU.js"),__vite__mapDeps([80,1,2,3,4,5,81,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-CaIR2hmo.js").then(o=>o.S),__vite__mapDeps([81,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-DsSSnMPL.js"),__vite__mapDeps([82,1,2,3,4,5,83,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CqNdaC58.js").then(o=>o.S),__vite__mapDeps([83,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-BZRG6XVG.js"),__vite__mapDeps([84,1,2,3,4,5,85,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-wKdy6_p-.js").then(o=>o.S),__vite__mapDeps([85,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-1AsS6VnS.js"),__vite__mapDeps([86,1,2,3,4,5,87,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-k_ivhGXu.js").then(o=>o.S),__vite__mapDeps([87,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-CDgYqMbc.js"),__vite__mapDeps([88,1,2,3,4,5,89,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-BrkwxZr1.js").then(o=>o.S),__vite__mapDeps([89,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-CdTbK3Oq.js"),__vite__mapDeps([90,1,2,3,4,5,91,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-C70knNWo.js").then(o=>o.S),__vite__mapDeps([91,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-D6eMJbAc.js"),__vite__mapDeps([92,1,2,3,4,5,93,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-DtWs5hw5.js").then(o=>o.S),__vite__mapDeps([93,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-dF7RttQx.js"),__vite__mapDeps([94,1,2,3,4,5,95,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-DkO56yv_.js").then(o=>o.S),__vite__mapDeps([95,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-DdK6G9Za.js"),__vite__mapDeps([96,1,2,3,4,5,97,12,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BcZ2RFZk.js").then(o=>o.S),__vite__mapDeps([97,12,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-13-Ipo9-.js"),__vite__mapDeps([98,1,2,3,4,5,99,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-DBvCYULf.js").then(o=>o.S),__vite__mapDeps([99,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-D5bEJOW1.js"),__vite__mapDeps([100,1,2,3,4,5,101,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-BTbcHVIi.js").then(o=>o.S),__vite__mapDeps([101,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-Cqsd20Yz.js"),__vite__mapDeps([102,1,2,3,4,5,103,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-D4Teec5t.js").then(o=>o.S),__vite__mapDeps([103,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-CZ5-FKR-.js"),__vite__mapDeps([104,1,2,3,4,5,105,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-DsELIg8i.js").then(o=>o.S),__vite__mapDeps([105,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-Bjo3t2s-.js"),__vite__mapDeps([106,1,2,3,4,5,107,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-D7t51FD3.js").then(o=>o.S),__vite__mapDeps([107,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-DwM79j6U.js"),__vite__mapDeps([108,1,2,3,4,5,109,12,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-BKEkPYui.js").then(o=>o.S),__vite__mapDeps([109,12,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-DpvVtOes.js"),__vite__mapDeps([110,1,2,3,4,5,111,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-DxgrMWwA.js").then(o=>o.S),__vite__mapDeps([111,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-CKG_ItXK.js"),__vite__mapDeps([112,1,2,3,4,5,113,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-Ctsx389P.js").then(o=>o.S),__vite__mapDeps([113,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-D_XkOwC9.js"),__vite__mapDeps([114,1,2,3,4,5,115,12,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-CHPw8T9H.js").then(o=>o.S),__vite__mapDeps([115,12,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-BzWagZHu.js"),__vite__mapDeps([116,1,2,3,4,5,117,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-B-8kgs0B.js").then(o=>o.S),__vite__mapDeps([117,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-BsFBqs_W.js"),__vite__mapDeps([118,1,2,3,4,5,119,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-BG0Q1Tzv.js").then(o=>o.S),__vite__mapDeps([119,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-_q2SxjE1.js"),__vite__mapDeps([120,1,2,3,4,5,121,12,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-D6Dcn4_G.js").then(o=>o.S),__vite__mapDeps([121,12,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-Bcrkwqfn.js"),__vite__mapDeps([122,1,2,3,4,5,123,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-n-DIw-Kr.js").then(o=>o.S),__vite__mapDeps([123,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-5FCIMY7P.js"),__vite__mapDeps([124,1,2,3,4,5,125,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-CAV-ol94.js").then(o=>o.S),__vite__mapDeps([125,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-BQUJuMfe.js"),__vite__mapDeps([126,1,2,3,4,5,127,12,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUF2AEYz.js").then(o=>o.S),__vite__mapDeps([127,12,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-B30Ccsei.js"),__vite__mapDeps([128,1,2,3,4,5,129,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-1EPoqSJm.js").then(o=>o.S),__vite__mapDeps([129,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-C5cygng2.js"),__vite__mapDeps([130,1,2,3,4,5,131,12,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-D23YWUP3.js").then(o=>o.S),__vite__mapDeps([131,12,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc-D8_HNKFr.js"),__vite__mapDeps([132,1,2,3,4,5,133,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-BVFxAfFi.js").then(o=>o.S),__vite__mapDeps([133,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-K2HmbeiR.js"),__vite__mapDeps([134,1,2,3,4,5,135,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-ZKctoWct.js").then(o=>o.S),__vite__mapDeps([135,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-DinxTz5i.js"),__vite__mapDeps([136,1,2,3,4,5,137,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-h5cFKlkA.js").then(o=>o.S),__vite__mapDeps([137,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-B8BqKTOv.js"),__vite__mapDeps([138,1,2,3,4,5,139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-BzYArNdm.js").then(o=>o.T),__vite__mapDeps([139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-9EPwqIDt.js"),__vite__mapDeps([141,1,2,3,4,5,142,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-C41kQzR2.js").then(o=>o.S),__vite__mapDeps([142,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-BrZsAqVS.js"),__vite__mapDeps([143,1,2,3,4,5,144,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-D76PP_e4.js").then(o=>o.S),__vite__mapDeps([144,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-BhZaA9u8.js"),__vite__mapDeps([145,1,2,3,4,5,146,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-JhiRvL2e.js").then(o=>o.S),__vite__mapDeps([146,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-DI6UN9nO.js"),__vite__mapDeps([147,1,2,3,4,5,148,12,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-Dfw0iqD-.js").then(o=>o.S),__vite__mapDeps([148,12,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-BfubggdE.js"),__vite__mapDeps([149,1,2,3,4,5,150,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-9D2cKxT1.js").then(o=>o.S),__vite__mapDeps([150,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-BQdqzKXT.js"),__vite__mapDeps([151,1,2,3,4,5,152,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-Cw1bpr80.js").then(o=>o.S),__vite__mapDeps([152,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-CMjUfzwm.js"),__vite__mapDeps([153,1,2,3,4,5,154,12,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-D3i4EFIf.js").then(o=>o.S),__vite__mapDeps([154,12,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-wgZg9f0Y.js"),__vite__mapDeps([155,1,2,3,4,5,156,12,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-XMoWHLx6.js").then(o=>o.S),__vite__mapDeps([156,12,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-EFhTXP5T.js"),__vite__mapDeps([157,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-breaking-changes.doc.mdx":async()=>t(()=>import("./migration-breaking-changes.doc-CIM5oHSm.js"),__vite__mapDeps([159,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-intro.doc.mdx":async()=>t(()=>import("./migration-intro.doc-CvFZqZKH.js"),__vite__mapDeps([160,1,2,3,4,5,158]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-DIGK_LuW.js"),__vite__mapDeps([161,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-COqFXff4.js"),__vite__mapDeps([162,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-00wSnfCk.js"),__vite__mapDeps([163,1,2,3,4,5,164,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-DctTKhaJ.js").then(o=>o.L),__vite__mapDeps([164,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-CwFAvWuY.js"),__vite__mapDeps([165,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-BX3XfGkt.js"),__vite__mapDeps([166,1,2,3,4,5,7,167]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-D0SUOfBs.js").then(o=>o.E),__vite__mapDeps([167,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-Dp--gcrB.js"),__vite__mapDeps([168,1,2,3,4,5,169,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-DG6xn302.js").then(o=>o.S),__vite__mapDeps([169,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-DQ2AZqDA.js"),__vite__mapDeps([170,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-CJnhZzOE.js"),__vite__mapDeps([171,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-DflSxc9b.js"),__vite__mapDeps([172,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-CSfyqrCI.js"),__vite__mapDeps([173,1,2,3,4,5,158,174,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-C7DFWHUm.js"),__vite__mapDeps([174,7]),import.meta.url)};async function L(o){return T[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-DjIolVhg.js"),__vite__mapDeps([175,12,7,176,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-CvF5k5YT.js"),__vite__mapDeps([177,175,12,7,176,4,2,178]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([179,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([180,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([181,178]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([182,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-d5xhiKam.js"),[],import.meta.url),o[10]??t(()=>import("./preview-CbS6dfU1.js"),__vite__mapDeps([183,18,12,7,14,22,30,16,13,15,17,21,23,26,29,34,37,40,43,44,140,176,59,184]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(L,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__fileDeps=["./card.doc-DqAPqJv0.js","./index-CMvVeEhu.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-C5hQraAl.js","./card.stories-BPBRsOVy.js","./lit-html-B2eaWknC.js","./widget.doc-VLVrFou-.js","./widget.stories-CdysMAB6.js","./accordion.doc-E6cZaKAW.js","./accordion.stories-39zOIiNn.js","./lit-element-DhY7bShc.js","./accordion-CfOPVxwX.js","./property-DnLABHHV.js","./property-types-CkH-zh1n.js","./class-map-BDeD7Kfm.js","./static-B9bHPl91.js","./custom-element-scope-Dp4Dg8bo.js","./action-menu.doc-pI0Ztw5k.js","./action-menu.stories-C6IVtfNY.js","./action-menu-DIAPuhNG.js","./reset.style-B0CQ8619.js","./popper-CMBiYTiD.js","./alert.doc-CbvG_oKj.js","./alert.stories-7zX9OGsn.js","./alert-C6k41s5Y.js","./avatar.doc-CCPccyHZ.js","./avatar.stories-CSsVYqEK.js","./avatar-qmcOoFp0.js","./icon.style-DPTab5RN.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-D5NFTOUR.js","./badge.stories-DT4NliRH.js","./badge-Bk6SotTl.js","./breadcrumb.doc-DKzF9tNe.js","./breadcrumb.stories-DUarcv0n.js","./breadcrumb-CMd2B89-.js","./button-link.doc-Bs1UnYAH.js","./button-link.stories-CdQT97cJ.js","./button-link-CDUkXfss.js","./button.doc-DvSRl6D5.js","./button.stories-CfBb6Vp1.js","./button-DoKF2nNJ.js","./button.style-2dqsCQot.js","./chat-message.doc-yR96luyf.js","./chat-message.stories-BhZXpuNm.js","./checkbox.doc-DIq4lQv1.js","./checkbox.stories-ezVek6yQ.js","./chip.doc-J_aNEivV.js","./chip.stories-IiF9EUPx.js","./content-switcher.doc-DsVAcuXs.js","./content-switcher.stories-DgfjUAsB.js","./custom-table.doc-CXQ4if7r.js","./custom-table.stories-DxjjeUtp.js","./datepicker-range.doc-2BZbXoG7.js","./datepicker-range.stories-DIOmFNuR.js","./datepicker.doc-lP1B55wK.js","./datepicker.stories-mCkCyCoY.js","./datepicker-DkpLFocn.js","./decorative-icon.doc-DNdA2-O8.js","./decorative-icon.stories-BVJ7dXXN.js","./divider.doc-C2ulC2pz.js","./divider.stories-pgGOcia4.js","./drawer.doc-ypIqKePQ.js","./drawer.stories-DT9q_I36.js","./floating-button.doc-BFIdCaXL.js","./floating-button.stories-_DlOw-Af.js","./footer.doc-BoEDmlDY.js","./footer.stories-DP7238oa.js","./header-links.doc-BnPqmTCH.js","./header-links.stories-fkmAZVPb.js","./header-menu-patient.doc-61ijBoYJ.js","./header-menu-patient.stories-e9mTmUkC.js","./header-menu-professional.doc-Dp_BGBRW.js","./header-menu-professional.stories-CL-Ac7pJ.js","./header.doc-CRfcjC4g.js","./header.stories-CnbwlNBE.js","./icon-badge.doc-fUt-0Hw9.js","./icon-badge.stories-CioFacBZ.js","./icon-button.doc-D869X6pZ.js","./icon-button.stories-CaIR2hmo.js","./input-action.doc-C5AAwzBX.js","./input-action.stories-CqNdaC58.js","./input-dropdown.doc-B9_G8FKX.js","./input-dropdown.stories-wKdy6_p-.js","./input-switch.doc-B1ptNveN.js","./input-switch.stories-k_ivhGXu.js","./input.doc-D2D-HpSa.js","./input.stories-BrkwxZr1.js","./item-list.doc-CmMyNDPM.js","./item-list.stories-C70knNWo.js","./legend.doc-B8uM6gtf.js","./legend.stories-DtWs5hw5.js","./list-menu.doc-BynoHZ2g.js","./list-menu.stories-DkO56yv_.js","./list.doc-tc-ax5oO.js","./list.stories-BcZ2RFZk.js","./modal.doc-CMm5gecP.js","./modal.stories-DBvCYULf.js","./module-header.doc-QgspREwe.js","./module-header.stories-BTbcHVIi.js","./notification-badge.doc-CRrYBZ3e.js","./notification-badge.stories-D4Teec5t.js","./pagination.doc-Bw8qocci.js","./pagination.stories-DsELIg8i.js","./popover.doc-jYwWmTvD.js","./popover.stories-D7t51FD3.js","./progress-indicator.doc-B89Ps37h.js","./progress-indicator.stories-BKEkPYui.js","./radio-button.doc-6nxHMcEi.js","./radio-button.stories-DxgrMWwA.js","./search-bar.doc-6V405icA.js","./search-bar.stories-Ctsx389P.js","./selector.doc-DO9ng5El.js","./selector.stories-CHPw8T9H.js","./sidemenu.doc-CQqiB9C1.js","./sidemenu.stories-B-8kgs0B.js","./skeleton.doc-Dr7lETXB.js","./skeleton.stories-BG0Q1Tzv.js","./slider.doc-DS3aMvIT.js","./slider.stories-D6Dcn4_G.js","./spinner.doc-CJM2yx_C.js","./spinner.stories-n-DIw-Kr.js","./split-button.doc-REKBnnzF.js","./split-button.stories-CAV-ol94.js","./stepper.doc-DMIqt6Fd.js","./stepper.stories-BUF2AEYz.js","./tabs.doc-BgQCbU-j.js","./tabs.stories-1EPoqSJm.js","./task.doc-B8LyBGOf.js","./task.stories-D23YWUP3.js","./textarea.doc-qe2VKVN-.js","./textarea.stories-BVFxAfFi.js","./tile.doc-BdA7Yux-.js","./tile.stories-ZKctoWct.js","./timepicker.doc-BDRNi_Du.js","./timepicker.stories-h5cFKlkA.js","./toast.doc-jKEK5Fcg.js","./toast.stories-BzYArNdm.js","./toast-ChTcsFcR.js","./tooltip.doc-DbTqiEOo.js","./tooltip.stories-C41kQzR2.js","./upload-box.doc-B88qTNL9.js","./upload-box.stories-D76PP_e4.js","./user-feedback.doc-waHIT4BY.js","./user-feedback.stories-JhiRvL2e.js","./dropdown-list.doc-XVp1cLxJ.js","./dropdown-list.stories-Dfw0iqD-.js","./input-field.doc-Buh_-tuK.js","./input-field.stories-9D2cKxT1.js","./sidebar.doc-B-L68D5l.js","./sidebar.stories-Cw1bpr80.js","./switch.doc-DECpm8e4.js","./switch.stories-D3i4EFIf.js","./table-css.doc-Dn6umAbe.js","./table-css.stories-XMoWHLx6.js","./intro.doc-C-Qu0EZA.js","./chunk-NUUEMKO5-OZ8B_0Q4.js","./migration-breaking-changes.doc-Tsrq-Pf4.js","./migration-intro.doc-BWEZETis.js","./versions.doc-Dkyk1IKF.js","./borders.doc-CDrLWZCF.js","./logo.doc-BN8ecWiV.js","./logo.stories-DctTKhaJ.js","./colors.doc-DlN3bWDS.js","./elevation.doc-BoxYcmU5.js","./elevation.stories-D0SUOfBs.js","./icon.doc-D8IIFBAz.js","./icon.stories-DG6xn302.js","./breakpoints.doc-DWF6EcJD.js","./grid.doc-D1OISHee.js","./spacing.doc-DU83uqiN.js","./typography.doc-Du6gKFRz.js","./typography.stories-C7DFWHUm.js","./entry-preview-DjIolVhg.js","./directive-helpers-B8EPEUEV.js","./entry-preview-docs-CvF5k5YT.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-CbS6dfU1.js","./preview-C2GlFv11.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,a){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,a),n in E)return;E[n]=!0;const p=n.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(!!a)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!p||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":O,p||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),p)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const T={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-DqAPqJv0.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-BPBRsOVy.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/collections/widget/widget.doc.mdx":async()=>t(()=>import("./widget.doc-VLVrFou-.js"),__vite__mapDeps([8,1,2,3,4,5,9,7]),import.meta.url),"./lib/collections/widget/widget.stories.ts":async()=>t(()=>import("./widget.stories-CdysMAB6.js").then(o=>o.S),__vite__mapDeps([9,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-E6cZaKAW.js"),__vite__mapDeps([10,1,2,3,4,5,11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-39zOIiNn.js").then(o=>o.A),__vite__mapDeps([11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-pI0Ztw5k.js"),__vite__mapDeps([19,1,2,3,4,5,20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-C6IVtfNY.js").then(o=>o.A),__vite__mapDeps([20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-CbvG_oKj.js"),__vite__mapDeps([24,1,2,3,4,5,25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-7zX9OGsn.js").then(o=>o.A),__vite__mapDeps([25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-CCPccyHZ.js"),__vite__mapDeps([27,1,2,3,4,5,28,12,7,29,14,30,31]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-CSsVYqEK.js").then(o=>o.S),__vite__mapDeps([28,12,7,29,14,30,31]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-D5NFTOUR.js"),__vite__mapDeps([32,1,2,3,4,5,33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-DT4NliRH.js").then(o=>o.S),__vite__mapDeps([33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-DKzF9tNe.js"),__vite__mapDeps([35,1,2,3,4,5,36,7,37,12,14,22,17]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-DUarcv0n.js").then(o=>o.B),__vite__mapDeps([36,7,37,12,14,22,17]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-Bs1UnYAH.js"),__vite__mapDeps([38,1,2,3,4,5,39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-CdQT97cJ.js").then(o=>o.S),__vite__mapDeps([39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-DvSRl6D5.js"),__vite__mapDeps([41,1,2,3,4,5,42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-CfBb6Vp1.js").then(o=>o.B),__vite__mapDeps([42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-yR96luyf.js"),__vite__mapDeps([45,1,2,3,4,5,46,7,31]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-BhZXpuNm.js").then(o=>o.C),__vite__mapDeps([46,7,31]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-DIq4lQv1.js"),__vite__mapDeps([47,1,2,3,4,5,48,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-ezVek6yQ.js").then(o=>o.S),__vite__mapDeps([48,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-J_aNEivV.js"),__vite__mapDeps([49,1,2,3,4,5,50,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-IiF9EUPx.js").then(o=>o.S),__vite__mapDeps([50,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-DsVAcuXs.js"),__vite__mapDeps([51,1,2,3,4,5,52,12,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-DgfjUAsB.js").then(o=>o.S),__vite__mapDeps([52,12,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-CXQ4if7r.js"),__vite__mapDeps([53,1,2,3,4,5,54,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-DxjjeUtp.js").then(o=>o.C),__vite__mapDeps([54,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-2BZbXoG7.js"),__vite__mapDeps([55,1,2,3,4,5,56,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-DIOmFNuR.js").then(o=>o.S),__vite__mapDeps([56,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-lP1B55wK.js"),__vite__mapDeps([57,1,2,3,4,5,58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-mCkCyCoY.js").then(o=>o.S),__vite__mapDeps([58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-DNdA2-O8.js"),__vite__mapDeps([60,1,2,3,4,5,61,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BVJ7dXXN.js").then(o=>o.S),__vite__mapDeps([61,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-C2ulC2pz.js"),__vite__mapDeps([62,1,2,3,4,5,63,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-pgGOcia4.js").then(o=>o.S),__vite__mapDeps([63,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-ypIqKePQ.js"),__vite__mapDeps([64,1,2,3,4,5,65,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DT9q_I36.js").then(o=>o.S),__vite__mapDeps([65,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-BFIdCaXL.js"),__vite__mapDeps([66,1,2,3,4,5,67,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-_DlOw-Af.js").then(o=>o.S),__vite__mapDeps([67,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-BoEDmlDY.js"),__vite__mapDeps([68,1,2,3,4,5,69,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DP7238oa.js").then(o=>o.S),__vite__mapDeps([69,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-BnPqmTCH.js"),__vite__mapDeps([70,1,2,3,4,5,71,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-fkmAZVPb.js").then(o=>o.S),__vite__mapDeps([71,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-61ijBoYJ.js"),__vite__mapDeps([72,1,2,3,4,5,73,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-e9mTmUkC.js").then(o=>o.S),__vite__mapDeps([73,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-Dp_BGBRW.js"),__vite__mapDeps([74,1,2,3,4,5,75,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-CL-Ac7pJ.js").then(o=>o.S),__vite__mapDeps([75,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-CRfcjC4g.js"),__vite__mapDeps([76,1,2,3,4,5,77,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-CnbwlNBE.js").then(o=>o.S),__vite__mapDeps([77,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-fUt-0Hw9.js"),__vite__mapDeps([78,1,2,3,4,5,79,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-CioFacBZ.js").then(o=>o.S),__vite__mapDeps([79,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-D869X6pZ.js"),__vite__mapDeps([80,1,2,3,4,5,81,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-CaIR2hmo.js").then(o=>o.S),__vite__mapDeps([81,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-C5AAwzBX.js"),__vite__mapDeps([82,1,2,3,4,5,83,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CqNdaC58.js").then(o=>o.S),__vite__mapDeps([83,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-B9_G8FKX.js"),__vite__mapDeps([84,1,2,3,4,5,85,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-wKdy6_p-.js").then(o=>o.S),__vite__mapDeps([85,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-B1ptNveN.js"),__vite__mapDeps([86,1,2,3,4,5,87,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-k_ivhGXu.js").then(o=>o.S),__vite__mapDeps([87,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-D2D-HpSa.js"),__vite__mapDeps([88,1,2,3,4,5,89,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-BrkwxZr1.js").then(o=>o.S),__vite__mapDeps([89,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-CmMyNDPM.js"),__vite__mapDeps([90,1,2,3,4,5,91,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-C70knNWo.js").then(o=>o.S),__vite__mapDeps([91,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-B8uM6gtf.js"),__vite__mapDeps([92,1,2,3,4,5,93,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-DtWs5hw5.js").then(o=>o.S),__vite__mapDeps([93,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-BynoHZ2g.js"),__vite__mapDeps([94,1,2,3,4,5,95,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-DkO56yv_.js").then(o=>o.S),__vite__mapDeps([95,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-tc-ax5oO.js"),__vite__mapDeps([96,1,2,3,4,5,97,12,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BcZ2RFZk.js").then(o=>o.S),__vite__mapDeps([97,12,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-CMm5gecP.js"),__vite__mapDeps([98,1,2,3,4,5,99,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-DBvCYULf.js").then(o=>o.S),__vite__mapDeps([99,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-QgspREwe.js"),__vite__mapDeps([100,1,2,3,4,5,101,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-BTbcHVIi.js").then(o=>o.S),__vite__mapDeps([101,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-CRrYBZ3e.js"),__vite__mapDeps([102,1,2,3,4,5,103,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-D4Teec5t.js").then(o=>o.S),__vite__mapDeps([103,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-Bw8qocci.js"),__vite__mapDeps([104,1,2,3,4,5,105,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-DsELIg8i.js").then(o=>o.S),__vite__mapDeps([105,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-jYwWmTvD.js"),__vite__mapDeps([106,1,2,3,4,5,107,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-D7t51FD3.js").then(o=>o.S),__vite__mapDeps([107,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-B89Ps37h.js"),__vite__mapDeps([108,1,2,3,4,5,109,12,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-BKEkPYui.js").then(o=>o.S),__vite__mapDeps([109,12,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-6nxHMcEi.js"),__vite__mapDeps([110,1,2,3,4,5,111,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-DxgrMWwA.js").then(o=>o.S),__vite__mapDeps([111,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-6V405icA.js"),__vite__mapDeps([112,1,2,3,4,5,113,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-Ctsx389P.js").then(o=>o.S),__vite__mapDeps([113,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-DO9ng5El.js"),__vite__mapDeps([114,1,2,3,4,5,115,12,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-CHPw8T9H.js").then(o=>o.S),__vite__mapDeps([115,12,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-CQqiB9C1.js"),__vite__mapDeps([116,1,2,3,4,5,117,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-B-8kgs0B.js").then(o=>o.S),__vite__mapDeps([117,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-Dr7lETXB.js"),__vite__mapDeps([118,1,2,3,4,5,119,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-BG0Q1Tzv.js").then(o=>o.S),__vite__mapDeps([119,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-DS3aMvIT.js"),__vite__mapDeps([120,1,2,3,4,5,121,12,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-D6Dcn4_G.js").then(o=>o.S),__vite__mapDeps([121,12,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-CJM2yx_C.js"),__vite__mapDeps([122,1,2,3,4,5,123,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-n-DIw-Kr.js").then(o=>o.S),__vite__mapDeps([123,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-REKBnnzF.js"),__vite__mapDeps([124,1,2,3,4,5,125,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-CAV-ol94.js").then(o=>o.S),__vite__mapDeps([125,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-DMIqt6Fd.js"),__vite__mapDeps([126,1,2,3,4,5,127,12,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUF2AEYz.js").then(o=>o.S),__vite__mapDeps([127,12,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-BgQCbU-j.js"),__vite__mapDeps([128,1,2,3,4,5,129,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-1EPoqSJm.js").then(o=>o.S),__vite__mapDeps([129,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-B8LyBGOf.js"),__vite__mapDeps([130,1,2,3,4,5,131,12,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-D23YWUP3.js").then(o=>o.S),__vite__mapDeps([131,12,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc-qe2VKVN-.js"),__vite__mapDeps([132,1,2,3,4,5,133,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-BVFxAfFi.js").then(o=>o.S),__vite__mapDeps([133,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-BdA7Yux-.js"),__vite__mapDeps([134,1,2,3,4,5,135,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-ZKctoWct.js").then(o=>o.S),__vite__mapDeps([135,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-BDRNi_Du.js"),__vite__mapDeps([136,1,2,3,4,5,137,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-h5cFKlkA.js").then(o=>o.S),__vite__mapDeps([137,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-jKEK5Fcg.js"),__vite__mapDeps([138,1,2,3,4,5,139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-BzYArNdm.js").then(o=>o.T),__vite__mapDeps([139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-DbTqiEOo.js"),__vite__mapDeps([141,1,2,3,4,5,142,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-C41kQzR2.js").then(o=>o.S),__vite__mapDeps([142,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-B88qTNL9.js"),__vite__mapDeps([143,1,2,3,4,5,144,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-D76PP_e4.js").then(o=>o.S),__vite__mapDeps([144,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-waHIT4BY.js"),__vite__mapDeps([145,1,2,3,4,5,146,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-JhiRvL2e.js").then(o=>o.S),__vite__mapDeps([146,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-XVp1cLxJ.js"),__vite__mapDeps([147,1,2,3,4,5,148,12,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-Dfw0iqD-.js").then(o=>o.S),__vite__mapDeps([148,12,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-Buh_-tuK.js"),__vite__mapDeps([149,1,2,3,4,5,150,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-9D2cKxT1.js").then(o=>o.S),__vite__mapDeps([150,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-B-L68D5l.js"),__vite__mapDeps([151,1,2,3,4,5,152,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-Cw1bpr80.js").then(o=>o.S),__vite__mapDeps([152,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-DECpm8e4.js"),__vite__mapDeps([153,1,2,3,4,5,154,12,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-D3i4EFIf.js").then(o=>o.S),__vite__mapDeps([154,12,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-Dn6umAbe.js"),__vite__mapDeps([155,1,2,3,4,5,156,12,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-XMoWHLx6.js").then(o=>o.S),__vite__mapDeps([156,12,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-C-Qu0EZA.js"),__vite__mapDeps([157,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-breaking-changes.doc.mdx":async()=>t(()=>import("./migration-breaking-changes.doc-Tsrq-Pf4.js"),__vite__mapDeps([159,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-intro.doc.mdx":async()=>t(()=>import("./migration-intro.doc-BWEZETis.js"),__vite__mapDeps([160,1,2,3,4,5,158]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-Dkyk1IKF.js"),__vite__mapDeps([161,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-CDrLWZCF.js"),__vite__mapDeps([162,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-BN8ecWiV.js"),__vite__mapDeps([163,1,2,3,4,5,164,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-DctTKhaJ.js").then(o=>o.L),__vite__mapDeps([164,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-DlN3bWDS.js"),__vite__mapDeps([165,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-BoxYcmU5.js"),__vite__mapDeps([166,1,2,3,4,5,7,167]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-D0SUOfBs.js").then(o=>o.E),__vite__mapDeps([167,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-D8IIFBAz.js"),__vite__mapDeps([168,1,2,3,4,5,169,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-DG6xn302.js").then(o=>o.S),__vite__mapDeps([169,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-DWF6EcJD.js"),__vite__mapDeps([170,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-D1OISHee.js"),__vite__mapDeps([171,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-DU83uqiN.js"),__vite__mapDeps([172,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-Du6gKFRz.js"),__vite__mapDeps([173,1,2,3,4,5,158,174,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-C7DFWHUm.js"),__vite__mapDeps([174,7]),import.meta.url)};async function L(o){return T[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-DjIolVhg.js"),__vite__mapDeps([175,12,7,176,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-CvF5k5YT.js"),__vite__mapDeps([177,175,12,7,176,4,2,178]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([179,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([180,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([181,178]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([182,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-JqTk6qmj.js"),[],import.meta.url),o[10]??t(()=>import("./preview-CbS6dfU1.js"),__vite__mapDeps([183,18,12,7,14,22,30,16,13,15,17,21,23,26,29,34,37,40,43,44,140,176,59,184]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(L,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/rc/assets/iframe-BaSWKbVt.js b/rc/assets/iframe-BaSWKbVt.js deleted file mode 100644 index 09f6c5b..0000000 --- a/rc/assets/iframe-BaSWKbVt.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./card.doc-Cvp7Ny0F.js","./index-0DKGoewk.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-FamfD7PC.js","./card.stories-DJycBVjk.js","./lit-html-paDGiEfB.js","./widget.doc-w4lCEVyh.js","./widget.stories-DRXqAFJ-.js","./accordion.doc-CkpBZKs_.js","./accordion.stories-BLuWpO92.js","./lit-element-vV9fql9z.js","./accordion-D8Cicuuk.js","./property-CzN8u98o.js","./property-types-CkH-zh1n.js","./class-map-2iHk_WiG.js","./custom-element-scope-KJWplpvx.js","./action-menu.doc-Dr6Pb-m0.js","./action-menu.stories-CmHuG9yI.js","./action-menu-i5ox-tYM.js","./reset.style-B0CQ8619.js","./alert.doc-zuqeYjLK.js","./alert.stories-Vn-OldJ6.js","./alert-DctZgQKX.js","./avatar.doc-BeDiMo1p.js","./avatar.stories-BjgRMOLo.js","./avatar-Bb5T61dP.js","./icon.style-DPTab5RN.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-D8LqLHZn.js","./badge.stories-w11TmSPA.js","./badge-yWdXoMyt.js","./breadcrumb.doc-RfFsXkWc.js","./breadcrumb.stories-CKT__cNf.js","./button-link.doc-CWXubBkB.js","./button-link.stories-D5hTAiMW.js","./button-link-AVTPQ2S6.js","./button.doc-C8NzlBbo.js","./button.stories-BTDyR5mt.js","./button-DbpOJUcP.js","./button.style-2dqsCQot.js","./chat-message.doc-DunA7w4f.js","./chat-message.stories-gbmUYz7d.js","./checkbox.doc-Dqaf3l3a.js","./checkbox.stories-BYYVLdII.js","./chip.doc-DddxOM9I.js","./chip.stories-DO4UTlwQ.js","./content-switcher.doc-DLEROyFM.js","./content-switcher.stories-77fkpHwH.js","./custom-table.doc-BMDmce2F.js","./custom-table.stories-y7CdkspH.js","./datepicker-range.doc-B5ePP1z3.js","./datepicker-range.stories-BpfC2-J9.js","./datepicker.doc-CwX5BUL5.js","./datepicker.stories-Bv2cjJ0c.js","./datepicker-Bsbzzuym.js","./decorative-icon.doc-DT4VU_XQ.js","./decorative-icon.stories-BQDWsPJH.js","./divider.doc-oI_jCLL1.js","./divider.stories-DB5eeA3X.js","./drawer.doc-C16Xlo87.js","./drawer.stories-DURugo2o.js","./floating-button.doc-KajDW2xi.js","./floating-button.stories-BxSwkfGc.js","./footer.doc-CJ6HZFhd.js","./footer.stories-DGF-6pqR.js","./header-links.doc-DoeGyoLn.js","./header-links.stories-Bn9PaYrj.js","./header-menu-patient.doc-qBV27G72.js","./header-menu-patient.stories-Pn15Zz3C.js","./header-menu-professional.doc-vKHEmImZ.js","./header-menu-professional.stories-DHvRiFqY.js","./header.doc-C_KYMrDt.js","./header.stories-Cox9PV2S.js","./icon-badge.doc-DVZO9bz0.js","./icon-badge.stories-DNWE1i6M.js","./icon-button.doc-B9NBZagg.js","./icon-button.stories-BwxffeYQ.js","./input-action.doc-Cpr9YLWK.js","./input-action.stories-CMPgeGxx.js","./input-dropdown.doc-BxCo32Lo.js","./input-dropdown.stories-m7adWeco.js","./input-switch.doc-0bYLL93j.js","./input-switch.stories-CIRsw79J.js","./input.doc-hSNoErC1.js","./input.stories-Jw1fSDL_.js","./item-list.doc-HjWuSNw-.js","./item-list.stories-BpY1fROV.js","./legend.doc-vAydrVMp.js","./legend.stories-BFidxGnY.js","./list-menu.doc-CMS6L9kc.js","./list-menu.stories-CBJGq-V8.js","./list.doc-CtzYzhIw.js","./list.stories-BFeDRA54.js","./modal.doc-DuTaru0r.js","./modal.stories-BGId7u5N.js","./module-header.doc-BhA8-rEe.js","./module-header.stories-DAw43PfZ.js","./notification-badge.doc-Cm1D0caL.js","./notification-badge.stories-BF-y_xf9.js","./pagination.doc-BZQL1XJZ.js","./pagination.stories-labxGTkf.js","./popover.doc-BDq4HrV9.js","./popover.stories-BB71-n-V.js","./progress-indicator.doc-7f-sKsa9.js","./progress-indicator.stories-C9fFX99H.js","./radio-button.doc-CX973TKY.js","./radio-button.stories-CD-Rdqzz.js","./search-bar.doc-FtYzGp9_.js","./search-bar.stories-DLiS1xOu.js","./selector.doc-BZQ3jK0N.js","./selector.stories-Do-1HI-T.js","./sidemenu.doc-DTVfaJkO.js","./sidemenu.stories-BmedWbij.js","./skeleton.doc-BkB3ZhZ_.js","./skeleton.stories-D0wtjzOU.js","./slider.doc-BhxhGsx5.js","./slider.stories-DdExkrtG.js","./spinner.doc-DvZvunFN.js","./spinner.stories-PG2FfI9V.js","./split-button.doc-BUfGhVVB.js","./split-button.stories-ow_bGe84.js","./stepper.doc-CVf3m0DI.js","./stepper.stories-BUZiSfMj.js","./tabs.doc-DR3_6Nt1.js","./tabs.stories-wCufqI6O.js","./task.doc-B9_ocLAU.js","./task.stories-BtspbkrR.js","./textarea.doc-LrFOkf3q.js","./textarea.stories-3w4lINBO.js","./tile.doc-DTumE3Y-.js","./tile.stories-B54-bzCj.js","./timepicker.doc-BUtv4BsO.js","./timepicker.stories-ynJ6K59N.js","./toast.doc-C8D0nsab.js","./toast.stories-D1qdm5KS.js","./tooltip.doc-Ba8Dw1GU.js","./tooltip.stories-BcS194xO.js","./upload-box.doc-CMg-ABd7.js","./upload-box.stories-Da5vP6j9.js","./user-feedback.doc-DkuPH5Oq.js","./user-feedback.stories-CnjwrJIJ.js","./dropdown-list.doc-1G70WY9M.js","./dropdown-list.stories-C0by9R4d.js","./input-field.doc-BTZcQ4kM.js","./input-field.stories-C6mGzV-c.js","./sidebar.doc-CdpMms6j.js","./sidebar.stories-BSMSOHpu.js","./switch.doc-BX6ArCn5.js","./switch.stories-BlPgYOlW.js","./table-css.doc-CREov0jM.js","./table-css.stories-CEsII2zx.js","./intro.doc-CSsF4rq5.js","./chunk-NUUEMKO5-OoXnuJHq.js","./versions.doc-DptbSbim.js","./borders.doc-_E5zUQ76.js","./logo.doc-h-v4SNWX.js","./logo.stories-Pq9wDPMV.js","./colors.doc-DGwEQttk.js","./elevation.doc-BRsOSlDi.js","./elevation.stories-Bij6E0wB.js","./icon.doc-DrCSSVp2.js","./icon.stories-MEVnbH3f.js","./breakpoints.doc-HpbnqwUS.js","./grid.doc-Bk3Gm5XW.js","./spacing.doc-BIdRgbe_.js","./typography.doc-DkwQWtJl.js","./typography.stories-CLtcgagc.js","./entry-preview-CRqr0V-9.js","./entry-preview-docs-DaYV1EZe.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-BrC6VnWQ.js","./preview-C6tpAuDc.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))p(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&p(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function p(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,p){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,p),n in E)return;E[n]=!0;const a=n.endsWith(".css"),b=a?'[rel="stylesheet"]':"";if(!!p)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":O,a||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),a)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const L={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-Cvp7Ny0F.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-DJycBVjk.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/collections/widget/widget.doc.mdx":async()=>t(()=>import("./widget.doc-w4lCEVyh.js"),__vite__mapDeps([8,1,2,3,4,5,9,7]),import.meta.url),"./lib/collections/widget/widget.stories.ts":async()=>t(()=>import("./widget.stories-DRXqAFJ-.js").then(o=>o.S),__vite__mapDeps([9,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-CkpBZKs_.js"),__vite__mapDeps([10,1,2,3,4,5,11,12,7,13,14,15,16,17]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-BLuWpO92.js").then(o=>o.A),__vite__mapDeps([11,12,7,13,14,15,16,17]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-Dr6Pb-m0.js"),__vite__mapDeps([18,1,2,3,4,5,19,12,7,20,14,21,15,16]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-CmHuG9yI.js").then(o=>o.A),__vite__mapDeps([19,12,7,20,14,21,15,16]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-zuqeYjLK.js"),__vite__mapDeps([22,1,2,3,4,5,23,12,7,24,14,21,15,17]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-Vn-OldJ6.js").then(o=>o.A),__vite__mapDeps([23,12,7,24,14,21,15,17]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-BeDiMo1p.js"),__vite__mapDeps([25,1,2,3,4,5,26,12,7,27,14,28,29]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-BjgRMOLo.js").then(o=>o.S),__vite__mapDeps([26,12,7,27,14,28,29]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-D8LqLHZn.js"),__vite__mapDeps([30,1,2,3,4,5,31,12,7,32,14,28,15,16,17]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-w11TmSPA.js").then(o=>o.S),__vite__mapDeps([31,12,7,32,14,28,15,16,17]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-RfFsXkWc.js"),__vite__mapDeps([33,1,2,3,4,5,34,7]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-CKT__cNf.js").then(o=>o.B),__vite__mapDeps([34,7]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-CWXubBkB.js"),__vite__mapDeps([35,1,2,3,4,5,36,12,7,37,14,28,21,15,16]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-D5hTAiMW.js").then(o=>o.S),__vite__mapDeps([36,12,7,37,14,28,21,15,16]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-C8NzlBbo.js"),__vite__mapDeps([38,1,2,3,4,5,39,12,7,40,14,21,15,41,17,16]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-BTDyR5mt.js").then(o=>o.B),__vite__mapDeps([39,12,7,40,14,21,15,41,17,16]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-DunA7w4f.js"),__vite__mapDeps([42,1,2,3,4,5,43,7,29]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-gbmUYz7d.js").then(o=>o.C),__vite__mapDeps([43,7,29]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-Dqaf3l3a.js"),__vite__mapDeps([44,1,2,3,4,5,45,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-BYYVLdII.js").then(o=>o.S),__vite__mapDeps([45,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-DddxOM9I.js"),__vite__mapDeps([46,1,2,3,4,5,47,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-DO4UTlwQ.js").then(o=>o.S),__vite__mapDeps([47,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-DLEROyFM.js"),__vite__mapDeps([48,1,2,3,4,5,49,12,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-77fkpHwH.js").then(o=>o.S),__vite__mapDeps([49,12,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-BMDmce2F.js"),__vite__mapDeps([50,1,2,3,4,5,51,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-y7CdkspH.js").then(o=>o.C),__vite__mapDeps([51,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-B5ePP1z3.js"),__vite__mapDeps([52,1,2,3,4,5,53,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-BpfC2-J9.js").then(o=>o.S),__vite__mapDeps([53,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-CwX5BUL5.js"),__vite__mapDeps([54,1,2,3,4,5,55,12,7,56,15,14,28,41,16,17]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-Bv2cjJ0c.js").then(o=>o.S),__vite__mapDeps([55,12,7,56,15,14,28,41,16,17]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-DT4VU_XQ.js"),__vite__mapDeps([57,1,2,3,4,5,58,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BQDWsPJH.js").then(o=>o.S),__vite__mapDeps([58,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-oI_jCLL1.js"),__vite__mapDeps([59,1,2,3,4,5,60,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-DB5eeA3X.js").then(o=>o.S),__vite__mapDeps([60,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-C16Xlo87.js"),__vite__mapDeps([61,1,2,3,4,5,62,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DURugo2o.js").then(o=>o.S),__vite__mapDeps([62,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-KajDW2xi.js"),__vite__mapDeps([63,1,2,3,4,5,64,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-BxSwkfGc.js").then(o=>o.S),__vite__mapDeps([64,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-CJ6HZFhd.js"),__vite__mapDeps([65,1,2,3,4,5,66,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DGF-6pqR.js").then(o=>o.S),__vite__mapDeps([66,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-DoeGyoLn.js"),__vite__mapDeps([67,1,2,3,4,5,68,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-Bn9PaYrj.js").then(o=>o.S),__vite__mapDeps([68,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-qBV27G72.js"),__vite__mapDeps([69,1,2,3,4,5,70,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-Pn15Zz3C.js").then(o=>o.S),__vite__mapDeps([70,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-vKHEmImZ.js"),__vite__mapDeps([71,1,2,3,4,5,72,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-DHvRiFqY.js").then(o=>o.S),__vite__mapDeps([72,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-C_KYMrDt.js"),__vite__mapDeps([73,1,2,3,4,5,74,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-Cox9PV2S.js").then(o=>o.S),__vite__mapDeps([74,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-DVZO9bz0.js"),__vite__mapDeps([75,1,2,3,4,5,76,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-DNWE1i6M.js").then(o=>o.S),__vite__mapDeps([76,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-B9NBZagg.js"),__vite__mapDeps([77,1,2,3,4,5,78,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-BwxffeYQ.js").then(o=>o.S),__vite__mapDeps([78,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-Cpr9YLWK.js"),__vite__mapDeps([79,1,2,3,4,5,80,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CMPgeGxx.js").then(o=>o.S),__vite__mapDeps([80,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-BxCo32Lo.js"),__vite__mapDeps([81,1,2,3,4,5,82,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-m7adWeco.js").then(o=>o.S),__vite__mapDeps([82,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-0bYLL93j.js"),__vite__mapDeps([83,1,2,3,4,5,84,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-CIRsw79J.js").then(o=>o.S),__vite__mapDeps([84,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-hSNoErC1.js"),__vite__mapDeps([85,1,2,3,4,5,86,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-Jw1fSDL_.js").then(o=>o.S),__vite__mapDeps([86,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-HjWuSNw-.js"),__vite__mapDeps([87,1,2,3,4,5,88,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-BpY1fROV.js").then(o=>o.S),__vite__mapDeps([88,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-vAydrVMp.js"),__vite__mapDeps([89,1,2,3,4,5,90,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-BFidxGnY.js").then(o=>o.S),__vite__mapDeps([90,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-CMS6L9kc.js"),__vite__mapDeps([91,1,2,3,4,5,92,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-CBJGq-V8.js").then(o=>o.S),__vite__mapDeps([92,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-CtzYzhIw.js"),__vite__mapDeps([93,1,2,3,4,5,94,12,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BFeDRA54.js").then(o=>o.S),__vite__mapDeps([94,12,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-DuTaru0r.js"),__vite__mapDeps([95,1,2,3,4,5,96,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-BGId7u5N.js").then(o=>o.S),__vite__mapDeps([96,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-BhA8-rEe.js"),__vite__mapDeps([97,1,2,3,4,5,98,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-DAw43PfZ.js").then(o=>o.S),__vite__mapDeps([98,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-Cm1D0caL.js"),__vite__mapDeps([99,1,2,3,4,5,100,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-BF-y_xf9.js").then(o=>o.S),__vite__mapDeps([100,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-BZQL1XJZ.js"),__vite__mapDeps([101,1,2,3,4,5,102,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-labxGTkf.js").then(o=>o.S),__vite__mapDeps([102,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-BDq4HrV9.js"),__vite__mapDeps([103,1,2,3,4,5,104,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-BB71-n-V.js").then(o=>o.S),__vite__mapDeps([104,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-7f-sKsa9.js"),__vite__mapDeps([105,1,2,3,4,5,106,12,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-C9fFX99H.js").then(o=>o.S),__vite__mapDeps([106,12,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-CX973TKY.js"),__vite__mapDeps([107,1,2,3,4,5,108,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-CD-Rdqzz.js").then(o=>o.S),__vite__mapDeps([108,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-FtYzGp9_.js"),__vite__mapDeps([109,1,2,3,4,5,110,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-DLiS1xOu.js").then(o=>o.S),__vite__mapDeps([110,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-BZQ3jK0N.js"),__vite__mapDeps([111,1,2,3,4,5,112,12,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-Do-1HI-T.js").then(o=>o.S),__vite__mapDeps([112,12,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-DTVfaJkO.js"),__vite__mapDeps([113,1,2,3,4,5,114,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-BmedWbij.js").then(o=>o.S),__vite__mapDeps([114,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-BkB3ZhZ_.js"),__vite__mapDeps([115,1,2,3,4,5,116,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-D0wtjzOU.js").then(o=>o.S),__vite__mapDeps([116,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-BhxhGsx5.js"),__vite__mapDeps([117,1,2,3,4,5,118,12,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-DdExkrtG.js").then(o=>o.S),__vite__mapDeps([118,12,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-DvZvunFN.js"),__vite__mapDeps([119,1,2,3,4,5,120,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-PG2FfI9V.js").then(o=>o.S),__vite__mapDeps([120,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-BUfGhVVB.js"),__vite__mapDeps([121,1,2,3,4,5,122,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-ow_bGe84.js").then(o=>o.S),__vite__mapDeps([122,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-CVf3m0DI.js"),__vite__mapDeps([123,1,2,3,4,5,124,12,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUZiSfMj.js").then(o=>o.S),__vite__mapDeps([124,12,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-DR3_6Nt1.js"),__vite__mapDeps([125,1,2,3,4,5,126,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-wCufqI6O.js").then(o=>o.S),__vite__mapDeps([126,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-B9_ocLAU.js"),__vite__mapDeps([127,1,2,3,4,5,128,12,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-BtspbkrR.js").then(o=>o.S),__vite__mapDeps([128,12,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc-LrFOkf3q.js"),__vite__mapDeps([129,1,2,3,4,5,130,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-3w4lINBO.js").then(o=>o.S),__vite__mapDeps([130,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-DTumE3Y-.js"),__vite__mapDeps([131,1,2,3,4,5,132,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-B54-bzCj.js").then(o=>o.S),__vite__mapDeps([132,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-BUtv4BsO.js"),__vite__mapDeps([133,1,2,3,4,5,134,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-ynJ6K59N.js").then(o=>o.S),__vite__mapDeps([134,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-C8D0nsab.js"),__vite__mapDeps([135,1,2,3,4,5,136,7]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-D1qdm5KS.js").then(o=>o.S),__vite__mapDeps([136,7]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-Ba8Dw1GU.js"),__vite__mapDeps([137,1,2,3,4,5,138,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-BcS194xO.js").then(o=>o.S),__vite__mapDeps([138,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-CMg-ABd7.js"),__vite__mapDeps([139,1,2,3,4,5,140,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-Da5vP6j9.js").then(o=>o.S),__vite__mapDeps([140,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-DkuPH5Oq.js"),__vite__mapDeps([141,1,2,3,4,5,142,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-CnjwrJIJ.js").then(o=>o.S),__vite__mapDeps([142,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-1G70WY9M.js"),__vite__mapDeps([143,1,2,3,4,5,144,12,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-C0by9R4d.js").then(o=>o.S),__vite__mapDeps([144,12,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-BTZcQ4kM.js"),__vite__mapDeps([145,1,2,3,4,5,146,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-C6mGzV-c.js").then(o=>o.S),__vite__mapDeps([146,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-CdpMms6j.js"),__vite__mapDeps([147,1,2,3,4,5,148,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-BSMSOHpu.js").then(o=>o.S),__vite__mapDeps([148,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-BX6ArCn5.js"),__vite__mapDeps([149,1,2,3,4,5,150,12,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-BlPgYOlW.js").then(o=>o.S),__vite__mapDeps([150,12,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-CREov0jM.js"),__vite__mapDeps([151,1,2,3,4,5,152,12,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-CEsII2zx.js").then(o=>o.S),__vite__mapDeps([152,12,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-CSsF4rq5.js"),__vite__mapDeps([153,1,2,3,4,5,154]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-DptbSbim.js"),__vite__mapDeps([155,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-_E5zUQ76.js"),__vite__mapDeps([156,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-h-v4SNWX.js"),__vite__mapDeps([157,1,2,3,4,5,158,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-Pq9wDPMV.js").then(o=>o.L),__vite__mapDeps([158,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-DGwEQttk.js"),__vite__mapDeps([159,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-BRsOSlDi.js"),__vite__mapDeps([160,1,2,3,4,5,7,161]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-Bij6E0wB.js").then(o=>o.E),__vite__mapDeps([161,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-DrCSSVp2.js"),__vite__mapDeps([162,1,2,3,4,5,163,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-MEVnbH3f.js").then(o=>o.S),__vite__mapDeps([163,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-HpbnqwUS.js"),__vite__mapDeps([164,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-Bk3Gm5XW.js"),__vite__mapDeps([165,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-BIdRgbe_.js"),__vite__mapDeps([166,1,2,3,4,5,154]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-DkwQWtJl.js"),__vite__mapDeps([167,1,2,3,4,5,154,168,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-CLtcgagc.js"),__vite__mapDeps([168,7]),import.meta.url)};async function T(o){return L[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-CRqr0V-9.js"),__vite__mapDeps([169,12,7,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-DaYV1EZe.js"),__vite__mapDeps([170,169,12,7,4,2,171]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([172,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([173,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([174,171]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([175,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-C6TpFKT1.js"),[],import.meta.url),o[10]??t(()=>import("./preview-BrC6VnWQ.js"),__vite__mapDeps([176,17,7,12,14,21,28,16,13,15,20,24,27,32,37,40,41,56,177]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(T,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/rc/assets/iframe-C-plfy9T.js b/rc/assets/iframe-C-plfy9T.js deleted file mode 100644 index 7c1763e..0000000 --- a/rc/assets/iframe-C-plfy9T.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./card.doc-DLz1uIPp.js","./index-D51CeFyD.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-Dvvi2AU9.js","./card.stories-BPBRsOVy.js","./lit-html-B2eaWknC.js","./widget.doc-BpFtCUm_.js","./widget.stories-CdysMAB6.js","./accordion.doc-CVY2Sd8U.js","./accordion.stories-39zOIiNn.js","./lit-element-DhY7bShc.js","./accordion-CfOPVxwX.js","./property-DnLABHHV.js","./property-types-CkH-zh1n.js","./class-map-BDeD7Kfm.js","./static-B9bHPl91.js","./custom-element-scope-Dp4Dg8bo.js","./action-menu.doc-CVicb3lB.js","./action-menu.stories-C6IVtfNY.js","./action-menu-DIAPuhNG.js","./reset.style-B0CQ8619.js","./popper-CMBiYTiD.js","./alert.doc-fBxSbem7.js","./alert.stories-7zX9OGsn.js","./alert-C6k41s5Y.js","./avatar.doc-ZqrNIp7e.js","./avatar.stories-CSsVYqEK.js","./avatar-qmcOoFp0.js","./icon.style-DPTab5RN.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-CKMfHzkd.js","./badge.stories-DT4NliRH.js","./badge-Bk6SotTl.js","./breadcrumb.doc-DVfgRU29.js","./breadcrumb.stories-DUarcv0n.js","./breadcrumb-CMd2B89-.js","./button-link.doc-DlGyKedN.js","./button-link.stories-CdQT97cJ.js","./button-link-CDUkXfss.js","./button.doc-DA22MZuW.js","./button.stories-CfBb6Vp1.js","./button-DoKF2nNJ.js","./button.style-2dqsCQot.js","./chat-message.doc-CiOxehXy.js","./chat-message.stories-BhZXpuNm.js","./checkbox.doc-Cak-ssON.js","./checkbox.stories-ezVek6yQ.js","./chip.doc-cYpIZKuN.js","./chip.stories-IiF9EUPx.js","./content-switcher.doc-mQGXVgLh.js","./content-switcher.stories-DgfjUAsB.js","./custom-table.doc-TGr-JMl0.js","./custom-table.stories-DxjjeUtp.js","./datepicker-range.doc-Dm1vP3L0.js","./datepicker-range.stories-DIOmFNuR.js","./datepicker.doc-C3CJ7BoV.js","./datepicker.stories-mCkCyCoY.js","./datepicker-DkpLFocn.js","./decorative-icon.doc-DWuXogfl.js","./decorative-icon.stories-BVJ7dXXN.js","./divider.doc-Cj1MTkaa.js","./divider.stories-pgGOcia4.js","./drawer.doc-DM7_dycC.js","./drawer.stories-DT9q_I36.js","./floating-button.doc-CpeMm135.js","./floating-button.stories-_DlOw-Af.js","./footer.doc-oLTAF4o7.js","./footer.stories-DP7238oa.js","./header-links.doc-DWFhF2Bu.js","./header-links.stories-fkmAZVPb.js","./header-menu-patient.doc-Ea2p6eKv.js","./header-menu-patient.stories-e9mTmUkC.js","./header-menu-professional.doc-Dx8g1y5P.js","./header-menu-professional.stories-CL-Ac7pJ.js","./header.doc-UoELKuWd.js","./header.stories-CnbwlNBE.js","./icon-badge.doc-k4bRFByi.js","./icon-badge.stories-CioFacBZ.js","./icon-button.doc-BjV-GAO3.js","./icon-button.stories-CaIR2hmo.js","./input-action.doc-Ds0-SYfo.js","./input-action.stories-CqNdaC58.js","./input-dropdown.doc-3KFZpwWO.js","./input-dropdown.stories-wKdy6_p-.js","./input-switch.doc-retQKdJV.js","./input-switch.stories-k_ivhGXu.js","./input.doc-C-h49lfn.js","./input.stories-BrkwxZr1.js","./item-list.doc-CMZkz1pJ.js","./item-list.stories-C70knNWo.js","./legend.doc-CnEuTE50.js","./legend.stories-DtWs5hw5.js","./list-menu.doc-88yiCg72.js","./list-menu.stories-DkO56yv_.js","./list.doc-BfJ3NaOe.js","./list.stories-BcZ2RFZk.js","./modal.doc-DYBts4DI.js","./modal.stories-DBvCYULf.js","./module-header.doc-D480ZEGT.js","./module-header.stories-BTbcHVIi.js","./notification-badge.doc-B8ROy9BR.js","./notification-badge.stories-D4Teec5t.js","./pagination.doc-Due0OlV6.js","./pagination.stories-DsELIg8i.js","./popover.doc-CV3XWSnn.js","./popover.stories-D7t51FD3.js","./progress-indicator.doc-BYZMTDul.js","./progress-indicator.stories-BKEkPYui.js","./radio-button.doc-BNMVOEyC.js","./radio-button.stories-DxgrMWwA.js","./search-bar.doc-DFL4JCgi.js","./search-bar.stories-Ctsx389P.js","./selector.doc-DzVEaOfH.js","./selector.stories-CHPw8T9H.js","./sidemenu.doc-CapqiVxy.js","./sidemenu.stories-B-8kgs0B.js","./skeleton.doc-ByunKBIF.js","./skeleton.stories-BG0Q1Tzv.js","./slider.doc-Cb8jq2jx.js","./slider.stories-D6Dcn4_G.js","./spinner.doc-DeWkZqVz.js","./spinner.stories-n-DIw-Kr.js","./split-button.doc-Bz4o778O.js","./split-button.stories-CAV-ol94.js","./stepper.doc-DjxQ3dR1.js","./stepper.stories-BUF2AEYz.js","./tabs.doc-D0CfmHzD.js","./tabs.stories-1EPoqSJm.js","./task.doc-BWHRHNP9.js","./task.stories-D23YWUP3.js","./textarea.doc-D7vDnknj.js","./textarea.stories-BVFxAfFi.js","./tile.doc-COgwQU0F.js","./tile.stories-ZKctoWct.js","./timepicker.doc-CzTBUMKv.js","./timepicker.stories-h5cFKlkA.js","./toast.doc-CUpsaxn5.js","./toast.stories-BzYArNdm.js","./toast-ChTcsFcR.js","./tooltip.doc-BRbUfEXo.js","./tooltip.stories-C41kQzR2.js","./upload-box.doc-dObFEx67.js","./upload-box.stories-D76PP_e4.js","./user-feedback.doc-B2ZCI8Br.js","./user-feedback.stories-JhiRvL2e.js","./dropdown-list.doc-BHrKTc84.js","./dropdown-list.stories-Dfw0iqD-.js","./input-field.doc-U73MZeGp.js","./input-field.stories-9D2cKxT1.js","./sidebar.doc-Bv0_y__3.js","./sidebar.stories-Cw1bpr80.js","./switch.doc-CwkR0ZqP.js","./switch.stories-D3i4EFIf.js","./table-css.doc-BWJNogpf.js","./table-css.stories-XMoWHLx6.js","./intro.doc-jyIs7-GE.js","./chunk-NUUEMKO5-BrMvvjZ4.js","./migration-breaking-changes.doc-CFnTbU_3.js","./migration-intro.doc-BInhLL5I.js","./versions.doc-DN9lJodh.js","./borders.doc-DejOwyAJ.js","./logo.doc-056rdGhi.js","./logo.stories-DctTKhaJ.js","./colors.doc-DbnPhD9z.js","./elevation.doc-j5aez0Uj.js","./elevation.stories-D0SUOfBs.js","./icon.doc-CmlcqKLy.js","./icon.stories-DG6xn302.js","./breakpoints.doc-oPwrfE2Z.js","./grid.doc-BeyrNb-D.js","./spacing.doc-BuNoR_EU.js","./typography.doc-Dwdgz9WO.js","./typography.stories-C7DFWHUm.js","./entry-preview-DjIolVhg.js","./directive-helpers-B8EPEUEV.js","./entry-preview-docs-CvF5k5YT.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-CbS6dfU1.js","./preview-C2GlFv11.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,a){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,a),n in E)return;E[n]=!0;const p=n.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(!!a)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!p||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":O,p||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),p)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const T={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-DLz1uIPp.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-BPBRsOVy.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/collections/widget/widget.doc.mdx":async()=>t(()=>import("./widget.doc-BpFtCUm_.js"),__vite__mapDeps([8,1,2,3,4,5,9,7]),import.meta.url),"./lib/collections/widget/widget.stories.ts":async()=>t(()=>import("./widget.stories-CdysMAB6.js").then(o=>o.S),__vite__mapDeps([9,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-CVY2Sd8U.js"),__vite__mapDeps([10,1,2,3,4,5,11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-39zOIiNn.js").then(o=>o.A),__vite__mapDeps([11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-CVicb3lB.js"),__vite__mapDeps([19,1,2,3,4,5,20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-C6IVtfNY.js").then(o=>o.A),__vite__mapDeps([20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-fBxSbem7.js"),__vite__mapDeps([24,1,2,3,4,5,25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-7zX9OGsn.js").then(o=>o.A),__vite__mapDeps([25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-ZqrNIp7e.js"),__vite__mapDeps([27,1,2,3,4,5,28,12,7,29,14,30,31]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-CSsVYqEK.js").then(o=>o.S),__vite__mapDeps([28,12,7,29,14,30,31]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-CKMfHzkd.js"),__vite__mapDeps([32,1,2,3,4,5,33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-DT4NliRH.js").then(o=>o.S),__vite__mapDeps([33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-DVfgRU29.js"),__vite__mapDeps([35,1,2,3,4,5,36,7,37,12,14,22,17]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-DUarcv0n.js").then(o=>o.B),__vite__mapDeps([36,7,37,12,14,22,17]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-DlGyKedN.js"),__vite__mapDeps([38,1,2,3,4,5,39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-CdQT97cJ.js").then(o=>o.S),__vite__mapDeps([39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-DA22MZuW.js"),__vite__mapDeps([41,1,2,3,4,5,42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-CfBb6Vp1.js").then(o=>o.B),__vite__mapDeps([42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-CiOxehXy.js"),__vite__mapDeps([45,1,2,3,4,5,46,7,31]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-BhZXpuNm.js").then(o=>o.C),__vite__mapDeps([46,7,31]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-Cak-ssON.js"),__vite__mapDeps([47,1,2,3,4,5,48,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-ezVek6yQ.js").then(o=>o.S),__vite__mapDeps([48,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-cYpIZKuN.js"),__vite__mapDeps([49,1,2,3,4,5,50,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-IiF9EUPx.js").then(o=>o.S),__vite__mapDeps([50,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-mQGXVgLh.js"),__vite__mapDeps([51,1,2,3,4,5,52,12,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-DgfjUAsB.js").then(o=>o.S),__vite__mapDeps([52,12,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-TGr-JMl0.js"),__vite__mapDeps([53,1,2,3,4,5,54,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-DxjjeUtp.js").then(o=>o.C),__vite__mapDeps([54,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-Dm1vP3L0.js"),__vite__mapDeps([55,1,2,3,4,5,56,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-DIOmFNuR.js").then(o=>o.S),__vite__mapDeps([56,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-C3CJ7BoV.js"),__vite__mapDeps([57,1,2,3,4,5,58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-mCkCyCoY.js").then(o=>o.S),__vite__mapDeps([58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-DWuXogfl.js"),__vite__mapDeps([60,1,2,3,4,5,61,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BVJ7dXXN.js").then(o=>o.S),__vite__mapDeps([61,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-Cj1MTkaa.js"),__vite__mapDeps([62,1,2,3,4,5,63,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-pgGOcia4.js").then(o=>o.S),__vite__mapDeps([63,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-DM7_dycC.js"),__vite__mapDeps([64,1,2,3,4,5,65,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DT9q_I36.js").then(o=>o.S),__vite__mapDeps([65,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-CpeMm135.js"),__vite__mapDeps([66,1,2,3,4,5,67,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-_DlOw-Af.js").then(o=>o.S),__vite__mapDeps([67,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-oLTAF4o7.js"),__vite__mapDeps([68,1,2,3,4,5,69,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DP7238oa.js").then(o=>o.S),__vite__mapDeps([69,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-DWFhF2Bu.js"),__vite__mapDeps([70,1,2,3,4,5,71,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-fkmAZVPb.js").then(o=>o.S),__vite__mapDeps([71,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-Ea2p6eKv.js"),__vite__mapDeps([72,1,2,3,4,5,73,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-e9mTmUkC.js").then(o=>o.S),__vite__mapDeps([73,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-Dx8g1y5P.js"),__vite__mapDeps([74,1,2,3,4,5,75,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-CL-Ac7pJ.js").then(o=>o.S),__vite__mapDeps([75,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-UoELKuWd.js"),__vite__mapDeps([76,1,2,3,4,5,77,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-CnbwlNBE.js").then(o=>o.S),__vite__mapDeps([77,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-k4bRFByi.js"),__vite__mapDeps([78,1,2,3,4,5,79,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-CioFacBZ.js").then(o=>o.S),__vite__mapDeps([79,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-BjV-GAO3.js"),__vite__mapDeps([80,1,2,3,4,5,81,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-CaIR2hmo.js").then(o=>o.S),__vite__mapDeps([81,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-Ds0-SYfo.js"),__vite__mapDeps([82,1,2,3,4,5,83,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CqNdaC58.js").then(o=>o.S),__vite__mapDeps([83,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-3KFZpwWO.js"),__vite__mapDeps([84,1,2,3,4,5,85,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-wKdy6_p-.js").then(o=>o.S),__vite__mapDeps([85,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-retQKdJV.js"),__vite__mapDeps([86,1,2,3,4,5,87,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-k_ivhGXu.js").then(o=>o.S),__vite__mapDeps([87,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-C-h49lfn.js"),__vite__mapDeps([88,1,2,3,4,5,89,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-BrkwxZr1.js").then(o=>o.S),__vite__mapDeps([89,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-CMZkz1pJ.js"),__vite__mapDeps([90,1,2,3,4,5,91,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-C70knNWo.js").then(o=>o.S),__vite__mapDeps([91,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-CnEuTE50.js"),__vite__mapDeps([92,1,2,3,4,5,93,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-DtWs5hw5.js").then(o=>o.S),__vite__mapDeps([93,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-88yiCg72.js"),__vite__mapDeps([94,1,2,3,4,5,95,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-DkO56yv_.js").then(o=>o.S),__vite__mapDeps([95,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-BfJ3NaOe.js"),__vite__mapDeps([96,1,2,3,4,5,97,12,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BcZ2RFZk.js").then(o=>o.S),__vite__mapDeps([97,12,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-DYBts4DI.js"),__vite__mapDeps([98,1,2,3,4,5,99,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-DBvCYULf.js").then(o=>o.S),__vite__mapDeps([99,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-D480ZEGT.js"),__vite__mapDeps([100,1,2,3,4,5,101,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-BTbcHVIi.js").then(o=>o.S),__vite__mapDeps([101,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-B8ROy9BR.js"),__vite__mapDeps([102,1,2,3,4,5,103,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-D4Teec5t.js").then(o=>o.S),__vite__mapDeps([103,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-Due0OlV6.js"),__vite__mapDeps([104,1,2,3,4,5,105,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-DsELIg8i.js").then(o=>o.S),__vite__mapDeps([105,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-CV3XWSnn.js"),__vite__mapDeps([106,1,2,3,4,5,107,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-D7t51FD3.js").then(o=>o.S),__vite__mapDeps([107,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-BYZMTDul.js"),__vite__mapDeps([108,1,2,3,4,5,109,12,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-BKEkPYui.js").then(o=>o.S),__vite__mapDeps([109,12,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-BNMVOEyC.js"),__vite__mapDeps([110,1,2,3,4,5,111,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-DxgrMWwA.js").then(o=>o.S),__vite__mapDeps([111,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-DFL4JCgi.js"),__vite__mapDeps([112,1,2,3,4,5,113,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-Ctsx389P.js").then(o=>o.S),__vite__mapDeps([113,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-DzVEaOfH.js"),__vite__mapDeps([114,1,2,3,4,5,115,12,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-CHPw8T9H.js").then(o=>o.S),__vite__mapDeps([115,12,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-CapqiVxy.js"),__vite__mapDeps([116,1,2,3,4,5,117,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-B-8kgs0B.js").then(o=>o.S),__vite__mapDeps([117,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-ByunKBIF.js"),__vite__mapDeps([118,1,2,3,4,5,119,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-BG0Q1Tzv.js").then(o=>o.S),__vite__mapDeps([119,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-Cb8jq2jx.js"),__vite__mapDeps([120,1,2,3,4,5,121,12,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-D6Dcn4_G.js").then(o=>o.S),__vite__mapDeps([121,12,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-DeWkZqVz.js"),__vite__mapDeps([122,1,2,3,4,5,123,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-n-DIw-Kr.js").then(o=>o.S),__vite__mapDeps([123,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-Bz4o778O.js"),__vite__mapDeps([124,1,2,3,4,5,125,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-CAV-ol94.js").then(o=>o.S),__vite__mapDeps([125,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-DjxQ3dR1.js"),__vite__mapDeps([126,1,2,3,4,5,127,12,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUF2AEYz.js").then(o=>o.S),__vite__mapDeps([127,12,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-D0CfmHzD.js"),__vite__mapDeps([128,1,2,3,4,5,129,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-1EPoqSJm.js").then(o=>o.S),__vite__mapDeps([129,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-BWHRHNP9.js"),__vite__mapDeps([130,1,2,3,4,5,131,12,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-D23YWUP3.js").then(o=>o.S),__vite__mapDeps([131,12,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc-D7vDnknj.js"),__vite__mapDeps([132,1,2,3,4,5,133,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-BVFxAfFi.js").then(o=>o.S),__vite__mapDeps([133,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-COgwQU0F.js"),__vite__mapDeps([134,1,2,3,4,5,135,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-ZKctoWct.js").then(o=>o.S),__vite__mapDeps([135,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-CzTBUMKv.js"),__vite__mapDeps([136,1,2,3,4,5,137,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-h5cFKlkA.js").then(o=>o.S),__vite__mapDeps([137,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-CUpsaxn5.js"),__vite__mapDeps([138,1,2,3,4,5,139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-BzYArNdm.js").then(o=>o.T),__vite__mapDeps([139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-BRbUfEXo.js"),__vite__mapDeps([141,1,2,3,4,5,142,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-C41kQzR2.js").then(o=>o.S),__vite__mapDeps([142,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-dObFEx67.js"),__vite__mapDeps([143,1,2,3,4,5,144,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-D76PP_e4.js").then(o=>o.S),__vite__mapDeps([144,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-B2ZCI8Br.js"),__vite__mapDeps([145,1,2,3,4,5,146,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-JhiRvL2e.js").then(o=>o.S),__vite__mapDeps([146,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-BHrKTc84.js"),__vite__mapDeps([147,1,2,3,4,5,148,12,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-Dfw0iqD-.js").then(o=>o.S),__vite__mapDeps([148,12,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-U73MZeGp.js"),__vite__mapDeps([149,1,2,3,4,5,150,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-9D2cKxT1.js").then(o=>o.S),__vite__mapDeps([150,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-Bv0_y__3.js"),__vite__mapDeps([151,1,2,3,4,5,152,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-Cw1bpr80.js").then(o=>o.S),__vite__mapDeps([152,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-CwkR0ZqP.js"),__vite__mapDeps([153,1,2,3,4,5,154,12,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-D3i4EFIf.js").then(o=>o.S),__vite__mapDeps([154,12,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-BWJNogpf.js"),__vite__mapDeps([155,1,2,3,4,5,156,12,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-XMoWHLx6.js").then(o=>o.S),__vite__mapDeps([156,12,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-jyIs7-GE.js"),__vite__mapDeps([157,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-breaking-changes.doc.mdx":async()=>t(()=>import("./migration-breaking-changes.doc-CFnTbU_3.js"),__vite__mapDeps([159,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-intro.doc.mdx":async()=>t(()=>import("./migration-intro.doc-BInhLL5I.js"),__vite__mapDeps([160,1,2,3,4,5,158]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-DN9lJodh.js"),__vite__mapDeps([161,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-DejOwyAJ.js"),__vite__mapDeps([162,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-056rdGhi.js"),__vite__mapDeps([163,1,2,3,4,5,164,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-DctTKhaJ.js").then(o=>o.L),__vite__mapDeps([164,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-DbnPhD9z.js"),__vite__mapDeps([165,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-j5aez0Uj.js"),__vite__mapDeps([166,1,2,3,4,5,7,167]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-D0SUOfBs.js").then(o=>o.E),__vite__mapDeps([167,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-CmlcqKLy.js"),__vite__mapDeps([168,1,2,3,4,5,169,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-DG6xn302.js").then(o=>o.S),__vite__mapDeps([169,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-oPwrfE2Z.js"),__vite__mapDeps([170,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-BeyrNb-D.js"),__vite__mapDeps([171,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-BuNoR_EU.js"),__vite__mapDeps([172,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-Dwdgz9WO.js"),__vite__mapDeps([173,1,2,3,4,5,158,174,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-C7DFWHUm.js"),__vite__mapDeps([174,7]),import.meta.url)};async function L(o){return T[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-DjIolVhg.js"),__vite__mapDeps([175,12,7,176,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-CvF5k5YT.js"),__vite__mapDeps([177,175,12,7,176,4,2,178]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([179,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([180,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([181,178]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([182,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-uWWlHUs2.js"),[],import.meta.url),o[10]??t(()=>import("./preview-CbS6dfU1.js"),__vite__mapDeps([183,18,12,7,14,22,30,16,13,15,17,21,23,26,29,34,37,40,43,44,140,176,59,184]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(L,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/rc/assets/iframe-i1QLOcry.js b/rc/assets/iframe-i1QLOcry.js deleted file mode 100644 index a40e906..0000000 --- a/rc/assets/iframe-i1QLOcry.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./card.doc-D66SJ6a2.js","./index-CQXi_Y6g.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./index-CkYTJ7Ip.js","./card.stories-BPBRsOVy.js","./lit-html-B2eaWknC.js","./widget.doc-BhMvcV_R.js","./widget.stories-CdysMAB6.js","./accordion.doc-CrgW1Lh9.js","./accordion.stories-39zOIiNn.js","./lit-element-DhY7bShc.js","./accordion-CfOPVxwX.js","./property-DnLABHHV.js","./property-types-CkH-zh1n.js","./class-map-BDeD7Kfm.js","./static-B9bHPl91.js","./custom-element-scope-Dp4Dg8bo.js","./action-menu.doc-DuKkOq7j.js","./action-menu.stories-C6IVtfNY.js","./action-menu-DIAPuhNG.js","./reset.style-B0CQ8619.js","./popper-CMBiYTiD.js","./alert.doc-Cxhy9fyG.js","./alert.stories-7zX9OGsn.js","./alert-C6k41s5Y.js","./avatar.doc-BE98o0Ta.js","./avatar.stories-CSsVYqEK.js","./avatar-qmcOoFp0.js","./icon.style-DPTab5RN.js","./avatar-doctor-BBv5l1RE.js","./badge.doc-BFwAcIa5.js","./badge.stories-DT4NliRH.js","./badge-Bk6SotTl.js","./breadcrumb.doc-CfZwhYUw.js","./breadcrumb.stories-DUarcv0n.js","./breadcrumb-CMd2B89-.js","./button-link.doc-DX775yRu.js","./button-link.stories-CdQT97cJ.js","./button-link-CDUkXfss.js","./button.doc-Lm29ByKK.js","./button.stories-CfBb6Vp1.js","./button-DoKF2nNJ.js","./button.style-2dqsCQot.js","./chat-message.doc-Dic3-N4s.js","./chat-message.stories-BhZXpuNm.js","./checkbox.doc-xcbRemhr.js","./checkbox.stories-ezVek6yQ.js","./chip.doc-DUvzbtrd.js","./chip.stories-IiF9EUPx.js","./content-switcher.doc-BlMbqxkY.js","./content-switcher.stories-DgfjUAsB.js","./custom-table.doc-Cxkg72RQ.js","./custom-table.stories-DxjjeUtp.js","./datepicker-range.doc-DVll6cxZ.js","./datepicker-range.stories-DIOmFNuR.js","./datepicker.doc-CyRjz1vO.js","./datepicker.stories-mCkCyCoY.js","./datepicker-DkpLFocn.js","./decorative-icon.doc-C43_eODt.js","./decorative-icon.stories-BVJ7dXXN.js","./divider.doc-CKb0KlNZ.js","./divider.stories-pgGOcia4.js","./drawer.doc-fHExx5mm.js","./drawer.stories-DT9q_I36.js","./floating-button.doc-Boa8lLh_.js","./floating-button.stories-_DlOw-Af.js","./footer.doc-CMODuYMT.js","./footer.stories-DP7238oa.js","./header-links.doc-h3kARRz9.js","./header-links.stories-fkmAZVPb.js","./header-menu-patient.doc-DQDlLZRa.js","./header-menu-patient.stories-e9mTmUkC.js","./header-menu-professional.doc-CDQA0Zys.js","./header-menu-professional.stories-CL-Ac7pJ.js","./header.doc-0Dc1UrU4.js","./header.stories-CnbwlNBE.js","./icon-badge.doc-CcAIs0JE.js","./icon-badge.stories-CioFacBZ.js","./icon-button.doc-CwNyq7Om.js","./icon-button.stories-CaIR2hmo.js","./input-action.doc-CoW0pspX.js","./input-action.stories-CqNdaC58.js","./input-dropdown.doc-CXGL7W5J.js","./input-dropdown.stories-wKdy6_p-.js","./input-switch.doc-B1sZfj5c.js","./input-switch.stories-k_ivhGXu.js","./input.doc-CBGCgz2f.js","./input.stories-BrkwxZr1.js","./item-list.doc-BJLrhTuF.js","./item-list.stories-C70knNWo.js","./legend.doc-BUVucQ1_.js","./legend.stories-DtWs5hw5.js","./list-menu.doc-BIEgsEcA.js","./list-menu.stories-DkO56yv_.js","./list.doc-CZO27p48.js","./list.stories-BcZ2RFZk.js","./modal.doc-DxL-CqM0.js","./modal.stories-DBvCYULf.js","./module-header.doc-Cv68ADL4.js","./module-header.stories-BTbcHVIi.js","./notification-badge.doc-24NV8iVQ.js","./notification-badge.stories-D4Teec5t.js","./pagination.doc-BklnLs1D.js","./pagination.stories-DsELIg8i.js","./popover.doc-D0lLNdHN.js","./popover.stories-D7t51FD3.js","./progress-indicator.doc-DCP5DaGM.js","./progress-indicator.stories-BKEkPYui.js","./radio-button.doc-BswUSzBl.js","./radio-button.stories-DxgrMWwA.js","./search-bar.doc-CRPiQy0F.js","./search-bar.stories-Ctsx389P.js","./selector.doc-BJK_ddFP.js","./selector.stories-CHPw8T9H.js","./sidemenu.doc-C1ZRzZy_.js","./sidemenu.stories-B-8kgs0B.js","./skeleton.doc-D9dZP3su.js","./skeleton.stories-BG0Q1Tzv.js","./slider.doc-BYED_OBQ.js","./slider.stories-D6Dcn4_G.js","./spinner.doc-CmSBQzMl.js","./spinner.stories-n-DIw-Kr.js","./split-button.doc-CFIEZ7bf.js","./split-button.stories-CAV-ol94.js","./stepper.doc-g32A6qPa.js","./stepper.stories-BUF2AEYz.js","./tabs.doc-BeAZNAz2.js","./tabs.stories-1EPoqSJm.js","./task.doc-D8KbN72L.js","./task.stories-D23YWUP3.js","./textarea.doc-swPzunhd.js","./textarea.stories-BVFxAfFi.js","./tile.doc-ybx6kZB2.js","./tile.stories-ZKctoWct.js","./timepicker.doc-6ra-k3lI.js","./timepicker.stories-h5cFKlkA.js","./toast.doc-Bm4xaK1q.js","./toast.stories-BzYArNdm.js","./toast-ChTcsFcR.js","./tooltip.doc-Botg5PzN.js","./tooltip.stories-C41kQzR2.js","./upload-box.doc-Bbjz0_X-.js","./upload-box.stories-D76PP_e4.js","./user-feedback.doc-D6_N2Yei.js","./user-feedback.stories-JhiRvL2e.js","./dropdown-list.doc-0lSc5uT7.js","./dropdown-list.stories-Dfw0iqD-.js","./input-field.doc-D6hRsjNx.js","./input-field.stories-9D2cKxT1.js","./sidebar.doc-D7SMHw7Q.js","./sidebar.stories-Cw1bpr80.js","./switch.doc-CAH3FjlH.js","./switch.stories-D3i4EFIf.js","./table-css.doc-DxY3-NxD.js","./table-css.stories-XMoWHLx6.js","./intro.doc-B_5eXwlV.js","./chunk-NUUEMKO5-RFzBTEhX.js","./migration-breaking-changes.doc-CpGa5WNc.js","./migration-intro.doc-C98mxQfa.js","./versions.doc-CaRkD6YK.js","./borders.doc-B7qd_j33.js","./logo.doc-CIF_XidZ.js","./logo.stories-DctTKhaJ.js","./colors.doc-C3bW4Va4.js","./elevation.doc-CgEpEgNR.js","./elevation.stories-D0SUOfBs.js","./icon.doc-B1m-faMf.js","./icon.stories-DG6xn302.js","./breakpoints.doc-BdtvaVQt.js","./grid.doc-CVfVABh6.js","./spacing.doc-Deev40ge.js","./typography.doc-eOJf5MRa.js","./typography.stories-C7DFWHUm.js","./entry-preview-DjIolVhg.js","./directive-helpers-B8EPEUEV.js","./entry-preview-docs-CvF5k5YT.js","./tiny-invariant-CopsF_GD.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-CPX9RCe3.js","./preview-BWzBA1C2.js","./preview-CbS6dfU1.js","./preview-C2GlFv11.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const i of e)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function s(e){const i={};return e.integrity&&(i.integrity=e.integrity),e.referrerPolicy&&(i.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?i.credentials="include":e.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(e){if(e.ep)return;e.ep=!0;const i=s(e);fetch(e.href,i)}})();const O="modulepreload",R=function(o,_){return new URL(o,_).href},E={},t=function(_,s,a){let e=Promise.resolve();if(s&&s.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),u=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=R(n,a),n in E)return;E[n]=!0;const p=n.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(!!a)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===n&&(!p||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${b}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":O,p||(m.as="script",m.crossOrigin=""),m.href=n,u&&m.setAttribute("nonce",u),document.head.appendChild(m),p)return new Promise((c,d)=>{m.addEventListener("load",c),m.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}return e.then(()=>_()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,l=v({page:"preview"});y.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const T={"./lib/collections/card/card.doc.mdx":async()=>t(()=>import("./card.doc-D66SJ6a2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./lib/collections/card/card.stories.ts":async()=>t(()=>import("./card.stories-BPBRsOVy.js").then(o=>o.S),__vite__mapDeps([6,7]),import.meta.url),"./lib/collections/widget/widget.doc.mdx":async()=>t(()=>import("./widget.doc-BhMvcV_R.js"),__vite__mapDeps([8,1,2,3,4,5,9,7]),import.meta.url),"./lib/collections/widget/widget.stories.ts":async()=>t(()=>import("./widget.stories-CdysMAB6.js").then(o=>o.S),__vite__mapDeps([9,7]),import.meta.url),"./lib/components/accordion/accordion.doc.mdx":async()=>t(()=>import("./accordion.doc-CrgW1Lh9.js"),__vite__mapDeps([10,1,2,3,4,5,11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/accordion/accordion.stories.ts":async()=>t(()=>import("./accordion.stories-39zOIiNn.js").then(o=>o.A),__vite__mapDeps([11,12,7,13,14,15,16,17,18]),import.meta.url),"./lib/components/action-menu/action-menu.doc.mdx":async()=>t(()=>import("./action-menu.doc-DuKkOq7j.js"),__vite__mapDeps([19,1,2,3,4,5,20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/action-menu/action-menu.stories.ts":async()=>t(()=>import("./action-menu.stories-C6IVtfNY.js").then(o=>o.A),__vite__mapDeps([20,12,7,21,14,22,15,16,23]),import.meta.url),"./lib/components/alert/alert.doc.mdx":async()=>t(()=>import("./alert.doc-Cxhy9fyG.js"),__vite__mapDeps([24,1,2,3,4,5,25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/alert/alert.stories.ts":async()=>t(()=>import("./alert.stories-7zX9OGsn.js").then(o=>o.A),__vite__mapDeps([25,12,7,26,14,22,15,17,18]),import.meta.url),"./lib/components/avatar/avatar.doc.mdx":async()=>t(()=>import("./avatar.doc-BE98o0Ta.js"),__vite__mapDeps([27,1,2,3,4,5,28,12,7,29,14,30,31]),import.meta.url),"./lib/components/avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-CSsVYqEK.js").then(o=>o.S),__vite__mapDeps([28,12,7,29,14,30,31]),import.meta.url),"./lib/components/badge/badge.doc.mdx":async()=>t(()=>import("./badge.doc-BFwAcIa5.js"),__vite__mapDeps([32,1,2,3,4,5,33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-DT4NliRH.js").then(o=>o.S),__vite__mapDeps([33,12,7,34,14,30,15,16,17,18]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.doc.mdx":async()=>t(()=>import("./breadcrumb.doc-CfZwhYUw.js"),__vite__mapDeps([35,1,2,3,4,5,36,7,37,12,14,22,17]),import.meta.url),"./lib/components/breadcrumb/breadcrumb.stories.ts":async()=>t(()=>import("./breadcrumb.stories-DUarcv0n.js").then(o=>o.B),__vite__mapDeps([36,7,37,12,14,22,17]),import.meta.url),"./lib/components/button-link/button-link.doc.mdx":async()=>t(()=>import("./button-link.doc-DX775yRu.js"),__vite__mapDeps([38,1,2,3,4,5,39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button-link/button-link.stories.ts":async()=>t(()=>import("./button-link.stories-CdQT97cJ.js").then(o=>o.S),__vite__mapDeps([39,12,7,40,14,30,22,15,16]),import.meta.url),"./lib/components/button/button.doc.mdx":async()=>t(()=>import("./button.doc-Lm29ByKK.js"),__vite__mapDeps([41,1,2,3,4,5,42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/button/button.stories.ts":async()=>t(()=>import("./button.stories-CfBb6Vp1.js").then(o=>o.B),__vite__mapDeps([42,12,7,43,14,22,15,44,16,17,18]),import.meta.url),"./lib/components/chat-message/chat-message.doc.mdx":async()=>t(()=>import("./chat-message.doc-Dic3-N4s.js"),__vite__mapDeps([45,1,2,3,4,5,46,7,31]),import.meta.url),"./lib/components/chat-message/chat-message.stories.js":async()=>t(()=>import("./chat-message.stories-BhZXpuNm.js").then(o=>o.C),__vite__mapDeps([46,7,31]),import.meta.url),"./lib/components/checkbox/checkbox.doc.mdx":async()=>t(()=>import("./checkbox.doc-xcbRemhr.js"),__vite__mapDeps([47,1,2,3,4,5,48,7]),import.meta.url),"./lib/components/checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-ezVek6yQ.js").then(o=>o.S),__vite__mapDeps([48,7]),import.meta.url),"./lib/components/chip/chip.doc.mdx":async()=>t(()=>import("./chip.doc-DUvzbtrd.js"),__vite__mapDeps([49,1,2,3,4,5,50,7]),import.meta.url),"./lib/components/chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-IiF9EUPx.js").then(o=>o.S),__vite__mapDeps([50,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.doc.mdx":async()=>t(()=>import("./content-switcher.doc-BlMbqxkY.js"),__vite__mapDeps([51,1,2,3,4,5,52,12,7]),import.meta.url),"./lib/components/content-switcher/content-switcher.stories.ts":async()=>t(()=>import("./content-switcher.stories-DgfjUAsB.js").then(o=>o.S),__vite__mapDeps([52,12,7]),import.meta.url),"./lib/components/custom-table/custom-table.doc.mdx":async()=>t(()=>import("./custom-table.doc-Cxkg72RQ.js"),__vite__mapDeps([53,1,2,3,4,5,54,7]),import.meta.url),"./lib/components/custom-table/custom-table.stories.js":async()=>t(()=>import("./custom-table.stories-DxjjeUtp.js").then(o=>o.C),__vite__mapDeps([54,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.doc.mdx":async()=>t(()=>import("./datepicker-range.doc-DVll6cxZ.js"),__vite__mapDeps([55,1,2,3,4,5,56,7]),import.meta.url),"./lib/components/datepicker-range/datepicker-range.stories.ts":async()=>t(()=>import("./datepicker-range.stories-DIOmFNuR.js").then(o=>o.S),__vite__mapDeps([56,7]),import.meta.url),"./lib/components/datepicker/datepicker.doc.mdx":async()=>t(()=>import("./datepicker.doc-CyRjz1vO.js"),__vite__mapDeps([57,1,2,3,4,5,58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/datepicker/datepicker.stories.ts":async()=>t(()=>import("./datepicker.stories-mCkCyCoY.js").then(o=>o.S),__vite__mapDeps([58,12,7,59,14,30,15,44,16,17,18,23]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.doc.mdx":async()=>t(()=>import("./decorative-icon.doc-C43_eODt.js"),__vite__mapDeps([60,1,2,3,4,5,61,7]),import.meta.url),"./lib/components/decorative-icon/decorative-icon.stories.ts":async()=>t(()=>import("./decorative-icon.stories-BVJ7dXXN.js").then(o=>o.S),__vite__mapDeps([61,7]),import.meta.url),"./lib/components/divider/divider.doc.mdx":async()=>t(()=>import("./divider.doc-CKb0KlNZ.js"),__vite__mapDeps([62,1,2,3,4,5,63,7]),import.meta.url),"./lib/components/divider/divider.stories.ts":async()=>t(()=>import("./divider.stories-pgGOcia4.js").then(o=>o.S),__vite__mapDeps([63,7]),import.meta.url),"./lib/components/drawer/drawer.doc.mdx":async()=>t(()=>import("./drawer.doc-fHExx5mm.js"),__vite__mapDeps([64,1,2,3,4,5,65,7]),import.meta.url),"./lib/components/drawer/drawer.stories.ts":async()=>t(()=>import("./drawer.stories-DT9q_I36.js").then(o=>o.S),__vite__mapDeps([65,7]),import.meta.url),"./lib/components/floating-button/floating-button.doc.mdx":async()=>t(()=>import("./floating-button.doc-Boa8lLh_.js"),__vite__mapDeps([66,1,2,3,4,5,67,7]),import.meta.url),"./lib/components/floating-button/floating-button.stories.ts":async()=>t(()=>import("./floating-button.stories-_DlOw-Af.js").then(o=>o.S),__vite__mapDeps([67,7]),import.meta.url),"./lib/components/footer/footer.doc.mdx":async()=>t(()=>import("./footer.doc-CMODuYMT.js"),__vite__mapDeps([68,1,2,3,4,5,69,7]),import.meta.url),"./lib/components/footer/footer.stories.ts":async()=>t(()=>import("./footer.stories-DP7238oa.js").then(o=>o.S),__vite__mapDeps([69,7]),import.meta.url),"./lib/components/header-links/header-links.doc.mdx":async()=>t(()=>import("./header-links.doc-h3kARRz9.js"),__vite__mapDeps([70,1,2,3,4,5,71,7]),import.meta.url),"./lib/components/header-links/header-links.stories.ts":async()=>t(()=>import("./header-links.stories-fkmAZVPb.js").then(o=>o.S),__vite__mapDeps([71,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.doc.mdx":async()=>t(()=>import("./header-menu-patient.doc-DQDlLZRa.js"),__vite__mapDeps([72,1,2,3,4,5,73,7]),import.meta.url),"./lib/components/header-menu-patient/header-menu-patient.stories.ts":async()=>t(()=>import("./header-menu-patient.stories-e9mTmUkC.js").then(o=>o.S),__vite__mapDeps([73,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.doc.mdx":async()=>t(()=>import("./header-menu-professional.doc-CDQA0Zys.js"),__vite__mapDeps([74,1,2,3,4,5,75,7]),import.meta.url),"./lib/components/header-menu-professional/header-menu-professional.stories.ts":async()=>t(()=>import("./header-menu-professional.stories-CL-Ac7pJ.js").then(o=>o.S),__vite__mapDeps([75,7]),import.meta.url),"./lib/components/header/header.doc.mdx":async()=>t(()=>import("./header.doc-0Dc1UrU4.js"),__vite__mapDeps([76,1,2,3,4,5,77,7]),import.meta.url),"./lib/components/header/header.stories.ts":async()=>t(()=>import("./header.stories-CnbwlNBE.js").then(o=>o.S),__vite__mapDeps([77,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.doc.mdx":async()=>t(()=>import("./icon-badge.doc-CcAIs0JE.js"),__vite__mapDeps([78,1,2,3,4,5,79,7]),import.meta.url),"./lib/components/icon-badge/icon-badge.stories.ts":async()=>t(()=>import("./icon-badge.stories-CioFacBZ.js").then(o=>o.S),__vite__mapDeps([79,7]),import.meta.url),"./lib/components/icon-button/icon-button.doc.mdx":async()=>t(()=>import("./icon-button.doc-CwNyq7Om.js"),__vite__mapDeps([80,1,2,3,4,5,81,7]),import.meta.url),"./lib/components/icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-CaIR2hmo.js").then(o=>o.S),__vite__mapDeps([81,7]),import.meta.url),"./lib/components/input-action/input-action.doc.mdx":async()=>t(()=>import("./input-action.doc-CoW0pspX.js"),__vite__mapDeps([82,1,2,3,4,5,83,7]),import.meta.url),"./lib/components/input-action/input-action.stories.ts":async()=>t(()=>import("./input-action.stories-CqNdaC58.js").then(o=>o.S),__vite__mapDeps([83,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.doc.mdx":async()=>t(()=>import("./input-dropdown.doc-CXGL7W5J.js"),__vite__mapDeps([84,1,2,3,4,5,85,7]),import.meta.url),"./lib/components/input-dropdown/input-dropdown.stories.ts":async()=>t(()=>import("./input-dropdown.stories-wKdy6_p-.js").then(o=>o.S),__vite__mapDeps([85,7]),import.meta.url),"./lib/components/input-switch/input-switch.doc.mdx":async()=>t(()=>import("./input-switch.doc-B1sZfj5c.js"),__vite__mapDeps([86,1,2,3,4,5,87,7]),import.meta.url),"./lib/components/input-switch/input-switch.stories.ts":async()=>t(()=>import("./input-switch.stories-k_ivhGXu.js").then(o=>o.S),__vite__mapDeps([87,7]),import.meta.url),"./lib/components/input/input.doc.mdx":async()=>t(()=>import("./input.doc-CBGCgz2f.js"),__vite__mapDeps([88,1,2,3,4,5,89,7]),import.meta.url),"./lib/components/input/input.stories.ts":async()=>t(()=>import("./input.stories-BrkwxZr1.js").then(o=>o.S),__vite__mapDeps([89,7]),import.meta.url),"./lib/components/item-list/item-list.doc.mdx":async()=>t(()=>import("./item-list.doc-BJLrhTuF.js"),__vite__mapDeps([90,1,2,3,4,5,91,7]),import.meta.url),"./lib/components/item-list/item-list.stories.ts":async()=>t(()=>import("./item-list.stories-C70knNWo.js").then(o=>o.S),__vite__mapDeps([91,7]),import.meta.url),"./lib/components/legend/legend.doc.mdx":async()=>t(()=>import("./legend.doc-BUVucQ1_.js"),__vite__mapDeps([92,1,2,3,4,5,93,7]),import.meta.url),"./lib/components/legend/legend.stories.ts":async()=>t(()=>import("./legend.stories-DtWs5hw5.js").then(o=>o.S),__vite__mapDeps([93,7]),import.meta.url),"./lib/components/list-menu/list-menu.doc.mdx":async()=>t(()=>import("./list-menu.doc-BIEgsEcA.js"),__vite__mapDeps([94,1,2,3,4,5,95,7]),import.meta.url),"./lib/components/list-menu/list-menu.stories.ts":async()=>t(()=>import("./list-menu.stories-DkO56yv_.js").then(o=>o.S),__vite__mapDeps([95,7]),import.meta.url),"./lib/components/list/list.doc.mdx":async()=>t(()=>import("./list.doc-CZO27p48.js"),__vite__mapDeps([96,1,2,3,4,5,97,12,7]),import.meta.url),"./lib/components/list/list.stories.ts":async()=>t(()=>import("./list.stories-BcZ2RFZk.js").then(o=>o.S),__vite__mapDeps([97,12,7]),import.meta.url),"./lib/components/modal/modal.doc.mdx":async()=>t(()=>import("./modal.doc-DxL-CqM0.js"),__vite__mapDeps([98,1,2,3,4,5,99,7]),import.meta.url),"./lib/components/modal/modal.stories.ts":async()=>t(()=>import("./modal.stories-DBvCYULf.js").then(o=>o.S),__vite__mapDeps([99,7]),import.meta.url),"./lib/components/module-header/module-header.doc.mdx":async()=>t(()=>import("./module-header.doc-Cv68ADL4.js"),__vite__mapDeps([100,1,2,3,4,5,101,7]),import.meta.url),"./lib/components/module-header/module-header.stories.ts":async()=>t(()=>import("./module-header.stories-BTbcHVIi.js").then(o=>o.S),__vite__mapDeps([101,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.doc.mdx":async()=>t(()=>import("./notification-badge.doc-24NV8iVQ.js"),__vite__mapDeps([102,1,2,3,4,5,103,7]),import.meta.url),"./lib/components/notification-badge/notification-badge.stories.ts":async()=>t(()=>import("./notification-badge.stories-D4Teec5t.js").then(o=>o.S),__vite__mapDeps([103,7]),import.meta.url),"./lib/components/pagination/pagination.doc.mdx":async()=>t(()=>import("./pagination.doc-BklnLs1D.js"),__vite__mapDeps([104,1,2,3,4,5,105,7]),import.meta.url),"./lib/components/pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-DsELIg8i.js").then(o=>o.S),__vite__mapDeps([105,7]),import.meta.url),"./lib/components/popover/popover.doc.mdx":async()=>t(()=>import("./popover.doc-D0lLNdHN.js"),__vite__mapDeps([106,1,2,3,4,5,107,7]),import.meta.url),"./lib/components/popover/popover.stories.ts":async()=>t(()=>import("./popover.stories-D7t51FD3.js").then(o=>o.S),__vite__mapDeps([107,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.doc.mdx":async()=>t(()=>import("./progress-indicator.doc-DCP5DaGM.js"),__vite__mapDeps([108,1,2,3,4,5,109,12,7]),import.meta.url),"./lib/components/progress-indicator/progress-indicator.stories.ts":async()=>t(()=>import("./progress-indicator.stories-BKEkPYui.js").then(o=>o.S),__vite__mapDeps([109,12,7]),import.meta.url),"./lib/components/radio-button/radio-button.doc.mdx":async()=>t(()=>import("./radio-button.doc-BswUSzBl.js"),__vite__mapDeps([110,1,2,3,4,5,111,7]),import.meta.url),"./lib/components/radio-button/radio-button.stories.ts":async()=>t(()=>import("./radio-button.stories-DxgrMWwA.js").then(o=>o.S),__vite__mapDeps([111,7]),import.meta.url),"./lib/components/search-bar/search-bar.doc.mdx":async()=>t(()=>import("./search-bar.doc-CRPiQy0F.js"),__vite__mapDeps([112,1,2,3,4,5,113,7]),import.meta.url),"./lib/components/search-bar/search-bar.stories.ts":async()=>t(()=>import("./search-bar.stories-Ctsx389P.js").then(o=>o.S),__vite__mapDeps([113,7]),import.meta.url),"./lib/components/selector/selector.doc.mdx":async()=>t(()=>import("./selector.doc-BJK_ddFP.js"),__vite__mapDeps([114,1,2,3,4,5,115,12,7]),import.meta.url),"./lib/components/selector/selector.stories.ts":async()=>t(()=>import("./selector.stories-CHPw8T9H.js").then(o=>o.S),__vite__mapDeps([115,12,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.doc.mdx":async()=>t(()=>import("./sidemenu.doc-C1ZRzZy_.js"),__vite__mapDeps([116,1,2,3,4,5,117,7]),import.meta.url),"./lib/components/sidemenu/sidemenu.stories.ts":async()=>t(()=>import("./sidemenu.stories-B-8kgs0B.js").then(o=>o.S),__vite__mapDeps([117,7]),import.meta.url),"./lib/components/skeleton/skeleton.doc.mdx":async()=>t(()=>import("./skeleton.doc-D9dZP3su.js"),__vite__mapDeps([118,1,2,3,4,5,119,7]),import.meta.url),"./lib/components/skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-BG0Q1Tzv.js").then(o=>o.S),__vite__mapDeps([119,7]),import.meta.url),"./lib/components/slider/slider.doc.mdx":async()=>t(()=>import("./slider.doc-BYED_OBQ.js"),__vite__mapDeps([120,1,2,3,4,5,121,12,7]),import.meta.url),"./lib/components/slider/slider.stories.js":async()=>t(()=>import("./slider.stories-D6Dcn4_G.js").then(o=>o.S),__vite__mapDeps([121,12,7]),import.meta.url),"./lib/components/spinner/spinner.doc.mdx":async()=>t(()=>import("./spinner.doc-CmSBQzMl.js"),__vite__mapDeps([122,1,2,3,4,5,123,7]),import.meta.url),"./lib/components/spinner/spinner.stories.js":async()=>t(()=>import("./spinner.stories-n-DIw-Kr.js").then(o=>o.S),__vite__mapDeps([123,7]),import.meta.url),"./lib/components/split-button/split-button.doc.mdx":async()=>t(()=>import("./split-button.doc-CFIEZ7bf.js"),__vite__mapDeps([124,1,2,3,4,5,125,7]),import.meta.url),"./lib/components/split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-CAV-ol94.js").then(o=>o.S),__vite__mapDeps([125,7]),import.meta.url),"./lib/components/stepper/stepper.doc.mdx":async()=>t(()=>import("./stepper.doc-g32A6qPa.js"),__vite__mapDeps([126,1,2,3,4,5,127,12,7]),import.meta.url),"./lib/components/stepper/stepper.stories.ts":async()=>t(()=>import("./stepper.stories-BUF2AEYz.js").then(o=>o.S),__vite__mapDeps([127,12,7]),import.meta.url),"./lib/components/tabs-list/tabs.doc.mdx":async()=>t(()=>import("./tabs.doc-BeAZNAz2.js"),__vite__mapDeps([128,1,2,3,4,5,129,7]),import.meta.url),"./lib/components/tabs-list/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-1EPoqSJm.js").then(o=>o.S),__vite__mapDeps([129,7]),import.meta.url),"./lib/components/task/task.doc.mdx":async()=>t(()=>import("./task.doc-D8KbN72L.js"),__vite__mapDeps([130,1,2,3,4,5,131,12,7]),import.meta.url),"./lib/components/task/task.stories.ts":async()=>t(()=>import("./task.stories-D23YWUP3.js").then(o=>o.S),__vite__mapDeps([131,12,7]),import.meta.url),"./lib/components/textarea/textarea.doc.mdx":async()=>t(()=>import("./textarea.doc-swPzunhd.js"),__vite__mapDeps([132,1,2,3,4,5,133,7]),import.meta.url),"./lib/components/textarea/textarea.stories.ts":async()=>t(()=>import("./textarea.stories-BVFxAfFi.js").then(o=>o.S),__vite__mapDeps([133,7]),import.meta.url),"./lib/components/tile/tile.doc.mdx":async()=>t(()=>import("./tile.doc-ybx6kZB2.js"),__vite__mapDeps([134,1,2,3,4,5,135,7]),import.meta.url),"./lib/components/tile/tile.stories.ts":async()=>t(()=>import("./tile.stories-ZKctoWct.js").then(o=>o.S),__vite__mapDeps([135,7]),import.meta.url),"./lib/components/timepicker/timepicker.doc.mdx":async()=>t(()=>import("./timepicker.doc-6ra-k3lI.js"),__vite__mapDeps([136,1,2,3,4,5,137,7]),import.meta.url),"./lib/components/timepicker/timepicker.stories.ts":async()=>t(()=>import("./timepicker.stories-h5cFKlkA.js").then(o=>o.S),__vite__mapDeps([137,7]),import.meta.url),"./lib/components/toast/toast.doc.mdx":async()=>t(()=>import("./toast.doc-Bm4xaK1q.js"),__vite__mapDeps([138,1,2,3,4,5,139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/toast/toast.stories.ts":async()=>t(()=>import("./toast.stories-BzYArNdm.js").then(o=>o.T),__vite__mapDeps([139,7,140,12,14,30,22,15,16,17,18]),import.meta.url),"./lib/components/tooltip/tooltip.doc.mdx":async()=>t(()=>import("./tooltip.doc-Botg5PzN.js"),__vite__mapDeps([141,1,2,3,4,5,142,7]),import.meta.url),"./lib/components/tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-C41kQzR2.js").then(o=>o.S),__vite__mapDeps([142,7]),import.meta.url),"./lib/components/upload-box/upload-box.doc.mdx":async()=>t(()=>import("./upload-box.doc-Bbjz0_X-.js"),__vite__mapDeps([143,1,2,3,4,5,144,7]),import.meta.url),"./lib/components/upload-box/upload-box.stories.ts":async()=>t(()=>import("./upload-box.stories-D76PP_e4.js").then(o=>o.S),__vite__mapDeps([144,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.doc.mdx":async()=>t(()=>import("./user-feedback.doc-D6_N2Yei.js"),__vite__mapDeps([145,1,2,3,4,5,146,7]),import.meta.url),"./lib/components/user-feedback/user-feedback.stories.ts":async()=>t(()=>import("./user-feedback.stories-JhiRvL2e.js").then(o=>o.S),__vite__mapDeps([146,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.doc.mdx":async()=>t(()=>import("./dropdown-list.doc-0lSc5uT7.js"),__vite__mapDeps([147,1,2,3,4,5,148,12,7]),import.meta.url),"./lib/deprecated/dropdown-list/dropdown-list.stories.ts":async()=>t(()=>import("./dropdown-list.stories-Dfw0iqD-.js").then(o=>o.S),__vite__mapDeps([148,12,7]),import.meta.url),"./lib/deprecated/input-field/input-field.doc.mdx":async()=>t(()=>import("./input-field.doc-D6hRsjNx.js"),__vite__mapDeps([149,1,2,3,4,5,150,7]),import.meta.url),"./lib/deprecated/input-field/input-field.stories.ts":async()=>t(()=>import("./input-field.stories-9D2cKxT1.js").then(o=>o.S),__vite__mapDeps([150,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.doc.mdx":async()=>t(()=>import("./sidebar.doc-D7SMHw7Q.js"),__vite__mapDeps([151,1,2,3,4,5,152,7]),import.meta.url),"./lib/deprecated/sidebar/sidebar.stories.ts":async()=>t(()=>import("./sidebar.stories-Cw1bpr80.js").then(o=>o.S),__vite__mapDeps([152,7]),import.meta.url),"./lib/deprecated/switch/switch.doc.mdx":async()=>t(()=>import("./switch.doc-CAH3FjlH.js"),__vite__mapDeps([153,1,2,3,4,5,154,12,7]),import.meta.url),"./lib/deprecated/switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-D3i4EFIf.js").then(o=>o.S),__vite__mapDeps([154,12,7]),import.meta.url),"./lib/deprecated/table/table-css.doc.mdx":async()=>t(()=>import("./table-css.doc-DxY3-NxD.js"),__vite__mapDeps([155,1,2,3,4,5,156,12,7]),import.meta.url),"./lib/deprecated/table/table-css.stories.js":async()=>t(()=>import("./table-css.stories-XMoWHLx6.js").then(o=>o.S),__vite__mapDeps([156,12,7]),import.meta.url),"./lib/doc/intro.doc.mdx":async()=>t(()=>import("./intro.doc-B_5eXwlV.js"),__vite__mapDeps([157,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-breaking-changes.doc.mdx":async()=>t(()=>import("./migration-breaking-changes.doc-CpGa5WNc.js"),__vite__mapDeps([159,1,2,3,4,5,158]),import.meta.url),"./lib/doc/migration-intro.doc.mdx":async()=>t(()=>import("./migration-intro.doc-C98mxQfa.js"),__vite__mapDeps([160,1,2,3,4,5,158]),import.meta.url),"./lib/doc/versions.doc.mdx":async()=>t(()=>import("./versions.doc-CaRkD6YK.js"),__vite__mapDeps([161,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/borders/borders.doc.mdx":async()=>t(()=>import("./borders.doc-B7qd_j33.js"),__vite__mapDeps([162,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/branding/logo.doc.mdx":async()=>t(()=>import("./logo.doc-CIF_XidZ.js"),__vite__mapDeps([163,1,2,3,4,5,164,7]),import.meta.url),"./lib/foundations/branding/logo.stories.ts":async()=>t(()=>import("./logo.stories-DctTKhaJ.js").then(o=>o.L),__vite__mapDeps([164,7]),import.meta.url),"./lib/foundations/colors/colors.doc.mdx":async()=>t(()=>import("./colors.doc-C3bW4Va4.js"),__vite__mapDeps([165,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/elevation/elevation.doc.mdx":async()=>t(()=>import("./elevation.doc-CgEpEgNR.js"),__vite__mapDeps([166,1,2,3,4,5,7,167]),import.meta.url),"./lib/foundations/elevation/elevation.stories.ts":async()=>t(()=>import("./elevation.stories-D0SUOfBs.js").then(o=>o.E),__vite__mapDeps([167,7]),import.meta.url),"./lib/foundations/icon/icon.doc.mdx":async()=>t(()=>import("./icon.doc-B1m-faMf.js"),__vite__mapDeps([168,1,2,3,4,5,169,7]),import.meta.url),"./lib/foundations/icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-DG6xn302.js").then(o=>o.S),__vite__mapDeps([169,7]),import.meta.url),"./lib/foundations/layout/breakpoints.doc.mdx":async()=>t(()=>import("./breakpoints.doc-BdtvaVQt.js"),__vite__mapDeps([170,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/layout/grid.doc.mdx":async()=>t(()=>import("./grid.doc-CVfVABh6.js"),__vite__mapDeps([171,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/spacing/spacing.doc.mdx":async()=>t(()=>import("./spacing.doc-Deev40ge.js"),__vite__mapDeps([172,1,2,3,4,5,158]),import.meta.url),"./lib/foundations/typography/typography.doc.mdx":async()=>t(()=>import("./typography.doc-eOJf5MRa.js"),__vite__mapDeps([173,1,2,3,4,5,158,174,7]),import.meta.url),"./lib/foundations/typography/typography.stories.ts":async()=>t(()=>import("./typography.stories-C7DFWHUm.js"),__vite__mapDeps([174,7]),import.meta.url)};async function L(o){return T[o]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(o=[])=>{const _=await Promise.all([o[0]??t(()=>import("./entry-preview-DjIolVhg.js"),__vite__mapDeps([175,12,7,176,4]),import.meta.url),o[1]??t(()=>import("./entry-preview-docs-CvF5k5YT.js"),__vite__mapDeps([177,175,12,7,176,4,2,178]),import.meta.url),o[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([179,3]),import.meta.url),o[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),o[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([180,4]),import.meta.url),o[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),o[6]??t(()=>import("./preview-CPX9RCe3.js"),__vite__mapDeps([181,178]),import.meta.url),o[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([182,4]),import.meta.url),o[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),o[9]??t(()=>import("./preview-Daq9ghKh.js"),[],import.meta.url),o[10]??t(()=>import("./preview-CbS6dfU1.js"),__vite__mapDeps([183,18,12,7,14,22,30,16,13,15,17,21,23,26,29,34,37,40,43,44,140,176,59,184]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(L,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/rc/assets/index-B3nLAk4P.js b/rc/assets/index-B3nLAk4P.js deleted file mode 100644 index fd4cf46..0000000 --- a/rc/assets/index-B3nLAk4P.js +++ /dev/null @@ -1 +0,0 @@ -import{M,u as a}from"./index-FamfD7PC.js";import"./index-0DKGoewk.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; diff --git a/rc/assets/index-BaHiBOvO.js b/rc/assets/index-BaHiBOvO.js deleted file mode 100644 index 6401711..0000000 --- a/rc/assets/index-BaHiBOvO.js +++ /dev/null @@ -1 +0,0 @@ -import{M,u as a}from"./index-w933pGNw.js";import"./index-Dxx82nxn.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; diff --git a/rc/assets/index-BlEr_OIe.js b/rc/assets/index-C5hQraAl.js similarity index 83% rename from rc/assets/index-BlEr_OIe.js rename to rc/assets/index-C5hQraAl.js index 6c552a0..ef0bff5 100644 --- a/rc/assets/index-BlEr_OIe.js +++ b/rc/assets/index-C5hQraAl.js @@ -1 +1 @@ -import{aj as e}from"./index-CcF9BsMG.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; +import{aj as e}from"./index-CMvVeEhu.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; diff --git a/rc/assets/index-CJxD2fkV.js b/rc/assets/index-CJxD2fkV.js deleted file mode 100644 index f471e78..0000000 --- a/rc/assets/index-CJxD2fkV.js +++ /dev/null @@ -1 +0,0 @@ -import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-CQXi_Y6g.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; diff --git a/rc/assets/index-0DKGoewk.js b/rc/assets/index-CMvVeEhu.js similarity index 99% rename from rc/assets/index-0DKGoewk.js rename to rc/assets/index-CMvVeEhu.js index dec4e63..7f5ec02 100644 --- a/rc/assets/index-0DKGoewk.js +++ b/rc/assets/index-CMvVeEhu.js @@ -1,5 +1,5 @@ -const __vite__fileDeps=["./index-R4Lrbxry.js","./iframe-BaSWKbVt.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-BhMdJgwp.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-BaSWKbVt.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** +const __vite__fileDeps=["./index-DkVcEJOV.js","./iframe-BXEjRaIp.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-Dn77HkOp.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-BXEjRaIp.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** * @license React * react.production.min.js * @@ -716,7 +716,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function AK(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-R4Lrbxry.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` +`};function AK(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-DkVcEJOV.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` `).match(o),m=!1;return{items:p.map(function(h,f){let v=a.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=h.replace(g,"").replace(a,""),b=f===p.length-1,y=C.indexOf(` `)!==-1||b&&m;m=y;let E=u.inline,x=u.list,D;u.list=!0,y?(u.inline=!1,D=C.replace(xE,` @@ -747,7 +747,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.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 ${dn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Tz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),_X=F(Tz)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-BhMdJgwp.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;l({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-Dn77HkOp.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;ltte(e).replace(/\n\s*/g,"").trim()),nte=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},ote=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Wz(e){if(!ete(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=ZJ(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var ate=function(e){let t,r,n,o;return function(a,l){try{if(a==="")return o=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let i=r.get(this)||this;for(;n.length&&i!==n[0];)n.shift(),o.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return ote.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,lQ.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,iQ.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${rte(nte(a,p))}`}if((0,sQ.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(o)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let u=t.get(l);if(!u){let d=Array.isArray(l)?l:Wz(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return o.push(a),n.unshift(d),t.set(l,JSON.stringify(o)),l!==d&&r.set(l,d),d}return`_duplicate_${u}`}catch{return}}},lte={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ite=(e,t={})=>{let r={...lte,...t};return JSON.stringify(Wz(e),ate(r),t.space)};function qz(e){return ite(e,{allowFunction:!1})}var Yy=s.createContext({sources:{}}),Gz="--unknown--",ste=({children:e,channel:t})=>{let[r,n]=s.useState({});return s.useEffect(()=>{let o=(a,l=null,i=!1)=>{let{id:u,args:d=void 0,source:p,format:m}=typeof a=="string"?{id:a,source:l,format:i}:a,h=d?qz(d):Gz;n(f=>({...f,[u]:{...f[u],[h]:{code:p,format:m}}}))};return t.on(r4,o),()=>t.off(r4,o)},[]),w.createElement(Yy.Provider,{value:{sources:r}},e)},ute=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[qz(t)])||(o==null?void 0:o[Gz])||{code:""}},cte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:o}=t.parameters,a=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||a.type||Y1.AUTO;if(a.code!==void 0)return a.code;let i=l===Y1.DYNAMIC||l===Y1.AUTO&&e&&o?e:a.originalSource||"";return((d=n??a.transform)==null?void 0:d(i,t))||i},Kz=(e,t,r)=>{var f,v,g,C;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:l}=e,i=e.format??a.format,u=e.language??a.language??"jsx",d=e.dark??a.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:i,language:u,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=ute(n.id,m,r);return i=h.format??((C=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:C.format)??!1,{code:cte({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:i,language:u,dark:d}},Rre=e=>{let t=s.useContext(Yy),r=s.useContext(Gt),n=Kz(e,r,t);return w.createElement(Py,{...n})};function dte(e,t){let r=pte([e],t);return r&&r[0]}function pte(e,t){let[r,n]=s.useState({});return s.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);n(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}var fte=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},hte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let i=e.height??a.height,u=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:i,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},mte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=s.useContext(Gt),r=fte(e,t),n=dte(r,t);if(!n)return w.createElement(ez,null);let o=hte(e,n,t);return o?w.createElement(gY,{...o}):null},gte=e=>{var h,f,v,g,C,b,y,E,x,D;let t=s.useContext(Gt),r=s.useContext(Yy),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=xa(n||"story",["story"]),l=Kz({...o,...n&&{of:n}},t,r),i=e.layout??a.parameters.layout??((f=(h=a.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((b=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),p=e.sourceState??((E=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((D=(x=a.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(tz,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:m,layout:i},w.createElement(mte,{of:n||a.moduleExport,meta:e.meta,...e.story}))},vte=(e,t)=>{let r=yte(e,t);if(!r)throw new Error("No result when story was defined");return r},yte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=s.useState(r.args);s.useEffect(()=>{let u=d=>{d.storyId===n&&a(d.args)};return t.channel.on(hE,u),()=>t.channel.off(hE,u)},[n,t.channel]);let l=s.useCallback(u=>t.channel.emit(fK,{storyId:n,updatedArgs:u}),[n,t.channel]),i=s.useCallback(u=>t.channel.emit(hK,{storyId:n,argNames:u}),[n,t.channel]);return e&&[o,l,i]},wte=(e,t)=>{let r=t.getStoryContext(e),[n,o]=s.useState(r.globals);return s.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(mE,a),()=>t.channel.off(mE,a)},[t.channel]),[n]};function bte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Ete=e=>{var x;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=s.useContext(Gt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:i}=n,u=((x=o.docs)==null?void 0:x.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,m=e.sort??u.sort,[h,f,v]=vte(n,r),[g]=wte(n,r),C=fE(a,d,p);if(!(i&&Object.keys(i).length>0))return Object.keys(C).length>0||Object.keys(h).length>0?w.createElement(M5,{rows:C,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let b=HJ(l),y=Object.fromEntries(Object.entries(i).map(([D,S])=>[D,{rows:fE(bte(S,o),d,p),sort:m}])),E={[b]:{rows:C,sort:m},...y};return w.createElement(kJ,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Yz}=globalThis,xte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(rR,null,t);let n=e&&e.split("-");return w.createElement(Py,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Zy(e,t){e.channel.emit(mK,t)}var P5=ZG.a,Cte=({hash:e,children:t})=>{let r=s.useContext(Gt);return w.createElement(P5,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Yz.getElementById(o)&&Zy(r,e)}},t)},Dte=e=>{let{href:t,target:r,children:n,...o}=e,a=s.useContext(Gt);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(P5,{...e}):t.startsWith("#")?w.createElement(Cte,{hash:t},n):w.createElement(P5,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Zy(a,l.currentTarget.getAttribute("href")))},target:r,...o},n)},Zz=["h1","h2","h3","h4","h5","h6"],Ste=Zz.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),kte=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Ate=({as:e,id:t,children:r,...n})=>{let o=s.useContext(Gt),a=Ste[e],l=`#${t}`;return w.createElement(a,{id:t,...n},w.createElement(kte,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:i=>{Yz.getElementById(t)&&Zy(o,l)}},w.createElement(lK,null)),r)},Xy=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return w.createElement(Ate,{as:t,id:r,...o},n);let a=t,{as:l,...i}=e;return w.createElement(a,{...ge(i,t)})},_te=Zz.reduce((e,t)=>({...e,[t]:r=>w.createElement(Xy,{as:t,...r})}),{}),Fte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(rT`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' diff --git a/rc/assets/index-CQXi_Y6g.js b/rc/assets/index-CQXi_Y6g.js deleted file mode 100644 index 50d7298..0000000 --- a/rc/assets/index-CQXi_Y6g.js +++ /dev/null @@ -1,769 +0,0 @@ -const __vite__fileDeps=["./index-CJxD2fkV.js","./iframe-i1QLOcry.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-Cbj52Cbk.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-i1QLOcry.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ou=Symbol.for("react.element"),nT=Symbol.for("react.portal"),oT=Symbol.for("react.fragment"),aT=Symbol.for("react.strict_mode"),lT=Symbol.for("react.profiler"),iT=Symbol.for("react.provider"),sT=Symbol.for("react.context"),uT=Symbol.for("react.forward_ref"),cT=Symbol.for("react.suspense"),dT=Symbol.for("react.memo"),pT=Symbol.for("react.lazy"),n4=Symbol.iterator;function fT(e){return e===null||typeof e!="object"?null:(e=n4&&e[n4]||e["@@iterator"],typeof e=="function"?e:null)}var QE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ex=Object.assign,tx={};function Kl(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}Kl.prototype.isReactComponent={};Kl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rx(){}rx.prototype=Kl.prototype;function H5(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}var j5=H5.prototype=new rx;j5.constructor=H5;ex(j5,Kl.prototype);j5.isPureReactComponent=!0;var o4=Array.isArray,nx=Object.prototype.hasOwnProperty,V5={current:null},ox={key:!0,ref:!0,__self:!0,__source:!0};function ax(e,t,r){var n,o={},a=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)nx.call(t,n)&&!ox.hasOwnProperty(n)&&(o[n]=t[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1typeof 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')}),ua=(e,t)=>function(){return t||(0,e[ux(e)[0]])((t={exports:{}}).exports,t),t.exports},_T=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ux(t))!AT.call(e,o)&&o!==r&&sx(e,o,{get:()=>t[o],enumerable:!(n=ST(t,o))||n.enumerable});return e},W5=(e,t,r)=>(r=e!=null?DT(kT(e)):{},_T(t||!e||!e.__esModule?sx(r,"default",{value:e,enumerable:!0}):r,e));function FT(e,t,{signal:r,edges:n}={}){let o,a=null,l=n!=null&&n.includes("leading"),i=n==null||n.includes("trailing"),u=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},d=()=>{i&&u(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),o=void 0,a=null},v=()=>{h(),u()},g=function(...C){if(r!=null&&r.aborted)return;o=this,a=C;let b=p==null;m(),l&&b&&u()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function rre(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:l}=r,i=Array(2);o&&(i[0]="leading"),a&&(i[1]="trailing");let u,d=null,p=FT(function(...f){u=e.apply(this,f),d=null},t,{signal:n,edges:i}),m=function(...f){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return u=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),u}return p.apply(this,f),u},h=()=>(p.flush(),u);return m.cancel=p.cancel,m.flush=h,m}function RT(e){return Array.from(new Set(e))}function IT(e,t){let r={},n=Object.entries(e);for(let o=0;o`control-${e.replace(/\s+/g,"-")}`,Ad=e=>`set-${e.replace(/\s+/g,"-")}`,PT=Object.create,q5=Object.defineProperty,NT=Object.getOwnPropertyDescriptor,HT=Object.getOwnPropertyNames,jT=Object.getPrototypeOf,VT=Object.prototype.hasOwnProperty,I=(e,t)=>q5(e,"name",{value:t,configurable:!0}),Mu=(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')}),_d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HT(t))!VT.call(e,o)&&o!==r&&q5(e,o,{get:()=>t[o],enumerable:!(n=NT(t,o))||n.enumerable});return e},G5=(e,t,r)=>(r=e!=null?PT(jT(e)):{},UT(t||!e||!e.__esModule?q5(r,"default",{value:e,enumerable:!0}):r,e)),WT=_d(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function x(W){return typeof W=="string"||typeof W=="function"||W===o||W===p||W===l||W===a||W===h||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===g||W.$$typeof===v||W.$$typeof===i||W.$$typeof===u||W.$$typeof===m||W.$$typeof===b||W.$$typeof===y||W.$$typeof===E||W.$$typeof===C)}I(x,"isValidElementType");function D(W){if(typeof W=="object"&&W!==null){var Zt=W.$$typeof;switch(Zt){case r:var Cr=W.type;switch(Cr){case d:case p:case o:case l:case a:case h:return Cr;default:var bo=Cr&&Cr.$$typeof;switch(bo){case u:case m:case g:case v:case i:return bo;default:return Zt}}case n:return Zt}}}I(D,"typeOf");var S=d,k=p,A=u,_=i,R=r,z=m,L=o,$=g,N=v,M=n,j=l,q=a,B=h,P=!1;function H(W){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(W)||D(W)===d}I(H,"isAsyncMode");function G(W){return D(W)===p}I(G,"isConcurrentMode");function Z(W){return D(W)===u}I(Z,"isContextConsumer");function Q(W){return D(W)===i}I(Q,"isContextProvider");function ie(W){return typeof W=="object"&&W!==null&&W.$$typeof===r}I(ie,"isElement");function U(W){return D(W)===m}I(U,"isForwardRef");function X(W){return D(W)===o}I(X,"isFragment");function re(W){return D(W)===g}I(re,"isLazy");function _e(W){return D(W)===v}I(_e,"isMemo");function qe(W){return D(W)===n}I(qe,"isPortal");function xr(W){return D(W)===l}I(xr,"isProfiler");function xt(W){return D(W)===a}I(xt,"isStrictMode");function Yt(W){return D(W)===h}I(Yt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=z,e.Fragment=L,e.Lazy=$,e.Memo=N,e.Portal=M,e.Profiler=j,e.StrictMode=q,e.Suspense=B,e.isAsyncMode=H,e.isConcurrentMode=G,e.isContextConsumer=Z,e.isContextProvider=Q,e.isElement=ie,e.isForwardRef=U,e.isFragment=X,e.isLazy=re,e.isMemo=_e,e.isPortal=qe,e.isProfiler=xr,e.isStrictMode=xt,e.isSuspense=Yt,e.isValidElementType=x,e.typeOf=D})()}),qT=_d((e,t)=>{t.exports=WT()}),cx=_d((e,t)=>{var r=qT(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[r.ForwardRef]=a,i[r.Memo]=l;function u(C){return r.isMemo(C)?l:i[C.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(C,b,y){if(typeof b!="string"){if(v){var E=f(b);E&&E!==v&&g(C,E,y)}var x=p(b);m&&(x=x.concat(m(b)));for(var D=u(C),S=u(b),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Mu=="function"&Μif(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}I(l,"s");for(var i=typeof Mu=="function"&&Mu,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}I(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Me(Yl,--bt):0,xl--,Se===10&&(xl=1,Id--),Se}I(wx,"prev");function ht(){return Se=bt2||Cl(Se)>3?"":" "}I(bx,"whitespace");function Ex(e,t){for(;--t&&ht()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Zl(e,rs()+(t<6&&ur()==32&&ht()==32))}I(Ex,"escaping");function f0(e){for(;ht();)switch(Se){case e:return bt;case 34:case 39:e!==34&&e!==39&&f0(Se);break;case 40:e===41&&f0(e);break;case 92:ht();break}return bt}I(f0,"delimiter");function xx(e,t){for(;ht()&&e+Se!==57&&!(e+Se===84&&ur()===47););return"/*"+Zl(t,bt-1)+"*"+Fd(e===47?e:ht())}I(xx,"commenter");function Cx(e){for(;!Cl(ur());)ht();return Zl(e,bt)}I(Cx,"identifier");function Dx(e){return t2(os("",null,null,null,[""],e=e2(e),0,[0],e))}I(Dx,"compile");function os(e,t,r,n,o,a,l,i,u){for(var d=0,p=0,m=l,h=0,f=0,v=0,g=1,C=1,b=1,y=0,E="",x=o,D=a,S=n,k=E;C;)switch(v=y,y=ht()){case 40:if(v!=108&&Me(k,m-1)==58){p0(k+=le(ns(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=ns(y);break;case 9:case 10:case 13:case 32:k+=bx(v);break;case 92:k+=Ex(rs()-1,7);continue;case 47:switch(ur()){case 42:case 47:Pi(Sx(xx(ht(),rs()),t,r),u);break;default:k+="/"}break;case 123*g:i[d++]=or(k)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+p:b==-1&&(k=le(k,/\f/g,"")),f>0&&or(k)-m&&Pi(f>32?em(k+";",n,r,m-1):em(le(k," ","")+";",n,r,m-2),u);break;case 59:k+=";";default:if(Pi(S=Qh(k,t,r,d,p,o,i,E,x=[],D=[],m),a),y===123)if(p===0)os(k,t,S,S,x,a,m,i,D);else switch(h===99&&Me(k,3)===110?100:h){case 100:case 108:case 109:case 115:os(e,S,S,n&&Pi(Qh(e,S,S,0,0,o,i,E,o,x=[],m),D),o,D,m,i,n?x:D);break;default:os(k,S,S,S,[""],D,0,i,D)}}d=p=f=0,g=b=1,E=k="",m=l;break;case 58:m=1+or(k),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&wx()==125)continue}switch(k+=Fd(y),y*g){case 38:b=p>0?1:(k+="\f",-1);break;case 44:i[d++]=(or(k)-1)*b,b=1;break;case 64:ur()===45&&(k+=ns(ht())),h=ur(),p=m=or(E=k+=Cx(rs())),y++;break;case 45:v===45&&or(k)==2&&(g=0)}}return a}I(os,"parse");function Qh(e,t,r,n,o,a,l,i,u,d,p){for(var m=o-1,h=o===0?a:[""],f=Rd(h),v=0,g=0,C=0;v0?h[b]+" "+y:le(y,/&\f/g,h[b])))&&(u[C++]=E);return au(e,t,r,o===0?X5:i,u,d,p)}I(Qh,"ruleset");function Sx(e,t,r){return au(e,t,r,Z5,Fd(yx()),El(e,2,-2),0)}I(Sx,"comment");function em(e,t,r,n){return au(e,t,r,J5,El(e,0,n),El(e,n+1,-1),n)}I(em,"declaration");function qo(e,t){for(var r="",n=Rd(e),o=0;o-1},"isIgnoringComment"),iB=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,l=a?t.parent.children:n,i=l.length-1;i>=0;i--){var u=l[i];if(u.line=0;r--)if(!_x(t[r]))return!0;return!1},"isPrependedWithRegularRules"),u4=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),uB=I(function(e,t,r){_x(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),u4(e)):sB(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),u4(e)))},"incorrectImportAlarm");function r2(e,t){switch(hx(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+d0+e+Qe+e+e;case 6828:case 4268:return se+e+Qe+e+e;case 6165:return se+e+Qe+"flex-"+e+e;case 5187:return se+e+le(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return se+e+Qe+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return se+e+Qe+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+Qe+le(e,"shrink","negative")+e;case 5292:return se+e+Qe+le(e,"basis","preferred-size")+e;case 6060:return se+"box-"+le(e,"-grow","")+se+e+Qe+le(e,"grow","positive")+e;case 4554:return se+le(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(or(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+d0+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~p0(e,"stretch")?r2(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,or(e)-3-(~p0(e,"!important")&&10))){case 107:return le(e,":",":"+se)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(Me(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+Qe+e+e}return e}I(r2,"prefix");var cB=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case J5:e.return=r2(e.value,e.length);break;case fx:return qo([$a(e,{value:le(e.value,"@","@"+se)})],n);case X5:if(e.length)return gx(e.props,function(o){switch(mx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qo([$a(e,{props:[le(o,/:(read-\w+)/,":"+d0+"$1")]})],n);case"::placeholder":return qo([$a(e,{props:[le(o,/:(plac\w+)/,":"+se+"input-$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,":"+d0+"$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,Qe+"input-$1")]})],n)}return""})}},"prefixer"),dB=[cB],pB=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||dB;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(Fx,"murmur2");var gB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},c4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,vB="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yB=/[A-Z]|^ms/g,Rx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n2=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),d4=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),X1=K5(function(e){return n2(e)?e:e.replace(yB,"-$&").toLowerCase()}),h0=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rx,function(r,n,o){return Br={name:n,styles:o,next:Br},n})}return gB[e]!==1&&!n2(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");p4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,f4=["normal","none","initial","inherit","unset"],h4=h0,m4=/^-ms-/,g4=/-(.)/g,J1={},h0=I(function(e,t){if(e==="content"&&(typeof t!="string"||f4.indexOf(t)===-1&&!p4.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=h4(e,t);return r!==""&&!n2(e)&&e.indexOf("-")!==-1&&J1[e]===void 0&&(J1[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(m4,"ms-").replace(g4,function(n,o){return o.toUpperCase()})+"?")),r},"processStyleValue");var p4,f4,h4,m4,g4,J1,Ix="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ix);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Br={name:r.name,styles:r.styles,next:Br},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Br={name:n.name,styles:n.styles,next:Br},n=n.next;var o=r.styles+";";return r.map!==void 0&&(o+=r.map),o}return zx(e,t,r)}case"function":{if(e!==void 0){var a=Br,l=r(e);return Br=a,Dl(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var i=[],u=r.replace(Rx,function(p,m,h){var f="animation"+i.length;return i.push("const "+f+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});i.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(i,["`"+u+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(Dl,"handleInterpolation");function zx(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Wr({},e,t)},"getTheme"),xB=i4(function(e){return i4(function(t){return EB(e,t)})}),$x=I(function(e){var t=s.useContext(vn);return e.theme!==t&&(t=xB(t)(e.theme)),s.createElement(vn.Provider,{value:t},e.children)},"ThemeProvider");function CB(e){var t=e.displayName||e.name||"Component",r=I(function(o,a){var l=s.useContext(vn);return s.createElement(e,Wr({theme:l,ref:a},o))},"render"),n=s.forwardRef(r);return n.displayName="WithTheme("+t+")",hB(n,e)}I(CB,"withTheme");var w4="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b4="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",DB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),SB=Ld(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[w4],a=[n],l="";typeof e.className=="string"?l=zd(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var i=Sl(a,void 0,s.useContext(vn));if(i.name.indexOf("-")===-1){var u=e[b4];u&&(i=Sl([i,"label:"+u+";"]))}l+=t.key+"-"+i.name;var d={};for(var p in e)bB.call(e,p)&&p!=="css"&&p!==w4&&p!==b4&&(d[p]=e[p]);return d.ref=r,d.className=l,s.createElement(s.Fragment,null,s.createElement(DB,{cache:t,serialized:i,isStringTag:typeof o=="string"}),s.createElement(o,d))});SB.displayName="EmotionCssPropInternal";G5(cx());var kB={version:"11.11.4"},E4=!1,AB=Ld(function(e,t){!E4&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),E4=!0);var r=e.styles,n=Sl([r],void 0,s.useContext(vn)),o=s.useRef();return y4(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(i=!0,u.setAttribute("data-emotion",a),l.hydrate([u])),o.current=[l,i],function(){l.flush()}},[t]),y4(function(){var a=o.current,l=a[0],i=a[1];if(i){a[1]=!1;return}if(n.next!==void 0&&Bd(t,n.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",n,l,!1)},[t,n.name]),null});AB.displayName="EmotionGlobal";function $d(){for(var e=arguments.length,t=new Array(e),r=0;r component."),l="";for(var i in a)a[i]&&i&&(l&&(l+=" "),l+=i)}break}default:l=a}l&&(o&&(o+=" "),o+=l)}}return o},"classnames");function Ox(e,t,r){var n=[],o=zd(e,n,r);return n.length<2?r:o+t(n)}I(Ox,"merge");var FB=I(function(e){var t=e.cache,r=e.serializedArr;return o2(function(){for(var n=0;n96?IB:zB},"getDefaultShouldForwardProp"),D4=I(function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),S4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,TB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),BB=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var i=D4(t,r,n),u=i||C4(o),d=!u("as");return function(){var p=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{p[0][0]===void 0&&console.error(S4),m.push(p[0][0]);for(var h=p.length,f=1;f1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}I(Al,"hslToRgb");var k4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ux(e){if(typeof e!="string")return e;var t=e.toLowerCase();return k4[t]?"#"+k4[t]:e}I(Ux,"nameToHex");var OB=/^#[a-fA-F0-9]{6}$/,MB=/^#[a-fA-F0-9]{8}$/,PB=/^#[a-fA-F0-9]{3}$/,NB=/^#[a-fA-F0-9]{4}$/,rp=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,HB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,VB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function lu(e){if(typeof e!="string")throw new Or(3);var t=Ux(e);if(t.match(OB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(MB)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(PB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(NB)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=rp.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=HB.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=jB.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Al(i,u,d)+")",m=rp.exec(p);if(!m)throw new Or(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=VB.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Al(f,v,g)+")",b=rp.exec(C);if(!b)throw new Or(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Or(5)}I(lu,"parseToRgb");function Wx(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Ds(e,t,r):"rgba("+Al(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ds(e.hue,e.saturation,e.lightness):"rgba("+Al(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Or(2)}I(Kx,"hsla");function v0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return tm("#"+Tn(e)+Tn(t)+Tn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return tm("#"+Tn(e.red)+Tn(e.green)+Tn(e.blue));throw new Or(6)}I(v0,"rgb");function _l(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=lu(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?v0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?v0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Or(7)}I(_l,"rgba");var WB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),qB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),GB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),KB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function s2(e){if(typeof e!="object")throw new Or(8);if(qB(e))return _l(e);if(WB(e))return v0(e);if(KB(e))return Kx(e);if(GB(e))return Gx(e);throw new Or(8)}I(s2,"toColorString");function u2(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):u2(e,t,n)},"fn")}I(u2,"curried");function iu(e){return u2(e,e.length,[])}I(iu,"curry");function su(e,t,r){return Math.max(e,Math.min(t,r))}I(su,"guard");function Yx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness-parseFloat(e))}))}I(Yx,"darken");var YB=iu(Yx),ZB=YB;function Zx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness+parseFloat(e))}))}I(Zx,"lighten");var XB=iu(Zx),JB=XB;function Xx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,(n*100+parseFloat(e)*100)/100)});return _l(o)}I(Xx,"opacify");var QB=iu(Xx),eL=QB;function Jx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return _l(o)}I(Jx,"transparentize");var tL=iu(Jx),rL=tL,K={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Bn={app:"#F6F9FC",gridCellSize:10,hoverable:rL(.9,K.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Mr={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Qx=G5(GT(),1),nL=(0,Qx.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Qx.default)(1)(({color:e,background:t,typography:r})=>{let n=nL({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var oL={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:K.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:K.lightest,inputBorderRadius:4},aL=oL,lL={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Bn.app,appContentBg:K.lightest,appPreviewBg:K.lightest,appBorderColor:K.border,appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:K.darkest,textInverseColor:K.lightest,textMutedColor:K.dark,barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:K.lightest,buttonBg:Bn.app,buttonBorder:K.medium,booleanBg:K.mediumlight,booleanSelectedBg:K.lightest,inputBg:K.lightest,inputBorder:K.border,inputTextColor:K.darkest,inputBorderRadius:4},y0=lL,iL=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:sL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:np}=iL,uL=I(e=>({color:e}),"mkColor"),cL=I(e=>typeof e!="string"?(sL.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),dL=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),pL=I((e,t)=>e==="darken"?_l(`${ZB(1,t)}`,.95):e==="lighten"?_l(`${JB(1,t)}`,.95):t,"applyPolished"),eC=I(e=>t=>{if(!cL(t)||!dL(t))return t;try{return pL(e,t)}catch{return t}},"colorFactory"),pi=eC("lighten");eC("darken");var tC=I(()=>!np||!np.matchMedia?"light":np.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),rm={light:y0,dark:aL,normal:y0};tC();var fL={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},hL=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,rC=Cn` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,mL=Cn` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,gL=Cn` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,vL=$d` - animation: ${rC} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,yL=$d` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,wL={rotate360:hL,glow:rC,float:mL,jiggle:gL,inlineGlow:vL,hoverable:yL},bL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},EL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},xL=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:uL(n)}),{}),"convertColors"),CL=I(({colors:e,mono:t})=>{let r=xL(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),DL={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},SL={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},kL=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:K.tertiary,ancillary:K.ancillary,orange:K.orange,gold:K.gold,green:K.green,seafoam:K.seafoam,purple:K.purple,ultraviolet:K.ultraviolet,lightest:K.lightest,lighter:K.lighter,light:K.light,mediumlight:K.mediumlight,medium:K.medium,mediumdark:K.mediumdark,dark:K.dark,darker:K.darker,darkest:K.darkest,border:K.border,positive:K.positive,negative:K.negative,warning:K.warning,critical:K.critical,defaultText:e.textColor||K.darkest,inverseText:e.textInverseColor||K.lightest,positiveText:K.positiveText,negativeText:K.negativeText,warningText:K.warningText}),"createColors"),nm=I((e=rm[tC()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:o,appContentBg:a,appPreviewBg:l,appBorderColor:i,appBorderRadius:u,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:C,buttonBg:b,buttonBorder:y,booleanBg:E,booleanSelectedBg:x,inputBg:D,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:z,brandTarget:L,gridCellSize:$,...N}=e;return{...N,base:t,color:kL(e),background:{app:o,bar:C,content:a,preview:l,gridCellSize:$||Bn.gridCellSize,hoverable:Bn.hoverable,positive:Bn.positive,negative:Bn.negative,warning:Bn.warning,critical:Bn.critical},typography:{fonts:{base:d,mono:p},weight:Mr.weight,size:Mr.size},animation:wL,easing:fL,input:{background:D,border:S,borderRadius:A,color:k},button:{background:b||D,border:y||S},boolean:{background:E||S,selectedBackground:x||D},layoutMargin:10,appBorderColor:i,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:C,brand:{title:_,url:R,image:z||(_?null:void 0),target:L},code:CL({colors:t==="light"?DL:SL,mono:p}),addonActionsTheme:{...t==="light"?EL:bL,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Mr.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:eL(.2,i),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Mr.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:AL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var _L=I(e=>Object.keys(e).length===0,"isEmpty"),op=I(e=>e!=null&&typeof e=="object","isObject"),FL=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),RL=I(()=>Object.create(null),"makeObjectWithoutPrototype"),nC=I((e,t)=>e===t||!op(e)||!op(t)?{}:Object.keys(e).reduce((r,n)=>{if(FL(t,n)){let o=nC(e[n],t[n]);return op(o)&&_L(o)||(r[n]=o),r}return r[n]=void 0,r},RL()),"deletedDiff"),IL=nC;function oC(e){for(var t=[],r=1;r{if(!e)return nm(y0);let t=IL(y0,e);return Object.keys(t).length&&AL.warn(oC` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),nm(e)},"ensure"),om="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",aC={exports:{}},Bt={},lC={exports:{}},iC={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(B,P){var H=B.length;B.push(P);e:for(;0>>1,Z=B[G];if(0>>1;Go(U,H))Xo(re,U)?(B[G]=re,B[X]=H,G=X):(B[G]=U,B[ie]=H,G=ie);else if(Xo(re,H))B[G]=re,B[X]=H,G=X;else break e}}return P}function o(B,P){var H=B.sortIndex-P.sortIndex;return H!==0?H:B.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var u=[],d=[],p=1,m=null,h=3,f=!1,v=!1,g=!1,C=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var P=r(d);P!==null;){if(P.callback===null)n(d);else if(P.startTime<=B)n(d),P.sortIndex=P.expirationTime,t(u,P);else break;P=r(d)}}function x(B){if(g=!1,E(B),!v)if(r(u)!==null)v=!0,j(D);else{var P=r(d);P!==null&&q(x,P.startTime-B)}}function D(B,P){v=!1,g&&(g=!1,b(A),A=-1),f=!0;var H=h;try{for(E(P),m=r(u);m!==null&&(!(m.expirationTime>P)||B&&!z());){var G=m.callback;if(typeof G=="function"){m.callback=null,h=m.priorityLevel;var Z=G(m.expirationTime<=P);P=e.unstable_now(),typeof Z=="function"?m.callback=Z:m===r(u)&&n(u),E(P)}else n(u);m=r(u)}if(m!==null)var Q=!0;else{var ie=r(d);ie!==null&&q(x,ie.startTime-P),Q=!1}return Q}finally{m=null,h=H,f=!1}}var S=!1,k=null,A=-1,_=5,R=-1;function z(){return!(e.unstable_now()-R<_)}function L(){if(k!==null){var B=e.unstable_now();R=B;var P=!0;try{P=k(!0,B)}finally{P?$():(S=!1,k=null)}}else S=!1}var $;if(typeof y=="function")$=function(){y(L)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,M=N.port2;N.port1.onmessage=L,$=function(){M.postMessage(null)}}else $=function(){C(L,0)};function j(B){k=B,S||(S=!0,$())}function q(B,P){A=C(function(){B(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,j(D))},e.unstable_forceFrameRate=function(B){0>B||125G?(B.sortIndex=H,t(d,B),r(u)===null&&B===r(d)&&(g?(b(A),A=-1):g=!0,q(x,H-G))):(B.sortIndex=Z,t(u,B),v||f||(v=!0,j(D))),B},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(B){var P=h;return function(){var H=h;h=P;try{return B.apply(this,arguments)}finally{h=H}}}})(iC);lC.exports=iC;var TL=lC.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var BL=s,It=TL;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),am=Object.prototype.hasOwnProperty,LL=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A4={},_4={};function $L(e){return am.call(_4,e)?!0:am.call(A4,e)?!1:LL.test(e)?_4[e]=!0:(A4[e]=!0,!1)}function OL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ML(e,t,r,n){if(t===null||typeof t>"u"||OL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,r,n,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ue[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var c2=/[\-:]([a-z])/g;function d2(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function p2(e,t,r,n){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:n||!(2i||o[l]!==a[i]){var u=` -`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{lp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ni(e):""}function PL(e){switch(e.tag){case 5:return Ni(e.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 2:case 15:return e=ip(e.type,!1),e;case 11:return e=ip(e.type.render,!1),e;case 1:return e=ip(e.type,!0),e;default:return""}}function um(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wa:return"Fragment";case Ua:return"Portal";case lm:return"Profiler";case f2:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case uC:return(e._context.displayName||"Context")+".Provider";case h2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case m2:return t=e.displayName||null,t!==null?t:um(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return um(e(t))}catch{}}return null}function NL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return um(t);case 8:return t===f2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HL(e){var t=pC(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nu(e){e._valueTracker||(e._valueTracker=HL(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pC(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function w0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function cm(e,t){var r=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function R4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ro(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hC(e,t){t=t.checked,t!=null&&p2(e,"checked",t,!1)}function dm(e,t){hC(e,t);var r=ro(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pm(e,t.type,r):t.hasOwnProperty("defaultValue")&&pm(e,t.type,ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function I4(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function pm(e,t,r){(t!=="number"||w0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hi=Array.isArray;function ol(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Hu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ks(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var as={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jL=["Webkit","ms","Moz","O"];Object.keys(as).forEach(function(e){jL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),as[t]=as[e]})});function yC(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||as.hasOwnProperty(e)&&as[e]?(""+t).trim():t+"px"}function wC(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=yC(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var VL=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mm(e,t){if(t){if(VL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function gm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vm=null;function g2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ym=null,al=null,ll=null;function B4(e){if(e=du(e)){if(typeof ym!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Hd(t),ym(e.stateNode,e.type,t))}}function bC(e){al?ll?ll.push(e):ll=[e]:al=e}function EC(){if(al){var e=al,t=ll;if(ll=al=null,B4(e),t)for(e=0;e>>=0,e===0?32:31-(e$(e)/t$|0)|0}var ju=64,Vu=4194304;function ji(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function C0(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var i=l&~o;i!==0?n=ji(i):(a&=l,a!==0&&(n=ji(a)))}else l=r&~o,l!==0?n=ji(l):a!==0&&(n=ji(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function uu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-cr(t),e[t]=r}function a$(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=is),V4=" ",U4=!1;function HC(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qa=!1;function L$(e,t){switch(e){case"compositionend":return jC(t);case"keypress":return t.which!==32?null:(U4=!0,V4);case"textInput":return e=t.data,e===V4&&U4?null:e;default:return null}}function $$(e,t){if(qa)return e==="compositionend"||!D2&&HC(e,t)?(e=PC(),$c=E2=Vn=null,qa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=K4(r)}}function qC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function GC(){for(var e=window,t=w0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=w0(e.document)}return t}function S2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function W$(e){var t=GC(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&qC(r.ownerDocument.documentElement,r)){if(n!==null&&S2(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=Y4(r,a);var l=Y4(r,n);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ga=null,Dm=null,us=null,Sm=!1;function Z4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Sm||Ga==null||Ga!==w0(n)||(n=Ga,"selectionStart"in n&&S2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),us&&zs(us,n)||(us=n,n=k0(Dm,"onSelect"),0Za||(e.current=Im[Za],Im[Za]=null,Za--)}function ce(e,t){Za++,Im[Za]=e.current,e.current=t}var no={},tt=fo(no),mt=fo(!1),Jo=no;function Rl(e,t){var r=e.type.contextTypes;if(!r)return no;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gt(e){return e=e.childContextTypes,e!=null}function _0(){fe(mt),fe(tt)}function n3(e,t,r){if(tt.current!==no)throw Error(O(168));ce(tt,t),ce(mt,r)}function r9(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(O(108,NL(e)||"Unknown",o));return we({},r,n)}function F0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,Jo=tt.current,ce(tt,e),ce(mt,mt.current),!0}function o3(e,t,r){var n=e.stateNode;if(!n)throw Error(O(169));r?(e=r9(e,t,Jo),n.__reactInternalMemoizedMergedChildContext=e,fe(mt),fe(tt),ce(tt,e)):fe(mt),ce(mt,r)}var cn=null,jd=!1,Ep=!1;function n9(e){cn===null?cn=[e]:cn.push(e)}function nO(e){jd=!0,n9(e)}function ho(){if(!Ep&&cn!==null){Ep=!0;var e=0,t=ue;try{var r=cn;for(ue=1;e>=l,o-=l,pn=1<<32-cr(t)+o|r<A?(_=k,k=null):_=k.sibling;var R=h(b,k,E[A],x);if(R===null){k===null&&(k=_);break}e&&k&&R.alternate===null&&t(b,k),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R,k=_}if(A===E.length)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;AA?(_=k,k=null):_=k.sibling;var z=h(b,k,R.value,x);if(z===null){k===null&&(k=_);break}e&&k&&z.alternate===null&&t(b,k),y=a(z,y,A),S===null?D=z:S.sibling=z,S=z,k=_}if(R.done)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;!R.done;A++,R=E.next())R=m(b,R.value,x),R!==null&&(y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return me&&Ro(b,A),D}for(k=n(b,k);!R.done;A++,R=E.next())R=f(k,b,A,R.value,x),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?A:R.key),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return e&&k.forEach(function(L){return t(b,L)}),me&&Ro(b,A),D}function C(b,y,E,x){if(typeof E=="object"&&E!==null&&E.type===Wa&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pu:e:{for(var D=E.key,S=y;S!==null;){if(S.key===D){if(D=E.type,D===Wa){if(S.tag===7){r(b,S.sibling),y=o(S,E.props.children),y.return=b,b=y;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ln&&i3(D)===S.type){r(b,S.sibling),y=o(S,E.props),y.ref=wi(b,S,E),y.return=b,b=y;break e}r(b,S);break}else t(b,S);S=S.sibling}E.type===Wa?(y=Ko(E.props.children,b.mode,x,E.key),y.return=b,b=y):(x=Uc(E.type,E.key,E.props,null,b.mode,x),x.ref=wi(b,y,E),x.return=b,b=x)}return l(b);case Ua:e:{for(S=E.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){r(b,y.sibling),y=o(y,E.children||[]),y.return=b,b=y;break e}else{r(b,y);break}else t(b,y);y=y.sibling}y=Fp(E,b.mode,x),y.return=b,b=y}return l(b);case Ln:return S=E._init,C(b,y,S(E._payload),x)}if(Hi(E))return v(b,y,E,x);if(fi(E))return g(b,y,E,x);Zu(b,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(r(b,y.sibling),y=o(y,E),y.return=b,b=y):(r(b,y),y=_p(E,b.mode,x),y.return=b,b=y),l(b)):r(b,y)}return C}var zl=i9(!0),s9=i9(!1),z0=fo(null),T0=null,Qa=null,F2=null;function R2(){F2=Qa=T0=null}function I2(e){var t=z0.current;fe(z0),e._currentValue=t}function Bm(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function sl(e,t){T0=e,F2=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ft=!0),e.firstContext=null)}function jt(e){var t=e._currentValue;if(F2!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(T0===null)throw Error(O(308));Qa=e,T0.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var Mo=null;function z2(e){Mo===null?Mo=[e]:Mo.push(e)}function u9(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,z2(t)):(r.next=o.next,o.next=r),t.interleaved=r,bn(e,n)}function bn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var $n=!1;function T2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function c9(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ae&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,bn(e,r)}return o=n.interleaved,o===null?(t.next=t,z2(n)):(t.next=o.next,o.next=t),n.interleaved=t,bn(e,r)}function Mc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}function s3(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=l:a=a.next=l,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function B0(e,t,r,n){var o=e.updateQueue;$n=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var u=i,d=u.next;u.next=null,l===null?a=d:l.next=d,l=u;var p=e.alternate;p!==null&&(p=p.updateQueue,i=p.lastBaseUpdate,i!==l&&(i===null?p.firstBaseUpdate=d:i.next=d,p.lastBaseUpdate=u))}if(a!==null){var m=o.baseState;l=0,p=d=u=null,i=a;do{var h=i.lane,f=i.eventTime;if((n&h)===h){p!==null&&(p=p.next={eventTime:f,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var v=e,g=i;switch(h=t,f=r,g.tag){case 1:if(v=g.payload,typeof v=="function"){m=v.call(f,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,h=typeof v=="function"?v.call(f,m,h):v,h==null)break e;m=we({},m,h);break e;case 2:$n=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else f={eventTime:f,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(d=p=f,u=m):p=p.next=f,l|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(p===null&&(u=m),o.baseState=u,o.firstBaseUpdate=d,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ta|=l,e.lanes=l,e.memoizedState=m}}function u3(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Cp.transition;Cp.transition={};try{e(!1),t()}finally{ue=r,Cp.transition=n}}function A9(){return Vt().memoizedState}function iO(e,t,r){var n=Xn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},_9(e))F9(t,r);else if(r=u9(e,t,r,n),r!==null){var o=lt();dr(r,e,n,o),R9(r,t,n)}}function sO(e,t,r){var n=Xn(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(_9(e))F9(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,i=a(l,r);if(o.hasEagerState=!0,o.eagerState=i,fr(i,l)){var u=t.interleaved;u===null?(o.next=o,z2(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=u9(e,t,o,n),r!==null&&(o=lt(),dr(r,e,n,o),R9(r,t,n))}}function _9(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function F9(e,t){cs=$0=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function R9(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}var O0={readContext:jt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},uO={readContext:jt,useCallback:function(e,t){return Ir().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:d3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Nc(4194308,4,x9.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nc(4,2,e,t)},useMemo:function(e,t){var r=Ir();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ir();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iO.bind(null,ye,e),[n.memoizedState,e]},useRef:function(e){var t=Ir();return e={current:e},t.memoizedState=e},useState:c3,useDebugValue:H2,useDeferredValue:function(e){return Ir().memoizedState=e},useTransition:function(){var e=c3(!1),t=e[0];return e=lO.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ye,o=Ir();if(me){if(r===void 0)throw Error(O(407));r=r()}else{if(r=t(),Ne===null)throw Error(O(349));ea&30||h9(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,d3(g9.bind(null,n,a,e),[e]),n.flags|=2048,Ns(9,m9.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ir(),t=Ne.identifierPrefix;if(me){var r=fn,n=pn;r=(n&~(1<<32-cr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ms++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Lr]=t,e[Ls]=n,N9(e,t,!1,!1),t.stateNode=e;e:{switch(l=gm(r,n),r){case"dialog":de("cancel",e),de("close",e),o=n;break;case"iframe":case"object":case"embed":de("load",e),o=n;break;case"video":case"audio":for(o=0;oLl&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304)}else{if(!n)if(e=L0(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),bi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!me)return Ye(t),null}else 2*Ce()-a.renderingStartTime>Ll&&r!==1073741824&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ce(),t.sibling=null,r=ve.current,ce(ve,n?r&1|2:r&1),t):(Ye(t),null);case 22:case 23:return G2(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?St&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function vO(e,t){switch(A2(t),t.tag){case 1:return gt(t.type)&&_0(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tl(),fe(mt),fe(tt),$2(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return L2(t),null;case 13:if(fe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(ve),null;case 4:return Tl(),null;case 10:return I2(t.type._context),null;case 22:case 23:return G2(),null;case 24:return null;default:return null}}var Ju=!1,et=!1,yO=typeof WeakSet=="function"?WeakSet:Set,V=null;function el(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){be(e,t,n)}else r.current=null}function Vm(e,t,r){try{r()}catch(n){be(e,t,n)}}var x3=!1;function wO(e,t){if(km=D0,e=GC(),S2(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,i=-1,u=-1,d=0,p=0,m=e,h=null;t:for(;;){for(var f;m!==r||o!==0&&m.nodeType!==3||(i=l+o),m!==a||n!==0&&m.nodeType!==3||(u=l+n),m.nodeType===3&&(l+=m.nodeValue.length),(f=m.firstChild)!==null;)h=m,m=f;for(;;){if(m===e)break t;if(h===r&&++d===o&&(i=l),h===a&&++p===n&&(u=l),(f=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=f}r=i===-1||u===-1?null:{start:i,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Am={focusedElem:e,selectionRange:r},D0=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,C=v.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:rr(t.type,g),C);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){be(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=x3,x3=!1,v}function ds(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Vm(t,r,a)}o=o.next}while(o!==n)}}function Wd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Um(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function V9(e){var t=e.alternate;t!==null&&(e.alternate=null,V9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lr],delete t[Ls],delete t[Rm],delete t[tO],delete t[rO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U9(e){return e.tag===5||e.tag===3||e.tag===4}function C3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=A0));else if(n!==4&&(e=e.child,e!==null))for(Wm(e,t,r),e=e.sibling;e!==null;)Wm(e,t,r),e=e.sibling}function qm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(qm(e,t,r),e=e.sibling;e!==null;)qm(e,t,r),e=e.sibling}var He=null,nr=!1;function An(e,t,r){for(r=r.child;r!==null;)W9(e,t,r),r=r.sibling}function W9(e,t,r){if(Hr&&typeof Hr.onCommitFiberUnmount=="function")try{Hr.onCommitFiberUnmount(Od,r)}catch{}switch(r.tag){case 5:et||el(r,t);case 6:var n=He,o=nr;He=null,An(e,t,r),He=n,nr=o,He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):He.removeChild(r.stateNode));break;case 18:He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?bp(e.parentNode,r):e.nodeType===1&&bp(e,r),Rs(e)):bp(He,r.stateNode));break;case 4:n=He,o=nr,He=r.stateNode.containerInfo,nr=!0,An(e,t,r),He=n,nr=o;break;case 0:case 11:case 14:case 15:if(!et&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&Vm(r,t,l),o=o.next}while(o!==n)}An(e,t,r);break;case 1:if(!et&&(el(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(i){be(r,t,i)}An(e,t,r);break;case 21:An(e,t,r);break;case 22:r.mode&1?(et=(n=et)||r.memoizedState!==null,An(e,t,r),et=n):An(e,t,r);break;default:An(e,t,r)}}function D3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new yO),t.forEach(function(n){var o=_O.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Jt(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=l),n&=~a}if(n=o,n=Ce()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*EO(n/1960))-n,10e?16:e,Un===null)var n=!1;else{if(e=Un,Un=null,N0=0,ae&6)throw Error(O(331));var o=ae;for(ae|=4,V=e.current;V!==null;){var a=V,l=a.child;if(V.flags&16){var i=a.deletions;if(i!==null){for(var u=0;uCe()-W2?Go(e,0):U2|=r),vt(e,t)}function Q9(e,t){t===0&&(e.mode&1?(t=Vu,Vu<<=1,!(Vu&130023424)&&(Vu=4194304)):t=1);var r=lt();e=bn(e,t),e!==null&&(uu(e,t,r),vt(e,r))}function AO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Q9(e,r)}function _O(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(O(314))}n!==null&&n.delete(t),Q9(e,r)}var eD;eD=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)ft=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ft=!1,mO(e,t,r);ft=!!(e.flags&131072)}else ft=!1,me&&t.flags&1048576&&o9(t,I0,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Hc(e,t),e=t.pendingProps;var o=Rl(t,tt.current);sl(t,r),o=M2(null,t,n,e,o,r);var a=P2();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,gt(n)?(a=!0,F0(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,T2(t),o.updater=Ud,t.stateNode=o,o._reactInternals=t,$m(t,n,e,r),t=Pm(null,t,n,!0,a,r)):(t.tag=0,me&&a&&k2(t),at(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Hc(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=RO(n),e=rr(n,e),o){case 0:t=Mm(null,t,n,e,r);break e;case 1:t=w3(null,t,n,e,r);break e;case 11:t=v3(null,t,n,e,r);break e;case 14:t=y3(null,t,n,rr(n.type,e),r);break e}throw Error(O(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Mm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),w3(e,t,n,o,r);case 3:e:{if(O9(t),e===null)throw Error(O(387));n=t.pendingProps,a=t.memoizedState,o=a.element,c9(e,t),B0(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Bl(Error(O(423)),t),t=b3(e,t,n,r,o);break e}else if(n!==o){o=Bl(Error(O(424)),t),t=b3(e,t,n,r,o);break e}else for(At=Kn(t.stateNode.containerInfo.firstChild),_t=t,me=!0,ar=null,r=s9(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Il(),n===o){t=En(e,t,r);break e}at(e,t,n,r)}t=t.child}return t;case 5:return d9(t),e===null&&Tm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,_m(n,o)?l=null:a!==null&&_m(n,a)&&(t.flags|=32),$9(e,t),at(e,t,l,r),t.child;case 6:return e===null&&Tm(t),null;case 13:return M9(e,t,r);case 4:return B2(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=zl(t,null,n,r):at(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),v3(e,t,n,o,r);case 7:return at(e,t,t.pendingProps,r),t.child;case 8:return at(e,t,t.pendingProps.children,r),t.child;case 12:return at(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ce(z0,n._currentValue),n._currentValue=l,a!==null)if(fr(a.value,l)){if(a.children===o.children&&!mt.current){t=En(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){l=a.child;for(var u=i.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=hn(-1,r&-r),u.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),Bm(a.return,r,t),i.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error(O(341));l.lanes|=r,i=l.alternate,i!==null&&(i.lanes|=r),Bm(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}at(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,sl(t,r),o=jt(o),n=n(o),t.flags|=1,at(e,t,n,r),t.child;case 14:return n=t.type,o=rr(n,t.pendingProps),o=rr(n.type,o),y3(e,t,n,o,r);case 15:return B9(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Hc(e,t),t.tag=1,gt(n)?(e=!0,F0(t)):e=!1,sl(t,r),I9(t,n,o),$m(t,n,o,r),Pm(null,t,n,!0,e,r);case 19:return P9(e,t,r);case 22:return L9(e,t,r)}throw Error(O(156,t.tag))};function tD(e,t){return _C(e,t)}function FO(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,r,n){return new FO(e,t,r,n)}function Y2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RO(e){if(typeof e=="function")return Y2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===h2)return 11;if(e===m2)return 14}return 2}function Jn(e,t){var r=e.alternate;return r===null?(r=Mt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Uc(e,t,r,n,o,a){var l=2;if(n=e,typeof e=="function")Y2(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Wa:return Ko(r.children,o,a,t);case f2:l=8,o|=8;break;case lm:return e=Mt(12,r,t,o|2),e.elementType=lm,e.lanes=a,e;case im:return e=Mt(13,r,t,o),e.elementType=im,e.lanes=a,e;case sm:return e=Mt(19,r,t,o),e.elementType=sm,e.lanes=a,e;case dC:return Gd(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uC:l=10;break e;case cC:l=9;break e;case h2:l=11;break e;case m2:l=14;break e;case Ln:l=16,n=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Mt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Ko(e,t,r,n){return e=Mt(7,e,n,t),e.lanes=r,e}function Gd(e,t,r,n){return e=Mt(22,e,n,t),e.elementType=dC,e.lanes=r,e.stateNode={isHidden:!1},e}function _p(e,t,r){return e=Mt(6,e,null,t),e.lanes=r,e}function Fp(e,t,r){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function IO(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=up(0),this.expirationTimes=up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=up(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Z2(e,t,r,n,o,a,l,i,u){return e=new IO(e,t,r,i,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Mt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},T2(a),e}function zO(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aD)}catch(e){console.error(e)}}aD(),aC.exports=Bt;var fu=aC.exports;const lD=YE(fu);var OO=Object.create,Jd=Object.defineProperty,MO=Object.getOwnPropertyDescriptor,PO=Object.getOwnPropertyNames,NO=Object.getPrototypeOf,HO=Object.prototype.hasOwnProperty,c=(e,t)=>Jd(e,"name",{value:t,configurable:!0}),tc=(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')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ql=(e,t)=>{for(var r in t)Jd(e,r,{get:t[r],enumerable:!0})},jO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PO(t))!HO.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=MO(t,o))||n.enumerable});return e},We=(e,t,r)=>(r=e!=null?OO(NO(e)):{},jO(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e));function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(oe,"_extends")});function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var VO=T(()=>{c(iD,"_assertThisInitialized")});function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$l(e,t)}var ev=T(()=>{c($l,"_setPrototypeOf")});function V0(e){return V0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},V0(e)}var UO=T(()=>{c(V0,"_getPrototypeOf")}),Qd,tv=T(()=>{Qd=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),e1=Y((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof tc=="function"&&tc;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}c(l,"s");for(var i=typeof tc=="function"&&tc,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}c(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function t1(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var rv=T(()=>{c(t1,"_objectWithoutPropertiesLoose")});function sD(e,t){if(e==null)return{};var r,n,o=t1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var WO=T(()=>{rv(),c(sD,"_objectWithoutProperties")});function U0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(U0,"_arrayLikeToArray")});function cD(e){if(Array.isArray(e))return U0(e)}var qO=T(()=>{uD(),c(cD,"_arrayWithoutHoles")});function dD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var GO=T(()=>{c(dD,"_iterableToArray")});function pD(e,t){if(e){if(typeof e=="string")return U0(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U0(e,t):void 0}}var KO=T(()=>{uD(),c(pD,"_unsupportedIterableToArray")});function fD(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YO=T(()=>{c(fD,"_nonIterableSpread")});function hD(e){return cD(e)||dD(e)||pD(e)||fD()}var ZO=T(()=>{qO(),GO(),KO(),YO(),c(hD,"_toConsumableArray")});function Ol(e){"@babel/helpers - typeof";return Ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ol(e)}var mD=T(()=>{c(Ol,"_typeof")});function gD(e,t){if(Ol(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ol(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XO=T(()=>{mD(),c(gD,"toPrimitive")});function vD(e){var t=gD(e,"string");return Ol(t)=="symbol"?t:t+""}var JO=T(()=>{mD(),XO(),c(vD,"toPropertyKey")});function nv(e,t,r){return(t=vD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yD=T(()=>{JO(),c(nv,"_defineProperty")});function Xm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function No(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function bD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Wc[t]||(Wc[t]=wD(e)),Wc[t]}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(a){return a!=="token"}),o=bD(n);return o.reduce(function(a,l){return No(No({},a),r[l])},t)}function Jm(e){return e.join(" ")}function xD(e,t){var r=0;return function(n){return r+=1,n.map(function(o,a){return r1({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(a)})})}}function r1(e){var t=e.node,r=e.stylesheet,n=e.style,o=n===void 0?{}:n,a=e.useInlineStyles,l=e.key,i=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var m=xD(r,a),h;if(!a)h=No(No({},i),{},{className:Jm(i.className)});else{var f=Object.keys(r).reduce(function(b,y){return y.split(".").forEach(function(E){b.includes(E)||b.push(E)}),b},[]),v=i.className&&i.className.includes("token")?["token"]:[],g=i.className&&v.concat(i.className.filter(function(b){return!f.includes(b)}));h=No(No({},i),{},{className:Jm(g)||void 0,style:ED(i.className,Object.assign({},i.style,o),r)})}var C=m(t.children);return w.createElement(d,oe({key:l},h),C)}}var Wc,CD=T(()=>{wr(),yD(),c(Xm,"ownKeys"),c(No,"_objectSpread"),c(wD,"powerSetPermutations"),Wc={},c(bD,"getClassNameCombinations"),c(ED,"createStyleObject"),c(Jm,"createClassNameString"),c(xD,"createChildren"),c(r1,"createElement")}),DD,QO=T(()=>{DD=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Qm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return hs({children:D,lineNumber:S,lineNumberStyle:i,largestLineNumber:l,showInlineLineNumbers:o,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&o){var k=av(i,S,l);D.unshift(ov(S,k))}return D}c(g,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(D,S,k):g(D,S)}c(C,"createLine");for(var b=c(function(){var D=p[f],S=D.children[0].value,k=SD(S);if(k){var A=S.split(` -`);A.forEach(function(_,R){var z=n&&m.length+a,L={type:"text",value:"".concat(_,` -`)};if(R===0){var $=p.slice(h+1,f).concat(hs({children:[L],className:D.properties.className})),N=C($,z);m.push(N)}else if(R===A.length-1){var M=p[f+1]&&p[f+1].children&&p[f+1].children[0],j={type:"text",value:"".concat(_)};if(M){var q=hs({children:[j],className:D.properties.className});p.splice(f+1,0,q)}else{var B=[j],P=C(B,z,D.properties.className);m.push(P)}}else{var H=[L],G=C(H,z,D.properties.className);m.push(G)}}),h=f}f++},"_loop");f{WO(),ZO(),yD(),CD(),QO(),TD=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Qm,"ownKeys"),c(lr,"_objectSpread"),BD=/\n/g,c(SD,"getNewLines"),c(kD,"getAllLineNumbers"),c(AD,"AllLineNumbers"),c(_D,"getEmWidthOfNumber"),c(ov,"getInlineLineNumber"),c(av,"assembleLineNumberStyles"),c(hs,"createLineElement"),c(lv,"flattenCodeTree"),c(FD,"processLines"),c(RD,"defaultRenderer"),c(iv,"isHighlightJs"),c(ID,"getCodeTree"),c(zD,"default")}),tM=Y((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var o={},a=0;a{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(o,a,l){this.property=o,this.normal=a,l&&(this.space=l)}c(n,"Schema")}),rM=Y((e,t)=>{var r=tM(),n=LD();t.exports=o;function o(a){for(var l=a.length,i=[],u=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),$D=Y((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(o,a){this.property=o,this.attribute=a}c(n,"Info")}),uv=Y(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),OD=Y((e,t)=>{var r=$D(),n=uv();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function l(u,d,p,m){var h=-1,f;for(i(this,"space",m),r.call(this,u,d);++h{var r=sv(),n=LD(),o=OD();t.exports=a;function a(l){var i=l.space,u=l.mustUseProperty||[],d=l.attributes||{},p=l.properties,m=l.transform,h={},f={},v,g;for(v in p)g=new o(v,m(d,v),p[v],i),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,i)}c(a,"create")}),nM=Y((e,t)=>{var r=hu();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(o,a){return"xlink:"+a.slice(5).toLowerCase()}c(n,"xlinkTransform")}),oM=Y((e,t)=>{var r=hu();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(o,a){return"xml:"+a.slice(3).toLowerCase()}c(n,"xmlTransform")}),aM=Y((e,t)=>{t.exports=r;function r(n,o){return o in n?n[o]:o}c(r,"caseSensitiveTransform")}),MD=Y((e,t)=>{var r=aM();t.exports=n;function n(o,a){return r(o,a.toLowerCase())}c(n,"caseInsensitiveTransform")}),lM=Y((e,t)=>{var r=hu(),n=MD();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),iM=Y((e,t)=>{var r=uv(),n=hu(),o=r.booleanish,a=r.number,l=r.spaceSeparated;t.exports=n({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}});function i(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(i,"ariaTransform")}),sM=Y((e,t)=>{var r=uv(),n=hu(),o=MD(),a=r.boolean,l=r.overloadedBoolean,i=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:d,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:i,controls:a,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:d,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:d,itemRef:d,itemScope:a,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:d,required:a,reversed:a,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:i,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})}),uM=Y((e,t)=>{var r=rM(),n=nM(),o=oM(),a=lM(),l=iM(),i=sM();t.exports=r([o,n,a,l,i])}),cM=Y((e,t)=>{var r=sv(),n=OD(),o=$D(),a="data";t.exports=d;var l=/^data[-\w.:]+$/i,i=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var C=r(g),b=g,y=o;return C in v.normal?v.property[v.normal[C]]:(C.length>4&&C.slice(0,4)===a&&l.test(g)&&(g.charAt(4)==="-"?b=p(g):g=m(g),y=n),new y(b,g))}c(d,"find");function p(v){var g=v.slice(5).replace(i,f);return a+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function m(v){var g=v.slice(4);return i.test(g)?v:(g=g.replace(u,h),g.charAt(0)!=="-"&&(g="-"+g),a+g)}c(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}c(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),dM=Y((e,t)=>{t.exports=n;var r=/[#.]/g;function n(o,a){for(var l=o||"",i=a||"div",u={},d=0,p,m,h;d{e.parse=o,e.stringify=a;var t="",r=" ",n=/[ \t\n\r\f]+/g;function o(l){var i=String(l||t).trim();return i===t?[]:i.split(n)}c(o,"parse");function a(l){return l.join(r).trim()}c(a,"stringify")}),fM=Y(e=>{e.parse=o,e.stringify=a;var t=",",r=" ",n="";function o(l){for(var i=[],u=String(l||n),d=u.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=u.length,m=!0),h=u.slice(p,d).trim(),(h||!m)&&i.push(h),p=d+1,d=u.indexOf(t,p);return i}c(o,"parse");function a(l,i){var u=i||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(p+t+d).trim()}c(a,"stringify")}),hM=Y((e,t)=>{var r=cM(),n=sv(),o=dM(),a=pM().parse,l=fM().parse;t.exports=u;var i={}.hasOwnProperty;function u(C,b,y){var E=y?g(y):null;return x;function x(S,k){var A=o(S,b),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),z;if(A.tagName=E&&i.call(E,R)?E[R]:R,k&&d(k,A)&&(_.unshift(k),k=null),k)for(z in k)D(A.properties,z,k[z]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function D(S,k,A){var _,R,z;A==null||A!==A||(_=r(C,k),R=_.property,z=A,typeof z=="string"&&(_.spaceSeparated?z=a(z):_.commaSeparated?z=l(z):_.commaOrSpaceSeparated&&(z=a(l(z).join(" ")))),R==="style"&&typeof A!="string"&&(z=v(z)),R==="className"&&S.className&&(z=S.className.concat(z)),S[R]=h(_,R,z))}}c(u,"factory");function d(C,b){return typeof C=="string"||"length"in C||p(b.tagName,C)}c(d,"isChildren");function p(C,b){var y=b.type;return C==="input"||!y||typeof y!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(y=y.toLowerCase(),C==="button"?y!=="menu"&&y!=="submit"&&y!=="reset"&&y!=="button":"value"in b)}c(p,"isNode");function m(C,b){var y,E;if(typeof b=="string"||typeof b=="number"){C.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(y=-1,E=b.length;++y{var r=uM(),n=hM(),o=n(r,"div");o.displayName="html",t.exports=o}),gM=Y((e,t)=>{t.exports=mM()}),vM=Y((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),yM=Y((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),PD=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=48&&o<=57}c(r,"decimal")}),wM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}c(r,"hexadecimal")}),bM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=122||o>=65&&o<=90}c(r,"alphabetical")}),EM=Y((e,t)=>{var r=bM(),n=PD();t.exports=o;function o(a){return r(a)||n(a)}c(o,"alphanumerical")}),xM=Y((e,t)=>{var r,n=59;t.exports=o;function o(a){var l="&"+a+";",i;return r=r||document.createElement("i"),r.innerHTML=l,i=r.textContent,i.charCodeAt(i.length-1)===n&&a!=="semi"||i===l?!1:i}c(o,"decodeEntity")}),CM=Y((e,t)=>{var r=vM(),n=yM(),o=PD(),a=wM(),l=EM(),i=xM();t.exports=G;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,C=38,b=59,y=60,E=61,x=35,D=88,S=120,k=65533,A="named",_="hexadecimal",R="decimal",z={};z[_]=16,z[R]=10;var L={};L[A]=l,L[R]=o,L[_]=a;var $=1,N=2,M=3,j=4,q=5,B=6,P=7,H={};H[$]="Named character references must be terminated by a semicolon",H[N]="Numeric character references must be terminated by a semicolon",H[M]="Named character references cannot be empty",H[j]="Numeric character references cannot be empty",H[q]="Named character references must be known",H[B]="Numeric character references cannot be disallowed",H[P]="Numeric character references cannot be outside the permissible Unicode range";function G(U,X){var re={},_e,qe;X||(X={});for(qe in m)_e=X[qe],re[qe]=_e??m[qe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),Z(U,re)}c(G,"parseEntities");function Z(U,X){var re=X.additional,_e=X.nonTerminated,qe=X.text,xr=X.reference,xt=X.warning,Yt=X.textContext,W=X.referenceContext,Zt=X.warningContext,Cr=X.position,bo=X.indent||[],Ca=U.length,Dr=0,Tu=-1,rt=Cr.column||1,Eo=Cr.line||1,Sr="",Da=[],kr,Sa,Ar,Ge,Xt,Le,De,_r,Bu,G1,xo,ui,Co,en,Jy,ci,Lu,Fr,$e;for(typeof re=="string"&&(re=re.charCodeAt(0)),ci=di(),_r=xt?Jz:p,Dr--,Ca++;++Dr65535&&(Le-=65536,G1+=d(Le>>>10|55296),Le=56320|Le&1023),Le=G1+d(Le))):en!==A&&_r(j,Fr)),Le?(Qy(),ci=di(),Dr=$e-1,rt+=$e-Co+1,Da.push(Le),Lu=di(),Lu.offset++,xr&&xr.call(W,Le,{start:ci,end:Lu},U.slice(Co-1,$e)),ci=Lu):(Ge=U.slice(Co-1,$e),Sr+=Ge,rt+=Ge.length,Dr=$e-1)}else Xt===10&&(Eo++,Tu++,rt=0),Xt===Xt?(Sr+=d(Xt),rt++):Qy();return Da.join("");function di(){return{line:Eo,column:rt,offset:Dr+(Cr.offset||0)}}function Jz(e4,t4){var K1=di();K1.column+=t4,K1.offset+=t4,xt.call(Zt,H[e4],K1,e4)}function Qy(){Sr&&(Da.push(Sr),qe&&qe.call(Yt,Sr,{start:ci,end:di()}),Sr="")}}c(Z,"parse");function Q(U){return U>=55296&&U<=57343||U>1114111}c(Q,"prohibited");function ie(U){return U>=1&&U<=8||U===11||U>=13&&U<=31||U>=127&&U<=159||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534}c(ie,"disallowed")}),DM=Y((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(o){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,i={},u={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:c(function E(x){return x instanceof d?new d(x.type,E(x.content),x.alias):Array.isArray(x)?x.map(E):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var x=document.getElementsByTagName("script");for(var D in x)if(x[D].src==E)return x[D]}return null}},"currentScript"),isActive:c(function(E,x,D){for(var S="no-"+x;E;){var k=E.classList;if(k.contains(x))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!D},"isActive")},languages:{plain:i,plaintext:i,text:i,txt:i,extend:c(function(E,x){var D=u.util.clone(u.languages[E]);for(var S in x)D[S]=x[S];return D},"extend"),insertBefore:c(function(E,x,D,S){S=S||u.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==x)for(var R in D)D.hasOwnProperty(R)&&(A[R]=D[R]);D.hasOwnProperty(_)||(A[_]=k[_])}var z=S[E];return S[E]=A,u.languages.DFS(u.languages,function(L,$){$===z&&L!=E&&(this[L]=A)}),A},"insertBefore"),DFS:c(function E(x,D,S,k){k=k||{};var A=u.util.objId;for(var _ in x)if(x.hasOwnProperty(_)){D.call(x,_,x[_],S||_);var R=x[_],z=u.util.type(R);z==="Object"&&!k[A(R)]?(k[A(R)]=!0,E(R,D,null,k)):z==="Array"&&!k[A(R)]&&(k[A(R)]=!0,E(R,D,_,k))}},"DFS")},plugins:{},highlightAll:c(function(E,x){u.highlightAllUnder(document,E,x)},"highlightAll"),highlightAllUnder:c(function(E,x,D){var S={callback:D,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)u.highlightElement(A,x===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(E,x,D){var S=u.util.getLanguage(E),k=u.languages[S];u.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(A,S);var _=E.textContent,R={element:E,language:S,grammar:k,code:_};function z($){R.highlightedCode=$,u.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,u.hooks.run("after-highlight",R),u.hooks.run("complete",R),D&&D.call(R.element)}if(c(z,"insertHighlightedCode"),u.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){u.hooks.run("complete",R),D&&D.call(R.element);return}if(u.hooks.run("before-highlight",R),!R.grammar){z(u.util.encode(R.code));return}if(x&&o.Worker){var L=new Worker(u.filename);L.onmessage=function($){z($.data)},L.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else z(u.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:c(function(E,x,D){var S={code:E,grammar:x,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(E,x){var D=x.rest;if(D){for(var S in D)x[S]=D[S];delete x.rest}var k=new h;return f(k,k.head,E),m(E,k,x,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:c(function(E,x){var D=u.hooks.all;D[E]=D[E]||[],D[E].push(x)},"add"),run:c(function(E,x){var D=u.hooks.all[E];if(!(!D||!D.length))for(var S=0,k;k=D[S++];)k(x)},"run")},Token:d};o.Prism=u;function d(E,x,D,S){this.type=E,this.content=x,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function E(x,D){if(typeof x=="string")return x;if(Array.isArray(x)){var S="";return x.forEach(function(z){S+=E(z,D)}),S}var k={type:x.type,content:E(x.content,D),tag:"span",classes:["token",x.type],attributes:{},language:D},A=x.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),u.hooks.run("wrap",k);var _="";for(var R in k.attributes)_+=" "+R+'="'+(k.attributes[R]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""},"stringify");function p(E,x,D,S){E.lastIndex=x;var k=E.exec(D);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}c(p,"matchPattern");function m(E,x,D,S,k,A){for(var _ in D)if(!(!D.hasOwnProperty(_)||!D[_])){var R=D[_];R=Array.isArray(R)?R:[R];for(var z=0;z=A.reach);H+=P.value.length,P=P.next){var G=P.value;if(x.length>E.length)return;if(!(G instanceof d)){var Z=1,Q;if(M){if(Q=p(B,H,E,N),!Q||Q.index>=E.length)break;var re=Q.index,ie=Q.index+Q[0].length,U=H;for(U+=P.value.length;re>=U;)P=P.next,U+=P.value.length;if(U-=P.value.length,H=U,P.value instanceof d)continue;for(var X=P;X!==x.tail&&(UA.reach&&(A.reach=xt);var Yt=P.prev;qe&&(Yt=f(x,Yt,qe),H+=qe.length),v(x,Yt,Z);var W=new d(_,$?u.tokenize(_e,$):_e,j,_e);if(P=f(x,Yt,W),xr&&f(x,P,xr),Z>1){var Zt={cause:_+","+z,reach:xt};m(E,x,D,P.prev,H,Zt),A&&Zt.reach>A.reach&&(A.reach=Zt.reach)}}}}}}c(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},x={value:null,prev:E,next:null};E.next=x,this.head=E,this.tail=x,this.length=0}c(h,"LinkedList");function f(E,x,D){var S=x.next,k={value:D,prev:x,next:S};return x.next=k,S.prev=k,E.length++,k}c(f,"addAfter");function v(E,x,D){for(var S=x.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(o,a){var l={};l["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},l.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:l}};i["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var u={};u[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(o,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),HD=Y((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(o){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var l=o.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}c(r,"css")}),SM=Y((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}c(r,"clike")}),kM=Y((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}c(r,"javascript")}),AM=Y((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var o=gM(),a=CM(),l=DM(),i=ND(),u=HD(),d=SM(),p=kM();n();var m={}.hasOwnProperty;function h(){}c(h,"Refractor"),h.prototype=l;var f=new h;t.exports=f,f.highlight=C,f.register=v,f.alias=g,f.registered=b,f.listLanguages=y,v(i),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}c(v,"register");function g(A,_){var R=f.languages,z=A,L,$,N,M;_&&(z={},z[A]=_);for(L in z)for($=z[L],$=typeof $=="string"?[$]:$,N=$.length,M=-1;++M{eM(),rc=We(AM()),nc=zD(rc.default,{}),nc.registerLanguage=function(e,t){return rc.default.register(t)},nc.alias=function(e,t){return rc.default.alias(e,t)},qc=nc}),FM=T(()=>{CD()}),RM=Y((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(o){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:l,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=o.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=i.variable[1].inside,p=0;p{z3=We(RM()),jD=z3.default}),T3,VD,zM=T(()=>{T3=We(HD()),VD=T3.default}),TM=Y((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(o){if(o.language!=="graphql")return;var a=o.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),l=0;function i(y){return a[l+y]}c(i,"getToken");function u(y,E){E=E||0;for(var x=0;x0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var C=l;C=0&&p(b,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),B3,UD,BM=T(()=>{B3=We(TM()),UD=B3.default}),LM=Y((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(o){o.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+o.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),o.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+o.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),o.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function a(m,h){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}c(a,"withId"),o.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var l=["function","function-variable","method","method-variable","property-access"],i=0;i{L3=We(LM()),WD=L3.default}),OM=Y((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),$3,qD,MM=T(()=>{$3=We(OM()),qD=$3.default}),GD=Y((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(o){var a=o.util.clone(o.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return l}).replace(//g,function(){return i}).replace(//g,function(){return u}),RegExp(h,f)}c(d,"re"),u=d(u).source,o.languages.jsx=o.languages.extend("markup",a),o.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=a.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var p=c(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=c(function(h){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:C=!0),(C||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var b=p(g);v0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(b=p(h[v-1])+b,h.splice(v-1,1),v--),h[v]=new o.Token("plain-text",b,null,b)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");o.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}c(r,"jsx")}),O3,KD,PM=T(()=>{O3=We(GD()),KD=O3.default}),NM=Y((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(o){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(l,"createInline");var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(o.languages.markdown[v].inside.content.inside[g]=o.languages.markdown[g])})}),o.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(C){if(!(!C||typeof C=="string"))for(var b=0,y=C.length;b",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(C,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),h(y)}else{var E=m[b];return E||C}}),g}c(f,"textContent"),o.languages.md=o.languages.markdown})(n)}c(r,"markdown")}),M3,YD,HM=T(()=>{M3=We(NM()),YD=M3.default}),P3,ZD,jM=T(()=>{P3=We(ND()),ZD=P3.default}),XD=Y((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(o){o.languages.typescript=o.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),o.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var a=o.languages.extend("typescript",{});delete a["class-name"],o.languages.typescript["class-name"].inside=a,o.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),o.languages.ts=o.languages.typescript})(n)}c(r,"typescript")}),VM=Y((e,t)=>{var r=GD(),n=XD();t.exports=o,o.displayName="tsx",o.aliases=[];function o(a){a.register(r),a.register(n),function(l){var i=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",i),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var u=l.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(a)}c(o,"tsx")}),N3,JD,UM=T(()=>{N3=We(VM()),JD=N3.default}),H3,QD,WM=T(()=>{H3=We(XD()),QD=H3.default}),qM=Y((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(o){var a=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+l.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+l.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return m});return RegExp(f,h)}c(p,"createValuePattern"),o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(n)}c(r,"yaml")}),j3,eS,GM=T(()=>{j3=We(qM()),eS=j3.default}),V3,Rp,cv,tS=T(()=>{V3=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Rp=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Rp.displayName="ActionButton",cv=c(({actionItems:e,...t})=>w.createElement(V3,{...t},e.map(({title:r,className:n,onClick:o,disabled:a},l)=>w.createElement(Rp,{key:l,className:n,onClick:o,disabled:!!a},r))),"ActionBar")});function rS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nS(...e){return t=>e.forEach(r=>rS(r,t))}var KM=T(()=>{c(rS,"setRef"),c(nS,"composeRefs")});function U3(e){return s.isValidElement(e)&&e.type===oS}function W3(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function q3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var W0,oc,oS,aS=T(()=>{KM(),W0=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(U3);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return ne.jsx(oc,{...n,ref:t,children:s.isValidElement(l)?s.cloneElement(l,void 0,i):null})}return ne.jsx(oc,{...n,ref:t,children:r})}),W0.displayName="Slot",oc=s.forwardRef((e,t)=>{let{children:r,...n}=e;if(s.isValidElement(r)){let o=q3(r);return s.cloneElement(r,{...W3(n,r.props),ref:t?nS(t,o):o})}return s.Children.count(r)>1?s.Children.only(null):null}),oc.displayName="SlotClone",oS=c(({children:e})=>ne.jsx(ne.Fragment,{children:e}),"Slottable"),c(U3,"isSlottable"),c(W3,"mergeProps"),c(q3,"getElementRef")}),G3,Oa,YM=T(()=>{aS(),G3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Oa=G3.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?W0:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ne.jsx(i,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function lS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function iS(...e){return t=>e.forEach(r=>lS(r,t))}function On(...e){return s.useCallback(iS(...e),e)}var sS=T(()=>{c(lS,"setRef"),c(iS,"composeRefs"),c(On,"useComposedRefs")}),q0,uS=T(()=>{q0=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{}});function cS(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function K3(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=cS(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=Ui(n.current);a.current=i==="mounted"?d:"none"},[i]),q0(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=Ui(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),q0(()=>{if(t){let d=c(m=>{let h=Ui(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=Ui(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Ui(e){return(e==null?void 0:e.animationName)||"none"}function Y3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rl,ZM=T(()=>{"use client";sS(),uS(),c(cS,"useStateMachine"),rl=c(e=>{let{present:t,children:r}=e,n=K3(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=On(n.ref,Y3(o));return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"Presence"),rl.displayName="Presence",c(K3,"usePresence"),c(Ui,"getAnimationName"),c(Y3,"getElementRef")});function dS(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return ne.jsx(g.Provider,{value:C,children:f})}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext2"),d.displayName=a+"Provider",[d,p]}c(n,"createContext3");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,pS(o,...t)]}function pS(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var XM=T(()=>{c(dS,"createContextScope"),c(pS,"composeContextScopes")});function jn(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var JM=T(()=>{c(jn,"useCallbackRef")});function fS(e){let t=s.useContext(hS);return e||t||"ltr"}var hS,QM=T(()=>{hS=s.createContext(void 0),c(fS,"useDirection")});function mS(e,[t,r]){return Math.min(r,Math.max(t,e))}var eP=T(()=>{c(mS,"clamp")});function In(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var tP=T(()=>{c(In,"composeEventHandlers")});function Z3(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function xi(e){return e?parseInt(e,10):0}function eg(e,t){let r=e/t;return isNaN(r)?0:r}function ms(e){let t=eg(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function X3(e,t,r,n="ltr"){let o=ms(r),a=o/2,l=t||a,i=o-l,u=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return dv([u,d],m)(e)}function Ip(e,t,r="ltr"){let n=ms(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,l=t.content-t.viewport,i=a-n,u=r==="ltr"?[0,l]:[l*-1,0],d=mS(e,u);return dv([0,l],[0,i])(d)}function dv(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function zp(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Do(e,t){let r=jn(t);q0(()=>{let n=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}function J3(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let o=s.Children.only(n);return s.cloneElement(o,{children:typeof t=="function"?t(o.props.children):t})}var ac,Tp,rP,Q3,Ct,Bp,Lp,$p,Qt,Op,ew,tw,Mp,lc,rw,nw,ow,Pp,Np,Di,Hp,aw,ic,jp,lw,iw,gS,vS,yS,wS,bS,nP=T(()=>{"use client";YM(),ZM(),XM(),sS(),JM(),QM(),uS(),eP(),tP(),c(Z3,"useStateMachine"),ac="ScrollArea",[Tp,rP]=dS(ac),[Q3,Ct]=Tp(ac),Bp=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:a=600,...l}=e,[i,u]=s.useState(null),[d,p]=s.useState(null),[m,h]=s.useState(null),[f,v]=s.useState(null),[g,C]=s.useState(null),[b,y]=s.useState(0),[E,x]=s.useState(0),[D,S]=s.useState(!1),[k,A]=s.useState(!1),_=On(t,z=>u(z)),R=fS(o);return ne.jsx(Q3,{scope:r,type:n,dir:R,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:C,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:x,children:ne.jsx(Oa.div,{dir:R,...l,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),Bp.displayName=ac,Lp="ScrollAreaViewport",$p=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:o,nonce:a,...l}=e,i=Ct(Lp,r),u=s.useRef(null),d=On(t,u,i.onViewportChange);return ne.jsxs(ne.Fragment,{children:[ne.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:a}),ne.jsx(Oa.div,{"data-radix-scroll-area-viewport":"",...l,asChild:o,ref:d,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:J3({asChild:o,children:n},p=>ne.jsx("div",{"data-radix-scroll-area-content":"",ref:i.onContentChange,style:{minWidth:i.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),$p.displayName=Lp,Qt="ScrollAreaScrollbar",Op=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?a(!0):l(!0),()=>{i?a(!1):l(!1)}),[i,a,l]),o.type==="hover"?ne.jsx(ew,{...n,ref:t,forceMount:r}):o.type==="scroll"?ne.jsx(tw,{...n,ref:t,forceMount:r}):o.type==="auto"?ne.jsx(Mp,{...n,ref:t,forceMount:r}):o.type==="always"?ne.jsx(lc,{...n,ref:t}):null}),Op.displayName=Qt,ew=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),[a,l]=s.useState(!1);return s.useEffect(()=>{let i=o.scrollArea,u=0;if(i){let d=c(()=>{window.clearTimeout(u),l(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>l(!1),o.scrollHideDelay)},"handlePointerLeave");return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",p)}}},[o.scrollArea,o.scrollHideDelay]),ne.jsx(rl,{present:r||a,children:ne.jsx(Mp,{"data-state":a?"visible":"hidden",...n,ref:t})})}),tw=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=e.orientation==="horizontal",l=Ci(()=>u("SCROLL_END"),100),[i,u]=Z3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){let d=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,u]),s.useEffect(()=>{let d=o.viewport,p=a?"scrollLeft":"scrollTop";if(d){let m=d[p],h=c(()=>{let f=d[p];m!==f&&(u("SCROLL"),l()),m=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[o.viewport,a,u,l]),ne.jsx(rl,{present:r||i!=="hidden",children:ne.jsx(lc,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:In(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:In(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),Mp=s.forwardRef((e,t)=>{let r=Ct(Qt,e.__scopeScrollArea),{forceMount:n,...o}=e,[a,l]=s.useState(!1),i=e.orientation==="horizontal",u=Ci(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=s.useRef(null),l=s.useRef(0),[i,u]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=eg(i.viewport,i.content),p={...n,sizes:i,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(h=>a.current=h,"onThumbChange"),onThumbPointerUp:c(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:c(h=>l.current=h,"onThumbPointerDown")};function m(h,f){return X3(h,l.current,i,f)}return c(m,"getScrollPosition"),r==="horizontal"?ne.jsx(rw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollLeft,f=Ip(h,i,o.dir);a.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=m(h,o.dir))},"onDragScroll")}):r==="vertical"?ne.jsx(nw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollTop,f=Ip(h,i);a.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=m(h))},"onDragScroll")}):null}),rw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarXChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:xi(l.paddingLeft),paddingEnd:xi(l.paddingRight)}})},"onResize")})}),nw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarYChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:xi(l.paddingTop),paddingEnd:xi(l.paddingBottom)}})},"onResize")})}),[ow,Pp]=Tp(Qt),Np=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:m,...h}=e,f=Ct(Qt,r),[v,g]=s.useState(null),C=On(t,_=>g(_)),b=s.useRef(null),y=s.useRef(""),E=f.viewport,x=n.content-n.viewport,D=jn(p),S=jn(u),k=Ci(m,10);function A(_){if(b.current){let R=_.clientX-b.current.left,z=_.clientY-b.current.top;d({x:R,y:z})}}return c(A,"handleDragScroll"),s.useEffect(()=>{let _=c(R=>{let z=R.target;v!=null&&v.contains(z)&&D(R,x)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,v,x,D]),s.useEffect(S,[n,S]),Do(v,k),Do(f.content,k),ne.jsx(ow,{scope:r,scrollbar:v,hasThumb:o,onThumbChange:jn(a),onThumbPointerUp:jn(l),onThumbPositionChange:S,onThumbPointerDown:jn(i),children:ne.jsx(Oa.div,{...h,ref:C,style:{position:"absolute",...h.style},onPointerDown:In(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),b.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:In(e.onPointerMove,A),onPointerUp:In(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),b.current=null})})})}),Di="ScrollAreaThumb",Hp=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Pp(Di,e.__scopeScrollArea);return ne.jsx(rl,{present:r||o.hasThumb,children:ne.jsx(aw,{ref:t,...n})})}),aw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,a=Ct(Di,r),l=Pp(Di,r),{onThumbPositionChange:i}=l,u=On(t,m=>l.onThumbChange(m)),d=s.useRef(),p=Ci(()=>{d.current&&(d.current(),d.current=void 0)},100);return s.useEffect(()=>{let m=a.viewport;if(m){let h=c(()=>{if(p(),!d.current){let f=iw(m,i);d.current=f,i()}},"handleScroll");return i(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[a.viewport,p,i]),ne.jsx(Oa.div,{"data-state":l.hasThumb?"visible":"hidden",...o,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:In(e.onPointerDownCapture,m=>{let h=m.target.getBoundingClientRect(),f=m.clientX-h.left,v=m.clientY-h.top;l.onThumbPointerDown({x:f,y:v})}),onPointerUp:In(e.onPointerUp,l.onThumbPointerUp)})}),Hp.displayName=Di,ic="ScrollAreaCorner",jp=s.forwardRef((e,t)=>{let r=Ct(ic,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?ne.jsx(lw,{...e,ref:t}):null}),jp.displayName=ic,lw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Ct(ic,r),[a,l]=s.useState(0),[i,u]=s.useState(0),d=!!(a&&i);return Do(o.scrollbarX,()=>{var m;let p=((m=o.scrollbarX)==null?void 0:m.offsetHeight)||0;o.onCornerHeightChange(p),u(p)}),Do(o.scrollbarY,()=>{var m;let p=((m=o.scrollbarY)==null?void 0:m.offsetWidth)||0;o.onCornerWidthChange(p),l(p)}),d?ne.jsx(Oa.div,{...n,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(xi,"toInt"),c(eg,"getThumbRatio"),c(ms,"getThumbSize"),c(X3,"getScrollPositionFromPointer"),c(Ip,"getThumbOffsetFromScroll"),c(dv,"linearScale"),c(zp,"isScrollingWithinScrollbarBounds"),iw=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function o(){let a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,i=r.top!==a.top;(l||i)&&t(),r=a,n=window.requestAnimationFrame(o)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(Ci,"useDebounceCallback"),c(Do,"useResizeObserver"),c(J3,"getSubtree"),gS=Bp,vS=$p,yS=Op,wS=Hp,bS=jp}),sw,uw,Vp,Up,G0,pv=T(()=>{nP(),sw=F(gS)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),uw=F(vS)({width:"100%",height:"100%"}),Vp=F(yS)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Up=F(wS)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),G0=s.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:a},l)=>w.createElement(sw,{scrollbarsize:o,offset:n,className:a},w.createElement(uw,{ref:l},e),t&&w.createElement(Vp,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),r&&w.createElement(Vp,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),t&&r&&w.createElement(bS,null))),G0.displayName="ScrollArea"}),fv={};Ql(fv,{SyntaxHighlighter:()=>gs,createCopyToClipboardFunction:()=>tg,default:()=>ES,supportedLanguages:()=>rg});const{logger:oP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function tg(){return Wi!=null&&Wi.clipboard?e=>Wi.clipboard.writeText(e):async e=>{let t=Ma.createElement("TEXTAREA"),r=Ma.activeElement;t.value=e,Ma.body.appendChild(t),t.select(),Ma.execCommand("copy"),Ma.body.removeChild(t),r.focus()}}var cw,Wi,Ma,dw,rg,pw,fw,hw,mw,gw,vw,yw,Wp,ww,bw,gs,ES,n1=T(()=>{tv(),cw=We(e1(),1),FM(),IM(),zM(),BM(),$M(),MM(),PM(),HM(),jM(),UM(),WM(),GM(),_M(),tS(),pv(),{navigator:Wi,document:Ma,window:dw}=Qd,rg={jsextra:WD,jsx:KD,json:qD,yml:eS,md:YD,bash:jD,css:VD,html:ZD,tsx:JD,typescript:QD,graphql:UD},Object.entries(rg).forEach(([e,t])=>{qc.registerLanguage(e,t)}),pw=(0,cw.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),fw=tg(),c(tg,"createCopyToClipboardFunction"),hw=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),mw=c(({children:e,className:t})=>w.createElement(G0,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),gw=F(mw)({position:"relative"},({theme:e})=>pw(e)),vw=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),yw=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Wp=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},"processLineNumber"),ww=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,o)=>r1({node:Wp(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})),"defaultRenderer"),bw=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(o=>Wp(o)),...n}):ww:e,"wrapRenderer"),gs=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:a=!0,formatter:l=void 0,className:i=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,m]=s.useState("");s.useEffect(()=>{l?l(a,e).then(m):m(e.trim())},[e,a,l]);let[h,f]=s.useState(!1),v=s.useCallback(C=>{C.preventDefault(),fw(p).then(()=>{f(!0),dw.setTimeout(()=>f(!1),1500)}).catch(oP.error)},[p]),g=bw(d.renderer,u);return w.createElement(hw,{bordered:n,padded:o,showLineNumbers:u,className:i},w.createElement(gw,null,w.createElement(qc,{padded:o||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:vw,CodeTag:yw,lineNumberContainerStyle:{},...d,renderer:g},p)),r?w.createElement(cv,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),gs.registerLanguage=(...e)=>qc.registerLanguage(...e),ES=gs});function Ew(e){if(typeof e=="string")return d1;if(Array.isArray(e))return p1;if(!e)return;let{type:t}=e;if(Lv.has(t))return t}function xw(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(f1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Fk([...Lv].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function br(e){return io(e),{type:Us,contents:e}}function hv(e,t){return io(t),{type:Ws,contents:t,n:e}}function Ae(e,t={}){return io(e),h1(t.expandedStates,!0),{type:Pl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function xS(e){return hv(Number.NEGATIVE_INFINITY,e)}function CS(e){return hv({type:"root"},e)}function mv(e){return h1(e),{type:qs,parts:e}}function js(e,t="",r={}){return io(e),t!==""&&io(t),{type:Gs,breakContents:e,flatContents:t,groupId:r.groupId}}function DS(e,t){return io(e),{type:Ks,contents:e,groupId:t.groupId,negate:t.negate}}function pa(e,t){io(e),h1(t);let r=[];for(let n=0;nt===""))return"";break;case Pl:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Pl&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ws:case Us:case Ks:case ed:if(!e.contents)return"";break;case Gs:if(!e.flatContents&&!e.breakContents)return"";break;case p1:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Nl(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case d1:case J0:case Q0:case td:case Mn:case rd:case ws:break;default:throw new $v(e)}return e}function kS(e){return o1(e,t=>SS(t))}function Pt(e,t=Rk){return o1(e,r=>typeof r=="string"?pa(t,r.split(` -`)):r)}function Cw(e,t){let r=t===!0||t===Zi?Zi:cg,n=r===Zi?cg:Zi,o=0,a=0;for(let l of e)l===r?o++:l===n&&a++;return o>a?n:r}function Dw(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Sw(e){return(e==null?void 0:e.type)==="front-matter"}function qp(e,t){var r;if(e.type==="text"||e.type==="comment"||xu(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)Tk.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function kw(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return CS([e.startDelimiter,e.explicitLanguage,pe,n,n?pe:"",e.endDelimiter])}}function mu(e,t=!0){return[br([je,e]),t?je:""]}function fa(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ut(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let o=!0;n&&(r.__onHtmlBindingRoot=(l,i)=>{o=n(l,i)});let a=await t(e,r,t);return o?Ae(a):mu(a)}function Aw(e,t,r,n){let{node:o}=r,a=n.originalText.slice(o.sourceSpan.start.offset,o.sourceSpan.end.offset);return/^\s*$/u.test(a)?"":Ut(a,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},fa)}function ng(e,t){if(!t)return;let r=$k(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function AS(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function _w(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=AS(r,t.language)??ng(r,t.physicalFile)??ng(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Fw(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function gv(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||na(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||l1(e,t)&&!qr(e)&&e.type!=="interpolation")}function gu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_S(e.prev)}function _S(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function kt(e){return e.type==="text"||e.type==="comment"}function qr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Hl(e)&&(e.name==="script"||e.name==="style"))}function FS(e){return e.children&&!qr(e)}function RS(e){return qr(e)||e.type==="interpolation"||vv(e)}function vv(e){return Dv(e).startsWith("pre")}function IS(e,t){var r,n;let o=a();if(o&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return o;function a(){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!NS(e.parent.cssDisplay))||e.prev&&!VS(e.prev.cssDisplay))}}function zS(e,t){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!HS(e.parent.cssDisplay))||e.next&&!jS(e.next.cssDisplay))}function TS(e){return US(e.cssDisplay)&&!qr(e)}function qi(e){return xu(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>$S(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&bv(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ev(e.lastChild))}function yv(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Gc(e){return xv(e)||e.prev&&LS(e.prev)||wv(e)}function LS(e){return xv(e)||e.type==="element"&&e.fullName==="br"||wv(e)}function wv(e){return bv(e)&&Ev(e)}function bv(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function xv(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function a1(e){return e.lastChild?a1(e.lastChild):e}function $S(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Cv(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function OS(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:o,lang:a}=e.attrMap;return!a&&!o?"babel":Cu(t,{language:a})??Cv(o)}function MS(e,t){if(!l1(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:o}=r;return Cu(t,{language:o})??Cv(n)}function PS(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Cu(t,{language:r}):"css"}function og(e,t){return OS(e,t)??PS(e,t)??MS(e,t)}function ei(e){return e==="block"||e==="list-item"||e.startsWith("table")}function NS(e){return!ei(e)&&e!=="inline-block"}function HS(e){return!ei(e)&&e!=="inline-block"}function jS(e){return!ei(e)}function VS(e){return!ei(e)}function US(e){return!ei(e)&&e!=="inline-block"}function na(e){return Dv(e).startsWith("pre")}function WS(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function qS(e,t){var r;if(ha(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let o=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(o)return o[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(WS(e,o=>o.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Hl(e))&&Mk[e.name]||Ok}}function Dv(e){return e.type==="element"&&(!e.namespace||Hl(e))&&Nk[e.name]||Pk}function GS(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=sr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function kv(e){return yt(!1,yt(!1,e,"'","'"),""",'"')}function Sn(e){return kv(e.value)}function vu(e,t){return ha(e,t)&&!jk.has(e.fullName)}function ha(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function l1(e,t){return ha(e,t)&&(vu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function KS(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function YS(e,t){let r=e.parent;if(!ha(r,t))return!1;let n=r.fullName,o=e.fullName;return n==="script"&&o==="setup"||n==="style"&&o==="vars"}function Av(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pt(t):Pt(Sv(Ov(t)),pe):pa(Be,sr.split(t))}function _v(e,t){return ha(e,t)&&e.name==="script"}async function ZS(e,t){let r=[];for(let[n,o]of e.split(Mv).entries())if(n%2===0)r.push(Pt(o));else try{r.push(Ae(["{{",br([Be,await Ut(o,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Be,"}}"]))}catch{r.push("{{",Pt(o),"}}")}return r}function sc({parser:e}){return(t,r,n)=>Ut(Sn(n.node),t,{parser:e},fa)}function Rw(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Vk;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Uk;if(n.startsWith("*"))return Wk;let o=Sn(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>mu(mv(Av(r,o.trim())),!o.includes("@@"));if(Mv.test(o))return a=>ZS(o,a)}function Iw(e,t){let{node:r}=e,n=Sn(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function ag(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function zw(e){let t=e.length,r,n,o,a,l,i=0,u;function d(f){let v,g=f.exec(e.substring(i));if(g)return[v]=g,i+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Yk),i>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=i,r=d(Zk),n=[],r.slice(-1)===","?(r=r.replace(Xk,""),h()):m()}function m(){for(d(Kk),o="",a="in descriptor";;){if(l=e.charAt(i),a==="in descriptor")if(ag(l))o&&(n.push(o),o="",a="after descriptor");else if(l===","){i+=1,o&&n.push(o),h();return}else if(l==="(")o+=l,a="in parens";else if(l===""){o&&n.push(o),h();return}else o+=l;else if(a==="in parens")if(l===")")o+=l,a="in descriptor";else if(l===""){n.push(o),h();return}else o+=l;else if(a==="after descriptor"&&!ag(l))if(l===""){h();return}else a="in descriptor",i-=1;i+=1}}c(m,"f");function h(){let f=!1,v,g,C,b,y={},E,x,D,S,k;for(b=0;bXS(Sn(e.node))}function XS(e){let t=Qk(e),r=eA.filter(p=>t.some(m=>Object.prototype.hasOwnProperty.call(m,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,o=pg[n],a=t.map(p=>p.source.value),l=Math.max(...a.map(p=>p.length)),i=t.map(p=>p[n]?String(p[n].value):""),u=i.map(p=>{let m=p.indexOf(".");return m===-1?p.length:m}),d=Math.max(...u);return mu(pa([",",Be],a.map((p,m)=>{let h=[p],f=i[m];if(f){let v=l-p.length+1,g=d-u[m],C=" ".repeat(v+g);h.push(js(C," "),f+o)}return h})))}function JS(e,t){let{node:r}=e,n=Sn(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async o=>mu(await o(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Bw(e,t){let{root:r}=e;return Kc.has(r)||Kc.set(r,r.children.some(n=>_v(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Kc.get(r)}function QS(e,t,r){let{node:n}=r,o=Sn(n);return Ut(`type T<${o}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},fa)}function ek(e,t,{parseWithTs:r}){return Ut(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tk(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function rk(e,t,r,n){let o=Sn(r.node),{left:a,operator:l,right:i}=nk(o),u=m1(r,n);return[Ae(await Ut(`function _(${a}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ut(i,e,{parser:u?"__ts_expression":"__js_expression"})]}function nk(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,o=e.match(t);if(!o)return;let a={};if(a.for=o[3].trim(),!a.for)return;let l=yt(!1,o[1].trim(),n,""),i=l.match(r);i?(a.alias=l.replace(r,""),a.iterator1=i[1].trim(),i[2]&&(a.iterator2=i[2].trim())):a.alias=l;let u=[a.alias,a.iterator1,a.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:o[2],right:a.for}}function Lw(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rk;if(n==="generic"&&_v(r.parent,t))return QS;let o=Sn(r),a=m1(e,t);if(KS(r)||YS(r,t))return l=>ek(o,l,{parseWithTs:a});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>ok(o,l,{parseWithTs:a});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>ak(o,l,{parseWithTs:a});if(n.startsWith("v-"))return l=>Fv(o,l,{parseWithTs:a})}function ok(e,t,{parseWithTs:r}){return tk(e)?Fv(e,t,{parseWithTs:r}):Ut(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},fa)}function ak(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},fa)}function Fv(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__ts_expression":"__js_expression"},fa)}function $w(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[tA,JS,Gk,rA,qk]){let o=n(e,t);if(o)return lk(o)}}}function lk(e){return async(t,r,n,o)=>{let a=await e(t,r,n,o);if(a)return a=o1(a,l=>typeof l=="string"?yt(!1,l,'"',"""):l),[n.node.rawName,'="',Ae(a),'"']}}function Ow(e){return Array.isArray(e)&&e.length>0}function yu(e){return e.sourceSpan.start.offset}function wu(e){return e.sourceSpan.end.offset}function K0(e,t){return[e.isSelfClosing?"":ik(e,t),cl(e,t)]}function ik(e,t){return e.lastChild&&Ml(e.lastChild)?"":[sk(e,t),i1(e,t)]}function cl(e,t){return(e.next?ao(e.next):ri(e.parent))?"":[ti(e,t),oo(e,t)]}function sk(e,t){return ri(e)?ti(e.lastChild,t):""}function oo(e,t){return Ml(e)?i1(e.parent,t):bu(e)?s1(e.next):""}function i1(e,t){if(Pv(!e.isSelfClosing),Rv(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rv(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(gu(e)||gv(e.parent,t))}function ao(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!kt(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ri(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!kt(a1(e.lastChild))&&!na(e)}function Ml(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&kt(a1(e))}function bu(e){return e.next&&!kt(e.next)&&kt(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uk(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Eu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ck(e,t,r){var n;let{node:o}=e;if(!g1(o.attrs))return o.isSelfClosing?" ":"";let a=((n=o.prev)==null?void 0:n.type)==="comment"&&uk(o.prev.value),l=typeof a=="boolean"?()=>a:Array.isArray(a)?m=>a.includes(m.rawName):()=>!1,i=e.map(({node:m})=>l(m)?Pt(t.originalText.slice(yu(m),wu(m))):r(),"attrs"),u=o.type==="element"&&o.fullName==="script"&&o.attrs.length===1&&o.attrs[0].fullName==="src"&&o.children.length===0,d=t.singleAttributePerLine&&o.attrs.length>1&&!ha(o,t)?pe:Be,p=[br([u?" ":Be,pa(d,i)])];return o.firstChild&&Eu(o.firstChild)||o.isSelfClosing&&ri(o.parent)||u?p.push(o.isSelfClosing?" ":""):p.push(t.bracketSameLine?o.isSelfClosing?" ":"":o.isSelfClosing?Be:je),p}function dk(e){return e.firstChild&&Eu(e.firstChild)?"":u1(e)}function Y0(e,t,r){let{node:n}=e;return[dl(n,t),ck(e,t,r),n.isSelfClosing?"":dk(n)]}function dl(e,t){return e.prev&&bu(e.prev)?"":[lo(e,t),s1(e)]}function lo(e,t){return Eu(e)?u1(e.parent):ao(e)?ti(e.prev,t):""}function s1(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function u1(e){switch(Pv(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Mw(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Eu(e.firstChild)&&(r-=u1(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Ml(e.lastChild)?n+=i1(e,t).length:ri(e)&&(n-=ti(e.lastChild,t).length),t.originalText.slice(r,n)}function Pw(e,t){let{node:r}=e;switch(r.type){case"element":if(qr(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&l1(r,t)){let n=og(r,t);return n?async(o,a)=>{let l=Nv(r,t),i=/^\s*$/u.test(l),u="";return i||(u=await o(Ov(l),{parser:n,__embeddedInHtml:!0}),i=u===""),[lo(r,t),Ae(Y0(e,t,a)),i?"":pe,u,i?"":pe,K0(r,t),oo(r,t)]}:void 0}break;case"text":if(qr(r.parent)){let n=og(r.parent,t);if(n)return async o=>{let a=n==="markdown"?Sv(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let i="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(i="module"),l.__babelSourceType=i}return[fl,lo(r,t),await o(a,l),oo(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?o.parser="__ng_interpolation":t.parser==="vue"?o.parser=m1(e,t)?"__vue_ts_expression":"__vue_expression":o.parser="__js_expression",[br([Be,await n(r.value,o)]),r.parent.next&&ao(r.parent.next)?" ":Be]};break;case"attribute":return nA(e,t);case"front-matter":return n=>Bk(r,n);case"angularControlFlowBlockParameters":return oA.has(e.parent.name)?Lk:void 0;case"angularLetDeclarationInitializer":return n=>Ut(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function pl(e){if(Na!==null&&typeof Na.property){let t=Na;return Na=pl.prototype=null,t}return Na=pl.prototype=e??Object.create(null),new pl}function pk(e){return pl(e)}function Nw(e,t="type"){pk(e);function r(n){let o=n[t],a=e[o];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:n});return a}return c(r,"r"),r}function fk(e){return/^\s*/u.test(e)}function Hw(e){return` - -`+e}function Iv(e){let t=wu(e);return e.type==="element"&&!e.endSourceSpan&&g1(e.children)?Math.max(t,Iv(Nl(!1,e.children,-1))):t}function Pa(e,t,r){let n=e.node;if(gu(n)){let o=Iv(n);return[lo(n,t),Pt(sr.trimEnd(t.originalText.slice(yu(n)+(n.prev&&bu(n.prev)?s1(n).length:0),o-(n.next&&ao(n.next)?ti(n,t).length:0)))),oo(n,t)]}return r()}function Gi(e,t){return kt(e)&&kt(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gc(t)?pe:Be:"":Gc(t)?pe:je:bu(e)&&(gu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ao(t)?"":!t.isLeadingSpaceSensitive||Gc(t)||ao(t)&&e.lastChild&&Ml(e.lastChild)&&e.lastChild.lastChild&&Ml(e.lastChild.lastChild)?pe:t.hasLeadingSpaces?Be:je}function c1(e,t,r){let{node:n}=e;if(yv(n))return[fl,...e.map(a=>{let l=a.node,i=l.prev?Gi(l.prev,l):"";return[i?[i,qi(l.prev)?pe:""]:"",Pa(a,t,r)]},"children")];let o=n.children.map(()=>Symbol(""));return e.map((a,l)=>{let i=a.node;if(kt(i)){if(i.prev&&kt(i.prev)){let v=Gi(i.prev,i);if(v)return qi(i.prev)?[pe,pe,Pa(a,t,r)]:[v,Pa(a,t,r)]}return Pa(a,t,r)}let u=[],d=[],p=[],m=[],h=i.prev?Gi(i.prev,i):"",f=i.next?Gi(i,i.next):"";return h&&(qi(i.prev)?u.push(pe,pe):h===pe?u.push(pe):kt(i.prev)?d.push(h):d.push(js("",je,{groupId:o[l-1]}))),f&&(qi(i)?kt(i.next)&&m.push(pe,pe):f===pe?kt(i.next)&&m.push(pe):p.push(f)),[...u,Ae([...d,Ae([Pa(a,t,r),...p],{id:o[l]})]),...m]},"children")}function hk(e,t,r){let{node:n}=e,o=[];mk(e)&&o.push("} "),o.push("@",n.name),n.parameters&&o.push(" (",Ae(r("parameters")),")"),o.push(" {");let a=zv(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,o.push(br([pe,c1(e,t,r)])),a&&o.push(pe,"}")):a&&o.push("}"),Ae(o,{shouldBreak:!0})}function zv(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=aA.get(e.name))!=null&&r.has(e.next.name))}function mk(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!gu(t)&&!zv(t)}function gk(e,t,r){return[br([je,pa([";",Be],e.map(r,"children"))]),je]}function vk(e,t,r){let{node:n}=e;return[dl(n,t),Ae([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",br([Be,pa(Be,e.map(r,"cases"))])]:"",je]),cl(n,t)]}function yk(e,t,r){let{node:n}=e;return[n.value," {",Ae([br([je,e.map(({node:o})=>o.type==="text"&&!sr.trim(o.value)?"":r(),"expression")]),je]),"}"]}function wk(e,t,r){let{node:n}=e;if(gv(n,t))return[lo(n,t),Ae(Y0(e,t,r)),Pt(Nv(n,t)),...K0(n,t),oo(n,t)];let o=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id"),l=c(p=>Ae([Ae(Y0(e,t,r),{id:a}),p,K0(n,t)]),"a"),i=c(p=>o?DS(p,{groupId:a}):(qr(n)||vu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:br(p),"o"),u=c(()=>o?js(je,"",{groupId:a}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Be:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?xS(je):je,"u"),d=c(()=>(n.next?ao(n.next):ri(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":o?js(je,"",{groupId:a}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Be:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":je,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Be:""):l([BS(n)?fl:"",i([u(),c1(e,t,r)]),d()])}function vs(e){return e>=9&&e<=32||e==160}function Z0(e){return 48<=e&&e<=57}function ys(e){return e>=97&&e<=122||e>=65&&e<=90}function bk(e){return e>=97&&e<=102||e>=65&&e<=70||Z0(e)}function uc(e){return e===10||e===13}function Gp(e){return 48<=e&&e<=55}function cc(e){return e===39||e===34||e===96}function jw(e){return e.replace(lA,(...t)=>t[1].toUpperCase())}function Vw(e,t){for(let r of iA)r(e,t);return e}function Uw(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ww(e){let t=c(r=>{var n,o;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((o=r.firstChild)==null?void 0:o.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let o=0;ot.type==="cdata",t=>``)}function Gw(e){let t=c(r=>{var n,o;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!sr.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((o=r.next)==null?void 0:o.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+o.firstChild.value+``+l.value,a.sourceSpan=new ee(a.sourceSpan.start,l.sourceSpan.end),a.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,a.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(o),n--,r.removeChild(l)}})}function Kw(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(FS(n))for(let o of n.children){if(o.type!=="text")continue;let a=o.sourceSpan.start,l=null,i=o.value.split(r);for(let u=0;u0&&n.insertChildBefore(o,{type:"text",value:d,sourceSpan:new ee(a,l)});continue}l=a.moveBy(d.length+4),n.insertChildBefore(o,{type:"interpolation",sourceSpan:new ee(a,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new ee(a.moveBy(2),l.moveBy(-2))}]})}n.removeChild(o)}})}function Yw(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&sr.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=RS(t),n=vv(t);if(!r)for(let o=0;o{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Xw(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Jw(e,t){e.walk(r=>{r.cssDisplay=qS(r,t)})}function Qw(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=TS(r);return}for(let o of n)o.isLeadingSpaceSensitive=IS(o,t),o.isTrailingSpaceSensitive=zS(o,t);for(let o=0;o{!Ai[t]&&Ki(t)===null&&(Ai[t]=new J({canSelfClose:!1}))})),Ai[e]??r6}function lg(e,t,r=null){let n=[],o=e.visit?a=>e.visit(a,r)||a.visit(e,r):a=>a.visit(e,r);return t.forEach(a=>{let l=o(a);l&&n.push(l)}),n}function r7(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];cA.forEach(o=>{if(o.test(r)||o.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function n7(e,t,r,n={}){let o=new pA(new Hv(e,t),r,n);return o.tokenize(),new dA(xk(o.tokens),o.errors,o.nonNormalizedIcuExpressions)}function So(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xp(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function o7(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function xe(e){return!vs(e)||e===0}function Jp(e){return vs(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function a7(e){return(e<97||12257)}function l7(e){return e===59||e===0||!bk(e)}function i7(e){return e===59||e===0||!ys(e)}function s7(e){return e!==125}function u7(e,t){return ig(e)===ig(t)}function ig(e){return e>=97&&e<=122?e-97+65:e}function Qp(e){return ys(e)||Z0(e)||e===95}function ef(e){return e!==59&&xe(e)}function xk(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function rf(e,t){return bs[t]!==void 0?bs[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function sg(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:o=!1,getTagContentType:a,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:i=!1}=t;return fA().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:i},o,a)}function c7(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Ck(e){let t=e.slice(0,Ha);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,Ha);if(r===-1)return;let n=e.slice(Ha,r).trim(),o=e.indexOf(` -${t}`,r),a=n;if(a||(a=t==="+++"?"toml":"yaml"),o===-1&&t==="---"&&a==="yaml"&&(o=e.indexOf(` -...`,r)),o===-1)return;let l=o+1+Ha,i=e.charAt(l+1);if(!/\s?/u.test(i))return;let u=e.slice(0,l);return{type:"front-matter",language:a,explicitLanguage:n,value:e.slice(r+1,o),startDelimiter:t,endDelimiter:u.slice(-Ha),raw:u}}function d7(e){let t=Ck(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:yt(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function p7(e,t){let r=e.map(t);return r.some((n,o)=>n!==e[o])?r:e}function Dk(e,t){if(e.value)for(let{regex:r,parse:n}of vA){let o=e.value.match(r);if(o)return n(e,t,o)}return null}function f7(e,t,r){let[,n,o,a]=r,l=4+n.length,i=e.sourceSpan.start.moveBy(l),u=i.moveBy(a.length),[d,p]=(()=>{try{return[!0,t(a,i).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new ee(i,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:yt(!1,o.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new ee(e.sourceSpan.start,i),endSourceSpan:new ee(u,e.sourceSpan.end)}}function h7(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:yt(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function m7(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Sk(e){if(e.type==="block"){if(e.name=yt(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!g1(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new ee(e.parameters[0].sourceSpan.start,Nl(!1,e.parameters,-1).sourceSpan.end)}}}function kk(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new ee(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ak(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Tv(e,t,r){let{name:n,canSelfClose:o=!0,normalizeTagName:a=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:m}=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u,getTagContentType:d?(...y)=>d(...y)?ir.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Tv(e,fg,r);let y,E=c(()=>y??(y=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u})),"y"),x=c(D=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of p.entries()){let{endSourceSpan:k,startSourceSpan:A}=S;if(k===null)m=E().errors,p[D]=x(S);else if(_k(S,r)){let _=E().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&ug(m[0]);let h=c(y=>{let E=y.name.startsWith(":")?y.name.slice(1).split(":")[0]:null,x=y.nameSpan.toString(),D=E!==null&&x.startsWith(`${E}:`),S=D?x.slice(E.length+1):x;y.name=S,y.namespace=E,y.hasExplicitNamespace=D},"d"),f=c(y=>{switch(y.type){case"element":h(y);for(let E of y.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":y.value=y.sourceSpan.toString().slice(4,-3);break;case"text":y.value=y.sourceSpan.toString();break}},"C"),v=c((y,E)=>{let x=y.toLowerCase();return E(x)?x:y},"A"),g=c(y=>{if(y.type==="element"&&(a&&(!y.namespace||y.namespace===y.tagDefinition.implicitNamespacePrefix||Hl(y))&&(y.name=v(y.name,E=>yA.has(E))),l))for(let E of y.attrs)E.namespace||(E.name=v(E.name,x=>Zc.has(y.name)&&(Zc.get("*").has(x)||Zc.get(y.name).has(x))))},"D"),C=c(y=>{y.sourceSpan&&y.endSourceSpan&&(y.sourceSpan=new ee(y.sourceSpan.start,y.endSourceSpan.end))},"R"),b=c(y=>{if(y.type==="element"){let E=X0(u?y.name:y.name.toLowerCase());!y.namespace||y.namespace===E.implicitNamespacePrefix||Hl(y)?y.tagDefinition=E:y.tagDefinition=X0("")}},"F");return lg(new class extends uA{visitExpansionCase(y,E){n==="angular"&&this.visitChildren(E,x=>{x(y.expression)})}visit(y){f(y),b(y),g(y),C(y)}},p),p}function _k(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(o=>o.name==="lang"))==null?void 0:r.value;return!n||Cu(t,{language:n})==="html"}function ug(e){let{msg:t,span:{start:r,end:n}}=e;throw hA(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Bv(e,t,r={},n=!0){let{frontMatter:o,content:a}=n?mA(e):{frontMatter:null,content:e},l=new Hv(e,r.filepath),i=new nd(l,0,0,0),u=i.moveBy(e.length),d={type:"root",sourceSpan:new ee(i,u),children:Tv(a,t,r)};if(o){let h=new nd(l,0,0,0),f=h.moveBy(o.raw.length);o.sourceSpan=new ee(h,f),d.children.unshift(o)}let p=new gA(d),m=c((h,f)=>{let{offset:v}=f,g=yt(!1,e.slice(0,v),/[^\n\r]/gu," "),C=Bv(g+h,t,r,!1);C.sourceSpan=new ee(f,Nl(!1,C.children,-1).sourceSpan.end);let b=C.children[0];return b.length===v?C.children.shift():(b.sourceSpan=new ee(b.sourceSpan.start.moveBy(v),b.sourceSpan.end),b.value=b.value.slice(v)),C},"f");return p.walk(h=>{if(h.type==="comment"){let f=Dk(h,m);f&&h.parent.replaceChild(h,f)}Sk(h),kk(h),Ak(h)}),p}function ki(e){return{parse:c((t,r)=>Bv(t,e,r),"parse"),hasPragma:fk,astFormat:"html",locStart:yu,locEnd:wu}}var g7,nf,of,af,tn,v7,y7,lf,w7,yt,d1,p1,J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws,Lv,f1,Fk,sf,b7,$v,uf,io,h1,fl,E7,x7,Be,je,pe,Rk,C7,Nl,Zi,cg,Ik,er,cf,D7,S7,k7,A7,sr,df,_7,zk,xu,F7,Tk,R7,Bk,Lk,$k,Cu,Ok,Mk,Pk,Nk,Hl,I7,Ov,Hk,jk,Mv,Vk,Uk,Wk,qk,Gk,Kk,Yk,Zk,Xk,dg,Jk,Qk,pg,eA,tA,Kc,m1,rA,nA,pf,Pv,g1,Nv,oA,z7,Na,T7,B7,L7,$7,O7,M7,aA,lA,dc,nd,ff,Hv,hf,ee,pc,mf,gf,iA,P7,N7,H7,j7,vf,yf,V7,U7,wf,W7,q7,G7,bf,Ef,Ho,K7,ir,Yc,xf,Y7,Z7,X7,J7,Q7,e6,Cf,t6,Df,sA,Sf,J,r6,Ai,kf,ko,Af,n6,_f,o6,Ff,a6,Rf,l6,If,i6,zf,rn,Tf,s6,Bf,u6,Lf,Ao,$f,Of,Mf,Pf,Nf,uA,bs,c6,cA,fc,d6,Hf,jf,hc,Vf,dA,p6,mc,Uf,gc,Wf,pA,_i,qf,Fi,f6,Gf,vc,yc,Ze,Kf,h6,Yf,m6,wc,g6,Zf,v6,bc,fA,hA,Ha,mA,Ri,Xf,_o,gA,vA,Zc,yA,fg,y6,w6,b6,E6,x6,wA,aP=T(()=>{g7=Object.defineProperty,nf=c(e=>{throw TypeError(e)},"Xr"),of=c((e,t)=>{for(var r in t)g7(e,r,{get:t[r],enumerable:!0})},"Jr"),af=c((e,t,r)=>t.has(e)||nf("Cannot "+r),"Zr"),tn=c((e,t,r)=>(af(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),v7=c((e,t,r)=>t.has(e)?nf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),y7=c((e,t,r,n)=>(af(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),lf={},of(lf,{languages:c(()=>j7,"languages"),options:c(()=>U7,"options"),parsers:c(()=>wf,"parsers"),printers:c(()=>x6,"printers")}),w7=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),yt=w7,d1="string",p1="array",J0="cursor",Us="indent",Ws="align",Q0="trim",Pl="group",qs="fill",Gs="if-break",Ks="indent-if-break",ed="line-suffix",td="line-suffix-boundary",Mn="line",rd="label",ws="break-parent",Lv=new Set([J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws]),c(Ew,"ii"),f1=Ew,Fk=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(xw,"oi"),b7=(sf=class extends Error{constructor(t){super(xw(t));ka(this,"name","InvalidDocError");this.doc=t}},c(sf,"lr"),sf),$v=b7,uf=c(()=>{},"rn"),io=uf,h1=uf,c(br,"k"),c(hv,"nn"),c(Ae,"_"),c(xS,"sn"),c(CS,"an"),c(mv,"At"),c(js,"ge"),c(DS,"on"),fl={type:ws},E7={type:Mn,hard:!0},x7={type:Mn,hard:!0,literal:!0},Be={type:Mn},je={type:Mn,soft:!0},pe=[E7,fl],Rk=[x7,fl],c(pa,"q"),C7=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Nl=C7,c(o1,"Dt"),c(SS,"pi"),c(kS,"ln"),c(Pt,"B"),Zi="'",cg='"',c(Cw,"hi"),Ik=Cw,c(Dw,"cr"),D7=(cf=class{constructor(e){v7(this,er),y7(this,er,new Set(e))}getLeadingWhitespaceCount(e){let t=tn(this,er),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tn(this,er).has(e.charAt(0))}hasTrailingWhitespace(e){return tn(this,er).has(Nl(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dw([...tn(this,er)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tn(this,er);return Array.prototype.every.call(e,r=>t.has(r))}},c(cf,"pr"),cf),er=new WeakMap,S7=D7,k7=[" ",` -`,"\f","\r"," "],A7=new S7(k7),sr=A7,_7=(df=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);ka(this,"name","UnexpectedNodeError");this.node=t}},c(df,"hr"),df),zk=_7,c(Sw,"di"),xu=Sw,F7=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tk=new Set(["if","else if","for","switch","case"]),c(qp,"fn"),qp.ignoredProperties=F7,R7=qp,c(kw,"Si"),Bk=kw,c(mu,"Ce"),c(fa,"j"),c(Ut,"T"),c(Aw,"_i"),Lk=Aw,$k=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(ng,"Sn"),c(AS,"Ai"),c(_w,"Di"),Cu=_w,Ok="inline",Mk={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Pk="normal",Nk={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(Fw,"vi"),Hl=Fw,I7=c(e=>yt(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Ov=c(e=>I7(sr.trimEnd(e)),"mr"),Hk=c(e=>{let t=e,r=sr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=sr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(gv,"yt"),c(gu,"Ee"),c(_S,"wi"),c(kt,"$"),c(qr,"U"),c(FS,"yn"),c(RS,"wn"),c(vv,"fr"),c(IS,"bn"),c(zS,"Tn"),c(TS,"xn"),c(qi,"Qe"),c(BS,"kn"),c(yv,"dr"),c(Gc,"wt"),c(LS,"bi"),c(wv,"Bn"),c(bv,"Ln"),c(Ev,"Fn"),c(xv,"Nn"),c(a1,"bt"),c($S,"Ti"),c(Cv,"Pn"),c(OS,"xi"),c(MS,"ki"),c(PS,"Bi"),c(og,"gr"),c(ei,"Xe"),c(NS,"Li"),c(HS,"Fi"),c(jS,"Ni"),c(VS,"Pi"),c(US,"Ii"),c(na,"_e"),c(WS,"Ri"),c(qS,"In"),c(Dv,"Rn"),c(GS,"$i"),c(Sv,"Cr"),c(kv,"Sr"),c(Sn,"P"),jk=new Set(["template","style","script"]),c(vu,"Je"),c(ha,"Ae"),c(l1,"Tt"),c(KS,"$n"),c(YS,"On"),c(Av,"xt"),c(_v,"kt"),Mv=/\{\{(.+?)\}\}/su,c(ZS,"Mn"),c(sc,"Er"),Vk=sc({parser:"__ng_action"}),Uk=sc({parser:"__ng_binding"}),Wk=sc({parser:"__ng_directive"}),c(Rw,"Vi"),qk=Rw,c(Iw,"Ui"),Gk=Iw,c(ag,"Vn"),Kk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Zk=/^[^ \t\n\r\u000c]+/,Xk=/[,]+$/,dg=/^\d+$/,Jk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(zw,"Ki"),Qk=zw,c(Tw,"Qi"),pg={width:"w",height:"h",density:"x"},eA=Object.keys(pg),c(XS,"Ji"),tA=Tw,c(JS,"Yn"),Kc=new WeakMap,c(Bw,"Zi"),m1=Bw,c(QS,"jn"),c(ek,"Kn"),c(tk,"Qn"),c(rk,"Xn"),c(nk,"ea"),c(Lw,"ta"),c(ok,"ra"),c(ak,"na"),c(Fv,"Jn"),rA=Lw,c($w,"sa"),c(lk,"ia"),nA=$w,pf=new Proxy(()=>{},{get:c(()=>pf,"get")}),Pv=pf,c(Ow,"aa"),g1=Ow,c(yu,"se"),c(wu,"ie"),c(K0,"Ze"),c(ik,"oa"),c(cl,"De"),c(sk,"ua"),c(oo,"W"),c(i1,"Bt"),c(ti,"ve"),c(Rv,"rs"),c(ao,"K"),c(ri,"ye"),c(Ml,"we"),c(bu,"et"),c(uk,"la"),c(Eu,"tt"),c(ck,"ca"),c(dk,"pa"),c(Y0,"rt"),c(dl,"be"),c(lo,"z"),c(s1,"Lt"),c(u1,"Ft"),c(Mw,"ha"),Nv=Mw,oA=new Set(["if","else if","for","switch","case"]),c(Pw,"fa"),z7=Pw,Na=null,c(pl,"st"),T7=10;for(let e=0;e<=T7;e++)pl();c(pk,"vr"),c(Nw,"ga"),B7=Nw,L7={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},$7=L7,O7=B7($7),M7=O7,c(fk,"os"),c(Hw,"us"),aA=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),c(Iv,"cs"),c(Pa,"it"),c(Gi,"Pt"),c(c1,"He"),c(hk,"ps"),c(zv,"hs"),c(mk,"_a"),c(gk,"ms"),c(vk,"fs"),c(yk,"ds"),c(wk,"gs"),c(vs,"at"),c(Z0,"It"),c(ys,"ot"),c(bk,"Cs"),c(uc,"Rt"),c(Gp,"yr"),c(cc,"$t"),lA=/-+([a-z0-9])/g,c(jw,"_s"),nd=(dc=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,o=this.line,a=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){o--;let l=t.substring(0,n-1).lastIndexOf(` -`);a=l>0?n-l:n}else a--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(o++,a=0):a++}return new dc(this.file,n,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let o=n,a=0,l=0;for(;a0&&(n--,a++,!(r[n]==` -`&&++l==t)););for(a=0,l=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(mf,"Ue"),mf),iA=[Uw,Ww,qw,Kw,Yw,Jw,Zw,Xw,Qw,Gw],c(Vw,"Da"),c(Uw,"va"),c(Ww,"ya"),c(Ek,"wa"),c(qw,"ba"),c(Gw,"Ta"),c(Kw,"xa"),c(Yw,"ka"),c(Zw,"Ba"),c(Xw,"La"),c(Jw,"Fa"),c(Qw,"Na"),P7=Vw,c(e7,"Pa"),N7={preprocess:P7,print:e7,insertPragma:Hw,massageAstNode:R7,embed:z7,getVisitorKeys:M7},H7=N7,j7=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],vf={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},yf="HTML",V7={bracketSameLine:vf.bracketSameLine,htmlWhitespaceSensitivity:{category:yf,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:vf.singleAttributePerLine,vueIndentScriptAndStyle:{category:yf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},U7=V7,wf={},of(wf,{angular:c(()=>w6,"angular"),html:c(()=>y6,"html"),lwc:c(()=>E6,"lwc"),vue:c(()=>b6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(W7||(W7={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(q7||(q7={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(G7||(G7={})),bf={name:"custom-elements"},Ef={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ho||(Ho={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(K7||(K7={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ir||(ir={})),c(Vs,"ut"),c(Kp,"xr"),c(Yp,"kr"),c(Ki,"We"),c(Si,"ze"),c(Zp,"Br"),c(Yi,"Mt"),Y7=(xf=class{},c(xf,"Ht"),xf),Z7="boolean",X7="number",J7="string",Q7="object",e6=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Cf=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),t6=Array.from(Cf).reduce((e,[t,r])=>(e.set(t,r),e),new Map),sA=(Df=class extends Y7{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,e6.forEach(e=>{let t=new Map,r=new Set,[n,o]=e.split("|"),a=o.split(","),[l,i]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=i&&this._schema.get(i.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(i.toLowerCase()))r.add(d)}a.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Z7);break;case"#":t.set(d.substring(1),X7);break;case"%":t.set(d.substring(1),Q7);break;default:t.set(d,J7)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ef.name))return!0;if(e.indexOf("-")>-1){if(Kp(e)||Yp(e))return!1;if(r.some(n=>n.name===bf.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ef.name)||e.indexOf("-")>-1&&(Kp(e)||Yp(e)||t.some(r=>r.name===bf.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Zp()[e+"|"+t];return n||(n=Zp()["*|"+t],n||Ho.NONE)}getMappedPropName(e){return Cf.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>t6.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return jw(e)}normalizeAnimationStyleValue(e,t,r){let n="",o=r.toString().trim(),a=null;if(t7(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${r}`)}return{error:a,value:o+n}}},c(Df,"Vt"),Df),c(t7,"Ua"),J=(Sf=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ir.PARSABLE_DATA,closedByParent:n=!1,isVoid:o=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:l=!1,canSelfClose:i=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=o,this.closedByParent=n||o,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=a,this.preventNamespaceInheritance=l,this.canSelfClose=i??o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(Sf,"m"),Sf),c(X0,"Ge"),ko=(kf=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(kf,"oe"),kf),n6=(Af=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Af,"Ut"),Af),o6=(_f=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c(_f,"Wt"),_f),a6=(Ff=class extends ko{constructor(e,t,r,n,o,a){super(n,a),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=o}visit(e,t){return e.visitExpansion(this,t)}},c(Ff,"zt"),Ff),l6=(Rf=class{constructor(e,t,r,n,o){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=o,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Rf,"Gt"),Rf),i6=(If=class extends ko{constructor(e,t,r,n,o,a,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=o,this.valueTokens=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(If,"Yt"),If),rn=(zf=class extends ko{constructor(e,t,r,n,o,a=null,l=null,i){super(n,i),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=o,this.endSourceSpan=a,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(zf,"G"),zf),s6=(Tf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(Tf,"jt"),Tf),u6=(Bf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Bf,"Kt"),Bf),Ao=(Lf=class extends ko{constructor(e,t,r,n,o,a,l=null,i){super(n,i),this.name=e,this.parameters=t,this.children=r,this.nameSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Lf,"Z"),Lf),Of=($f=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c($f,"ct"),$f),Pf=(Mf=class{constructor(e,t,r,n,o){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=o,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(Mf,"pt"),Mf),c(lg,"Qt"),uA=(Nf=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function o(a){a&&r.push(lg(n,a,e))}return c(o,"i"),t(o),Array.prototype.concat.apply([],r)}},c(Nf,"ht"),Nf),bs={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},c6="",bs.ngsp=c6,cA=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(r7,"Ls"),d6=(fc=class{static fromArray(e){return e?(r7("interpolation",e),new fc(e[0],e[1])):Hf}constructor(e,t){this.start=e,this.end=t}},c(fc,"t"),fc),Hf=new d6("{{","}}"),hc=(jf=class extends gf{constructor(e,t,r){super(r,e),this.tokenType=t}},c(jf,"ft"),jf),dA=(Vf=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Vf,"$r"),Vf),c(n7,"Ws"),p6=/\r\n?/g,c(So,"je"),c(Xp,"Rs"),c(o7,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(mc||(mc={})),gc=(Uf=class{constructor(e){this.error=e}},c(Uf,"dt"),Uf),pA=(Wf=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Hf,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(o=>o.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new f6(e,n):new qf(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(o){this.handleError(o)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(p6,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>vs(r)?!e:Qp(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(xe),this._attemptCharCode(41))this._attemptCharCodeUntilFn(xe);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ef);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&cc(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ef)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),vs(this._cursor.peek()))this._attemptCharCodeUntilFn(xe);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(xe),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>xe(r)&&!uc(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ys(r)||r==36||r===95||t&&Z0(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;cc(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(s7(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new hc("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new hc("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new hc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new gc(r)}handleError(e){if(e instanceof vc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof gc)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return u7(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!a7(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Jp,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,o=[];try{if(!ys(this._cursor.peek()))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(xe);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,i]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(xe);let u=this._consumeAttributeValue();o.push({prefix:l,name:i,value:u})}else o.push({prefix:l,name:i});this._attemptCharCodeUntilFn(xe)}this._consumeTagOpenEnd()}catch(l){if(l instanceof gc){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,o);this._handleFullNameStackForTagOpen(r,t),a===ir.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):a===ir.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(xe),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(So(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>Jp(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(xe),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(xe),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(xe)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(xe),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let o=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(o.join(""))],l),o.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(o.join(""))]),o.length=0,this._consumeEntity(e),this._beginToken(e)):o.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(o.join(""));return this._endToken([a]),a}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let o=this._cursor.clone(),a=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let i=this._cursor.clone();if(this._isTagStart()){this._cursor=i,n.push(this._getProcessedChars(o,i)),this._endToken(n);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(o,i)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===a?a=null:!l&&a===null&&cc(u)&&(a=u)}n.push(this._getProcessedChars(o,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Qp(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Wf,"Or"),Wf),c(xe,"b"),c(Jp,"$s"),c(a7,"mo"),c(l7,"fo"),c(i7,"go"),c(s7,"Co"),c(u7,"So"),c(ig,"Os"),c(Qp,"Ms"),c(ef,"qs"),c(xk,"_o"),qf=(_i=class{constructor(e,t){if(e instanceof _i){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new _i(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),o=this.locationFromCursor(this),a=r!==e?this.locationFromCursor(r):n;return new ee(n,o,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new vc('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):uc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new nd(e.file,e.state.offset,e.state.line,e.state.column)}},c(_i,"t"),_i),f6=(Fi=class extends qf{constructor(e,t){e instanceof Fi?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Fi(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Gp(e())){let t="",r=0,n=this.clone();for(;Gp(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else uc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new vc("Invalid hexadecimal escape sequence",e);return n}},c(Fi,"t"),Fi),vc=(Gf=class{constructor(e,t){this.msg=e,this.cursor=t}},c(Gf,"gt"),Gf),Ze=(yc=class extends gf{static create(e,t,r){return new yc(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(yc,"t"),yc),h6=(Kf=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(Kf,"Vr"),Kf),m6=(Yf=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,o){let a=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),l=n?this.getTagDefinition:a(this.getTagDefinition),i=c(f=>l(f).getContentType(),"u"),u=n?o:a(o),d=n7(e,t,o?(f,v,g,C)=>{let b=u(f,v,g,C);return b!==void 0?b:i(f)}:i,r),p=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,h=new g6(d.tokens,l,p,m,n);return h.build(),new h6(h.rootNodes,d.errors.concat(h.errors))}},c(Yf,"nr"),Yf),g6=(wc=class{constructor(e,t,r,n,o){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=o,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ao&&this.errors.push(Ze.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(o.errors),null;let a=new ee(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new ee(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new l6(e.parts[0],o.rootNodes,a,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(tf(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(tf(r,20))r.pop();else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let o=this._getContainer();o!=null&&o.children.length===0&&this.getTagDefinition(o.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,rf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let o=e.sourceSpan;this._addToParent(new n6(n,new ee(r.start,o.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let o=this._getElementFullName(t,r,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(o);this.canSelfClose||h.canSelfClose||Ki(o)!==null||h.isVoid||this.errors.push(Ze.create(o,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let l=this._peek.sourceSpan.fullStart,i=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),u=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new ee(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rn(o,n,[],i,u,void 0,d),m=this._getContainer();this._pushContainer(p,m instanceof rn&&this.getTagDefinition(m.name).isClosedByChild(p.name)),a?this._popContainer(o,rn,i):e.type===4&&(this._popContainer(o,rn,null),this.errors.push(Ze.create(o,i,`Opening tag "${o}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Ze.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ze.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let o=this._containerStack.length-1;o>=0;o--){let a=this._containerStack[o];if(Ki(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof t)return a.endSourceSpan=r,a.sourceSpan.end=r!==null?r.end:a.sourceSpan.end,this._containerStack.splice(o,this._containerStack.length-o),!n;(a instanceof Ao||a instanceof rn&&!this.getTagDefinition(a.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Si(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let o="",a=[],l,i;if(this._peek.type===16)for(l=this._peek.sourceSpan,i=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();a.push(d),d.type===17?o+=d.parts.join("").replace(/&([^;]+);/g,rf):d.type===9?o+=d.parts[0]:o+=d.parts.join(""),i=r=d.sourceSpan.end}this._peek.type===15&&(i=r=this._advance().sourceSpan.end);let u=l&&i&&new ee((n==null?void 0:n.sourceSpan.start)??l.start,i,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new i6(t,o,new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Ao,e.sourceSpan)||this.errors.push(Ze.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1),this._popContainer(null,Ao,null),this.errors.push(Ze.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let o=n.sourceSpan.fullStart,a=new ee(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),i=e.sourceSpan.start.moveBy(l),u=new ee(i,e.sourceSpan.end),d=new Pf(t,r.parts[0],a,u,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),o=e.sourceSpan.start.moveBy(n),a=new ee(o,e.sourceSpan.end),l=new ee(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new Pf(t,"",e.sourceSpan,a,l);this._addToParent(i)}this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Vs(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ki(r.name))}return Si(e,t)}},c(wc,"t"),wc),c(tf,"zs"),c(rf,"Gs"),v6=(Zf=class extends m6{constructor(){super(X0)}parse(e,t,r,n=!1,o){return super.parse(e,t,r,n,o)}},c(Zf,"sr"),Zf),bc=null,fA=c(()=>(bc||(bc=new v6),bc),"Eo"),c(sg,"zr"),c(c7,"Ao"),hA=c7,Ha=3,c(Ck,"Do"),c(d7,"vo"),mA=d7,Ri={attrs:!0,children:!0,cases:!0,expression:!0},Xf=new Set(["parent"]),gA=(_o=class{constructor(e={}){for(let t of new Set([...Xf,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ri&&(t=t.map(r=>this.createChild(r))),!Xf.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ri){let n=this[r];if(n){let o=p7(n,a=>a.map(e));t!==n&&(t||(t=new _o({parent:this.parent})),t.setProperty(r,o))}}if(t)for(let r in this)r in Ri||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ri){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(_o,"t"),_o),c(p7,"yo"),vA=[{regex:/^(\[if([^\]]*)\]>)(.*?)o==="lang"&&a!=="html"&&a!==""&&a!==void 0))}}),E6=ki({name:"lwc",canSelfClose:!1}),x6={html:H7},wA=lf});function nn(){}function C6(e,t,r,n,o){for(var a=[],l;t;)a.push(t),l=t.previousComponent,delete t.previousComponent,t=l;a.reverse();for(var i=0,u=a.length,d=0,p=0;ig.length?b:g}),m.value=e.join(f)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(p+=m.count)}}var v=a[u-1];return u>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(a[u-2].value+=v.value,a.pop()),a}function Es(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Es=c(function(t){return typeof t},"$e"):Es=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Es(e)}function od(e,t,r,n,o){t=t||[],r=r||[],n&&(e=n(o,e));var a;for(a=0;a=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function v1(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function jv(e,t){let r;switch(t){case` -`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r -`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function xA(e){return Su(!1,e,/\r\n?/gu,` -`)}function D6(e){if(typeof e=="string")return mo;if(Array.isArray(e))return Gr;if(!e)return;let{type:t}=e;if(ey.has(t))return t}function S6(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(go(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=c_([...ey].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function k6(e,t,r,n){let o=[e];for(;o.length>0;){let a=o.pop();if(a===Lg){r(o.pop());continue}r&&o.push(a,Lg);let l=go(a);if(!l)throw new aa(a);if((t==null?void 0:t(a))!==!1)switch(l){case Gr:case hr:{let i=l===Gr?a:a.parts;for(let u=i.length,d=u-1;d>=0;--d)o.push(i[d]);break}case wt:o.push(a.flatContents,a.breakContents);break;case ut:if(n&&a.expandedStates)for(let i=a.expandedStates.length,u=i-1;u>=0;--u)o.push(a.expandedStates[u]);else o.push(a.contents);break;case Yr:case Kr:case Zr:case mr:case Xr:o.push(a.contents);break;case mo:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(a)}}}function Ys(e){return gr(e),{type:Kr,contents:e}}function oa(e,t){return gr(t),{type:Yr,contents:t,n:e}}function hg(e,t={}){return gr(e),b1(t.expandedStates,!0),{type:ut,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function A6(e){return oa(Number.NEGATIVE_INFINITY,e)}function _6(e){return oa({type:"root"},e)}function F6(e){return oa(-1,e)}function R6(e,t){return hg(e[0],{...t,expandedStates:e})}function mg(e){return b1(e),{type:hr,parts:e}}function I6(e,t="",r={}){return gr(e),t!==""&&gr(t),{type:wt,breakContents:e,flatContents:t,groupId:r.groupId}}function z6(e,t){return gr(e),{type:Zr,contents:e,groupId:t.groupId,negate:t.negate}}function ad(e){return gr(e),{type:Xr,contents:e}}function gg(e,t){gr(e),b1(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(a.contents)}${m})`}if(a.type===ut){let p=[];a.break&&a.break!=="propagated"&&p.push("shouldBreak: true"),a.id&&p.push(`id: ${o(a.id)}`);let m=p.length>0?`, { ${p.join(", ")} }`:"";return a.expandedStates?`conditionalGroup([${a.expandedStates.map(h=>n(h)).join(",")}]${m})`:`group(${n(a.contents)}${m})`}if(a.type===hr)return`fill([${a.parts.map(p=>n(p)).join(", ")}])`;if(a.type===Xr)return"lineSuffix("+n(a.contents)+")";if(a.type===Ur)return"lineSuffixBoundary";if(a.type===mr)return`label(${JSON.stringify(a.label)}, ${n(a.contents)})`;throw new Error("Unknown doc type "+a.type)}function o(a){if(typeof a!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];let l=a.description||"symbol";for(let i=0;;i++){let u=l+(i>0?` #${i}`:"");if(!r.has(u))return r.add(u),t[a]=`Symbol.for(${JSON.stringify(u)})`}}}function B6(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function L6(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function $6(e){if(!e)return 0;if(!f_.test(e))return e.length;e=e.replace(d_()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=p_(n)?1:2)}return t}function Zs(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(a){if(r.has(a))return r.get(a);let l=o(a);return r.set(a,l),l}function o(a){switch(go(a)){case Gr:return t(a.map(n));case hr:return t({...a,parts:a.parts.map(n)});case wt:return t({...a,breakContents:n(a.breakContents),flatContents:n(a.flatContents)});case ut:{let{expandedStates:l,contents:i}=a;return l?(l=l.map(n),i=l[0]):i=n(i),t({...a,contents:i,expandedStates:l})}case Yr:case Kr:case Zr:case mr:case Xr:return t({...a,contents:n(a.contents)});case mo:case Qn:case Vr:case Ur:case Pe:case Ft:return t(a);default:throw new aa(a)}}}function ld(e,t,r){let n=r,o=!1;function a(l){if(o)return!1;let i=t(l);i!==void 0&&(o=!0,n=i)}return c(a,"u"),cd(e,a),n}function DA(e){if(e.type===ut&&e.break||e.type===Pe&&e.hard||e.type===Ft)return!0}function O6(e){return ld(e,DA,!1)}function yg(e){if(e.length>0){let t=Ie(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function SA(e){let t=new Set,r=[];function n(a){if(a.type===Ft&&yg(r),a.type===ut){if(r.push(a),t.has(a))return!1;t.add(a)}}c(n,"n");function o(a){a.type===ut&&r.pop().break&&yg(r)}c(o,"o"),cd(e,n,o,!0)}function kA(e){return e.type===Pe&&!e.hard?e.soft?"":" ":e.type===wt?e.flatContents:e}function M6(e){return Zs(e,kA)}function wg(e){for(e=[...e];e.length>=2&&Ie(!1,e,-2).type===Pe&&Ie(!1,e,-1).type===Ft;)e.length-=2;if(e.length>0){let t=hl(Ie(!1,e,-1));e[e.length-1]=t}return e}function hl(e){switch(go(e)){case Kr:case Zr:case ut:case Xr:case mr:{let t=hl(e.contents);return{...e,contents:t}}case wt:return{...e,breakContents:hl(e.breakContents),flatContents:hl(e.flatContents)};case hr:return{...e,parts:wg(e.parts)};case Gr:return wg(e);case mo:return e.replace(/[\n\r]*$/u,"");case Yr:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(e)}return e}function bg(e){return hl(_A(e))}function AA(e){switch(go(e)){case hr:if(e.parts.every(t=>t===""))return"";break;case ut:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ut&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yr:case Kr:case Zr:case Xr:if(!e.contents)return"";break;case wt:if(!e.flatContents&&!e.breakContents)return"";break;case Gr:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Ie(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case mo:case Qn:case Vr:case Ur:case Pe:case mr:case Ft:break;default:throw new aa(e)}return e}function _A(e){return Zs(e,t=>AA(t))}function P6(e,t=Og){return Zs(e,r=>typeof r=="string"?gg(t,r.split(` -`)):r)}function FA(e){if(e.type===Pe)return!0}function N6(e){return ld(e,FA,!1)}function Vv(e,t){return e.type===mr?{...e,contents:t(e.contents)}:t(e)}function Uv(){return{value:"",length:0,queue:[]}}function RA(e,t){return id(e,{type:"indent"},t)}function IA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Uv():t<0?id(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:id(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function id(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],o="",a=0,l=0,i=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),o+=v.n,a+=v.n.length;break;case"numberAlign":l+=1,i+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return h(),{...e,value:o,length:a,queue:n};function u(v){o+=" ".repeat(v),a+=r.tabWidth*v}function d(v){o+=" ".repeat(v),a+=v}function p(){r.useTabs?m():h()}function m(){l>0&&u(l),f()}function h(){i>0&&d(i),f()}function f(){l=0,i=0}}function sd(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o===ml){r++;continue}for(let a=o.length-1;a>=0;a--){let l=o[a];if(l===" "||l===" ")t++;else{e[n]=o.slice(0,a+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ml);return t}function Xi(e,t,r,n,o,a){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,i=[e],u=[];for(;r>=0;){if(i.length===0){if(l===0)return!0;i.push(t[--l]);continue}let{mode:d,doc:p}=i.pop(),m=go(p);switch(m){case mo:u.push(p),r-=pd(p);break;case Gr:case hr:{let h=m===Gr?p:p.parts;for(let f=h.length-1;f>=0;f--)i.push({mode:d,doc:h[f]});break}case Kr:case Yr:case Zr:case mr:i.push({mode:d,doc:p.contents});break;case Vr:r+=sd(u);break;case ut:{if(a&&p.break)return!1;let h=p.break?ot:d,f=p.expandedStates&&h===ot?Ie(!1,p.expandedStates,-1):p.contents;i.push({mode:h,doc:f});break}case wt:{let h=(p.groupId?o[p.groupId]||tr:d)===ot?p.breakContents:p.flatContents;h&&i.push({mode:d,doc:h});break}case Pe:if(d===ot||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Xr:n=!0;break;case Ur:if(n)return!1;break}}return!1}function Xs(e,t){let r={},n=t.printWidth,o=v1(t.endOfLine),a=0,l=[{ind:Uv(),mode:ot,doc:e}],i=[],u=!1,d=[],p=0;for(SA(e);l.length>0;){let{ind:h,mode:f,doc:v}=l.pop();switch(go(v)){case mo:{let g=o!==` -`?Su(!1,v,` -`,o):v;i.push(g),l.length>0&&(a+=pd(g));break}case Gr:for(let g=v.length-1;g>=0;g--)l.push({ind:h,mode:f,doc:v[g]});break;case Qn:if(p>=2)throw new Error("There are too many 'cursor' in doc.");i.push(ml),p++;break;case Kr:l.push({ind:RA(h,t),mode:f,doc:v.contents});break;case Yr:l.push({ind:IA(h,v.n,t),mode:f,doc:v.contents});break;case Vr:a-=sd(i);break;case ut:switch(f){case tr:if(!u){l.push({ind:h,mode:v.break?ot:tr,doc:v.contents});break}case ot:{u=!1;let g={ind:h,mode:tr,doc:v.contents},C=n-a,b=d.length>0;if(!v.break&&Xi(g,l,C,b,r))l.push(g);else if(v.expandedStates){let y=Ie(!1,v.expandedStates,-1);if(v.break){l.push({ind:h,mode:ot,doc:y});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:h,mode:ot,doc:y});break}else{let x=v.expandedStates[E],D={ind:h,mode:tr,doc:x};if(Xi(D,l,C,b,r)){l.push(D);break}}}else l.push({ind:h,mode:ot,doc:v.contents});break}}v.id&&(r[v.id]=Ie(!1,l,-1).mode);break;case hr:{let g=n-a,{parts:C}=v;if(C.length===0)break;let[b,y]=C,E={ind:h,mode:tr,doc:b},x={ind:h,mode:ot,doc:b},D=Xi(E,[],g,d.length>0,r,!0);if(C.length===1){D?l.push(E):l.push(x);break}let S={ind:h,mode:tr,doc:y},k={ind:h,mode:ot,doc:y};if(C.length===2){D?l.push(S,E):l.push(k,x);break}C.splice(0,2);let A={ind:h,mode:f,doc:mg(C)},_=C[0];Xi({ind:h,mode:tr,doc:[b,y,_]},[],g,d.length>0,r,!0)?l.push(A,S,E):D?l.push(A,k,E):l.push(A,k,x);break}case wt:case Zr:{let g=v.groupId?r[v.groupId]:f;if(g===ot){let C=v.type===wt?v.breakContents:v.negate?v.contents:Ys(v.contents);C&&l.push({ind:h,mode:f,doc:C})}if(g===tr){let C=v.type===wt?v.flatContents:v.negate?Ys(v.contents):v.contents;C&&l.push({ind:h,mode:f,doc:C})}break}case Xr:d.push({ind:h,mode:f,doc:v.contents});break;case Ur:d.length>0&&l.push({ind:h,mode:f,doc:e0});break;case Pe:switch(f){case tr:if(v.hard)u=!0;else{v.soft||(i.push(" "),a+=1);break}case ot:if(d.length>0){l.push({ind:h,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?h.root?(i.push(o,h.root.value),a=h.root.length):(i.push(o),a=0):(a-=sd(i),i.push(o+h.value),a=h.length);break}break;case mr:l.push({ind:h,mode:f,doc:v.contents});break;case Ft:break;default:throw new aa(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let m=i.indexOf(ml);if(m!==-1){let h=i.indexOf(ml,m+1),f=i.slice(0,m).join(""),v=i.slice(m+1,h).join(""),g=i.slice(h+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:i.join("")}}function H6(e,t,r=0){let n=0;for(let o=r;o!0,"n")}=t,o=c(a=>m_(a)&&n(a),"o");for(let a of r(e)){let l=e[a];if(Array.isArray(l))for(let i of l)o(i)&&(yield i);else o(l)&&(yield l)}}function*zA(e,t){let r=[e];for(let n=0;n{let o=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:a}=t,l=r;for(;l>=0&&l0}function q6(e){return e?t=>e(t,Ng):v_}function TA(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function y1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=TA(e)}function jo(e,t){t.leading=!0,t.trailing=!1,y1(e,t)}function xs(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),y1(e,t)}function Vo(e,t){t.leading=!1,t.trailing=!0,y1(e,t)}function w1(e,t){if(t0.has(e))return t0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:a,locEnd:l}=t;if(!n)return[];let i=((r==null?void 0:r(e,t))??[...Wv(e,{getVisitorKeys:ku(o)})]).flatMap(u=>n(u)?[u]:w1(u,t));return i.sort((u,d)=>a(u)-a(d)||l(u)-l(d)),t0.set(e,i),i}function qv(e,t,r,n){let{locStart:o,locEnd:a}=r,l=o(t),i=a(t),u=w1(e,r),d,p,m=0,h=u.length;for(;m>1,v=u[f],g=o(v),C=a(v);if(g<=l&&i<=C)return qv(v,t,r,v);if(C<=l){d=v,m=f+1;continue}if(i<=g){p=v,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=Xc(f,t,r);d&&Xc(f,d,r)!==v&&(d=null),p&&Xc(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function BA(e,t){let{comments:r}=e;if(delete e.comments,!g_(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:a,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:i={}},originalText:u}=t,{ownLine:d=r0,endOfLine:p=r0,remaining:m=r0}=i,h=r.map((f,v)=>({...qv(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of h.entries()){let{comment:g,precedingNode:C,enclosingNode:b,followingNode:y,text:E,options:x,ast:D,isLastComment:S}=v;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(o(g)-o(D)<=0){jo(D,g);continue}if(a(g)-a(D)>=0){Vo(D,g);continue}}let k;if(l?k=[v]:(g.enclosingNode=b,g.precedingNode=C,g.followingNode=y,k=[g,E,x,D,S]),LA(E,x,h,f))g.placement="ownLine",d(...k)||(y?jo(y,g):C?Vo(C,g):xs(b||D,g));else if($A(E,x,h,f))g.placement="endOfLine",p(...k)||(C?Vo(C,g):y?jo(y,g):xs(b||D,g));else if(g.placement="remaining",!m(...k))if(C&&y){let A=n.length;A>0&&n[A-1].followingNode!==y&&Eg(n,x),n.push(v)}else C?Vo(C,g):y?jo(y,g):xs(b||D,g)}if(Eg(n,t),!l)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function LA(e,t,r,n){let{comment:o,precedingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=l(o);if(a)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:m}=r[d];if(m!==a||!ty(e.slice(i(p),u)))break;u=l(p)}return mn(e,u,{backwards:!0})}function $A(e,t,r,n){let{comment:o,followingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=i(o);if(a)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:m}=e[u-1];hd.strictEqual(p,a),hd.strictEqual(m,l);let h=t.originalText.slice(t.locEnd(d),i);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))i=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,m)=>t.locStart(p)-t.locStart(m));e.length=0}function Xc(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(i)).length===0)return{leading:"",trailing:""};let o=[],a=[],l;return e.each(()=>{let i=e.node;if(n!=null&&n.has(i))return;let{leading:u,trailing:d}=i;u?o.push(OA(e,t)):d&&(l=MA(e,t,l),a.push(l.doc))},"comments"),{leading:o,trailing:a}}function NA(e,t,r){let{leading:n,trailing:o}=PA(e,r);return!n&&!o?t:Vv(t,a=>[n,a,o])}function HA(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function K6(e){return()=>{}}function xg({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(o=>o.languages??[]),n=[];for(let o of VA(Object.assign({},...e.map(({options:a})=>a),w_)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(a=>!a.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...jA(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter(a=>{var l;return((l=a.defaultOptions)==null?void 0:l[o.name])!==void 0}).map(a=>[a.name,a.defaultOptions[o.name]])),n.push(o));return{languages:r,options:n}}function*jA(e,t,r){let n=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let a of o.parsers)if(!n.has(a)){n.add(a);let l=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,a)),i=o.name;l!=null&&l.name&&(i+=` (plugin: ${l.name})`),yield{value:a,description:i}}}}function VA(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=Ie(!1,o.default,-1).value),t.push(o)}return t}function Cg(e,t){if(!t)return;let r=b_(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function UA(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Y6(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=UA(r,t.language)??Cg(r,t.physicalFile)??Cg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Jf(e,t,r,n){return[`Invalid ${Uo.default.red(n.key(e))} value.`,`Expected ${Uo.default.blue(r)},`,`but received ${t===jg?Uo.default.gray("nothing"):Uo.default.red(n.value(t))}.`].join(" ")}function Dg({text:e,list:t},r){let n=[];return e&&n.push(`- ${Uo.default.blue(e)}`),t&&n.push([`- ${Uo.default.blue(t.title)}:`].concat(t.values.map(o=>Dg(o,r-Vg.length).replace(/^|\n/g,`$&${Vg}`))).join(` -`)),Sg(n,r)}function Sg(e,t){if(e.length===1)return e[0];let[r,n]=e,[o,a]=e.map(l=>l.split(` -`,1)[0].length);return o>t&&o>a?n:r}function Z6(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let a=0;for(;ai?d>i?i+1:d:d>u?u+1:d;return i}function X6(e,t){let r=new e(t),n=Object.create(r);for(let o of x_)o in t&&(n[o]=WA(t[o],r,ln.prototype[o].length));return n}function WA(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Qf({from:e,to:t}){return{from:[e],to:t}}function J6(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function Q6(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function eb(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function tb(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function rb(e){return e===Math.floor(e)}function nb(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ob(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function eh(e){return e===void 0?{}:e}function kg(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return qA((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(kg)}}:{text:t}}function th(e,t){return e===!0?!0:e===!1?{value:t}:e}function rh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ag(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Jc(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ag(r,t)):[Ag(e,t)]}function nh(e,t){let r=Jc(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function qA(e,t){if(!e)throw new Error(t)}function ab(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:a,descriptor:l}={}){if(n){if(!a)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=zo;let i=o?Array.isArray(o)?(h,f)=>o.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,v)=>{let{_:g,...C}=v.schemas;return Wg(h,f,{...v,schemas:C})},u=GA(t,{isCLI:n,FlagSchema:a}),d=new F_(u,{logger:r,unknown:i,descriptor:l}),p=r!==!1;p&&zh&&(d._hasDeprecationWarned=zh);let m=d.normalize(e);return p&&(zh=d._hasDeprecationWarned),m}function GA(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(D_.create({name:"_"}));for(let o of e)n.push(KA(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(C_.create({name:o.alias,sourceName:o.name}));return n}function KA(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:o}=e,a={name:o},l,i={};switch(e.type){case"int":l=__,t&&(a.preprocess=Number);break;case"string":l=qg;break;case"choice":l=A_,a.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":l=k_;break;case"flag":l=n,a.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":l=qg;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?a.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):a.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(i.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){let u=a.preprocess||(d=>d);a.preprocess=(d,p,m)=>p.preprocess(u(Array.isArray(d)?Ie(!1,d,-1):d),m)}return e.array?S_.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...i,valueSchema:l.create(a)}):l.create({...a,...i})}function Kv(e,t){if(!t)throw new Error("parserName is required.");let r=ny(!1,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function YA(e,t){if(!t)throw new Error("astFormat is required.");let r=ny(!1,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function Yv({plugins:e,parser:t}){let r=Kv(e,t);return Zv(r,t)}function Zv(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function ZA(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function lb(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=E_(n,{physicalFile:n.filepath}),!n.parser)throw new Hg(`No parser could be inferred for file "${n.filepath}".`)}else throw new Hg("No parser and no file path given, couldn't infer a parser.");let o=xg({plugins:e.plugins,showDeprecated:!0}).options,a={...Gg,...Object.fromEntries(o.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},l=Kv(n.plugins,n.parser),i=await Zv(l,n.parser);n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;let u=(r=l.printers)!=null&&r[i.astFormat]?l:YA(n.plugins,i.astFormat),d=await ZA(u,i.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,h])=>h!==void 0)):{},m={...a,...p};for(let[h,f]of Object.entries(m))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),R_(n,o,{passThrough:Object.keys(Gg),...t})}async function ib(e,t){let r=await Yv(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let o;try{o=await r.parse(n,t,t)}catch(a){XA(a,e)}return{text:n,ast:o}}function XA(e,t){let{loc:r}=e;if(r){let n=(0,I_.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function JA(e,t,r,n,o){let{embeddedLanguageFormatting:a,printer:{embed:l,hasPrettierIgnore:i=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!l||a!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ku(l.getVisitorKeys??u),p=[];f();let m=e.stack;for(let{print:v,node:g,pathStack:C}of p)try{e.stack=C;let b=await v(h,t,e,r);b&&o.set(g,b)}catch(b){if(globalThis.PRETTIER_DEBUG)throw b}e.stack=m;function h(v,g){return QA(v,g,r,n)}c(h,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||i(e))return;for(let C of d(v))Array.isArray(v[C])?e.each(f,C):e.call(f,C);let g=l(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}o.set(v,g)}}c(f,"p")}async function QA(e,t,r,n){let o=await ma({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:a}=await ni(e,o),l=await n(a,o);return bg(l)}function sb(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:a,[Symbol.for("printedComments")]:l}=t,{node:i}=e,u=o(i),d=a(i);for(let p of n)o(p)>=u&&a(p)<=d&&l.add(p);return r.slice(u,d)}async function Du(e,t){({ast:e}=await Xv(e,t));let r=new Map,n=new h_(e),o=y_(t),a=new Map;await JA(n,i,t,Du,a);let l=await _g(n,t,i,void 0,a);return HA(t),l;function i(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){o(n);let p=n.node;if(p==null)return"";let m=p&&typeof p=="object"&&d===void 0;if(m&&r.has(p))return r.get(p);let h=_g(n,t,i,d,a);return m&&r.set(p,h),h}}function _g(e,t,r,n,o){var a;let{node:l}=e,{printer:i}=t,u;return(a=i.hasPrettierIgnore)!=null&&a.call(i,e)?u=z_(e,t):o.has(l)?u=o.get(l):u=i.print(e,t,r,n),l===t.cursorNode&&(u=Vv(u,d=>[dd,d,dd])),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t))&&(u=NA(e,u,t)),u}async function Xv(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,BA(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function ub(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,a=ku(t.printer.getVisitorKeys),l=c(u=>n(u)<=r&&o(u)>=r,"i"),i=e;for(let u of zA(e,{getVisitorKeys:a,filter:l}))i=u;return i}function cb(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=ku(n),a=r.ignoredProperties??new Set;return l(e);function l(i,u){if(!(i!==null&&typeof i=="object"))return i;if(Array.isArray(i))return i.map(h=>l(h,u)).filter(Boolean);let d={},p=new Set(o(i));for(let h in i)!Object.prototype.hasOwnProperty.call(i,h)||a.has(h)||(p.has(h)?d[h]=l(i[h],i):d[h]=i[h]);let m=r(i,d,u);if(m!==null)return m??d}}function e_(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(o=>oy.has(o.type)&&n.has(o))}function Fg(e){let t=L_(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function t_(e,t,{locStart:r,locEnd:n}){let o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=r(e.node);for(let u of Fg(t.parentNodes))if(r(u)>=l)a=u;else break;let i=n(t.node);for(let u of Fg(e.parentNodes)){if(n(u)<=i)o=u;else break;if(o===a)break}return{startNode:o,endNode:a}}function ud(e,t,r,n,o=[],a){let{locStart:l,locEnd:i}=r,u=l(e),d=i(e);if(!(t>d||tn);let i=e.slice(n,o).search(/\S/u),u=i===-1;if(!u)for(n+=i;o>n&&!/\S/u.test(e[o-1]);--o);let d=ud(r,n,t,(f,v)=>Rg(t,f,v),[],"rangeStart"),p=u?d:ud(r,o,t,f=>Rg(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if($_(t)){let f=e_(d,p);m=f,h=f}else({startNode:m,endNode:h}=t_(d,p,t));return{rangeStart:Math.min(a(m),a(h)),rangeEnd:Math.max(l(m),l(h))}}async function Jv(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await ni(e,t);t.cursorOffset>=0&&(t.cursorNode=T_(n,t));let a=await Du(n,t);r>0&&(a=vg([eo,a],r,t.tabWidth));let l=Xs(a,t);if(r>0){let u=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(u)),l.formatted=u+v1(t.endOfLine)}let i=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,m,h;if(t.cursorNode&&l.cursorNodeText?(u=t.locStart(t.cursorNode),d=o.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,m=l.cursorNodeStart,h=l.cursorNodeText):(u=0,d=o,p=t.cursorOffset,m=0,h=l.formatted),d===h)return{formatted:l.formatted,cursorOffset:m+p,comments:i};let f=d.split("");f.splice(p,0,Kg);let v=h.split(""),g=bA(f,v),C=m;for(let b of g)if(b.removed){if(b.value.includes(Kg))break}else C+=b.count;return{formatted:l.formatted,cursorOffset:C,comments:i}}return{formatted:l.formatted,cursorOffset:-1,comments:i}}async function o_(e,t){let{ast:r,text:n}=await ni(e,t),{rangeStart:o,rangeEnd:a}=n_(n,t,r),l=n.slice(o,a),i=Math.min(o,n.lastIndexOf(` -`,o)+1),u=n.slice(i,o).match(/^\s*/u)[0],d=fd(u,t.tabWidth),p=await Jv(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=a?t.cursorOffset-o:-1,endOfLine:"lf"},d),m=p.formatted.trimEnd(),{cursorOffset:h}=t;h>a?h+=m.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+o);let f=n.slice(0,o)+m+n.slice(a);if(t.endOfLine!=="lf"){let v=v1(t.endOfLine);h>=0&&v===`\r -`&&(h+=jv(f.slice(0,h),` -`)),f=Su(!1,f,` -`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function Qc(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Ig(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=Qc(e,r,-1),n=Qc(e,n,0),o=Qc(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Qv(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a}=Ig(e,t),l=e.charAt(0)===ay;if(l&&(e=e.slice(1),r--,n--,o--),a==="auto"&&(a=EA(e)),e.includes("\r")){let i=c(u=>jv(e.slice(0,Math.max(u,0)),`\r -`),"s");r-=i(r),n-=i(n),o-=i(o),e=xA(e)}return{hasBOM:l,text:e,options:Ig(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a})}}async function zg(e,t){let r=await Yv(t);return!r.hasPragma||r.hasPragma(e)}async function Tg(e,t){let{hasBOM:r,text:n,options:o}=Qv(e,await ma(t));if(o.rangeStart>=o.rangeEnd&&n!==""||o.requirePragma&&!await zg(n,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let a;return o.rangeStart>0||o.rangeEnd=0&&a.cursorOffset++),a}async function db(e,t,r){let{text:n,options:o}=Qv(e,await ma(t)),a=await ni(n,o);return r&&(r.preprocessForPrint&&(a.ast=await Xv(a.ast,o)),r.massage&&(a.ast=B_(a.ast,o))),a}async function pb(e,t){t=await ma(t);let r=await Du(e,t);return Xs(r,t)}async function fb(e,t){let r=CA(e),{formatted:n}=await Tg(r,{...t,parser:"__js_expression"});return n}async function hb(e,t){t=await ma(t);let{ast:r}=await ni(e,t);return Du(r,t)}async function mb(e,t){return Xs(e,await ma(t))}function gb(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,o.length/t.length),0)}function xb(e,t){let r=x1(e,t);return r===!1?"":e.charAt(r)}function Cb(e,t,r){for(let n=t;nl===n?l:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+o+t}function l_(e,t,r){return x1(e,r(t))}function kb(e,t){return arguments.length===2||typeof t=="number"?x1(e,t):l_(...arguments)}function i_(e,t,r){return E1(e,r(t))}function Ab(e,t){return arguments.length===2||typeof t=="number"?E1(e,t):i_(...arguments)}function s_(e,t,r){return vd(e,r(t))}function _b(e,t){return arguments.length===2||typeof t=="number"?vd(e,t):s_(...arguments)}function _n(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}async function Bg(e,t){let{formatted:r}=await Yg(e,{...t,cursorOffset:-1});return r}async function Fb(e,t){return await Bg(e,t)===e}var Rb,Ii,Ib,zb,Tb,Bb,oh,Lb,Ec,zi,ah,Ti,$b,Ob,Mb,Fa,xc,lh,Pb,Nb,Hb,jb,Vb,ih,Ub,Su,sh,uh,ch,dh,Wb,qb,u_,Ra,Ji,mo,Gr,Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft,ey,go,c_,ph,Gb,aa,Lg,cd,fh,gr,b1,Kb,Qi,Yb,e0,hh,$g,Zb,eo,Og,dd,Xb,Ie,d_,p_,f_,pd,ot,tr,ml,fd,Fo,mh,Cc,gh,Jb,h_,vh,hd,m_,Qb,xn,Mg,Pg,so,mn,g_,Ng,v_,ku,t0,r0,ty,E1,y_,yh,ry,wh,Hg,w_,b_,E_,zo,bh,e8,Uo,jg,Bi,Vg,t8,Eh,n0,Ug,Wg,x_,xh,ln,Ch,C_,Dh,D_,Sh,S_,kh,k_,Ah,A_,_h,r8,Fh,__,Rh,qg,n8,o8,a8,l8,Ih,F_,zh,R_,i8,ny,Gg,ma,I_,ni,z_,T_,B_,s8,L_,$_,oy,O_,ay,Kg,Th,u8,c8,d8,p8,Bh,md,gd,x1,vd,f8,h8,m8,g8,v8,y8,Yg,w8,b8,M_,lP=T(()=>{Rb=Object.create,Ii=Object.defineProperty,Ib=Object.getOwnPropertyDescriptor,zb=Object.getOwnPropertyNames,Tb=Object.getPrototypeOf,Bb=Object.prototype.hasOwnProperty,oh=c(e=>{throw TypeError(e)},"sr"),Lb=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ec=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),zi=c((e,t)=>{for(var r in t)Ii(e,r,{get:t[r],enumerable:!0})},"We"),ah=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zb(t))!Bb.call(e,o)&&o!==r&&Ii(e,o,{get:c(()=>t[o],"get"),enumerable:!(n=Ib(t,o))||n.enumerable});return e},"ar"),Ti=c((e,t,r)=>(r=e!=null?Rb(Tb(e)):{},ah(t||!e||!e.__esModule?Ii(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),$b=c(e=>ah(Ii({},"__esModule",{value:!0}),e),"vu"),Ob=c((e,t,r)=>t.has(e)||oh("Cannot "+r),"bu"),Mb=c((e,t,r)=>t.has(e)?oh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Fa=c((e,t,r)=>(Ob(e,t,"access private method"),r),"pe"),xc=Ec((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),lh={},zi(lh,{default:c(()=>Nb,"default"),shouldHighlight:c(()=>Pb,"shouldHighlight")}),Hb=Lb(()=>{Pb=c(()=>!1,"xo"),Nb=String}),jb=Ec((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Vb=Ec(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(Hb(),$b(lh)),r=o(jb(),!0);function n(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(n=c(function(y){return y?b:C},"Wn"))(g)}c(n,"Wn");function o(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var b=n(C);if(b&&b.has(g))return b.get(g);var y={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in g)if(x!=="default"&&{}.hasOwnProperty.call(g,x)){var D=E?Object.getOwnPropertyDescriptor(g,x):null;D&&(D.get||D.set)?Object.defineProperty(y,x,D):y[x]=g[x]}return y.default=g,b&&b.set(g,y),y}c(o,"vo");var a=r.default,l=c((g,C)=>b=>g(C(b)),"Rn"),i;function u(g){return g?(i!=null||(i=(0,r.createColors)(!0)),i):a}c(u,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:l(g.red,g.bold),message:l(g.red,g.bold)}}c(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,b){let y=Object.assign({column:0,line:-1},g.start),E=Object.assign({},y,g.end),{linesAbove:x=2,linesBelow:D=3}=b||{},S=y.line,k=y.column,A=E.line,_=E.column,R=Math.max(S-(x+1),0),z=Math.min(C.length,A+D);S===-1&&(R=0),A===-1&&(z=C.length);let L=A-S,$={};if(L)for(let N=0;N<=L;N++){let M=N+S;if(!k)$[M]=!0;else if(N===0){let j=C[M-1].length;$[M]=[k,j-k+1]}else if(N===L)$[M]=[0,_];else{let j=C[M-N].length;$[M]=[0,j]}}else k===_?k?$[S]=[k,0]:$[S]=!0:$[S]=[k,_-k];return{start:R,end:z,markerLines:$}}c(h,"No");function f(g,C,b={}){let y=(b.highlightCode||b.forceColor)&&(0,t.shouldHighlight)(b),E=u(b.forceColor),x=p(E),D=c(($,N)=>y?$(N):N,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(C,S,b),R=C.start&&typeof C.start.column=="number",z=String(A).length,L=(y?(0,t.default)(g,b):g).split(m,A).slice(k,A).map(($,N)=>{let M=k+1+N,j=` ${` ${M}`.slice(-z)} |`,q=_[M],B=!_[M+1];if(q){let P="";if(Array.isArray(q)){let H=$.slice(0,Math.max(q[0]-1,0)).replace(/[^\t]/g," "),G=q[1]||1;P=[` - `,D(x.gutter,j.replace(/\d/g," "))," ",H,D(x.marker,"^").repeat(G)].join(""),B&&b.message&&(P+=" "+D(x.message,b.message))}return[D(x.marker,">"),D(x.gutter,j),$.length>0?` ${$}`:"",P].join("")}else return` ${D(x.gutter,j)}${$.length>0?` ${$}`:""}`}).join(` -`);return b.message&&!R&&(L=`${" ".repeat(z+1)}${b.message} -${L}`),y?E.reset(L):L}c(f,"Mn");function v(g,C,b,y={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let x=new Error(E);x.name="DeprecationWarning",console.warn(new Error(E))}}return b=Math.max(b,0),f(g,{start:{column:b,line:C}},y)}c(v,"To")}),ih={},zi(ih,{__debug:c(()=>b8,"__debug"),check:c(()=>Fb,"check"),doc:c(()=>Th,"doc"),format:c(()=>Bg,"format"),formatWithCursor:c(()=>Yg,"formatWithCursor"),getSupportInfo:c(()=>w8,"getSupportInfo"),util:c(()=>Bh,"util"),version:c(()=>p8,"version")}),Ub=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),Su=Ub,c(nn,"Z"),nn.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.callback;typeof n=="function"&&(o=n,n={}),this.options=n;var a=this;function l(E){return o?(setTimeout(function(){o(void 0,E)},0),!0):E}c(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,d=1,p=i+u;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=u&&v+1>=i)return l([{value:this.join(t),count:t.length}]);var g=-1/0,C=1/0;function b(){for(var E=Math.max(g,-d);E<=Math.min(C,d);E+=2){var x=void 0,D=f[E-1],S=f[E+1];D&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A=u&&v+1>=i)return l(C6(a,x.lastComponent,t,e,a.useLongestToken));f[E]=x,x.oldPos+1>=u&&(C=Math.min(C,E-1)),v+1>=i&&(g=Math.max(g,E+1))}d++}if(c(b,"A"),o)c(function E(){setTimeout(function(){if(d>p||Date.now()>h)return o();b()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var y=b();if(y)return y}},"diff"),addToPath:c(function(e,t,r,n){var o=e.lastComponent;return o&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var o=t.length,a=r.length,l=e.oldPos,i=l-n,u=0;i+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(od(e,null,null,o),o," ")},Ra.equals=function(e,t){return nn.prototype.equals.call(Ra,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(od,"Bt"),Ji=new nn,Ji.tokenize=function(e){return e.slice()},Ji.join=Ji.removeEmpty=function(e){return e},c(bA,"dr"),c(EA,"Fr"),c(v1,"Be"),c(jv,"wt"),c(xA,"mr"),mo="string",Gr="array",Qn="cursor",Kr="indent",Yr="align",Vr="trim",ut="group",hr="fill",wt="if-break",Zr="indent-if-break",Xr="line-suffix",Ur="line-suffix-boundary",Pe="line",mr="label",Ft="break-parent",ey=new Set([Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft]),c(D6,"Lu"),go=D6,c_=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(S6,"Iu"),Gb=(ph=class extends Error{constructor(t){super(S6(t));ka(this,"name","InvalidDocError");this.doc=t}},c(ph,"xt"),ph),aa=Gb,Lg={},c(k6,"Ru"),cd=k6,fh=c(()=>{},"hr"),gr=fh,b1=fh,c(Ys,"De"),c(oa,"ae"),c(hg,"_t"),c(A6,"Cr"),c(_6,"gr"),c(F6,"yr"),c(R6,"Ar"),c(mg,"Ge"),c(I6,"Br"),c(z6,"wr"),c(ad,"xe"),Kb={type:Ur},Qi={type:Ft},Yb={type:Vr},e0={type:Pe,hard:!0},hh={type:Pe,hard:!0,literal:!0},$g={type:Pe},Zb={type:Pe,soft:!0},eo=[e0,Qi],Og=[hh,Qi],dd={type:Qn},c(gg,"be"),c(vg,"Je"),c(T6,"br"),c(zr,"ee"),c(CA,"Or"),Xb=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),Ie=Xb,d_=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),c(B6,"Nr"),c(L6,"Tr"),p_=c(e=>!(B6(e)||L6(e)),"kr"),f_=/[^\x20-\x7F]/u,c($6,"Hu"),pd=$6,c(Zs,"Ne"),c(ld,"Xe"),c(DA,"Wu"),c(O6,"Ir"),c(yg,"Lr"),c(SA,"Rr"),c(kA,"Mu"),c(M6,"Yr"),c(wg,"Pr"),c(hl,"Se"),c(bg,"Ze"),c(AA,"$u"),c(_A,"Vu"),c(P6,"jr"),c(FA,"Uu"),c(N6,"Hr"),c(Vv,"Qe"),ot=Symbol("MODE_BREAK"),tr=Symbol("MODE_FLAT"),ml=Symbol("cursor"),c(Uv,"Wr"),c(RA,"zu"),c(IA,"Gu"),c(id,"bt"),c(sd,"Ot"),c(Xi,"et"),c(Xs,"Fe"),c(H6,"Ku"),fd=H6,Jb=(gh=class{constructor(e){Mb(this,Fo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Ie(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Ie(!1,this.stack,-2)}get node(){return Ie(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Ie(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Fa(this,Fo,Cc).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Ie(!1,e,-2):null}getValue(){return Ie(!1,this.stack,-1)}getNode(e=0){let t=Fa(this,Fo,mh).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Fa(this,Fo,mh).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{for(let a=0;a{r[o]=e(n,o,a)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let o of e){if(n===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[t--],n=this.stack[t--]),o&&!o(n,r,a))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return t}hasAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return!0;return!1}},c(gh,"St"),gh),Fo=new WeakSet,mh=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Cc=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),h_=Jb,vh=new Proxy(()=>{},{get:c(()=>vh,"get")}),hd=vh,c(j6,"qu"),m_=j6,c(Wv,"Tt"),c(zA,"Ur"),c(_a,"Ee"),Qb=_a(/\s/u),xn=_a(" "),Mg=_a(",; "),Pg=_a(/[^\n\r]/u),c(V6,"Ju"),so=V6,c(U6,"Xu"),mn=U6,c(W6,"Zu"),g_=W6,Ng=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),v_=c(e=>Object.keys(e).filter(t=>!Ng.has(t)),"Qu"),c(q6,"eo"),ku=q6,c(TA,"to"),c(y1,"Lt"),c(jo,"ue"),c(xs,"re"),c(Vo,"oe"),t0=new WeakMap,c(w1,"ut"),c(qv,"qr"),r0=c(()=>!1,"It"),c(BA,"Jr"),ty=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(LA,"ro"),c($A,"no"),c(Eg,"Kr"),c(Xc,"Rt"),c(G6,"uo"),E1=G6,c(Gv,"Zr"),c(OA,"oo"),c(MA,"io"),c(PA,"so"),c(NA,"Qr"),c(HA,"en"),c(K6,"ao"),y_=K6,ry=(yh=class extends Error{constructor(){super(...arguments);ka(this,"name","ConfigError")}},c(yh,"Pe"),yh),Hg=(wh=class extends Error{constructor(){super(...arguments);ka(this,"name","UndefinedParserError")}},c(wh,"Ie"),wh),w_={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(xg,"ot"),c(jA,"Do"),c(VA,"lo"),b_=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(Cg,"nn"),c(UA,"fo"),c(Y6,"po"),E_=Y6,zo={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>zo.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${zo.key(r)}: ${zo.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>zo.value({[e]:t}),"pair")},bh=Ti(xc(),1),e8=c((e,t,{descriptor:r})=>{let n=[`${bh.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${bh.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Uo=Ti(xc(),1),jg=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bi=Symbol.for("vnopts.VALUE_UNCHANGED"),Vg=" ".repeat(2),t8=c((e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),a=[];return n&&a.push(Jf(e,t,n,r.descriptor)),o&&a.push([Jf(e,t,o.title,r.descriptor)].concat(o.values.map(l=>Dg(l,r.loggerPrintWidth))).join(` -`)),Sg(a,r.loggerPrintWidth)},"cn"),c(Jf,"ln"),c(Dg,"fn"),c(Sg,"pn"),Eh=Ti(xc(),1),n0=[],Ug=[],c(Z6,"Ht"),Wg=c((e,t,{descriptor:r,logger:n,schemas:o})=>{let a=[`Ignored unknown option ${Eh.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(o).sort().find(i=>Z6(e,i)<3);l&&a.push(`Did you mean ${Eh.default.blue(r.key(l))}?`),n.warn(a.join(" "))},"at"),x_=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(X6,"mo"),ln=(xh=class{static create(e){return X6(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Bi}},c(xh,"O"),xh),c(WA,"Eo"),C_=(Ch=class extends ln{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(Ch,"Dt"),Ch),D_=(Dh=class extends ln{expected(){return"anything"}validate(){return!0}},c(Dh,"lt"),Dh),S_=(Sh=class extends ln{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let o=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);o!==!0&&r.push(o.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let o=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);o!==!1&&r.push(...o.map(({value:a})=>({value:[a]})))}return r}forward(e,t){let r=[];for(let n of e){let o=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...o.map(Qf))}return r}redirect(e,t){let r=[],n=[];for(let o of e){let a=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in a&&r.push(a.remain),n.push(...a.redirect.map(Qf))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(Sh,"ct"),Sh),c(Qf,"Fn"),k_=(kh=class extends ln{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(kh,"ft"),kh),c(J6,"En"),c(Q6,"hn"),c(eb,"Cn"),c(tb,"gn"),c(rb,"yn"),c(nb,"An"),c(ob,"Bn"),c(eh,"Mt"),c(kg,"$t"),c(th,"Vt"),c(rh,"Ut"),c(Ag,"mn"),c(Jc,"pt"),c(nh,"zt"),c(qA,"ho"),A_=(Ah=class extends ln{constructor(e){super(e),this._choices=Q6(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(({hidden:o})=>!o).map(o=>o.value).sort(nb).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(Ah,"dt"),Ah),r8=(_h=class extends ln{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(_h,"Ft"),_h),__=(Fh=class extends r8{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&rb(e)}},c(Fh,"mt"),Fh),qg=(Rh=class extends ln{expected(){return"a string"}validate(e){return typeof e=="string"}},c(Rh,"Re"),Rh),n8=zo,o8=Wg,a8=t8,l8=e8,F_=(Ih=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:o=n8,unknown:a=o8,invalid:l=a8,deprecated:i=l8,missing:u=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:p=c(h=>h,"d"),postprocess:m=c(()=>Bi,"f")}=t||{};this._utils={descriptor:o,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:J6(e,"name"),normalizeDefaultResult:eh,normalizeExpectedResult:kg,normalizeDeprecatedResult:rh,normalizeForwardResult:Jc,normalizeRedirectResult:nh,normalizeValidateResult:th},this._unknownHandler=a,this._invalidHandler=ob(l),this._deprecatedHandler=i,this._identifyMissing=(h,f)=>!(h in f)||u(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=eb()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let o=r.shift(),a=this._applyNormalization(o,t);r.push(...a)}},"u");n();for(let o of Object.keys(this._utils.schemas)){let a=this._utils.schemas[o];if(!(o in t)){let l=eh(a.default(this._utils));"value"in l&&r.push({[o]:l.value})}}n();for(let o of Object.keys(this._utils.schemas)){if(!(o in t))continue;let a=this._utils.schemas[o],l=t[o],i=a.postprocess(l,this._utils);i!==Bi&&(this._applyValidation(i,o,a),t[o]=i)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(e);for(let a of n){let l=this._utils.schemas[a],i=l.preprocess(e[a],this._utils);this._applyValidation(i,a,l);let u=c(({from:m,to:h})=>{r.push(typeof h=="string"?{[h]:m}:{[h.key]:h.value})},"D"),d=c(({value:m,redirectTo:h})=>{let f=rh(l.deprecated(m,this._utils),i,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,h,this._utils));else for(let{value:v}of f){let g={key:a,value:v};if(!this._hasDeprecationWarned(g)){let C=typeof h=="string"?{key:h,value:v}:h;this._utils.logger.warn(this._deprecatedHandler(g,C,this._utils))}}},"l");Jc(l.forward(i,this._utils),i).forEach(u);let p=nh(l.redirect(i,this._utils),i);if(p.redirect.forEach(u),"remain"in p){let m=p.remain;t[a]=a in t?l.overlap(t[a],m,this._utils):m,d({value:m})}for(let{from:m,to:h}of p.redirect)d({value:m,redirectTo:h})}for(let a of o){let l=e[a];this._applyUnknownHandler(a,l,t,(i,u)=>{r.push({[i]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,jg,this._utils)}_partitionOptionKeys(e){let[t,r]=tb(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=th(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let o=this._unknownHandler(e,t,this._utils);if(o)for(let a of Object.keys(o)){if(this._identifyMissing(a,o))continue;let l=o[a];a in this._utils.schemas?n(a,l):r[a]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bi){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let o of r){let a=t.override[o];this._applyValidation(a,o,this._utils.schemas[o]),e[o]=a}for(let o of n){let a=t.override[o];this._applyUnknownHandler(o,a,e,(l,i)=>{let u=this._utils.schemas[l];this._applyValidation(i,l,u),e[l]=i})}}}}},c(Ih,"Et"),Ih),c(ab,"go"),c(GA,"yo"),c(KA,"Ao"),R_=ab,i8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}},"Bo"),ny=i8,c(Kv,"qt"),c(YA,"On"),c(Yv,"ht"),c(Zv,"Jt"),c(ZA,"Sn"),Gg={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(lb,"wo"),ma=lb,I_=Ti(Vb(),1),c(ib,"ko"),c(XA,"Lo"),ni=ib,c(JA,"Un"),c(QA,"Po"),c(sb,"Io"),z_=sb,c(Du,"Ye"),c(_g,"Gn"),c(Xv,"Qt"),c(ub,"Ro"),T_=ub,c(cb,"Yo"),B_=cb,s8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return n}return-1}},"jo"),L_=s8,$_=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(e_,"Wo"),c(Fg,"Xn"),c(t_,"Mo"),c(ud,"er"),c(r_,"$o"),oy=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),O_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(Rg,"Zn"),c(n_,"eu"),ay="\uFEFF",Kg=Symbol("cursor"),c(Jv,"ou"),c(o_,"Uo"),c(Qc,"tr"),c(Ig,"ru"),c(Qv,"iu"),c(zg,"nu"),c(Tg,"rr"),c(db,"su"),c(pb,"au"),c(fb,"Du"),c(hb,"lu"),c(mb,"cu"),Th={},zi(Th,{builders:c(()=>u8,"builders"),printer:c(()=>c8,"printer"),utils:c(()=>d8,"utils")}),u8={join:gg,line:$g,softline:Zb,hardline:eo,literalline:Og,group:hg,conditionalGroup:R6,fill:mg,lineSuffix:ad,lineSuffixBoundary:Kb,cursor:dd,breakParent:Qi,ifBreak:I6,trim:Yb,indent:Ys,indentIfBreak:z6,align:oa,addAlignmentToDoc:vg,markAsRoot:_6,dedentToRoot:A6,dedent:F6,hardlineWithoutBreakParent:e0,literallineWithoutBreakParent:hh,label:T6,concat:c(e=>e,"concat")},c8={printDocToString:Xs},d8={willBreak:O6,traverseDoc:cd,findInDoc:ld,mapDoc:Zs,removeLines:M6,stripTrailingHardline:bg,replaceEndOfLine:P6,canBreak:N6},p8="3.3.3",Bh={},zi(Bh,{addDanglingComment:c(()=>xs,"addDanglingComment"),addLeadingComment:c(()=>jo,"addLeadingComment"),addTrailingComment:c(()=>Vo,"addTrailingComment"),getAlignmentSize:c(()=>fd,"getAlignmentSize"),getIndentSize:c(()=>f8,"getIndentSize"),getMaxContinuousCount:c(()=>h8,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>m8,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>kb,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>pd,"getStringWidth"),hasNewline:c(()=>mn,"hasNewline"),hasNewlineInRange:c(()=>g8,"hasNewlineInRange"),hasSpaces:c(()=>v8,"hasSpaces"),isNextLineEmpty:c(()=>_b,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>vd,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>Ab,"isPreviousLineEmpty"),makeString:c(()=>y8,"makeString"),skip:c(()=>_a,"skip"),skipEverythingButNewLine:c(()=>Pg,"skipEverythingButNewLine"),skipInlineComment:c(()=>md,"skipInlineComment"),skipNewline:c(()=>so,"skipNewline"),skipSpaces:c(()=>xn,"skipSpaces"),skipToLineEnd:c(()=>Mg,"skipToLineEnd"),skipTrailingComment:c(()=>gd,"skipTrailingComment"),skipWhitespace:c(()=>Qb,"skipWhitespace")}),c(gb,"Jo"),md=gb,c(vb,"Xo"),gd=vb,c(yb,"Zo"),x1=yb,c(wb,"Qo"),vd=wb,c(bb,"ei"),f8=bb,c(a_,"ur"),c(Eb,"ti"),h8=Eb,c(xb,"ri"),m8=xb,c(Cb,"ni"),g8=Cb,c(Db,"ui"),v8=Db,c(Sb,"oi"),y8=Sb,c(l_,"ii"),c(kb,"si"),c(i_,"ai"),c(Ab,"Di"),c(s_,"li"),c(_b,"ci"),c(_n,"fe"),Yg=_n(Tg),c(Bg,"gu"),c(Fb,"fi"),w8=_n(xg,0),b8={parse:_n(db),formatAST:_n(pb),formatDoc:_n(fb),printToDoc:_n(hb),printDocToString:_n(mb)},M_=ih});function P_(e){for(var t=[],r=1;r{c(P_,"dedent")}),N_={};Ql(N_,{formatter:()=>H_});var E8,H_,sP=T(()=>{E8=We(e1(),1),aP(),lP(),iP(),H_=(0,E8.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?P_(t):(await M_.format(t,{parser:e,plugins:[wA],htmlWhitespaceSensitivity:"ignore"})).trim())}),Zg,Xg,uP=T(()=>{Zg=c(function(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t},{})},"fromEntries"),Xg=typeof window<"u"&&window.document&&window.document.createElement?s.useLayoutEffect:s.useEffect}),it,zt,Tt,st,yd,gl,Yo,vl,j_,ly,ja,V_,Jg,iy,x8,C8,D8,S8,k8,A8,_8,F8,R8,U_,Wt=T(()=>{it="top",zt="bottom",Tt="right",st="left",yd="auto",gl=[it,zt,Tt,st],Yo="start",vl="end",j_="clippingParents",ly="viewport",ja="popper",V_="reference",Jg=gl.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+vl])},[]),iy=[].concat(gl,[yd]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+vl])},[]),x8="beforeRead",C8="read",D8="afterRead",S8="beforeMain",k8="main",A8="afterMain",_8="beforeWrite",F8="write",R8="afterWrite",U_=[x8,C8,D8,S8,k8,A8,_8,F8,R8]});function vr(e){return e?(e.nodeName||"").toLowerCase():null}var ga=T(()=>{c(vr,"getNodeName")});function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qr=T(()=>{c(Et,"getWindow")});function uo(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function C1(e){if(typeof ShadowRoot>"u")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var qt=T(()=>{Qr(),c(uo,"isElement"),c(Rt,"isHTMLElement"),c(C1,"isShadowRoot")});function I8(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Rt(a)||!vr(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(l){var i=o[l];i===!1?a.removeAttribute(l):a.setAttribute(l,i===!0?"":i)}))})}function z8(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=l.reduce(function(u,d){return u[d]="",u},{});!Rt(o)||!vr(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var W_,cP=T(()=>{ga(),qt(),c(I8,"applyStyles"),c(z8,"effect"),W_={name:"applyStyles",enabled:!0,phase:"write",fn:I8,effect:z8,requires:["computeStyles"]}});function pr(e){return e.split("-")[0]}var va=T(()=>{c(pr,"getBasePlacement")}),to,Js,la,ya=T(()=>{to=Math.max,Js=Math.min,la=Math.round});function wd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var q_=T(()=>{c(wd,"getUAString")});function sy(){return!/^((?!chrome|android).)*safari/i.test(wd())}var G_=T(()=>{q_(),c(sy,"isLayoutViewport")});function ia(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Rt(e)&&(o=e.offsetWidth>0&&la(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&la(n.height)/e.offsetHeight||1);var l=uo(e)?Et(e):window,i=l.visualViewport,u=!sy()&&r,d=(n.left+(u&&i?i.offsetLeft:0))/o,p=(n.top+(u&&i?i.offsetTop:0))/a,m=n.width/o,h=n.height/a;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var Au=T(()=>{qt(),ya(),Qr(),G_(),c(ia,"getBoundingClientRect")});function D1(e){var t=ia(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var uy=T(()=>{Au(),c(D1,"getLayoutRect")});function cy(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&C1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var K_=T(()=>{qt(),c(cy,"contains")});function Jr(e){return Et(e).getComputedStyle(e)}var _u=T(()=>{Qr(),c(Jr,"getComputedStyle")});function Y_(e){return["table","td","th"].indexOf(vr(e))>=0}var dP=T(()=>{ga(),c(Y_,"isTableElement")});function kn(e){return((uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var vo=T(()=>{qt(),c(kn,"getDocumentElement")});function Fu(e){return vr(e)==="html"?e:e.assignedSlot||e.parentNode||(C1(e)?e.host:null)||kn(e)}var S1=T(()=>{ga(),vo(),qt(),c(Fu,"getParentNode")});function Qg(e){return!Rt(e)||Jr(e).position==="fixed"?null:e.offsetParent}function Z_(e){var t=/firefox/i.test(wd()),r=/Trident/i.test(wd());if(r&&Rt(e)){var n=Jr(e);if(n.position==="fixed")return null}var o=Fu(e);for(C1(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(vr(o))<0;){var a=Jr(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function oi(e){for(var t=Et(e),r=Qg(e);r&&Y_(r)&&Jr(r).position==="static";)r=Qg(r);return r&&(vr(r)==="html"||vr(r)==="body"&&Jr(r).position==="static")?t:r||Z_(e)||t}var Ru=T(()=>{Qr(),ga(),_u(),qt(),dP(),S1(),q_(),c(Qg,"getTrueOffsetParent"),c(Z_,"getContainingBlock"),c(oi,"getOffsetParent")});function k1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var dy=T(()=>{c(k1,"getMainAxisFromPlacement")});function yl(e,t,r){return to(e,Js(t,r))}function X_(e,t,r){var n=yl(e,t,r);return n>r?r:n}var J_=T(()=>{ya(),c(yl,"within"),c(X_,"withinMaxClamp")});function py(){return{top:0,right:0,bottom:0,left:0}}var Q_=T(()=>{c(py,"getFreshSideObject")});function fy(e){return Object.assign({},py(),e)}var eF=T(()=>{Q_(),c(fy,"mergePaddingObject")});function hy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var tF=T(()=>{c(hy,"expandToHashMap")});function T8(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,i=pr(r.placement),u=k1(i),d=[st,Tt].indexOf(i)>=0,p=d?"height":"width";if(!(!a||!l)){var m=rF(o.padding,r),h=D1(a),f=u==="y"?it:st,v=u==="y"?zt:Tt,g=r.rects.reference[p]+r.rects.reference[u]-l[u]-r.rects.popper[p],C=l[u]-r.rects.reference[u],b=oi(a),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-C/2,x=m[f],D=y-h[p]-m[v],S=y/2-h[p]/2+E,k=yl(x,S,D),A=u;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function B8(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||cy(t.elements.popper,o)&&(t.elements.arrow=o))}var rF,nF,pP=T(()=>{va(),uy(),K_(),Ru(),dy(),J_(),eF(),tF(),Wt(),rF=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,fy(typeof e!="number"?e:hy(e,gl))},"toPaddingObject"),c(T8,"arrow"),c(B8,"effect"),nF={name:"arrow",enabled:!0,phase:"main",fn:T8,effect:B8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function sa(e){return e.split("-")[1]}var Iu=T(()=>{c(sa,"getVariation")});function oF(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:la(r*o)/o||0,y:la(n*o)/o||0}}function e5(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,i=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,f=h===void 0?0:h,v=l.y,g=v===void 0?0:v,C=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=C.x,g=C.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),E=st,x=it,D=window;if(d){var S=oi(r),k="clientHeight",A="clientWidth";if(S===Et(r)&&(S=kn(r),Jr(S).position!=="static"&&i==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,o===it||(o===st||o===Tt)&&a===vl){x=zt;var _=m&&S===D&&D.visualViewport?D.visualViewport.height:S[k];g-=_-n.height,g*=u?1:-1}if(o===st||(o===it||o===zt)&&a===vl){E=Tt;var R=m&&S===D&&D.visualViewport?D.visualViewport.width:S[A];f-=R-n.width,f*=u?1:-1}}var z=Object.assign({position:i},d&&aF),L=p===!0?oF({x:f,y:g},Et(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var $;return Object.assign({},z,($={},$[x]=y?"0":"",$[E]=b?"0":"",$.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",$))}return Object.assign({},z,(t={},t[x]=y?g+"px":"",t[E]=b?f+"px":"",t.transform="",t))}function L8(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,l=a===void 0?!0:a,i=r.roundOffsets,u=i===void 0?!0:i,d={placement:pr(t.placement),variation:sa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,e5(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,e5(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var aF,lF,fP=T(()=>{Wt(),Ru(),Qr(),vo(),_u(),va(),Iu(),ya(),aF={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(oF,"roundOffsetsByDPR"),c(e5,"mapToStyles"),c(L8,"computeStyles"),lF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:L8,data:{}}});function $8(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,l=n.resize,i=l===void 0?!0:l,u=Et(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",r.update,es)}),i&&u.addEventListener("resize",r.update,es),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",r.update,es)}),i&&u.removeEventListener("resize",r.update,es)}}var es,iF,hP=T(()=>{Qr(),es={passive:!0},c($8,"effect"),iF={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:$8,data:{}}});function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return sF[t]})}var sF,mP=T(()=>{sF={left:"right",right:"left",bottom:"top",top:"bottom"},c(Cs,"getOppositePlacement")});function t5(e){return e.replace(/start|end/g,function(t){return uF[t]})}var uF,gP=T(()=>{uF={start:"end",end:"start"},c(t5,"getOppositeVariationPlacement")});function A1(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var my=T(()=>{Qr(),c(A1,"getWindowScroll")});function _1(e){return ia(kn(e)).left+A1(e).scrollLeft}var gy=T(()=>{Au(),vo(),my(),c(_1,"getWindowScrollBarX")});function cF(e,t){var r=Et(e),n=kn(e),o=r.visualViewport,a=n.clientWidth,l=n.clientHeight,i=0,u=0;if(o){a=o.width,l=o.height;var d=sy();(d||!d&&t==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:i+_1(e),y:u}}var vP=T(()=>{Qr(),vo(),gy(),G_(),c(cF,"getViewportRect")});function dF(e){var t,r=kn(e),n=A1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=to(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=to(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+_1(e),u=-n.scrollTop;return Jr(o||r).direction==="rtl"&&(i+=to(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:i,y:u}}var yP=T(()=>{vo(),_u(),gy(),my(),ya(),c(dF,"getDocumentRect")});function F1(e){var t=Jr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}var vy=T(()=>{_u(),c(F1,"isScrollParent")});function yy(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:Rt(e)&&F1(e)?e:yy(Fu(e))}var wP=T(()=>{S1(),vy(),ga(),qt(),c(yy,"getScrollParent")});function wl(e,t){var r;t===void 0&&(t=[]);var n=yy(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Et(n),l=o?[a].concat(a.visualViewport||[],F1(n)?n:[]):n,i=t.concat(l);return o?i:i.concat(wl(Fu(l)))}var pF=T(()=>{wP(),S1(),Qr(),vy(),c(wl,"listScrollParents")});function bd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var fF=T(()=>{c(bd,"rectToClientRect")});function hF(e,t){var r=ia(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function r5(e,t,r){return t===ly?bd(cF(e,r)):uo(t)?hF(t,r):bd(dF(kn(e)))}function mF(e){var t=wl(Fu(e)),r=["absolute","fixed"].indexOf(Jr(e).position)>=0,n=r&&Rt(e)?oi(e):e;return uo(n)?t.filter(function(o){return uo(o)&&cy(o,n)&&vr(o)!=="body"}):[]}function gF(e,t,r,n){var o=t==="clippingParents"?mF(e):[].concat(t),a=[].concat(o,[r]),l=a[0],i=a.reduce(function(u,d){var p=r5(e,d,n);return u.top=to(p.top,u.top),u.right=Js(p.right,u.right),u.bottom=Js(p.bottom,u.bottom),u.left=to(p.left,u.left),u},r5(e,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var bP=T(()=>{Wt(),vP(),yP(),pF(),Ru(),vo(),_u(),qt(),Au(),S1(),K_(),ga(),fF(),ya(),c(hF,"getInnerBoundingClientRect"),c(r5,"getClientRectFromMixedType"),c(mF,"getClippingParents"),c(gF,"getClippingRect")});function wy(e){var t=e.reference,r=e.element,n=e.placement,o=n?pr(n):null,a=n?sa(n):null,l=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,u;switch(o){case it:u={x:l,y:t.y-r.height};break;case zt:u={x:l,y:t.y+t.height};break;case Tt:u={x:t.x+t.width,y:i};break;case st:u={x:t.x-r.width,y:i};break;default:u={x:t.x,y:t.y}}var d=o?k1(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case Yo:u[d]=u[d]-(t[p]/2-r[p]/2);break;case vl:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var vF=T(()=>{va(),Iu(),dy(),Wt(),c(wy,"computeOffsets")});function jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,l=a===void 0?e.strategy:a,i=r.boundary,u=i===void 0?j_:i,d=r.rootBoundary,p=d===void 0?ly:d,m=r.elementContext,h=m===void 0?ja:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,C=g===void 0?0:g,b=fy(typeof C!="number"?C:hy(C,gl)),y=h===ja?V_:ja,E=e.rects.popper,x=e.elements[v?y:h],D=gF(uo(x)?x:x.contextElement||kn(e.elements.popper),u,p,l),S=ia(e.elements.reference),k=wy({reference:S,element:E,placement:o}),A=bd(Object.assign({},E,k)),_=h===ja?A:S,R={top:D.top-_.top+b.top,bottom:_.bottom-D.bottom+b.bottom,left:D.left-_.left+b.left,right:_.right-D.right+b.right},z=e.modifiersData.offset;if(h===ja&&z){var L=z[o];Object.keys(R).forEach(function($){var N=[Tt,zt].indexOf($)>=0?1:-1,M=[it,zt].indexOf($)>=0?"y":"x";R[$]+=L[M]*N})}return R}var R1=T(()=>{bP(),vo(),Au(),vF(),fF(),Wt(),qt(),eF(),tF(),c(jl,"detectOverflow")});function yF(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,l=r.padding,i=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?iy:u,p=sa(n),m=p?i?Jg:Jg.filter(function(v){return sa(v)===p}):gl,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=jl(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[pr(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var EP=T(()=>{Iu(),Wt(),R1(),va(),c(yF,"computeAutoPlacement")});function wF(e){if(pr(e)===yd)return[];var t=Cs(e);return[t5(e),t,t5(t)]}function O8(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!0:l,u=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,C=t.options.placement,b=pr(C),y=b===C,E=u||(y||!v?[Cs(C)]:wF(C)),x=[C].concat(E).reduce(function(ie,U){return ie.concat(pr(U)===yd?yF(t,{placement:U,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):U)},[]),D=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=x[0],R=0;R=0,M=N?"width":"height",j=jl(t,{placement:z,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),q=N?$?Tt:st:$?zt:it;D[M]>S[M]&&(q=Cs(q));var B=Cs(q),P=[];if(a&&P.push(j[L]<=0),i&&P.push(j[q]<=0,j[B]<=0),P.every(function(ie){return ie})){_=z,A=!1;break}k.set(z,P)}if(A)for(var H=v?3:1,G=c(function(ie){var U=x.find(function(X){var re=k.get(X);if(re)return re.slice(0,ie).every(function(_e){return _e})});if(U)return _=U,"break"},"_loop"),Z=H;Z>0;Z--){var Q=G(Z);if(Q==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var bF,xP=T(()=>{mP(),va(),gP(),R1(),EP(),Wt(),Iu(),c(wF,"getExpandedFallbackPlacements"),c(O8,"flip"),bF={name:"flip",enabled:!0,phase:"main",fn:O8,requiresIfExists:["offset"],data:{_skip:!1}}});function n5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function o5(e){return[it,Tt,zt,st].some(function(t){return e[t]>=0})}function M8(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=jl(t,{elementContext:"reference"}),i=jl(t,{altBoundary:!0}),u=n5(l,n),d=n5(i,o,a),p=o5(u),m=o5(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var EF,CP=T(()=>{Wt(),R1(),c(n5,"getSideOffsets"),c(o5,"isAnySideFullyClipped"),c(M8,"hide"),EF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M8}});function xF(e,t,r){var n=pr(e),o=[st,it].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=a[0],i=a[1];return l=l||0,i=(i||0)*o,[st,Tt].indexOf(n)>=0?{x:i,y:l}:{x:l,y:i}}function P8(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,l=iy.reduce(function(p,m){return p[m]=xF(m,t.rects,a),p},{}),i=l[t.placement],u=i.x,d=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var CF,DP=T(()=>{va(),Wt(),c(xF,"distanceAndSkiddingToXY"),c(P8,"offset"),CF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P8}});function N8(e){var t=e.state,r=e.name;t.modifiersData[r]=wy({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var DF,SP=T(()=>{vF(),c(N8,"popperOffsets"),DF={name:"popperOffsets",enabled:!0,phase:"read",fn:N8,data:{}}});function SF(e){return e==="x"?"y":"x"}var kP=T(()=>{c(SF,"getAltAxis")});function H8(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!1:l,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,C=jl(t,{boundary:u,rootBoundary:d,padding:m,altBoundary:p}),b=pr(t.placement),y=sa(t.placement),E=!y,x=k1(b),D=SF(x),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(a){var $,N=x==="y"?it:st,M=x==="y"?zt:Tt,j=x==="y"?"height":"width",q=S[x],B=q+C[N],P=q-C[M],H=f?-A[j]/2:0,G=y===Yo?k[j]:A[j],Z=y===Yo?-A[j]:-k[j],Q=t.elements.arrow,ie=f&&Q?D1(Q):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:py(),X=U[N],re=U[M],_e=yl(0,k[j],ie[j]),qe=E?k[j]/2-H-_e-X-R.mainAxis:G-_e-X-R.mainAxis,xr=E?-k[j]/2+H+_e+re+R.mainAxis:Z+_e+re+R.mainAxis,xt=t.elements.arrow&&oi(t.elements.arrow),Yt=xt?x==="y"?xt.clientTop||0:xt.clientLeft||0:0,W=($=z==null?void 0:z[x])!=null?$:0,Zt=q+qe-W-Yt,Cr=q+xr-W,bo=yl(f?Js(B,Zt):B,q,f?to(P,Cr):P);S[x]=bo,L[x]=bo-q}if(i){var Ca,Dr=x==="x"?it:st,Tu=x==="x"?zt:Tt,rt=S[D],Eo=D==="y"?"height":"width",Sr=rt+C[Dr],Da=rt-C[Tu],kr=[it,st].indexOf(b)!==-1,Sa=(Ca=z==null?void 0:z[D])!=null?Ca:0,Ar=kr?Sr:rt-k[Eo]-A[Eo]-Sa+R.altAxis,Ge=kr?rt+k[Eo]+A[Eo]-Sa-R.altAxis:Da,Xt=f&&kr?X_(Ar,rt,Ge):yl(f?Ar:Sr,rt,f?Ge:Da);S[D]=Xt,L[D]=Xt-rt}t.modifiersData[n]=L}}var kF,AP=T(()=>{Wt(),va(),dy(),kP(),J_(),uy(),Ru(),R1(),Iu(),Q_(),ya(),c(H8,"preventOverflow"),kF={name:"preventOverflow",enabled:!0,phase:"main",fn:H8,requiresIfExists:["offset"]}}),AF=T(()=>{});function _F(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var _P=T(()=>{c(_F,"getHTMLElementScroll")});function FF(e){return e===Et(e)||!Rt(e)?A1(e):_F(e)}var FP=T(()=>{my(),Qr(),qt(),_P(),c(FF,"getNodeScroll")});function RF(e){var t=e.getBoundingClientRect(),r=la(t.width)/e.offsetWidth||1,n=la(t.height)/e.offsetHeight||1;return r!==1||n!==1}function IF(e,t,r){r===void 0&&(r=!1);var n=Rt(t),o=Rt(t)&&RF(t),a=kn(t),l=ia(e,o,r),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((vr(t)!=="body"||F1(a))&&(i=FF(t)),Rt(t)?(u=ia(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=_1(a))),{x:l.left+i.scrollLeft-u.x,y:l.top+i.scrollTop-u.y,width:l.width,height:l.height}}var RP=T(()=>{Au(),FP(),ga(),qt(),gy(),vo(),vy(),ya(),c(RF,"isElementScaled"),c(IF,"getCompositeRect")});function zF(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(i){if(!r.has(i)){var u=t.get(i);u&&o(u)}}),n.push(a)}return c(o,"sort"),e.forEach(function(a){r.has(a.name)||o(a)}),n}function TF(e){var t=zF(e);return U_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}var IP=T(()=>{Wt(),c(zF,"order"),c(TF,"orderModifiers")});function BF(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var zP=T(()=>{c(BF,"debounce")});function LF(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var TP=T(()=>{c(LF,"mergeByName")});function a5(){for(var e=arguments.length,t=new Array(e),r=0;r{RP(),uy(),pF(),Ru(),IP(),zP(),TP(),qt(),l5={placement:"bottom",modifiers:[],strategy:"absolute"},c(a5,"areValidElements"),c($F,"popperGenerator")}),j8,OF,LP=T(()=>{BP(),hP(),SP(),fP(),cP(),DP(),xP(),AP(),pP(),CP(),AF(),j8=[iF,DF,lF,W_,CF,bF,kF,nF,EF],OF=$F({defaultModifiers:j8})}),$P=T(()=>{Wt(),AF(),LP()}),OP=Y((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(i,u){if(i===u)return!0;if(i&&u&&typeof i=="object"&&typeof u=="object"){if(i.constructor!==u.constructor)return!1;var d,p,m;if(Array.isArray(i)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!l(i[p],u[p]))return!1;return!0}var h;if(n&&i instanceof Map&&u instanceof Map){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;for(h=i.entries();!(p=h.next()).done;)if(!l(p.value[1],u.get(p.value[0])))return!1;return!0}if(o&&i instanceof Set&&u instanceof Set){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(u)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(i[p]!==u[p])return!1;return!0}if(i.constructor===RegExp)return i.source===u.source&&i.flags===u.flags;if(i.valueOf!==Object.prototype.valueOf&&typeof i.valueOf=="function"&&typeof u.valueOf=="function")return i.valueOf()===u.valueOf();if(i.toString!==Object.prototype.toString&&typeof i.toString=="function"&&typeof u.toString=="function")return i.toString()===u.toString();if(m=Object.keys(i),d=m.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,m[p]))return!1;if(r&&i instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&i.$$typeof)&&!l(i[m[p]],u[m[p]]))return!1;return!0}return i!==i&&u!==u}c(l,"equal"),t.exports=c(function(i,u){try{return l(i,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),V8,U8,MF,MP=T(()=>{$P(),V8=We(OP()),uP(),U8=[],MF=c(function(e,t,r){r===void 0&&(r={});var n=s.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||U8},a=s.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],i=a[1],u=s.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(m){var h=m.state,f=Object.keys(h.elements);fu.flushSync(function(){i({styles:Zg(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:Zg(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=s.useMemo(function(){var m={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,V8.default)(n.current,m)?n.current||m:(n.current=m,m)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=s.useRef();return Xg(function(){p.current&&p.current.setOptions(d)},[d]),Xg(function(){if(!(e==null||t==null)){var m=r.createPopper||OF,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),PP=T(()=>{MP()});function by(e){var t=s.useRef(e);return t.current=e,s.useCallback(function(){return t.current},[])}function PF(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?HF:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=s.useState(t),l=a[0],i=a[1],u=by(l),d=s.useCallback(function(m){var h=u(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),i(f),typeof o=="function"&&o(f)},[u,o]),p=r!==void 0;return[p?r:l,p?o:d]}function i5(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function NF(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(u5).reduce(function(M,j){var q;return oe({},M,(q={},q[j]=M[j]!==void 0?M[j]:u5[j],q))},e),l=s.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),i=oe({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||l}),u=s.useState(null),d=u[0],p=u[1],m=s.useState(null),h=m[0],f=m[1],v=PF({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),g=v[0],C=v[1],b=s.useRef();s.useEffect(function(){return function(){return clearTimeout(b.current)}},[]);var y=MF(a.followCursor?s5:d,h,i),E=y.styles,x=y.attributes,D=t1(y,jF),S=D.update,k=by({visible:g,triggerRef:d,tooltipRef:h,finalConfig:a}),A=s.useCallback(function(M){return Array.isArray(a.trigger)?a.trigger.includes(M):a.trigger===M},Array.isArray(a.trigger)?a.trigger:[a.trigger]),_=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!1)},a.delayHide)},[a.delayHide,C]),R=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!0)},a.delayShow)},[a.delayShow,C]),z=s.useCallback(function(){k().visible?_():R()},[k,_,R]);s.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var M=c(function(j){var q,B=k(),P=B.tooltipRef,H=B.triggerRef,G=(j.composedPath==null||(q=j.composedPath())==null?void 0:q[0])||j.target;G instanceof Node&&P!=null&&H!=null&&!P.contains(G)&&!H.contains(G)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[k,_]),s.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",z),function(){return d.removeEventListener("click",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",z),function(){return d.removeEventListener("dblclick",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("right-click"))){var M=c(function(j){j.preventDefault(),z()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),s.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),s.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",R),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",R),h.removeEventListener("mouseleave",_)}},[h,A,R,_,k]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;s.useEffect(function(){a.closeOnTriggerHidden&&L&&_()},[a.closeOnTriggerHidden,_,L]),s.useEffect(function(){if(!a.followCursor||d==null)return;function M(j){var q=j.clientX,B=j.clientY;s5.getBoundingClientRect=i5(q,B),S==null||S()}return c(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[a.followCursor,d,S]),s.useEffect(function(){if(!(h==null||S==null||a.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(h,a.mutationObserverOptions),function(){return M.disconnect()}}},[a.mutationObserverOptions,h,S]);var $=c(function(M){return M===void 0&&(M={}),oe({},M,{style:oe({},M.style,E.popper)},x.popper,{"data-popper-interactive":a.interactive})},"getTooltipProps"),N=c(function(M){return M===void 0&&(M={}),oe({},M,x.arrow,{style:oe({},M.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return oe({getArrowProps:N,getTooltipProps:$,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},D)}var HF,jF,s5,u5,NP=T(()=>{rv(),wr(),PP(),c(by,"useGetLatest"),HF=c(function(){},"noop"),c(PF,"useControlledState"),c(i5,"generateBoundingClientRect"),jF=["styles","attributes"],s5={getBoundingClientRect:i5()},u5={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(NF,"usePopperTooltip")}),W8,Dt,on,q8,G8,c5,HP=T(()=>{W8=We(e1(),1),Dt=(0,W8.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),on=8,q8=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Dt("top",r,`${on*-1}px`,"auto")}`,top:`${Dt("bottom",r,`${on*-1}px`,"auto")}`,right:`${Dt("left",r,`${on*-1}px`,"auto")}`,left:`${Dt("right",r,`${on*-1}px`,"auto")}`,borderBottomWidth:`${Dt("top",r,"0",on)}px`,borderTopWidth:`${Dt("bottom",r,"0",on)}px`,borderRightWidth:`${Dt("left",r,"0",on)}px`,borderLeftWidth:`${Dt("right",r,"0",on)}px`,borderTopColor:Dt("top",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderBottomColor:Dt("bottom",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderLeftColor:Dt("left",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderRightColor:Dt("right",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent")})),G8=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),c5=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:o,color:a,withArrows:l,...i},u)=>w.createElement(G8,{"data-testid":"tooltip",hasChrome:t,ref:u,...i,color:a},t&&l&&w.createElement(q8,{placement:e,...n,color:a}),r)),c5.displayName="Tooltip"}),Ey={};Ql(Ey,{WithToolTipState:()=>Ed,WithTooltip:()=>Ed,WithTooltipPure:()=>d5});var Li,K8,Y8,d5,Ed,xy=T(()=>{tv(),NP(),HP(),{document:Li}=Qd,K8=F.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Y8=F.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,d5=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:a=!0,defaultVisible:l=!1,withArrows:i,offset:u,tooltip:d,children:p,closeOnTriggerHidden:m,mutationObserverOptions:h,delayHide:f,visible:v,interactive:g,delayShow:C,strategy:b,followCursor:y,onVisibleChange:E,...x})=>{let D=e?Y8:K8,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:R,state:z}=NF({trigger:t,placement:n,defaultVisible:l,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:E,delayShow:C,followCursor:y,mutationObserverOptions:h,visible:v,offset:u},{modifiers:o,strategy:b}),L=w.createElement(c5,{placement:z==null?void 0:z.placement,ref:A,hasChrome:a,arrowProps:S(),withArrows:i,...k()},typeof d=="function"?d({onHide:c(()=>E(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:_,...x},p),R&&lD.createPortal(L,Li.body))},"WithTooltipPure"),Ed=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=s.useState(e),a=s.useCallback(l=>{t&&t(l)===!1||o(l)},[t]);return s.useEffect(()=>{let l=c(()=>a(!1),"hide");Li.addEventListener("keydown",l,!1);let i=Array.from(Li.getElementsByTagName("iframe")),u=[];return i.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{Li.removeEventListener("keydown",l),u.forEach(d=>{d()})}}),w.createElement(d5,{...r,visible:n,onVisibleChange:a})},"WithToolTipState")}),ge=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");wr();VO();ev();function VF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$l(e,t)}c(VF,"_inheritsLoose");UO();ev();function UF(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(UF,"_isNativeFunction");function Cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cy=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Cy,"_isNativeReflectConstruct");ev();function WF(e,t,r){if(Cy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&$l(o,r.prototype),o}c(WF,"_construct");function xd(e){var t=typeof Map=="function"?new Map:void 0;return xd=c(function(r){if(r===null||!UF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return WF(r,arguments,V0(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$l(n,r)},"_wrapNativeSuper"),xd(e)}c(xd,"_wrapNativeSuper");var jP={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function qF(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}c(Vl,"hslToRgb");var Z8={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function KF(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Z8[t]?"#"+Z8[t]:e}c(KF,"nameToHex");var VP=/^#[a-fA-F0-9]{6}$/,UP=/^#[a-fA-F0-9]{8}$/,WP=/^#[a-fA-F0-9]{3}$/,qP=/^#[a-fA-F0-9]{4}$/,Lh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,GP=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,KP=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,YP=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I1(e){if(typeof e!="string")throw new Pr(3);var t=KF(e);if(t.match(VP))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(UP)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(WP))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(qP)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Lh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=GP.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=KP.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Vl(i,u,d)+")",m=Lh.exec(p);if(!m)throw new Pr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=YP.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Vl(f,v,g)+")",b=Lh.exec(C);if(!b)throw new Pr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Pr(5)}c(I1,"parseToRgb");function YF(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Qs(e,t,r):"rgba("+Vl(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Qs(e.hue,e.saturation,e.lightness):"rgba("+Vl(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pr(2)}c(JF,"hsla");function Cd(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return p5("#"+Pn(e)+Pn(t)+Pn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return p5("#"+Pn(e.red)+Pn(e.green)+Pn(e.blue));throw new Pr(6)}c(Cd,"rgb");function eu(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=I1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Cd(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cd(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pr(7)}c(eu,"rgba");var XP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),JP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),QP=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),eN=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Sy(e){if(typeof e!="object")throw new Pr(8);if(JP(e))return eu(e);if(XP(e))return Cd(e);if(eN(e))return JF(e);if(QP(e))return XF(e);throw new Pr(8)}c(Sy,"toColorString");function ky(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ky(e,t,n)},"fn")}c(ky,"curried");function z1(e){return ky(e,e.length,[])}c(z1,"curry");function T1(e,t,r){return Math.max(e,Math.min(t,r))}c(T1,"guard");function QF(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness-parseFloat(e))}))}c(QF,"darken");var tN=z1(QF),nl=tN;function eR(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness+parseFloat(e))}))}c(eR,"lighten");var rN=z1(eR),X8=rN;function tR(e,t){if(t==="transparent")return t;var r=I1(t),n=typeof r.alpha=="number"?r.alpha:1,o=oe({},r,{alpha:T1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return eu(o)}c(tR,"transparentize");var nN=z1(tR),Nt=nN,ai=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),yo=c(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Nt(.1,e.color.defaultText):Nt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),Ee=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),wa={margin:"16px 0"},Ay=F.div(Ee),oN=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:r,target:n,...t})},"Link"),aN=F(oN)(Ee,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),lN=F.blockquote(Ee,wa,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));n1();var iN=c(e=>typeof e=="string","isReactChildString"),sN=/[\n\r]/g,uN=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),yo),cN=F(gs)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rR=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=s.Children.toArray(t);return o.filter(iN).some(a=>a.match(sN))?w.createElement(cN,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):w.createElement(uN,{...r,className:e},o)},"Code"),dN=F.dl(Ee,wa,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),pN=F.div(Ee),fN=F.h1(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),nR=F.h2(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),oR=F.h3(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),hN=F.h4(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),mN=F.h5(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),gN=F.h6(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),vN=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),yN=F.img({maxWidth:"100%"}),wN=F.li(Ee,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":yo({theme:e})})),bN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},EN=F.ol(Ee,wa,bN,{listStyle:"decimal"}),xN=F.p(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":yo({theme:e})})),CN=F.pre(Ee,wa,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),DN=F.span(Ee,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),SN=F.title(yo),kN=F.table(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),AN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},_N=F.ul(Ee,wa,AN,{listStyle:"disc"}),aR={h1:c(e=>w.createElement(fN,{...ge(e,"h1")}),"h1"),h2:c(e=>w.createElement(nR,{...ge(e,"h2")}),"h2"),h3:c(e=>w.createElement(oR,{...ge(e,"h3")}),"h3"),h4:c(e=>w.createElement(hN,{...ge(e,"h4")}),"h4"),h5:c(e=>w.createElement(mN,{...ge(e,"h5")}),"h5"),h6:c(e=>w.createElement(gN,{...ge(e,"h6")}),"h6"),pre:c(e=>w.createElement(CN,{...ge(e,"pre")}),"pre"),a:c(e=>w.createElement(aN,{...ge(e,"a")}),"a"),hr:c(e=>w.createElement(vN,{...ge(e,"hr")}),"hr"),dl:c(e=>w.createElement(dN,{...ge(e,"dl")}),"dl"),blockquote:c(e=>w.createElement(lN,{...ge(e,"blockquote")}),"blockquote"),table:c(e=>w.createElement(kN,{...ge(e,"table")}),"table"),img:c(e=>w.createElement(yN,{...ge(e,"img")}),"img"),div:c(e=>w.createElement(pN,{...ge(e,"div")}),"div"),span:c(e=>w.createElement(DN,{...ge(e,"span")}),"span"),li:c(e=>w.createElement(wN,{...ge(e,"li")}),"li"),ul:c(e=>w.createElement(_N,{...ge(e,"ul")}),"ul"),ol:c(e=>w.createElement(EN,{...ge(e,"ol")}),"ol"),p:c(e=>w.createElement(xN,{...ge(e,"p")}),"p"),code:c(e=>w.createElement(rR,{...ge(e,"code")}),"code"),tt:c(e=>w.createElement(SN,{...ge(e,"tt")}),"tt"),resetwrapper:c(e=>w.createElement(Ay,{...ge(e,"resetwrapper")}),"resetwrapper")},FN=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.positiveText)}`:"none"};default:return{}}}),nre=c(({...e})=>w.createElement(FN,{...e}),"Badge"),lR={};Ql(lR,{AccessibilityAltIcon:()=>ZU,AccessibilityIcon:()=>YU,AddIcon:()=>Wj,AdminIcon:()=>PU,AlertAltIcon:()=>wV,AlertIcon:()=>yV,AlignLeftIcon:()=>xH,AlignRightIcon:()=>CH,AppleIcon:()=>jH,ArrowBottomLeftIcon:()=>dU,ArrowBottomRightIcon:()=>pU,ArrowDownIcon:()=>lU,ArrowLeftIcon:()=>iU,ArrowRightIcon:()=>sU,ArrowSolidDownIcon:()=>hU,ArrowSolidLeftIcon:()=>mU,ArrowSolidRightIcon:()=>gU,ArrowSolidUpIcon:()=>fU,ArrowTopLeftIcon:()=>uU,ArrowTopRightIcon:()=>cU,ArrowUpIcon:()=>aU,AzureDevOpsIcon:()=>KH,BackIcon:()=>_U,BasketIcon:()=>jV,BatchAcceptIcon:()=>Mj,BatchDenyIcon:()=>Oj,BeakerIcon:()=>VV,BellIcon:()=>DV,BitbucketIcon:()=>YH,BoldIcon:()=>RH,BookIcon:()=>fH,BookmarkHollowIcon:()=>IV,BookmarkIcon:()=>zV,BottomBarIcon:()=>Ej,BottomBarToggleIcon:()=>xj,BoxIcon:()=>Aj,BranchIcon:()=>PH,BrowserIcon:()=>fj,ButtonIcon:()=>uV,CPUIcon:()=>Cj,CalendarIcon:()=>bH,CameraIcon:()=>XN,CategoryIcon:()=>gH,CertificateIcon:()=>MV,ChangedIcon:()=>Zj,ChatIcon:()=>nV,CheckIcon:()=>Lj,ChevronDownIcon:()=>QV,ChevronLeftIcon:()=>eU,ChevronRightIcon:()=>uR,ChevronSmallDownIcon:()=>rU,ChevronSmallLeftIcon:()=>nU,ChevronSmallRightIcon:()=>oU,ChevronSmallUpIcon:()=>tU,ChevronUpIcon:()=>JV,ChromaticIcon:()=>ZH,ChromeIcon:()=>qH,CircleHollowIcon:()=>FV,CircleIcon:()=>RV,ClearIcon:()=>Jj,CloseAltIcon:()=>Hj,CloseIcon:()=>Gj,CloudHollowIcon:()=>qV,CloudIcon:()=>GV,CogIcon:()=>Rj,CollapseIcon:()=>yU,CommandIcon:()=>fV,CommentAddIcon:()=>eV,CommentIcon:()=>Qj,CommentsIcon:()=>rV,CommitIcon:()=>MH,CompassIcon:()=>zU,ComponentDrivenIcon:()=>XH,ComponentIcon:()=>zN,ContrastIcon:()=>UN,ControlsIcon:()=>Pj,CopyIcon:()=>mH,CreditIcon:()=>sV,CrossIcon:()=>sR,DashboardIcon:()=>$U,DatabaseIcon:()=>Dj,DeleteIcon:()=>Kj,DiamondIcon:()=>TV,DirectionIcon:()=>NU,DiscordIcon:()=>JH,DocChartIcon:()=>SH,DocListIcon:()=>kH,DocumentIcon:()=>hH,DownloadIcon:()=>AU,DragIcon:()=>AH,EditIcon:()=>Fj,EllipsisIcon:()=>Tj,EmailIcon:()=>bV,ExpandAltIcon:()=>vU,ExpandIcon:()=>wU,EyeCloseIcon:()=>jN,EyeIcon:()=>HN,FaceHappyIcon:()=>qU,FaceNeutralIcon:()=>GU,FaceSadIcon:()=>KU,FacebookIcon:()=>QH,FailedIcon:()=>Xj,FastForwardIcon:()=>oH,FigmaIcon:()=>ej,FilterIcon:()=>DH,FlagIcon:()=>WV,FolderIcon:()=>vH,FormIcon:()=>$j,GDriveIcon:()=>tj,GithubIcon:()=>rj,GitlabIcon:()=>nj,GlobeIcon:()=>IU,GoogleIcon:()=>oj,GraphBarIcon:()=>EH,GraphLineIcon:()=>wH,GraphqlIcon:()=>aj,GridAltIcon:()=>$N,GridIcon:()=>TN,GrowIcon:()=>GN,HeartHollowIcon:()=>BV,HeartIcon:()=>LV,HomeIcon:()=>MU,HourglassIcon:()=>UV,InfoIcon:()=>mV,ItalicIcon:()=>IH,JumpToIcon:()=>_V,KeyIcon:()=>lV,LightningIcon:()=>VN,LightningOffIcon:()=>iR,LinkBrokenIcon:()=>CV,LinkIcon:()=>xV,LinkedinIcon:()=>dj,LinuxIcon:()=>VH,ListOrderedIcon:()=>TH,ListUnorderedIcon:()=>BH,LocationIcon:()=>TU,LockIcon:()=>oV,MarkdownIcon:()=>$H,MarkupIcon:()=>FH,MediumIcon:()=>lj,MemoryIcon:()=>Sj,MenuIcon:()=>_H,MergeIcon:()=>HH,MirrorIcon:()=>qN,MobileIcon:()=>mj,MoonIcon:()=>pH,NutIcon:()=>Ij,OutboxIcon:()=>iV,OutlineIcon:()=>BN,PaintBrushIcon:()=>KN,PaperClipIcon:()=>zH,ParagraphIcon:()=>LH,PassedIcon:()=>Yj,PhoneIcon:()=>EV,PhotoDragIcon:()=>LN,PhotoIcon:()=>IN,PinAltIcon:()=>Vj,PinIcon:()=>BU,PlayAllHollowIcon:()=>sH,PlayBackIcon:()=>tH,PlayHollowIcon:()=>iH,PlayIcon:()=>eH,PlayNextIcon:()=>rH,PlusIcon:()=>Nj,PointerDefaultIcon:()=>dV,PointerHandIcon:()=>pV,PowerIcon:()=>_j,PrintIcon:()=>yH,ProceedIcon:()=>FU,ProfileIcon:()=>WU,PullRequestIcon:()=>NH,QuestionIcon:()=>gV,RSSIcon:()=>SV,RedirectIcon:()=>xU,ReduxIcon:()=>ij,RefreshIcon:()=>RU,ReplyIcon:()=>DU,RepoIcon:()=>OH,RequestChangeIcon:()=>tV,RewindIcon:()=>nH,RulerIcon:()=>YN,SaveIcon:()=>hV,SearchIcon:()=>ON,ShareAltIcon:()=>kV,ShareIcon:()=>AV,ShieldIcon:()=>HV,SideBySideIcon:()=>uH,SidebarAltIcon:()=>yj,SidebarAltToggleIcon:()=>wj,SidebarIcon:()=>vj,SidebarToggleIcon:()=>bj,SpeakerIcon:()=>QN,StackedIcon:()=>cH,StarHollowIcon:()=>$V,StarIcon:()=>OV,StatusFailIcon:()=>YV,StatusPassIcon:()=>XV,StatusWarnIcon:()=>ZV,StickerIcon:()=>KV,StopAltHollowIcon:()=>lH,StopAltIcon:()=>aH,StopIcon:()=>ZN,StorybookIcon:()=>GH,StructureIcon:()=>kj,SubtractIcon:()=>qj,SunIcon:()=>dH,SupportIcon:()=>vV,SwitchAltIcon:()=>WN,SyncIcon:()=>SU,TabletIcon:()=>hj,ThumbsUpIcon:()=>NV,TimeIcon:()=>LU,TimerIcon:()=>OU,TransferIcon:()=>EU,TrashIcon:()=>jj,TwitterIcon:()=>sj,TypeIcon:()=>cV,UbuntuIcon:()=>UH,UndoIcon:()=>CU,UnfoldIcon:()=>bU,UnlockIcon:()=>aV,UnpinIcon:()=>Uj,UploadIcon:()=>kU,UserAddIcon:()=>VU,UserAltIcon:()=>jU,UserIcon:()=>HU,UsersIcon:()=>UU,VSCodeIcon:()=>cj,VerifiedIcon:()=>PV,VideoIcon:()=>JN,WandIcon:()=>Bj,WatchIcon:()=>gj,WindowsIcon:()=>WH,WrenchIcon:()=>zj,XIcon:()=>pj,YoutubeIcon:()=>uj,ZoomIcon:()=>MN,ZoomOutIcon:()=>PN,ZoomResetIcon:()=>NN,iconList:()=>RN});var RN=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],IN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),zN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),TN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),BN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),LN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),s.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),$N=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),ON=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),MN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),PN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),NN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),HN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),jN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),VN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),iR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),UN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),WN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),qN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),GN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),s.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),KN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),YN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),ZN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),XN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),JN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),QN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),s.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),s.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),eH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),tH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),rH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),nH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),oH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),aH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),lH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),iH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),sH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),uH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),cH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),dH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),s.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3492"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3493"},s.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),fH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),hH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),mH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),gH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),vH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),yH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),wH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),bH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),EH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),xH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),CH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),DH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),SH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),kH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),AH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),_H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),FH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),RH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),IH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),zH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),TH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),BH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),LH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),$H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),OH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),MH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),PH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),NH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),jH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),VH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),UH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},s.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3497"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),WH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),qH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3496"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),GH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),KH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},s.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3503"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),YH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),ZH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),XH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),JH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),QH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),Ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),Cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),Dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),Sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),Aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),_j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),s.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),Fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),Lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),$j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),Oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),Nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),Hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),sR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),Vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3502"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},s.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3501"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),Yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),Zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),Xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),Jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),Qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),eV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),tV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),rV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),nV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),oV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),aV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},s.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3614"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),iV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),s.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),sV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),uV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),s.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),cV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),dV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),pV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),fV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),hV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),mV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),gV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),yV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),wV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),bV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),EV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),xV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),CV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),DV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),SV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),kV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),AV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),_V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),s.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),FV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),RV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),IV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),zV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),TV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1449_588"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),BV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),LV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),$V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),OV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),MV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),PV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),NV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),jV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),s.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),s.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),VV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),UV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),WV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),qV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),GV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),KV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),YV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),ZV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),XV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),JV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),QV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),eU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),uR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),tU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),rU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),nU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),oU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),aU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),lU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),iU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),sU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),uU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),cU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),dU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),pU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),fU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),hU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),mU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),gU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),vU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),yU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),wU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),bU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),s.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),s.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),EU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),xU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),CU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),DU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),SU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),kU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),AU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),_U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),FU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),RU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),IU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),zU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),TU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),BU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),LU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),$U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),OU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),MU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),PU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),s.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),NU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},s.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3594"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),HU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),jU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),VU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),UU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),s.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),WU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),qU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),KU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),YU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),s.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ZU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),XU=0,JU=c(e=>e.button===XU&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),QU=c((e,t)=>{JU(e)&&(e.preventDefault(),t(e))},"cancelled"),eW=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),tW=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:nl(.07,e.color.secondary),"svg path:not([fill])":{fill:nl(.07,e.color.secondary)}},"&:active":{color:nl(.1,e.color.secondary),"svg path:not([fill])":{fill:nl(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),bl=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...i})=>w.createElement(tW,{...i,onClick:r&&e?u=>QU(u,r):r,className:a},w.createElement(eW,{withArrow:n,containsIcon:o},t,n&&w.createElement(uR,null))),"Link"),ore=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),Zo=[],Ul=null,rW=s.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(n1(),fv));return Zo.length>0&&(Zo.forEach(t=>{e.registerLanguage(...t)}),Zo=[]),Ul===null&&(Ul=e),{default:c(t=>w.createElement(e,{...t}),"default")}}),nW=s.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(n1(),fv)),Promise.resolve().then(()=>(sP(),N_))]);return Zo.length>0&&(Zo.forEach(r=>{e.registerLanguage(...r)}),Zo=[]),Ul===null&&(Ul=e),{default:c(r=>w.createElement(e,{...r,formatter:t}),"default")}}),_y=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(nW,{...e}):w.createElement(rW,{...e})),"SyntaxHighlighter");_y.registerLanguage=(...e)=>{if(Ul!==null){Ul.registerLanguage(...e);return}Zo.push(e)};n1();tS();var cR={};Ql(cR,{Close:()=>EI,Content:()=>yI,Description:()=>bI,Dialog:()=>nI,DialogClose:()=>hI,DialogContent:()=>uI,DialogDescription:()=>fI,DialogOverlay:()=>sI,DialogPortal:()=>iI,DialogTitle:()=>pI,DialogTrigger:()=>oI,Overlay:()=>vI,Portal:()=>gI,Root:()=>mI,Title:()=>wI,Trigger:()=>QW,WarningProvider:()=>JW,createDialogScope:()=>jW});wr();function gn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(gn,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function dR(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(dR,"$6ed0406888f73fc4$var$setRef");function B1(...e){return t=>e.forEach(r=>dR(r,t))}c(B1,"$6ed0406888f73fc4$export$43e446d32b3d21af");function ba(...e){return s.useCallback(B1(...e),e)}c(ba,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function pR(e,t){let r=s.createContext(t);function n(a){let{children:l,...i}=a,u=s.useMemo(()=>i,Object.values(i));return s.createElement(r.Provider,{value:u},l)}c(n,"Provider");function o(a){let l=s.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return c(o,"useContext"),n.displayName=e+"Provider",[n,o]}c(pR,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function fR(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return s.createElement(g.Provider,{value:C},f)}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext"),d.displayName=a+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,hR(o,...t)]}c(fR,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function hR(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(hR,"$c512c27ab02ef895$var$composeContextScopes");var f5=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},oW=s.useId||(()=>{}),aW=0;function l0(e){let[t,r]=s.useState(oW());return f5(()=>{e||r(n=>n??String(aW++))},[e]),e||(t?`radix-${t}`:"")}c(l0,"$1746a345f3d73bb7$export$f680877a34711e37");function co(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(co,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function mR({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,o]=gR({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:n,i=co(r),u=s.useCallback(d=>{if(a){let p=typeof d=="function"?d(e):d;p!==e&&i(p)}else o(d)},[a,e,o,i]);return[l,u]}c(mR,"$71cd76cc60e0454e$export$6f32135080cb4c3");function gR({defaultProp:e,onChange:t}){let r=s.useState(e),[n]=r,o=s.useRef(n),a=co(t);return s.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}c(gR,"$71cd76cc60e0454e$var$useUncontrolledState");wr();wr();wr();var vR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(yR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(h5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(h5,oe({},n,{ref:t}),r)});vR.displayName="Slot";var h5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...wR(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});h5.displayName="SlotClone";var lW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function yR(e){return s.isValidElement(e)&&e.type===lW}c(yR,"$5e63c961fc1ce211$var$isSlottable");function wR(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(wR,"$5e63c961fc1ce211$var$mergeProps");var iW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wo=iW.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?vR:t;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(i,oe({},l,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bR(e,t){e&&fu.flushSync(()=>e.dispatchEvent(t))}c(bR,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function ER(e,t=globalThis==null?void 0:globalThis.document){let r=co(e);s.useEffect(()=>{let n=c(o=>{o.key==="Escape"&&r(o)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(ER,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var m5="dismissableLayer.update",sW="dismissableLayer.pointerDownOutside",uW="dismissableLayer.focusOutside",J8,cW=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dW=s.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:i,onDismiss:u,...d}=e,p=s.useContext(cW),[m,h]=s.useState(null),f=(r=m==null?void 0:m.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=s.useState({}),g=ba(t,A=>h(A)),C=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),y=C.indexOf(b),E=m?C.indexOf(m):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,D=E>=y,S=xR(A=>{let _=A.target,R=[...p.branches].some(z=>z.contains(_));!D||R||(a==null||a(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f),k=CR(A=>{let _=A.target;[...p.branches].some(R=>R.contains(_))||(l==null||l(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f);return ER(A=>{E===p.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&u&&(A.preventDefault(),u()))},f),s.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(J8=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),g5(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=J8)}},[m,f,n,p]),s.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),g5())},[m,p]),s.useEffect(()=>{let A=c(()=>v({}),"handleUpdate");return document.addEventListener(m5,A),()=>document.removeEventListener(m5,A)},[]),s.createElement(wo.div,oe({},d,{ref:g,style:{pointerEvents:x?D?"auto":"none":void 0,...e.style},onFocusCapture:gn(e.onFocusCapture,k.onFocusCapture),onBlurCapture:gn(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:gn(e.onPointerDownCapture,S.onPointerDownCapture)}))});function xR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{let a=c(i=>{if(i.target&&!n.current){let u=function(){Fy(sW,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(xR,"$5cb92bef7577960e$var$usePointerDownOutside");function CR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1);return s.useEffect(()=>{let o=c(a=>{a.target&&!n.current&&Fy(uW,r,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(CR,"$5cb92bef7577960e$var$useFocusOutside");function g5(){let e=new CustomEvent(m5);document.dispatchEvent(e)}c(g5,"$5cb92bef7577960e$var$dispatchUpdate");function Fy(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?bR(o,a):o.dispatchEvent(a)}c(Fy,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");wr();var $h="focusScope.autoFocusOnMount",Oh="focusScope.autoFocusOnUnmount",Q8={bubbles:!1,cancelable:!0},pW=s.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...l}=e,[i,u]=s.useState(null),d=co(o),p=co(a),m=s.useRef(null),h=ba(t,g=>u(g)),f=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(n){let g=function(E){if(f.paused||!i)return;let x=E.target;i.contains(x)?m.current=x:un(m.current,{select:!0})},C=function(E){if(f.paused||!i)return;let x=E.relatedTarget;x!==null&&(i.contains(x)||un(m.current,{select:!0}))},b=function(E){if(document.activeElement===document.body)for(let x of E)x.removedNodes.length>0&&un(i)};c(g,"handleFocusIn"),c(C,"handleFocusOut"),c(b,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",C);let y=new MutationObserver(b);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),y.disconnect()}}},[n,i,f.paused]),s.useEffect(()=>{if(i){eE.add(f);let g=document.activeElement;if(!i.contains(g)){let C=new CustomEvent($h,Q8);i.addEventListener($h,d),i.dispatchEvent(C),C.defaultPrevented||(DR(FR(Ry(i)),{select:!0}),document.activeElement===g&&un(i))}return()=>{i.removeEventListener($h,d),setTimeout(()=>{let C=new CustomEvent(Oh,Q8);i.addEventListener(Oh,p),i.dispatchEvent(C),C.defaultPrevented||un(g??document.body,{select:!0}),i.removeEventListener(Oh,p),eE.remove(f)},0)}}},[i,d,p,f]);let v=s.useCallback(g=>{if(!r&&!n||f.paused)return;let C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(C&&b){let y=g.currentTarget,[E,x]=SR(y);E&&x?!g.shiftKey&&b===x?(g.preventDefault(),r&&un(E,{select:!0})):g.shiftKey&&b===E&&(g.preventDefault(),r&&un(x,{select:!0})):b===y&&g.preventDefault()}},[r,n,f.paused]);return s.createElement(wo.div,oe({tabIndex:-1},l,{ref:h,onKeyDown:v}))});function DR(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(un(n,{select:t}),document.activeElement!==r)return}c(DR,"$d3863c46a17e8a28$var$focusFirst");function SR(e){let t=Ry(e),r=v5(t,e),n=v5(t.reverse(),e);return[r,n]}c(SR,"$d3863c46a17e8a28$var$getTabbableEdges");function Ry(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(Ry,"$d3863c46a17e8a28$var$getTabbableCandidates");function v5(e,t){for(let r of e)if(!kR(r,{upTo:t}))return r}c(v5,"$d3863c46a17e8a28$var$findVisible");function kR(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(kR,"$d3863c46a17e8a28$var$isHidden");function AR(e){return e instanceof HTMLInputElement&&"select"in e}c(AR,"$d3863c46a17e8a28$var$isSelectableInput");function un(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&AR(e)&&t&&e.select()}}c(un,"$d3863c46a17e8a28$var$focus");var eE=_R();function _R(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=y5(e,t),e.unshift(t)},remove(t){var r;e=y5(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(_R,"$d3863c46a17e8a28$var$createFocusScopesStack");function y5(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(y5,"$d3863c46a17e8a28$var$arrayRemove");function FR(e){return e.filter(t=>t.tagName!=="A")}c(FR,"$d3863c46a17e8a28$var$removeLinks");wr();var fW=s.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?lD.createPortal(s.createElement(wo.div,oe({},o,{ref:t})),n):null});function RR(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}c(RR,"$fe963b355347cc68$export$3e6543de14f8614f");var L1=c(e=>{let{present:t,children:r}=e,n=IR(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=ba(n.ref,o.ref);return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");L1.displayName="Presence";function IR(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=RR(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=ts(n.current);a.current=i==="mounted"?d:"none"},[i]),f5(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=ts(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),f5(()=>{if(t){let d=c(m=>{let h=ts(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=ts(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(IR,"$921a889cee6df7e8$var$usePresence");function ts(e){return(e==null?void 0:e.animationName)||"none"}c(ts,"$921a889cee6df7e8$var$getAnimationName");var Mh=0;function zR(){s.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:w5()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:w5()),Mh++,()=>{Mh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Mh--}},[])}c(zR,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function w5(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(w5,"$3db38b7d1fb3fe6a$var$createFocusGuard");var $r=c(function(){return $r=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return wW;var t=bW(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),xW=WR(),Dd="data-scroll-locked",CW=c(function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return r===void 0&&(r="margin"),` - .`.concat(hW,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(i,"px ").concat(n,`; - } - body[`).concat(Dd,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(o,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(l,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(i,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(i0,` { - right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(s0,` { - margin-right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(i0," .").concat(i0,` { - right: 0 `).concat(n,`; - } - - .`).concat(s0," .").concat(s0,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(Dd,`] { - `).concat(mW,": ").concat(i,`px; - } -`)},"getStyles"),DW=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=s.useMemo(function(){return EW(o)},[o]);return s.useEffect(function(){return document.body.setAttribute(Dd,""),function(){document.body.removeAttribute(Dd)}},[]),s.createElement(xW,{styles:CW(a,!t,o,r?"":"!important")})},"RemoveScrollBar"),b5=!1;if(typeof window<"u")try{$i=Object.defineProperty({},"passive",{get:c(function(){return b5=!0,!0},"get")}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{b5=!1}var $i,Ia=b5?{}:!1,SW=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),qR=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!SW(e)&&r[t]==="visible")},"elementCanBeScrolled"),kW=c(function(e){return qR(e,"overflowY")},"elementCouldBeVScrolled"),AW=c(function(e){return qR(e,"overflowX")},"elementCouldBeHScrolled"),rE=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=GR(e,r);if(n){var o=KR(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),_W=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),FW=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),GR=c(function(e,t){return e==="v"?kW(t):AW(t)},"elementCouldBeScrolled"),KR=c(function(e,t){return e==="v"?_W(t):FW(t)},"getScrollVariables"),RW=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),IW=c(function(e,t,r,n,o){var a=RW(e,window.getComputedStyle(t).direction),l=a*n,i=r.target,u=t.contains(i),d=!1,p=l>0,m=0,h=0;do{var f=KR(e,i),v=f[0],g=f[1],C=f[2],b=g-C-a*v;(v||b)&&GR(e,i)&&(m+=b,h+=v),i=i.parentNode}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(p&&(o&&m===0||!o&&l>m)||!p&&(o&&h===0||!o&&-l>h))&&(d=!0),d},"handleScroll"),Dc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),nE=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),oE=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),zW=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),TW=c(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),BW=0,za=[];function YR(e){var t=s.useRef([]),r=s.useRef([0,0]),n=s.useRef(),o=s.useState(BW++)[0],a=s.useState(function(){return WR()})[0],l=s.useRef(e);s.useEffect(function(){l.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=TR([e.lockRef.current],(e.shards||[]).map(oE),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=s.useCallback(function(g,C){if("touches"in g&&g.touches.length===2)return!l.current.allowPinchZoom;var b=Dc(g),y=r.current,E="deltaX"in g?g.deltaX:y[0]-b[0],x="deltaY"in g?g.deltaY:y[1]-b[1],D,S=g.target,k=Math.abs(E)>Math.abs(x)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=rE(k,S);if(!A)return!0;if(A?D=k:(D=k==="v"?"h":"v",A=rE(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||x)&&(n.current=D),!D)return!0;var _=n.current||D;return IW(_,C,g,_==="h"?E:x,!0)},[]),u=s.useCallback(function(g){var C=g;if(!(!za.length||za[za.length-1]!==a)){var b="deltaY"in C?nE(C):Dc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&zW(D.delta,b)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var E=(l.current.shards||[]).map(oE).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=E.length>0?i(C,E[0]):!l.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=s.useCallback(function(g,C,b,y){var E={name:g,delta:C,target:b,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(x){return x!==E})},1)},[]),p=s.useCallback(function(g){r.current=Dc(g),n.current=void 0},[]),m=s.useCallback(function(g){d(g.type,nE(g),g.target,i(g,e.lockRef.current))},[]),h=s.useCallback(function(g){d(g.type,Dc(g),g.target,i(g,e.lockRef.current))},[]);s.useEffect(function(){return za.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Ia),document.addEventListener("touchmove",u,Ia),document.addEventListener("touchstart",p,Ia),function(){za=za.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,Ia),document.removeEventListener("touchmove",u,Ia),document.removeEventListener("touchstart",p,Ia)}},[]);var f=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(a,{styles:TW(o)}):null,f?s.createElement(DW,{gapMode:"margin"}):null)}c(YR,"RemoveScrollSideCar");var LW=NR(HR,YR),ZR=s.forwardRef(function(e,t){return s.createElement($1,$r({},e,{ref:t,sideCar:LW}))});ZR.classNames=$1.classNames;var $W=ZR,OW=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Ta=new WeakMap,Sc=new WeakMap,kc={},Hh=0,XR=c(function(e){return e&&(e.host||XR(e.parentNode))},"unwrapHost"),MW=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=XR(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),PW=c(function(e,t,r,n){var o=MW(t,Array.isArray(e)?e:[e]);kc[r]||(kc[r]=new WeakMap);var a=kc[r],l=[],i=new Set,u=new Set(o),d=c(function(m){!m||i.has(m)||(i.add(m),d(m.parentNode))},"keep");o.forEach(d);var p=c(function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(h){if(i.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(Ta.get(h)||0)+1,C=(a.get(h)||0)+1;Ta.set(h,g),a.set(h,C),l.push(h),g===1&&v&&Sc.set(h,!0),C===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),i.clear(),Hh++,function(){l.forEach(function(m){var h=Ta.get(m)-1,f=a.get(m)-1;Ta.set(m,h),a.set(m,f),h||(Sc.has(m)||m.removeAttribute(n),Sc.delete(m)),f||m.removeAttribute(r)}),Hh--,Hh||(Ta=new WeakMap,Ta=new WeakMap,Sc=new WeakMap,kc={})}},"applyAttributeToOthers"),NW=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||OW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),PW(n,o,r,"aria-hidden")):function(){return null}},"hideOthers");wr();var JR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(QR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(E5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(E5,oe({},n,{ref:t}),r)});JR.displayName="Slot";var E5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...eI(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});E5.displayName="SlotClone";var HW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function QR(e){return s.isValidElement(e)&&e.type===HW}c(QR,"$5e63c961fc1ce211$var$isSlottable");function eI(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(eI,"$5e63c961fc1ce211$var$mergeProps");var tI="Dialog",[rI,jW]=fR(tI),[VW,Er]=rI(tI),nI=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,i=s.useRef(null),u=s.useRef(null),[d=!1,p]=mR({prop:n,defaultProp:o,onChange:a});return s.createElement(VW,{scope:t,triggerRef:i,contentRef:u,contentId:l0(),titleId:l0(),descriptionId:l0(),open:d,onOpenChange:p,onOpenToggle:s.useCallback(()=>p(m=>!m),[p]),modal:l},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),UW="DialogTrigger",oI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(UW,r),a=ba(t,o.triggerRef);return s.createElement(wo.button,oe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},n,{ref:a,onClick:gn(e.onClick,o.onOpenToggle)}))}),aI="DialogPortal",[WW,lI]=rI(aI,{forceMount:void 0}),iI=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Er(aI,t);return s.createElement(WW,{scope:t,forceMount:r},s.Children.map(n,l=>s.createElement(L1,{present:r||a.open},s.createElement(fW,{asChild:!0,container:o},l))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),x5="DialogOverlay",sI=s.forwardRef((e,t)=>{let r=lI(x5,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(x5,e.__scopeDialog);return a.modal?s.createElement(L1,{present:n||a.open},s.createElement(qW,oe({},o,{ref:t}))):null}),qW=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(x5,r);return s.createElement($W,{as:JR,allowPinchZoom:!0,shards:[o.contentRef]},s.createElement(wo.div,oe({"data-state":O1(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wl="DialogContent",uI=s.forwardRef((e,t)=>{let r=lI(Wl,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(Wl,e.__scopeDialog);return s.createElement(L1,{present:n||a.open},a.modal?s.createElement(GW,oe({},o,{ref:t})):s.createElement(KW,oe({},o,{ref:t})))}),GW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(null),o=ba(t,r.contentRef,n);return s.useEffect(()=>{let a=n.current;if(a)return NW(a)},[]),s.createElement(cI,oe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gn(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),(l=r.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:gn(e.onPointerDownOutside,a=>{let l=a.detail.originalEvent,i=l.button===0&&l.ctrlKey===!0;(l.button===2||i)&&a.preventDefault()}),onFocusOutside:gn(e.onFocusOutside,a=>a.preventDefault())}))}),KW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(!1),o=s.useRef(!1);return s.createElement(cI,oe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(a=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},"onCloseAutoFocus"),onInteractOutside:c(a=>{var l,i;(l=e.onInteractOutside)===null||l===void 0||l.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let u=a.target;!((i=r.triggerRef.current)===null||i===void 0)&&i.contains(u)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()},"onInteractOutside")}))}),cI=s.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=e,i=Er(Wl,r),u=s.useRef(null),d=ba(t,u);return zR(),s.createElement(s.Fragment,null,s.createElement(pW,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},s.createElement(dW,oe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":O1(i.open)},l,{ref:d,onDismiss:c(()=>i.onOpenChange(!1),"onDismiss")}))),!1)}),dI="DialogTitle",pI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(dI,r);return s.createElement(wo.h2,oe({id:o.titleId},n,{ref:t}))}),YW="DialogDescription",fI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(YW,r);return s.createElement(wo.p,oe({id:o.descriptionId},n,{ref:t}))}),ZW="DialogClose",hI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(ZW,r);return s.createElement(wo.button,oe({type:"button"},n,{ref:t,onClick:gn(e.onClick,()=>o.onOpenChange(!1))}))});function O1(e){return e?"open":"closed"}c(O1,"$5d3850c4d0b4e6c7$var$getState");var XW="DialogTitleWarning",[JW,are]=pR(XW,{contentName:Wl,titleName:dI,docsSlug:"dialog"}),mI=nI,QW=oI,gI=iI,vI=sI,yI=uI,wI=pI,bI=fI,EI=hI,xI={};Ql(xI,{Actions:()=>sq,CloseButton:()=>kI,Col:()=>_I,Container:()=>SI,Content:()=>oq,Description:()=>iq,Error:()=>uq,ErrorWrapper:()=>FI,Header:()=>aq,Overlay:()=>DI,Row:()=>AI,Title:()=>lq});aS();const{deprecate:eq}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Ea=s.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:i,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=W0);let m=n,h=r,[f,v]=s.useState(!1),g=c(C=>{i&&i(C),t!=="none"&&v(!0)},"handleClick");if(s.useEffect(()=>{let C=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(C)},[f]),u.primary&&(m="solid",h="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(m="outline",h="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let C=w.Children.toArray(u.children).filter(b=>typeof b=="string"&&b!=="");eq(`Use of deprecated props in the button ${C.length>0?`"${C.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return w.createElement(tq,{as:p,ref:d,variant:m,size:h,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...u})});Ea.displayName="Button";var tq=F("button",{shouldForwardProp:c(e=>Y5(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:l="none",padding:i})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:i==="small"&&r==="small"?"0 7px":i==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Nt(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Nt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Nt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${eu(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?Nt(.86,e.color.secondary):e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:focus":{boxShadow:`${eu(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),Xo=s.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>w.createElement(Ea,{padding:e,variant:t,ref:n,...r}));Xo.displayName="IconButton";var CI=Cn({from:{opacity:0},to:{opacity:1}}),rq=Cn({from:{maxHeight:0},to:{}}),nq=Cn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),DI=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${CI} 200ms`}),SI=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${nq} 200ms`,"&:focus-visible":{outline:"none"}})),kI=c(e=>w.createElement(EI,{asChild:!0},w.createElement(Xo,{...e},w.createElement(sR,null))),"CloseButton"),oq=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),AI=F.div({display:"flex",justifyContent:"space-between",gap:16}),_I=F.div({display:"flex",flexDirection:"column",gap:4}),aq=c(e=>w.createElement(AI,null,w.createElement(_I,{...e}),w.createElement(kI,null)),"Header"),lq=F(wI)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),iq=F(bI)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),sq=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),FI=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${rq} 300ms, ${CI} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),uq=c(({children:e,...t})=>w.createElement(FI,{...t},w.createElement("div",null,e)),"Error");function RI({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=c(u=>u.preventDefault(),"onInteractOutside"),className:a,container:l,...i}){return w.createElement(mI,{...i},w.createElement(gI,{container:l},w.createElement(vI,{asChild:!0},w.createElement(DI,null)),w.createElement(yI,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},w.createElement(SI,{className:a,width:t,height:r},e))))}c(RI,"BaseModal");var lre=Object.assign(RI,xI,{Dialog:cR}),cq=c(e=>typeof e=="number"?e:Number(e),"toNumber"),dq=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${om}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${om}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),ire=c(({col:e,row:t,outer:r,children:n,...o})=>{let a=cq(typeof r=="number"||!r?r:e||t);return w.createElement(dq,{col:e,row:t,outer:a,...o},n)},"Spaced"),pq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),fq=F.div(),hq=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),sre=c(({children:e,...t})=>{let[r,n]=s.Children.toArray(e);return w.createElement(hq,{...t},w.createElement(pq,null,r),n&&w.createElement(fq,null,n))},"Placeholder");pv();function II(e,t){var r=s.useRef(null),n=s.useRef(null);n.current=t;var o=s.useRef(null);s.useEffect(function(){a()});var a=s.useCallback(function(){var l=o.current,i=n.current,u=l||(i?i instanceof Element?i:i.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return s.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),s.useCallback(function(l){o.current=l,a()},[a])}c(II,"useResolvedElement");function C5(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(C5,"extractSize");function zy(e){e===void 0&&(e={});var t=e.onResize,r=s.useRef(void 0);r.current=t;var n=e.round||Math.round,o=s.useRef(),a=s.useState({width:void 0,height:void 0}),l=a[0],i=a[1],u=s.useRef(!1);s.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=s.useRef({width:void 0,height:void 0}),p=II(s.useCallback(function(m){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=C5(f,v,"inlineSize"),C=C5(f,v,"blockSize"),b=g?n(g):void 0,y=C?n(C):void 0;if(d.current.width!==b||d.current.height!==y){var E={width:b,height:y};d.current.width=b,d.current.height=y,r.current?r.current(E):u.current||i(E)}})}),o.current.instance.observe(m,{box:e.box}),function(){o.current&&o.current.instance.unobserve(m)}},[e.box,n]),e.ref);return s.useMemo(function(){return{ref:p,width:l.width,height:l.height}},[p,l.width,l.height])}c(zy,"useResizeObserver");var mq=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function zI({scale:e,children:t}){let r=s.useRef(null),[n,o]=s.useState(0),a=s.useCallback(({height:l})=>{l&&o(l/e)},[e]);return s.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),zy({ref:r,onResize:a}),w.createElement(mq,{scale:e,elementHeight:n},w.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(zI,"ZoomElement");var TI=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return w.createElement(w.Fragment,null,t)}};c(TI,"ZoomIFrame");var gq=TI,vq={Element:zI,IFrame:gq};tv();var{document:yq}=Qd,wq=F.strong(({theme:e})=>({color:e.color.orange})),bq=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),aE=F.em(({theme:e})=>({color:e.textMutedColor})),Eq=/(Error): (.*)\n/,xq=/at (?:(.*) )?\(?(.+)\)?/,Cq=/([^@]+)?(?:\/<)?@(.+)?/,Dq=/([^@]+)?@(.+)?/,Sq=c(({error:e})=>{if(!e)return w.createElement(s.Fragment,null,"This error has no stack or message");if(!e.stack)return w.createElement(s.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(Eq);if(!r)return w.createElement(s.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...l]=a.map(i=>{let u=i.match(xq)||i.match(Cq)||i.match(Dq);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(yq.location.origin,"")}:null}).filter(Boolean);return w.createElement(s.Fragment,null,w.createElement("span",null,n),": ",w.createElement(wq,null,o),w.createElement("br",null),l.map((i,u)=>i!=null&&i.name?w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(bq,null,i.name)," (",w.createElement(aE,null,i.location),")",w.createElement("br",null)):w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(aE,null,i==null?void 0:i.location),w.createElement("br",null))))},"ErrorFormatter"),kq=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Aq=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),_q=c(({label:e,children:t,...r})=>w.createElement(kq,{...r},e?w.createElement(Aq,null,w.createElement("span",null,e)):null,t),"Field");wr();rv();var Fq=s.useLayoutEffect,Rq=Fq,Iq=c(function(e){var t=s.useRef(e);return Rq(function(){t.current=e}),t},"useLatest"),lE=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),zq=c(function(e,t){var r=s.useRef();return s.useCallback(function(n){e.current=n,r.current&&lE(r.current,null),r.current=t,t&&lE(t,n)},[t])},"useComposedRef"),Tq=zq,iE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Bq=c(function(e){Object.keys(iE).forEach(function(t){e.style.setProperty(t,iE[t],"important")})},"forceHiddenStyles"),sE=Bq,nt=null,uE=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function BI(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),nt||(nt=document.createElement("textarea"),nt.setAttribute("tabindex","-1"),nt.setAttribute("aria-hidden","true"),sE(nt)),nt.parentNode===null&&document.body.appendChild(nt);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,i=l.boxSizing;Object.keys(l).forEach(function(h){var f=h;nt.style[f]=l[f]}),sE(nt),nt.value=t;var u=uE(nt,e);nt.value=t,u=uE(nt,e),nt.value="x";var d=nt.scrollHeight-o,p=d*r;i==="border-box"&&(p=p+o+a),u=Math.max(p,u);var m=d*n;return i==="border-box"&&(m=m+o+a),u=Math.min(m,u),[u,d]}c(BI,"calculateNodeHeight");var cE=c(function(){},"noop"),Lq=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),$q=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Oq=!!document.documentElement.currentStyle,Mq=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Lq($q,t),n=r.boxSizing;if(n==="")return null;Oq&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},"getSizingData"),Pq=Mq;function Ty(e,t,r){var n=Iq(r);s.useLayoutEffect(function(){var o=c(function(a){return n.current(a)},"handler");if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}c(Ty,"useListener");var Nq=c(function(e){Ty(window,"resize",e)},"useWindowResizeListener"),Hq=c(function(e){Ty(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),jq=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Vq=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?cE:a,i=e.onHeightChange,u=i===void 0?cE:i,d=t1(e,jq),p=d.value!==void 0,m=s.useRef(null),h=Tq(m,t),f=s.useRef(0),v=s.useRef(),g=c(function(){var b=m.current,y=r&&v.current?v.current:Pq(b);if(y){v.current=y;var E=BI(y,b.value||b.placeholder||"x",o,n),x=E[0],D=E[1];f.current!==x&&(f.current=x,b.style.setProperty("height",x+"px","important"),u(x,{rowHeight:D}))}},"resizeTextarea"),C=c(function(b){p||g(),l(b)},"handleChange");return s.useLayoutEffect(g),Nq(g),Hq(g),s.createElement("textarea",oe({},d,{onChange:C,ref:h}))},"TextareaAutosize"),Uq=s.forwardRef(Vq),Wq={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},By=c(({theme:e})=>({...Wq,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Ly=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),LI=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),$y=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),qq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("input",{...n,ref:o})},"Input")))(By,Ly,LI,$y,{minHeight:32}),{displayName:"Input"}),Gq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("select",{...n,ref:o})},"Select")))(By,Ly,$y,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Kq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement(Uq,{...n,ref:o})},"Textarea")))(By,Ly,LI,$y,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),zu=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:_q,Input:qq,Select:Gq,Textarea:Kq,Button:Ea}),Yq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltip}))),cre=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Yq,{...e})),"WithTooltip"),Zq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltipPure}))),Xq=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Zq,{...e})),"WithTooltipPure"),Jq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Qq=F.span(),eG=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),tG=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),rG=F.div({padding:15,width:280,boxSizing:"border-box"}),dre=c(({title:e,desc:t,links:r})=>w.createElement(rG,null,w.createElement(tG,null,e&&w.createElement(Jq,null,e),t&&w.createElement(Qq,null,t)),r&&w.createElement(eG,null,r.map(({title:n,...o})=>w.createElement(bl,{...o,key:n},n)))),"TooltipMessage"),nG=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),pre=c(({note:e,...t})=>w.createElement(nG,{...t},e),"TooltipNote"),oG=We(e1(),1),aG=F(({active:e,loading:t,disabled:r,...n})=>w.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Nt(.7,t.color.defaultText)}:{}),lG=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),iG=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),sG=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),uG=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),cG=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),dG=(0,oG.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),pG=c(({loading:e=!1,title:t=w.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:l,href:i=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...m})=>{let h={active:o,disabled:a},f=dG(u,i,p);return w.createElement(cG,{...m,...h,...f},w.createElement(w.Fragment,null,d&&w.createElement(uG,{...h},d),t||r?w.createElement(iG,{isIndented:!!(!d&&l)},t&&w.createElement(aG,{...h,loading:e},t),r&&w.createElement(sG,{...h},r)):null,n&&w.createElement(lG,{...h},n)))},"ListItem"),fG=pG,hG=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),mG=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:o,title:a,href:l}=r,i=s.useCallback(u=>t==null?void 0:t(u,{id:e,active:n,disabled:o,title:a,href:l}),[t,e,n,o,a,l]);return w.createElement(fG,{id:`list-item-${e}`,...r,...t&&{onClick:i}})},"Item"),gG=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(o=>o.icon);return w.createElement(hG,{...r},e.map(o=>w.createElement(mG,{key:o.id,isIndented:n,LinkWrapper:t,...o})))},"TooltipLinkList");pv();var D5=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});D5.displayName="Side";var vG=c(({children:e,className:t,scrollable:r})=>r?w.createElement(G0,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),"UnstyledBar"),$I=F(vG)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});$I.displayName="Bar";var yG=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Oy=c(({children:e,backgroundColor:t,className:r,...n})=>{let[o,a]=s.Children.toArray(e);return w.createElement($I,{className:`sb-bar ${r}`,...n},w.createElement(yG,{bgColor:t},w.createElement(D5,{scrollable:n.scrollable,left:!0},o),a?w.createElement(D5,{right:!0},a):null))},"FlexBar");Oy.displayName="FlexBar";var wG=c(e=>typeof e.props.href=="string","isLink"),bG=c(e=>typeof e.props.href!="string","isButton");function OI({children:e,...t},r){let n={props:t,ref:r};if(wG(n))return w.createElement("a",{ref:n.ref,...n.props},e);if(bG(n))return w.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(OI,"ForwardRefFunction");var MI=s.forwardRef(OI);MI.displayName="ButtonOrLink";var M1=F(MI,{shouldForwardProp:Y5})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});M1.displayName="TabButton";var EG=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),xG=F.div(()=>({marginTop:6,padding:7,height:28})),fre=c(()=>w.createElement(xG,null,w.createElement(EG,null)),"IconButtonSkeleton"),CG=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),DG=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),SG=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),kG=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),PI=c(({title:e,description:t,footer:r})=>w.createElement(CG,null,w.createElement(DG,null,w.createElement(SG,null,e),t&&w.createElement(kG,null,t)),r),"EmptyTabContent"),NI=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),AG=c(e=>s.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof a=="function"?a:({active:l})=>w.createElement(NI,{active:l,role:"tabpanel"},a)}}),"childrenToList");xy();var _G=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),FG=F(M1)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function HI(e){let t=s.useRef(),r=s.useRef(),n=s.useRef(new Map),{width:o=1}=zy({ref:t}),[a,l]=s.useState(e),[i,u]=s.useState([]),d=s.useRef(e),p=s.useCallback(({menuName:h,actions:f})=>{let v=i.some(({active:b})=>b),[g,C]=s.useState(!1);return w.createElement(w.Fragment,null,w.createElement(Ed,{interactive:!0,visible:g,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(gG,{links:i.map(({title:b,id:y,color:E,active:x})=>({id:y,title:b,color:E,active:x,onClick:c(D=>{D.preventDefault(),f.onSelect(y)},"onClick")}))})},w.createElement(FG,{ref:r,active:v,preActive:g,style:{visibility:i.length?"visible":"hidden"},"aria-hidden":!i.length,className:"tabbutton",type:"button",role:"tab"},h,w.createElement(_G,{className:"addon-collapsible-icon",isActive:v||g}))),i.map(({title:b,id:y,color:E},x)=>{let D=`index-${x}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:E,role:"tab"},b)}))},[i]),m=s.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=i.length?h+f-v:h+f,C=[],b=0,y=e.filter(E=>{let{id:x}=E,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=h+b+S>g;return(!k||!D)&&C.push(E),b+=S,k});(C.length!==a.length||d.current!==e)&&(l(C),u(y),d.current=e)},[i.length,e,a]);return s.useLayoutEffect(m,[m,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:a,invisibleList:i,AddonTab:p}}c(HI,"useList");var RG="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",IG=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),jI=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});jI.displayName="TabBar";var zG=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${RG}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),hre=c(({active:e,render:t,children:r})=>w.createElement(NI,{active:e},t?t():r),"TabWrapper"),VI=s.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:o=!1,tools:a=null,backgroundColor:l,id:i=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let m=s.useMemo(()=>AG(e).map((b,y)=>({...b,active:t?b.id===t:y===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=HI(m),C=d??w.createElement(PI,{title:"Nothing found"});return!p&&m.length===0?C:w.createElement(IG,{absolute:n,bordered:o,id:i},w.createElement(Oy,{scrollable:!1,border:!0,backgroundColor:l},w.createElement(jI,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:b,id:y,active:E,color:x},D)=>{let S=`index-${D}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??S}`,ref:k=>{v.current.set(y,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:y,active:E,textColor:x,onClick:k=>{k.preventDefault(),r.onSelect(y)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(g,{menuName:u,actions:r})),a),w.createElement(zG,{id:"panel-tab-content",bordered:o,absolute:n},m.length?m.map(({id:b,active:y,render:E})=>w.createElement(E,{key:b,active:y},null)):C))});VI.displayName="Tabs";var S5=class extends s.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:o,menuName:a}=this.props,{selected:l}=this.state;return w.createElement(VI,{bordered:t,absolute:r,selected:l,backgroundColor:o,menuName:a,actions:this.handlers},n)}};c(S5,"TabsState"),S5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var TG=S5,UI=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});UI.displayName="Separator";var gre=c(e=>e.reduce((t,r,n)=>r?w.createElement(s.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?w.createElement(UI,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),BG=c(e=>{let t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),LG=c((e,t)=>{let r=BG(t);return e?t:r},"useUpdate"),vre=c(({active:e,children:t})=>w.createElement("div",{hidden:!e},LG(e,t)),"AddonPanel");const{deprecate:$G,logger:OG}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var MG=lR,PG=F.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,yre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||$G(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=k5[e]||null;if(!o)return OG.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let a=MG[o];return w.createElement(a,{...n})},"Icons"),wre=s.memo(c(function({icons:e=Object.keys(k5)}){return w.createElement(PG,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},k5[t])))},"Symbols")),k5={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},bre=c(({alt:e,...t})=>w.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?w.createElement("title",null,e):null,w.createElement("defs",null,w.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),w.createElement("mask",{id:"b",fill:"#fff"},w.createElement("use",{xlinkHref:"#a"})),w.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),w.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),Ere=c(e=>w.createElement("svg",{viewBox:"0 0 64 64",...e},w.createElement("title",null,"Storybook icon"),w.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),w.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),w.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),NG=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,HG=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${NG} 0.7s linear infinite`,mixBlendMode:"difference"})),dE=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),jG=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Nt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),VG=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),pE=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),UG=F(iR)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),WG=Cn` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,qG=F.span({"&::after":{content:"'...'",animation:`${WG} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GG=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(dE,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(UG,null),w.createElement(pE,null,t.message));if(e){let{value:o,modules:a}=e,{message:l}=e;return a&&(l+=` ${a.complete} / ${a.total} modules`),w.createElement(dE,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":l,role:"progressbar",...n},w.createElement(jG,null,w.createElement(VG,{style:{width:`${o*100}%`}})),w.createElement(pE,null,l,o<1&&w.createElement(qG,{key:l})))}return w.createElement(HG,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function WI(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),a=o?{...WI(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(a).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref"),YG=F.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${K.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Mr.fonts.mono}; - font-size: ${Mr.size.s2-1}px; -`,xre=c(({code:e,...t})=>w.createElement(YG,{id:"clipboard-code",...t},e),"ClipboardCode"),ZG=aR,XG={};Object.keys(aR).forEach(e=>{XG[e]=s.forwardRef((t,r)=>s.createElement(e,{...t,ref:r}))});var JG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),QG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),eK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),tK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),rK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),nK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),A5=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Cre=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),oK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),aK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),iK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),sK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),uK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),qI=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),cK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:dK,once:pK,logger:My}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:fE,composeConfigs:Dre,Preview:Sre,DocsContext:kre}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:hE,UPDATE_STORY_ARGS:fK,RESET_STORY_ARGS:hK,GLOBALS_UPDATED:mE,NAVIGATE_URL:mK}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:Are}=__STORYBOOK_MODULE_CHANNELS__;var GI=ua({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Ou=="function"&&Ou;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}for(var i=typeof Ou=="function"&&Ou,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),gK=ua({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),vK=ua({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,l,i=!0,u=" ";function d(x,D){var S=D.appendChild(m(x));if(x.children.length){var k=h(x.isCollapsed);x.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(x,D){var S=!1,k=h(S);if(D.forEach(function(A){d(A,k)}),l=x||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),D.length===0?l:l.appendChild(k)}function m(x){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute("href",r.basePath+"#"+x.id),S.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function h(x){var D=r.orderedList?"ol":"ul",S=document.createElement(D),k=r.listClass+u+r.extraListClasses;return x&&(k=k+u+r.collapsibleClass,k=k+u+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||a.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=v(x.offsetParent))),D}function g(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var S=x,k;if(i&&l!==null&&S.length>0){o.call(S,function(N,M){if(v(N)>D+r.headingsOffset+10){var j=M===0?M:M-1;return k=S[j],!0}else if(M===S.length-1)return k=S[S.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),_=l.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=l.querySelectorAll("."+r.linkClass);n.call(R,function(N){g(N,N.className.replace(u+r.activeLinkClass,""))});var z=l.querySelectorAll("."+r.listItemClass);n.call(z,function(N){g(N,N.className.replace(u+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=u+r.activeLinkClass);var L=_&&_.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var $=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call($,function(N){N.className.indexOf(r.isCollapsedClass)===-1&&(N.className+=u+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(u+r.isCollapsedClass,"")),b(_&&_.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(g(x,x.className.replace(u+r.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function y(x){var D=x.target||x.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(i=!1)}function E(){i=!0}return{enableTocAnimation:E,disableTocAnimation:y,render:p,updateToc:C}}}}),yK=ua({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(m){return m[m.length-1]}function a(m){return+m.nodeName.toUpperCase().replace("H","")}function l(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function i(m){if(!l(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:a(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function u(m,h){for(var f=i(m),v=f.headingLevel,g=h,C=o(g),b=C?C.headingLevel:0,y=v-b;y>0&&(C=o(g),!(C&&v===C.headingLevel));)C&&C.children!==void 0&&(g=C.children),y--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=i(f);return v&&u(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wK=ua({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),bK=ua({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,l=location.hash?d(location.href):location.href;i();function i(){document.body.addEventListener("click",m,!1);function m(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:a,callback:function(){p(h.target.hash)}})}}function u(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===l||d(m.href)+"#"===l)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var a=window.pageYOffset,l={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||v},i=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?l.offset+(n?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(u):l.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,l.easing(m,a,u,d)),m"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var y={},E=0;E1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-CJxD2fkV.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` -`).match(o),m=!1;return{items:p.map(function(h,f){let v=a.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=h.replace(g,"").replace(a,""),b=f===p.length-1,y=C.indexOf(` - -`)!==-1||b&&m;m=y;let E=u.inline,x=u.list,D;u.list=!0,y?(u.inline=!1,D=C.replace(xE,` - -`)):(u.inline=!0,D=C.replace(xE,""));let S=i(D,u);return u.inline=E,u.list=x,S}),ordered:r,start:d}},render:(l,i,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(d,p){return e("li",{key:p},i(d,u))}))}}var bZ=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),EZ=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bz=[rz,nz,oz,az,iz,lz,sz,uz,mz,yz,gz,wz],xZ=[...bz,/^[^\n]+(?: \n|\n{2,})/,T5,B5];function CZ(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 DZ(e){return iZ.test(e)?"right":aZ.test(e)?"center":lZ.test(e)?"left":null}function DE(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(l,i){l.type==="26"?i!==0&&i!==o.length-1&&a.push([]):(l.type!=="27"||o[i+1]!=null&&o[i+1].type!=="26"||(l.text=l.text.replace(oZ,"")),a[a.length-1].push(l))}),a}function SZ(e,t,r){r.inline=!0;let n=DE(e[1],t,r),o=e[2].replace(nZ,"").split("|").map(DZ),a=function(l,i,u){return l.trim().split(` -`).map(function(d){return DE(d,i,u)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function SE(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Fn(e){return function(t,r){return r.inline?e.exec(t):null}}function Rn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function an(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Oi(e){return function(t){return e.exec(t)}}function kZ(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(a=>!bz.some(l=>l.test(a))&&(n+=a+` -`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Ba(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 kE(e){return e.replace(gZ,"$1")}function c0(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function AZ(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function _Z(e,t,r){return r.inline=!1,e(t,r)}var Wh=(e,t,r)=>({children:c0(t,e[1],r)});function qh(){return{}}function Gh(){return null}function FZ(...e){return e.filter(Boolean).join(" ")}function Kh(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function RZ(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||CZ,t.namedCodesToUnicode=t.namedCodesToUnicode?$o({},EE,t.namedCodesToUnicode):EE;let r=t.createElement||s.createElement;function n(f,v,...g){let C=Kh(t.overrides,`${f}.props`,{});return r(function(b,y){let E=Kh(y,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Kh(y,`${b}.component`,b):b}(f,t.overrides),$o({},v,C,{className:FZ(v==null?void 0:v.className,C.className)||void 0}),...g)}function o(f){f=f.replace(HY,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=eZ.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(hZ,"")} - -`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let C=t.wrapper||(v?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return s.createElement(C,{key:"outer"},b)}function a(f){let v=f.match(FY);return v?v.reduce(function(g,C,b){let y=C.indexOf("=");if(y!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(UY)===null&&(k=k.replace(YY,function(A,_){return _.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(C.slice(y+1).trim()),D=bE[E]||E,S=g[D]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,R){let z=R.slice(0,R.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=R.slice(z.length+1).trim(),_},{}):k==="href"||k==="src"?Ba(A):(A.match(WY)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,x);typeof S=="string"&&(T5.test(S)||B5.test(S))&&(g[D]=s.cloneElement(o(S.trim()),{key:b}))}else C!=="style"&&(g[bE[C]||C]=!0);return g},{}):null}let l=[],i={},u={0:{match:an(rz),order:1,parse:(f,v,g)=>({children:v(f[0].replace(zY,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:Oi(TY),order:1,parse:qh,render:(f,v,g)=>n("br",{key:g.key})},2:{match:an(BY),order:1,parse:qh,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:an(oz),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",$o({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:an(nz),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Rn(LY),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:an(MY),order:0,parse:f=>(l.push({footnote:f[2],identifier:f[1]}),{}),render:Gh},7:{match:Fn(PY),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target)},n("sup",{key:g.key},f.text))},8:{match:Fn(jY),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:an(t.enforceAtxHeadings?lz:az),order:1,parse:(f,v,g)=>({children:c0(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:an(iz),order:0,parse:(f,v,g)=>({children:c0(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Oi(T5),order:1,parse(f,v,g){let[,C]=f[3].match(mZ),b=new RegExp(`^${C}`,"gm"),y=f[3].replace(b,""),E=(x=y,xZ.some(A=>A.test(x))?_Z:c0);var x;let D=f[1].toLowerCase(),S=_Y.indexOf(D)!==-1,k={attrs:a(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?k.text=f[3]:k.children=E(v,y,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,$o({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:Oi(B5),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,$o({},f.attrs,{key:g.key}))},12:{match:Oi(sz),order:1,parse:()=>({}),render:Gh},14:{match:Rn(EZ),order:1,parse:f=>({alt:f[1],target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Ba(f.target)})},15:{match:Fn(bZ),order:3,parse:(f,v,g)=>({children:AZ(v,f[1],g),target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target),title:f.title},v(f.children,g))},16:{match:Fn(KY),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:Fn(qY)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Fn(GY),order:0,parse(f){let v=f[1],g=f[1];return RY.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:CE(n,1),33:CE(n,2),19:{match:an($Y),order:3,parse:qh,render:()=>` -`},21:{match:kZ,order:3,parse:Wh,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:Fn(ZY),order:0,parse:f=>(i[f[1]]={target:f[2],title:f[4]},{}),render:Gh},23:{match:Rn(XY),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("img",{key:g.key,alt:f.alt,src:Ba(i[f.ref].target),title:i[f.ref].title}):null},24:{match:Fn(JY),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(QY,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("a",{key:g.key,href:Ba(i[f.ref].target),title:i[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:an(uz),order:1,parse:SZ,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(C,b){return n("th",{key:b,style:SE(f,b)},v(C,g))}))),n("tbody",null,f.cells.map(function(C,b){return n("tr",{key:b},C.map(function(y,E){return n("td",{key:E,style:SE(f,E)},v(y,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,rZ.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Oi(fZ),order:4,parse:f=>({text:f[0].replace(VY,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Rn(sZ),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Rn(uZ),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Rn(pZ),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Rn(cZ),order:3,parse:Wh,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Rn(dZ),order:3,parse:Wh,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);let d=function(f){let v=Object.keys(f);function g(C,b){let y=[],E="";for(;C;){let x=0;for(;xy(g,C,b),g,C,b):y(g,C,b)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let C=g.key,b=[],y=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var l,i,u={},d=Object.keys(o);for(i=0;i=0||(u[l]=o[l]);return u}(e,AY);return s.cloneElement(RZ(t,r),n)},IZ=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:he(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ac(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ac(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ac(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ac(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),zZ=e=>e==="true",TZ=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{var p;let l=s.useCallback(()=>r(!1),[r]),i=!!((p=a==null?void 0:a.table)!=null&&p.readonly);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:l,disabled:i},"Set boolean");let u=yr(e),d=typeof t=="string"?zZ(t):t;return w.createElement(IZ,{"aria-disabled":i,htmlFor:u,"aria-label":e},w.createElement("input",{id:u,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:i,name:e,onBlur:n,onFocus:o}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},BZ=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},LZ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},$Z=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},OZ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},AE=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),MZ=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),PZ=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{var v;let[l,i]=s.useState(!0),u=s.useRef(),d=s.useRef(),p=!!((v=a==null?void 0:a.table)!=null&&v.readonly);s.useEffect(()=>{l!==!1&&(u&&u.current&&(u.current.value=t?$Z(t):""),d&&d.current&&(d.current.value=t?OZ(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let C=BZ(g.target.value),b=new Date(t);b.setFullYear(C.getFullYear(),C.getMonth(),C.getDate());let y=b.getTime();y&&r(y),i(!!y)},h=g=>{if(!g.target.value)return r();let C=LZ(g.target.value),b=new Date(t);b.setHours(C.getHours()),b.setMinutes(C.getMinutes());let y=b.getTime();y&&r(y),i(!!y)},f=yr(e);return w.createElement(MZ,null,w.createElement(AE,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:o}),w.createElement(AE,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:o}),l?null:w.createElement("div",null,"invalid"))},NZ=F.label({display:"flex"}),HZ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},jZ=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),VZ=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:l,onFocus:i,argType:u})=>{var E;let[d,p]=s.useState(typeof t=="number"?t:""),[m,h]=s.useState(!1),[f,v]=s.useState(null),g=!!((E=u==null?void 0:u.table)!=null&&E.readonly),C=s.useCallback(x=>{p(x.target.value);let D=parseFloat(x.target.value);Number.isNaN(D)?v(new Error(`'${x.target.value}' is not a number`)):(r(D),v(null))},[r,v]),b=s.useCallback(()=>{p("0"),r(0),h(!0)},[h]),y=s.useRef(null);return s.useEffect(()=>{m&&y.current&&y.current.select()},[m]),s.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:b,disabled:g},"Set number"):w.createElement(NZ,null,w.createElement(jZ,{ref:y,id:yr(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:o,step:a,onFocus:i,onBlur:l}))},xz=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},L5=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Cz=(e,t)=>e&&t&&e.map(r=>t[r]),UZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),WZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),qZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_E=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var h;if(!t)return My.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=L5(r,t),[i,u]=s.useState(l),d=!!((h=a==null?void 0:a.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...i];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(Cz(g,t)),u(g)};s.useEffect(()=>{u(L5(r,t))},[r]);let m=yr(e);return w.createElement(UZ,{"aria-readonly":d,isInline:o},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return w.createElement(qZ,{key:g,htmlFor:g},w.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:i==null?void 0:i.includes(f)}),w.createElement(WZ,null,f))}))},GZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),KZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),YZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),FE=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var d;if(!t)return My.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=xz(r,t),i=yr(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(GZ,{"aria-readonly":u,isInline:o},Object.keys(t).map((p,m)=>{let h=`${i}-${m}`;return w.createElement(YZ,{key:h,htmlFor:h},w.createElement("input",{type:"radio",id:h,name:i,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===l}),w.createElement(KZ,null,p))}))},ZZ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Dz=F.select(ZZ,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Sz=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),RE="Choose option...",XZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{n(r[p.currentTarget.value])},l=xz(t,r)||RE,i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(qI,null),w.createElement(Dz,{disabled:u,id:i,value:l,onChange:a},w.createElement("option",{key:"no-selection",disabled:!0},RE),Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},JZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Cz(m,r))},l=L5(t,r),i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(Dz,{disabled:u,id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},IE=e=>{let{name:t,options:r}=e;return r?e.isMulti?w.createElement(JZ,{...e}):w.createElement(XZ,{...e}):(My.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},QZ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,eX={check:_E,"inline-check":_E,radio:FE,"inline-radio":FE,select:IE,"multi-select":IE},La=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?QZ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=eX[t];if(a)return w.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},tX="Error",rX="Object",nX="Array",oX="String",aX="Number",lX="Boolean",iX="Date",sX="Null",uX="Undefined",cX="Function",dX="Symbol",kz="ADD_DELTA_TYPE",Az="REMOVE_DELTA_TYPE",_z="UPDATE_DELTA_TYPE",Vy="value",pX="key";function Wo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function Fz(e,t){let r=Wo(e),n=Wo(t);return(r==="Function"||n==="Function")&&n!==r}var Uy=class extends s.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:l}=this.state,i={};if(!t){if(!a.value)return;i.key=a.value}i.newValue=r(!1,n,o,i.key,l.value),e(i)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:l}=this.props,i=s.cloneElement(r,{onClick:this.onSubmit}),u=s.cloneElement(n,{onClick:e}),d=o(Vy,a,l),p=s.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=o(pX,a,l);m=s.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},m,p,u,i)}};Uy.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var Rz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(r[r.length-1],l),u({type:kz,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:l,dataType:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=l(e,t,r,n,i),m=a(e,t,r,n,i),h=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:R,ul:z,addForm:L}=p(e,t,r,n,m),$=d(e,t,r,n,m),N=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!o&&N,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},t.map((j,q)=>w.createElement(U1,{key:q,name:q.toString(),data:j,keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveItem(q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}))),!$&&o&&w.createElement("div",{className:"rejt-add-form",style:L},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!$&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=l(e,r,n,o,a);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};Rz.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Iz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=null,b=null,y=i(e,l,n,o,u);if(r&&!y){let E=h(Vy,v,o,e,l,u),x=s.cloneElement(p,{onClick:this.handleEdit}),D=s.cloneElement(m,{onClick:this.handleCancelEdit}),S=s.cloneElement(E,{ref:this.refInput,defaultValue:l});C=w.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,x),b=null}else{C=w.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let E=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});b=y?null:E}return w.createElement("li",{className:"rejt-function-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),C,b)}};Iz.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var U1=class extends s.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:l,onUpdate:i,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S}=this.props,k=()=>!0,A=Wo(e);switch(A){case tX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case rX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case nX:return w.createElement(Rz,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case oX:return w.createElement(zn,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case aX:return w.createElement(zn,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case lX:return w.createElement(zn,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case iX:return w.createElement(zn,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case sX:return w.createElement(zn,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case uX:return w.createElement(zn,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case cX:return w.createElement(Iz,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case dX:return w.createElement(zn,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});default:return null}}};U1.defaultProps={keyPath:[],deep:0};var $5=class extends s.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:l}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(n[n.length-1],r),u({type:kz,keyPath:n,deep:o,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:l,getStyle:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,n,t,r,l),m=Object.getOwnPropertyNames(n),h=a(e,n,t,r,l),f=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:R,ul:z,delimiter:L}=p(e,t,r,n,m),$=Object.getOwnPropertyNames(t),N=d(e,t,r,n,m),M=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),j=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A}),q=$.map(B=>w.createElement(U1,{key:B,name:B,data:t[B],keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveValue(B),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!N&&M,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},q),!N&&a&&w.createElement("div",{className:"rejt-add-form",style:R},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!N&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,l);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};$5.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var zn=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=i(e,l,n,o,u),b=r&&!C,y=h(Vy,v,o,e,l,u),E=s.cloneElement(p,{onClick:this.handleEdit}),x=s.cloneElement(m,{onClick:this.handleCancelEdit}),D=s.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(l)}),S=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return w.createElement("li",{className:"rejt-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," : "),b?w.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",x,E):w.createElement("span",{className:"rejt-value",style:g.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&S)}};zn.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};function fX(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var hX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},gX={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},zz=class extends s.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b,fallback:y=null}=this.props,E=Wo(e),x=o;Wo(o)==="Boolean"&&(x=()=>o);let D=d;d&&Wo(d)!=="Function"&&(D=()=>d);let S=p;return p&&Wo(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(U1,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b})):y}};zz.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return hX;case"Array":return mX;default:return gX}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>fX(o),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:vX}=globalThis,yX=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yh=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),wX=F(oK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),bX=F(aK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),zE=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),EX=F(Xo)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),xX=F(zu.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),CX={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},DX=e=>{e.currentTarget.dispatchEvent(new vX.KeyboardEvent("keydown",CX))},SX=e=>{e.currentTarget.select()},kX=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),TE=({name:e,value:t,onChange:r,argType:n})=>{var E;let o=Lx(),a=s.useMemo(()=>t&&MT(t),[t]),l=a!=null,[i,u]=s.useState(!l),[d,p]=s.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=s.useCallback(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=s.useState(!1),g=s.useCallback(()=>{r({}),v(!0)},[v]),C=s.useRef(null);if(s.useEffect(()=>{f&&C.current&&C.current.select()},[f]),!l)return w.createElement(Ea,{disabled:m,id:Ad(e),onClick:g},"Set object");let b=w.createElement(xX,{ref:C,id:yr(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>h(x.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),y=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(yX,{"aria-readonly":m},y&&w.createElement(EX,{onClick:x=>{x.preventDefault(),u(D=>!D)}},i?w.createElement(rK,null):w.createElement(tK,null),w.createElement("span",null,"RAW")),i?b:w.createElement(zz,{readOnly:m||!y,isCollapsed:y?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:kX(o),cancelButtonElement:w.createElement(Yh,{type:"button"},"Cancel"),editButtonElement:w.createElement(Yh,{type:"submit"},"Save"),addButtonElement:w.createElement(Yh,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(wX,null),minusMenuElement:w.createElement(bX,null),inputElement:(x,D,S,k)=>k?w.createElement(zE,{onFocus:SX,onBlur:DX}):w.createElement(zE,null),fallback:b}))},AX=F.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:dn(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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.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 ${dn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Tz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),_X=F(Tz)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-Cbj52Cbk.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;ltte(e).replace(/\n\s*/g,"").trim()),nte=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},ote=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Wz(e){if(!ete(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=ZJ(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var ate=function(e){let t,r,n,o;return function(a,l){try{if(a==="")return o=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let i=r.get(this)||this;for(;n.length&&i!==n[0];)n.shift(),o.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return ote.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,lQ.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,iQ.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${rte(nte(a,p))}`}if((0,sQ.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(o)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let u=t.get(l);if(!u){let d=Array.isArray(l)?l:Wz(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return o.push(a),n.unshift(d),t.set(l,JSON.stringify(o)),l!==d&&r.set(l,d),d}return`_duplicate_${u}`}catch{return}}},lte={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ite=(e,t={})=>{let r={...lte,...t};return JSON.stringify(Wz(e),ate(r),t.space)};function qz(e){return ite(e,{allowFunction:!1})}var Yy=s.createContext({sources:{}}),Gz="--unknown--",ste=({children:e,channel:t})=>{let[r,n]=s.useState({});return s.useEffect(()=>{let o=(a,l=null,i=!1)=>{let{id:u,args:d=void 0,source:p,format:m}=typeof a=="string"?{id:a,source:l,format:i}:a,h=d?qz(d):Gz;n(f=>({...f,[u]:{...f[u],[h]:{code:p,format:m}}}))};return t.on(r4,o),()=>t.off(r4,o)},[]),w.createElement(Yy.Provider,{value:{sources:r}},e)},ute=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[qz(t)])||(o==null?void 0:o[Gz])||{code:""}},cte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:o}=t.parameters,a=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||a.type||Y1.AUTO;if(a.code!==void 0)return a.code;let i=l===Y1.DYNAMIC||l===Y1.AUTO&&e&&o?e:a.originalSource||"";return((d=n??a.transform)==null?void 0:d(i,t))||i},Kz=(e,t,r)=>{var f,v,g,C;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:l}=e,i=e.format??a.format,u=e.language??a.language??"jsx",d=e.dark??a.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:i,language:u,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=ute(n.id,m,r);return i=h.format??((C=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:C.format)??!1,{code:cte({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:i,language:u,dark:d}},Rre=e=>{let t=s.useContext(Yy),r=s.useContext(Gt),n=Kz(e,r,t);return w.createElement(Py,{...n})};function dte(e,t){let r=pte([e],t);return r&&r[0]}function pte(e,t){let[r,n]=s.useState({});return s.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);n(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}var fte=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},hte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let i=e.height??a.height,u=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:i,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},mte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=s.useContext(Gt),r=fte(e,t),n=dte(r,t);if(!n)return w.createElement(ez,null);let o=hte(e,n,t);return o?w.createElement(gY,{...o}):null},gte=e=>{var h,f,v,g,C,b,y,E,x,D;let t=s.useContext(Gt),r=s.useContext(Yy),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=xa(n||"story",["story"]),l=Kz({...o,...n&&{of:n}},t,r),i=e.layout??a.parameters.layout??((f=(h=a.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((b=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),p=e.sourceState??((E=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((D=(x=a.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(tz,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:m,layout:i},w.createElement(mte,{of:n||a.moduleExport,meta:e.meta,...e.story}))},vte=(e,t)=>{let r=yte(e,t);if(!r)throw new Error("No result when story was defined");return r},yte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=s.useState(r.args);s.useEffect(()=>{let u=d=>{d.storyId===n&&a(d.args)};return t.channel.on(hE,u),()=>t.channel.off(hE,u)},[n,t.channel]);let l=s.useCallback(u=>t.channel.emit(fK,{storyId:n,updatedArgs:u}),[n,t.channel]),i=s.useCallback(u=>t.channel.emit(hK,{storyId:n,argNames:u}),[n,t.channel]);return e&&[o,l,i]},wte=(e,t)=>{let r=t.getStoryContext(e),[n,o]=s.useState(r.globals);return s.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(mE,a),()=>t.channel.off(mE,a)},[t.channel]),[n]};function bte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Ete=e=>{var x;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=s.useContext(Gt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:i}=n,u=((x=o.docs)==null?void 0:x.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,m=e.sort??u.sort,[h,f,v]=vte(n,r),[g]=wte(n,r),C=fE(a,d,p);if(!(i&&Object.keys(i).length>0))return Object.keys(C).length>0||Object.keys(h).length>0?w.createElement(M5,{rows:C,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let b=HJ(l),y=Object.fromEntries(Object.entries(i).map(([D,S])=>[D,{rows:fE(bte(S,o),d,p),sort:m}])),E={[b]:{rows:C,sort:m},...y};return w.createElement(kJ,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Yz}=globalThis,xte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(rR,null,t);let n=e&&e.split("-");return w.createElement(Py,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Zy(e,t){e.channel.emit(mK,t)}var P5=ZG.a,Cte=({hash:e,children:t})=>{let r=s.useContext(Gt);return w.createElement(P5,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Yz.getElementById(o)&&Zy(r,e)}},t)},Dte=e=>{let{href:t,target:r,children:n,...o}=e,a=s.useContext(Gt);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(P5,{...e}):t.startsWith("#")?w.createElement(Cte,{hash:t},n):w.createElement(P5,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Zy(a,l.currentTarget.getAttribute("href")))},target:r,...o},n)},Zz=["h1","h2","h3","h4","h5","h6"],Ste=Zz.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),kte=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Ate=({as:e,id:t,children:r,...n})=>{let o=s.useContext(Gt),a=Ste[e],l=`#${t}`;return w.createElement(a,{id:t,...n},w.createElement(kte,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:i=>{Yz.getElementById(t)&&Zy(o,l)}},w.createElement(lK,null)),r)},Xy=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return w.createElement(Ate,{as:t,id:r,...o},n);let a=t,{as:l,...i}=e;return w.createElement(a,{...ge(i,t)})},_te=Zz.reduce((e,t)=>({...e,[t]:r=>w.createElement(Xy,{as:t,...r})}),{}),Fte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(rT`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: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return w.createElement(Ez,{...e,options:{forceBlock:!0,overrides:{code:xte,a:Dte,..._te,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Rte=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Rte||{}),Ite=e=>{var t,r,n,o,a,l,i,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((o=(n=d.docs)==null?void 0:n.description)==null?void 0:o.component)||((l=(a=d.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(i=p.docs)==null?void 0:i.extractComponentDescription)==null?void 0:u.call(i,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},N5=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=xa(t||"meta"),n=Ite(r);return n?w.createElement(Fte,null,n):null},GE=W5(EK()),zte=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Tte=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",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"}})),Bte=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Lte=({title:e})=>e===null?null:typeof e=="string"?w.createElement(Bte,null,e):e,$te=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:a})=>(s.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},i=setTimeout(()=>GE.init(l),100);return()=>{clearTimeout(i),GE.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(zte,null,t?null:w.createElement(Tte,null,w.createElement(Lte,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:Ote,window:Mte}=globalThis,Pte=({context:e,theme:t,children:r})=>{var o,a,l,i,u;let n;try{n=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{n=(u=(i=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:i.docs)==null?void 0:u.toc}return s.useEffect(()=>{let d;try{if(d=new URL(Mte.parent.location.toString()),d.hash){let p=Ote.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{jJ(p)},200)}}catch{}}),w.createElement(Gt.Provider,{value:e},w.createElement(ste,{channel:e.channel},w.createElement($x,{theme:zL(t)},w.createElement(sY,{toc:n?w.createElement($te,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Nte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement(oR,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(Xy,{as:"h3",id:r},e)},Xz=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var i,u;let{story:a}=xa(e||"story",["story"]),l=((u=(i=a.parameters.docs)==null?void 0:i.canvas)==null?void 0:u.withToolbar)??r;return w.createElement(Lz,{storyId:a.id},t&&w.createElement(w.Fragment,null,w.createElement(Nte,null,a.name),w.createElement(N5,{of:e})),w.createElement(gte,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},Hte=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=xa(t||"meta",["meta"]),n=s.useContext(Gt).componentStoriesFromCSFFile(r)[0];return n?w.createElement(Xz,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},jte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return w.createElement(nR,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(Xy,{as:"h2",id:n,...r},e)},Vte=F(jte)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),Ute=({title:e="Stories",includePrimary:t=!0})=>{var i;let{componentStories:r,projectAnnotations:n,getStoryContext:o}=s.useContext(Gt),a=r(),{stories:{filter:l}={filter:void 0}}=((i=n.parameters)==null?void 0:i.docs)||{};return l&&(a=a.filter(u=>l(u,o(u)))),a.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(a=a.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(a=a.slice(1)),!a||a.length===0?null:w.createElement(w.Fragment,null,w.createElement(Vte,null,e),a.map(u=>u&&w.createElement(Xz,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",qte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(t||"meta",["meta"]).preparedMeta}catch(i){if(r&&!i.message.includes("did you forget to use ?"))throw i}let{componentSubtitle:o,docs:a}=(n==null?void 0:n.parameters)||{};o&&dK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Wte}`);let l=r||(a==null?void 0:a.subtitle)||o;return l?w.createElement(aY,{className:"sbdocs-subtitle sb-unstyled"},l):null},Gte=/\s*\/\s*/,Kte=e=>{let t=e.trim().split(Gte);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Yte=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(r||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||Kte(n==null?void 0:n.title);return o?w.createElement(oY,{className:"sbdocs-title sb-unstyled"},o):null},Zte=()=>{let e=xa("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(Yte,null),w.createElement(qte,null),w.createElement(N5,{of:"meta"}),r?w.createElement(N5,{of:"story"}):null,w.createElement(Hte,null),w.createElement(Ete,null),r?null:w.createElement(Ute,null))};function Ire({context:e,docsParameter:t}){let r=t.container||Pte,n=t.page||Zte;return w.createElement(r,{context:e,theme:t.theme},w.createElement(n,null))}var zre=({of:e})=>{let t=s.useContext(Gt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return w.createElement(Lz,{storyId:r.id})}catch{return null}};export{PI as $,yN as A,bre as B,hN as C,nR as D,ore as E,wN as F,vre as G,wre as H,Xo as I,_y as J,nre as K,Ea as L,SN as M,zu as N,M1 as O,$I as P,hre as Q,vN as R,gN as S,xN as T,kN as U,jI as V,lre as W,VI as X,TG as Y,gG as Z,dre as _,cv as a,pre as a0,_N as a1,cre as a2,Xq as a3,vq as a4,yo as a5,ZG as a6,tg as a7,KG as a8,k5 as a9,gre as aa,ge as ab,XG as ac,Ee as ad,ne as ae,zre as af,Yte as ag,gte as ah,Ete as ai,w as aj,Rre as ak,Fre as al,_re as am,s as an,rre as ao,W5 as ap,ua as aq,F as ar,yr as as,Cre as at,fu as au,_te as av,Dte as aw,xte as ax,Ire as ay,xre as b,pN as c,Oy as d,fN as e,mN as f,lN as g,fre as h,yre as i,bl as j,fG as k,GG as l,aN as m,EN as n,CN as o,Ay as p,G0 as q,UI as r,ire as s,sre as t,DN as u,rR as v,dN as w,oR as x,Sq as y,Ere as z}; diff --git a/rc/assets/index-CXVppuTU.js b/rc/assets/index-CXVppuTU.js deleted file mode 100644 index 444c655..0000000 --- a/rc/assets/index-CXVppuTU.js +++ /dev/null @@ -1 +0,0 @@ -import{M,u as a}from"./index-Dvvi2AU9.js";import"./index-D51CeFyD.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; diff --git a/rc/assets/index-CcF9BsMG.js b/rc/assets/index-CcF9BsMG.js deleted file mode 100644 index 1866477..0000000 --- a/rc/assets/index-CcF9BsMG.js +++ /dev/null @@ -1,769 +0,0 @@ -const __vite__fileDeps=["./index-BP1tTnvE.js","./iframe-BLrvpHse.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-4xYrqZWr.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-BLrvpHse.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ou=Symbol.for("react.element"),nT=Symbol.for("react.portal"),oT=Symbol.for("react.fragment"),aT=Symbol.for("react.strict_mode"),lT=Symbol.for("react.profiler"),iT=Symbol.for("react.provider"),sT=Symbol.for("react.context"),uT=Symbol.for("react.forward_ref"),cT=Symbol.for("react.suspense"),dT=Symbol.for("react.memo"),pT=Symbol.for("react.lazy"),n4=Symbol.iterator;function fT(e){return e===null||typeof e!="object"?null:(e=n4&&e[n4]||e["@@iterator"],typeof e=="function"?e:null)}var QE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ex=Object.assign,tx={};function Kl(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}Kl.prototype.isReactComponent={};Kl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rx(){}rx.prototype=Kl.prototype;function H5(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}var j5=H5.prototype=new rx;j5.constructor=H5;ex(j5,Kl.prototype);j5.isPureReactComponent=!0;var o4=Array.isArray,nx=Object.prototype.hasOwnProperty,V5={current:null},ox={key:!0,ref:!0,__self:!0,__source:!0};function ax(e,t,r){var n,o={},a=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)nx.call(t,n)&&!ox.hasOwnProperty(n)&&(o[n]=t[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1typeof 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')}),ua=(e,t)=>function(){return t||(0,e[ux(e)[0]])((t={exports:{}}).exports,t),t.exports},_T=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ux(t))!AT.call(e,o)&&o!==r&&sx(e,o,{get:()=>t[o],enumerable:!(n=ST(t,o))||n.enumerable});return e},W5=(e,t,r)=>(r=e!=null?DT(kT(e)):{},_T(t||!e||!e.__esModule?sx(r,"default",{value:e,enumerable:!0}):r,e));function FT(e,t,{signal:r,edges:n}={}){let o,a=null,l=n!=null&&n.includes("leading"),i=n==null||n.includes("trailing"),u=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},d=()=>{i&&u(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),o=void 0,a=null},v=()=>{h(),u()},g=function(...C){if(r!=null&&r.aborted)return;o=this,a=C;let b=p==null;m(),l&&b&&u()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function rre(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:l}=r,i=Array(2);o&&(i[0]="leading"),a&&(i[1]="trailing");let u,d=null,p=FT(function(...f){u=e.apply(this,f),d=null},t,{signal:n,edges:i}),m=function(...f){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return u=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),u}return p.apply(this,f),u},h=()=>(p.flush(),u);return m.cancel=p.cancel,m.flush=h,m}function RT(e){return Array.from(new Set(e))}function IT(e,t){let r={},n=Object.entries(e);for(let o=0;o`control-${e.replace(/\s+/g,"-")}`,Ad=e=>`set-${e.replace(/\s+/g,"-")}`,PT=Object.create,q5=Object.defineProperty,NT=Object.getOwnPropertyDescriptor,HT=Object.getOwnPropertyNames,jT=Object.getPrototypeOf,VT=Object.prototype.hasOwnProperty,I=(e,t)=>q5(e,"name",{value:t,configurable:!0}),Mu=(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')}),_d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HT(t))!VT.call(e,o)&&o!==r&&q5(e,o,{get:()=>t[o],enumerable:!(n=NT(t,o))||n.enumerable});return e},G5=(e,t,r)=>(r=e!=null?PT(jT(e)):{},UT(t||!e||!e.__esModule?q5(r,"default",{value:e,enumerable:!0}):r,e)),WT=_d(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function x(W){return typeof W=="string"||typeof W=="function"||W===o||W===p||W===l||W===a||W===h||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===g||W.$$typeof===v||W.$$typeof===i||W.$$typeof===u||W.$$typeof===m||W.$$typeof===b||W.$$typeof===y||W.$$typeof===E||W.$$typeof===C)}I(x,"isValidElementType");function D(W){if(typeof W=="object"&&W!==null){var Zt=W.$$typeof;switch(Zt){case r:var Cr=W.type;switch(Cr){case d:case p:case o:case l:case a:case h:return Cr;default:var bo=Cr&&Cr.$$typeof;switch(bo){case u:case m:case g:case v:case i:return bo;default:return Zt}}case n:return Zt}}}I(D,"typeOf");var S=d,k=p,A=u,_=i,R=r,z=m,L=o,$=g,N=v,M=n,j=l,q=a,B=h,P=!1;function H(W){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(W)||D(W)===d}I(H,"isAsyncMode");function G(W){return D(W)===p}I(G,"isConcurrentMode");function Z(W){return D(W)===u}I(Z,"isContextConsumer");function Q(W){return D(W)===i}I(Q,"isContextProvider");function ie(W){return typeof W=="object"&&W!==null&&W.$$typeof===r}I(ie,"isElement");function U(W){return D(W)===m}I(U,"isForwardRef");function X(W){return D(W)===o}I(X,"isFragment");function re(W){return D(W)===g}I(re,"isLazy");function _e(W){return D(W)===v}I(_e,"isMemo");function qe(W){return D(W)===n}I(qe,"isPortal");function xr(W){return D(W)===l}I(xr,"isProfiler");function xt(W){return D(W)===a}I(xt,"isStrictMode");function Yt(W){return D(W)===h}I(Yt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=z,e.Fragment=L,e.Lazy=$,e.Memo=N,e.Portal=M,e.Profiler=j,e.StrictMode=q,e.Suspense=B,e.isAsyncMode=H,e.isConcurrentMode=G,e.isContextConsumer=Z,e.isContextProvider=Q,e.isElement=ie,e.isForwardRef=U,e.isFragment=X,e.isLazy=re,e.isMemo=_e,e.isPortal=qe,e.isProfiler=xr,e.isStrictMode=xt,e.isSuspense=Yt,e.isValidElementType=x,e.typeOf=D})()}),qT=_d((e,t)=>{t.exports=WT()}),cx=_d((e,t)=>{var r=qT(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[r.ForwardRef]=a,i[r.Memo]=l;function u(C){return r.isMemo(C)?l:i[C.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(C,b,y){if(typeof b!="string"){if(v){var E=f(b);E&&E!==v&&g(C,E,y)}var x=p(b);m&&(x=x.concat(m(b)));for(var D=u(C),S=u(b),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Mu=="function"&Μif(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}I(l,"s");for(var i=typeof Mu=="function"&&Mu,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}I(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Me(Yl,--bt):0,xl--,Se===10&&(xl=1,Id--),Se}I(wx,"prev");function ht(){return Se=bt2||Cl(Se)>3?"":" "}I(bx,"whitespace");function Ex(e,t){for(;--t&&ht()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Zl(e,rs()+(t<6&&ur()==32&&ht()==32))}I(Ex,"escaping");function f0(e){for(;ht();)switch(Se){case e:return bt;case 34:case 39:e!==34&&e!==39&&f0(Se);break;case 40:e===41&&f0(e);break;case 92:ht();break}return bt}I(f0,"delimiter");function xx(e,t){for(;ht()&&e+Se!==57&&!(e+Se===84&&ur()===47););return"/*"+Zl(t,bt-1)+"*"+Fd(e===47?e:ht())}I(xx,"commenter");function Cx(e){for(;!Cl(ur());)ht();return Zl(e,bt)}I(Cx,"identifier");function Dx(e){return t2(os("",null,null,null,[""],e=e2(e),0,[0],e))}I(Dx,"compile");function os(e,t,r,n,o,a,l,i,u){for(var d=0,p=0,m=l,h=0,f=0,v=0,g=1,C=1,b=1,y=0,E="",x=o,D=a,S=n,k=E;C;)switch(v=y,y=ht()){case 40:if(v!=108&&Me(k,m-1)==58){p0(k+=le(ns(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=ns(y);break;case 9:case 10:case 13:case 32:k+=bx(v);break;case 92:k+=Ex(rs()-1,7);continue;case 47:switch(ur()){case 42:case 47:Pi(Sx(xx(ht(),rs()),t,r),u);break;default:k+="/"}break;case 123*g:i[d++]=or(k)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+p:b==-1&&(k=le(k,/\f/g,"")),f>0&&or(k)-m&&Pi(f>32?em(k+";",n,r,m-1):em(le(k," ","")+";",n,r,m-2),u);break;case 59:k+=";";default:if(Pi(S=Qh(k,t,r,d,p,o,i,E,x=[],D=[],m),a),y===123)if(p===0)os(k,t,S,S,x,a,m,i,D);else switch(h===99&&Me(k,3)===110?100:h){case 100:case 108:case 109:case 115:os(e,S,S,n&&Pi(Qh(e,S,S,0,0,o,i,E,o,x=[],m),D),o,D,m,i,n?x:D);break;default:os(k,S,S,S,[""],D,0,i,D)}}d=p=f=0,g=b=1,E=k="",m=l;break;case 58:m=1+or(k),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&wx()==125)continue}switch(k+=Fd(y),y*g){case 38:b=p>0?1:(k+="\f",-1);break;case 44:i[d++]=(or(k)-1)*b,b=1;break;case 64:ur()===45&&(k+=ns(ht())),h=ur(),p=m=or(E=k+=Cx(rs())),y++;break;case 45:v===45&&or(k)==2&&(g=0)}}return a}I(os,"parse");function Qh(e,t,r,n,o,a,l,i,u,d,p){for(var m=o-1,h=o===0?a:[""],f=Rd(h),v=0,g=0,C=0;v0?h[b]+" "+y:le(y,/&\f/g,h[b])))&&(u[C++]=E);return au(e,t,r,o===0?X5:i,u,d,p)}I(Qh,"ruleset");function Sx(e,t,r){return au(e,t,r,Z5,Fd(yx()),El(e,2,-2),0)}I(Sx,"comment");function em(e,t,r,n){return au(e,t,r,J5,El(e,0,n),El(e,n+1,-1),n)}I(em,"declaration");function qo(e,t){for(var r="",n=Rd(e),o=0;o-1},"isIgnoringComment"),iB=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,l=a?t.parent.children:n,i=l.length-1;i>=0;i--){var u=l[i];if(u.line=0;r--)if(!_x(t[r]))return!0;return!1},"isPrependedWithRegularRules"),u4=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),uB=I(function(e,t,r){_x(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),u4(e)):sB(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),u4(e)))},"incorrectImportAlarm");function r2(e,t){switch(hx(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+d0+e+Qe+e+e;case 6828:case 4268:return se+e+Qe+e+e;case 6165:return se+e+Qe+"flex-"+e+e;case 5187:return se+e+le(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return se+e+Qe+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return se+e+Qe+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+Qe+le(e,"shrink","negative")+e;case 5292:return se+e+Qe+le(e,"basis","preferred-size")+e;case 6060:return se+"box-"+le(e,"-grow","")+se+e+Qe+le(e,"grow","positive")+e;case 4554:return se+le(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(or(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+d0+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~p0(e,"stretch")?r2(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,or(e)-3-(~p0(e,"!important")&&10))){case 107:return le(e,":",":"+se)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(Me(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+Qe+e+e}return e}I(r2,"prefix");var cB=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case J5:e.return=r2(e.value,e.length);break;case fx:return qo([$a(e,{value:le(e.value,"@","@"+se)})],n);case X5:if(e.length)return gx(e.props,function(o){switch(mx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qo([$a(e,{props:[le(o,/:(read-\w+)/,":"+d0+"$1")]})],n);case"::placeholder":return qo([$a(e,{props:[le(o,/:(plac\w+)/,":"+se+"input-$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,":"+d0+"$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,Qe+"input-$1")]})],n)}return""})}},"prefixer"),dB=[cB],pB=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||dB;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(Fx,"murmur2");var gB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},c4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,vB="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yB=/[A-Z]|^ms/g,Rx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n2=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),d4=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),X1=K5(function(e){return n2(e)?e:e.replace(yB,"-$&").toLowerCase()}),h0=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rx,function(r,n,o){return Br={name:n,styles:o,next:Br},n})}return gB[e]!==1&&!n2(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");p4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,f4=["normal","none","initial","inherit","unset"],h4=h0,m4=/^-ms-/,g4=/-(.)/g,J1={},h0=I(function(e,t){if(e==="content"&&(typeof t!="string"||f4.indexOf(t)===-1&&!p4.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=h4(e,t);return r!==""&&!n2(e)&&e.indexOf("-")!==-1&&J1[e]===void 0&&(J1[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(m4,"ms-").replace(g4,function(n,o){return o.toUpperCase()})+"?")),r},"processStyleValue");var p4,f4,h4,m4,g4,J1,Ix="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ix);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Br={name:r.name,styles:r.styles,next:Br},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Br={name:n.name,styles:n.styles,next:Br},n=n.next;var o=r.styles+";";return r.map!==void 0&&(o+=r.map),o}return zx(e,t,r)}case"function":{if(e!==void 0){var a=Br,l=r(e);return Br=a,Dl(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var i=[],u=r.replace(Rx,function(p,m,h){var f="animation"+i.length;return i.push("const "+f+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});i.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(i,["`"+u+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(Dl,"handleInterpolation");function zx(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Wr({},e,t)},"getTheme"),xB=i4(function(e){return i4(function(t){return EB(e,t)})}),$x=I(function(e){var t=s.useContext(vn);return e.theme!==t&&(t=xB(t)(e.theme)),s.createElement(vn.Provider,{value:t},e.children)},"ThemeProvider");function CB(e){var t=e.displayName||e.name||"Component",r=I(function(o,a){var l=s.useContext(vn);return s.createElement(e,Wr({theme:l,ref:a},o))},"render"),n=s.forwardRef(r);return n.displayName="WithTheme("+t+")",hB(n,e)}I(CB,"withTheme");var w4="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b4="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",DB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),SB=Ld(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[w4],a=[n],l="";typeof e.className=="string"?l=zd(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var i=Sl(a,void 0,s.useContext(vn));if(i.name.indexOf("-")===-1){var u=e[b4];u&&(i=Sl([i,"label:"+u+";"]))}l+=t.key+"-"+i.name;var d={};for(var p in e)bB.call(e,p)&&p!=="css"&&p!==w4&&p!==b4&&(d[p]=e[p]);return d.ref=r,d.className=l,s.createElement(s.Fragment,null,s.createElement(DB,{cache:t,serialized:i,isStringTag:typeof o=="string"}),s.createElement(o,d))});SB.displayName="EmotionCssPropInternal";G5(cx());var kB={version:"11.11.4"},E4=!1,AB=Ld(function(e,t){!E4&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),E4=!0);var r=e.styles,n=Sl([r],void 0,s.useContext(vn)),o=s.useRef();return y4(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(i=!0,u.setAttribute("data-emotion",a),l.hydrate([u])),o.current=[l,i],function(){l.flush()}},[t]),y4(function(){var a=o.current,l=a[0],i=a[1];if(i){a[1]=!1;return}if(n.next!==void 0&&Bd(t,n.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",n,l,!1)},[t,n.name]),null});AB.displayName="EmotionGlobal";function $d(){for(var e=arguments.length,t=new Array(e),r=0;r component."),l="";for(var i in a)a[i]&&i&&(l&&(l+=" "),l+=i)}break}default:l=a}l&&(o&&(o+=" "),o+=l)}}return o},"classnames");function Ox(e,t,r){var n=[],o=zd(e,n,r);return n.length<2?r:o+t(n)}I(Ox,"merge");var FB=I(function(e){var t=e.cache,r=e.serializedArr;return o2(function(){for(var n=0;n96?IB:zB},"getDefaultShouldForwardProp"),D4=I(function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),S4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,TB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),BB=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var i=D4(t,r,n),u=i||C4(o),d=!u("as");return function(){var p=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{p[0][0]===void 0&&console.error(S4),m.push(p[0][0]);for(var h=p.length,f=1;f1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}I(Al,"hslToRgb");var k4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ux(e){if(typeof e!="string")return e;var t=e.toLowerCase();return k4[t]?"#"+k4[t]:e}I(Ux,"nameToHex");var OB=/^#[a-fA-F0-9]{6}$/,MB=/^#[a-fA-F0-9]{8}$/,PB=/^#[a-fA-F0-9]{3}$/,NB=/^#[a-fA-F0-9]{4}$/,rp=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,HB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,VB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function lu(e){if(typeof e!="string")throw new Or(3);var t=Ux(e);if(t.match(OB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(MB)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(PB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(NB)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=rp.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=HB.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=jB.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Al(i,u,d)+")",m=rp.exec(p);if(!m)throw new Or(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=VB.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Al(f,v,g)+")",b=rp.exec(C);if(!b)throw new Or(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Or(5)}I(lu,"parseToRgb");function Wx(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Ds(e,t,r):"rgba("+Al(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ds(e.hue,e.saturation,e.lightness):"rgba("+Al(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Or(2)}I(Kx,"hsla");function v0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return tm("#"+Tn(e)+Tn(t)+Tn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return tm("#"+Tn(e.red)+Tn(e.green)+Tn(e.blue));throw new Or(6)}I(v0,"rgb");function _l(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=lu(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?v0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?v0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Or(7)}I(_l,"rgba");var WB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),qB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),GB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),KB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function s2(e){if(typeof e!="object")throw new Or(8);if(qB(e))return _l(e);if(WB(e))return v0(e);if(KB(e))return Kx(e);if(GB(e))return Gx(e);throw new Or(8)}I(s2,"toColorString");function u2(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):u2(e,t,n)},"fn")}I(u2,"curried");function iu(e){return u2(e,e.length,[])}I(iu,"curry");function su(e,t,r){return Math.max(e,Math.min(t,r))}I(su,"guard");function Yx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness-parseFloat(e))}))}I(Yx,"darken");var YB=iu(Yx),ZB=YB;function Zx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness+parseFloat(e))}))}I(Zx,"lighten");var XB=iu(Zx),JB=XB;function Xx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,(n*100+parseFloat(e)*100)/100)});return _l(o)}I(Xx,"opacify");var QB=iu(Xx),eL=QB;function Jx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return _l(o)}I(Jx,"transparentize");var tL=iu(Jx),rL=tL,K={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Bn={app:"#F6F9FC",gridCellSize:10,hoverable:rL(.9,K.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Mr={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Qx=G5(GT(),1),nL=(0,Qx.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Qx.default)(1)(({color:e,background:t,typography:r})=>{let n=nL({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var oL={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:K.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:K.lightest,inputBorderRadius:4},aL=oL,lL={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Bn.app,appContentBg:K.lightest,appPreviewBg:K.lightest,appBorderColor:K.border,appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:K.darkest,textInverseColor:K.lightest,textMutedColor:K.dark,barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:K.lightest,buttonBg:Bn.app,buttonBorder:K.medium,booleanBg:K.mediumlight,booleanSelectedBg:K.lightest,inputBg:K.lightest,inputBorder:K.border,inputTextColor:K.darkest,inputBorderRadius:4},y0=lL,iL=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:sL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:np}=iL,uL=I(e=>({color:e}),"mkColor"),cL=I(e=>typeof e!="string"?(sL.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),dL=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),pL=I((e,t)=>e==="darken"?_l(`${ZB(1,t)}`,.95):e==="lighten"?_l(`${JB(1,t)}`,.95):t,"applyPolished"),eC=I(e=>t=>{if(!cL(t)||!dL(t))return t;try{return pL(e,t)}catch{return t}},"colorFactory"),pi=eC("lighten");eC("darken");var tC=I(()=>!np||!np.matchMedia?"light":np.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),rm={light:y0,dark:aL,normal:y0};tC();var fL={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},hL=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,rC=Cn` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,mL=Cn` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,gL=Cn` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,vL=$d` - animation: ${rC} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,yL=$d` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,wL={rotate360:hL,glow:rC,float:mL,jiggle:gL,inlineGlow:vL,hoverable:yL},bL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},EL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},xL=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:uL(n)}),{}),"convertColors"),CL=I(({colors:e,mono:t})=>{let r=xL(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),DL={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},SL={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},kL=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:K.tertiary,ancillary:K.ancillary,orange:K.orange,gold:K.gold,green:K.green,seafoam:K.seafoam,purple:K.purple,ultraviolet:K.ultraviolet,lightest:K.lightest,lighter:K.lighter,light:K.light,mediumlight:K.mediumlight,medium:K.medium,mediumdark:K.mediumdark,dark:K.dark,darker:K.darker,darkest:K.darkest,border:K.border,positive:K.positive,negative:K.negative,warning:K.warning,critical:K.critical,defaultText:e.textColor||K.darkest,inverseText:e.textInverseColor||K.lightest,positiveText:K.positiveText,negativeText:K.negativeText,warningText:K.warningText}),"createColors"),nm=I((e=rm[tC()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:o,appContentBg:a,appPreviewBg:l,appBorderColor:i,appBorderRadius:u,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:C,buttonBg:b,buttonBorder:y,booleanBg:E,booleanSelectedBg:x,inputBg:D,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:z,brandTarget:L,gridCellSize:$,...N}=e;return{...N,base:t,color:kL(e),background:{app:o,bar:C,content:a,preview:l,gridCellSize:$||Bn.gridCellSize,hoverable:Bn.hoverable,positive:Bn.positive,negative:Bn.negative,warning:Bn.warning,critical:Bn.critical},typography:{fonts:{base:d,mono:p},weight:Mr.weight,size:Mr.size},animation:wL,easing:fL,input:{background:D,border:S,borderRadius:A,color:k},button:{background:b||D,border:y||S},boolean:{background:E||S,selectedBackground:x||D},layoutMargin:10,appBorderColor:i,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:C,brand:{title:_,url:R,image:z||(_?null:void 0),target:L},code:CL({colors:t==="light"?DL:SL,mono:p}),addonActionsTheme:{...t==="light"?EL:bL,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Mr.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:eL(.2,i),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Mr.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:AL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var _L=I(e=>Object.keys(e).length===0,"isEmpty"),op=I(e=>e!=null&&typeof e=="object","isObject"),FL=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),RL=I(()=>Object.create(null),"makeObjectWithoutPrototype"),nC=I((e,t)=>e===t||!op(e)||!op(t)?{}:Object.keys(e).reduce((r,n)=>{if(FL(t,n)){let o=nC(e[n],t[n]);return op(o)&&_L(o)||(r[n]=o),r}return r[n]=void 0,r},RL()),"deletedDiff"),IL=nC;function oC(e){for(var t=[],r=1;r{if(!e)return nm(y0);let t=IL(y0,e);return Object.keys(t).length&&AL.warn(oC` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),nm(e)},"ensure"),om="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",aC={exports:{}},Bt={},lC={exports:{}},iC={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(B,P){var H=B.length;B.push(P);e:for(;0>>1,Z=B[G];if(0>>1;Go(U,H))Xo(re,U)?(B[G]=re,B[X]=H,G=X):(B[G]=U,B[ie]=H,G=ie);else if(Xo(re,H))B[G]=re,B[X]=H,G=X;else break e}}return P}function o(B,P){var H=B.sortIndex-P.sortIndex;return H!==0?H:B.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var u=[],d=[],p=1,m=null,h=3,f=!1,v=!1,g=!1,C=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var P=r(d);P!==null;){if(P.callback===null)n(d);else if(P.startTime<=B)n(d),P.sortIndex=P.expirationTime,t(u,P);else break;P=r(d)}}function x(B){if(g=!1,E(B),!v)if(r(u)!==null)v=!0,j(D);else{var P=r(d);P!==null&&q(x,P.startTime-B)}}function D(B,P){v=!1,g&&(g=!1,b(A),A=-1),f=!0;var H=h;try{for(E(P),m=r(u);m!==null&&(!(m.expirationTime>P)||B&&!z());){var G=m.callback;if(typeof G=="function"){m.callback=null,h=m.priorityLevel;var Z=G(m.expirationTime<=P);P=e.unstable_now(),typeof Z=="function"?m.callback=Z:m===r(u)&&n(u),E(P)}else n(u);m=r(u)}if(m!==null)var Q=!0;else{var ie=r(d);ie!==null&&q(x,ie.startTime-P),Q=!1}return Q}finally{m=null,h=H,f=!1}}var S=!1,k=null,A=-1,_=5,R=-1;function z(){return!(e.unstable_now()-R<_)}function L(){if(k!==null){var B=e.unstable_now();R=B;var P=!0;try{P=k(!0,B)}finally{P?$():(S=!1,k=null)}}else S=!1}var $;if(typeof y=="function")$=function(){y(L)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,M=N.port2;N.port1.onmessage=L,$=function(){M.postMessage(null)}}else $=function(){C(L,0)};function j(B){k=B,S||(S=!0,$())}function q(B,P){A=C(function(){B(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,j(D))},e.unstable_forceFrameRate=function(B){0>B||125G?(B.sortIndex=H,t(d,B),r(u)===null&&B===r(d)&&(g?(b(A),A=-1):g=!0,q(x,H-G))):(B.sortIndex=Z,t(u,B),v||f||(v=!0,j(D))),B},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(B){var P=h;return function(){var H=h;h=P;try{return B.apply(this,arguments)}finally{h=H}}}})(iC);lC.exports=iC;var TL=lC.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var BL=s,It=TL;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),am=Object.prototype.hasOwnProperty,LL=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A4={},_4={};function $L(e){return am.call(_4,e)?!0:am.call(A4,e)?!1:LL.test(e)?_4[e]=!0:(A4[e]=!0,!1)}function OL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ML(e,t,r,n){if(t===null||typeof t>"u"||OL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,r,n,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ue[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var c2=/[\-:]([a-z])/g;function d2(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function p2(e,t,r,n){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:n||!(2i||o[l]!==a[i]){var u=` -`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{lp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ni(e):""}function PL(e){switch(e.tag){case 5:return Ni(e.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 2:case 15:return e=ip(e.type,!1),e;case 11:return e=ip(e.type.render,!1),e;case 1:return e=ip(e.type,!0),e;default:return""}}function um(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wa:return"Fragment";case Ua:return"Portal";case lm:return"Profiler";case f2:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case uC:return(e._context.displayName||"Context")+".Provider";case h2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case m2:return t=e.displayName||null,t!==null?t:um(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return um(e(t))}catch{}}return null}function NL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return um(t);case 8:return t===f2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HL(e){var t=pC(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nu(e){e._valueTracker||(e._valueTracker=HL(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pC(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function w0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function cm(e,t){var r=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function R4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ro(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hC(e,t){t=t.checked,t!=null&&p2(e,"checked",t,!1)}function dm(e,t){hC(e,t);var r=ro(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pm(e,t.type,r):t.hasOwnProperty("defaultValue")&&pm(e,t.type,ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function I4(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function pm(e,t,r){(t!=="number"||w0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hi=Array.isArray;function ol(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Hu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ks(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var as={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jL=["Webkit","ms","Moz","O"];Object.keys(as).forEach(function(e){jL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),as[t]=as[e]})});function yC(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||as.hasOwnProperty(e)&&as[e]?(""+t).trim():t+"px"}function wC(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=yC(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var VL=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mm(e,t){if(t){if(VL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function gm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vm=null;function g2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ym=null,al=null,ll=null;function B4(e){if(e=du(e)){if(typeof ym!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Hd(t),ym(e.stateNode,e.type,t))}}function bC(e){al?ll?ll.push(e):ll=[e]:al=e}function EC(){if(al){var e=al,t=ll;if(ll=al=null,B4(e),t)for(e=0;e>>=0,e===0?32:31-(e$(e)/t$|0)|0}var ju=64,Vu=4194304;function ji(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function C0(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var i=l&~o;i!==0?n=ji(i):(a&=l,a!==0&&(n=ji(a)))}else l=r&~o,l!==0?n=ji(l):a!==0&&(n=ji(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function uu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-cr(t),e[t]=r}function a$(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=is),V4=" ",U4=!1;function HC(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qa=!1;function L$(e,t){switch(e){case"compositionend":return jC(t);case"keypress":return t.which!==32?null:(U4=!0,V4);case"textInput":return e=t.data,e===V4&&U4?null:e;default:return null}}function $$(e,t){if(qa)return e==="compositionend"||!D2&&HC(e,t)?(e=PC(),$c=E2=Vn=null,qa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=K4(r)}}function qC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function GC(){for(var e=window,t=w0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=w0(e.document)}return t}function S2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function W$(e){var t=GC(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&qC(r.ownerDocument.documentElement,r)){if(n!==null&&S2(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=Y4(r,a);var l=Y4(r,n);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ga=null,Dm=null,us=null,Sm=!1;function Z4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Sm||Ga==null||Ga!==w0(n)||(n=Ga,"selectionStart"in n&&S2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),us&&zs(us,n)||(us=n,n=k0(Dm,"onSelect"),0Za||(e.current=Im[Za],Im[Za]=null,Za--)}function ce(e,t){Za++,Im[Za]=e.current,e.current=t}var no={},tt=fo(no),mt=fo(!1),Jo=no;function Rl(e,t){var r=e.type.contextTypes;if(!r)return no;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gt(e){return e=e.childContextTypes,e!=null}function _0(){fe(mt),fe(tt)}function n3(e,t,r){if(tt.current!==no)throw Error(O(168));ce(tt,t),ce(mt,r)}function r9(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(O(108,NL(e)||"Unknown",o));return we({},r,n)}function F0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,Jo=tt.current,ce(tt,e),ce(mt,mt.current),!0}function o3(e,t,r){var n=e.stateNode;if(!n)throw Error(O(169));r?(e=r9(e,t,Jo),n.__reactInternalMemoizedMergedChildContext=e,fe(mt),fe(tt),ce(tt,e)):fe(mt),ce(mt,r)}var cn=null,jd=!1,Ep=!1;function n9(e){cn===null?cn=[e]:cn.push(e)}function nO(e){jd=!0,n9(e)}function ho(){if(!Ep&&cn!==null){Ep=!0;var e=0,t=ue;try{var r=cn;for(ue=1;e>=l,o-=l,pn=1<<32-cr(t)+o|r<A?(_=k,k=null):_=k.sibling;var R=h(b,k,E[A],x);if(R===null){k===null&&(k=_);break}e&&k&&R.alternate===null&&t(b,k),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R,k=_}if(A===E.length)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;AA?(_=k,k=null):_=k.sibling;var z=h(b,k,R.value,x);if(z===null){k===null&&(k=_);break}e&&k&&z.alternate===null&&t(b,k),y=a(z,y,A),S===null?D=z:S.sibling=z,S=z,k=_}if(R.done)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;!R.done;A++,R=E.next())R=m(b,R.value,x),R!==null&&(y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return me&&Ro(b,A),D}for(k=n(b,k);!R.done;A++,R=E.next())R=f(k,b,A,R.value,x),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?A:R.key),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return e&&k.forEach(function(L){return t(b,L)}),me&&Ro(b,A),D}function C(b,y,E,x){if(typeof E=="object"&&E!==null&&E.type===Wa&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pu:e:{for(var D=E.key,S=y;S!==null;){if(S.key===D){if(D=E.type,D===Wa){if(S.tag===7){r(b,S.sibling),y=o(S,E.props.children),y.return=b,b=y;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ln&&i3(D)===S.type){r(b,S.sibling),y=o(S,E.props),y.ref=wi(b,S,E),y.return=b,b=y;break e}r(b,S);break}else t(b,S);S=S.sibling}E.type===Wa?(y=Ko(E.props.children,b.mode,x,E.key),y.return=b,b=y):(x=Uc(E.type,E.key,E.props,null,b.mode,x),x.ref=wi(b,y,E),x.return=b,b=x)}return l(b);case Ua:e:{for(S=E.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){r(b,y.sibling),y=o(y,E.children||[]),y.return=b,b=y;break e}else{r(b,y);break}else t(b,y);y=y.sibling}y=Fp(E,b.mode,x),y.return=b,b=y}return l(b);case Ln:return S=E._init,C(b,y,S(E._payload),x)}if(Hi(E))return v(b,y,E,x);if(fi(E))return g(b,y,E,x);Zu(b,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(r(b,y.sibling),y=o(y,E),y.return=b,b=y):(r(b,y),y=_p(E,b.mode,x),y.return=b,b=y),l(b)):r(b,y)}return C}var zl=i9(!0),s9=i9(!1),z0=fo(null),T0=null,Qa=null,F2=null;function R2(){F2=Qa=T0=null}function I2(e){var t=z0.current;fe(z0),e._currentValue=t}function Bm(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function sl(e,t){T0=e,F2=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ft=!0),e.firstContext=null)}function jt(e){var t=e._currentValue;if(F2!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(T0===null)throw Error(O(308));Qa=e,T0.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var Mo=null;function z2(e){Mo===null?Mo=[e]:Mo.push(e)}function u9(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,z2(t)):(r.next=o.next,o.next=r),t.interleaved=r,bn(e,n)}function bn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var $n=!1;function T2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function c9(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ae&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,bn(e,r)}return o=n.interleaved,o===null?(t.next=t,z2(n)):(t.next=o.next,o.next=t),n.interleaved=t,bn(e,r)}function Mc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}function s3(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=l:a=a.next=l,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function B0(e,t,r,n){var o=e.updateQueue;$n=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var u=i,d=u.next;u.next=null,l===null?a=d:l.next=d,l=u;var p=e.alternate;p!==null&&(p=p.updateQueue,i=p.lastBaseUpdate,i!==l&&(i===null?p.firstBaseUpdate=d:i.next=d,p.lastBaseUpdate=u))}if(a!==null){var m=o.baseState;l=0,p=d=u=null,i=a;do{var h=i.lane,f=i.eventTime;if((n&h)===h){p!==null&&(p=p.next={eventTime:f,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var v=e,g=i;switch(h=t,f=r,g.tag){case 1:if(v=g.payload,typeof v=="function"){m=v.call(f,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,h=typeof v=="function"?v.call(f,m,h):v,h==null)break e;m=we({},m,h);break e;case 2:$n=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else f={eventTime:f,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(d=p=f,u=m):p=p.next=f,l|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(p===null&&(u=m),o.baseState=u,o.firstBaseUpdate=d,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ta|=l,e.lanes=l,e.memoizedState=m}}function u3(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Cp.transition;Cp.transition={};try{e(!1),t()}finally{ue=r,Cp.transition=n}}function A9(){return Vt().memoizedState}function iO(e,t,r){var n=Xn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},_9(e))F9(t,r);else if(r=u9(e,t,r,n),r!==null){var o=lt();dr(r,e,n,o),R9(r,t,n)}}function sO(e,t,r){var n=Xn(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(_9(e))F9(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,i=a(l,r);if(o.hasEagerState=!0,o.eagerState=i,fr(i,l)){var u=t.interleaved;u===null?(o.next=o,z2(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=u9(e,t,o,n),r!==null&&(o=lt(),dr(r,e,n,o),R9(r,t,n))}}function _9(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function F9(e,t){cs=$0=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function R9(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}var O0={readContext:jt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},uO={readContext:jt,useCallback:function(e,t){return Ir().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:d3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Nc(4194308,4,x9.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nc(4,2,e,t)},useMemo:function(e,t){var r=Ir();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ir();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iO.bind(null,ye,e),[n.memoizedState,e]},useRef:function(e){var t=Ir();return e={current:e},t.memoizedState=e},useState:c3,useDebugValue:H2,useDeferredValue:function(e){return Ir().memoizedState=e},useTransition:function(){var e=c3(!1),t=e[0];return e=lO.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ye,o=Ir();if(me){if(r===void 0)throw Error(O(407));r=r()}else{if(r=t(),Ne===null)throw Error(O(349));ea&30||h9(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,d3(g9.bind(null,n,a,e),[e]),n.flags|=2048,Ns(9,m9.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ir(),t=Ne.identifierPrefix;if(me){var r=fn,n=pn;r=(n&~(1<<32-cr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ms++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Lr]=t,e[Ls]=n,N9(e,t,!1,!1),t.stateNode=e;e:{switch(l=gm(r,n),r){case"dialog":de("cancel",e),de("close",e),o=n;break;case"iframe":case"object":case"embed":de("load",e),o=n;break;case"video":case"audio":for(o=0;oLl&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304)}else{if(!n)if(e=L0(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),bi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!me)return Ye(t),null}else 2*Ce()-a.renderingStartTime>Ll&&r!==1073741824&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ce(),t.sibling=null,r=ve.current,ce(ve,n?r&1|2:r&1),t):(Ye(t),null);case 22:case 23:return G2(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?St&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function vO(e,t){switch(A2(t),t.tag){case 1:return gt(t.type)&&_0(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tl(),fe(mt),fe(tt),$2(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return L2(t),null;case 13:if(fe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(ve),null;case 4:return Tl(),null;case 10:return I2(t.type._context),null;case 22:case 23:return G2(),null;case 24:return null;default:return null}}var Ju=!1,et=!1,yO=typeof WeakSet=="function"?WeakSet:Set,V=null;function el(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){be(e,t,n)}else r.current=null}function Vm(e,t,r){try{r()}catch(n){be(e,t,n)}}var x3=!1;function wO(e,t){if(km=D0,e=GC(),S2(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,i=-1,u=-1,d=0,p=0,m=e,h=null;t:for(;;){for(var f;m!==r||o!==0&&m.nodeType!==3||(i=l+o),m!==a||n!==0&&m.nodeType!==3||(u=l+n),m.nodeType===3&&(l+=m.nodeValue.length),(f=m.firstChild)!==null;)h=m,m=f;for(;;){if(m===e)break t;if(h===r&&++d===o&&(i=l),h===a&&++p===n&&(u=l),(f=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=f}r=i===-1||u===-1?null:{start:i,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Am={focusedElem:e,selectionRange:r},D0=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,C=v.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:rr(t.type,g),C);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){be(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=x3,x3=!1,v}function ds(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Vm(t,r,a)}o=o.next}while(o!==n)}}function Wd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Um(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function V9(e){var t=e.alternate;t!==null&&(e.alternate=null,V9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lr],delete t[Ls],delete t[Rm],delete t[tO],delete t[rO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U9(e){return e.tag===5||e.tag===3||e.tag===4}function C3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=A0));else if(n!==4&&(e=e.child,e!==null))for(Wm(e,t,r),e=e.sibling;e!==null;)Wm(e,t,r),e=e.sibling}function qm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(qm(e,t,r),e=e.sibling;e!==null;)qm(e,t,r),e=e.sibling}var He=null,nr=!1;function An(e,t,r){for(r=r.child;r!==null;)W9(e,t,r),r=r.sibling}function W9(e,t,r){if(Hr&&typeof Hr.onCommitFiberUnmount=="function")try{Hr.onCommitFiberUnmount(Od,r)}catch{}switch(r.tag){case 5:et||el(r,t);case 6:var n=He,o=nr;He=null,An(e,t,r),He=n,nr=o,He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):He.removeChild(r.stateNode));break;case 18:He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?bp(e.parentNode,r):e.nodeType===1&&bp(e,r),Rs(e)):bp(He,r.stateNode));break;case 4:n=He,o=nr,He=r.stateNode.containerInfo,nr=!0,An(e,t,r),He=n,nr=o;break;case 0:case 11:case 14:case 15:if(!et&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&Vm(r,t,l),o=o.next}while(o!==n)}An(e,t,r);break;case 1:if(!et&&(el(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(i){be(r,t,i)}An(e,t,r);break;case 21:An(e,t,r);break;case 22:r.mode&1?(et=(n=et)||r.memoizedState!==null,An(e,t,r),et=n):An(e,t,r);break;default:An(e,t,r)}}function D3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new yO),t.forEach(function(n){var o=_O.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Jt(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=l),n&=~a}if(n=o,n=Ce()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*EO(n/1960))-n,10e?16:e,Un===null)var n=!1;else{if(e=Un,Un=null,N0=0,ae&6)throw Error(O(331));var o=ae;for(ae|=4,V=e.current;V!==null;){var a=V,l=a.child;if(V.flags&16){var i=a.deletions;if(i!==null){for(var u=0;uCe()-W2?Go(e,0):U2|=r),vt(e,t)}function Q9(e,t){t===0&&(e.mode&1?(t=Vu,Vu<<=1,!(Vu&130023424)&&(Vu=4194304)):t=1);var r=lt();e=bn(e,t),e!==null&&(uu(e,t,r),vt(e,r))}function AO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Q9(e,r)}function _O(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(O(314))}n!==null&&n.delete(t),Q9(e,r)}var eD;eD=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)ft=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ft=!1,mO(e,t,r);ft=!!(e.flags&131072)}else ft=!1,me&&t.flags&1048576&&o9(t,I0,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Hc(e,t),e=t.pendingProps;var o=Rl(t,tt.current);sl(t,r),o=M2(null,t,n,e,o,r);var a=P2();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,gt(n)?(a=!0,F0(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,T2(t),o.updater=Ud,t.stateNode=o,o._reactInternals=t,$m(t,n,e,r),t=Pm(null,t,n,!0,a,r)):(t.tag=0,me&&a&&k2(t),at(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Hc(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=RO(n),e=rr(n,e),o){case 0:t=Mm(null,t,n,e,r);break e;case 1:t=w3(null,t,n,e,r);break e;case 11:t=v3(null,t,n,e,r);break e;case 14:t=y3(null,t,n,rr(n.type,e),r);break e}throw Error(O(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Mm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),w3(e,t,n,o,r);case 3:e:{if(O9(t),e===null)throw Error(O(387));n=t.pendingProps,a=t.memoizedState,o=a.element,c9(e,t),B0(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Bl(Error(O(423)),t),t=b3(e,t,n,r,o);break e}else if(n!==o){o=Bl(Error(O(424)),t),t=b3(e,t,n,r,o);break e}else for(At=Kn(t.stateNode.containerInfo.firstChild),_t=t,me=!0,ar=null,r=s9(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Il(),n===o){t=En(e,t,r);break e}at(e,t,n,r)}t=t.child}return t;case 5:return d9(t),e===null&&Tm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,_m(n,o)?l=null:a!==null&&_m(n,a)&&(t.flags|=32),$9(e,t),at(e,t,l,r),t.child;case 6:return e===null&&Tm(t),null;case 13:return M9(e,t,r);case 4:return B2(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=zl(t,null,n,r):at(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),v3(e,t,n,o,r);case 7:return at(e,t,t.pendingProps,r),t.child;case 8:return at(e,t,t.pendingProps.children,r),t.child;case 12:return at(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ce(z0,n._currentValue),n._currentValue=l,a!==null)if(fr(a.value,l)){if(a.children===o.children&&!mt.current){t=En(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){l=a.child;for(var u=i.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=hn(-1,r&-r),u.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),Bm(a.return,r,t),i.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error(O(341));l.lanes|=r,i=l.alternate,i!==null&&(i.lanes|=r),Bm(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}at(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,sl(t,r),o=jt(o),n=n(o),t.flags|=1,at(e,t,n,r),t.child;case 14:return n=t.type,o=rr(n,t.pendingProps),o=rr(n.type,o),y3(e,t,n,o,r);case 15:return B9(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Hc(e,t),t.tag=1,gt(n)?(e=!0,F0(t)):e=!1,sl(t,r),I9(t,n,o),$m(t,n,o,r),Pm(null,t,n,!0,e,r);case 19:return P9(e,t,r);case 22:return L9(e,t,r)}throw Error(O(156,t.tag))};function tD(e,t){return _C(e,t)}function FO(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,r,n){return new FO(e,t,r,n)}function Y2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RO(e){if(typeof e=="function")return Y2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===h2)return 11;if(e===m2)return 14}return 2}function Jn(e,t){var r=e.alternate;return r===null?(r=Mt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Uc(e,t,r,n,o,a){var l=2;if(n=e,typeof e=="function")Y2(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Wa:return Ko(r.children,o,a,t);case f2:l=8,o|=8;break;case lm:return e=Mt(12,r,t,o|2),e.elementType=lm,e.lanes=a,e;case im:return e=Mt(13,r,t,o),e.elementType=im,e.lanes=a,e;case sm:return e=Mt(19,r,t,o),e.elementType=sm,e.lanes=a,e;case dC:return Gd(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uC:l=10;break e;case cC:l=9;break e;case h2:l=11;break e;case m2:l=14;break e;case Ln:l=16,n=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Mt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Ko(e,t,r,n){return e=Mt(7,e,n,t),e.lanes=r,e}function Gd(e,t,r,n){return e=Mt(22,e,n,t),e.elementType=dC,e.lanes=r,e.stateNode={isHidden:!1},e}function _p(e,t,r){return e=Mt(6,e,null,t),e.lanes=r,e}function Fp(e,t,r){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function IO(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=up(0),this.expirationTimes=up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=up(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Z2(e,t,r,n,o,a,l,i,u){return e=new IO(e,t,r,i,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Mt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},T2(a),e}function zO(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aD)}catch(e){console.error(e)}}aD(),aC.exports=Bt;var fu=aC.exports;const lD=YE(fu);var OO=Object.create,Jd=Object.defineProperty,MO=Object.getOwnPropertyDescriptor,PO=Object.getOwnPropertyNames,NO=Object.getPrototypeOf,HO=Object.prototype.hasOwnProperty,c=(e,t)=>Jd(e,"name",{value:t,configurable:!0}),tc=(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')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ql=(e,t)=>{for(var r in t)Jd(e,r,{get:t[r],enumerable:!0})},jO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PO(t))!HO.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=MO(t,o))||n.enumerable});return e},We=(e,t,r)=>(r=e!=null?OO(NO(e)):{},jO(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e));function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(oe,"_extends")});function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var VO=T(()=>{c(iD,"_assertThisInitialized")});function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$l(e,t)}var ev=T(()=>{c($l,"_setPrototypeOf")});function V0(e){return V0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},V0(e)}var UO=T(()=>{c(V0,"_getPrototypeOf")}),Qd,tv=T(()=>{Qd=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),e1=Y((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof tc=="function"&&tc;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}c(l,"s");for(var i=typeof tc=="function"&&tc,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}c(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function t1(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var rv=T(()=>{c(t1,"_objectWithoutPropertiesLoose")});function sD(e,t){if(e==null)return{};var r,n,o=t1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var WO=T(()=>{rv(),c(sD,"_objectWithoutProperties")});function U0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(U0,"_arrayLikeToArray")});function cD(e){if(Array.isArray(e))return U0(e)}var qO=T(()=>{uD(),c(cD,"_arrayWithoutHoles")});function dD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var GO=T(()=>{c(dD,"_iterableToArray")});function pD(e,t){if(e){if(typeof e=="string")return U0(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U0(e,t):void 0}}var KO=T(()=>{uD(),c(pD,"_unsupportedIterableToArray")});function fD(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YO=T(()=>{c(fD,"_nonIterableSpread")});function hD(e){return cD(e)||dD(e)||pD(e)||fD()}var ZO=T(()=>{qO(),GO(),KO(),YO(),c(hD,"_toConsumableArray")});function Ol(e){"@babel/helpers - typeof";return Ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ol(e)}var mD=T(()=>{c(Ol,"_typeof")});function gD(e,t){if(Ol(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ol(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XO=T(()=>{mD(),c(gD,"toPrimitive")});function vD(e){var t=gD(e,"string");return Ol(t)=="symbol"?t:t+""}var JO=T(()=>{mD(),XO(),c(vD,"toPropertyKey")});function nv(e,t,r){return(t=vD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yD=T(()=>{JO(),c(nv,"_defineProperty")});function Xm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function No(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function bD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Wc[t]||(Wc[t]=wD(e)),Wc[t]}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(a){return a!=="token"}),o=bD(n);return o.reduce(function(a,l){return No(No({},a),r[l])},t)}function Jm(e){return e.join(" ")}function xD(e,t){var r=0;return function(n){return r+=1,n.map(function(o,a){return r1({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(a)})})}}function r1(e){var t=e.node,r=e.stylesheet,n=e.style,o=n===void 0?{}:n,a=e.useInlineStyles,l=e.key,i=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var m=xD(r,a),h;if(!a)h=No(No({},i),{},{className:Jm(i.className)});else{var f=Object.keys(r).reduce(function(b,y){return y.split(".").forEach(function(E){b.includes(E)||b.push(E)}),b},[]),v=i.className&&i.className.includes("token")?["token"]:[],g=i.className&&v.concat(i.className.filter(function(b){return!f.includes(b)}));h=No(No({},i),{},{className:Jm(g)||void 0,style:ED(i.className,Object.assign({},i.style,o),r)})}var C=m(t.children);return w.createElement(d,oe({key:l},h),C)}}var Wc,CD=T(()=>{wr(),yD(),c(Xm,"ownKeys"),c(No,"_objectSpread"),c(wD,"powerSetPermutations"),Wc={},c(bD,"getClassNameCombinations"),c(ED,"createStyleObject"),c(Jm,"createClassNameString"),c(xD,"createChildren"),c(r1,"createElement")}),DD,QO=T(()=>{DD=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Qm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return hs({children:D,lineNumber:S,lineNumberStyle:i,largestLineNumber:l,showInlineLineNumbers:o,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&o){var k=av(i,S,l);D.unshift(ov(S,k))}return D}c(g,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(D,S,k):g(D,S)}c(C,"createLine");for(var b=c(function(){var D=p[f],S=D.children[0].value,k=SD(S);if(k){var A=S.split(` -`);A.forEach(function(_,R){var z=n&&m.length+a,L={type:"text",value:"".concat(_,` -`)};if(R===0){var $=p.slice(h+1,f).concat(hs({children:[L],className:D.properties.className})),N=C($,z);m.push(N)}else if(R===A.length-1){var M=p[f+1]&&p[f+1].children&&p[f+1].children[0],j={type:"text",value:"".concat(_)};if(M){var q=hs({children:[j],className:D.properties.className});p.splice(f+1,0,q)}else{var B=[j],P=C(B,z,D.properties.className);m.push(P)}}else{var H=[L],G=C(H,z,D.properties.className);m.push(G)}}),h=f}f++},"_loop");f{WO(),ZO(),yD(),CD(),QO(),TD=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Qm,"ownKeys"),c(lr,"_objectSpread"),BD=/\n/g,c(SD,"getNewLines"),c(kD,"getAllLineNumbers"),c(AD,"AllLineNumbers"),c(_D,"getEmWidthOfNumber"),c(ov,"getInlineLineNumber"),c(av,"assembleLineNumberStyles"),c(hs,"createLineElement"),c(lv,"flattenCodeTree"),c(FD,"processLines"),c(RD,"defaultRenderer"),c(iv,"isHighlightJs"),c(ID,"getCodeTree"),c(zD,"default")}),tM=Y((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var o={},a=0;a{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(o,a,l){this.property=o,this.normal=a,l&&(this.space=l)}c(n,"Schema")}),rM=Y((e,t)=>{var r=tM(),n=LD();t.exports=o;function o(a){for(var l=a.length,i=[],u=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),$D=Y((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(o,a){this.property=o,this.attribute=a}c(n,"Info")}),uv=Y(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),OD=Y((e,t)=>{var r=$D(),n=uv();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function l(u,d,p,m){var h=-1,f;for(i(this,"space",m),r.call(this,u,d);++h{var r=sv(),n=LD(),o=OD();t.exports=a;function a(l){var i=l.space,u=l.mustUseProperty||[],d=l.attributes||{},p=l.properties,m=l.transform,h={},f={},v,g;for(v in p)g=new o(v,m(d,v),p[v],i),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,i)}c(a,"create")}),nM=Y((e,t)=>{var r=hu();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(o,a){return"xlink:"+a.slice(5).toLowerCase()}c(n,"xlinkTransform")}),oM=Y((e,t)=>{var r=hu();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(o,a){return"xml:"+a.slice(3).toLowerCase()}c(n,"xmlTransform")}),aM=Y((e,t)=>{t.exports=r;function r(n,o){return o in n?n[o]:o}c(r,"caseSensitiveTransform")}),MD=Y((e,t)=>{var r=aM();t.exports=n;function n(o,a){return r(o,a.toLowerCase())}c(n,"caseInsensitiveTransform")}),lM=Y((e,t)=>{var r=hu(),n=MD();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),iM=Y((e,t)=>{var r=uv(),n=hu(),o=r.booleanish,a=r.number,l=r.spaceSeparated;t.exports=n({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}});function i(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(i,"ariaTransform")}),sM=Y((e,t)=>{var r=uv(),n=hu(),o=MD(),a=r.boolean,l=r.overloadedBoolean,i=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:d,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:i,controls:a,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:d,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:d,itemRef:d,itemScope:a,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:d,required:a,reversed:a,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:i,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})}),uM=Y((e,t)=>{var r=rM(),n=nM(),o=oM(),a=lM(),l=iM(),i=sM();t.exports=r([o,n,a,l,i])}),cM=Y((e,t)=>{var r=sv(),n=OD(),o=$D(),a="data";t.exports=d;var l=/^data[-\w.:]+$/i,i=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var C=r(g),b=g,y=o;return C in v.normal?v.property[v.normal[C]]:(C.length>4&&C.slice(0,4)===a&&l.test(g)&&(g.charAt(4)==="-"?b=p(g):g=m(g),y=n),new y(b,g))}c(d,"find");function p(v){var g=v.slice(5).replace(i,f);return a+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function m(v){var g=v.slice(4);return i.test(g)?v:(g=g.replace(u,h),g.charAt(0)!=="-"&&(g="-"+g),a+g)}c(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}c(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),dM=Y((e,t)=>{t.exports=n;var r=/[#.]/g;function n(o,a){for(var l=o||"",i=a||"div",u={},d=0,p,m,h;d{e.parse=o,e.stringify=a;var t="",r=" ",n=/[ \t\n\r\f]+/g;function o(l){var i=String(l||t).trim();return i===t?[]:i.split(n)}c(o,"parse");function a(l){return l.join(r).trim()}c(a,"stringify")}),fM=Y(e=>{e.parse=o,e.stringify=a;var t=",",r=" ",n="";function o(l){for(var i=[],u=String(l||n),d=u.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=u.length,m=!0),h=u.slice(p,d).trim(),(h||!m)&&i.push(h),p=d+1,d=u.indexOf(t,p);return i}c(o,"parse");function a(l,i){var u=i||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(p+t+d).trim()}c(a,"stringify")}),hM=Y((e,t)=>{var r=cM(),n=sv(),o=dM(),a=pM().parse,l=fM().parse;t.exports=u;var i={}.hasOwnProperty;function u(C,b,y){var E=y?g(y):null;return x;function x(S,k){var A=o(S,b),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),z;if(A.tagName=E&&i.call(E,R)?E[R]:R,k&&d(k,A)&&(_.unshift(k),k=null),k)for(z in k)D(A.properties,z,k[z]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function D(S,k,A){var _,R,z;A==null||A!==A||(_=r(C,k),R=_.property,z=A,typeof z=="string"&&(_.spaceSeparated?z=a(z):_.commaSeparated?z=l(z):_.commaOrSpaceSeparated&&(z=a(l(z).join(" ")))),R==="style"&&typeof A!="string"&&(z=v(z)),R==="className"&&S.className&&(z=S.className.concat(z)),S[R]=h(_,R,z))}}c(u,"factory");function d(C,b){return typeof C=="string"||"length"in C||p(b.tagName,C)}c(d,"isChildren");function p(C,b){var y=b.type;return C==="input"||!y||typeof y!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(y=y.toLowerCase(),C==="button"?y!=="menu"&&y!=="submit"&&y!=="reset"&&y!=="button":"value"in b)}c(p,"isNode");function m(C,b){var y,E;if(typeof b=="string"||typeof b=="number"){C.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(y=-1,E=b.length;++y{var r=uM(),n=hM(),o=n(r,"div");o.displayName="html",t.exports=o}),gM=Y((e,t)=>{t.exports=mM()}),vM=Y((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),yM=Y((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),PD=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=48&&o<=57}c(r,"decimal")}),wM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}c(r,"hexadecimal")}),bM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=122||o>=65&&o<=90}c(r,"alphabetical")}),EM=Y((e,t)=>{var r=bM(),n=PD();t.exports=o;function o(a){return r(a)||n(a)}c(o,"alphanumerical")}),xM=Y((e,t)=>{var r,n=59;t.exports=o;function o(a){var l="&"+a+";",i;return r=r||document.createElement("i"),r.innerHTML=l,i=r.textContent,i.charCodeAt(i.length-1)===n&&a!=="semi"||i===l?!1:i}c(o,"decodeEntity")}),CM=Y((e,t)=>{var r=vM(),n=yM(),o=PD(),a=wM(),l=EM(),i=xM();t.exports=G;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,C=38,b=59,y=60,E=61,x=35,D=88,S=120,k=65533,A="named",_="hexadecimal",R="decimal",z={};z[_]=16,z[R]=10;var L={};L[A]=l,L[R]=o,L[_]=a;var $=1,N=2,M=3,j=4,q=5,B=6,P=7,H={};H[$]="Named character references must be terminated by a semicolon",H[N]="Numeric character references must be terminated by a semicolon",H[M]="Named character references cannot be empty",H[j]="Numeric character references cannot be empty",H[q]="Named character references must be known",H[B]="Numeric character references cannot be disallowed",H[P]="Numeric character references cannot be outside the permissible Unicode range";function G(U,X){var re={},_e,qe;X||(X={});for(qe in m)_e=X[qe],re[qe]=_e??m[qe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),Z(U,re)}c(G,"parseEntities");function Z(U,X){var re=X.additional,_e=X.nonTerminated,qe=X.text,xr=X.reference,xt=X.warning,Yt=X.textContext,W=X.referenceContext,Zt=X.warningContext,Cr=X.position,bo=X.indent||[],Ca=U.length,Dr=0,Tu=-1,rt=Cr.column||1,Eo=Cr.line||1,Sr="",Da=[],kr,Sa,Ar,Ge,Xt,Le,De,_r,Bu,G1,xo,ui,Co,en,Jy,ci,Lu,Fr,$e;for(typeof re=="string"&&(re=re.charCodeAt(0)),ci=di(),_r=xt?Jz:p,Dr--,Ca++;++Dr65535&&(Le-=65536,G1+=d(Le>>>10|55296),Le=56320|Le&1023),Le=G1+d(Le))):en!==A&&_r(j,Fr)),Le?(Qy(),ci=di(),Dr=$e-1,rt+=$e-Co+1,Da.push(Le),Lu=di(),Lu.offset++,xr&&xr.call(W,Le,{start:ci,end:Lu},U.slice(Co-1,$e)),ci=Lu):(Ge=U.slice(Co-1,$e),Sr+=Ge,rt+=Ge.length,Dr=$e-1)}else Xt===10&&(Eo++,Tu++,rt=0),Xt===Xt?(Sr+=d(Xt),rt++):Qy();return Da.join("");function di(){return{line:Eo,column:rt,offset:Dr+(Cr.offset||0)}}function Jz(e4,t4){var K1=di();K1.column+=t4,K1.offset+=t4,xt.call(Zt,H[e4],K1,e4)}function Qy(){Sr&&(Da.push(Sr),qe&&qe.call(Yt,Sr,{start:ci,end:di()}),Sr="")}}c(Z,"parse");function Q(U){return U>=55296&&U<=57343||U>1114111}c(Q,"prohibited");function ie(U){return U>=1&&U<=8||U===11||U>=13&&U<=31||U>=127&&U<=159||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534}c(ie,"disallowed")}),DM=Y((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(o){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,i={},u={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:c(function E(x){return x instanceof d?new d(x.type,E(x.content),x.alias):Array.isArray(x)?x.map(E):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var x=document.getElementsByTagName("script");for(var D in x)if(x[D].src==E)return x[D]}return null}},"currentScript"),isActive:c(function(E,x,D){for(var S="no-"+x;E;){var k=E.classList;if(k.contains(x))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!D},"isActive")},languages:{plain:i,plaintext:i,text:i,txt:i,extend:c(function(E,x){var D=u.util.clone(u.languages[E]);for(var S in x)D[S]=x[S];return D},"extend"),insertBefore:c(function(E,x,D,S){S=S||u.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==x)for(var R in D)D.hasOwnProperty(R)&&(A[R]=D[R]);D.hasOwnProperty(_)||(A[_]=k[_])}var z=S[E];return S[E]=A,u.languages.DFS(u.languages,function(L,$){$===z&&L!=E&&(this[L]=A)}),A},"insertBefore"),DFS:c(function E(x,D,S,k){k=k||{};var A=u.util.objId;for(var _ in x)if(x.hasOwnProperty(_)){D.call(x,_,x[_],S||_);var R=x[_],z=u.util.type(R);z==="Object"&&!k[A(R)]?(k[A(R)]=!0,E(R,D,null,k)):z==="Array"&&!k[A(R)]&&(k[A(R)]=!0,E(R,D,_,k))}},"DFS")},plugins:{},highlightAll:c(function(E,x){u.highlightAllUnder(document,E,x)},"highlightAll"),highlightAllUnder:c(function(E,x,D){var S={callback:D,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)u.highlightElement(A,x===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(E,x,D){var S=u.util.getLanguage(E),k=u.languages[S];u.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(A,S);var _=E.textContent,R={element:E,language:S,grammar:k,code:_};function z($){R.highlightedCode=$,u.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,u.hooks.run("after-highlight",R),u.hooks.run("complete",R),D&&D.call(R.element)}if(c(z,"insertHighlightedCode"),u.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){u.hooks.run("complete",R),D&&D.call(R.element);return}if(u.hooks.run("before-highlight",R),!R.grammar){z(u.util.encode(R.code));return}if(x&&o.Worker){var L=new Worker(u.filename);L.onmessage=function($){z($.data)},L.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else z(u.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:c(function(E,x,D){var S={code:E,grammar:x,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(E,x){var D=x.rest;if(D){for(var S in D)x[S]=D[S];delete x.rest}var k=new h;return f(k,k.head,E),m(E,k,x,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:c(function(E,x){var D=u.hooks.all;D[E]=D[E]||[],D[E].push(x)},"add"),run:c(function(E,x){var D=u.hooks.all[E];if(!(!D||!D.length))for(var S=0,k;k=D[S++];)k(x)},"run")},Token:d};o.Prism=u;function d(E,x,D,S){this.type=E,this.content=x,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function E(x,D){if(typeof x=="string")return x;if(Array.isArray(x)){var S="";return x.forEach(function(z){S+=E(z,D)}),S}var k={type:x.type,content:E(x.content,D),tag:"span",classes:["token",x.type],attributes:{},language:D},A=x.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),u.hooks.run("wrap",k);var _="";for(var R in k.attributes)_+=" "+R+'="'+(k.attributes[R]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""},"stringify");function p(E,x,D,S){E.lastIndex=x;var k=E.exec(D);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}c(p,"matchPattern");function m(E,x,D,S,k,A){for(var _ in D)if(!(!D.hasOwnProperty(_)||!D[_])){var R=D[_];R=Array.isArray(R)?R:[R];for(var z=0;z=A.reach);H+=P.value.length,P=P.next){var G=P.value;if(x.length>E.length)return;if(!(G instanceof d)){var Z=1,Q;if(M){if(Q=p(B,H,E,N),!Q||Q.index>=E.length)break;var re=Q.index,ie=Q.index+Q[0].length,U=H;for(U+=P.value.length;re>=U;)P=P.next,U+=P.value.length;if(U-=P.value.length,H=U,P.value instanceof d)continue;for(var X=P;X!==x.tail&&(UA.reach&&(A.reach=xt);var Yt=P.prev;qe&&(Yt=f(x,Yt,qe),H+=qe.length),v(x,Yt,Z);var W=new d(_,$?u.tokenize(_e,$):_e,j,_e);if(P=f(x,Yt,W),xr&&f(x,P,xr),Z>1){var Zt={cause:_+","+z,reach:xt};m(E,x,D,P.prev,H,Zt),A&&Zt.reach>A.reach&&(A.reach=Zt.reach)}}}}}}c(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},x={value:null,prev:E,next:null};E.next=x,this.head=E,this.tail=x,this.length=0}c(h,"LinkedList");function f(E,x,D){var S=x.next,k={value:D,prev:x,next:S};return x.next=k,S.prev=k,E.length++,k}c(f,"addAfter");function v(E,x,D){for(var S=x.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(o,a){var l={};l["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},l.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:l}};i["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var u={};u[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(o,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),HD=Y((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(o){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var l=o.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}c(r,"css")}),SM=Y((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}c(r,"clike")}),kM=Y((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}c(r,"javascript")}),AM=Y((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var o=gM(),a=CM(),l=DM(),i=ND(),u=HD(),d=SM(),p=kM();n();var m={}.hasOwnProperty;function h(){}c(h,"Refractor"),h.prototype=l;var f=new h;t.exports=f,f.highlight=C,f.register=v,f.alias=g,f.registered=b,f.listLanguages=y,v(i),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}c(v,"register");function g(A,_){var R=f.languages,z=A,L,$,N,M;_&&(z={},z[A]=_);for(L in z)for($=z[L],$=typeof $=="string"?[$]:$,N=$.length,M=-1;++M{eM(),rc=We(AM()),nc=zD(rc.default,{}),nc.registerLanguage=function(e,t){return rc.default.register(t)},nc.alias=function(e,t){return rc.default.alias(e,t)},qc=nc}),FM=T(()=>{CD()}),RM=Y((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(o){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:l,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=o.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=i.variable[1].inside,p=0;p{z3=We(RM()),jD=z3.default}),T3,VD,zM=T(()=>{T3=We(HD()),VD=T3.default}),TM=Y((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(o){if(o.language!=="graphql")return;var a=o.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),l=0;function i(y){return a[l+y]}c(i,"getToken");function u(y,E){E=E||0;for(var x=0;x0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var C=l;C=0&&p(b,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),B3,UD,BM=T(()=>{B3=We(TM()),UD=B3.default}),LM=Y((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(o){o.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+o.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),o.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+o.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),o.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function a(m,h){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}c(a,"withId"),o.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var l=["function","function-variable","method","method-variable","property-access"],i=0;i{L3=We(LM()),WD=L3.default}),OM=Y((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),$3,qD,MM=T(()=>{$3=We(OM()),qD=$3.default}),GD=Y((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(o){var a=o.util.clone(o.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return l}).replace(//g,function(){return i}).replace(//g,function(){return u}),RegExp(h,f)}c(d,"re"),u=d(u).source,o.languages.jsx=o.languages.extend("markup",a),o.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=a.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var p=c(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=c(function(h){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:C=!0),(C||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var b=p(g);v0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(b=p(h[v-1])+b,h.splice(v-1,1),v--),h[v]=new o.Token("plain-text",b,null,b)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");o.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}c(r,"jsx")}),O3,KD,PM=T(()=>{O3=We(GD()),KD=O3.default}),NM=Y((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(o){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(l,"createInline");var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(o.languages.markdown[v].inside.content.inside[g]=o.languages.markdown[g])})}),o.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(C){if(!(!C||typeof C=="string"))for(var b=0,y=C.length;b",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(C,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),h(y)}else{var E=m[b];return E||C}}),g}c(f,"textContent"),o.languages.md=o.languages.markdown})(n)}c(r,"markdown")}),M3,YD,HM=T(()=>{M3=We(NM()),YD=M3.default}),P3,ZD,jM=T(()=>{P3=We(ND()),ZD=P3.default}),XD=Y((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(o){o.languages.typescript=o.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),o.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var a=o.languages.extend("typescript",{});delete a["class-name"],o.languages.typescript["class-name"].inside=a,o.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),o.languages.ts=o.languages.typescript})(n)}c(r,"typescript")}),VM=Y((e,t)=>{var r=GD(),n=XD();t.exports=o,o.displayName="tsx",o.aliases=[];function o(a){a.register(r),a.register(n),function(l){var i=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",i),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var u=l.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(a)}c(o,"tsx")}),N3,JD,UM=T(()=>{N3=We(VM()),JD=N3.default}),H3,QD,WM=T(()=>{H3=We(XD()),QD=H3.default}),qM=Y((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(o){var a=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+l.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+l.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return m});return RegExp(f,h)}c(p,"createValuePattern"),o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(n)}c(r,"yaml")}),j3,eS,GM=T(()=>{j3=We(qM()),eS=j3.default}),V3,Rp,cv,tS=T(()=>{V3=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Rp=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Rp.displayName="ActionButton",cv=c(({actionItems:e,...t})=>w.createElement(V3,{...t},e.map(({title:r,className:n,onClick:o,disabled:a},l)=>w.createElement(Rp,{key:l,className:n,onClick:o,disabled:!!a},r))),"ActionBar")});function rS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nS(...e){return t=>e.forEach(r=>rS(r,t))}var KM=T(()=>{c(rS,"setRef"),c(nS,"composeRefs")});function U3(e){return s.isValidElement(e)&&e.type===oS}function W3(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function q3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var W0,oc,oS,aS=T(()=>{KM(),W0=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(U3);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return ne.jsx(oc,{...n,ref:t,children:s.isValidElement(l)?s.cloneElement(l,void 0,i):null})}return ne.jsx(oc,{...n,ref:t,children:r})}),W0.displayName="Slot",oc=s.forwardRef((e,t)=>{let{children:r,...n}=e;if(s.isValidElement(r)){let o=q3(r);return s.cloneElement(r,{...W3(n,r.props),ref:t?nS(t,o):o})}return s.Children.count(r)>1?s.Children.only(null):null}),oc.displayName="SlotClone",oS=c(({children:e})=>ne.jsx(ne.Fragment,{children:e}),"Slottable"),c(U3,"isSlottable"),c(W3,"mergeProps"),c(q3,"getElementRef")}),G3,Oa,YM=T(()=>{aS(),G3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Oa=G3.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?W0:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ne.jsx(i,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function lS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function iS(...e){return t=>e.forEach(r=>lS(r,t))}function On(...e){return s.useCallback(iS(...e),e)}var sS=T(()=>{c(lS,"setRef"),c(iS,"composeRefs"),c(On,"useComposedRefs")}),q0,uS=T(()=>{q0=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{}});function cS(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function K3(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=cS(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=Ui(n.current);a.current=i==="mounted"?d:"none"},[i]),q0(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=Ui(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),q0(()=>{if(t){let d=c(m=>{let h=Ui(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=Ui(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Ui(e){return(e==null?void 0:e.animationName)||"none"}function Y3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rl,ZM=T(()=>{"use client";sS(),uS(),c(cS,"useStateMachine"),rl=c(e=>{let{present:t,children:r}=e,n=K3(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=On(n.ref,Y3(o));return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"Presence"),rl.displayName="Presence",c(K3,"usePresence"),c(Ui,"getAnimationName"),c(Y3,"getElementRef")});function dS(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return ne.jsx(g.Provider,{value:C,children:f})}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext2"),d.displayName=a+"Provider",[d,p]}c(n,"createContext3");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,pS(o,...t)]}function pS(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var XM=T(()=>{c(dS,"createContextScope"),c(pS,"composeContextScopes")});function jn(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var JM=T(()=>{c(jn,"useCallbackRef")});function fS(e){let t=s.useContext(hS);return e||t||"ltr"}var hS,QM=T(()=>{hS=s.createContext(void 0),c(fS,"useDirection")});function mS(e,[t,r]){return Math.min(r,Math.max(t,e))}var eP=T(()=>{c(mS,"clamp")});function In(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var tP=T(()=>{c(In,"composeEventHandlers")});function Z3(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function xi(e){return e?parseInt(e,10):0}function eg(e,t){let r=e/t;return isNaN(r)?0:r}function ms(e){let t=eg(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function X3(e,t,r,n="ltr"){let o=ms(r),a=o/2,l=t||a,i=o-l,u=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return dv([u,d],m)(e)}function Ip(e,t,r="ltr"){let n=ms(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,l=t.content-t.viewport,i=a-n,u=r==="ltr"?[0,l]:[l*-1,0],d=mS(e,u);return dv([0,l],[0,i])(d)}function dv(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function zp(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Do(e,t){let r=jn(t);q0(()=>{let n=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}function J3(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let o=s.Children.only(n);return s.cloneElement(o,{children:typeof t=="function"?t(o.props.children):t})}var ac,Tp,rP,Q3,Ct,Bp,Lp,$p,Qt,Op,ew,tw,Mp,lc,rw,nw,ow,Pp,Np,Di,Hp,aw,ic,jp,lw,iw,gS,vS,yS,wS,bS,nP=T(()=>{"use client";YM(),ZM(),XM(),sS(),JM(),QM(),uS(),eP(),tP(),c(Z3,"useStateMachine"),ac="ScrollArea",[Tp,rP]=dS(ac),[Q3,Ct]=Tp(ac),Bp=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:a=600,...l}=e,[i,u]=s.useState(null),[d,p]=s.useState(null),[m,h]=s.useState(null),[f,v]=s.useState(null),[g,C]=s.useState(null),[b,y]=s.useState(0),[E,x]=s.useState(0),[D,S]=s.useState(!1),[k,A]=s.useState(!1),_=On(t,z=>u(z)),R=fS(o);return ne.jsx(Q3,{scope:r,type:n,dir:R,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:C,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:x,children:ne.jsx(Oa.div,{dir:R,...l,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),Bp.displayName=ac,Lp="ScrollAreaViewport",$p=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:o,nonce:a,...l}=e,i=Ct(Lp,r),u=s.useRef(null),d=On(t,u,i.onViewportChange);return ne.jsxs(ne.Fragment,{children:[ne.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:a}),ne.jsx(Oa.div,{"data-radix-scroll-area-viewport":"",...l,asChild:o,ref:d,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:J3({asChild:o,children:n},p=>ne.jsx("div",{"data-radix-scroll-area-content":"",ref:i.onContentChange,style:{minWidth:i.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),$p.displayName=Lp,Qt="ScrollAreaScrollbar",Op=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?a(!0):l(!0),()=>{i?a(!1):l(!1)}),[i,a,l]),o.type==="hover"?ne.jsx(ew,{...n,ref:t,forceMount:r}):o.type==="scroll"?ne.jsx(tw,{...n,ref:t,forceMount:r}):o.type==="auto"?ne.jsx(Mp,{...n,ref:t,forceMount:r}):o.type==="always"?ne.jsx(lc,{...n,ref:t}):null}),Op.displayName=Qt,ew=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),[a,l]=s.useState(!1);return s.useEffect(()=>{let i=o.scrollArea,u=0;if(i){let d=c(()=>{window.clearTimeout(u),l(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>l(!1),o.scrollHideDelay)},"handlePointerLeave");return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",p)}}},[o.scrollArea,o.scrollHideDelay]),ne.jsx(rl,{present:r||a,children:ne.jsx(Mp,{"data-state":a?"visible":"hidden",...n,ref:t})})}),tw=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=e.orientation==="horizontal",l=Ci(()=>u("SCROLL_END"),100),[i,u]=Z3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){let d=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,u]),s.useEffect(()=>{let d=o.viewport,p=a?"scrollLeft":"scrollTop";if(d){let m=d[p],h=c(()=>{let f=d[p];m!==f&&(u("SCROLL"),l()),m=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[o.viewport,a,u,l]),ne.jsx(rl,{present:r||i!=="hidden",children:ne.jsx(lc,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:In(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:In(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),Mp=s.forwardRef((e,t)=>{let r=Ct(Qt,e.__scopeScrollArea),{forceMount:n,...o}=e,[a,l]=s.useState(!1),i=e.orientation==="horizontal",u=Ci(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=s.useRef(null),l=s.useRef(0),[i,u]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=eg(i.viewport,i.content),p={...n,sizes:i,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(h=>a.current=h,"onThumbChange"),onThumbPointerUp:c(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:c(h=>l.current=h,"onThumbPointerDown")};function m(h,f){return X3(h,l.current,i,f)}return c(m,"getScrollPosition"),r==="horizontal"?ne.jsx(rw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollLeft,f=Ip(h,i,o.dir);a.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=m(h,o.dir))},"onDragScroll")}):r==="vertical"?ne.jsx(nw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollTop,f=Ip(h,i);a.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=m(h))},"onDragScroll")}):null}),rw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarXChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:xi(l.paddingLeft),paddingEnd:xi(l.paddingRight)}})},"onResize")})}),nw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarYChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:xi(l.paddingTop),paddingEnd:xi(l.paddingBottom)}})},"onResize")})}),[ow,Pp]=Tp(Qt),Np=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:m,...h}=e,f=Ct(Qt,r),[v,g]=s.useState(null),C=On(t,_=>g(_)),b=s.useRef(null),y=s.useRef(""),E=f.viewport,x=n.content-n.viewport,D=jn(p),S=jn(u),k=Ci(m,10);function A(_){if(b.current){let R=_.clientX-b.current.left,z=_.clientY-b.current.top;d({x:R,y:z})}}return c(A,"handleDragScroll"),s.useEffect(()=>{let _=c(R=>{let z=R.target;v!=null&&v.contains(z)&&D(R,x)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,v,x,D]),s.useEffect(S,[n,S]),Do(v,k),Do(f.content,k),ne.jsx(ow,{scope:r,scrollbar:v,hasThumb:o,onThumbChange:jn(a),onThumbPointerUp:jn(l),onThumbPositionChange:S,onThumbPointerDown:jn(i),children:ne.jsx(Oa.div,{...h,ref:C,style:{position:"absolute",...h.style},onPointerDown:In(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),b.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:In(e.onPointerMove,A),onPointerUp:In(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),b.current=null})})})}),Di="ScrollAreaThumb",Hp=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Pp(Di,e.__scopeScrollArea);return ne.jsx(rl,{present:r||o.hasThumb,children:ne.jsx(aw,{ref:t,...n})})}),aw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,a=Ct(Di,r),l=Pp(Di,r),{onThumbPositionChange:i}=l,u=On(t,m=>l.onThumbChange(m)),d=s.useRef(),p=Ci(()=>{d.current&&(d.current(),d.current=void 0)},100);return s.useEffect(()=>{let m=a.viewport;if(m){let h=c(()=>{if(p(),!d.current){let f=iw(m,i);d.current=f,i()}},"handleScroll");return i(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[a.viewport,p,i]),ne.jsx(Oa.div,{"data-state":l.hasThumb?"visible":"hidden",...o,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:In(e.onPointerDownCapture,m=>{let h=m.target.getBoundingClientRect(),f=m.clientX-h.left,v=m.clientY-h.top;l.onThumbPointerDown({x:f,y:v})}),onPointerUp:In(e.onPointerUp,l.onThumbPointerUp)})}),Hp.displayName=Di,ic="ScrollAreaCorner",jp=s.forwardRef((e,t)=>{let r=Ct(ic,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?ne.jsx(lw,{...e,ref:t}):null}),jp.displayName=ic,lw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Ct(ic,r),[a,l]=s.useState(0),[i,u]=s.useState(0),d=!!(a&&i);return Do(o.scrollbarX,()=>{var m;let p=((m=o.scrollbarX)==null?void 0:m.offsetHeight)||0;o.onCornerHeightChange(p),u(p)}),Do(o.scrollbarY,()=>{var m;let p=((m=o.scrollbarY)==null?void 0:m.offsetWidth)||0;o.onCornerWidthChange(p),l(p)}),d?ne.jsx(Oa.div,{...n,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(xi,"toInt"),c(eg,"getThumbRatio"),c(ms,"getThumbSize"),c(X3,"getScrollPositionFromPointer"),c(Ip,"getThumbOffsetFromScroll"),c(dv,"linearScale"),c(zp,"isScrollingWithinScrollbarBounds"),iw=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function o(){let a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,i=r.top!==a.top;(l||i)&&t(),r=a,n=window.requestAnimationFrame(o)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(Ci,"useDebounceCallback"),c(Do,"useResizeObserver"),c(J3,"getSubtree"),gS=Bp,vS=$p,yS=Op,wS=Hp,bS=jp}),sw,uw,Vp,Up,G0,pv=T(()=>{nP(),sw=F(gS)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),uw=F(vS)({width:"100%",height:"100%"}),Vp=F(yS)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Up=F(wS)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),G0=s.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:a},l)=>w.createElement(sw,{scrollbarsize:o,offset:n,className:a},w.createElement(uw,{ref:l},e),t&&w.createElement(Vp,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),r&&w.createElement(Vp,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),t&&r&&w.createElement(bS,null))),G0.displayName="ScrollArea"}),fv={};Ql(fv,{SyntaxHighlighter:()=>gs,createCopyToClipboardFunction:()=>tg,default:()=>ES,supportedLanguages:()=>rg});const{logger:oP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function tg(){return Wi!=null&&Wi.clipboard?e=>Wi.clipboard.writeText(e):async e=>{let t=Ma.createElement("TEXTAREA"),r=Ma.activeElement;t.value=e,Ma.body.appendChild(t),t.select(),Ma.execCommand("copy"),Ma.body.removeChild(t),r.focus()}}var cw,Wi,Ma,dw,rg,pw,fw,hw,mw,gw,vw,yw,Wp,ww,bw,gs,ES,n1=T(()=>{tv(),cw=We(e1(),1),FM(),IM(),zM(),BM(),$M(),MM(),PM(),HM(),jM(),UM(),WM(),GM(),_M(),tS(),pv(),{navigator:Wi,document:Ma,window:dw}=Qd,rg={jsextra:WD,jsx:KD,json:qD,yml:eS,md:YD,bash:jD,css:VD,html:ZD,tsx:JD,typescript:QD,graphql:UD},Object.entries(rg).forEach(([e,t])=>{qc.registerLanguage(e,t)}),pw=(0,cw.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),fw=tg(),c(tg,"createCopyToClipboardFunction"),hw=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),mw=c(({children:e,className:t})=>w.createElement(G0,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),gw=F(mw)({position:"relative"},({theme:e})=>pw(e)),vw=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),yw=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Wp=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},"processLineNumber"),ww=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,o)=>r1({node:Wp(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})),"defaultRenderer"),bw=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(o=>Wp(o)),...n}):ww:e,"wrapRenderer"),gs=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:a=!0,formatter:l=void 0,className:i=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,m]=s.useState("");s.useEffect(()=>{l?l(a,e).then(m):m(e.trim())},[e,a,l]);let[h,f]=s.useState(!1),v=s.useCallback(C=>{C.preventDefault(),fw(p).then(()=>{f(!0),dw.setTimeout(()=>f(!1),1500)}).catch(oP.error)},[p]),g=bw(d.renderer,u);return w.createElement(hw,{bordered:n,padded:o,showLineNumbers:u,className:i},w.createElement(gw,null,w.createElement(qc,{padded:o||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:vw,CodeTag:yw,lineNumberContainerStyle:{},...d,renderer:g},p)),r?w.createElement(cv,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),gs.registerLanguage=(...e)=>qc.registerLanguage(...e),ES=gs});function Ew(e){if(typeof e=="string")return d1;if(Array.isArray(e))return p1;if(!e)return;let{type:t}=e;if(Lv.has(t))return t}function xw(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(f1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Fk([...Lv].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function br(e){return io(e),{type:Us,contents:e}}function hv(e,t){return io(t),{type:Ws,contents:t,n:e}}function Ae(e,t={}){return io(e),h1(t.expandedStates,!0),{type:Pl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function xS(e){return hv(Number.NEGATIVE_INFINITY,e)}function CS(e){return hv({type:"root"},e)}function mv(e){return h1(e),{type:qs,parts:e}}function js(e,t="",r={}){return io(e),t!==""&&io(t),{type:Gs,breakContents:e,flatContents:t,groupId:r.groupId}}function DS(e,t){return io(e),{type:Ks,contents:e,groupId:t.groupId,negate:t.negate}}function pa(e,t){io(e),h1(t);let r=[];for(let n=0;nt===""))return"";break;case Pl:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Pl&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ws:case Us:case Ks:case ed:if(!e.contents)return"";break;case Gs:if(!e.flatContents&&!e.breakContents)return"";break;case p1:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Nl(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case d1:case J0:case Q0:case td:case Mn:case rd:case ws:break;default:throw new $v(e)}return e}function kS(e){return o1(e,t=>SS(t))}function Pt(e,t=Rk){return o1(e,r=>typeof r=="string"?pa(t,r.split(` -`)):r)}function Cw(e,t){let r=t===!0||t===Zi?Zi:cg,n=r===Zi?cg:Zi,o=0,a=0;for(let l of e)l===r?o++:l===n&&a++;return o>a?n:r}function Dw(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Sw(e){return(e==null?void 0:e.type)==="front-matter"}function qp(e,t){var r;if(e.type==="text"||e.type==="comment"||xu(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)Tk.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function kw(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return CS([e.startDelimiter,e.explicitLanguage,pe,n,n?pe:"",e.endDelimiter])}}function mu(e,t=!0){return[br([je,e]),t?je:""]}function fa(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ut(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let o=!0;n&&(r.__onHtmlBindingRoot=(l,i)=>{o=n(l,i)});let a=await t(e,r,t);return o?Ae(a):mu(a)}function Aw(e,t,r,n){let{node:o}=r,a=n.originalText.slice(o.sourceSpan.start.offset,o.sourceSpan.end.offset);return/^\s*$/u.test(a)?"":Ut(a,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},fa)}function ng(e,t){if(!t)return;let r=$k(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function AS(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function _w(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=AS(r,t.language)??ng(r,t.physicalFile)??ng(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Fw(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function gv(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||na(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||l1(e,t)&&!qr(e)&&e.type!=="interpolation")}function gu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_S(e.prev)}function _S(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function kt(e){return e.type==="text"||e.type==="comment"}function qr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Hl(e)&&(e.name==="script"||e.name==="style"))}function FS(e){return e.children&&!qr(e)}function RS(e){return qr(e)||e.type==="interpolation"||vv(e)}function vv(e){return Dv(e).startsWith("pre")}function IS(e,t){var r,n;let o=a();if(o&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return o;function a(){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!NS(e.parent.cssDisplay))||e.prev&&!VS(e.prev.cssDisplay))}}function zS(e,t){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!HS(e.parent.cssDisplay))||e.next&&!jS(e.next.cssDisplay))}function TS(e){return US(e.cssDisplay)&&!qr(e)}function qi(e){return xu(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>$S(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&bv(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ev(e.lastChild))}function yv(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Gc(e){return xv(e)||e.prev&&LS(e.prev)||wv(e)}function LS(e){return xv(e)||e.type==="element"&&e.fullName==="br"||wv(e)}function wv(e){return bv(e)&&Ev(e)}function bv(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function xv(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function a1(e){return e.lastChild?a1(e.lastChild):e}function $S(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Cv(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function OS(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:o,lang:a}=e.attrMap;return!a&&!o?"babel":Cu(t,{language:a})??Cv(o)}function MS(e,t){if(!l1(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:o}=r;return Cu(t,{language:o})??Cv(n)}function PS(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Cu(t,{language:r}):"css"}function og(e,t){return OS(e,t)??PS(e,t)??MS(e,t)}function ei(e){return e==="block"||e==="list-item"||e.startsWith("table")}function NS(e){return!ei(e)&&e!=="inline-block"}function HS(e){return!ei(e)&&e!=="inline-block"}function jS(e){return!ei(e)}function VS(e){return!ei(e)}function US(e){return!ei(e)&&e!=="inline-block"}function na(e){return Dv(e).startsWith("pre")}function WS(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function qS(e,t){var r;if(ha(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let o=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(o)return o[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(WS(e,o=>o.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Hl(e))&&Mk[e.name]||Ok}}function Dv(e){return e.type==="element"&&(!e.namespace||Hl(e))&&Nk[e.name]||Pk}function GS(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=sr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function kv(e){return yt(!1,yt(!1,e,"'","'"),""",'"')}function Sn(e){return kv(e.value)}function vu(e,t){return ha(e,t)&&!jk.has(e.fullName)}function ha(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function l1(e,t){return ha(e,t)&&(vu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function KS(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function YS(e,t){let r=e.parent;if(!ha(r,t))return!1;let n=r.fullName,o=e.fullName;return n==="script"&&o==="setup"||n==="style"&&o==="vars"}function Av(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pt(t):Pt(Sv(Ov(t)),pe):pa(Be,sr.split(t))}function _v(e,t){return ha(e,t)&&e.name==="script"}async function ZS(e,t){let r=[];for(let[n,o]of e.split(Mv).entries())if(n%2===0)r.push(Pt(o));else try{r.push(Ae(["{{",br([Be,await Ut(o,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Be,"}}"]))}catch{r.push("{{",Pt(o),"}}")}return r}function sc({parser:e}){return(t,r,n)=>Ut(Sn(n.node),t,{parser:e},fa)}function Rw(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Vk;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Uk;if(n.startsWith("*"))return Wk;let o=Sn(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>mu(mv(Av(r,o.trim())),!o.includes("@@"));if(Mv.test(o))return a=>ZS(o,a)}function Iw(e,t){let{node:r}=e,n=Sn(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function ag(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function zw(e){let t=e.length,r,n,o,a,l,i=0,u;function d(f){let v,g=f.exec(e.substring(i));if(g)return[v]=g,i+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Yk),i>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=i,r=d(Zk),n=[],r.slice(-1)===","?(r=r.replace(Xk,""),h()):m()}function m(){for(d(Kk),o="",a="in descriptor";;){if(l=e.charAt(i),a==="in descriptor")if(ag(l))o&&(n.push(o),o="",a="after descriptor");else if(l===","){i+=1,o&&n.push(o),h();return}else if(l==="(")o+=l,a="in parens";else if(l===""){o&&n.push(o),h();return}else o+=l;else if(a==="in parens")if(l===")")o+=l,a="in descriptor";else if(l===""){n.push(o),h();return}else o+=l;else if(a==="after descriptor"&&!ag(l))if(l===""){h();return}else a="in descriptor",i-=1;i+=1}}c(m,"f");function h(){let f=!1,v,g,C,b,y={},E,x,D,S,k;for(b=0;bXS(Sn(e.node))}function XS(e){let t=Qk(e),r=eA.filter(p=>t.some(m=>Object.prototype.hasOwnProperty.call(m,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,o=pg[n],a=t.map(p=>p.source.value),l=Math.max(...a.map(p=>p.length)),i=t.map(p=>p[n]?String(p[n].value):""),u=i.map(p=>{let m=p.indexOf(".");return m===-1?p.length:m}),d=Math.max(...u);return mu(pa([",",Be],a.map((p,m)=>{let h=[p],f=i[m];if(f){let v=l-p.length+1,g=d-u[m],C=" ".repeat(v+g);h.push(js(C," "),f+o)}return h})))}function JS(e,t){let{node:r}=e,n=Sn(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async o=>mu(await o(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Bw(e,t){let{root:r}=e;return Kc.has(r)||Kc.set(r,r.children.some(n=>_v(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Kc.get(r)}function QS(e,t,r){let{node:n}=r,o=Sn(n);return Ut(`type T<${o}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},fa)}function ek(e,t,{parseWithTs:r}){return Ut(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tk(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function rk(e,t,r,n){let o=Sn(r.node),{left:a,operator:l,right:i}=nk(o),u=m1(r,n);return[Ae(await Ut(`function _(${a}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ut(i,e,{parser:u?"__ts_expression":"__js_expression"})]}function nk(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,o=e.match(t);if(!o)return;let a={};if(a.for=o[3].trim(),!a.for)return;let l=yt(!1,o[1].trim(),n,""),i=l.match(r);i?(a.alias=l.replace(r,""),a.iterator1=i[1].trim(),i[2]&&(a.iterator2=i[2].trim())):a.alias=l;let u=[a.alias,a.iterator1,a.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:o[2],right:a.for}}function Lw(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rk;if(n==="generic"&&_v(r.parent,t))return QS;let o=Sn(r),a=m1(e,t);if(KS(r)||YS(r,t))return l=>ek(o,l,{parseWithTs:a});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>ok(o,l,{parseWithTs:a});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>ak(o,l,{parseWithTs:a});if(n.startsWith("v-"))return l=>Fv(o,l,{parseWithTs:a})}function ok(e,t,{parseWithTs:r}){return tk(e)?Fv(e,t,{parseWithTs:r}):Ut(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},fa)}function ak(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},fa)}function Fv(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__ts_expression":"__js_expression"},fa)}function $w(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[tA,JS,Gk,rA,qk]){let o=n(e,t);if(o)return lk(o)}}}function lk(e){return async(t,r,n,o)=>{let a=await e(t,r,n,o);if(a)return a=o1(a,l=>typeof l=="string"?yt(!1,l,'"',"""):l),[n.node.rawName,'="',Ae(a),'"']}}function Ow(e){return Array.isArray(e)&&e.length>0}function yu(e){return e.sourceSpan.start.offset}function wu(e){return e.sourceSpan.end.offset}function K0(e,t){return[e.isSelfClosing?"":ik(e,t),cl(e,t)]}function ik(e,t){return e.lastChild&&Ml(e.lastChild)?"":[sk(e,t),i1(e,t)]}function cl(e,t){return(e.next?ao(e.next):ri(e.parent))?"":[ti(e,t),oo(e,t)]}function sk(e,t){return ri(e)?ti(e.lastChild,t):""}function oo(e,t){return Ml(e)?i1(e.parent,t):bu(e)?s1(e.next):""}function i1(e,t){if(Pv(!e.isSelfClosing),Rv(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rv(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(gu(e)||gv(e.parent,t))}function ao(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!kt(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ri(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!kt(a1(e.lastChild))&&!na(e)}function Ml(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&kt(a1(e))}function bu(e){return e.next&&!kt(e.next)&&kt(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uk(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Eu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ck(e,t,r){var n;let{node:o}=e;if(!g1(o.attrs))return o.isSelfClosing?" ":"";let a=((n=o.prev)==null?void 0:n.type)==="comment"&&uk(o.prev.value),l=typeof a=="boolean"?()=>a:Array.isArray(a)?m=>a.includes(m.rawName):()=>!1,i=e.map(({node:m})=>l(m)?Pt(t.originalText.slice(yu(m),wu(m))):r(),"attrs"),u=o.type==="element"&&o.fullName==="script"&&o.attrs.length===1&&o.attrs[0].fullName==="src"&&o.children.length===0,d=t.singleAttributePerLine&&o.attrs.length>1&&!ha(o,t)?pe:Be,p=[br([u?" ":Be,pa(d,i)])];return o.firstChild&&Eu(o.firstChild)||o.isSelfClosing&&ri(o.parent)||u?p.push(o.isSelfClosing?" ":""):p.push(t.bracketSameLine?o.isSelfClosing?" ":"":o.isSelfClosing?Be:je),p}function dk(e){return e.firstChild&&Eu(e.firstChild)?"":u1(e)}function Y0(e,t,r){let{node:n}=e;return[dl(n,t),ck(e,t,r),n.isSelfClosing?"":dk(n)]}function dl(e,t){return e.prev&&bu(e.prev)?"":[lo(e,t),s1(e)]}function lo(e,t){return Eu(e)?u1(e.parent):ao(e)?ti(e.prev,t):""}function s1(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function u1(e){switch(Pv(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Mw(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Eu(e.firstChild)&&(r-=u1(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Ml(e.lastChild)?n+=i1(e,t).length:ri(e)&&(n-=ti(e.lastChild,t).length),t.originalText.slice(r,n)}function Pw(e,t){let{node:r}=e;switch(r.type){case"element":if(qr(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&l1(r,t)){let n=og(r,t);return n?async(o,a)=>{let l=Nv(r,t),i=/^\s*$/u.test(l),u="";return i||(u=await o(Ov(l),{parser:n,__embeddedInHtml:!0}),i=u===""),[lo(r,t),Ae(Y0(e,t,a)),i?"":pe,u,i?"":pe,K0(r,t),oo(r,t)]}:void 0}break;case"text":if(qr(r.parent)){let n=og(r.parent,t);if(n)return async o=>{let a=n==="markdown"?Sv(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let i="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(i="module"),l.__babelSourceType=i}return[fl,lo(r,t),await o(a,l),oo(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?o.parser="__ng_interpolation":t.parser==="vue"?o.parser=m1(e,t)?"__vue_ts_expression":"__vue_expression":o.parser="__js_expression",[br([Be,await n(r.value,o)]),r.parent.next&&ao(r.parent.next)?" ":Be]};break;case"attribute":return nA(e,t);case"front-matter":return n=>Bk(r,n);case"angularControlFlowBlockParameters":return oA.has(e.parent.name)?Lk:void 0;case"angularLetDeclarationInitializer":return n=>Ut(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function pl(e){if(Na!==null&&typeof Na.property){let t=Na;return Na=pl.prototype=null,t}return Na=pl.prototype=e??Object.create(null),new pl}function pk(e){return pl(e)}function Nw(e,t="type"){pk(e);function r(n){let o=n[t],a=e[o];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:n});return a}return c(r,"r"),r}function fk(e){return/^\s*/u.test(e)}function Hw(e){return` - -`+e}function Iv(e){let t=wu(e);return e.type==="element"&&!e.endSourceSpan&&g1(e.children)?Math.max(t,Iv(Nl(!1,e.children,-1))):t}function Pa(e,t,r){let n=e.node;if(gu(n)){let o=Iv(n);return[lo(n,t),Pt(sr.trimEnd(t.originalText.slice(yu(n)+(n.prev&&bu(n.prev)?s1(n).length:0),o-(n.next&&ao(n.next)?ti(n,t).length:0)))),oo(n,t)]}return r()}function Gi(e,t){return kt(e)&&kt(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gc(t)?pe:Be:"":Gc(t)?pe:je:bu(e)&&(gu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ao(t)?"":!t.isLeadingSpaceSensitive||Gc(t)||ao(t)&&e.lastChild&&Ml(e.lastChild)&&e.lastChild.lastChild&&Ml(e.lastChild.lastChild)?pe:t.hasLeadingSpaces?Be:je}function c1(e,t,r){let{node:n}=e;if(yv(n))return[fl,...e.map(a=>{let l=a.node,i=l.prev?Gi(l.prev,l):"";return[i?[i,qi(l.prev)?pe:""]:"",Pa(a,t,r)]},"children")];let o=n.children.map(()=>Symbol(""));return e.map((a,l)=>{let i=a.node;if(kt(i)){if(i.prev&&kt(i.prev)){let v=Gi(i.prev,i);if(v)return qi(i.prev)?[pe,pe,Pa(a,t,r)]:[v,Pa(a,t,r)]}return Pa(a,t,r)}let u=[],d=[],p=[],m=[],h=i.prev?Gi(i.prev,i):"",f=i.next?Gi(i,i.next):"";return h&&(qi(i.prev)?u.push(pe,pe):h===pe?u.push(pe):kt(i.prev)?d.push(h):d.push(js("",je,{groupId:o[l-1]}))),f&&(qi(i)?kt(i.next)&&m.push(pe,pe):f===pe?kt(i.next)&&m.push(pe):p.push(f)),[...u,Ae([...d,Ae([Pa(a,t,r),...p],{id:o[l]})]),...m]},"children")}function hk(e,t,r){let{node:n}=e,o=[];mk(e)&&o.push("} "),o.push("@",n.name),n.parameters&&o.push(" (",Ae(r("parameters")),")"),o.push(" {");let a=zv(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,o.push(br([pe,c1(e,t,r)])),a&&o.push(pe,"}")):a&&o.push("}"),Ae(o,{shouldBreak:!0})}function zv(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=aA.get(e.name))!=null&&r.has(e.next.name))}function mk(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!gu(t)&&!zv(t)}function gk(e,t,r){return[br([je,pa([";",Be],e.map(r,"children"))]),je]}function vk(e,t,r){let{node:n}=e;return[dl(n,t),Ae([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",br([Be,pa(Be,e.map(r,"cases"))])]:"",je]),cl(n,t)]}function yk(e,t,r){let{node:n}=e;return[n.value," {",Ae([br([je,e.map(({node:o})=>o.type==="text"&&!sr.trim(o.value)?"":r(),"expression")]),je]),"}"]}function wk(e,t,r){let{node:n}=e;if(gv(n,t))return[lo(n,t),Ae(Y0(e,t,r)),Pt(Nv(n,t)),...K0(n,t),oo(n,t)];let o=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id"),l=c(p=>Ae([Ae(Y0(e,t,r),{id:a}),p,K0(n,t)]),"a"),i=c(p=>o?DS(p,{groupId:a}):(qr(n)||vu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:br(p),"o"),u=c(()=>o?js(je,"",{groupId:a}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Be:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?xS(je):je,"u"),d=c(()=>(n.next?ao(n.next):ri(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":o?js(je,"",{groupId:a}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Be:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":je,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Be:""):l([BS(n)?fl:"",i([u(),c1(e,t,r)]),d()])}function vs(e){return e>=9&&e<=32||e==160}function Z0(e){return 48<=e&&e<=57}function ys(e){return e>=97&&e<=122||e>=65&&e<=90}function bk(e){return e>=97&&e<=102||e>=65&&e<=70||Z0(e)}function uc(e){return e===10||e===13}function Gp(e){return 48<=e&&e<=55}function cc(e){return e===39||e===34||e===96}function jw(e){return e.replace(lA,(...t)=>t[1].toUpperCase())}function Vw(e,t){for(let r of iA)r(e,t);return e}function Uw(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ww(e){let t=c(r=>{var n,o;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((o=r.firstChild)==null?void 0:o.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let o=0;ot.type==="cdata",t=>``)}function Gw(e){let t=c(r=>{var n,o;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!sr.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((o=r.next)==null?void 0:o.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+o.firstChild.value+``+l.value,a.sourceSpan=new ee(a.sourceSpan.start,l.sourceSpan.end),a.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,a.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(o),n--,r.removeChild(l)}})}function Kw(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(FS(n))for(let o of n.children){if(o.type!=="text")continue;let a=o.sourceSpan.start,l=null,i=o.value.split(r);for(let u=0;u0&&n.insertChildBefore(o,{type:"text",value:d,sourceSpan:new ee(a,l)});continue}l=a.moveBy(d.length+4),n.insertChildBefore(o,{type:"interpolation",sourceSpan:new ee(a,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new ee(a.moveBy(2),l.moveBy(-2))}]})}n.removeChild(o)}})}function Yw(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&sr.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=RS(t),n=vv(t);if(!r)for(let o=0;o{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Xw(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Jw(e,t){e.walk(r=>{r.cssDisplay=qS(r,t)})}function Qw(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=TS(r);return}for(let o of n)o.isLeadingSpaceSensitive=IS(o,t),o.isTrailingSpaceSensitive=zS(o,t);for(let o=0;o{!Ai[t]&&Ki(t)===null&&(Ai[t]=new J({canSelfClose:!1}))})),Ai[e]??r6}function lg(e,t,r=null){let n=[],o=e.visit?a=>e.visit(a,r)||a.visit(e,r):a=>a.visit(e,r);return t.forEach(a=>{let l=o(a);l&&n.push(l)}),n}function r7(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];cA.forEach(o=>{if(o.test(r)||o.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function n7(e,t,r,n={}){let o=new pA(new Hv(e,t),r,n);return o.tokenize(),new dA(xk(o.tokens),o.errors,o.nonNormalizedIcuExpressions)}function So(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xp(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function o7(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function xe(e){return!vs(e)||e===0}function Jp(e){return vs(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function a7(e){return(e<97||12257)}function l7(e){return e===59||e===0||!bk(e)}function i7(e){return e===59||e===0||!ys(e)}function s7(e){return e!==125}function u7(e,t){return ig(e)===ig(t)}function ig(e){return e>=97&&e<=122?e-97+65:e}function Qp(e){return ys(e)||Z0(e)||e===95}function ef(e){return e!==59&&xe(e)}function xk(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function rf(e,t){return bs[t]!==void 0?bs[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function sg(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:o=!1,getTagContentType:a,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:i=!1}=t;return fA().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:i},o,a)}function c7(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Ck(e){let t=e.slice(0,Ha);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,Ha);if(r===-1)return;let n=e.slice(Ha,r).trim(),o=e.indexOf(` -${t}`,r),a=n;if(a||(a=t==="+++"?"toml":"yaml"),o===-1&&t==="---"&&a==="yaml"&&(o=e.indexOf(` -...`,r)),o===-1)return;let l=o+1+Ha,i=e.charAt(l+1);if(!/\s?/u.test(i))return;let u=e.slice(0,l);return{type:"front-matter",language:a,explicitLanguage:n,value:e.slice(r+1,o),startDelimiter:t,endDelimiter:u.slice(-Ha),raw:u}}function d7(e){let t=Ck(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:yt(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function p7(e,t){let r=e.map(t);return r.some((n,o)=>n!==e[o])?r:e}function Dk(e,t){if(e.value)for(let{regex:r,parse:n}of vA){let o=e.value.match(r);if(o)return n(e,t,o)}return null}function f7(e,t,r){let[,n,o,a]=r,l=4+n.length,i=e.sourceSpan.start.moveBy(l),u=i.moveBy(a.length),[d,p]=(()=>{try{return[!0,t(a,i).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new ee(i,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:yt(!1,o.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new ee(e.sourceSpan.start,i),endSourceSpan:new ee(u,e.sourceSpan.end)}}function h7(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:yt(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function m7(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Sk(e){if(e.type==="block"){if(e.name=yt(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!g1(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new ee(e.parameters[0].sourceSpan.start,Nl(!1,e.parameters,-1).sourceSpan.end)}}}function kk(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new ee(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ak(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Tv(e,t,r){let{name:n,canSelfClose:o=!0,normalizeTagName:a=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:m}=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u,getTagContentType:d?(...y)=>d(...y)?ir.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Tv(e,fg,r);let y,E=c(()=>y??(y=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u})),"y"),x=c(D=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of p.entries()){let{endSourceSpan:k,startSourceSpan:A}=S;if(k===null)m=E().errors,p[D]=x(S);else if(_k(S,r)){let _=E().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&ug(m[0]);let h=c(y=>{let E=y.name.startsWith(":")?y.name.slice(1).split(":")[0]:null,x=y.nameSpan.toString(),D=E!==null&&x.startsWith(`${E}:`),S=D?x.slice(E.length+1):x;y.name=S,y.namespace=E,y.hasExplicitNamespace=D},"d"),f=c(y=>{switch(y.type){case"element":h(y);for(let E of y.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":y.value=y.sourceSpan.toString().slice(4,-3);break;case"text":y.value=y.sourceSpan.toString();break}},"C"),v=c((y,E)=>{let x=y.toLowerCase();return E(x)?x:y},"A"),g=c(y=>{if(y.type==="element"&&(a&&(!y.namespace||y.namespace===y.tagDefinition.implicitNamespacePrefix||Hl(y))&&(y.name=v(y.name,E=>yA.has(E))),l))for(let E of y.attrs)E.namespace||(E.name=v(E.name,x=>Zc.has(y.name)&&(Zc.get("*").has(x)||Zc.get(y.name).has(x))))},"D"),C=c(y=>{y.sourceSpan&&y.endSourceSpan&&(y.sourceSpan=new ee(y.sourceSpan.start,y.endSourceSpan.end))},"R"),b=c(y=>{if(y.type==="element"){let E=X0(u?y.name:y.name.toLowerCase());!y.namespace||y.namespace===E.implicitNamespacePrefix||Hl(y)?y.tagDefinition=E:y.tagDefinition=X0("")}},"F");return lg(new class extends uA{visitExpansionCase(y,E){n==="angular"&&this.visitChildren(E,x=>{x(y.expression)})}visit(y){f(y),b(y),g(y),C(y)}},p),p}function _k(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(o=>o.name==="lang"))==null?void 0:r.value;return!n||Cu(t,{language:n})==="html"}function ug(e){let{msg:t,span:{start:r,end:n}}=e;throw hA(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Bv(e,t,r={},n=!0){let{frontMatter:o,content:a}=n?mA(e):{frontMatter:null,content:e},l=new Hv(e,r.filepath),i=new nd(l,0,0,0),u=i.moveBy(e.length),d={type:"root",sourceSpan:new ee(i,u),children:Tv(a,t,r)};if(o){let h=new nd(l,0,0,0),f=h.moveBy(o.raw.length);o.sourceSpan=new ee(h,f),d.children.unshift(o)}let p=new gA(d),m=c((h,f)=>{let{offset:v}=f,g=yt(!1,e.slice(0,v),/[^\n\r]/gu," "),C=Bv(g+h,t,r,!1);C.sourceSpan=new ee(f,Nl(!1,C.children,-1).sourceSpan.end);let b=C.children[0];return b.length===v?C.children.shift():(b.sourceSpan=new ee(b.sourceSpan.start.moveBy(v),b.sourceSpan.end),b.value=b.value.slice(v)),C},"f");return p.walk(h=>{if(h.type==="comment"){let f=Dk(h,m);f&&h.parent.replaceChild(h,f)}Sk(h),kk(h),Ak(h)}),p}function ki(e){return{parse:c((t,r)=>Bv(t,e,r),"parse"),hasPragma:fk,astFormat:"html",locStart:yu,locEnd:wu}}var g7,nf,of,af,tn,v7,y7,lf,w7,yt,d1,p1,J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws,Lv,f1,Fk,sf,b7,$v,uf,io,h1,fl,E7,x7,Be,je,pe,Rk,C7,Nl,Zi,cg,Ik,er,cf,D7,S7,k7,A7,sr,df,_7,zk,xu,F7,Tk,R7,Bk,Lk,$k,Cu,Ok,Mk,Pk,Nk,Hl,I7,Ov,Hk,jk,Mv,Vk,Uk,Wk,qk,Gk,Kk,Yk,Zk,Xk,dg,Jk,Qk,pg,eA,tA,Kc,m1,rA,nA,pf,Pv,g1,Nv,oA,z7,Na,T7,B7,L7,$7,O7,M7,aA,lA,dc,nd,ff,Hv,hf,ee,pc,mf,gf,iA,P7,N7,H7,j7,vf,yf,V7,U7,wf,W7,q7,G7,bf,Ef,Ho,K7,ir,Yc,xf,Y7,Z7,X7,J7,Q7,e6,Cf,t6,Df,sA,Sf,J,r6,Ai,kf,ko,Af,n6,_f,o6,Ff,a6,Rf,l6,If,i6,zf,rn,Tf,s6,Bf,u6,Lf,Ao,$f,Of,Mf,Pf,Nf,uA,bs,c6,cA,fc,d6,Hf,jf,hc,Vf,dA,p6,mc,Uf,gc,Wf,pA,_i,qf,Fi,f6,Gf,vc,yc,Ze,Kf,h6,Yf,m6,wc,g6,Zf,v6,bc,fA,hA,Ha,mA,Ri,Xf,_o,gA,vA,Zc,yA,fg,y6,w6,b6,E6,x6,wA,aP=T(()=>{g7=Object.defineProperty,nf=c(e=>{throw TypeError(e)},"Xr"),of=c((e,t)=>{for(var r in t)g7(e,r,{get:t[r],enumerable:!0})},"Jr"),af=c((e,t,r)=>t.has(e)||nf("Cannot "+r),"Zr"),tn=c((e,t,r)=>(af(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),v7=c((e,t,r)=>t.has(e)?nf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),y7=c((e,t,r,n)=>(af(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),lf={},of(lf,{languages:c(()=>j7,"languages"),options:c(()=>U7,"options"),parsers:c(()=>wf,"parsers"),printers:c(()=>x6,"printers")}),w7=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),yt=w7,d1="string",p1="array",J0="cursor",Us="indent",Ws="align",Q0="trim",Pl="group",qs="fill",Gs="if-break",Ks="indent-if-break",ed="line-suffix",td="line-suffix-boundary",Mn="line",rd="label",ws="break-parent",Lv=new Set([J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws]),c(Ew,"ii"),f1=Ew,Fk=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(xw,"oi"),b7=(sf=class extends Error{constructor(t){super(xw(t));ka(this,"name","InvalidDocError");this.doc=t}},c(sf,"lr"),sf),$v=b7,uf=c(()=>{},"rn"),io=uf,h1=uf,c(br,"k"),c(hv,"nn"),c(Ae,"_"),c(xS,"sn"),c(CS,"an"),c(mv,"At"),c(js,"ge"),c(DS,"on"),fl={type:ws},E7={type:Mn,hard:!0},x7={type:Mn,hard:!0,literal:!0},Be={type:Mn},je={type:Mn,soft:!0},pe=[E7,fl],Rk=[x7,fl],c(pa,"q"),C7=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Nl=C7,c(o1,"Dt"),c(SS,"pi"),c(kS,"ln"),c(Pt,"B"),Zi="'",cg='"',c(Cw,"hi"),Ik=Cw,c(Dw,"cr"),D7=(cf=class{constructor(e){v7(this,er),y7(this,er,new Set(e))}getLeadingWhitespaceCount(e){let t=tn(this,er),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tn(this,er).has(e.charAt(0))}hasTrailingWhitespace(e){return tn(this,er).has(Nl(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dw([...tn(this,er)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tn(this,er);return Array.prototype.every.call(e,r=>t.has(r))}},c(cf,"pr"),cf),er=new WeakMap,S7=D7,k7=[" ",` -`,"\f","\r"," "],A7=new S7(k7),sr=A7,_7=(df=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);ka(this,"name","UnexpectedNodeError");this.node=t}},c(df,"hr"),df),zk=_7,c(Sw,"di"),xu=Sw,F7=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tk=new Set(["if","else if","for","switch","case"]),c(qp,"fn"),qp.ignoredProperties=F7,R7=qp,c(kw,"Si"),Bk=kw,c(mu,"Ce"),c(fa,"j"),c(Ut,"T"),c(Aw,"_i"),Lk=Aw,$k=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(ng,"Sn"),c(AS,"Ai"),c(_w,"Di"),Cu=_w,Ok="inline",Mk={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Pk="normal",Nk={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(Fw,"vi"),Hl=Fw,I7=c(e=>yt(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Ov=c(e=>I7(sr.trimEnd(e)),"mr"),Hk=c(e=>{let t=e,r=sr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=sr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(gv,"yt"),c(gu,"Ee"),c(_S,"wi"),c(kt,"$"),c(qr,"U"),c(FS,"yn"),c(RS,"wn"),c(vv,"fr"),c(IS,"bn"),c(zS,"Tn"),c(TS,"xn"),c(qi,"Qe"),c(BS,"kn"),c(yv,"dr"),c(Gc,"wt"),c(LS,"bi"),c(wv,"Bn"),c(bv,"Ln"),c(Ev,"Fn"),c(xv,"Nn"),c(a1,"bt"),c($S,"Ti"),c(Cv,"Pn"),c(OS,"xi"),c(MS,"ki"),c(PS,"Bi"),c(og,"gr"),c(ei,"Xe"),c(NS,"Li"),c(HS,"Fi"),c(jS,"Ni"),c(VS,"Pi"),c(US,"Ii"),c(na,"_e"),c(WS,"Ri"),c(qS,"In"),c(Dv,"Rn"),c(GS,"$i"),c(Sv,"Cr"),c(kv,"Sr"),c(Sn,"P"),jk=new Set(["template","style","script"]),c(vu,"Je"),c(ha,"Ae"),c(l1,"Tt"),c(KS,"$n"),c(YS,"On"),c(Av,"xt"),c(_v,"kt"),Mv=/\{\{(.+?)\}\}/su,c(ZS,"Mn"),c(sc,"Er"),Vk=sc({parser:"__ng_action"}),Uk=sc({parser:"__ng_binding"}),Wk=sc({parser:"__ng_directive"}),c(Rw,"Vi"),qk=Rw,c(Iw,"Ui"),Gk=Iw,c(ag,"Vn"),Kk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Zk=/^[^ \t\n\r\u000c]+/,Xk=/[,]+$/,dg=/^\d+$/,Jk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(zw,"Ki"),Qk=zw,c(Tw,"Qi"),pg={width:"w",height:"h",density:"x"},eA=Object.keys(pg),c(XS,"Ji"),tA=Tw,c(JS,"Yn"),Kc=new WeakMap,c(Bw,"Zi"),m1=Bw,c(QS,"jn"),c(ek,"Kn"),c(tk,"Qn"),c(rk,"Xn"),c(nk,"ea"),c(Lw,"ta"),c(ok,"ra"),c(ak,"na"),c(Fv,"Jn"),rA=Lw,c($w,"sa"),c(lk,"ia"),nA=$w,pf=new Proxy(()=>{},{get:c(()=>pf,"get")}),Pv=pf,c(Ow,"aa"),g1=Ow,c(yu,"se"),c(wu,"ie"),c(K0,"Ze"),c(ik,"oa"),c(cl,"De"),c(sk,"ua"),c(oo,"W"),c(i1,"Bt"),c(ti,"ve"),c(Rv,"rs"),c(ao,"K"),c(ri,"ye"),c(Ml,"we"),c(bu,"et"),c(uk,"la"),c(Eu,"tt"),c(ck,"ca"),c(dk,"pa"),c(Y0,"rt"),c(dl,"be"),c(lo,"z"),c(s1,"Lt"),c(u1,"Ft"),c(Mw,"ha"),Nv=Mw,oA=new Set(["if","else if","for","switch","case"]),c(Pw,"fa"),z7=Pw,Na=null,c(pl,"st"),T7=10;for(let e=0;e<=T7;e++)pl();c(pk,"vr"),c(Nw,"ga"),B7=Nw,L7={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},$7=L7,O7=B7($7),M7=O7,c(fk,"os"),c(Hw,"us"),aA=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),c(Iv,"cs"),c(Pa,"it"),c(Gi,"Pt"),c(c1,"He"),c(hk,"ps"),c(zv,"hs"),c(mk,"_a"),c(gk,"ms"),c(vk,"fs"),c(yk,"ds"),c(wk,"gs"),c(vs,"at"),c(Z0,"It"),c(ys,"ot"),c(bk,"Cs"),c(uc,"Rt"),c(Gp,"yr"),c(cc,"$t"),lA=/-+([a-z0-9])/g,c(jw,"_s"),nd=(dc=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,o=this.line,a=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){o--;let l=t.substring(0,n-1).lastIndexOf(` -`);a=l>0?n-l:n}else a--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(o++,a=0):a++}return new dc(this.file,n,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let o=n,a=0,l=0;for(;a0&&(n--,a++,!(r[n]==` -`&&++l==t)););for(a=0,l=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(mf,"Ue"),mf),iA=[Uw,Ww,qw,Kw,Yw,Jw,Zw,Xw,Qw,Gw],c(Vw,"Da"),c(Uw,"va"),c(Ww,"ya"),c(Ek,"wa"),c(qw,"ba"),c(Gw,"Ta"),c(Kw,"xa"),c(Yw,"ka"),c(Zw,"Ba"),c(Xw,"La"),c(Jw,"Fa"),c(Qw,"Na"),P7=Vw,c(e7,"Pa"),N7={preprocess:P7,print:e7,insertPragma:Hw,massageAstNode:R7,embed:z7,getVisitorKeys:M7},H7=N7,j7=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],vf={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},yf="HTML",V7={bracketSameLine:vf.bracketSameLine,htmlWhitespaceSensitivity:{category:yf,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:vf.singleAttributePerLine,vueIndentScriptAndStyle:{category:yf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},U7=V7,wf={},of(wf,{angular:c(()=>w6,"angular"),html:c(()=>y6,"html"),lwc:c(()=>E6,"lwc"),vue:c(()=>b6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(W7||(W7={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(q7||(q7={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(G7||(G7={})),bf={name:"custom-elements"},Ef={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ho||(Ho={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(K7||(K7={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ir||(ir={})),c(Vs,"ut"),c(Kp,"xr"),c(Yp,"kr"),c(Ki,"We"),c(Si,"ze"),c(Zp,"Br"),c(Yi,"Mt"),Y7=(xf=class{},c(xf,"Ht"),xf),Z7="boolean",X7="number",J7="string",Q7="object",e6=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Cf=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),t6=Array.from(Cf).reduce((e,[t,r])=>(e.set(t,r),e),new Map),sA=(Df=class extends Y7{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,e6.forEach(e=>{let t=new Map,r=new Set,[n,o]=e.split("|"),a=o.split(","),[l,i]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=i&&this._schema.get(i.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(i.toLowerCase()))r.add(d)}a.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Z7);break;case"#":t.set(d.substring(1),X7);break;case"%":t.set(d.substring(1),Q7);break;default:t.set(d,J7)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ef.name))return!0;if(e.indexOf("-")>-1){if(Kp(e)||Yp(e))return!1;if(r.some(n=>n.name===bf.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ef.name)||e.indexOf("-")>-1&&(Kp(e)||Yp(e)||t.some(r=>r.name===bf.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Zp()[e+"|"+t];return n||(n=Zp()["*|"+t],n||Ho.NONE)}getMappedPropName(e){return Cf.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>t6.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return jw(e)}normalizeAnimationStyleValue(e,t,r){let n="",o=r.toString().trim(),a=null;if(t7(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${r}`)}return{error:a,value:o+n}}},c(Df,"Vt"),Df),c(t7,"Ua"),J=(Sf=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ir.PARSABLE_DATA,closedByParent:n=!1,isVoid:o=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:l=!1,canSelfClose:i=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=o,this.closedByParent=n||o,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=a,this.preventNamespaceInheritance=l,this.canSelfClose=i??o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(Sf,"m"),Sf),c(X0,"Ge"),ko=(kf=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(kf,"oe"),kf),n6=(Af=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Af,"Ut"),Af),o6=(_f=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c(_f,"Wt"),_f),a6=(Ff=class extends ko{constructor(e,t,r,n,o,a){super(n,a),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=o}visit(e,t){return e.visitExpansion(this,t)}},c(Ff,"zt"),Ff),l6=(Rf=class{constructor(e,t,r,n,o){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=o,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Rf,"Gt"),Rf),i6=(If=class extends ko{constructor(e,t,r,n,o,a,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=o,this.valueTokens=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(If,"Yt"),If),rn=(zf=class extends ko{constructor(e,t,r,n,o,a=null,l=null,i){super(n,i),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=o,this.endSourceSpan=a,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(zf,"G"),zf),s6=(Tf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(Tf,"jt"),Tf),u6=(Bf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Bf,"Kt"),Bf),Ao=(Lf=class extends ko{constructor(e,t,r,n,o,a,l=null,i){super(n,i),this.name=e,this.parameters=t,this.children=r,this.nameSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Lf,"Z"),Lf),Of=($f=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c($f,"ct"),$f),Pf=(Mf=class{constructor(e,t,r,n,o){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=o,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(Mf,"pt"),Mf),c(lg,"Qt"),uA=(Nf=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function o(a){a&&r.push(lg(n,a,e))}return c(o,"i"),t(o),Array.prototype.concat.apply([],r)}},c(Nf,"ht"),Nf),bs={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},c6="",bs.ngsp=c6,cA=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(r7,"Ls"),d6=(fc=class{static fromArray(e){return e?(r7("interpolation",e),new fc(e[0],e[1])):Hf}constructor(e,t){this.start=e,this.end=t}},c(fc,"t"),fc),Hf=new d6("{{","}}"),hc=(jf=class extends gf{constructor(e,t,r){super(r,e),this.tokenType=t}},c(jf,"ft"),jf),dA=(Vf=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Vf,"$r"),Vf),c(n7,"Ws"),p6=/\r\n?/g,c(So,"je"),c(Xp,"Rs"),c(o7,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(mc||(mc={})),gc=(Uf=class{constructor(e){this.error=e}},c(Uf,"dt"),Uf),pA=(Wf=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Hf,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(o=>o.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new f6(e,n):new qf(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(o){this.handleError(o)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(p6,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>vs(r)?!e:Qp(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(xe),this._attemptCharCode(41))this._attemptCharCodeUntilFn(xe);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ef);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&cc(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ef)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),vs(this._cursor.peek()))this._attemptCharCodeUntilFn(xe);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(xe),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>xe(r)&&!uc(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ys(r)||r==36||r===95||t&&Z0(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;cc(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(s7(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new hc("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new hc("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new hc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new gc(r)}handleError(e){if(e instanceof vc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof gc)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return u7(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!a7(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Jp,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,o=[];try{if(!ys(this._cursor.peek()))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(xe);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,i]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(xe);let u=this._consumeAttributeValue();o.push({prefix:l,name:i,value:u})}else o.push({prefix:l,name:i});this._attemptCharCodeUntilFn(xe)}this._consumeTagOpenEnd()}catch(l){if(l instanceof gc){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,o);this._handleFullNameStackForTagOpen(r,t),a===ir.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):a===ir.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(xe),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(So(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>Jp(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(xe),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(xe),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(xe)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(xe),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let o=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(o.join(""))],l),o.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(o.join(""))]),o.length=0,this._consumeEntity(e),this._beginToken(e)):o.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(o.join(""));return this._endToken([a]),a}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let o=this._cursor.clone(),a=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let i=this._cursor.clone();if(this._isTagStart()){this._cursor=i,n.push(this._getProcessedChars(o,i)),this._endToken(n);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(o,i)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===a?a=null:!l&&a===null&&cc(u)&&(a=u)}n.push(this._getProcessedChars(o,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Qp(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Wf,"Or"),Wf),c(xe,"b"),c(Jp,"$s"),c(a7,"mo"),c(l7,"fo"),c(i7,"go"),c(s7,"Co"),c(u7,"So"),c(ig,"Os"),c(Qp,"Ms"),c(ef,"qs"),c(xk,"_o"),qf=(_i=class{constructor(e,t){if(e instanceof _i){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new _i(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),o=this.locationFromCursor(this),a=r!==e?this.locationFromCursor(r):n;return new ee(n,o,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new vc('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):uc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new nd(e.file,e.state.offset,e.state.line,e.state.column)}},c(_i,"t"),_i),f6=(Fi=class extends qf{constructor(e,t){e instanceof Fi?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Fi(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Gp(e())){let t="",r=0,n=this.clone();for(;Gp(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else uc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new vc("Invalid hexadecimal escape sequence",e);return n}},c(Fi,"t"),Fi),vc=(Gf=class{constructor(e,t){this.msg=e,this.cursor=t}},c(Gf,"gt"),Gf),Ze=(yc=class extends gf{static create(e,t,r){return new yc(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(yc,"t"),yc),h6=(Kf=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(Kf,"Vr"),Kf),m6=(Yf=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,o){let a=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),l=n?this.getTagDefinition:a(this.getTagDefinition),i=c(f=>l(f).getContentType(),"u"),u=n?o:a(o),d=n7(e,t,o?(f,v,g,C)=>{let b=u(f,v,g,C);return b!==void 0?b:i(f)}:i,r),p=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,h=new g6(d.tokens,l,p,m,n);return h.build(),new h6(h.rootNodes,d.errors.concat(h.errors))}},c(Yf,"nr"),Yf),g6=(wc=class{constructor(e,t,r,n,o){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=o,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ao&&this.errors.push(Ze.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(o.errors),null;let a=new ee(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new ee(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new l6(e.parts[0],o.rootNodes,a,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(tf(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(tf(r,20))r.pop();else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let o=this._getContainer();o!=null&&o.children.length===0&&this.getTagDefinition(o.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,rf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let o=e.sourceSpan;this._addToParent(new n6(n,new ee(r.start,o.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let o=this._getElementFullName(t,r,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(o);this.canSelfClose||h.canSelfClose||Ki(o)!==null||h.isVoid||this.errors.push(Ze.create(o,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let l=this._peek.sourceSpan.fullStart,i=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),u=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new ee(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rn(o,n,[],i,u,void 0,d),m=this._getContainer();this._pushContainer(p,m instanceof rn&&this.getTagDefinition(m.name).isClosedByChild(p.name)),a?this._popContainer(o,rn,i):e.type===4&&(this._popContainer(o,rn,null),this.errors.push(Ze.create(o,i,`Opening tag "${o}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Ze.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ze.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let o=this._containerStack.length-1;o>=0;o--){let a=this._containerStack[o];if(Ki(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof t)return a.endSourceSpan=r,a.sourceSpan.end=r!==null?r.end:a.sourceSpan.end,this._containerStack.splice(o,this._containerStack.length-o),!n;(a instanceof Ao||a instanceof rn&&!this.getTagDefinition(a.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Si(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let o="",a=[],l,i;if(this._peek.type===16)for(l=this._peek.sourceSpan,i=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();a.push(d),d.type===17?o+=d.parts.join("").replace(/&([^;]+);/g,rf):d.type===9?o+=d.parts[0]:o+=d.parts.join(""),i=r=d.sourceSpan.end}this._peek.type===15&&(i=r=this._advance().sourceSpan.end);let u=l&&i&&new ee((n==null?void 0:n.sourceSpan.start)??l.start,i,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new i6(t,o,new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Ao,e.sourceSpan)||this.errors.push(Ze.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1),this._popContainer(null,Ao,null),this.errors.push(Ze.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let o=n.sourceSpan.fullStart,a=new ee(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),i=e.sourceSpan.start.moveBy(l),u=new ee(i,e.sourceSpan.end),d=new Pf(t,r.parts[0],a,u,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),o=e.sourceSpan.start.moveBy(n),a=new ee(o,e.sourceSpan.end),l=new ee(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new Pf(t,"",e.sourceSpan,a,l);this._addToParent(i)}this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Vs(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ki(r.name))}return Si(e,t)}},c(wc,"t"),wc),c(tf,"zs"),c(rf,"Gs"),v6=(Zf=class extends m6{constructor(){super(X0)}parse(e,t,r,n=!1,o){return super.parse(e,t,r,n,o)}},c(Zf,"sr"),Zf),bc=null,fA=c(()=>(bc||(bc=new v6),bc),"Eo"),c(sg,"zr"),c(c7,"Ao"),hA=c7,Ha=3,c(Ck,"Do"),c(d7,"vo"),mA=d7,Ri={attrs:!0,children:!0,cases:!0,expression:!0},Xf=new Set(["parent"]),gA=(_o=class{constructor(e={}){for(let t of new Set([...Xf,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ri&&(t=t.map(r=>this.createChild(r))),!Xf.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ri){let n=this[r];if(n){let o=p7(n,a=>a.map(e));t!==n&&(t||(t=new _o({parent:this.parent})),t.setProperty(r,o))}}if(t)for(let r in this)r in Ri||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ri){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(_o,"t"),_o),c(p7,"yo"),vA=[{regex:/^(\[if([^\]]*)\]>)(.*?)o==="lang"&&a!=="html"&&a!==""&&a!==void 0))}}),E6=ki({name:"lwc",canSelfClose:!1}),x6={html:H7},wA=lf});function nn(){}function C6(e,t,r,n,o){for(var a=[],l;t;)a.push(t),l=t.previousComponent,delete t.previousComponent,t=l;a.reverse();for(var i=0,u=a.length,d=0,p=0;ig.length?b:g}),m.value=e.join(f)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(p+=m.count)}}var v=a[u-1];return u>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(a[u-2].value+=v.value,a.pop()),a}function Es(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Es=c(function(t){return typeof t},"$e"):Es=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Es(e)}function od(e,t,r,n,o){t=t||[],r=r||[],n&&(e=n(o,e));var a;for(a=0;a=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function v1(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function jv(e,t){let r;switch(t){case` -`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r -`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function xA(e){return Su(!1,e,/\r\n?/gu,` -`)}function D6(e){if(typeof e=="string")return mo;if(Array.isArray(e))return Gr;if(!e)return;let{type:t}=e;if(ey.has(t))return t}function S6(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(go(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=c_([...ey].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function k6(e,t,r,n){let o=[e];for(;o.length>0;){let a=o.pop();if(a===Lg){r(o.pop());continue}r&&o.push(a,Lg);let l=go(a);if(!l)throw new aa(a);if((t==null?void 0:t(a))!==!1)switch(l){case Gr:case hr:{let i=l===Gr?a:a.parts;for(let u=i.length,d=u-1;d>=0;--d)o.push(i[d]);break}case wt:o.push(a.flatContents,a.breakContents);break;case ut:if(n&&a.expandedStates)for(let i=a.expandedStates.length,u=i-1;u>=0;--u)o.push(a.expandedStates[u]);else o.push(a.contents);break;case Yr:case Kr:case Zr:case mr:case Xr:o.push(a.contents);break;case mo:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(a)}}}function Ys(e){return gr(e),{type:Kr,contents:e}}function oa(e,t){return gr(t),{type:Yr,contents:t,n:e}}function hg(e,t={}){return gr(e),b1(t.expandedStates,!0),{type:ut,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function A6(e){return oa(Number.NEGATIVE_INFINITY,e)}function _6(e){return oa({type:"root"},e)}function F6(e){return oa(-1,e)}function R6(e,t){return hg(e[0],{...t,expandedStates:e})}function mg(e){return b1(e),{type:hr,parts:e}}function I6(e,t="",r={}){return gr(e),t!==""&&gr(t),{type:wt,breakContents:e,flatContents:t,groupId:r.groupId}}function z6(e,t){return gr(e),{type:Zr,contents:e,groupId:t.groupId,negate:t.negate}}function ad(e){return gr(e),{type:Xr,contents:e}}function gg(e,t){gr(e),b1(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(a.contents)}${m})`}if(a.type===ut){let p=[];a.break&&a.break!=="propagated"&&p.push("shouldBreak: true"),a.id&&p.push(`id: ${o(a.id)}`);let m=p.length>0?`, { ${p.join(", ")} }`:"";return a.expandedStates?`conditionalGroup([${a.expandedStates.map(h=>n(h)).join(",")}]${m})`:`group(${n(a.contents)}${m})`}if(a.type===hr)return`fill([${a.parts.map(p=>n(p)).join(", ")}])`;if(a.type===Xr)return"lineSuffix("+n(a.contents)+")";if(a.type===Ur)return"lineSuffixBoundary";if(a.type===mr)return`label(${JSON.stringify(a.label)}, ${n(a.contents)})`;throw new Error("Unknown doc type "+a.type)}function o(a){if(typeof a!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];let l=a.description||"symbol";for(let i=0;;i++){let u=l+(i>0?` #${i}`:"");if(!r.has(u))return r.add(u),t[a]=`Symbol.for(${JSON.stringify(u)})`}}}function B6(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function L6(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function $6(e){if(!e)return 0;if(!f_.test(e))return e.length;e=e.replace(d_()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=p_(n)?1:2)}return t}function Zs(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(a){if(r.has(a))return r.get(a);let l=o(a);return r.set(a,l),l}function o(a){switch(go(a)){case Gr:return t(a.map(n));case hr:return t({...a,parts:a.parts.map(n)});case wt:return t({...a,breakContents:n(a.breakContents),flatContents:n(a.flatContents)});case ut:{let{expandedStates:l,contents:i}=a;return l?(l=l.map(n),i=l[0]):i=n(i),t({...a,contents:i,expandedStates:l})}case Yr:case Kr:case Zr:case mr:case Xr:return t({...a,contents:n(a.contents)});case mo:case Qn:case Vr:case Ur:case Pe:case Ft:return t(a);default:throw new aa(a)}}}function ld(e,t,r){let n=r,o=!1;function a(l){if(o)return!1;let i=t(l);i!==void 0&&(o=!0,n=i)}return c(a,"u"),cd(e,a),n}function DA(e){if(e.type===ut&&e.break||e.type===Pe&&e.hard||e.type===Ft)return!0}function O6(e){return ld(e,DA,!1)}function yg(e){if(e.length>0){let t=Ie(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function SA(e){let t=new Set,r=[];function n(a){if(a.type===Ft&&yg(r),a.type===ut){if(r.push(a),t.has(a))return!1;t.add(a)}}c(n,"n");function o(a){a.type===ut&&r.pop().break&&yg(r)}c(o,"o"),cd(e,n,o,!0)}function kA(e){return e.type===Pe&&!e.hard?e.soft?"":" ":e.type===wt?e.flatContents:e}function M6(e){return Zs(e,kA)}function wg(e){for(e=[...e];e.length>=2&&Ie(!1,e,-2).type===Pe&&Ie(!1,e,-1).type===Ft;)e.length-=2;if(e.length>0){let t=hl(Ie(!1,e,-1));e[e.length-1]=t}return e}function hl(e){switch(go(e)){case Kr:case Zr:case ut:case Xr:case mr:{let t=hl(e.contents);return{...e,contents:t}}case wt:return{...e,breakContents:hl(e.breakContents),flatContents:hl(e.flatContents)};case hr:return{...e,parts:wg(e.parts)};case Gr:return wg(e);case mo:return e.replace(/[\n\r]*$/u,"");case Yr:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(e)}return e}function bg(e){return hl(_A(e))}function AA(e){switch(go(e)){case hr:if(e.parts.every(t=>t===""))return"";break;case ut:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ut&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yr:case Kr:case Zr:case Xr:if(!e.contents)return"";break;case wt:if(!e.flatContents&&!e.breakContents)return"";break;case Gr:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Ie(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case mo:case Qn:case Vr:case Ur:case Pe:case mr:case Ft:break;default:throw new aa(e)}return e}function _A(e){return Zs(e,t=>AA(t))}function P6(e,t=Og){return Zs(e,r=>typeof r=="string"?gg(t,r.split(` -`)):r)}function FA(e){if(e.type===Pe)return!0}function N6(e){return ld(e,FA,!1)}function Vv(e,t){return e.type===mr?{...e,contents:t(e.contents)}:t(e)}function Uv(){return{value:"",length:0,queue:[]}}function RA(e,t){return id(e,{type:"indent"},t)}function IA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Uv():t<0?id(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:id(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function id(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],o="",a=0,l=0,i=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),o+=v.n,a+=v.n.length;break;case"numberAlign":l+=1,i+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return h(),{...e,value:o,length:a,queue:n};function u(v){o+=" ".repeat(v),a+=r.tabWidth*v}function d(v){o+=" ".repeat(v),a+=v}function p(){r.useTabs?m():h()}function m(){l>0&&u(l),f()}function h(){i>0&&d(i),f()}function f(){l=0,i=0}}function sd(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o===ml){r++;continue}for(let a=o.length-1;a>=0;a--){let l=o[a];if(l===" "||l===" ")t++;else{e[n]=o.slice(0,a+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ml);return t}function Xi(e,t,r,n,o,a){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,i=[e],u=[];for(;r>=0;){if(i.length===0){if(l===0)return!0;i.push(t[--l]);continue}let{mode:d,doc:p}=i.pop(),m=go(p);switch(m){case mo:u.push(p),r-=pd(p);break;case Gr:case hr:{let h=m===Gr?p:p.parts;for(let f=h.length-1;f>=0;f--)i.push({mode:d,doc:h[f]});break}case Kr:case Yr:case Zr:case mr:i.push({mode:d,doc:p.contents});break;case Vr:r+=sd(u);break;case ut:{if(a&&p.break)return!1;let h=p.break?ot:d,f=p.expandedStates&&h===ot?Ie(!1,p.expandedStates,-1):p.contents;i.push({mode:h,doc:f});break}case wt:{let h=(p.groupId?o[p.groupId]||tr:d)===ot?p.breakContents:p.flatContents;h&&i.push({mode:d,doc:h});break}case Pe:if(d===ot||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Xr:n=!0;break;case Ur:if(n)return!1;break}}return!1}function Xs(e,t){let r={},n=t.printWidth,o=v1(t.endOfLine),a=0,l=[{ind:Uv(),mode:ot,doc:e}],i=[],u=!1,d=[],p=0;for(SA(e);l.length>0;){let{ind:h,mode:f,doc:v}=l.pop();switch(go(v)){case mo:{let g=o!==` -`?Su(!1,v,` -`,o):v;i.push(g),l.length>0&&(a+=pd(g));break}case Gr:for(let g=v.length-1;g>=0;g--)l.push({ind:h,mode:f,doc:v[g]});break;case Qn:if(p>=2)throw new Error("There are too many 'cursor' in doc.");i.push(ml),p++;break;case Kr:l.push({ind:RA(h,t),mode:f,doc:v.contents});break;case Yr:l.push({ind:IA(h,v.n,t),mode:f,doc:v.contents});break;case Vr:a-=sd(i);break;case ut:switch(f){case tr:if(!u){l.push({ind:h,mode:v.break?ot:tr,doc:v.contents});break}case ot:{u=!1;let g={ind:h,mode:tr,doc:v.contents},C=n-a,b=d.length>0;if(!v.break&&Xi(g,l,C,b,r))l.push(g);else if(v.expandedStates){let y=Ie(!1,v.expandedStates,-1);if(v.break){l.push({ind:h,mode:ot,doc:y});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:h,mode:ot,doc:y});break}else{let x=v.expandedStates[E],D={ind:h,mode:tr,doc:x};if(Xi(D,l,C,b,r)){l.push(D);break}}}else l.push({ind:h,mode:ot,doc:v.contents});break}}v.id&&(r[v.id]=Ie(!1,l,-1).mode);break;case hr:{let g=n-a,{parts:C}=v;if(C.length===0)break;let[b,y]=C,E={ind:h,mode:tr,doc:b},x={ind:h,mode:ot,doc:b},D=Xi(E,[],g,d.length>0,r,!0);if(C.length===1){D?l.push(E):l.push(x);break}let S={ind:h,mode:tr,doc:y},k={ind:h,mode:ot,doc:y};if(C.length===2){D?l.push(S,E):l.push(k,x);break}C.splice(0,2);let A={ind:h,mode:f,doc:mg(C)},_=C[0];Xi({ind:h,mode:tr,doc:[b,y,_]},[],g,d.length>0,r,!0)?l.push(A,S,E):D?l.push(A,k,E):l.push(A,k,x);break}case wt:case Zr:{let g=v.groupId?r[v.groupId]:f;if(g===ot){let C=v.type===wt?v.breakContents:v.negate?v.contents:Ys(v.contents);C&&l.push({ind:h,mode:f,doc:C})}if(g===tr){let C=v.type===wt?v.flatContents:v.negate?Ys(v.contents):v.contents;C&&l.push({ind:h,mode:f,doc:C})}break}case Xr:d.push({ind:h,mode:f,doc:v.contents});break;case Ur:d.length>0&&l.push({ind:h,mode:f,doc:e0});break;case Pe:switch(f){case tr:if(v.hard)u=!0;else{v.soft||(i.push(" "),a+=1);break}case ot:if(d.length>0){l.push({ind:h,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?h.root?(i.push(o,h.root.value),a=h.root.length):(i.push(o),a=0):(a-=sd(i),i.push(o+h.value),a=h.length);break}break;case mr:l.push({ind:h,mode:f,doc:v.contents});break;case Ft:break;default:throw new aa(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let m=i.indexOf(ml);if(m!==-1){let h=i.indexOf(ml,m+1),f=i.slice(0,m).join(""),v=i.slice(m+1,h).join(""),g=i.slice(h+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:i.join("")}}function H6(e,t,r=0){let n=0;for(let o=r;o!0,"n")}=t,o=c(a=>m_(a)&&n(a),"o");for(let a of r(e)){let l=e[a];if(Array.isArray(l))for(let i of l)o(i)&&(yield i);else o(l)&&(yield l)}}function*zA(e,t){let r=[e];for(let n=0;n{let o=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:a}=t,l=r;for(;l>=0&&l0}function q6(e){return e?t=>e(t,Ng):v_}function TA(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function y1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=TA(e)}function jo(e,t){t.leading=!0,t.trailing=!1,y1(e,t)}function xs(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),y1(e,t)}function Vo(e,t){t.leading=!1,t.trailing=!0,y1(e,t)}function w1(e,t){if(t0.has(e))return t0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:a,locEnd:l}=t;if(!n)return[];let i=((r==null?void 0:r(e,t))??[...Wv(e,{getVisitorKeys:ku(o)})]).flatMap(u=>n(u)?[u]:w1(u,t));return i.sort((u,d)=>a(u)-a(d)||l(u)-l(d)),t0.set(e,i),i}function qv(e,t,r,n){let{locStart:o,locEnd:a}=r,l=o(t),i=a(t),u=w1(e,r),d,p,m=0,h=u.length;for(;m>1,v=u[f],g=o(v),C=a(v);if(g<=l&&i<=C)return qv(v,t,r,v);if(C<=l){d=v,m=f+1;continue}if(i<=g){p=v,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=Xc(f,t,r);d&&Xc(f,d,r)!==v&&(d=null),p&&Xc(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function BA(e,t){let{comments:r}=e;if(delete e.comments,!g_(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:a,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:i={}},originalText:u}=t,{ownLine:d=r0,endOfLine:p=r0,remaining:m=r0}=i,h=r.map((f,v)=>({...qv(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of h.entries()){let{comment:g,precedingNode:C,enclosingNode:b,followingNode:y,text:E,options:x,ast:D,isLastComment:S}=v;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(o(g)-o(D)<=0){jo(D,g);continue}if(a(g)-a(D)>=0){Vo(D,g);continue}}let k;if(l?k=[v]:(g.enclosingNode=b,g.precedingNode=C,g.followingNode=y,k=[g,E,x,D,S]),LA(E,x,h,f))g.placement="ownLine",d(...k)||(y?jo(y,g):C?Vo(C,g):xs(b||D,g));else if($A(E,x,h,f))g.placement="endOfLine",p(...k)||(C?Vo(C,g):y?jo(y,g):xs(b||D,g));else if(g.placement="remaining",!m(...k))if(C&&y){let A=n.length;A>0&&n[A-1].followingNode!==y&&Eg(n,x),n.push(v)}else C?Vo(C,g):y?jo(y,g):xs(b||D,g)}if(Eg(n,t),!l)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function LA(e,t,r,n){let{comment:o,precedingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=l(o);if(a)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:m}=r[d];if(m!==a||!ty(e.slice(i(p),u)))break;u=l(p)}return mn(e,u,{backwards:!0})}function $A(e,t,r,n){let{comment:o,followingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=i(o);if(a)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:m}=e[u-1];hd.strictEqual(p,a),hd.strictEqual(m,l);let h=t.originalText.slice(t.locEnd(d),i);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))i=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,m)=>t.locStart(p)-t.locStart(m));e.length=0}function Xc(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(i)).length===0)return{leading:"",trailing:""};let o=[],a=[],l;return e.each(()=>{let i=e.node;if(n!=null&&n.has(i))return;let{leading:u,trailing:d}=i;u?o.push(OA(e,t)):d&&(l=MA(e,t,l),a.push(l.doc))},"comments"),{leading:o,trailing:a}}function NA(e,t,r){let{leading:n,trailing:o}=PA(e,r);return!n&&!o?t:Vv(t,a=>[n,a,o])}function HA(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function K6(e){return()=>{}}function xg({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(o=>o.languages??[]),n=[];for(let o of VA(Object.assign({},...e.map(({options:a})=>a),w_)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(a=>!a.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...jA(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter(a=>{var l;return((l=a.defaultOptions)==null?void 0:l[o.name])!==void 0}).map(a=>[a.name,a.defaultOptions[o.name]])),n.push(o));return{languages:r,options:n}}function*jA(e,t,r){let n=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let a of o.parsers)if(!n.has(a)){n.add(a);let l=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,a)),i=o.name;l!=null&&l.name&&(i+=` (plugin: ${l.name})`),yield{value:a,description:i}}}}function VA(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=Ie(!1,o.default,-1).value),t.push(o)}return t}function Cg(e,t){if(!t)return;let r=b_(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function UA(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Y6(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=UA(r,t.language)??Cg(r,t.physicalFile)??Cg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Jf(e,t,r,n){return[`Invalid ${Uo.default.red(n.key(e))} value.`,`Expected ${Uo.default.blue(r)},`,`but received ${t===jg?Uo.default.gray("nothing"):Uo.default.red(n.value(t))}.`].join(" ")}function Dg({text:e,list:t},r){let n=[];return e&&n.push(`- ${Uo.default.blue(e)}`),t&&n.push([`- ${Uo.default.blue(t.title)}:`].concat(t.values.map(o=>Dg(o,r-Vg.length).replace(/^|\n/g,`$&${Vg}`))).join(` -`)),Sg(n,r)}function Sg(e,t){if(e.length===1)return e[0];let[r,n]=e,[o,a]=e.map(l=>l.split(` -`,1)[0].length);return o>t&&o>a?n:r}function Z6(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let a=0;for(;ai?d>i?i+1:d:d>u?u+1:d;return i}function X6(e,t){let r=new e(t),n=Object.create(r);for(let o of x_)o in t&&(n[o]=WA(t[o],r,ln.prototype[o].length));return n}function WA(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Qf({from:e,to:t}){return{from:[e],to:t}}function J6(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function Q6(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function eb(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function tb(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function rb(e){return e===Math.floor(e)}function nb(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ob(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function eh(e){return e===void 0?{}:e}function kg(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return qA((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(kg)}}:{text:t}}function th(e,t){return e===!0?!0:e===!1?{value:t}:e}function rh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ag(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Jc(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ag(r,t)):[Ag(e,t)]}function nh(e,t){let r=Jc(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function qA(e,t){if(!e)throw new Error(t)}function ab(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:a,descriptor:l}={}){if(n){if(!a)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=zo;let i=o?Array.isArray(o)?(h,f)=>o.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,v)=>{let{_:g,...C}=v.schemas;return Wg(h,f,{...v,schemas:C})},u=GA(t,{isCLI:n,FlagSchema:a}),d=new F_(u,{logger:r,unknown:i,descriptor:l}),p=r!==!1;p&&zh&&(d._hasDeprecationWarned=zh);let m=d.normalize(e);return p&&(zh=d._hasDeprecationWarned),m}function GA(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(D_.create({name:"_"}));for(let o of e)n.push(KA(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(C_.create({name:o.alias,sourceName:o.name}));return n}function KA(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:o}=e,a={name:o},l,i={};switch(e.type){case"int":l=__,t&&(a.preprocess=Number);break;case"string":l=qg;break;case"choice":l=A_,a.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":l=k_;break;case"flag":l=n,a.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":l=qg;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?a.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):a.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(i.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){let u=a.preprocess||(d=>d);a.preprocess=(d,p,m)=>p.preprocess(u(Array.isArray(d)?Ie(!1,d,-1):d),m)}return e.array?S_.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...i,valueSchema:l.create(a)}):l.create({...a,...i})}function Kv(e,t){if(!t)throw new Error("parserName is required.");let r=ny(!1,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function YA(e,t){if(!t)throw new Error("astFormat is required.");let r=ny(!1,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function Yv({plugins:e,parser:t}){let r=Kv(e,t);return Zv(r,t)}function Zv(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function ZA(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function lb(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=E_(n,{physicalFile:n.filepath}),!n.parser)throw new Hg(`No parser could be inferred for file "${n.filepath}".`)}else throw new Hg("No parser and no file path given, couldn't infer a parser.");let o=xg({plugins:e.plugins,showDeprecated:!0}).options,a={...Gg,...Object.fromEntries(o.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},l=Kv(n.plugins,n.parser),i=await Zv(l,n.parser);n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;let u=(r=l.printers)!=null&&r[i.astFormat]?l:YA(n.plugins,i.astFormat),d=await ZA(u,i.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,h])=>h!==void 0)):{},m={...a,...p};for(let[h,f]of Object.entries(m))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),R_(n,o,{passThrough:Object.keys(Gg),...t})}async function ib(e,t){let r=await Yv(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let o;try{o=await r.parse(n,t,t)}catch(a){XA(a,e)}return{text:n,ast:o}}function XA(e,t){let{loc:r}=e;if(r){let n=(0,I_.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function JA(e,t,r,n,o){let{embeddedLanguageFormatting:a,printer:{embed:l,hasPrettierIgnore:i=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!l||a!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ku(l.getVisitorKeys??u),p=[];f();let m=e.stack;for(let{print:v,node:g,pathStack:C}of p)try{e.stack=C;let b=await v(h,t,e,r);b&&o.set(g,b)}catch(b){if(globalThis.PRETTIER_DEBUG)throw b}e.stack=m;function h(v,g){return QA(v,g,r,n)}c(h,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||i(e))return;for(let C of d(v))Array.isArray(v[C])?e.each(f,C):e.call(f,C);let g=l(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}o.set(v,g)}}c(f,"p")}async function QA(e,t,r,n){let o=await ma({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:a}=await ni(e,o),l=await n(a,o);return bg(l)}function sb(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:a,[Symbol.for("printedComments")]:l}=t,{node:i}=e,u=o(i),d=a(i);for(let p of n)o(p)>=u&&a(p)<=d&&l.add(p);return r.slice(u,d)}async function Du(e,t){({ast:e}=await Xv(e,t));let r=new Map,n=new h_(e),o=y_(t),a=new Map;await JA(n,i,t,Du,a);let l=await _g(n,t,i,void 0,a);return HA(t),l;function i(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){o(n);let p=n.node;if(p==null)return"";let m=p&&typeof p=="object"&&d===void 0;if(m&&r.has(p))return r.get(p);let h=_g(n,t,i,d,a);return m&&r.set(p,h),h}}function _g(e,t,r,n,o){var a;let{node:l}=e,{printer:i}=t,u;return(a=i.hasPrettierIgnore)!=null&&a.call(i,e)?u=z_(e,t):o.has(l)?u=o.get(l):u=i.print(e,t,r,n),l===t.cursorNode&&(u=Vv(u,d=>[dd,d,dd])),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t))&&(u=NA(e,u,t)),u}async function Xv(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,BA(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function ub(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,a=ku(t.printer.getVisitorKeys),l=c(u=>n(u)<=r&&o(u)>=r,"i"),i=e;for(let u of zA(e,{getVisitorKeys:a,filter:l}))i=u;return i}function cb(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=ku(n),a=r.ignoredProperties??new Set;return l(e);function l(i,u){if(!(i!==null&&typeof i=="object"))return i;if(Array.isArray(i))return i.map(h=>l(h,u)).filter(Boolean);let d={},p=new Set(o(i));for(let h in i)!Object.prototype.hasOwnProperty.call(i,h)||a.has(h)||(p.has(h)?d[h]=l(i[h],i):d[h]=i[h]);let m=r(i,d,u);if(m!==null)return m??d}}function e_(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(o=>oy.has(o.type)&&n.has(o))}function Fg(e){let t=L_(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function t_(e,t,{locStart:r,locEnd:n}){let o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=r(e.node);for(let u of Fg(t.parentNodes))if(r(u)>=l)a=u;else break;let i=n(t.node);for(let u of Fg(e.parentNodes)){if(n(u)<=i)o=u;else break;if(o===a)break}return{startNode:o,endNode:a}}function ud(e,t,r,n,o=[],a){let{locStart:l,locEnd:i}=r,u=l(e),d=i(e);if(!(t>d||tn);let i=e.slice(n,o).search(/\S/u),u=i===-1;if(!u)for(n+=i;o>n&&!/\S/u.test(e[o-1]);--o);let d=ud(r,n,t,(f,v)=>Rg(t,f,v),[],"rangeStart"),p=u?d:ud(r,o,t,f=>Rg(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if($_(t)){let f=e_(d,p);m=f,h=f}else({startNode:m,endNode:h}=t_(d,p,t));return{rangeStart:Math.min(a(m),a(h)),rangeEnd:Math.max(l(m),l(h))}}async function Jv(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await ni(e,t);t.cursorOffset>=0&&(t.cursorNode=T_(n,t));let a=await Du(n,t);r>0&&(a=vg([eo,a],r,t.tabWidth));let l=Xs(a,t);if(r>0){let u=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(u)),l.formatted=u+v1(t.endOfLine)}let i=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,m,h;if(t.cursorNode&&l.cursorNodeText?(u=t.locStart(t.cursorNode),d=o.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,m=l.cursorNodeStart,h=l.cursorNodeText):(u=0,d=o,p=t.cursorOffset,m=0,h=l.formatted),d===h)return{formatted:l.formatted,cursorOffset:m+p,comments:i};let f=d.split("");f.splice(p,0,Kg);let v=h.split(""),g=bA(f,v),C=m;for(let b of g)if(b.removed){if(b.value.includes(Kg))break}else C+=b.count;return{formatted:l.formatted,cursorOffset:C,comments:i}}return{formatted:l.formatted,cursorOffset:-1,comments:i}}async function o_(e,t){let{ast:r,text:n}=await ni(e,t),{rangeStart:o,rangeEnd:a}=n_(n,t,r),l=n.slice(o,a),i=Math.min(o,n.lastIndexOf(` -`,o)+1),u=n.slice(i,o).match(/^\s*/u)[0],d=fd(u,t.tabWidth),p=await Jv(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=a?t.cursorOffset-o:-1,endOfLine:"lf"},d),m=p.formatted.trimEnd(),{cursorOffset:h}=t;h>a?h+=m.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+o);let f=n.slice(0,o)+m+n.slice(a);if(t.endOfLine!=="lf"){let v=v1(t.endOfLine);h>=0&&v===`\r -`&&(h+=jv(f.slice(0,h),` -`)),f=Su(!1,f,` -`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function Qc(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Ig(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=Qc(e,r,-1),n=Qc(e,n,0),o=Qc(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Qv(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a}=Ig(e,t),l=e.charAt(0)===ay;if(l&&(e=e.slice(1),r--,n--,o--),a==="auto"&&(a=EA(e)),e.includes("\r")){let i=c(u=>jv(e.slice(0,Math.max(u,0)),`\r -`),"s");r-=i(r),n-=i(n),o-=i(o),e=xA(e)}return{hasBOM:l,text:e,options:Ig(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a})}}async function zg(e,t){let r=await Yv(t);return!r.hasPragma||r.hasPragma(e)}async function Tg(e,t){let{hasBOM:r,text:n,options:o}=Qv(e,await ma(t));if(o.rangeStart>=o.rangeEnd&&n!==""||o.requirePragma&&!await zg(n,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let a;return o.rangeStart>0||o.rangeEnd=0&&a.cursorOffset++),a}async function db(e,t,r){let{text:n,options:o}=Qv(e,await ma(t)),a=await ni(n,o);return r&&(r.preprocessForPrint&&(a.ast=await Xv(a.ast,o)),r.massage&&(a.ast=B_(a.ast,o))),a}async function pb(e,t){t=await ma(t);let r=await Du(e,t);return Xs(r,t)}async function fb(e,t){let r=CA(e),{formatted:n}=await Tg(r,{...t,parser:"__js_expression"});return n}async function hb(e,t){t=await ma(t);let{ast:r}=await ni(e,t);return Du(r,t)}async function mb(e,t){return Xs(e,await ma(t))}function gb(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,o.length/t.length),0)}function xb(e,t){let r=x1(e,t);return r===!1?"":e.charAt(r)}function Cb(e,t,r){for(let n=t;nl===n?l:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+o+t}function l_(e,t,r){return x1(e,r(t))}function kb(e,t){return arguments.length===2||typeof t=="number"?x1(e,t):l_(...arguments)}function i_(e,t,r){return E1(e,r(t))}function Ab(e,t){return arguments.length===2||typeof t=="number"?E1(e,t):i_(...arguments)}function s_(e,t,r){return vd(e,r(t))}function _b(e,t){return arguments.length===2||typeof t=="number"?vd(e,t):s_(...arguments)}function _n(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}async function Bg(e,t){let{formatted:r}=await Yg(e,{...t,cursorOffset:-1});return r}async function Fb(e,t){return await Bg(e,t)===e}var Rb,Ii,Ib,zb,Tb,Bb,oh,Lb,Ec,zi,ah,Ti,$b,Ob,Mb,Fa,xc,lh,Pb,Nb,Hb,jb,Vb,ih,Ub,Su,sh,uh,ch,dh,Wb,qb,u_,Ra,Ji,mo,Gr,Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft,ey,go,c_,ph,Gb,aa,Lg,cd,fh,gr,b1,Kb,Qi,Yb,e0,hh,$g,Zb,eo,Og,dd,Xb,Ie,d_,p_,f_,pd,ot,tr,ml,fd,Fo,mh,Cc,gh,Jb,h_,vh,hd,m_,Qb,xn,Mg,Pg,so,mn,g_,Ng,v_,ku,t0,r0,ty,E1,y_,yh,ry,wh,Hg,w_,b_,E_,zo,bh,e8,Uo,jg,Bi,Vg,t8,Eh,n0,Ug,Wg,x_,xh,ln,Ch,C_,Dh,D_,Sh,S_,kh,k_,Ah,A_,_h,r8,Fh,__,Rh,qg,n8,o8,a8,l8,Ih,F_,zh,R_,i8,ny,Gg,ma,I_,ni,z_,T_,B_,s8,L_,$_,oy,O_,ay,Kg,Th,u8,c8,d8,p8,Bh,md,gd,x1,vd,f8,h8,m8,g8,v8,y8,Yg,w8,b8,M_,lP=T(()=>{Rb=Object.create,Ii=Object.defineProperty,Ib=Object.getOwnPropertyDescriptor,zb=Object.getOwnPropertyNames,Tb=Object.getPrototypeOf,Bb=Object.prototype.hasOwnProperty,oh=c(e=>{throw TypeError(e)},"sr"),Lb=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ec=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),zi=c((e,t)=>{for(var r in t)Ii(e,r,{get:t[r],enumerable:!0})},"We"),ah=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zb(t))!Bb.call(e,o)&&o!==r&&Ii(e,o,{get:c(()=>t[o],"get"),enumerable:!(n=Ib(t,o))||n.enumerable});return e},"ar"),Ti=c((e,t,r)=>(r=e!=null?Rb(Tb(e)):{},ah(t||!e||!e.__esModule?Ii(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),$b=c(e=>ah(Ii({},"__esModule",{value:!0}),e),"vu"),Ob=c((e,t,r)=>t.has(e)||oh("Cannot "+r),"bu"),Mb=c((e,t,r)=>t.has(e)?oh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Fa=c((e,t,r)=>(Ob(e,t,"access private method"),r),"pe"),xc=Ec((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),lh={},zi(lh,{default:c(()=>Nb,"default"),shouldHighlight:c(()=>Pb,"shouldHighlight")}),Hb=Lb(()=>{Pb=c(()=>!1,"xo"),Nb=String}),jb=Ec((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Vb=Ec(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(Hb(),$b(lh)),r=o(jb(),!0);function n(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(n=c(function(y){return y?b:C},"Wn"))(g)}c(n,"Wn");function o(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var b=n(C);if(b&&b.has(g))return b.get(g);var y={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in g)if(x!=="default"&&{}.hasOwnProperty.call(g,x)){var D=E?Object.getOwnPropertyDescriptor(g,x):null;D&&(D.get||D.set)?Object.defineProperty(y,x,D):y[x]=g[x]}return y.default=g,b&&b.set(g,y),y}c(o,"vo");var a=r.default,l=c((g,C)=>b=>g(C(b)),"Rn"),i;function u(g){return g?(i!=null||(i=(0,r.createColors)(!0)),i):a}c(u,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:l(g.red,g.bold),message:l(g.red,g.bold)}}c(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,b){let y=Object.assign({column:0,line:-1},g.start),E=Object.assign({},y,g.end),{linesAbove:x=2,linesBelow:D=3}=b||{},S=y.line,k=y.column,A=E.line,_=E.column,R=Math.max(S-(x+1),0),z=Math.min(C.length,A+D);S===-1&&(R=0),A===-1&&(z=C.length);let L=A-S,$={};if(L)for(let N=0;N<=L;N++){let M=N+S;if(!k)$[M]=!0;else if(N===0){let j=C[M-1].length;$[M]=[k,j-k+1]}else if(N===L)$[M]=[0,_];else{let j=C[M-N].length;$[M]=[0,j]}}else k===_?k?$[S]=[k,0]:$[S]=!0:$[S]=[k,_-k];return{start:R,end:z,markerLines:$}}c(h,"No");function f(g,C,b={}){let y=(b.highlightCode||b.forceColor)&&(0,t.shouldHighlight)(b),E=u(b.forceColor),x=p(E),D=c(($,N)=>y?$(N):N,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(C,S,b),R=C.start&&typeof C.start.column=="number",z=String(A).length,L=(y?(0,t.default)(g,b):g).split(m,A).slice(k,A).map(($,N)=>{let M=k+1+N,j=` ${` ${M}`.slice(-z)} |`,q=_[M],B=!_[M+1];if(q){let P="";if(Array.isArray(q)){let H=$.slice(0,Math.max(q[0]-1,0)).replace(/[^\t]/g," "),G=q[1]||1;P=[` - `,D(x.gutter,j.replace(/\d/g," "))," ",H,D(x.marker,"^").repeat(G)].join(""),B&&b.message&&(P+=" "+D(x.message,b.message))}return[D(x.marker,">"),D(x.gutter,j),$.length>0?` ${$}`:"",P].join("")}else return` ${D(x.gutter,j)}${$.length>0?` ${$}`:""}`}).join(` -`);return b.message&&!R&&(L=`${" ".repeat(z+1)}${b.message} -${L}`),y?E.reset(L):L}c(f,"Mn");function v(g,C,b,y={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let x=new Error(E);x.name="DeprecationWarning",console.warn(new Error(E))}}return b=Math.max(b,0),f(g,{start:{column:b,line:C}},y)}c(v,"To")}),ih={},zi(ih,{__debug:c(()=>b8,"__debug"),check:c(()=>Fb,"check"),doc:c(()=>Th,"doc"),format:c(()=>Bg,"format"),formatWithCursor:c(()=>Yg,"formatWithCursor"),getSupportInfo:c(()=>w8,"getSupportInfo"),util:c(()=>Bh,"util"),version:c(()=>p8,"version")}),Ub=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),Su=Ub,c(nn,"Z"),nn.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.callback;typeof n=="function"&&(o=n,n={}),this.options=n;var a=this;function l(E){return o?(setTimeout(function(){o(void 0,E)},0),!0):E}c(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,d=1,p=i+u;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=u&&v+1>=i)return l([{value:this.join(t),count:t.length}]);var g=-1/0,C=1/0;function b(){for(var E=Math.max(g,-d);E<=Math.min(C,d);E+=2){var x=void 0,D=f[E-1],S=f[E+1];D&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A=u&&v+1>=i)return l(C6(a,x.lastComponent,t,e,a.useLongestToken));f[E]=x,x.oldPos+1>=u&&(C=Math.min(C,E-1)),v+1>=i&&(g=Math.max(g,E+1))}d++}if(c(b,"A"),o)c(function E(){setTimeout(function(){if(d>p||Date.now()>h)return o();b()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var y=b();if(y)return y}},"diff"),addToPath:c(function(e,t,r,n){var o=e.lastComponent;return o&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var o=t.length,a=r.length,l=e.oldPos,i=l-n,u=0;i+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(od(e,null,null,o),o," ")},Ra.equals=function(e,t){return nn.prototype.equals.call(Ra,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(od,"Bt"),Ji=new nn,Ji.tokenize=function(e){return e.slice()},Ji.join=Ji.removeEmpty=function(e){return e},c(bA,"dr"),c(EA,"Fr"),c(v1,"Be"),c(jv,"wt"),c(xA,"mr"),mo="string",Gr="array",Qn="cursor",Kr="indent",Yr="align",Vr="trim",ut="group",hr="fill",wt="if-break",Zr="indent-if-break",Xr="line-suffix",Ur="line-suffix-boundary",Pe="line",mr="label",Ft="break-parent",ey=new Set([Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft]),c(D6,"Lu"),go=D6,c_=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(S6,"Iu"),Gb=(ph=class extends Error{constructor(t){super(S6(t));ka(this,"name","InvalidDocError");this.doc=t}},c(ph,"xt"),ph),aa=Gb,Lg={},c(k6,"Ru"),cd=k6,fh=c(()=>{},"hr"),gr=fh,b1=fh,c(Ys,"De"),c(oa,"ae"),c(hg,"_t"),c(A6,"Cr"),c(_6,"gr"),c(F6,"yr"),c(R6,"Ar"),c(mg,"Ge"),c(I6,"Br"),c(z6,"wr"),c(ad,"xe"),Kb={type:Ur},Qi={type:Ft},Yb={type:Vr},e0={type:Pe,hard:!0},hh={type:Pe,hard:!0,literal:!0},$g={type:Pe},Zb={type:Pe,soft:!0},eo=[e0,Qi],Og=[hh,Qi],dd={type:Qn},c(gg,"be"),c(vg,"Je"),c(T6,"br"),c(zr,"ee"),c(CA,"Or"),Xb=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),Ie=Xb,d_=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),c(B6,"Nr"),c(L6,"Tr"),p_=c(e=>!(B6(e)||L6(e)),"kr"),f_=/[^\x20-\x7F]/u,c($6,"Hu"),pd=$6,c(Zs,"Ne"),c(ld,"Xe"),c(DA,"Wu"),c(O6,"Ir"),c(yg,"Lr"),c(SA,"Rr"),c(kA,"Mu"),c(M6,"Yr"),c(wg,"Pr"),c(hl,"Se"),c(bg,"Ze"),c(AA,"$u"),c(_A,"Vu"),c(P6,"jr"),c(FA,"Uu"),c(N6,"Hr"),c(Vv,"Qe"),ot=Symbol("MODE_BREAK"),tr=Symbol("MODE_FLAT"),ml=Symbol("cursor"),c(Uv,"Wr"),c(RA,"zu"),c(IA,"Gu"),c(id,"bt"),c(sd,"Ot"),c(Xi,"et"),c(Xs,"Fe"),c(H6,"Ku"),fd=H6,Jb=(gh=class{constructor(e){Mb(this,Fo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Ie(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Ie(!1,this.stack,-2)}get node(){return Ie(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Ie(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Fa(this,Fo,Cc).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Ie(!1,e,-2):null}getValue(){return Ie(!1,this.stack,-1)}getNode(e=0){let t=Fa(this,Fo,mh).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Fa(this,Fo,mh).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{for(let a=0;a{r[o]=e(n,o,a)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let o of e){if(n===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[t--],n=this.stack[t--]),o&&!o(n,r,a))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return t}hasAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return!0;return!1}},c(gh,"St"),gh),Fo=new WeakSet,mh=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Cc=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),h_=Jb,vh=new Proxy(()=>{},{get:c(()=>vh,"get")}),hd=vh,c(j6,"qu"),m_=j6,c(Wv,"Tt"),c(zA,"Ur"),c(_a,"Ee"),Qb=_a(/\s/u),xn=_a(" "),Mg=_a(",; "),Pg=_a(/[^\n\r]/u),c(V6,"Ju"),so=V6,c(U6,"Xu"),mn=U6,c(W6,"Zu"),g_=W6,Ng=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),v_=c(e=>Object.keys(e).filter(t=>!Ng.has(t)),"Qu"),c(q6,"eo"),ku=q6,c(TA,"to"),c(y1,"Lt"),c(jo,"ue"),c(xs,"re"),c(Vo,"oe"),t0=new WeakMap,c(w1,"ut"),c(qv,"qr"),r0=c(()=>!1,"It"),c(BA,"Jr"),ty=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(LA,"ro"),c($A,"no"),c(Eg,"Kr"),c(Xc,"Rt"),c(G6,"uo"),E1=G6,c(Gv,"Zr"),c(OA,"oo"),c(MA,"io"),c(PA,"so"),c(NA,"Qr"),c(HA,"en"),c(K6,"ao"),y_=K6,ry=(yh=class extends Error{constructor(){super(...arguments);ka(this,"name","ConfigError")}},c(yh,"Pe"),yh),Hg=(wh=class extends Error{constructor(){super(...arguments);ka(this,"name","UndefinedParserError")}},c(wh,"Ie"),wh),w_={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(xg,"ot"),c(jA,"Do"),c(VA,"lo"),b_=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(Cg,"nn"),c(UA,"fo"),c(Y6,"po"),E_=Y6,zo={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>zo.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${zo.key(r)}: ${zo.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>zo.value({[e]:t}),"pair")},bh=Ti(xc(),1),e8=c((e,t,{descriptor:r})=>{let n=[`${bh.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${bh.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Uo=Ti(xc(),1),jg=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bi=Symbol.for("vnopts.VALUE_UNCHANGED"),Vg=" ".repeat(2),t8=c((e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),a=[];return n&&a.push(Jf(e,t,n,r.descriptor)),o&&a.push([Jf(e,t,o.title,r.descriptor)].concat(o.values.map(l=>Dg(l,r.loggerPrintWidth))).join(` -`)),Sg(a,r.loggerPrintWidth)},"cn"),c(Jf,"ln"),c(Dg,"fn"),c(Sg,"pn"),Eh=Ti(xc(),1),n0=[],Ug=[],c(Z6,"Ht"),Wg=c((e,t,{descriptor:r,logger:n,schemas:o})=>{let a=[`Ignored unknown option ${Eh.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(o).sort().find(i=>Z6(e,i)<3);l&&a.push(`Did you mean ${Eh.default.blue(r.key(l))}?`),n.warn(a.join(" "))},"at"),x_=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(X6,"mo"),ln=(xh=class{static create(e){return X6(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Bi}},c(xh,"O"),xh),c(WA,"Eo"),C_=(Ch=class extends ln{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(Ch,"Dt"),Ch),D_=(Dh=class extends ln{expected(){return"anything"}validate(){return!0}},c(Dh,"lt"),Dh),S_=(Sh=class extends ln{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let o=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);o!==!0&&r.push(o.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let o=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);o!==!1&&r.push(...o.map(({value:a})=>({value:[a]})))}return r}forward(e,t){let r=[];for(let n of e){let o=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...o.map(Qf))}return r}redirect(e,t){let r=[],n=[];for(let o of e){let a=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in a&&r.push(a.remain),n.push(...a.redirect.map(Qf))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(Sh,"ct"),Sh),c(Qf,"Fn"),k_=(kh=class extends ln{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(kh,"ft"),kh),c(J6,"En"),c(Q6,"hn"),c(eb,"Cn"),c(tb,"gn"),c(rb,"yn"),c(nb,"An"),c(ob,"Bn"),c(eh,"Mt"),c(kg,"$t"),c(th,"Vt"),c(rh,"Ut"),c(Ag,"mn"),c(Jc,"pt"),c(nh,"zt"),c(qA,"ho"),A_=(Ah=class extends ln{constructor(e){super(e),this._choices=Q6(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(({hidden:o})=>!o).map(o=>o.value).sort(nb).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(Ah,"dt"),Ah),r8=(_h=class extends ln{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(_h,"Ft"),_h),__=(Fh=class extends r8{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&rb(e)}},c(Fh,"mt"),Fh),qg=(Rh=class extends ln{expected(){return"a string"}validate(e){return typeof e=="string"}},c(Rh,"Re"),Rh),n8=zo,o8=Wg,a8=t8,l8=e8,F_=(Ih=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:o=n8,unknown:a=o8,invalid:l=a8,deprecated:i=l8,missing:u=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:p=c(h=>h,"d"),postprocess:m=c(()=>Bi,"f")}=t||{};this._utils={descriptor:o,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:J6(e,"name"),normalizeDefaultResult:eh,normalizeExpectedResult:kg,normalizeDeprecatedResult:rh,normalizeForwardResult:Jc,normalizeRedirectResult:nh,normalizeValidateResult:th},this._unknownHandler=a,this._invalidHandler=ob(l),this._deprecatedHandler=i,this._identifyMissing=(h,f)=>!(h in f)||u(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=eb()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let o=r.shift(),a=this._applyNormalization(o,t);r.push(...a)}},"u");n();for(let o of Object.keys(this._utils.schemas)){let a=this._utils.schemas[o];if(!(o in t)){let l=eh(a.default(this._utils));"value"in l&&r.push({[o]:l.value})}}n();for(let o of Object.keys(this._utils.schemas)){if(!(o in t))continue;let a=this._utils.schemas[o],l=t[o],i=a.postprocess(l,this._utils);i!==Bi&&(this._applyValidation(i,o,a),t[o]=i)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(e);for(let a of n){let l=this._utils.schemas[a],i=l.preprocess(e[a],this._utils);this._applyValidation(i,a,l);let u=c(({from:m,to:h})=>{r.push(typeof h=="string"?{[h]:m}:{[h.key]:h.value})},"D"),d=c(({value:m,redirectTo:h})=>{let f=rh(l.deprecated(m,this._utils),i,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,h,this._utils));else for(let{value:v}of f){let g={key:a,value:v};if(!this._hasDeprecationWarned(g)){let C=typeof h=="string"?{key:h,value:v}:h;this._utils.logger.warn(this._deprecatedHandler(g,C,this._utils))}}},"l");Jc(l.forward(i,this._utils),i).forEach(u);let p=nh(l.redirect(i,this._utils),i);if(p.redirect.forEach(u),"remain"in p){let m=p.remain;t[a]=a in t?l.overlap(t[a],m,this._utils):m,d({value:m})}for(let{from:m,to:h}of p.redirect)d({value:m,redirectTo:h})}for(let a of o){let l=e[a];this._applyUnknownHandler(a,l,t,(i,u)=>{r.push({[i]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,jg,this._utils)}_partitionOptionKeys(e){let[t,r]=tb(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=th(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let o=this._unknownHandler(e,t,this._utils);if(o)for(let a of Object.keys(o)){if(this._identifyMissing(a,o))continue;let l=o[a];a in this._utils.schemas?n(a,l):r[a]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bi){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let o of r){let a=t.override[o];this._applyValidation(a,o,this._utils.schemas[o]),e[o]=a}for(let o of n){let a=t.override[o];this._applyUnknownHandler(o,a,e,(l,i)=>{let u=this._utils.schemas[l];this._applyValidation(i,l,u),e[l]=i})}}}}},c(Ih,"Et"),Ih),c(ab,"go"),c(GA,"yo"),c(KA,"Ao"),R_=ab,i8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}},"Bo"),ny=i8,c(Kv,"qt"),c(YA,"On"),c(Yv,"ht"),c(Zv,"Jt"),c(ZA,"Sn"),Gg={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(lb,"wo"),ma=lb,I_=Ti(Vb(),1),c(ib,"ko"),c(XA,"Lo"),ni=ib,c(JA,"Un"),c(QA,"Po"),c(sb,"Io"),z_=sb,c(Du,"Ye"),c(_g,"Gn"),c(Xv,"Qt"),c(ub,"Ro"),T_=ub,c(cb,"Yo"),B_=cb,s8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return n}return-1}},"jo"),L_=s8,$_=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(e_,"Wo"),c(Fg,"Xn"),c(t_,"Mo"),c(ud,"er"),c(r_,"$o"),oy=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),O_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(Rg,"Zn"),c(n_,"eu"),ay="\uFEFF",Kg=Symbol("cursor"),c(Jv,"ou"),c(o_,"Uo"),c(Qc,"tr"),c(Ig,"ru"),c(Qv,"iu"),c(zg,"nu"),c(Tg,"rr"),c(db,"su"),c(pb,"au"),c(fb,"Du"),c(hb,"lu"),c(mb,"cu"),Th={},zi(Th,{builders:c(()=>u8,"builders"),printer:c(()=>c8,"printer"),utils:c(()=>d8,"utils")}),u8={join:gg,line:$g,softline:Zb,hardline:eo,literalline:Og,group:hg,conditionalGroup:R6,fill:mg,lineSuffix:ad,lineSuffixBoundary:Kb,cursor:dd,breakParent:Qi,ifBreak:I6,trim:Yb,indent:Ys,indentIfBreak:z6,align:oa,addAlignmentToDoc:vg,markAsRoot:_6,dedentToRoot:A6,dedent:F6,hardlineWithoutBreakParent:e0,literallineWithoutBreakParent:hh,label:T6,concat:c(e=>e,"concat")},c8={printDocToString:Xs},d8={willBreak:O6,traverseDoc:cd,findInDoc:ld,mapDoc:Zs,removeLines:M6,stripTrailingHardline:bg,replaceEndOfLine:P6,canBreak:N6},p8="3.3.3",Bh={},zi(Bh,{addDanglingComment:c(()=>xs,"addDanglingComment"),addLeadingComment:c(()=>jo,"addLeadingComment"),addTrailingComment:c(()=>Vo,"addTrailingComment"),getAlignmentSize:c(()=>fd,"getAlignmentSize"),getIndentSize:c(()=>f8,"getIndentSize"),getMaxContinuousCount:c(()=>h8,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>m8,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>kb,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>pd,"getStringWidth"),hasNewline:c(()=>mn,"hasNewline"),hasNewlineInRange:c(()=>g8,"hasNewlineInRange"),hasSpaces:c(()=>v8,"hasSpaces"),isNextLineEmpty:c(()=>_b,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>vd,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>Ab,"isPreviousLineEmpty"),makeString:c(()=>y8,"makeString"),skip:c(()=>_a,"skip"),skipEverythingButNewLine:c(()=>Pg,"skipEverythingButNewLine"),skipInlineComment:c(()=>md,"skipInlineComment"),skipNewline:c(()=>so,"skipNewline"),skipSpaces:c(()=>xn,"skipSpaces"),skipToLineEnd:c(()=>Mg,"skipToLineEnd"),skipTrailingComment:c(()=>gd,"skipTrailingComment"),skipWhitespace:c(()=>Qb,"skipWhitespace")}),c(gb,"Jo"),md=gb,c(vb,"Xo"),gd=vb,c(yb,"Zo"),x1=yb,c(wb,"Qo"),vd=wb,c(bb,"ei"),f8=bb,c(a_,"ur"),c(Eb,"ti"),h8=Eb,c(xb,"ri"),m8=xb,c(Cb,"ni"),g8=Cb,c(Db,"ui"),v8=Db,c(Sb,"oi"),y8=Sb,c(l_,"ii"),c(kb,"si"),c(i_,"ai"),c(Ab,"Di"),c(s_,"li"),c(_b,"ci"),c(_n,"fe"),Yg=_n(Tg),c(Bg,"gu"),c(Fb,"fi"),w8=_n(xg,0),b8={parse:_n(db),formatAST:_n(pb),formatDoc:_n(fb),printToDoc:_n(hb),printDocToString:_n(mb)},M_=ih});function P_(e){for(var t=[],r=1;r{c(P_,"dedent")}),N_={};Ql(N_,{formatter:()=>H_});var E8,H_,sP=T(()=>{E8=We(e1(),1),aP(),lP(),iP(),H_=(0,E8.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?P_(t):(await M_.format(t,{parser:e,plugins:[wA],htmlWhitespaceSensitivity:"ignore"})).trim())}),Zg,Xg,uP=T(()=>{Zg=c(function(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t},{})},"fromEntries"),Xg=typeof window<"u"&&window.document&&window.document.createElement?s.useLayoutEffect:s.useEffect}),it,zt,Tt,st,yd,gl,Yo,vl,j_,ly,ja,V_,Jg,iy,x8,C8,D8,S8,k8,A8,_8,F8,R8,U_,Wt=T(()=>{it="top",zt="bottom",Tt="right",st="left",yd="auto",gl=[it,zt,Tt,st],Yo="start",vl="end",j_="clippingParents",ly="viewport",ja="popper",V_="reference",Jg=gl.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+vl])},[]),iy=[].concat(gl,[yd]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+vl])},[]),x8="beforeRead",C8="read",D8="afterRead",S8="beforeMain",k8="main",A8="afterMain",_8="beforeWrite",F8="write",R8="afterWrite",U_=[x8,C8,D8,S8,k8,A8,_8,F8,R8]});function vr(e){return e?(e.nodeName||"").toLowerCase():null}var ga=T(()=>{c(vr,"getNodeName")});function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qr=T(()=>{c(Et,"getWindow")});function uo(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function C1(e){if(typeof ShadowRoot>"u")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var qt=T(()=>{Qr(),c(uo,"isElement"),c(Rt,"isHTMLElement"),c(C1,"isShadowRoot")});function I8(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Rt(a)||!vr(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(l){var i=o[l];i===!1?a.removeAttribute(l):a.setAttribute(l,i===!0?"":i)}))})}function z8(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=l.reduce(function(u,d){return u[d]="",u},{});!Rt(o)||!vr(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var W_,cP=T(()=>{ga(),qt(),c(I8,"applyStyles"),c(z8,"effect"),W_={name:"applyStyles",enabled:!0,phase:"write",fn:I8,effect:z8,requires:["computeStyles"]}});function pr(e){return e.split("-")[0]}var va=T(()=>{c(pr,"getBasePlacement")}),to,Js,la,ya=T(()=>{to=Math.max,Js=Math.min,la=Math.round});function wd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var q_=T(()=>{c(wd,"getUAString")});function sy(){return!/^((?!chrome|android).)*safari/i.test(wd())}var G_=T(()=>{q_(),c(sy,"isLayoutViewport")});function ia(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Rt(e)&&(o=e.offsetWidth>0&&la(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&la(n.height)/e.offsetHeight||1);var l=uo(e)?Et(e):window,i=l.visualViewport,u=!sy()&&r,d=(n.left+(u&&i?i.offsetLeft:0))/o,p=(n.top+(u&&i?i.offsetTop:0))/a,m=n.width/o,h=n.height/a;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var Au=T(()=>{qt(),ya(),Qr(),G_(),c(ia,"getBoundingClientRect")});function D1(e){var t=ia(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var uy=T(()=>{Au(),c(D1,"getLayoutRect")});function cy(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&C1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var K_=T(()=>{qt(),c(cy,"contains")});function Jr(e){return Et(e).getComputedStyle(e)}var _u=T(()=>{Qr(),c(Jr,"getComputedStyle")});function Y_(e){return["table","td","th"].indexOf(vr(e))>=0}var dP=T(()=>{ga(),c(Y_,"isTableElement")});function kn(e){return((uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var vo=T(()=>{qt(),c(kn,"getDocumentElement")});function Fu(e){return vr(e)==="html"?e:e.assignedSlot||e.parentNode||(C1(e)?e.host:null)||kn(e)}var S1=T(()=>{ga(),vo(),qt(),c(Fu,"getParentNode")});function Qg(e){return!Rt(e)||Jr(e).position==="fixed"?null:e.offsetParent}function Z_(e){var t=/firefox/i.test(wd()),r=/Trident/i.test(wd());if(r&&Rt(e)){var n=Jr(e);if(n.position==="fixed")return null}var o=Fu(e);for(C1(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(vr(o))<0;){var a=Jr(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function oi(e){for(var t=Et(e),r=Qg(e);r&&Y_(r)&&Jr(r).position==="static";)r=Qg(r);return r&&(vr(r)==="html"||vr(r)==="body"&&Jr(r).position==="static")?t:r||Z_(e)||t}var Ru=T(()=>{Qr(),ga(),_u(),qt(),dP(),S1(),q_(),c(Qg,"getTrueOffsetParent"),c(Z_,"getContainingBlock"),c(oi,"getOffsetParent")});function k1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var dy=T(()=>{c(k1,"getMainAxisFromPlacement")});function yl(e,t,r){return to(e,Js(t,r))}function X_(e,t,r){var n=yl(e,t,r);return n>r?r:n}var J_=T(()=>{ya(),c(yl,"within"),c(X_,"withinMaxClamp")});function py(){return{top:0,right:0,bottom:0,left:0}}var Q_=T(()=>{c(py,"getFreshSideObject")});function fy(e){return Object.assign({},py(),e)}var eF=T(()=>{Q_(),c(fy,"mergePaddingObject")});function hy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var tF=T(()=>{c(hy,"expandToHashMap")});function T8(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,i=pr(r.placement),u=k1(i),d=[st,Tt].indexOf(i)>=0,p=d?"height":"width";if(!(!a||!l)){var m=rF(o.padding,r),h=D1(a),f=u==="y"?it:st,v=u==="y"?zt:Tt,g=r.rects.reference[p]+r.rects.reference[u]-l[u]-r.rects.popper[p],C=l[u]-r.rects.reference[u],b=oi(a),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-C/2,x=m[f],D=y-h[p]-m[v],S=y/2-h[p]/2+E,k=yl(x,S,D),A=u;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function B8(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||cy(t.elements.popper,o)&&(t.elements.arrow=o))}var rF,nF,pP=T(()=>{va(),uy(),K_(),Ru(),dy(),J_(),eF(),tF(),Wt(),rF=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,fy(typeof e!="number"?e:hy(e,gl))},"toPaddingObject"),c(T8,"arrow"),c(B8,"effect"),nF={name:"arrow",enabled:!0,phase:"main",fn:T8,effect:B8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function sa(e){return e.split("-")[1]}var Iu=T(()=>{c(sa,"getVariation")});function oF(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:la(r*o)/o||0,y:la(n*o)/o||0}}function e5(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,i=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,f=h===void 0?0:h,v=l.y,g=v===void 0?0:v,C=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=C.x,g=C.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),E=st,x=it,D=window;if(d){var S=oi(r),k="clientHeight",A="clientWidth";if(S===Et(r)&&(S=kn(r),Jr(S).position!=="static"&&i==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,o===it||(o===st||o===Tt)&&a===vl){x=zt;var _=m&&S===D&&D.visualViewport?D.visualViewport.height:S[k];g-=_-n.height,g*=u?1:-1}if(o===st||(o===it||o===zt)&&a===vl){E=Tt;var R=m&&S===D&&D.visualViewport?D.visualViewport.width:S[A];f-=R-n.width,f*=u?1:-1}}var z=Object.assign({position:i},d&&aF),L=p===!0?oF({x:f,y:g},Et(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var $;return Object.assign({},z,($={},$[x]=y?"0":"",$[E]=b?"0":"",$.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",$))}return Object.assign({},z,(t={},t[x]=y?g+"px":"",t[E]=b?f+"px":"",t.transform="",t))}function L8(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,l=a===void 0?!0:a,i=r.roundOffsets,u=i===void 0?!0:i,d={placement:pr(t.placement),variation:sa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,e5(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,e5(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var aF,lF,fP=T(()=>{Wt(),Ru(),Qr(),vo(),_u(),va(),Iu(),ya(),aF={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(oF,"roundOffsetsByDPR"),c(e5,"mapToStyles"),c(L8,"computeStyles"),lF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:L8,data:{}}});function $8(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,l=n.resize,i=l===void 0?!0:l,u=Et(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",r.update,es)}),i&&u.addEventListener("resize",r.update,es),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",r.update,es)}),i&&u.removeEventListener("resize",r.update,es)}}var es,iF,hP=T(()=>{Qr(),es={passive:!0},c($8,"effect"),iF={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:$8,data:{}}});function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return sF[t]})}var sF,mP=T(()=>{sF={left:"right",right:"left",bottom:"top",top:"bottom"},c(Cs,"getOppositePlacement")});function t5(e){return e.replace(/start|end/g,function(t){return uF[t]})}var uF,gP=T(()=>{uF={start:"end",end:"start"},c(t5,"getOppositeVariationPlacement")});function A1(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var my=T(()=>{Qr(),c(A1,"getWindowScroll")});function _1(e){return ia(kn(e)).left+A1(e).scrollLeft}var gy=T(()=>{Au(),vo(),my(),c(_1,"getWindowScrollBarX")});function cF(e,t){var r=Et(e),n=kn(e),o=r.visualViewport,a=n.clientWidth,l=n.clientHeight,i=0,u=0;if(o){a=o.width,l=o.height;var d=sy();(d||!d&&t==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:i+_1(e),y:u}}var vP=T(()=>{Qr(),vo(),gy(),G_(),c(cF,"getViewportRect")});function dF(e){var t,r=kn(e),n=A1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=to(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=to(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+_1(e),u=-n.scrollTop;return Jr(o||r).direction==="rtl"&&(i+=to(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:i,y:u}}var yP=T(()=>{vo(),_u(),gy(),my(),ya(),c(dF,"getDocumentRect")});function F1(e){var t=Jr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}var vy=T(()=>{_u(),c(F1,"isScrollParent")});function yy(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:Rt(e)&&F1(e)?e:yy(Fu(e))}var wP=T(()=>{S1(),vy(),ga(),qt(),c(yy,"getScrollParent")});function wl(e,t){var r;t===void 0&&(t=[]);var n=yy(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Et(n),l=o?[a].concat(a.visualViewport||[],F1(n)?n:[]):n,i=t.concat(l);return o?i:i.concat(wl(Fu(l)))}var pF=T(()=>{wP(),S1(),Qr(),vy(),c(wl,"listScrollParents")});function bd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var fF=T(()=>{c(bd,"rectToClientRect")});function hF(e,t){var r=ia(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function r5(e,t,r){return t===ly?bd(cF(e,r)):uo(t)?hF(t,r):bd(dF(kn(e)))}function mF(e){var t=wl(Fu(e)),r=["absolute","fixed"].indexOf(Jr(e).position)>=0,n=r&&Rt(e)?oi(e):e;return uo(n)?t.filter(function(o){return uo(o)&&cy(o,n)&&vr(o)!=="body"}):[]}function gF(e,t,r,n){var o=t==="clippingParents"?mF(e):[].concat(t),a=[].concat(o,[r]),l=a[0],i=a.reduce(function(u,d){var p=r5(e,d,n);return u.top=to(p.top,u.top),u.right=Js(p.right,u.right),u.bottom=Js(p.bottom,u.bottom),u.left=to(p.left,u.left),u},r5(e,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var bP=T(()=>{Wt(),vP(),yP(),pF(),Ru(),vo(),_u(),qt(),Au(),S1(),K_(),ga(),fF(),ya(),c(hF,"getInnerBoundingClientRect"),c(r5,"getClientRectFromMixedType"),c(mF,"getClippingParents"),c(gF,"getClippingRect")});function wy(e){var t=e.reference,r=e.element,n=e.placement,o=n?pr(n):null,a=n?sa(n):null,l=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,u;switch(o){case it:u={x:l,y:t.y-r.height};break;case zt:u={x:l,y:t.y+t.height};break;case Tt:u={x:t.x+t.width,y:i};break;case st:u={x:t.x-r.width,y:i};break;default:u={x:t.x,y:t.y}}var d=o?k1(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case Yo:u[d]=u[d]-(t[p]/2-r[p]/2);break;case vl:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var vF=T(()=>{va(),Iu(),dy(),Wt(),c(wy,"computeOffsets")});function jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,l=a===void 0?e.strategy:a,i=r.boundary,u=i===void 0?j_:i,d=r.rootBoundary,p=d===void 0?ly:d,m=r.elementContext,h=m===void 0?ja:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,C=g===void 0?0:g,b=fy(typeof C!="number"?C:hy(C,gl)),y=h===ja?V_:ja,E=e.rects.popper,x=e.elements[v?y:h],D=gF(uo(x)?x:x.contextElement||kn(e.elements.popper),u,p,l),S=ia(e.elements.reference),k=wy({reference:S,element:E,placement:o}),A=bd(Object.assign({},E,k)),_=h===ja?A:S,R={top:D.top-_.top+b.top,bottom:_.bottom-D.bottom+b.bottom,left:D.left-_.left+b.left,right:_.right-D.right+b.right},z=e.modifiersData.offset;if(h===ja&&z){var L=z[o];Object.keys(R).forEach(function($){var N=[Tt,zt].indexOf($)>=0?1:-1,M=[it,zt].indexOf($)>=0?"y":"x";R[$]+=L[M]*N})}return R}var R1=T(()=>{bP(),vo(),Au(),vF(),fF(),Wt(),qt(),eF(),tF(),c(jl,"detectOverflow")});function yF(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,l=r.padding,i=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?iy:u,p=sa(n),m=p?i?Jg:Jg.filter(function(v){return sa(v)===p}):gl,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=jl(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[pr(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var EP=T(()=>{Iu(),Wt(),R1(),va(),c(yF,"computeAutoPlacement")});function wF(e){if(pr(e)===yd)return[];var t=Cs(e);return[t5(e),t,t5(t)]}function O8(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!0:l,u=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,C=t.options.placement,b=pr(C),y=b===C,E=u||(y||!v?[Cs(C)]:wF(C)),x=[C].concat(E).reduce(function(ie,U){return ie.concat(pr(U)===yd?yF(t,{placement:U,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):U)},[]),D=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=x[0],R=0;R=0,M=N?"width":"height",j=jl(t,{placement:z,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),q=N?$?Tt:st:$?zt:it;D[M]>S[M]&&(q=Cs(q));var B=Cs(q),P=[];if(a&&P.push(j[L]<=0),i&&P.push(j[q]<=0,j[B]<=0),P.every(function(ie){return ie})){_=z,A=!1;break}k.set(z,P)}if(A)for(var H=v?3:1,G=c(function(ie){var U=x.find(function(X){var re=k.get(X);if(re)return re.slice(0,ie).every(function(_e){return _e})});if(U)return _=U,"break"},"_loop"),Z=H;Z>0;Z--){var Q=G(Z);if(Q==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var bF,xP=T(()=>{mP(),va(),gP(),R1(),EP(),Wt(),Iu(),c(wF,"getExpandedFallbackPlacements"),c(O8,"flip"),bF={name:"flip",enabled:!0,phase:"main",fn:O8,requiresIfExists:["offset"],data:{_skip:!1}}});function n5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function o5(e){return[it,Tt,zt,st].some(function(t){return e[t]>=0})}function M8(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=jl(t,{elementContext:"reference"}),i=jl(t,{altBoundary:!0}),u=n5(l,n),d=n5(i,o,a),p=o5(u),m=o5(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var EF,CP=T(()=>{Wt(),R1(),c(n5,"getSideOffsets"),c(o5,"isAnySideFullyClipped"),c(M8,"hide"),EF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M8}});function xF(e,t,r){var n=pr(e),o=[st,it].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=a[0],i=a[1];return l=l||0,i=(i||0)*o,[st,Tt].indexOf(n)>=0?{x:i,y:l}:{x:l,y:i}}function P8(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,l=iy.reduce(function(p,m){return p[m]=xF(m,t.rects,a),p},{}),i=l[t.placement],u=i.x,d=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var CF,DP=T(()=>{va(),Wt(),c(xF,"distanceAndSkiddingToXY"),c(P8,"offset"),CF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P8}});function N8(e){var t=e.state,r=e.name;t.modifiersData[r]=wy({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var DF,SP=T(()=>{vF(),c(N8,"popperOffsets"),DF={name:"popperOffsets",enabled:!0,phase:"read",fn:N8,data:{}}});function SF(e){return e==="x"?"y":"x"}var kP=T(()=>{c(SF,"getAltAxis")});function H8(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!1:l,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,C=jl(t,{boundary:u,rootBoundary:d,padding:m,altBoundary:p}),b=pr(t.placement),y=sa(t.placement),E=!y,x=k1(b),D=SF(x),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(a){var $,N=x==="y"?it:st,M=x==="y"?zt:Tt,j=x==="y"?"height":"width",q=S[x],B=q+C[N],P=q-C[M],H=f?-A[j]/2:0,G=y===Yo?k[j]:A[j],Z=y===Yo?-A[j]:-k[j],Q=t.elements.arrow,ie=f&&Q?D1(Q):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:py(),X=U[N],re=U[M],_e=yl(0,k[j],ie[j]),qe=E?k[j]/2-H-_e-X-R.mainAxis:G-_e-X-R.mainAxis,xr=E?-k[j]/2+H+_e+re+R.mainAxis:Z+_e+re+R.mainAxis,xt=t.elements.arrow&&oi(t.elements.arrow),Yt=xt?x==="y"?xt.clientTop||0:xt.clientLeft||0:0,W=($=z==null?void 0:z[x])!=null?$:0,Zt=q+qe-W-Yt,Cr=q+xr-W,bo=yl(f?Js(B,Zt):B,q,f?to(P,Cr):P);S[x]=bo,L[x]=bo-q}if(i){var Ca,Dr=x==="x"?it:st,Tu=x==="x"?zt:Tt,rt=S[D],Eo=D==="y"?"height":"width",Sr=rt+C[Dr],Da=rt-C[Tu],kr=[it,st].indexOf(b)!==-1,Sa=(Ca=z==null?void 0:z[D])!=null?Ca:0,Ar=kr?Sr:rt-k[Eo]-A[Eo]-Sa+R.altAxis,Ge=kr?rt+k[Eo]+A[Eo]-Sa-R.altAxis:Da,Xt=f&&kr?X_(Ar,rt,Ge):yl(f?Ar:Sr,rt,f?Ge:Da);S[D]=Xt,L[D]=Xt-rt}t.modifiersData[n]=L}}var kF,AP=T(()=>{Wt(),va(),dy(),kP(),J_(),uy(),Ru(),R1(),Iu(),Q_(),ya(),c(H8,"preventOverflow"),kF={name:"preventOverflow",enabled:!0,phase:"main",fn:H8,requiresIfExists:["offset"]}}),AF=T(()=>{});function _F(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var _P=T(()=>{c(_F,"getHTMLElementScroll")});function FF(e){return e===Et(e)||!Rt(e)?A1(e):_F(e)}var FP=T(()=>{my(),Qr(),qt(),_P(),c(FF,"getNodeScroll")});function RF(e){var t=e.getBoundingClientRect(),r=la(t.width)/e.offsetWidth||1,n=la(t.height)/e.offsetHeight||1;return r!==1||n!==1}function IF(e,t,r){r===void 0&&(r=!1);var n=Rt(t),o=Rt(t)&&RF(t),a=kn(t),l=ia(e,o,r),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((vr(t)!=="body"||F1(a))&&(i=FF(t)),Rt(t)?(u=ia(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=_1(a))),{x:l.left+i.scrollLeft-u.x,y:l.top+i.scrollTop-u.y,width:l.width,height:l.height}}var RP=T(()=>{Au(),FP(),ga(),qt(),gy(),vo(),vy(),ya(),c(RF,"isElementScaled"),c(IF,"getCompositeRect")});function zF(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(i){if(!r.has(i)){var u=t.get(i);u&&o(u)}}),n.push(a)}return c(o,"sort"),e.forEach(function(a){r.has(a.name)||o(a)}),n}function TF(e){var t=zF(e);return U_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}var IP=T(()=>{Wt(),c(zF,"order"),c(TF,"orderModifiers")});function BF(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var zP=T(()=>{c(BF,"debounce")});function LF(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var TP=T(()=>{c(LF,"mergeByName")});function a5(){for(var e=arguments.length,t=new Array(e),r=0;r{RP(),uy(),pF(),Ru(),IP(),zP(),TP(),qt(),l5={placement:"bottom",modifiers:[],strategy:"absolute"},c(a5,"areValidElements"),c($F,"popperGenerator")}),j8,OF,LP=T(()=>{BP(),hP(),SP(),fP(),cP(),DP(),xP(),AP(),pP(),CP(),AF(),j8=[iF,DF,lF,W_,CF,bF,kF,nF,EF],OF=$F({defaultModifiers:j8})}),$P=T(()=>{Wt(),AF(),LP()}),OP=Y((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(i,u){if(i===u)return!0;if(i&&u&&typeof i=="object"&&typeof u=="object"){if(i.constructor!==u.constructor)return!1;var d,p,m;if(Array.isArray(i)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!l(i[p],u[p]))return!1;return!0}var h;if(n&&i instanceof Map&&u instanceof Map){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;for(h=i.entries();!(p=h.next()).done;)if(!l(p.value[1],u.get(p.value[0])))return!1;return!0}if(o&&i instanceof Set&&u instanceof Set){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(u)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(i[p]!==u[p])return!1;return!0}if(i.constructor===RegExp)return i.source===u.source&&i.flags===u.flags;if(i.valueOf!==Object.prototype.valueOf&&typeof i.valueOf=="function"&&typeof u.valueOf=="function")return i.valueOf()===u.valueOf();if(i.toString!==Object.prototype.toString&&typeof i.toString=="function"&&typeof u.toString=="function")return i.toString()===u.toString();if(m=Object.keys(i),d=m.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,m[p]))return!1;if(r&&i instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&i.$$typeof)&&!l(i[m[p]],u[m[p]]))return!1;return!0}return i!==i&&u!==u}c(l,"equal"),t.exports=c(function(i,u){try{return l(i,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),V8,U8,MF,MP=T(()=>{$P(),V8=We(OP()),uP(),U8=[],MF=c(function(e,t,r){r===void 0&&(r={});var n=s.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||U8},a=s.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],i=a[1],u=s.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(m){var h=m.state,f=Object.keys(h.elements);fu.flushSync(function(){i({styles:Zg(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:Zg(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=s.useMemo(function(){var m={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,V8.default)(n.current,m)?n.current||m:(n.current=m,m)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=s.useRef();return Xg(function(){p.current&&p.current.setOptions(d)},[d]),Xg(function(){if(!(e==null||t==null)){var m=r.createPopper||OF,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),PP=T(()=>{MP()});function by(e){var t=s.useRef(e);return t.current=e,s.useCallback(function(){return t.current},[])}function PF(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?HF:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=s.useState(t),l=a[0],i=a[1],u=by(l),d=s.useCallback(function(m){var h=u(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),i(f),typeof o=="function"&&o(f)},[u,o]),p=r!==void 0;return[p?r:l,p?o:d]}function i5(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function NF(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(u5).reduce(function(M,j){var q;return oe({},M,(q={},q[j]=M[j]!==void 0?M[j]:u5[j],q))},e),l=s.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),i=oe({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||l}),u=s.useState(null),d=u[0],p=u[1],m=s.useState(null),h=m[0],f=m[1],v=PF({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),g=v[0],C=v[1],b=s.useRef();s.useEffect(function(){return function(){return clearTimeout(b.current)}},[]);var y=MF(a.followCursor?s5:d,h,i),E=y.styles,x=y.attributes,D=t1(y,jF),S=D.update,k=by({visible:g,triggerRef:d,tooltipRef:h,finalConfig:a}),A=s.useCallback(function(M){return Array.isArray(a.trigger)?a.trigger.includes(M):a.trigger===M},Array.isArray(a.trigger)?a.trigger:[a.trigger]),_=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!1)},a.delayHide)},[a.delayHide,C]),R=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!0)},a.delayShow)},[a.delayShow,C]),z=s.useCallback(function(){k().visible?_():R()},[k,_,R]);s.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var M=c(function(j){var q,B=k(),P=B.tooltipRef,H=B.triggerRef,G=(j.composedPath==null||(q=j.composedPath())==null?void 0:q[0])||j.target;G instanceof Node&&P!=null&&H!=null&&!P.contains(G)&&!H.contains(G)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[k,_]),s.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",z),function(){return d.removeEventListener("click",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",z),function(){return d.removeEventListener("dblclick",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("right-click"))){var M=c(function(j){j.preventDefault(),z()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),s.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),s.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",R),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",R),h.removeEventListener("mouseleave",_)}},[h,A,R,_,k]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;s.useEffect(function(){a.closeOnTriggerHidden&&L&&_()},[a.closeOnTriggerHidden,_,L]),s.useEffect(function(){if(!a.followCursor||d==null)return;function M(j){var q=j.clientX,B=j.clientY;s5.getBoundingClientRect=i5(q,B),S==null||S()}return c(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[a.followCursor,d,S]),s.useEffect(function(){if(!(h==null||S==null||a.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(h,a.mutationObserverOptions),function(){return M.disconnect()}}},[a.mutationObserverOptions,h,S]);var $=c(function(M){return M===void 0&&(M={}),oe({},M,{style:oe({},M.style,E.popper)},x.popper,{"data-popper-interactive":a.interactive})},"getTooltipProps"),N=c(function(M){return M===void 0&&(M={}),oe({},M,x.arrow,{style:oe({},M.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return oe({getArrowProps:N,getTooltipProps:$,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},D)}var HF,jF,s5,u5,NP=T(()=>{rv(),wr(),PP(),c(by,"useGetLatest"),HF=c(function(){},"noop"),c(PF,"useControlledState"),c(i5,"generateBoundingClientRect"),jF=["styles","attributes"],s5={getBoundingClientRect:i5()},u5={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(NF,"usePopperTooltip")}),W8,Dt,on,q8,G8,c5,HP=T(()=>{W8=We(e1(),1),Dt=(0,W8.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),on=8,q8=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Dt("top",r,`${on*-1}px`,"auto")}`,top:`${Dt("bottom",r,`${on*-1}px`,"auto")}`,right:`${Dt("left",r,`${on*-1}px`,"auto")}`,left:`${Dt("right",r,`${on*-1}px`,"auto")}`,borderBottomWidth:`${Dt("top",r,"0",on)}px`,borderTopWidth:`${Dt("bottom",r,"0",on)}px`,borderRightWidth:`${Dt("left",r,"0",on)}px`,borderLeftWidth:`${Dt("right",r,"0",on)}px`,borderTopColor:Dt("top",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderBottomColor:Dt("bottom",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderLeftColor:Dt("left",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderRightColor:Dt("right",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent")})),G8=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),c5=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:o,color:a,withArrows:l,...i},u)=>w.createElement(G8,{"data-testid":"tooltip",hasChrome:t,ref:u,...i,color:a},t&&l&&w.createElement(q8,{placement:e,...n,color:a}),r)),c5.displayName="Tooltip"}),Ey={};Ql(Ey,{WithToolTipState:()=>Ed,WithTooltip:()=>Ed,WithTooltipPure:()=>d5});var Li,K8,Y8,d5,Ed,xy=T(()=>{tv(),NP(),HP(),{document:Li}=Qd,K8=F.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Y8=F.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,d5=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:a=!0,defaultVisible:l=!1,withArrows:i,offset:u,tooltip:d,children:p,closeOnTriggerHidden:m,mutationObserverOptions:h,delayHide:f,visible:v,interactive:g,delayShow:C,strategy:b,followCursor:y,onVisibleChange:E,...x})=>{let D=e?Y8:K8,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:R,state:z}=NF({trigger:t,placement:n,defaultVisible:l,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:E,delayShow:C,followCursor:y,mutationObserverOptions:h,visible:v,offset:u},{modifiers:o,strategy:b}),L=w.createElement(c5,{placement:z==null?void 0:z.placement,ref:A,hasChrome:a,arrowProps:S(),withArrows:i,...k()},typeof d=="function"?d({onHide:c(()=>E(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:_,...x},p),R&&lD.createPortal(L,Li.body))},"WithTooltipPure"),Ed=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=s.useState(e),a=s.useCallback(l=>{t&&t(l)===!1||o(l)},[t]);return s.useEffect(()=>{let l=c(()=>a(!1),"hide");Li.addEventListener("keydown",l,!1);let i=Array.from(Li.getElementsByTagName("iframe")),u=[];return i.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{Li.removeEventListener("keydown",l),u.forEach(d=>{d()})}}),w.createElement(d5,{...r,visible:n,onVisibleChange:a})},"WithToolTipState")}),ge=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");wr();VO();ev();function VF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$l(e,t)}c(VF,"_inheritsLoose");UO();ev();function UF(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(UF,"_isNativeFunction");function Cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cy=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Cy,"_isNativeReflectConstruct");ev();function WF(e,t,r){if(Cy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&$l(o,r.prototype),o}c(WF,"_construct");function xd(e){var t=typeof Map=="function"?new Map:void 0;return xd=c(function(r){if(r===null||!UF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return WF(r,arguments,V0(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$l(n,r)},"_wrapNativeSuper"),xd(e)}c(xd,"_wrapNativeSuper");var jP={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function qF(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}c(Vl,"hslToRgb");var Z8={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function KF(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Z8[t]?"#"+Z8[t]:e}c(KF,"nameToHex");var VP=/^#[a-fA-F0-9]{6}$/,UP=/^#[a-fA-F0-9]{8}$/,WP=/^#[a-fA-F0-9]{3}$/,qP=/^#[a-fA-F0-9]{4}$/,Lh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,GP=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,KP=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,YP=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I1(e){if(typeof e!="string")throw new Pr(3);var t=KF(e);if(t.match(VP))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(UP)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(WP))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(qP)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Lh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=GP.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=KP.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Vl(i,u,d)+")",m=Lh.exec(p);if(!m)throw new Pr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=YP.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Vl(f,v,g)+")",b=Lh.exec(C);if(!b)throw new Pr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Pr(5)}c(I1,"parseToRgb");function YF(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Qs(e,t,r):"rgba("+Vl(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Qs(e.hue,e.saturation,e.lightness):"rgba("+Vl(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pr(2)}c(JF,"hsla");function Cd(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return p5("#"+Pn(e)+Pn(t)+Pn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return p5("#"+Pn(e.red)+Pn(e.green)+Pn(e.blue));throw new Pr(6)}c(Cd,"rgb");function eu(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=I1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Cd(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cd(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pr(7)}c(eu,"rgba");var XP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),JP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),QP=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),eN=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Sy(e){if(typeof e!="object")throw new Pr(8);if(JP(e))return eu(e);if(XP(e))return Cd(e);if(eN(e))return JF(e);if(QP(e))return XF(e);throw new Pr(8)}c(Sy,"toColorString");function ky(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ky(e,t,n)},"fn")}c(ky,"curried");function z1(e){return ky(e,e.length,[])}c(z1,"curry");function T1(e,t,r){return Math.max(e,Math.min(t,r))}c(T1,"guard");function QF(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness-parseFloat(e))}))}c(QF,"darken");var tN=z1(QF),nl=tN;function eR(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness+parseFloat(e))}))}c(eR,"lighten");var rN=z1(eR),X8=rN;function tR(e,t){if(t==="transparent")return t;var r=I1(t),n=typeof r.alpha=="number"?r.alpha:1,o=oe({},r,{alpha:T1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return eu(o)}c(tR,"transparentize");var nN=z1(tR),Nt=nN,ai=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),yo=c(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Nt(.1,e.color.defaultText):Nt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),Ee=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),wa={margin:"16px 0"},Ay=F.div(Ee),oN=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:r,target:n,...t})},"Link"),aN=F(oN)(Ee,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),lN=F.blockquote(Ee,wa,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));n1();var iN=c(e=>typeof e=="string","isReactChildString"),sN=/[\n\r]/g,uN=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),yo),cN=F(gs)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rR=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=s.Children.toArray(t);return o.filter(iN).some(a=>a.match(sN))?w.createElement(cN,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):w.createElement(uN,{...r,className:e},o)},"Code"),dN=F.dl(Ee,wa,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),pN=F.div(Ee),fN=F.h1(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),nR=F.h2(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),oR=F.h3(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),hN=F.h4(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),mN=F.h5(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),gN=F.h6(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),vN=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),yN=F.img({maxWidth:"100%"}),wN=F.li(Ee,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":yo({theme:e})})),bN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},EN=F.ol(Ee,wa,bN,{listStyle:"decimal"}),xN=F.p(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":yo({theme:e})})),CN=F.pre(Ee,wa,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),DN=F.span(Ee,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),SN=F.title(yo),kN=F.table(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),AN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},_N=F.ul(Ee,wa,AN,{listStyle:"disc"}),aR={h1:c(e=>w.createElement(fN,{...ge(e,"h1")}),"h1"),h2:c(e=>w.createElement(nR,{...ge(e,"h2")}),"h2"),h3:c(e=>w.createElement(oR,{...ge(e,"h3")}),"h3"),h4:c(e=>w.createElement(hN,{...ge(e,"h4")}),"h4"),h5:c(e=>w.createElement(mN,{...ge(e,"h5")}),"h5"),h6:c(e=>w.createElement(gN,{...ge(e,"h6")}),"h6"),pre:c(e=>w.createElement(CN,{...ge(e,"pre")}),"pre"),a:c(e=>w.createElement(aN,{...ge(e,"a")}),"a"),hr:c(e=>w.createElement(vN,{...ge(e,"hr")}),"hr"),dl:c(e=>w.createElement(dN,{...ge(e,"dl")}),"dl"),blockquote:c(e=>w.createElement(lN,{...ge(e,"blockquote")}),"blockquote"),table:c(e=>w.createElement(kN,{...ge(e,"table")}),"table"),img:c(e=>w.createElement(yN,{...ge(e,"img")}),"img"),div:c(e=>w.createElement(pN,{...ge(e,"div")}),"div"),span:c(e=>w.createElement(DN,{...ge(e,"span")}),"span"),li:c(e=>w.createElement(wN,{...ge(e,"li")}),"li"),ul:c(e=>w.createElement(_N,{...ge(e,"ul")}),"ul"),ol:c(e=>w.createElement(EN,{...ge(e,"ol")}),"ol"),p:c(e=>w.createElement(xN,{...ge(e,"p")}),"p"),code:c(e=>w.createElement(rR,{...ge(e,"code")}),"code"),tt:c(e=>w.createElement(SN,{...ge(e,"tt")}),"tt"),resetwrapper:c(e=>w.createElement(Ay,{...ge(e,"resetwrapper")}),"resetwrapper")},FN=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.positiveText)}`:"none"};default:return{}}}),nre=c(({...e})=>w.createElement(FN,{...e}),"Badge"),lR={};Ql(lR,{AccessibilityAltIcon:()=>ZU,AccessibilityIcon:()=>YU,AddIcon:()=>Wj,AdminIcon:()=>PU,AlertAltIcon:()=>wV,AlertIcon:()=>yV,AlignLeftIcon:()=>xH,AlignRightIcon:()=>CH,AppleIcon:()=>jH,ArrowBottomLeftIcon:()=>dU,ArrowBottomRightIcon:()=>pU,ArrowDownIcon:()=>lU,ArrowLeftIcon:()=>iU,ArrowRightIcon:()=>sU,ArrowSolidDownIcon:()=>hU,ArrowSolidLeftIcon:()=>mU,ArrowSolidRightIcon:()=>gU,ArrowSolidUpIcon:()=>fU,ArrowTopLeftIcon:()=>uU,ArrowTopRightIcon:()=>cU,ArrowUpIcon:()=>aU,AzureDevOpsIcon:()=>KH,BackIcon:()=>_U,BasketIcon:()=>jV,BatchAcceptIcon:()=>Mj,BatchDenyIcon:()=>Oj,BeakerIcon:()=>VV,BellIcon:()=>DV,BitbucketIcon:()=>YH,BoldIcon:()=>RH,BookIcon:()=>fH,BookmarkHollowIcon:()=>IV,BookmarkIcon:()=>zV,BottomBarIcon:()=>Ej,BottomBarToggleIcon:()=>xj,BoxIcon:()=>Aj,BranchIcon:()=>PH,BrowserIcon:()=>fj,ButtonIcon:()=>uV,CPUIcon:()=>Cj,CalendarIcon:()=>bH,CameraIcon:()=>XN,CategoryIcon:()=>gH,CertificateIcon:()=>MV,ChangedIcon:()=>Zj,ChatIcon:()=>nV,CheckIcon:()=>Lj,ChevronDownIcon:()=>QV,ChevronLeftIcon:()=>eU,ChevronRightIcon:()=>uR,ChevronSmallDownIcon:()=>rU,ChevronSmallLeftIcon:()=>nU,ChevronSmallRightIcon:()=>oU,ChevronSmallUpIcon:()=>tU,ChevronUpIcon:()=>JV,ChromaticIcon:()=>ZH,ChromeIcon:()=>qH,CircleHollowIcon:()=>FV,CircleIcon:()=>RV,ClearIcon:()=>Jj,CloseAltIcon:()=>Hj,CloseIcon:()=>Gj,CloudHollowIcon:()=>qV,CloudIcon:()=>GV,CogIcon:()=>Rj,CollapseIcon:()=>yU,CommandIcon:()=>fV,CommentAddIcon:()=>eV,CommentIcon:()=>Qj,CommentsIcon:()=>rV,CommitIcon:()=>MH,CompassIcon:()=>zU,ComponentDrivenIcon:()=>XH,ComponentIcon:()=>zN,ContrastIcon:()=>UN,ControlsIcon:()=>Pj,CopyIcon:()=>mH,CreditIcon:()=>sV,CrossIcon:()=>sR,DashboardIcon:()=>$U,DatabaseIcon:()=>Dj,DeleteIcon:()=>Kj,DiamondIcon:()=>TV,DirectionIcon:()=>NU,DiscordIcon:()=>JH,DocChartIcon:()=>SH,DocListIcon:()=>kH,DocumentIcon:()=>hH,DownloadIcon:()=>AU,DragIcon:()=>AH,EditIcon:()=>Fj,EllipsisIcon:()=>Tj,EmailIcon:()=>bV,ExpandAltIcon:()=>vU,ExpandIcon:()=>wU,EyeCloseIcon:()=>jN,EyeIcon:()=>HN,FaceHappyIcon:()=>qU,FaceNeutralIcon:()=>GU,FaceSadIcon:()=>KU,FacebookIcon:()=>QH,FailedIcon:()=>Xj,FastForwardIcon:()=>oH,FigmaIcon:()=>ej,FilterIcon:()=>DH,FlagIcon:()=>WV,FolderIcon:()=>vH,FormIcon:()=>$j,GDriveIcon:()=>tj,GithubIcon:()=>rj,GitlabIcon:()=>nj,GlobeIcon:()=>IU,GoogleIcon:()=>oj,GraphBarIcon:()=>EH,GraphLineIcon:()=>wH,GraphqlIcon:()=>aj,GridAltIcon:()=>$N,GridIcon:()=>TN,GrowIcon:()=>GN,HeartHollowIcon:()=>BV,HeartIcon:()=>LV,HomeIcon:()=>MU,HourglassIcon:()=>UV,InfoIcon:()=>mV,ItalicIcon:()=>IH,JumpToIcon:()=>_V,KeyIcon:()=>lV,LightningIcon:()=>VN,LightningOffIcon:()=>iR,LinkBrokenIcon:()=>CV,LinkIcon:()=>xV,LinkedinIcon:()=>dj,LinuxIcon:()=>VH,ListOrderedIcon:()=>TH,ListUnorderedIcon:()=>BH,LocationIcon:()=>TU,LockIcon:()=>oV,MarkdownIcon:()=>$H,MarkupIcon:()=>FH,MediumIcon:()=>lj,MemoryIcon:()=>Sj,MenuIcon:()=>_H,MergeIcon:()=>HH,MirrorIcon:()=>qN,MobileIcon:()=>mj,MoonIcon:()=>pH,NutIcon:()=>Ij,OutboxIcon:()=>iV,OutlineIcon:()=>BN,PaintBrushIcon:()=>KN,PaperClipIcon:()=>zH,ParagraphIcon:()=>LH,PassedIcon:()=>Yj,PhoneIcon:()=>EV,PhotoDragIcon:()=>LN,PhotoIcon:()=>IN,PinAltIcon:()=>Vj,PinIcon:()=>BU,PlayAllHollowIcon:()=>sH,PlayBackIcon:()=>tH,PlayHollowIcon:()=>iH,PlayIcon:()=>eH,PlayNextIcon:()=>rH,PlusIcon:()=>Nj,PointerDefaultIcon:()=>dV,PointerHandIcon:()=>pV,PowerIcon:()=>_j,PrintIcon:()=>yH,ProceedIcon:()=>FU,ProfileIcon:()=>WU,PullRequestIcon:()=>NH,QuestionIcon:()=>gV,RSSIcon:()=>SV,RedirectIcon:()=>xU,ReduxIcon:()=>ij,RefreshIcon:()=>RU,ReplyIcon:()=>DU,RepoIcon:()=>OH,RequestChangeIcon:()=>tV,RewindIcon:()=>nH,RulerIcon:()=>YN,SaveIcon:()=>hV,SearchIcon:()=>ON,ShareAltIcon:()=>kV,ShareIcon:()=>AV,ShieldIcon:()=>HV,SideBySideIcon:()=>uH,SidebarAltIcon:()=>yj,SidebarAltToggleIcon:()=>wj,SidebarIcon:()=>vj,SidebarToggleIcon:()=>bj,SpeakerIcon:()=>QN,StackedIcon:()=>cH,StarHollowIcon:()=>$V,StarIcon:()=>OV,StatusFailIcon:()=>YV,StatusPassIcon:()=>XV,StatusWarnIcon:()=>ZV,StickerIcon:()=>KV,StopAltHollowIcon:()=>lH,StopAltIcon:()=>aH,StopIcon:()=>ZN,StorybookIcon:()=>GH,StructureIcon:()=>kj,SubtractIcon:()=>qj,SunIcon:()=>dH,SupportIcon:()=>vV,SwitchAltIcon:()=>WN,SyncIcon:()=>SU,TabletIcon:()=>hj,ThumbsUpIcon:()=>NV,TimeIcon:()=>LU,TimerIcon:()=>OU,TransferIcon:()=>EU,TrashIcon:()=>jj,TwitterIcon:()=>sj,TypeIcon:()=>cV,UbuntuIcon:()=>UH,UndoIcon:()=>CU,UnfoldIcon:()=>bU,UnlockIcon:()=>aV,UnpinIcon:()=>Uj,UploadIcon:()=>kU,UserAddIcon:()=>VU,UserAltIcon:()=>jU,UserIcon:()=>HU,UsersIcon:()=>UU,VSCodeIcon:()=>cj,VerifiedIcon:()=>PV,VideoIcon:()=>JN,WandIcon:()=>Bj,WatchIcon:()=>gj,WindowsIcon:()=>WH,WrenchIcon:()=>zj,XIcon:()=>pj,YoutubeIcon:()=>uj,ZoomIcon:()=>MN,ZoomOutIcon:()=>PN,ZoomResetIcon:()=>NN,iconList:()=>RN});var RN=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],IN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),zN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),TN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),BN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),LN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),s.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),$N=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),ON=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),MN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),PN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),NN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),HN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),jN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),VN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),iR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),UN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),WN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),qN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),GN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),s.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),KN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),YN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),ZN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),XN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),JN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),QN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),s.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),s.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),eH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),tH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),rH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),nH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),oH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),aH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),lH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),iH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),sH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),uH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),cH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),dH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),s.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3492"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3493"},s.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),fH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),hH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),mH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),gH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),vH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),yH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),wH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),bH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),EH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),xH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),CH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),DH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),SH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),kH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),AH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),_H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),FH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),RH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),IH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),zH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),TH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),BH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),LH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),$H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),OH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),MH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),PH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),NH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),jH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),VH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),UH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},s.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3497"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),WH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),qH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3496"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),GH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),KH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},s.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3503"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),YH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),ZH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),XH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),JH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),QH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),Ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),Cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),Dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),Sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),Aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),_j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),s.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),Fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),Lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),$j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),Oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),Nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),Hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),sR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),Vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3502"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},s.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3501"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),Yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),Zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),Xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),Jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),Qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),eV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),tV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),rV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),nV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),oV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),aV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},s.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3614"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),iV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),s.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),sV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),uV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),s.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),cV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),dV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),pV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),fV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),hV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),mV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),gV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),yV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),wV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),bV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),EV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),xV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),CV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),DV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),SV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),kV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),AV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),_V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),s.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),FV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),RV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),IV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),zV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),TV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1449_588"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),BV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),LV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),$V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),OV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),MV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),PV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),NV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),jV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),s.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),s.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),VV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),UV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),WV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),qV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),GV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),KV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),YV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),ZV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),XV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),JV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),QV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),eU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),uR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),tU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),rU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),nU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),oU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),aU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),lU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),iU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),sU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),uU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),cU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),dU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),pU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),fU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),hU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),mU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),gU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),vU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),yU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),wU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),bU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),s.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),s.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),EU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),xU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),CU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),DU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),SU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),kU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),AU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),_U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),FU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),RU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),IU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),zU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),TU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),BU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),LU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),$U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),OU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),MU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),PU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),s.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),NU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},s.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3594"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),HU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),jU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),VU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),UU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),s.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),WU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),qU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),KU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),YU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),s.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ZU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),XU=0,JU=c(e=>e.button===XU&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),QU=c((e,t)=>{JU(e)&&(e.preventDefault(),t(e))},"cancelled"),eW=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),tW=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:nl(.07,e.color.secondary),"svg path:not([fill])":{fill:nl(.07,e.color.secondary)}},"&:active":{color:nl(.1,e.color.secondary),"svg path:not([fill])":{fill:nl(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),bl=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...i})=>w.createElement(tW,{...i,onClick:r&&e?u=>QU(u,r):r,className:a},w.createElement(eW,{withArrow:n,containsIcon:o},t,n&&w.createElement(uR,null))),"Link"),ore=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),Zo=[],Ul=null,rW=s.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(n1(),fv));return Zo.length>0&&(Zo.forEach(t=>{e.registerLanguage(...t)}),Zo=[]),Ul===null&&(Ul=e),{default:c(t=>w.createElement(e,{...t}),"default")}}),nW=s.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(n1(),fv)),Promise.resolve().then(()=>(sP(),N_))]);return Zo.length>0&&(Zo.forEach(r=>{e.registerLanguage(...r)}),Zo=[]),Ul===null&&(Ul=e),{default:c(r=>w.createElement(e,{...r,formatter:t}),"default")}}),_y=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(nW,{...e}):w.createElement(rW,{...e})),"SyntaxHighlighter");_y.registerLanguage=(...e)=>{if(Ul!==null){Ul.registerLanguage(...e);return}Zo.push(e)};n1();tS();var cR={};Ql(cR,{Close:()=>EI,Content:()=>yI,Description:()=>bI,Dialog:()=>nI,DialogClose:()=>hI,DialogContent:()=>uI,DialogDescription:()=>fI,DialogOverlay:()=>sI,DialogPortal:()=>iI,DialogTitle:()=>pI,DialogTrigger:()=>oI,Overlay:()=>vI,Portal:()=>gI,Root:()=>mI,Title:()=>wI,Trigger:()=>QW,WarningProvider:()=>JW,createDialogScope:()=>jW});wr();function gn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(gn,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function dR(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(dR,"$6ed0406888f73fc4$var$setRef");function B1(...e){return t=>e.forEach(r=>dR(r,t))}c(B1,"$6ed0406888f73fc4$export$43e446d32b3d21af");function ba(...e){return s.useCallback(B1(...e),e)}c(ba,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function pR(e,t){let r=s.createContext(t);function n(a){let{children:l,...i}=a,u=s.useMemo(()=>i,Object.values(i));return s.createElement(r.Provider,{value:u},l)}c(n,"Provider");function o(a){let l=s.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return c(o,"useContext"),n.displayName=e+"Provider",[n,o]}c(pR,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function fR(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return s.createElement(g.Provider,{value:C},f)}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext"),d.displayName=a+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,hR(o,...t)]}c(fR,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function hR(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(hR,"$c512c27ab02ef895$var$composeContextScopes");var f5=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},oW=s.useId||(()=>{}),aW=0;function l0(e){let[t,r]=s.useState(oW());return f5(()=>{e||r(n=>n??String(aW++))},[e]),e||(t?`radix-${t}`:"")}c(l0,"$1746a345f3d73bb7$export$f680877a34711e37");function co(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(co,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function mR({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,o]=gR({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:n,i=co(r),u=s.useCallback(d=>{if(a){let p=typeof d=="function"?d(e):d;p!==e&&i(p)}else o(d)},[a,e,o,i]);return[l,u]}c(mR,"$71cd76cc60e0454e$export$6f32135080cb4c3");function gR({defaultProp:e,onChange:t}){let r=s.useState(e),[n]=r,o=s.useRef(n),a=co(t);return s.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}c(gR,"$71cd76cc60e0454e$var$useUncontrolledState");wr();wr();wr();var vR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(yR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(h5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(h5,oe({},n,{ref:t}),r)});vR.displayName="Slot";var h5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...wR(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});h5.displayName="SlotClone";var lW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function yR(e){return s.isValidElement(e)&&e.type===lW}c(yR,"$5e63c961fc1ce211$var$isSlottable");function wR(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(wR,"$5e63c961fc1ce211$var$mergeProps");var iW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wo=iW.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?vR:t;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(i,oe({},l,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bR(e,t){e&&fu.flushSync(()=>e.dispatchEvent(t))}c(bR,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function ER(e,t=globalThis==null?void 0:globalThis.document){let r=co(e);s.useEffect(()=>{let n=c(o=>{o.key==="Escape"&&r(o)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(ER,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var m5="dismissableLayer.update",sW="dismissableLayer.pointerDownOutside",uW="dismissableLayer.focusOutside",J8,cW=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dW=s.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:i,onDismiss:u,...d}=e,p=s.useContext(cW),[m,h]=s.useState(null),f=(r=m==null?void 0:m.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=s.useState({}),g=ba(t,A=>h(A)),C=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),y=C.indexOf(b),E=m?C.indexOf(m):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,D=E>=y,S=xR(A=>{let _=A.target,R=[...p.branches].some(z=>z.contains(_));!D||R||(a==null||a(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f),k=CR(A=>{let _=A.target;[...p.branches].some(R=>R.contains(_))||(l==null||l(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f);return ER(A=>{E===p.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&u&&(A.preventDefault(),u()))},f),s.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(J8=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),g5(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=J8)}},[m,f,n,p]),s.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),g5())},[m,p]),s.useEffect(()=>{let A=c(()=>v({}),"handleUpdate");return document.addEventListener(m5,A),()=>document.removeEventListener(m5,A)},[]),s.createElement(wo.div,oe({},d,{ref:g,style:{pointerEvents:x?D?"auto":"none":void 0,...e.style},onFocusCapture:gn(e.onFocusCapture,k.onFocusCapture),onBlurCapture:gn(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:gn(e.onPointerDownCapture,S.onPointerDownCapture)}))});function xR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{let a=c(i=>{if(i.target&&!n.current){let u=function(){Fy(sW,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(xR,"$5cb92bef7577960e$var$usePointerDownOutside");function CR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1);return s.useEffect(()=>{let o=c(a=>{a.target&&!n.current&&Fy(uW,r,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(CR,"$5cb92bef7577960e$var$useFocusOutside");function g5(){let e=new CustomEvent(m5);document.dispatchEvent(e)}c(g5,"$5cb92bef7577960e$var$dispatchUpdate");function Fy(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?bR(o,a):o.dispatchEvent(a)}c(Fy,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");wr();var $h="focusScope.autoFocusOnMount",Oh="focusScope.autoFocusOnUnmount",Q8={bubbles:!1,cancelable:!0},pW=s.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...l}=e,[i,u]=s.useState(null),d=co(o),p=co(a),m=s.useRef(null),h=ba(t,g=>u(g)),f=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(n){let g=function(E){if(f.paused||!i)return;let x=E.target;i.contains(x)?m.current=x:un(m.current,{select:!0})},C=function(E){if(f.paused||!i)return;let x=E.relatedTarget;x!==null&&(i.contains(x)||un(m.current,{select:!0}))},b=function(E){if(document.activeElement===document.body)for(let x of E)x.removedNodes.length>0&&un(i)};c(g,"handleFocusIn"),c(C,"handleFocusOut"),c(b,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",C);let y=new MutationObserver(b);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),y.disconnect()}}},[n,i,f.paused]),s.useEffect(()=>{if(i){eE.add(f);let g=document.activeElement;if(!i.contains(g)){let C=new CustomEvent($h,Q8);i.addEventListener($h,d),i.dispatchEvent(C),C.defaultPrevented||(DR(FR(Ry(i)),{select:!0}),document.activeElement===g&&un(i))}return()=>{i.removeEventListener($h,d),setTimeout(()=>{let C=new CustomEvent(Oh,Q8);i.addEventListener(Oh,p),i.dispatchEvent(C),C.defaultPrevented||un(g??document.body,{select:!0}),i.removeEventListener(Oh,p),eE.remove(f)},0)}}},[i,d,p,f]);let v=s.useCallback(g=>{if(!r&&!n||f.paused)return;let C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(C&&b){let y=g.currentTarget,[E,x]=SR(y);E&&x?!g.shiftKey&&b===x?(g.preventDefault(),r&&un(E,{select:!0})):g.shiftKey&&b===E&&(g.preventDefault(),r&&un(x,{select:!0})):b===y&&g.preventDefault()}},[r,n,f.paused]);return s.createElement(wo.div,oe({tabIndex:-1},l,{ref:h,onKeyDown:v}))});function DR(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(un(n,{select:t}),document.activeElement!==r)return}c(DR,"$d3863c46a17e8a28$var$focusFirst");function SR(e){let t=Ry(e),r=v5(t,e),n=v5(t.reverse(),e);return[r,n]}c(SR,"$d3863c46a17e8a28$var$getTabbableEdges");function Ry(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(Ry,"$d3863c46a17e8a28$var$getTabbableCandidates");function v5(e,t){for(let r of e)if(!kR(r,{upTo:t}))return r}c(v5,"$d3863c46a17e8a28$var$findVisible");function kR(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(kR,"$d3863c46a17e8a28$var$isHidden");function AR(e){return e instanceof HTMLInputElement&&"select"in e}c(AR,"$d3863c46a17e8a28$var$isSelectableInput");function un(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&AR(e)&&t&&e.select()}}c(un,"$d3863c46a17e8a28$var$focus");var eE=_R();function _R(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=y5(e,t),e.unshift(t)},remove(t){var r;e=y5(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(_R,"$d3863c46a17e8a28$var$createFocusScopesStack");function y5(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(y5,"$d3863c46a17e8a28$var$arrayRemove");function FR(e){return e.filter(t=>t.tagName!=="A")}c(FR,"$d3863c46a17e8a28$var$removeLinks");wr();var fW=s.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?lD.createPortal(s.createElement(wo.div,oe({},o,{ref:t})),n):null});function RR(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}c(RR,"$fe963b355347cc68$export$3e6543de14f8614f");var L1=c(e=>{let{present:t,children:r}=e,n=IR(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=ba(n.ref,o.ref);return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");L1.displayName="Presence";function IR(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=RR(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=ts(n.current);a.current=i==="mounted"?d:"none"},[i]),f5(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=ts(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),f5(()=>{if(t){let d=c(m=>{let h=ts(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=ts(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(IR,"$921a889cee6df7e8$var$usePresence");function ts(e){return(e==null?void 0:e.animationName)||"none"}c(ts,"$921a889cee6df7e8$var$getAnimationName");var Mh=0;function zR(){s.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:w5()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:w5()),Mh++,()=>{Mh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Mh--}},[])}c(zR,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function w5(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(w5,"$3db38b7d1fb3fe6a$var$createFocusGuard");var $r=c(function(){return $r=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return wW;var t=bW(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),xW=WR(),Dd="data-scroll-locked",CW=c(function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return r===void 0&&(r="margin"),` - .`.concat(hW,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(i,"px ").concat(n,`; - } - body[`).concat(Dd,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(o,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(l,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(i,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(i0,` { - right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(s0,` { - margin-right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(i0," .").concat(i0,` { - right: 0 `).concat(n,`; - } - - .`).concat(s0," .").concat(s0,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(Dd,`] { - `).concat(mW,": ").concat(i,`px; - } -`)},"getStyles"),DW=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=s.useMemo(function(){return EW(o)},[o]);return s.useEffect(function(){return document.body.setAttribute(Dd,""),function(){document.body.removeAttribute(Dd)}},[]),s.createElement(xW,{styles:CW(a,!t,o,r?"":"!important")})},"RemoveScrollBar"),b5=!1;if(typeof window<"u")try{$i=Object.defineProperty({},"passive",{get:c(function(){return b5=!0,!0},"get")}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{b5=!1}var $i,Ia=b5?{}:!1,SW=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),qR=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!SW(e)&&r[t]==="visible")},"elementCanBeScrolled"),kW=c(function(e){return qR(e,"overflowY")},"elementCouldBeVScrolled"),AW=c(function(e){return qR(e,"overflowX")},"elementCouldBeHScrolled"),rE=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=GR(e,r);if(n){var o=KR(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),_W=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),FW=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),GR=c(function(e,t){return e==="v"?kW(t):AW(t)},"elementCouldBeScrolled"),KR=c(function(e,t){return e==="v"?_W(t):FW(t)},"getScrollVariables"),RW=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),IW=c(function(e,t,r,n,o){var a=RW(e,window.getComputedStyle(t).direction),l=a*n,i=r.target,u=t.contains(i),d=!1,p=l>0,m=0,h=0;do{var f=KR(e,i),v=f[0],g=f[1],C=f[2],b=g-C-a*v;(v||b)&&GR(e,i)&&(m+=b,h+=v),i=i.parentNode}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(p&&(o&&m===0||!o&&l>m)||!p&&(o&&h===0||!o&&-l>h))&&(d=!0),d},"handleScroll"),Dc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),nE=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),oE=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),zW=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),TW=c(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),BW=0,za=[];function YR(e){var t=s.useRef([]),r=s.useRef([0,0]),n=s.useRef(),o=s.useState(BW++)[0],a=s.useState(function(){return WR()})[0],l=s.useRef(e);s.useEffect(function(){l.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=TR([e.lockRef.current],(e.shards||[]).map(oE),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=s.useCallback(function(g,C){if("touches"in g&&g.touches.length===2)return!l.current.allowPinchZoom;var b=Dc(g),y=r.current,E="deltaX"in g?g.deltaX:y[0]-b[0],x="deltaY"in g?g.deltaY:y[1]-b[1],D,S=g.target,k=Math.abs(E)>Math.abs(x)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=rE(k,S);if(!A)return!0;if(A?D=k:(D=k==="v"?"h":"v",A=rE(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||x)&&(n.current=D),!D)return!0;var _=n.current||D;return IW(_,C,g,_==="h"?E:x,!0)},[]),u=s.useCallback(function(g){var C=g;if(!(!za.length||za[za.length-1]!==a)){var b="deltaY"in C?nE(C):Dc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&zW(D.delta,b)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var E=(l.current.shards||[]).map(oE).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=E.length>0?i(C,E[0]):!l.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=s.useCallback(function(g,C,b,y){var E={name:g,delta:C,target:b,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(x){return x!==E})},1)},[]),p=s.useCallback(function(g){r.current=Dc(g),n.current=void 0},[]),m=s.useCallback(function(g){d(g.type,nE(g),g.target,i(g,e.lockRef.current))},[]),h=s.useCallback(function(g){d(g.type,Dc(g),g.target,i(g,e.lockRef.current))},[]);s.useEffect(function(){return za.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Ia),document.addEventListener("touchmove",u,Ia),document.addEventListener("touchstart",p,Ia),function(){za=za.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,Ia),document.removeEventListener("touchmove",u,Ia),document.removeEventListener("touchstart",p,Ia)}},[]);var f=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(a,{styles:TW(o)}):null,f?s.createElement(DW,{gapMode:"margin"}):null)}c(YR,"RemoveScrollSideCar");var LW=NR(HR,YR),ZR=s.forwardRef(function(e,t){return s.createElement($1,$r({},e,{ref:t,sideCar:LW}))});ZR.classNames=$1.classNames;var $W=ZR,OW=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Ta=new WeakMap,Sc=new WeakMap,kc={},Hh=0,XR=c(function(e){return e&&(e.host||XR(e.parentNode))},"unwrapHost"),MW=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=XR(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),PW=c(function(e,t,r,n){var o=MW(t,Array.isArray(e)?e:[e]);kc[r]||(kc[r]=new WeakMap);var a=kc[r],l=[],i=new Set,u=new Set(o),d=c(function(m){!m||i.has(m)||(i.add(m),d(m.parentNode))},"keep");o.forEach(d);var p=c(function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(h){if(i.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(Ta.get(h)||0)+1,C=(a.get(h)||0)+1;Ta.set(h,g),a.set(h,C),l.push(h),g===1&&v&&Sc.set(h,!0),C===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),i.clear(),Hh++,function(){l.forEach(function(m){var h=Ta.get(m)-1,f=a.get(m)-1;Ta.set(m,h),a.set(m,f),h||(Sc.has(m)||m.removeAttribute(n),Sc.delete(m)),f||m.removeAttribute(r)}),Hh--,Hh||(Ta=new WeakMap,Ta=new WeakMap,Sc=new WeakMap,kc={})}},"applyAttributeToOthers"),NW=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||OW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),PW(n,o,r,"aria-hidden")):function(){return null}},"hideOthers");wr();var JR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(QR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(E5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(E5,oe({},n,{ref:t}),r)});JR.displayName="Slot";var E5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...eI(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});E5.displayName="SlotClone";var HW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function QR(e){return s.isValidElement(e)&&e.type===HW}c(QR,"$5e63c961fc1ce211$var$isSlottable");function eI(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(eI,"$5e63c961fc1ce211$var$mergeProps");var tI="Dialog",[rI,jW]=fR(tI),[VW,Er]=rI(tI),nI=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,i=s.useRef(null),u=s.useRef(null),[d=!1,p]=mR({prop:n,defaultProp:o,onChange:a});return s.createElement(VW,{scope:t,triggerRef:i,contentRef:u,contentId:l0(),titleId:l0(),descriptionId:l0(),open:d,onOpenChange:p,onOpenToggle:s.useCallback(()=>p(m=>!m),[p]),modal:l},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),UW="DialogTrigger",oI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(UW,r),a=ba(t,o.triggerRef);return s.createElement(wo.button,oe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},n,{ref:a,onClick:gn(e.onClick,o.onOpenToggle)}))}),aI="DialogPortal",[WW,lI]=rI(aI,{forceMount:void 0}),iI=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Er(aI,t);return s.createElement(WW,{scope:t,forceMount:r},s.Children.map(n,l=>s.createElement(L1,{present:r||a.open},s.createElement(fW,{asChild:!0,container:o},l))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),x5="DialogOverlay",sI=s.forwardRef((e,t)=>{let r=lI(x5,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(x5,e.__scopeDialog);return a.modal?s.createElement(L1,{present:n||a.open},s.createElement(qW,oe({},o,{ref:t}))):null}),qW=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(x5,r);return s.createElement($W,{as:JR,allowPinchZoom:!0,shards:[o.contentRef]},s.createElement(wo.div,oe({"data-state":O1(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wl="DialogContent",uI=s.forwardRef((e,t)=>{let r=lI(Wl,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(Wl,e.__scopeDialog);return s.createElement(L1,{present:n||a.open},a.modal?s.createElement(GW,oe({},o,{ref:t})):s.createElement(KW,oe({},o,{ref:t})))}),GW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(null),o=ba(t,r.contentRef,n);return s.useEffect(()=>{let a=n.current;if(a)return NW(a)},[]),s.createElement(cI,oe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gn(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),(l=r.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:gn(e.onPointerDownOutside,a=>{let l=a.detail.originalEvent,i=l.button===0&&l.ctrlKey===!0;(l.button===2||i)&&a.preventDefault()}),onFocusOutside:gn(e.onFocusOutside,a=>a.preventDefault())}))}),KW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(!1),o=s.useRef(!1);return s.createElement(cI,oe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(a=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},"onCloseAutoFocus"),onInteractOutside:c(a=>{var l,i;(l=e.onInteractOutside)===null||l===void 0||l.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let u=a.target;!((i=r.triggerRef.current)===null||i===void 0)&&i.contains(u)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()},"onInteractOutside")}))}),cI=s.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=e,i=Er(Wl,r),u=s.useRef(null),d=ba(t,u);return zR(),s.createElement(s.Fragment,null,s.createElement(pW,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},s.createElement(dW,oe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":O1(i.open)},l,{ref:d,onDismiss:c(()=>i.onOpenChange(!1),"onDismiss")}))),!1)}),dI="DialogTitle",pI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(dI,r);return s.createElement(wo.h2,oe({id:o.titleId},n,{ref:t}))}),YW="DialogDescription",fI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(YW,r);return s.createElement(wo.p,oe({id:o.descriptionId},n,{ref:t}))}),ZW="DialogClose",hI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(ZW,r);return s.createElement(wo.button,oe({type:"button"},n,{ref:t,onClick:gn(e.onClick,()=>o.onOpenChange(!1))}))});function O1(e){return e?"open":"closed"}c(O1,"$5d3850c4d0b4e6c7$var$getState");var XW="DialogTitleWarning",[JW,are]=pR(XW,{contentName:Wl,titleName:dI,docsSlug:"dialog"}),mI=nI,QW=oI,gI=iI,vI=sI,yI=uI,wI=pI,bI=fI,EI=hI,xI={};Ql(xI,{Actions:()=>sq,CloseButton:()=>kI,Col:()=>_I,Container:()=>SI,Content:()=>oq,Description:()=>iq,Error:()=>uq,ErrorWrapper:()=>FI,Header:()=>aq,Overlay:()=>DI,Row:()=>AI,Title:()=>lq});aS();const{deprecate:eq}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Ea=s.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:i,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=W0);let m=n,h=r,[f,v]=s.useState(!1),g=c(C=>{i&&i(C),t!=="none"&&v(!0)},"handleClick");if(s.useEffect(()=>{let C=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(C)},[f]),u.primary&&(m="solid",h="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(m="outline",h="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let C=w.Children.toArray(u.children).filter(b=>typeof b=="string"&&b!=="");eq(`Use of deprecated props in the button ${C.length>0?`"${C.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return w.createElement(tq,{as:p,ref:d,variant:m,size:h,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...u})});Ea.displayName="Button";var tq=F("button",{shouldForwardProp:c(e=>Y5(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:l="none",padding:i})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:i==="small"&&r==="small"?"0 7px":i==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Nt(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Nt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Nt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${eu(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?Nt(.86,e.color.secondary):e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:focus":{boxShadow:`${eu(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),Xo=s.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>w.createElement(Ea,{padding:e,variant:t,ref:n,...r}));Xo.displayName="IconButton";var CI=Cn({from:{opacity:0},to:{opacity:1}}),rq=Cn({from:{maxHeight:0},to:{}}),nq=Cn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),DI=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${CI} 200ms`}),SI=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${nq} 200ms`,"&:focus-visible":{outline:"none"}})),kI=c(e=>w.createElement(EI,{asChild:!0},w.createElement(Xo,{...e},w.createElement(sR,null))),"CloseButton"),oq=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),AI=F.div({display:"flex",justifyContent:"space-between",gap:16}),_I=F.div({display:"flex",flexDirection:"column",gap:4}),aq=c(e=>w.createElement(AI,null,w.createElement(_I,{...e}),w.createElement(kI,null)),"Header"),lq=F(wI)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),iq=F(bI)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),sq=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),FI=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${rq} 300ms, ${CI} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),uq=c(({children:e,...t})=>w.createElement(FI,{...t},w.createElement("div",null,e)),"Error");function RI({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=c(u=>u.preventDefault(),"onInteractOutside"),className:a,container:l,...i}){return w.createElement(mI,{...i},w.createElement(gI,{container:l},w.createElement(vI,{asChild:!0},w.createElement(DI,null)),w.createElement(yI,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},w.createElement(SI,{className:a,width:t,height:r},e))))}c(RI,"BaseModal");var lre=Object.assign(RI,xI,{Dialog:cR}),cq=c(e=>typeof e=="number"?e:Number(e),"toNumber"),dq=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${om}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${om}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),ire=c(({col:e,row:t,outer:r,children:n,...o})=>{let a=cq(typeof r=="number"||!r?r:e||t);return w.createElement(dq,{col:e,row:t,outer:a,...o},n)},"Spaced"),pq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),fq=F.div(),hq=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),sre=c(({children:e,...t})=>{let[r,n]=s.Children.toArray(e);return w.createElement(hq,{...t},w.createElement(pq,null,r),n&&w.createElement(fq,null,n))},"Placeholder");pv();function II(e,t){var r=s.useRef(null),n=s.useRef(null);n.current=t;var o=s.useRef(null);s.useEffect(function(){a()});var a=s.useCallback(function(){var l=o.current,i=n.current,u=l||(i?i instanceof Element?i:i.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return s.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),s.useCallback(function(l){o.current=l,a()},[a])}c(II,"useResolvedElement");function C5(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(C5,"extractSize");function zy(e){e===void 0&&(e={});var t=e.onResize,r=s.useRef(void 0);r.current=t;var n=e.round||Math.round,o=s.useRef(),a=s.useState({width:void 0,height:void 0}),l=a[0],i=a[1],u=s.useRef(!1);s.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=s.useRef({width:void 0,height:void 0}),p=II(s.useCallback(function(m){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=C5(f,v,"inlineSize"),C=C5(f,v,"blockSize"),b=g?n(g):void 0,y=C?n(C):void 0;if(d.current.width!==b||d.current.height!==y){var E={width:b,height:y};d.current.width=b,d.current.height=y,r.current?r.current(E):u.current||i(E)}})}),o.current.instance.observe(m,{box:e.box}),function(){o.current&&o.current.instance.unobserve(m)}},[e.box,n]),e.ref);return s.useMemo(function(){return{ref:p,width:l.width,height:l.height}},[p,l.width,l.height])}c(zy,"useResizeObserver");var mq=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function zI({scale:e,children:t}){let r=s.useRef(null),[n,o]=s.useState(0),a=s.useCallback(({height:l})=>{l&&o(l/e)},[e]);return s.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),zy({ref:r,onResize:a}),w.createElement(mq,{scale:e,elementHeight:n},w.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(zI,"ZoomElement");var TI=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return w.createElement(w.Fragment,null,t)}};c(TI,"ZoomIFrame");var gq=TI,vq={Element:zI,IFrame:gq};tv();var{document:yq}=Qd,wq=F.strong(({theme:e})=>({color:e.color.orange})),bq=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),aE=F.em(({theme:e})=>({color:e.textMutedColor})),Eq=/(Error): (.*)\n/,xq=/at (?:(.*) )?\(?(.+)\)?/,Cq=/([^@]+)?(?:\/<)?@(.+)?/,Dq=/([^@]+)?@(.+)?/,Sq=c(({error:e})=>{if(!e)return w.createElement(s.Fragment,null,"This error has no stack or message");if(!e.stack)return w.createElement(s.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(Eq);if(!r)return w.createElement(s.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...l]=a.map(i=>{let u=i.match(xq)||i.match(Cq)||i.match(Dq);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(yq.location.origin,"")}:null}).filter(Boolean);return w.createElement(s.Fragment,null,w.createElement("span",null,n),": ",w.createElement(wq,null,o),w.createElement("br",null),l.map((i,u)=>i!=null&&i.name?w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(bq,null,i.name)," (",w.createElement(aE,null,i.location),")",w.createElement("br",null)):w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(aE,null,i==null?void 0:i.location),w.createElement("br",null))))},"ErrorFormatter"),kq=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Aq=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),_q=c(({label:e,children:t,...r})=>w.createElement(kq,{...r},e?w.createElement(Aq,null,w.createElement("span",null,e)):null,t),"Field");wr();rv();var Fq=s.useLayoutEffect,Rq=Fq,Iq=c(function(e){var t=s.useRef(e);return Rq(function(){t.current=e}),t},"useLatest"),lE=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),zq=c(function(e,t){var r=s.useRef();return s.useCallback(function(n){e.current=n,r.current&&lE(r.current,null),r.current=t,t&&lE(t,n)},[t])},"useComposedRef"),Tq=zq,iE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Bq=c(function(e){Object.keys(iE).forEach(function(t){e.style.setProperty(t,iE[t],"important")})},"forceHiddenStyles"),sE=Bq,nt=null,uE=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function BI(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),nt||(nt=document.createElement("textarea"),nt.setAttribute("tabindex","-1"),nt.setAttribute("aria-hidden","true"),sE(nt)),nt.parentNode===null&&document.body.appendChild(nt);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,i=l.boxSizing;Object.keys(l).forEach(function(h){var f=h;nt.style[f]=l[f]}),sE(nt),nt.value=t;var u=uE(nt,e);nt.value=t,u=uE(nt,e),nt.value="x";var d=nt.scrollHeight-o,p=d*r;i==="border-box"&&(p=p+o+a),u=Math.max(p,u);var m=d*n;return i==="border-box"&&(m=m+o+a),u=Math.min(m,u),[u,d]}c(BI,"calculateNodeHeight");var cE=c(function(){},"noop"),Lq=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),$q=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Oq=!!document.documentElement.currentStyle,Mq=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Lq($q,t),n=r.boxSizing;if(n==="")return null;Oq&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},"getSizingData"),Pq=Mq;function Ty(e,t,r){var n=Iq(r);s.useLayoutEffect(function(){var o=c(function(a){return n.current(a)},"handler");if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}c(Ty,"useListener");var Nq=c(function(e){Ty(window,"resize",e)},"useWindowResizeListener"),Hq=c(function(e){Ty(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),jq=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Vq=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?cE:a,i=e.onHeightChange,u=i===void 0?cE:i,d=t1(e,jq),p=d.value!==void 0,m=s.useRef(null),h=Tq(m,t),f=s.useRef(0),v=s.useRef(),g=c(function(){var b=m.current,y=r&&v.current?v.current:Pq(b);if(y){v.current=y;var E=BI(y,b.value||b.placeholder||"x",o,n),x=E[0],D=E[1];f.current!==x&&(f.current=x,b.style.setProperty("height",x+"px","important"),u(x,{rowHeight:D}))}},"resizeTextarea"),C=c(function(b){p||g(),l(b)},"handleChange");return s.useLayoutEffect(g),Nq(g),Hq(g),s.createElement("textarea",oe({},d,{onChange:C,ref:h}))},"TextareaAutosize"),Uq=s.forwardRef(Vq),Wq={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},By=c(({theme:e})=>({...Wq,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Ly=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),LI=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),$y=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),qq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("input",{...n,ref:o})},"Input")))(By,Ly,LI,$y,{minHeight:32}),{displayName:"Input"}),Gq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("select",{...n,ref:o})},"Select")))(By,Ly,$y,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Kq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement(Uq,{...n,ref:o})},"Textarea")))(By,Ly,LI,$y,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),zu=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:_q,Input:qq,Select:Gq,Textarea:Kq,Button:Ea}),Yq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltip}))),cre=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Yq,{...e})),"WithTooltip"),Zq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltipPure}))),Xq=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Zq,{...e})),"WithTooltipPure"),Jq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Qq=F.span(),eG=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),tG=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),rG=F.div({padding:15,width:280,boxSizing:"border-box"}),dre=c(({title:e,desc:t,links:r})=>w.createElement(rG,null,w.createElement(tG,null,e&&w.createElement(Jq,null,e),t&&w.createElement(Qq,null,t)),r&&w.createElement(eG,null,r.map(({title:n,...o})=>w.createElement(bl,{...o,key:n},n)))),"TooltipMessage"),nG=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),pre=c(({note:e,...t})=>w.createElement(nG,{...t},e),"TooltipNote"),oG=We(e1(),1),aG=F(({active:e,loading:t,disabled:r,...n})=>w.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Nt(.7,t.color.defaultText)}:{}),lG=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),iG=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),sG=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),uG=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),cG=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),dG=(0,oG.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),pG=c(({loading:e=!1,title:t=w.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:l,href:i=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...m})=>{let h={active:o,disabled:a},f=dG(u,i,p);return w.createElement(cG,{...m,...h,...f},w.createElement(w.Fragment,null,d&&w.createElement(uG,{...h},d),t||r?w.createElement(iG,{isIndented:!!(!d&&l)},t&&w.createElement(aG,{...h,loading:e},t),r&&w.createElement(sG,{...h},r)):null,n&&w.createElement(lG,{...h},n)))},"ListItem"),fG=pG,hG=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),mG=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:o,title:a,href:l}=r,i=s.useCallback(u=>t==null?void 0:t(u,{id:e,active:n,disabled:o,title:a,href:l}),[t,e,n,o,a,l]);return w.createElement(fG,{id:`list-item-${e}`,...r,...t&&{onClick:i}})},"Item"),gG=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(o=>o.icon);return w.createElement(hG,{...r},e.map(o=>w.createElement(mG,{key:o.id,isIndented:n,LinkWrapper:t,...o})))},"TooltipLinkList");pv();var D5=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});D5.displayName="Side";var vG=c(({children:e,className:t,scrollable:r})=>r?w.createElement(G0,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),"UnstyledBar"),$I=F(vG)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});$I.displayName="Bar";var yG=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Oy=c(({children:e,backgroundColor:t,className:r,...n})=>{let[o,a]=s.Children.toArray(e);return w.createElement($I,{className:`sb-bar ${r}`,...n},w.createElement(yG,{bgColor:t},w.createElement(D5,{scrollable:n.scrollable,left:!0},o),a?w.createElement(D5,{right:!0},a):null))},"FlexBar");Oy.displayName="FlexBar";var wG=c(e=>typeof e.props.href=="string","isLink"),bG=c(e=>typeof e.props.href!="string","isButton");function OI({children:e,...t},r){let n={props:t,ref:r};if(wG(n))return w.createElement("a",{ref:n.ref,...n.props},e);if(bG(n))return w.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(OI,"ForwardRefFunction");var MI=s.forwardRef(OI);MI.displayName="ButtonOrLink";var M1=F(MI,{shouldForwardProp:Y5})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});M1.displayName="TabButton";var EG=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),xG=F.div(()=>({marginTop:6,padding:7,height:28})),fre=c(()=>w.createElement(xG,null,w.createElement(EG,null)),"IconButtonSkeleton"),CG=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),DG=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),SG=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),kG=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),PI=c(({title:e,description:t,footer:r})=>w.createElement(CG,null,w.createElement(DG,null,w.createElement(SG,null,e),t&&w.createElement(kG,null,t)),r),"EmptyTabContent"),NI=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),AG=c(e=>s.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof a=="function"?a:({active:l})=>w.createElement(NI,{active:l,role:"tabpanel"},a)}}),"childrenToList");xy();var _G=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),FG=F(M1)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function HI(e){let t=s.useRef(),r=s.useRef(),n=s.useRef(new Map),{width:o=1}=zy({ref:t}),[a,l]=s.useState(e),[i,u]=s.useState([]),d=s.useRef(e),p=s.useCallback(({menuName:h,actions:f})=>{let v=i.some(({active:b})=>b),[g,C]=s.useState(!1);return w.createElement(w.Fragment,null,w.createElement(Ed,{interactive:!0,visible:g,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(gG,{links:i.map(({title:b,id:y,color:E,active:x})=>({id:y,title:b,color:E,active:x,onClick:c(D=>{D.preventDefault(),f.onSelect(y)},"onClick")}))})},w.createElement(FG,{ref:r,active:v,preActive:g,style:{visibility:i.length?"visible":"hidden"},"aria-hidden":!i.length,className:"tabbutton",type:"button",role:"tab"},h,w.createElement(_G,{className:"addon-collapsible-icon",isActive:v||g}))),i.map(({title:b,id:y,color:E},x)=>{let D=`index-${x}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:E,role:"tab"},b)}))},[i]),m=s.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=i.length?h+f-v:h+f,C=[],b=0,y=e.filter(E=>{let{id:x}=E,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=h+b+S>g;return(!k||!D)&&C.push(E),b+=S,k});(C.length!==a.length||d.current!==e)&&(l(C),u(y),d.current=e)},[i.length,e,a]);return s.useLayoutEffect(m,[m,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:a,invisibleList:i,AddonTab:p}}c(HI,"useList");var RG="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",IG=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),jI=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});jI.displayName="TabBar";var zG=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${RG}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),hre=c(({active:e,render:t,children:r})=>w.createElement(NI,{active:e},t?t():r),"TabWrapper"),VI=s.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:o=!1,tools:a=null,backgroundColor:l,id:i=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let m=s.useMemo(()=>AG(e).map((b,y)=>({...b,active:t?b.id===t:y===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=HI(m),C=d??w.createElement(PI,{title:"Nothing found"});return!p&&m.length===0?C:w.createElement(IG,{absolute:n,bordered:o,id:i},w.createElement(Oy,{scrollable:!1,border:!0,backgroundColor:l},w.createElement(jI,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:b,id:y,active:E,color:x},D)=>{let S=`index-${D}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??S}`,ref:k=>{v.current.set(y,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:y,active:E,textColor:x,onClick:k=>{k.preventDefault(),r.onSelect(y)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(g,{menuName:u,actions:r})),a),w.createElement(zG,{id:"panel-tab-content",bordered:o,absolute:n},m.length?m.map(({id:b,active:y,render:E})=>w.createElement(E,{key:b,active:y},null)):C))});VI.displayName="Tabs";var S5=class extends s.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:o,menuName:a}=this.props,{selected:l}=this.state;return w.createElement(VI,{bordered:t,absolute:r,selected:l,backgroundColor:o,menuName:a,actions:this.handlers},n)}};c(S5,"TabsState"),S5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var TG=S5,UI=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});UI.displayName="Separator";var gre=c(e=>e.reduce((t,r,n)=>r?w.createElement(s.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?w.createElement(UI,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),BG=c(e=>{let t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),LG=c((e,t)=>{let r=BG(t);return e?t:r},"useUpdate"),vre=c(({active:e,children:t})=>w.createElement("div",{hidden:!e},LG(e,t)),"AddonPanel");const{deprecate:$G,logger:OG}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var MG=lR,PG=F.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,yre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||$G(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=k5[e]||null;if(!o)return OG.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let a=MG[o];return w.createElement(a,{...n})},"Icons"),wre=s.memo(c(function({icons:e=Object.keys(k5)}){return w.createElement(PG,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},k5[t])))},"Symbols")),k5={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},bre=c(({alt:e,...t})=>w.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?w.createElement("title",null,e):null,w.createElement("defs",null,w.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),w.createElement("mask",{id:"b",fill:"#fff"},w.createElement("use",{xlinkHref:"#a"})),w.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),w.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),Ere=c(e=>w.createElement("svg",{viewBox:"0 0 64 64",...e},w.createElement("title",null,"Storybook icon"),w.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),w.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),w.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),NG=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,HG=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${NG} 0.7s linear infinite`,mixBlendMode:"difference"})),dE=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),jG=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Nt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),VG=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),pE=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),UG=F(iR)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),WG=Cn` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,qG=F.span({"&::after":{content:"'...'",animation:`${WG} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GG=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(dE,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(UG,null),w.createElement(pE,null,t.message));if(e){let{value:o,modules:a}=e,{message:l}=e;return a&&(l+=` ${a.complete} / ${a.total} modules`),w.createElement(dE,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":l,role:"progressbar",...n},w.createElement(jG,null,w.createElement(VG,{style:{width:`${o*100}%`}})),w.createElement(pE,null,l,o<1&&w.createElement(qG,{key:l})))}return w.createElement(HG,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function WI(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),a=o?{...WI(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(a).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref"),YG=F.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${K.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Mr.fonts.mono}; - font-size: ${Mr.size.s2-1}px; -`,xre=c(({code:e,...t})=>w.createElement(YG,{id:"clipboard-code",...t},e),"ClipboardCode"),ZG=aR,XG={};Object.keys(aR).forEach(e=>{XG[e]=s.forwardRef((t,r)=>s.createElement(e,{...t,ref:r}))});var JG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),QG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),eK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),tK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),rK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),nK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),A5=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Cre=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),oK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),aK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),iK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),sK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),uK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),qI=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),cK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:dK,once:pK,logger:My}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:fE,composeConfigs:Dre,Preview:Sre,DocsContext:kre}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:hE,UPDATE_STORY_ARGS:fK,RESET_STORY_ARGS:hK,GLOBALS_UPDATED:mE,NAVIGATE_URL:mK}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:Are}=__STORYBOOK_MODULE_CHANNELS__;var GI=ua({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Ou=="function"&&Ou;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}for(var i=typeof Ou=="function"&&Ou,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),gK=ua({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),vK=ua({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,l,i=!0,u=" ";function d(x,D){var S=D.appendChild(m(x));if(x.children.length){var k=h(x.isCollapsed);x.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(x,D){var S=!1,k=h(S);if(D.forEach(function(A){d(A,k)}),l=x||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),D.length===0?l:l.appendChild(k)}function m(x){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute("href",r.basePath+"#"+x.id),S.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function h(x){var D=r.orderedList?"ol":"ul",S=document.createElement(D),k=r.listClass+u+r.extraListClasses;return x&&(k=k+u+r.collapsibleClass,k=k+u+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||a.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=v(x.offsetParent))),D}function g(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var S=x,k;if(i&&l!==null&&S.length>0){o.call(S,function(N,M){if(v(N)>D+r.headingsOffset+10){var j=M===0?M:M-1;return k=S[j],!0}else if(M===S.length-1)return k=S[S.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),_=l.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=l.querySelectorAll("."+r.linkClass);n.call(R,function(N){g(N,N.className.replace(u+r.activeLinkClass,""))});var z=l.querySelectorAll("."+r.listItemClass);n.call(z,function(N){g(N,N.className.replace(u+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=u+r.activeLinkClass);var L=_&&_.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var $=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call($,function(N){N.className.indexOf(r.isCollapsedClass)===-1&&(N.className+=u+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(u+r.isCollapsedClass,"")),b(_&&_.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(g(x,x.className.replace(u+r.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function y(x){var D=x.target||x.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(i=!1)}function E(){i=!0}return{enableTocAnimation:E,disableTocAnimation:y,render:p,updateToc:C}}}}),yK=ua({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(m){return m[m.length-1]}function a(m){return+m.nodeName.toUpperCase().replace("H","")}function l(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function i(m){if(!l(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:a(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function u(m,h){for(var f=i(m),v=f.headingLevel,g=h,C=o(g),b=C?C.headingLevel:0,y=v-b;y>0&&(C=o(g),!(C&&v===C.headingLevel));)C&&C.children!==void 0&&(g=C.children),y--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=i(f);return v&&u(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wK=ua({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),bK=ua({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,l=location.hash?d(location.href):location.href;i();function i(){document.body.addEventListener("click",m,!1);function m(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:a,callback:function(){p(h.target.hash)}})}}function u(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===l||d(m.href)+"#"===l)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var a=window.pageYOffset,l={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||v},i=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?l.offset+(n?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(u):l.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,l.easing(m,a,u,d)),m"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var y={},E=0;E1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-BP1tTnvE.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` -`).match(o),m=!1;return{items:p.map(function(h,f){let v=a.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=h.replace(g,"").replace(a,""),b=f===p.length-1,y=C.indexOf(` - -`)!==-1||b&&m;m=y;let E=u.inline,x=u.list,D;u.list=!0,y?(u.inline=!1,D=C.replace(xE,` - -`)):(u.inline=!0,D=C.replace(xE,""));let S=i(D,u);return u.inline=E,u.list=x,S}),ordered:r,start:d}},render:(l,i,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(d,p){return e("li",{key:p},i(d,u))}))}}var bZ=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),EZ=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bz=[rz,nz,oz,az,iz,lz,sz,uz,mz,yz,gz,wz],xZ=[...bz,/^[^\n]+(?: \n|\n{2,})/,T5,B5];function CZ(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 DZ(e){return iZ.test(e)?"right":aZ.test(e)?"center":lZ.test(e)?"left":null}function DE(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(l,i){l.type==="26"?i!==0&&i!==o.length-1&&a.push([]):(l.type!=="27"||o[i+1]!=null&&o[i+1].type!=="26"||(l.text=l.text.replace(oZ,"")),a[a.length-1].push(l))}),a}function SZ(e,t,r){r.inline=!0;let n=DE(e[1],t,r),o=e[2].replace(nZ,"").split("|").map(DZ),a=function(l,i,u){return l.trim().split(` -`).map(function(d){return DE(d,i,u)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function SE(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Fn(e){return function(t,r){return r.inline?e.exec(t):null}}function Rn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function an(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Oi(e){return function(t){return e.exec(t)}}function kZ(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(a=>!bz.some(l=>l.test(a))&&(n+=a+` -`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Ba(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 kE(e){return e.replace(gZ,"$1")}function c0(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function AZ(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function _Z(e,t,r){return r.inline=!1,e(t,r)}var Wh=(e,t,r)=>({children:c0(t,e[1],r)});function qh(){return{}}function Gh(){return null}function FZ(...e){return e.filter(Boolean).join(" ")}function Kh(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function RZ(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||CZ,t.namedCodesToUnicode=t.namedCodesToUnicode?$o({},EE,t.namedCodesToUnicode):EE;let r=t.createElement||s.createElement;function n(f,v,...g){let C=Kh(t.overrides,`${f}.props`,{});return r(function(b,y){let E=Kh(y,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Kh(y,`${b}.component`,b):b}(f,t.overrides),$o({},v,C,{className:FZ(v==null?void 0:v.className,C.className)||void 0}),...g)}function o(f){f=f.replace(HY,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=eZ.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(hZ,"")} - -`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let C=t.wrapper||(v?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return s.createElement(C,{key:"outer"},b)}function a(f){let v=f.match(FY);return v?v.reduce(function(g,C,b){let y=C.indexOf("=");if(y!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(UY)===null&&(k=k.replace(YY,function(A,_){return _.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(C.slice(y+1).trim()),D=bE[E]||E,S=g[D]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,R){let z=R.slice(0,R.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=R.slice(z.length+1).trim(),_},{}):k==="href"||k==="src"?Ba(A):(A.match(WY)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,x);typeof S=="string"&&(T5.test(S)||B5.test(S))&&(g[D]=s.cloneElement(o(S.trim()),{key:b}))}else C!=="style"&&(g[bE[C]||C]=!0);return g},{}):null}let l=[],i={},u={0:{match:an(rz),order:1,parse:(f,v,g)=>({children:v(f[0].replace(zY,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:Oi(TY),order:1,parse:qh,render:(f,v,g)=>n("br",{key:g.key})},2:{match:an(BY),order:1,parse:qh,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:an(oz),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",$o({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:an(nz),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Rn(LY),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:an(MY),order:0,parse:f=>(l.push({footnote:f[2],identifier:f[1]}),{}),render:Gh},7:{match:Fn(PY),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target)},n("sup",{key:g.key},f.text))},8:{match:Fn(jY),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:an(t.enforceAtxHeadings?lz:az),order:1,parse:(f,v,g)=>({children:c0(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:an(iz),order:0,parse:(f,v,g)=>({children:c0(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Oi(T5),order:1,parse(f,v,g){let[,C]=f[3].match(mZ),b=new RegExp(`^${C}`,"gm"),y=f[3].replace(b,""),E=(x=y,xZ.some(A=>A.test(x))?_Z:c0);var x;let D=f[1].toLowerCase(),S=_Y.indexOf(D)!==-1,k={attrs:a(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?k.text=f[3]:k.children=E(v,y,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,$o({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:Oi(B5),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,$o({},f.attrs,{key:g.key}))},12:{match:Oi(sz),order:1,parse:()=>({}),render:Gh},14:{match:Rn(EZ),order:1,parse:f=>({alt:f[1],target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Ba(f.target)})},15:{match:Fn(bZ),order:3,parse:(f,v,g)=>({children:AZ(v,f[1],g),target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target),title:f.title},v(f.children,g))},16:{match:Fn(KY),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:Fn(qY)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Fn(GY),order:0,parse(f){let v=f[1],g=f[1];return RY.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:CE(n,1),33:CE(n,2),19:{match:an($Y),order:3,parse:qh,render:()=>` -`},21:{match:kZ,order:3,parse:Wh,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:Fn(ZY),order:0,parse:f=>(i[f[1]]={target:f[2],title:f[4]},{}),render:Gh},23:{match:Rn(XY),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("img",{key:g.key,alt:f.alt,src:Ba(i[f.ref].target),title:i[f.ref].title}):null},24:{match:Fn(JY),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(QY,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("a",{key:g.key,href:Ba(i[f.ref].target),title:i[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:an(uz),order:1,parse:SZ,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(C,b){return n("th",{key:b,style:SE(f,b)},v(C,g))}))),n("tbody",null,f.cells.map(function(C,b){return n("tr",{key:b},C.map(function(y,E){return n("td",{key:E,style:SE(f,E)},v(y,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,rZ.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Oi(fZ),order:4,parse:f=>({text:f[0].replace(VY,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Rn(sZ),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Rn(uZ),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Rn(pZ),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Rn(cZ),order:3,parse:Wh,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Rn(dZ),order:3,parse:Wh,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);let d=function(f){let v=Object.keys(f);function g(C,b){let y=[],E="";for(;C;){let x=0;for(;xy(g,C,b),g,C,b):y(g,C,b)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let C=g.key,b=[],y=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var l,i,u={},d=Object.keys(o);for(i=0;i=0||(u[l]=o[l]);return u}(e,AY);return s.cloneElement(RZ(t,r),n)},IZ=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:he(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ac(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ac(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ac(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ac(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),zZ=e=>e==="true",TZ=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{var p;let l=s.useCallback(()=>r(!1),[r]),i=!!((p=a==null?void 0:a.table)!=null&&p.readonly);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:l,disabled:i},"Set boolean");let u=yr(e),d=typeof t=="string"?zZ(t):t;return w.createElement(IZ,{"aria-disabled":i,htmlFor:u,"aria-label":e},w.createElement("input",{id:u,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:i,name:e,onBlur:n,onFocus:o}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},BZ=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},LZ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},$Z=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},OZ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},AE=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),MZ=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),PZ=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{var v;let[l,i]=s.useState(!0),u=s.useRef(),d=s.useRef(),p=!!((v=a==null?void 0:a.table)!=null&&v.readonly);s.useEffect(()=>{l!==!1&&(u&&u.current&&(u.current.value=t?$Z(t):""),d&&d.current&&(d.current.value=t?OZ(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let C=BZ(g.target.value),b=new Date(t);b.setFullYear(C.getFullYear(),C.getMonth(),C.getDate());let y=b.getTime();y&&r(y),i(!!y)},h=g=>{if(!g.target.value)return r();let C=LZ(g.target.value),b=new Date(t);b.setHours(C.getHours()),b.setMinutes(C.getMinutes());let y=b.getTime();y&&r(y),i(!!y)},f=yr(e);return w.createElement(MZ,null,w.createElement(AE,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:o}),w.createElement(AE,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:o}),l?null:w.createElement("div",null,"invalid"))},NZ=F.label({display:"flex"}),HZ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},jZ=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),VZ=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:l,onFocus:i,argType:u})=>{var E;let[d,p]=s.useState(typeof t=="number"?t:""),[m,h]=s.useState(!1),[f,v]=s.useState(null),g=!!((E=u==null?void 0:u.table)!=null&&E.readonly),C=s.useCallback(x=>{p(x.target.value);let D=parseFloat(x.target.value);Number.isNaN(D)?v(new Error(`'${x.target.value}' is not a number`)):(r(D),v(null))},[r,v]),b=s.useCallback(()=>{p("0"),r(0),h(!0)},[h]),y=s.useRef(null);return s.useEffect(()=>{m&&y.current&&y.current.select()},[m]),s.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:b,disabled:g},"Set number"):w.createElement(NZ,null,w.createElement(jZ,{ref:y,id:yr(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:o,step:a,onFocus:i,onBlur:l}))},xz=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},L5=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Cz=(e,t)=>e&&t&&e.map(r=>t[r]),UZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),WZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),qZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_E=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var h;if(!t)return My.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=L5(r,t),[i,u]=s.useState(l),d=!!((h=a==null?void 0:a.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...i];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(Cz(g,t)),u(g)};s.useEffect(()=>{u(L5(r,t))},[r]);let m=yr(e);return w.createElement(UZ,{"aria-readonly":d,isInline:o},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return w.createElement(qZ,{key:g,htmlFor:g},w.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:i==null?void 0:i.includes(f)}),w.createElement(WZ,null,f))}))},GZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),KZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),YZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),FE=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var d;if(!t)return My.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=xz(r,t),i=yr(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(GZ,{"aria-readonly":u,isInline:o},Object.keys(t).map((p,m)=>{let h=`${i}-${m}`;return w.createElement(YZ,{key:h,htmlFor:h},w.createElement("input",{type:"radio",id:h,name:i,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===l}),w.createElement(KZ,null,p))}))},ZZ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Dz=F.select(ZZ,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Sz=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),RE="Choose option...",XZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{n(r[p.currentTarget.value])},l=xz(t,r)||RE,i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(qI,null),w.createElement(Dz,{disabled:u,id:i,value:l,onChange:a},w.createElement("option",{key:"no-selection",disabled:!0},RE),Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},JZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Cz(m,r))},l=L5(t,r),i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(Dz,{disabled:u,id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},IE=e=>{let{name:t,options:r}=e;return r?e.isMulti?w.createElement(JZ,{...e}):w.createElement(XZ,{...e}):(My.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},QZ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,eX={check:_E,"inline-check":_E,radio:FE,"inline-radio":FE,select:IE,"multi-select":IE},La=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?QZ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=eX[t];if(a)return w.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},tX="Error",rX="Object",nX="Array",oX="String",aX="Number",lX="Boolean",iX="Date",sX="Null",uX="Undefined",cX="Function",dX="Symbol",kz="ADD_DELTA_TYPE",Az="REMOVE_DELTA_TYPE",_z="UPDATE_DELTA_TYPE",Vy="value",pX="key";function Wo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function Fz(e,t){let r=Wo(e),n=Wo(t);return(r==="Function"||n==="Function")&&n!==r}var Uy=class extends s.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:l}=this.state,i={};if(!t){if(!a.value)return;i.key=a.value}i.newValue=r(!1,n,o,i.key,l.value),e(i)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:l}=this.props,i=s.cloneElement(r,{onClick:this.onSubmit}),u=s.cloneElement(n,{onClick:e}),d=o(Vy,a,l),p=s.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=o(pX,a,l);m=s.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},m,p,u,i)}};Uy.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var Rz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(r[r.length-1],l),u({type:kz,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:l,dataType:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=l(e,t,r,n,i),m=a(e,t,r,n,i),h=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:R,ul:z,addForm:L}=p(e,t,r,n,m),$=d(e,t,r,n,m),N=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!o&&N,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},t.map((j,q)=>w.createElement(U1,{key:q,name:q.toString(),data:j,keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveItem(q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}))),!$&&o&&w.createElement("div",{className:"rejt-add-form",style:L},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!$&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=l(e,r,n,o,a);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};Rz.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Iz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=null,b=null,y=i(e,l,n,o,u);if(r&&!y){let E=h(Vy,v,o,e,l,u),x=s.cloneElement(p,{onClick:this.handleEdit}),D=s.cloneElement(m,{onClick:this.handleCancelEdit}),S=s.cloneElement(E,{ref:this.refInput,defaultValue:l});C=w.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,x),b=null}else{C=w.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let E=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});b=y?null:E}return w.createElement("li",{className:"rejt-function-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),C,b)}};Iz.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var U1=class extends s.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:l,onUpdate:i,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S}=this.props,k=()=>!0,A=Wo(e);switch(A){case tX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case rX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case nX:return w.createElement(Rz,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case oX:return w.createElement(zn,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case aX:return w.createElement(zn,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case lX:return w.createElement(zn,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case iX:return w.createElement(zn,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case sX:return w.createElement(zn,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case uX:return w.createElement(zn,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case cX:return w.createElement(Iz,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case dX:return w.createElement(zn,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});default:return null}}};U1.defaultProps={keyPath:[],deep:0};var $5=class extends s.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:l}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(n[n.length-1],r),u({type:kz,keyPath:n,deep:o,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:l,getStyle:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,n,t,r,l),m=Object.getOwnPropertyNames(n),h=a(e,n,t,r,l),f=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:R,ul:z,delimiter:L}=p(e,t,r,n,m),$=Object.getOwnPropertyNames(t),N=d(e,t,r,n,m),M=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),j=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A}),q=$.map(B=>w.createElement(U1,{key:B,name:B,data:t[B],keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveValue(B),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!N&&M,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},q),!N&&a&&w.createElement("div",{className:"rejt-add-form",style:R},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!N&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,l);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};$5.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var zn=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=i(e,l,n,o,u),b=r&&!C,y=h(Vy,v,o,e,l,u),E=s.cloneElement(p,{onClick:this.handleEdit}),x=s.cloneElement(m,{onClick:this.handleCancelEdit}),D=s.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(l)}),S=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return w.createElement("li",{className:"rejt-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," : "),b?w.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",x,E):w.createElement("span",{className:"rejt-value",style:g.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&S)}};zn.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};function fX(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var hX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},gX={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},zz=class extends s.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b,fallback:y=null}=this.props,E=Wo(e),x=o;Wo(o)==="Boolean"&&(x=()=>o);let D=d;d&&Wo(d)!=="Function"&&(D=()=>d);let S=p;return p&&Wo(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(U1,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b})):y}};zz.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return hX;case"Array":return mX;default:return gX}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>fX(o),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:vX}=globalThis,yX=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yh=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),wX=F(oK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),bX=F(aK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),zE=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),EX=F(Xo)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),xX=F(zu.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),CX={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},DX=e=>{e.currentTarget.dispatchEvent(new vX.KeyboardEvent("keydown",CX))},SX=e=>{e.currentTarget.select()},kX=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),TE=({name:e,value:t,onChange:r,argType:n})=>{var E;let o=Lx(),a=s.useMemo(()=>t&&MT(t),[t]),l=a!=null,[i,u]=s.useState(!l),[d,p]=s.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=s.useCallback(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=s.useState(!1),g=s.useCallback(()=>{r({}),v(!0)},[v]),C=s.useRef(null);if(s.useEffect(()=>{f&&C.current&&C.current.select()},[f]),!l)return w.createElement(Ea,{disabled:m,id:Ad(e),onClick:g},"Set object");let b=w.createElement(xX,{ref:C,id:yr(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>h(x.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),y=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(yX,{"aria-readonly":m},y&&w.createElement(EX,{onClick:x=>{x.preventDefault(),u(D=>!D)}},i?w.createElement(rK,null):w.createElement(tK,null),w.createElement("span",null,"RAW")),i?b:w.createElement(zz,{readOnly:m||!y,isCollapsed:y?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:kX(o),cancelButtonElement:w.createElement(Yh,{type:"button"},"Cancel"),editButtonElement:w.createElement(Yh,{type:"submit"},"Save"),addButtonElement:w.createElement(Yh,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(wX,null),minusMenuElement:w.createElement(bX,null),inputElement:(x,D,S,k)=>k?w.createElement(zE,{onFocus:SX,onBlur:DX}):w.createElement(zE,null),fallback:b}))},AX=F.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:dn(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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.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 ${dn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Tz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),_X=F(Tz)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-4xYrqZWr.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;ltte(e).replace(/\n\s*/g,"").trim()),nte=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},ote=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Wz(e){if(!ete(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=ZJ(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var ate=function(e){let t,r,n,o;return function(a,l){try{if(a==="")return o=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let i=r.get(this)||this;for(;n.length&&i!==n[0];)n.shift(),o.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return ote.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,lQ.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,iQ.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${rte(nte(a,p))}`}if((0,sQ.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(o)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let u=t.get(l);if(!u){let d=Array.isArray(l)?l:Wz(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return o.push(a),n.unshift(d),t.set(l,JSON.stringify(o)),l!==d&&r.set(l,d),d}return`_duplicate_${u}`}catch{return}}},lte={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ite=(e,t={})=>{let r={...lte,...t};return JSON.stringify(Wz(e),ate(r),t.space)};function qz(e){return ite(e,{allowFunction:!1})}var Yy=s.createContext({sources:{}}),Gz="--unknown--",ste=({children:e,channel:t})=>{let[r,n]=s.useState({});return s.useEffect(()=>{let o=(a,l=null,i=!1)=>{let{id:u,args:d=void 0,source:p,format:m}=typeof a=="string"?{id:a,source:l,format:i}:a,h=d?qz(d):Gz;n(f=>({...f,[u]:{...f[u],[h]:{code:p,format:m}}}))};return t.on(r4,o),()=>t.off(r4,o)},[]),w.createElement(Yy.Provider,{value:{sources:r}},e)},ute=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[qz(t)])||(o==null?void 0:o[Gz])||{code:""}},cte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:o}=t.parameters,a=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||a.type||Y1.AUTO;if(a.code!==void 0)return a.code;let i=l===Y1.DYNAMIC||l===Y1.AUTO&&e&&o?e:a.originalSource||"";return((d=n??a.transform)==null?void 0:d(i,t))||i},Kz=(e,t,r)=>{var f,v,g,C;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:l}=e,i=e.format??a.format,u=e.language??a.language??"jsx",d=e.dark??a.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:i,language:u,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=ute(n.id,m,r);return i=h.format??((C=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:C.format)??!1,{code:cte({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:i,language:u,dark:d}},Rre=e=>{let t=s.useContext(Yy),r=s.useContext(Gt),n=Kz(e,r,t);return w.createElement(Py,{...n})};function dte(e,t){let r=pte([e],t);return r&&r[0]}function pte(e,t){let[r,n]=s.useState({});return s.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);n(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}var fte=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},hte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let i=e.height??a.height,u=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:i,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},mte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=s.useContext(Gt),r=fte(e,t),n=dte(r,t);if(!n)return w.createElement(ez,null);let o=hte(e,n,t);return o?w.createElement(gY,{...o}):null},gte=e=>{var h,f,v,g,C,b,y,E,x,D;let t=s.useContext(Gt),r=s.useContext(Yy),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=xa(n||"story",["story"]),l=Kz({...o,...n&&{of:n}},t,r),i=e.layout??a.parameters.layout??((f=(h=a.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((b=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),p=e.sourceState??((E=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((D=(x=a.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(tz,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:m,layout:i},w.createElement(mte,{of:n||a.moduleExport,meta:e.meta,...e.story}))},vte=(e,t)=>{let r=yte(e,t);if(!r)throw new Error("No result when story was defined");return r},yte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=s.useState(r.args);s.useEffect(()=>{let u=d=>{d.storyId===n&&a(d.args)};return t.channel.on(hE,u),()=>t.channel.off(hE,u)},[n,t.channel]);let l=s.useCallback(u=>t.channel.emit(fK,{storyId:n,updatedArgs:u}),[n,t.channel]),i=s.useCallback(u=>t.channel.emit(hK,{storyId:n,argNames:u}),[n,t.channel]);return e&&[o,l,i]},wte=(e,t)=>{let r=t.getStoryContext(e),[n,o]=s.useState(r.globals);return s.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(mE,a),()=>t.channel.off(mE,a)},[t.channel]),[n]};function bte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Ete=e=>{var x;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=s.useContext(Gt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:i}=n,u=((x=o.docs)==null?void 0:x.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,m=e.sort??u.sort,[h,f,v]=vte(n,r),[g]=wte(n,r),C=fE(a,d,p);if(!(i&&Object.keys(i).length>0))return Object.keys(C).length>0||Object.keys(h).length>0?w.createElement(M5,{rows:C,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let b=HJ(l),y=Object.fromEntries(Object.entries(i).map(([D,S])=>[D,{rows:fE(bte(S,o),d,p),sort:m}])),E={[b]:{rows:C,sort:m},...y};return w.createElement(kJ,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Yz}=globalThis,xte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(rR,null,t);let n=e&&e.split("-");return w.createElement(Py,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Zy(e,t){e.channel.emit(mK,t)}var P5=ZG.a,Cte=({hash:e,children:t})=>{let r=s.useContext(Gt);return w.createElement(P5,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Yz.getElementById(o)&&Zy(r,e)}},t)},Dte=e=>{let{href:t,target:r,children:n,...o}=e,a=s.useContext(Gt);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(P5,{...e}):t.startsWith("#")?w.createElement(Cte,{hash:t},n):w.createElement(P5,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Zy(a,l.currentTarget.getAttribute("href")))},target:r,...o},n)},Zz=["h1","h2","h3","h4","h5","h6"],Ste=Zz.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),kte=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Ate=({as:e,id:t,children:r,...n})=>{let o=s.useContext(Gt),a=Ste[e],l=`#${t}`;return w.createElement(a,{id:t,...n},w.createElement(kte,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:i=>{Yz.getElementById(t)&&Zy(o,l)}},w.createElement(lK,null)),r)},Xy=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return w.createElement(Ate,{as:t,id:r,...o},n);let a=t,{as:l,...i}=e;return w.createElement(a,{...ge(i,t)})},_te=Zz.reduce((e,t)=>({...e,[t]:r=>w.createElement(Xy,{as:t,...r})}),{}),Fte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(rT`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: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return w.createElement(Ez,{...e,options:{forceBlock:!0,overrides:{code:xte,a:Dte,..._te,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Rte=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Rte||{}),Ite=e=>{var t,r,n,o,a,l,i,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((o=(n=d.docs)==null?void 0:n.description)==null?void 0:o.component)||((l=(a=d.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(i=p.docs)==null?void 0:i.extractComponentDescription)==null?void 0:u.call(i,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},N5=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=xa(t||"meta"),n=Ite(r);return n?w.createElement(Fte,null,n):null},GE=W5(EK()),zte=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Tte=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",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"}})),Bte=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Lte=({title:e})=>e===null?null:typeof e=="string"?w.createElement(Bte,null,e):e,$te=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:a})=>(s.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},i=setTimeout(()=>GE.init(l),100);return()=>{clearTimeout(i),GE.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(zte,null,t?null:w.createElement(Tte,null,w.createElement(Lte,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:Ote,window:Mte}=globalThis,Pte=({context:e,theme:t,children:r})=>{var o,a,l,i,u;let n;try{n=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{n=(u=(i=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:i.docs)==null?void 0:u.toc}return s.useEffect(()=>{let d;try{if(d=new URL(Mte.parent.location.toString()),d.hash){let p=Ote.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{jJ(p)},200)}}catch{}}),w.createElement(Gt.Provider,{value:e},w.createElement(ste,{channel:e.channel},w.createElement($x,{theme:zL(t)},w.createElement(sY,{toc:n?w.createElement($te,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Nte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement(oR,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(Xy,{as:"h3",id:r},e)},Xz=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var i,u;let{story:a}=xa(e||"story",["story"]),l=((u=(i=a.parameters.docs)==null?void 0:i.canvas)==null?void 0:u.withToolbar)??r;return w.createElement(Lz,{storyId:a.id},t&&w.createElement(w.Fragment,null,w.createElement(Nte,null,a.name),w.createElement(N5,{of:e})),w.createElement(gte,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},Hte=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=xa(t||"meta",["meta"]),n=s.useContext(Gt).componentStoriesFromCSFFile(r)[0];return n?w.createElement(Xz,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},jte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return w.createElement(nR,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(Xy,{as:"h2",id:n,...r},e)},Vte=F(jte)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),Ute=({title:e="Stories",includePrimary:t=!0})=>{var i;let{componentStories:r,projectAnnotations:n,getStoryContext:o}=s.useContext(Gt),a=r(),{stories:{filter:l}={filter:void 0}}=((i=n.parameters)==null?void 0:i.docs)||{};return l&&(a=a.filter(u=>l(u,o(u)))),a.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(a=a.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(a=a.slice(1)),!a||a.length===0?null:w.createElement(w.Fragment,null,w.createElement(Vte,null,e),a.map(u=>u&&w.createElement(Xz,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",qte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(t||"meta",["meta"]).preparedMeta}catch(i){if(r&&!i.message.includes("did you forget to use ?"))throw i}let{componentSubtitle:o,docs:a}=(n==null?void 0:n.parameters)||{};o&&dK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Wte}`);let l=r||(a==null?void 0:a.subtitle)||o;return l?w.createElement(aY,{className:"sbdocs-subtitle sb-unstyled"},l):null},Gte=/\s*\/\s*/,Kte=e=>{let t=e.trim().split(Gte);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Yte=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(r||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||Kte(n==null?void 0:n.title);return o?w.createElement(oY,{className:"sbdocs-title sb-unstyled"},o):null},Zte=()=>{let e=xa("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(Yte,null),w.createElement(qte,null),w.createElement(N5,{of:"meta"}),r?w.createElement(N5,{of:"story"}):null,w.createElement(Hte,null),w.createElement(Ete,null),r?null:w.createElement(Ute,null))};function Ire({context:e,docsParameter:t}){let r=t.container||Pte,n=t.page||Zte;return w.createElement(r,{context:e,theme:t.theme},w.createElement(n,null))}var zre=({of:e})=>{let t=s.useContext(Gt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return w.createElement(Lz,{storyId:r.id})}catch{return null}};export{PI as $,yN as A,bre as B,hN as C,nR as D,ore as E,wN as F,vre as G,wre as H,Xo as I,_y as J,nre as K,Ea as L,SN as M,zu as N,M1 as O,$I as P,hre as Q,vN as R,gN as S,xN as T,kN as U,jI as V,lre as W,VI as X,TG as Y,gG as Z,dre as _,cv as a,pre as a0,_N as a1,cre as a2,Xq as a3,vq as a4,yo as a5,ZG as a6,tg as a7,KG as a8,k5 as a9,gre as aa,ge as ab,XG as ac,Ee as ad,ne as ae,zre as af,Yte as ag,gte as ah,Ete as ai,w as aj,Rre as ak,Fre as al,_re as am,s as an,rre as ao,W5 as ap,ua as aq,F as ar,yr as as,Cre as at,fu as au,_te as av,Dte as aw,xte as ax,Ire as ay,xre as b,pN as c,Oy as d,fN as e,mN as f,lN as g,fre as h,yre as i,bl as j,fG as k,GG as l,aN as m,EN as n,CN as o,Ay as p,G0 as q,UI as r,ire as s,sre as t,DN as u,rR as v,dN as w,oR as x,Sq as y,Ere as z}; diff --git a/rc/assets/index-Ceb60MiE.js b/rc/assets/index-Ceb60MiE.js deleted file mode 100644 index 4f7ea7d..0000000 --- a/rc/assets/index-Ceb60MiE.js +++ /dev/null @@ -1 +0,0 @@ -import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-Dxx82nxn.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; diff --git a/rc/assets/index-CkYTJ7Ip.js b/rc/assets/index-CkYTJ7Ip.js deleted file mode 100644 index 974a7c9..0000000 --- a/rc/assets/index-CkYTJ7Ip.js +++ /dev/null @@ -1 +0,0 @@ -import{aj as e}from"./index-CQXi_Y6g.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; diff --git a/rc/assets/index-Clab_fcP.js b/rc/assets/index-Clab_fcP.js deleted file mode 100644 index 68b1795..0000000 --- a/rc/assets/index-Clab_fcP.js +++ /dev/null @@ -1 +0,0 @@ -import{M,u as a}from"./index-CkYTJ7Ip.js";import"./index-CQXi_Y6g.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; diff --git a/rc/assets/index-D51CeFyD.js b/rc/assets/index-D51CeFyD.js deleted file mode 100644 index 2b94633..0000000 --- a/rc/assets/index-D51CeFyD.js +++ /dev/null @@ -1,769 +0,0 @@ -const __vite__fileDeps=["./index-DXWd9xTY.js","./iframe-C-plfy9T.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-fjEgSeoO.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-C-plfy9T.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ou=Symbol.for("react.element"),nT=Symbol.for("react.portal"),oT=Symbol.for("react.fragment"),aT=Symbol.for("react.strict_mode"),lT=Symbol.for("react.profiler"),iT=Symbol.for("react.provider"),sT=Symbol.for("react.context"),uT=Symbol.for("react.forward_ref"),cT=Symbol.for("react.suspense"),dT=Symbol.for("react.memo"),pT=Symbol.for("react.lazy"),n4=Symbol.iterator;function fT(e){return e===null||typeof e!="object"?null:(e=n4&&e[n4]||e["@@iterator"],typeof e=="function"?e:null)}var QE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ex=Object.assign,tx={};function Kl(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}Kl.prototype.isReactComponent={};Kl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rx(){}rx.prototype=Kl.prototype;function H5(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}var j5=H5.prototype=new rx;j5.constructor=H5;ex(j5,Kl.prototype);j5.isPureReactComponent=!0;var o4=Array.isArray,nx=Object.prototype.hasOwnProperty,V5={current:null},ox={key:!0,ref:!0,__self:!0,__source:!0};function ax(e,t,r){var n,o={},a=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)nx.call(t,n)&&!ox.hasOwnProperty(n)&&(o[n]=t[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1typeof 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')}),ua=(e,t)=>function(){return t||(0,e[ux(e)[0]])((t={exports:{}}).exports,t),t.exports},_T=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ux(t))!AT.call(e,o)&&o!==r&&sx(e,o,{get:()=>t[o],enumerable:!(n=ST(t,o))||n.enumerable});return e},W5=(e,t,r)=>(r=e!=null?DT(kT(e)):{},_T(t||!e||!e.__esModule?sx(r,"default",{value:e,enumerable:!0}):r,e));function FT(e,t,{signal:r,edges:n}={}){let o,a=null,l=n!=null&&n.includes("leading"),i=n==null||n.includes("trailing"),u=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},d=()=>{i&&u(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),o=void 0,a=null},v=()=>{h(),u()},g=function(...C){if(r!=null&&r.aborted)return;o=this,a=C;let b=p==null;m(),l&&b&&u()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function rre(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:l}=r,i=Array(2);o&&(i[0]="leading"),a&&(i[1]="trailing");let u,d=null,p=FT(function(...f){u=e.apply(this,f),d=null},t,{signal:n,edges:i}),m=function(...f){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return u=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),u}return p.apply(this,f),u},h=()=>(p.flush(),u);return m.cancel=p.cancel,m.flush=h,m}function RT(e){return Array.from(new Set(e))}function IT(e,t){let r={},n=Object.entries(e);for(let o=0;o`control-${e.replace(/\s+/g,"-")}`,Ad=e=>`set-${e.replace(/\s+/g,"-")}`,PT=Object.create,q5=Object.defineProperty,NT=Object.getOwnPropertyDescriptor,HT=Object.getOwnPropertyNames,jT=Object.getPrototypeOf,VT=Object.prototype.hasOwnProperty,I=(e,t)=>q5(e,"name",{value:t,configurable:!0}),Mu=(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')}),_d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HT(t))!VT.call(e,o)&&o!==r&&q5(e,o,{get:()=>t[o],enumerable:!(n=NT(t,o))||n.enumerable});return e},G5=(e,t,r)=>(r=e!=null?PT(jT(e)):{},UT(t||!e||!e.__esModule?q5(r,"default",{value:e,enumerable:!0}):r,e)),WT=_d(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function x(W){return typeof W=="string"||typeof W=="function"||W===o||W===p||W===l||W===a||W===h||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===g||W.$$typeof===v||W.$$typeof===i||W.$$typeof===u||W.$$typeof===m||W.$$typeof===b||W.$$typeof===y||W.$$typeof===E||W.$$typeof===C)}I(x,"isValidElementType");function D(W){if(typeof W=="object"&&W!==null){var Zt=W.$$typeof;switch(Zt){case r:var Cr=W.type;switch(Cr){case d:case p:case o:case l:case a:case h:return Cr;default:var bo=Cr&&Cr.$$typeof;switch(bo){case u:case m:case g:case v:case i:return bo;default:return Zt}}case n:return Zt}}}I(D,"typeOf");var S=d,k=p,A=u,_=i,R=r,z=m,L=o,$=g,N=v,M=n,j=l,q=a,B=h,P=!1;function H(W){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(W)||D(W)===d}I(H,"isAsyncMode");function G(W){return D(W)===p}I(G,"isConcurrentMode");function Z(W){return D(W)===u}I(Z,"isContextConsumer");function Q(W){return D(W)===i}I(Q,"isContextProvider");function ie(W){return typeof W=="object"&&W!==null&&W.$$typeof===r}I(ie,"isElement");function U(W){return D(W)===m}I(U,"isForwardRef");function X(W){return D(W)===o}I(X,"isFragment");function re(W){return D(W)===g}I(re,"isLazy");function _e(W){return D(W)===v}I(_e,"isMemo");function qe(W){return D(W)===n}I(qe,"isPortal");function xr(W){return D(W)===l}I(xr,"isProfiler");function xt(W){return D(W)===a}I(xt,"isStrictMode");function Yt(W){return D(W)===h}I(Yt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=z,e.Fragment=L,e.Lazy=$,e.Memo=N,e.Portal=M,e.Profiler=j,e.StrictMode=q,e.Suspense=B,e.isAsyncMode=H,e.isConcurrentMode=G,e.isContextConsumer=Z,e.isContextProvider=Q,e.isElement=ie,e.isForwardRef=U,e.isFragment=X,e.isLazy=re,e.isMemo=_e,e.isPortal=qe,e.isProfiler=xr,e.isStrictMode=xt,e.isSuspense=Yt,e.isValidElementType=x,e.typeOf=D})()}),qT=_d((e,t)=>{t.exports=WT()}),cx=_d((e,t)=>{var r=qT(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[r.ForwardRef]=a,i[r.Memo]=l;function u(C){return r.isMemo(C)?l:i[C.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(C,b,y){if(typeof b!="string"){if(v){var E=f(b);E&&E!==v&&g(C,E,y)}var x=p(b);m&&(x=x.concat(m(b)));for(var D=u(C),S=u(b),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Mu=="function"&Μif(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}I(l,"s");for(var i=typeof Mu=="function"&&Mu,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}I(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Me(Yl,--bt):0,xl--,Se===10&&(xl=1,Id--),Se}I(wx,"prev");function ht(){return Se=bt2||Cl(Se)>3?"":" "}I(bx,"whitespace");function Ex(e,t){for(;--t&&ht()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Zl(e,rs()+(t<6&&ur()==32&&ht()==32))}I(Ex,"escaping");function f0(e){for(;ht();)switch(Se){case e:return bt;case 34:case 39:e!==34&&e!==39&&f0(Se);break;case 40:e===41&&f0(e);break;case 92:ht();break}return bt}I(f0,"delimiter");function xx(e,t){for(;ht()&&e+Se!==57&&!(e+Se===84&&ur()===47););return"/*"+Zl(t,bt-1)+"*"+Fd(e===47?e:ht())}I(xx,"commenter");function Cx(e){for(;!Cl(ur());)ht();return Zl(e,bt)}I(Cx,"identifier");function Dx(e){return t2(os("",null,null,null,[""],e=e2(e),0,[0],e))}I(Dx,"compile");function os(e,t,r,n,o,a,l,i,u){for(var d=0,p=0,m=l,h=0,f=0,v=0,g=1,C=1,b=1,y=0,E="",x=o,D=a,S=n,k=E;C;)switch(v=y,y=ht()){case 40:if(v!=108&&Me(k,m-1)==58){p0(k+=le(ns(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=ns(y);break;case 9:case 10:case 13:case 32:k+=bx(v);break;case 92:k+=Ex(rs()-1,7);continue;case 47:switch(ur()){case 42:case 47:Pi(Sx(xx(ht(),rs()),t,r),u);break;default:k+="/"}break;case 123*g:i[d++]=or(k)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+p:b==-1&&(k=le(k,/\f/g,"")),f>0&&or(k)-m&&Pi(f>32?em(k+";",n,r,m-1):em(le(k," ","")+";",n,r,m-2),u);break;case 59:k+=";";default:if(Pi(S=Qh(k,t,r,d,p,o,i,E,x=[],D=[],m),a),y===123)if(p===0)os(k,t,S,S,x,a,m,i,D);else switch(h===99&&Me(k,3)===110?100:h){case 100:case 108:case 109:case 115:os(e,S,S,n&&Pi(Qh(e,S,S,0,0,o,i,E,o,x=[],m),D),o,D,m,i,n?x:D);break;default:os(k,S,S,S,[""],D,0,i,D)}}d=p=f=0,g=b=1,E=k="",m=l;break;case 58:m=1+or(k),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&wx()==125)continue}switch(k+=Fd(y),y*g){case 38:b=p>0?1:(k+="\f",-1);break;case 44:i[d++]=(or(k)-1)*b,b=1;break;case 64:ur()===45&&(k+=ns(ht())),h=ur(),p=m=or(E=k+=Cx(rs())),y++;break;case 45:v===45&&or(k)==2&&(g=0)}}return a}I(os,"parse");function Qh(e,t,r,n,o,a,l,i,u,d,p){for(var m=o-1,h=o===0?a:[""],f=Rd(h),v=0,g=0,C=0;v0?h[b]+" "+y:le(y,/&\f/g,h[b])))&&(u[C++]=E);return au(e,t,r,o===0?X5:i,u,d,p)}I(Qh,"ruleset");function Sx(e,t,r){return au(e,t,r,Z5,Fd(yx()),El(e,2,-2),0)}I(Sx,"comment");function em(e,t,r,n){return au(e,t,r,J5,El(e,0,n),El(e,n+1,-1),n)}I(em,"declaration");function qo(e,t){for(var r="",n=Rd(e),o=0;o-1},"isIgnoringComment"),iB=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,l=a?t.parent.children:n,i=l.length-1;i>=0;i--){var u=l[i];if(u.line=0;r--)if(!_x(t[r]))return!0;return!1},"isPrependedWithRegularRules"),u4=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),uB=I(function(e,t,r){_x(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),u4(e)):sB(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),u4(e)))},"incorrectImportAlarm");function r2(e,t){switch(hx(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+d0+e+Qe+e+e;case 6828:case 4268:return se+e+Qe+e+e;case 6165:return se+e+Qe+"flex-"+e+e;case 5187:return se+e+le(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return se+e+Qe+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return se+e+Qe+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+Qe+le(e,"shrink","negative")+e;case 5292:return se+e+Qe+le(e,"basis","preferred-size")+e;case 6060:return se+"box-"+le(e,"-grow","")+se+e+Qe+le(e,"grow","positive")+e;case 4554:return se+le(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(or(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+d0+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~p0(e,"stretch")?r2(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,or(e)-3-(~p0(e,"!important")&&10))){case 107:return le(e,":",":"+se)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(Me(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+Qe+e+e}return e}I(r2,"prefix");var cB=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case J5:e.return=r2(e.value,e.length);break;case fx:return qo([$a(e,{value:le(e.value,"@","@"+se)})],n);case X5:if(e.length)return gx(e.props,function(o){switch(mx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qo([$a(e,{props:[le(o,/:(read-\w+)/,":"+d0+"$1")]})],n);case"::placeholder":return qo([$a(e,{props:[le(o,/:(plac\w+)/,":"+se+"input-$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,":"+d0+"$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,Qe+"input-$1")]})],n)}return""})}},"prefixer"),dB=[cB],pB=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||dB;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(Fx,"murmur2");var gB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},c4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,vB="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yB=/[A-Z]|^ms/g,Rx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n2=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),d4=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),X1=K5(function(e){return n2(e)?e:e.replace(yB,"-$&").toLowerCase()}),h0=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rx,function(r,n,o){return Br={name:n,styles:o,next:Br},n})}return gB[e]!==1&&!n2(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");p4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,f4=["normal","none","initial","inherit","unset"],h4=h0,m4=/^-ms-/,g4=/-(.)/g,J1={},h0=I(function(e,t){if(e==="content"&&(typeof t!="string"||f4.indexOf(t)===-1&&!p4.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=h4(e,t);return r!==""&&!n2(e)&&e.indexOf("-")!==-1&&J1[e]===void 0&&(J1[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(m4,"ms-").replace(g4,function(n,o){return o.toUpperCase()})+"?")),r},"processStyleValue");var p4,f4,h4,m4,g4,J1,Ix="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ix);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Br={name:r.name,styles:r.styles,next:Br},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Br={name:n.name,styles:n.styles,next:Br},n=n.next;var o=r.styles+";";return r.map!==void 0&&(o+=r.map),o}return zx(e,t,r)}case"function":{if(e!==void 0){var a=Br,l=r(e);return Br=a,Dl(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var i=[],u=r.replace(Rx,function(p,m,h){var f="animation"+i.length;return i.push("const "+f+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});i.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(i,["`"+u+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(Dl,"handleInterpolation");function zx(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Wr({},e,t)},"getTheme"),xB=i4(function(e){return i4(function(t){return EB(e,t)})}),$x=I(function(e){var t=s.useContext(vn);return e.theme!==t&&(t=xB(t)(e.theme)),s.createElement(vn.Provider,{value:t},e.children)},"ThemeProvider");function CB(e){var t=e.displayName||e.name||"Component",r=I(function(o,a){var l=s.useContext(vn);return s.createElement(e,Wr({theme:l,ref:a},o))},"render"),n=s.forwardRef(r);return n.displayName="WithTheme("+t+")",hB(n,e)}I(CB,"withTheme");var w4="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b4="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",DB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),SB=Ld(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[w4],a=[n],l="";typeof e.className=="string"?l=zd(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var i=Sl(a,void 0,s.useContext(vn));if(i.name.indexOf("-")===-1){var u=e[b4];u&&(i=Sl([i,"label:"+u+";"]))}l+=t.key+"-"+i.name;var d={};for(var p in e)bB.call(e,p)&&p!=="css"&&p!==w4&&p!==b4&&(d[p]=e[p]);return d.ref=r,d.className=l,s.createElement(s.Fragment,null,s.createElement(DB,{cache:t,serialized:i,isStringTag:typeof o=="string"}),s.createElement(o,d))});SB.displayName="EmotionCssPropInternal";G5(cx());var kB={version:"11.11.4"},E4=!1,AB=Ld(function(e,t){!E4&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),E4=!0);var r=e.styles,n=Sl([r],void 0,s.useContext(vn)),o=s.useRef();return y4(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(i=!0,u.setAttribute("data-emotion",a),l.hydrate([u])),o.current=[l,i],function(){l.flush()}},[t]),y4(function(){var a=o.current,l=a[0],i=a[1];if(i){a[1]=!1;return}if(n.next!==void 0&&Bd(t,n.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",n,l,!1)},[t,n.name]),null});AB.displayName="EmotionGlobal";function $d(){for(var e=arguments.length,t=new Array(e),r=0;r component."),l="";for(var i in a)a[i]&&i&&(l&&(l+=" "),l+=i)}break}default:l=a}l&&(o&&(o+=" "),o+=l)}}return o},"classnames");function Ox(e,t,r){var n=[],o=zd(e,n,r);return n.length<2?r:o+t(n)}I(Ox,"merge");var FB=I(function(e){var t=e.cache,r=e.serializedArr;return o2(function(){for(var n=0;n96?IB:zB},"getDefaultShouldForwardProp"),D4=I(function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),S4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,TB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),BB=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var i=D4(t,r,n),u=i||C4(o),d=!u("as");return function(){var p=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{p[0][0]===void 0&&console.error(S4),m.push(p[0][0]);for(var h=p.length,f=1;f1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}I(Al,"hslToRgb");var k4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ux(e){if(typeof e!="string")return e;var t=e.toLowerCase();return k4[t]?"#"+k4[t]:e}I(Ux,"nameToHex");var OB=/^#[a-fA-F0-9]{6}$/,MB=/^#[a-fA-F0-9]{8}$/,PB=/^#[a-fA-F0-9]{3}$/,NB=/^#[a-fA-F0-9]{4}$/,rp=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,HB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,VB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function lu(e){if(typeof e!="string")throw new Or(3);var t=Ux(e);if(t.match(OB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(MB)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(PB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(NB)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=rp.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=HB.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=jB.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Al(i,u,d)+")",m=rp.exec(p);if(!m)throw new Or(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=VB.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Al(f,v,g)+")",b=rp.exec(C);if(!b)throw new Or(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Or(5)}I(lu,"parseToRgb");function Wx(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Ds(e,t,r):"rgba("+Al(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ds(e.hue,e.saturation,e.lightness):"rgba("+Al(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Or(2)}I(Kx,"hsla");function v0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return tm("#"+Tn(e)+Tn(t)+Tn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return tm("#"+Tn(e.red)+Tn(e.green)+Tn(e.blue));throw new Or(6)}I(v0,"rgb");function _l(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=lu(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?v0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?v0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Or(7)}I(_l,"rgba");var WB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),qB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),GB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),KB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function s2(e){if(typeof e!="object")throw new Or(8);if(qB(e))return _l(e);if(WB(e))return v0(e);if(KB(e))return Kx(e);if(GB(e))return Gx(e);throw new Or(8)}I(s2,"toColorString");function u2(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):u2(e,t,n)},"fn")}I(u2,"curried");function iu(e){return u2(e,e.length,[])}I(iu,"curry");function su(e,t,r){return Math.max(e,Math.min(t,r))}I(su,"guard");function Yx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness-parseFloat(e))}))}I(Yx,"darken");var YB=iu(Yx),ZB=YB;function Zx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness+parseFloat(e))}))}I(Zx,"lighten");var XB=iu(Zx),JB=XB;function Xx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,(n*100+parseFloat(e)*100)/100)});return _l(o)}I(Xx,"opacify");var QB=iu(Xx),eL=QB;function Jx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return _l(o)}I(Jx,"transparentize");var tL=iu(Jx),rL=tL,K={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Bn={app:"#F6F9FC",gridCellSize:10,hoverable:rL(.9,K.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Mr={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Qx=G5(GT(),1),nL=(0,Qx.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Qx.default)(1)(({color:e,background:t,typography:r})=>{let n=nL({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var oL={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:K.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:K.lightest,inputBorderRadius:4},aL=oL,lL={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Bn.app,appContentBg:K.lightest,appPreviewBg:K.lightest,appBorderColor:K.border,appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:K.darkest,textInverseColor:K.lightest,textMutedColor:K.dark,barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:K.lightest,buttonBg:Bn.app,buttonBorder:K.medium,booleanBg:K.mediumlight,booleanSelectedBg:K.lightest,inputBg:K.lightest,inputBorder:K.border,inputTextColor:K.darkest,inputBorderRadius:4},y0=lL,iL=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:sL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:np}=iL,uL=I(e=>({color:e}),"mkColor"),cL=I(e=>typeof e!="string"?(sL.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),dL=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),pL=I((e,t)=>e==="darken"?_l(`${ZB(1,t)}`,.95):e==="lighten"?_l(`${JB(1,t)}`,.95):t,"applyPolished"),eC=I(e=>t=>{if(!cL(t)||!dL(t))return t;try{return pL(e,t)}catch{return t}},"colorFactory"),pi=eC("lighten");eC("darken");var tC=I(()=>!np||!np.matchMedia?"light":np.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),rm={light:y0,dark:aL,normal:y0};tC();var fL={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},hL=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,rC=Cn` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,mL=Cn` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,gL=Cn` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,vL=$d` - animation: ${rC} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,yL=$d` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,wL={rotate360:hL,glow:rC,float:mL,jiggle:gL,inlineGlow:vL,hoverable:yL},bL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},EL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},xL=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:uL(n)}),{}),"convertColors"),CL=I(({colors:e,mono:t})=>{let r=xL(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),DL={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},SL={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},kL=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:K.tertiary,ancillary:K.ancillary,orange:K.orange,gold:K.gold,green:K.green,seafoam:K.seafoam,purple:K.purple,ultraviolet:K.ultraviolet,lightest:K.lightest,lighter:K.lighter,light:K.light,mediumlight:K.mediumlight,medium:K.medium,mediumdark:K.mediumdark,dark:K.dark,darker:K.darker,darkest:K.darkest,border:K.border,positive:K.positive,negative:K.negative,warning:K.warning,critical:K.critical,defaultText:e.textColor||K.darkest,inverseText:e.textInverseColor||K.lightest,positiveText:K.positiveText,negativeText:K.negativeText,warningText:K.warningText}),"createColors"),nm=I((e=rm[tC()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:o,appContentBg:a,appPreviewBg:l,appBorderColor:i,appBorderRadius:u,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:C,buttonBg:b,buttonBorder:y,booleanBg:E,booleanSelectedBg:x,inputBg:D,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:z,brandTarget:L,gridCellSize:$,...N}=e;return{...N,base:t,color:kL(e),background:{app:o,bar:C,content:a,preview:l,gridCellSize:$||Bn.gridCellSize,hoverable:Bn.hoverable,positive:Bn.positive,negative:Bn.negative,warning:Bn.warning,critical:Bn.critical},typography:{fonts:{base:d,mono:p},weight:Mr.weight,size:Mr.size},animation:wL,easing:fL,input:{background:D,border:S,borderRadius:A,color:k},button:{background:b||D,border:y||S},boolean:{background:E||S,selectedBackground:x||D},layoutMargin:10,appBorderColor:i,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:C,brand:{title:_,url:R,image:z||(_?null:void 0),target:L},code:CL({colors:t==="light"?DL:SL,mono:p}),addonActionsTheme:{...t==="light"?EL:bL,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Mr.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:eL(.2,i),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Mr.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:AL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var _L=I(e=>Object.keys(e).length===0,"isEmpty"),op=I(e=>e!=null&&typeof e=="object","isObject"),FL=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),RL=I(()=>Object.create(null),"makeObjectWithoutPrototype"),nC=I((e,t)=>e===t||!op(e)||!op(t)?{}:Object.keys(e).reduce((r,n)=>{if(FL(t,n)){let o=nC(e[n],t[n]);return op(o)&&_L(o)||(r[n]=o),r}return r[n]=void 0,r},RL()),"deletedDiff"),IL=nC;function oC(e){for(var t=[],r=1;r{if(!e)return nm(y0);let t=IL(y0,e);return Object.keys(t).length&&AL.warn(oC` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),nm(e)},"ensure"),om="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",aC={exports:{}},Bt={},lC={exports:{}},iC={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(B,P){var H=B.length;B.push(P);e:for(;0>>1,Z=B[G];if(0>>1;Go(U,H))Xo(re,U)?(B[G]=re,B[X]=H,G=X):(B[G]=U,B[ie]=H,G=ie);else if(Xo(re,H))B[G]=re,B[X]=H,G=X;else break e}}return P}function o(B,P){var H=B.sortIndex-P.sortIndex;return H!==0?H:B.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var u=[],d=[],p=1,m=null,h=3,f=!1,v=!1,g=!1,C=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var P=r(d);P!==null;){if(P.callback===null)n(d);else if(P.startTime<=B)n(d),P.sortIndex=P.expirationTime,t(u,P);else break;P=r(d)}}function x(B){if(g=!1,E(B),!v)if(r(u)!==null)v=!0,j(D);else{var P=r(d);P!==null&&q(x,P.startTime-B)}}function D(B,P){v=!1,g&&(g=!1,b(A),A=-1),f=!0;var H=h;try{for(E(P),m=r(u);m!==null&&(!(m.expirationTime>P)||B&&!z());){var G=m.callback;if(typeof G=="function"){m.callback=null,h=m.priorityLevel;var Z=G(m.expirationTime<=P);P=e.unstable_now(),typeof Z=="function"?m.callback=Z:m===r(u)&&n(u),E(P)}else n(u);m=r(u)}if(m!==null)var Q=!0;else{var ie=r(d);ie!==null&&q(x,ie.startTime-P),Q=!1}return Q}finally{m=null,h=H,f=!1}}var S=!1,k=null,A=-1,_=5,R=-1;function z(){return!(e.unstable_now()-R<_)}function L(){if(k!==null){var B=e.unstable_now();R=B;var P=!0;try{P=k(!0,B)}finally{P?$():(S=!1,k=null)}}else S=!1}var $;if(typeof y=="function")$=function(){y(L)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,M=N.port2;N.port1.onmessage=L,$=function(){M.postMessage(null)}}else $=function(){C(L,0)};function j(B){k=B,S||(S=!0,$())}function q(B,P){A=C(function(){B(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,j(D))},e.unstable_forceFrameRate=function(B){0>B||125G?(B.sortIndex=H,t(d,B),r(u)===null&&B===r(d)&&(g?(b(A),A=-1):g=!0,q(x,H-G))):(B.sortIndex=Z,t(u,B),v||f||(v=!0,j(D))),B},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(B){var P=h;return function(){var H=h;h=P;try{return B.apply(this,arguments)}finally{h=H}}}})(iC);lC.exports=iC;var TL=lC.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var BL=s,It=TL;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),am=Object.prototype.hasOwnProperty,LL=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A4={},_4={};function $L(e){return am.call(_4,e)?!0:am.call(A4,e)?!1:LL.test(e)?_4[e]=!0:(A4[e]=!0,!1)}function OL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ML(e,t,r,n){if(t===null||typeof t>"u"||OL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,r,n,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ue[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var c2=/[\-:]([a-z])/g;function d2(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function p2(e,t,r,n){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:n||!(2i||o[l]!==a[i]){var u=` -`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{lp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ni(e):""}function PL(e){switch(e.tag){case 5:return Ni(e.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 2:case 15:return e=ip(e.type,!1),e;case 11:return e=ip(e.type.render,!1),e;case 1:return e=ip(e.type,!0),e;default:return""}}function um(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wa:return"Fragment";case Ua:return"Portal";case lm:return"Profiler";case f2:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case uC:return(e._context.displayName||"Context")+".Provider";case h2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case m2:return t=e.displayName||null,t!==null?t:um(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return um(e(t))}catch{}}return null}function NL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return um(t);case 8:return t===f2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HL(e){var t=pC(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nu(e){e._valueTracker||(e._valueTracker=HL(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pC(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function w0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function cm(e,t){var r=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function R4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ro(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hC(e,t){t=t.checked,t!=null&&p2(e,"checked",t,!1)}function dm(e,t){hC(e,t);var r=ro(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pm(e,t.type,r):t.hasOwnProperty("defaultValue")&&pm(e,t.type,ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function I4(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function pm(e,t,r){(t!=="number"||w0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hi=Array.isArray;function ol(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Hu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ks(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var as={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jL=["Webkit","ms","Moz","O"];Object.keys(as).forEach(function(e){jL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),as[t]=as[e]})});function yC(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||as.hasOwnProperty(e)&&as[e]?(""+t).trim():t+"px"}function wC(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=yC(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var VL=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mm(e,t){if(t){if(VL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function gm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vm=null;function g2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ym=null,al=null,ll=null;function B4(e){if(e=du(e)){if(typeof ym!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Hd(t),ym(e.stateNode,e.type,t))}}function bC(e){al?ll?ll.push(e):ll=[e]:al=e}function EC(){if(al){var e=al,t=ll;if(ll=al=null,B4(e),t)for(e=0;e>>=0,e===0?32:31-(e$(e)/t$|0)|0}var ju=64,Vu=4194304;function ji(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function C0(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var i=l&~o;i!==0?n=ji(i):(a&=l,a!==0&&(n=ji(a)))}else l=r&~o,l!==0?n=ji(l):a!==0&&(n=ji(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function uu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-cr(t),e[t]=r}function a$(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=is),V4=" ",U4=!1;function HC(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qa=!1;function L$(e,t){switch(e){case"compositionend":return jC(t);case"keypress":return t.which!==32?null:(U4=!0,V4);case"textInput":return e=t.data,e===V4&&U4?null:e;default:return null}}function $$(e,t){if(qa)return e==="compositionend"||!D2&&HC(e,t)?(e=PC(),$c=E2=Vn=null,qa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=K4(r)}}function qC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function GC(){for(var e=window,t=w0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=w0(e.document)}return t}function S2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function W$(e){var t=GC(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&qC(r.ownerDocument.documentElement,r)){if(n!==null&&S2(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=Y4(r,a);var l=Y4(r,n);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ga=null,Dm=null,us=null,Sm=!1;function Z4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Sm||Ga==null||Ga!==w0(n)||(n=Ga,"selectionStart"in n&&S2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),us&&zs(us,n)||(us=n,n=k0(Dm,"onSelect"),0Za||(e.current=Im[Za],Im[Za]=null,Za--)}function ce(e,t){Za++,Im[Za]=e.current,e.current=t}var no={},tt=fo(no),mt=fo(!1),Jo=no;function Rl(e,t){var r=e.type.contextTypes;if(!r)return no;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gt(e){return e=e.childContextTypes,e!=null}function _0(){fe(mt),fe(tt)}function n3(e,t,r){if(tt.current!==no)throw Error(O(168));ce(tt,t),ce(mt,r)}function r9(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(O(108,NL(e)||"Unknown",o));return we({},r,n)}function F0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,Jo=tt.current,ce(tt,e),ce(mt,mt.current),!0}function o3(e,t,r){var n=e.stateNode;if(!n)throw Error(O(169));r?(e=r9(e,t,Jo),n.__reactInternalMemoizedMergedChildContext=e,fe(mt),fe(tt),ce(tt,e)):fe(mt),ce(mt,r)}var cn=null,jd=!1,Ep=!1;function n9(e){cn===null?cn=[e]:cn.push(e)}function nO(e){jd=!0,n9(e)}function ho(){if(!Ep&&cn!==null){Ep=!0;var e=0,t=ue;try{var r=cn;for(ue=1;e>=l,o-=l,pn=1<<32-cr(t)+o|r<A?(_=k,k=null):_=k.sibling;var R=h(b,k,E[A],x);if(R===null){k===null&&(k=_);break}e&&k&&R.alternate===null&&t(b,k),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R,k=_}if(A===E.length)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;AA?(_=k,k=null):_=k.sibling;var z=h(b,k,R.value,x);if(z===null){k===null&&(k=_);break}e&&k&&z.alternate===null&&t(b,k),y=a(z,y,A),S===null?D=z:S.sibling=z,S=z,k=_}if(R.done)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;!R.done;A++,R=E.next())R=m(b,R.value,x),R!==null&&(y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return me&&Ro(b,A),D}for(k=n(b,k);!R.done;A++,R=E.next())R=f(k,b,A,R.value,x),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?A:R.key),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return e&&k.forEach(function(L){return t(b,L)}),me&&Ro(b,A),D}function C(b,y,E,x){if(typeof E=="object"&&E!==null&&E.type===Wa&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pu:e:{for(var D=E.key,S=y;S!==null;){if(S.key===D){if(D=E.type,D===Wa){if(S.tag===7){r(b,S.sibling),y=o(S,E.props.children),y.return=b,b=y;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ln&&i3(D)===S.type){r(b,S.sibling),y=o(S,E.props),y.ref=wi(b,S,E),y.return=b,b=y;break e}r(b,S);break}else t(b,S);S=S.sibling}E.type===Wa?(y=Ko(E.props.children,b.mode,x,E.key),y.return=b,b=y):(x=Uc(E.type,E.key,E.props,null,b.mode,x),x.ref=wi(b,y,E),x.return=b,b=x)}return l(b);case Ua:e:{for(S=E.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){r(b,y.sibling),y=o(y,E.children||[]),y.return=b,b=y;break e}else{r(b,y);break}else t(b,y);y=y.sibling}y=Fp(E,b.mode,x),y.return=b,b=y}return l(b);case Ln:return S=E._init,C(b,y,S(E._payload),x)}if(Hi(E))return v(b,y,E,x);if(fi(E))return g(b,y,E,x);Zu(b,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(r(b,y.sibling),y=o(y,E),y.return=b,b=y):(r(b,y),y=_p(E,b.mode,x),y.return=b,b=y),l(b)):r(b,y)}return C}var zl=i9(!0),s9=i9(!1),z0=fo(null),T0=null,Qa=null,F2=null;function R2(){F2=Qa=T0=null}function I2(e){var t=z0.current;fe(z0),e._currentValue=t}function Bm(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function sl(e,t){T0=e,F2=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ft=!0),e.firstContext=null)}function jt(e){var t=e._currentValue;if(F2!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(T0===null)throw Error(O(308));Qa=e,T0.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var Mo=null;function z2(e){Mo===null?Mo=[e]:Mo.push(e)}function u9(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,z2(t)):(r.next=o.next,o.next=r),t.interleaved=r,bn(e,n)}function bn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var $n=!1;function T2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function c9(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ae&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,bn(e,r)}return o=n.interleaved,o===null?(t.next=t,z2(n)):(t.next=o.next,o.next=t),n.interleaved=t,bn(e,r)}function Mc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}function s3(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=l:a=a.next=l,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function B0(e,t,r,n){var o=e.updateQueue;$n=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var u=i,d=u.next;u.next=null,l===null?a=d:l.next=d,l=u;var p=e.alternate;p!==null&&(p=p.updateQueue,i=p.lastBaseUpdate,i!==l&&(i===null?p.firstBaseUpdate=d:i.next=d,p.lastBaseUpdate=u))}if(a!==null){var m=o.baseState;l=0,p=d=u=null,i=a;do{var h=i.lane,f=i.eventTime;if((n&h)===h){p!==null&&(p=p.next={eventTime:f,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var v=e,g=i;switch(h=t,f=r,g.tag){case 1:if(v=g.payload,typeof v=="function"){m=v.call(f,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,h=typeof v=="function"?v.call(f,m,h):v,h==null)break e;m=we({},m,h);break e;case 2:$n=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else f={eventTime:f,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(d=p=f,u=m):p=p.next=f,l|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(p===null&&(u=m),o.baseState=u,o.firstBaseUpdate=d,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ta|=l,e.lanes=l,e.memoizedState=m}}function u3(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Cp.transition;Cp.transition={};try{e(!1),t()}finally{ue=r,Cp.transition=n}}function A9(){return Vt().memoizedState}function iO(e,t,r){var n=Xn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},_9(e))F9(t,r);else if(r=u9(e,t,r,n),r!==null){var o=lt();dr(r,e,n,o),R9(r,t,n)}}function sO(e,t,r){var n=Xn(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(_9(e))F9(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,i=a(l,r);if(o.hasEagerState=!0,o.eagerState=i,fr(i,l)){var u=t.interleaved;u===null?(o.next=o,z2(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=u9(e,t,o,n),r!==null&&(o=lt(),dr(r,e,n,o),R9(r,t,n))}}function _9(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function F9(e,t){cs=$0=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function R9(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}var O0={readContext:jt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},uO={readContext:jt,useCallback:function(e,t){return Ir().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:d3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Nc(4194308,4,x9.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nc(4,2,e,t)},useMemo:function(e,t){var r=Ir();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ir();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iO.bind(null,ye,e),[n.memoizedState,e]},useRef:function(e){var t=Ir();return e={current:e},t.memoizedState=e},useState:c3,useDebugValue:H2,useDeferredValue:function(e){return Ir().memoizedState=e},useTransition:function(){var e=c3(!1),t=e[0];return e=lO.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ye,o=Ir();if(me){if(r===void 0)throw Error(O(407));r=r()}else{if(r=t(),Ne===null)throw Error(O(349));ea&30||h9(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,d3(g9.bind(null,n,a,e),[e]),n.flags|=2048,Ns(9,m9.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ir(),t=Ne.identifierPrefix;if(me){var r=fn,n=pn;r=(n&~(1<<32-cr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ms++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Lr]=t,e[Ls]=n,N9(e,t,!1,!1),t.stateNode=e;e:{switch(l=gm(r,n),r){case"dialog":de("cancel",e),de("close",e),o=n;break;case"iframe":case"object":case"embed":de("load",e),o=n;break;case"video":case"audio":for(o=0;oLl&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304)}else{if(!n)if(e=L0(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),bi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!me)return Ye(t),null}else 2*Ce()-a.renderingStartTime>Ll&&r!==1073741824&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ce(),t.sibling=null,r=ve.current,ce(ve,n?r&1|2:r&1),t):(Ye(t),null);case 22:case 23:return G2(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?St&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function vO(e,t){switch(A2(t),t.tag){case 1:return gt(t.type)&&_0(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tl(),fe(mt),fe(tt),$2(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return L2(t),null;case 13:if(fe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(ve),null;case 4:return Tl(),null;case 10:return I2(t.type._context),null;case 22:case 23:return G2(),null;case 24:return null;default:return null}}var Ju=!1,et=!1,yO=typeof WeakSet=="function"?WeakSet:Set,V=null;function el(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){be(e,t,n)}else r.current=null}function Vm(e,t,r){try{r()}catch(n){be(e,t,n)}}var x3=!1;function wO(e,t){if(km=D0,e=GC(),S2(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,i=-1,u=-1,d=0,p=0,m=e,h=null;t:for(;;){for(var f;m!==r||o!==0&&m.nodeType!==3||(i=l+o),m!==a||n!==0&&m.nodeType!==3||(u=l+n),m.nodeType===3&&(l+=m.nodeValue.length),(f=m.firstChild)!==null;)h=m,m=f;for(;;){if(m===e)break t;if(h===r&&++d===o&&(i=l),h===a&&++p===n&&(u=l),(f=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=f}r=i===-1||u===-1?null:{start:i,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Am={focusedElem:e,selectionRange:r},D0=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,C=v.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:rr(t.type,g),C);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){be(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=x3,x3=!1,v}function ds(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Vm(t,r,a)}o=o.next}while(o!==n)}}function Wd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Um(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function V9(e){var t=e.alternate;t!==null&&(e.alternate=null,V9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lr],delete t[Ls],delete t[Rm],delete t[tO],delete t[rO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U9(e){return e.tag===5||e.tag===3||e.tag===4}function C3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=A0));else if(n!==4&&(e=e.child,e!==null))for(Wm(e,t,r),e=e.sibling;e!==null;)Wm(e,t,r),e=e.sibling}function qm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(qm(e,t,r),e=e.sibling;e!==null;)qm(e,t,r),e=e.sibling}var He=null,nr=!1;function An(e,t,r){for(r=r.child;r!==null;)W9(e,t,r),r=r.sibling}function W9(e,t,r){if(Hr&&typeof Hr.onCommitFiberUnmount=="function")try{Hr.onCommitFiberUnmount(Od,r)}catch{}switch(r.tag){case 5:et||el(r,t);case 6:var n=He,o=nr;He=null,An(e,t,r),He=n,nr=o,He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):He.removeChild(r.stateNode));break;case 18:He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?bp(e.parentNode,r):e.nodeType===1&&bp(e,r),Rs(e)):bp(He,r.stateNode));break;case 4:n=He,o=nr,He=r.stateNode.containerInfo,nr=!0,An(e,t,r),He=n,nr=o;break;case 0:case 11:case 14:case 15:if(!et&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&Vm(r,t,l),o=o.next}while(o!==n)}An(e,t,r);break;case 1:if(!et&&(el(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(i){be(r,t,i)}An(e,t,r);break;case 21:An(e,t,r);break;case 22:r.mode&1?(et=(n=et)||r.memoizedState!==null,An(e,t,r),et=n):An(e,t,r);break;default:An(e,t,r)}}function D3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new yO),t.forEach(function(n){var o=_O.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Jt(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=l),n&=~a}if(n=o,n=Ce()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*EO(n/1960))-n,10e?16:e,Un===null)var n=!1;else{if(e=Un,Un=null,N0=0,ae&6)throw Error(O(331));var o=ae;for(ae|=4,V=e.current;V!==null;){var a=V,l=a.child;if(V.flags&16){var i=a.deletions;if(i!==null){for(var u=0;uCe()-W2?Go(e,0):U2|=r),vt(e,t)}function Q9(e,t){t===0&&(e.mode&1?(t=Vu,Vu<<=1,!(Vu&130023424)&&(Vu=4194304)):t=1);var r=lt();e=bn(e,t),e!==null&&(uu(e,t,r),vt(e,r))}function AO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Q9(e,r)}function _O(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(O(314))}n!==null&&n.delete(t),Q9(e,r)}var eD;eD=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)ft=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ft=!1,mO(e,t,r);ft=!!(e.flags&131072)}else ft=!1,me&&t.flags&1048576&&o9(t,I0,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Hc(e,t),e=t.pendingProps;var o=Rl(t,tt.current);sl(t,r),o=M2(null,t,n,e,o,r);var a=P2();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,gt(n)?(a=!0,F0(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,T2(t),o.updater=Ud,t.stateNode=o,o._reactInternals=t,$m(t,n,e,r),t=Pm(null,t,n,!0,a,r)):(t.tag=0,me&&a&&k2(t),at(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Hc(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=RO(n),e=rr(n,e),o){case 0:t=Mm(null,t,n,e,r);break e;case 1:t=w3(null,t,n,e,r);break e;case 11:t=v3(null,t,n,e,r);break e;case 14:t=y3(null,t,n,rr(n.type,e),r);break e}throw Error(O(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Mm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),w3(e,t,n,o,r);case 3:e:{if(O9(t),e===null)throw Error(O(387));n=t.pendingProps,a=t.memoizedState,o=a.element,c9(e,t),B0(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Bl(Error(O(423)),t),t=b3(e,t,n,r,o);break e}else if(n!==o){o=Bl(Error(O(424)),t),t=b3(e,t,n,r,o);break e}else for(At=Kn(t.stateNode.containerInfo.firstChild),_t=t,me=!0,ar=null,r=s9(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Il(),n===o){t=En(e,t,r);break e}at(e,t,n,r)}t=t.child}return t;case 5:return d9(t),e===null&&Tm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,_m(n,o)?l=null:a!==null&&_m(n,a)&&(t.flags|=32),$9(e,t),at(e,t,l,r),t.child;case 6:return e===null&&Tm(t),null;case 13:return M9(e,t,r);case 4:return B2(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=zl(t,null,n,r):at(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),v3(e,t,n,o,r);case 7:return at(e,t,t.pendingProps,r),t.child;case 8:return at(e,t,t.pendingProps.children,r),t.child;case 12:return at(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ce(z0,n._currentValue),n._currentValue=l,a!==null)if(fr(a.value,l)){if(a.children===o.children&&!mt.current){t=En(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){l=a.child;for(var u=i.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=hn(-1,r&-r),u.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),Bm(a.return,r,t),i.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error(O(341));l.lanes|=r,i=l.alternate,i!==null&&(i.lanes|=r),Bm(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}at(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,sl(t,r),o=jt(o),n=n(o),t.flags|=1,at(e,t,n,r),t.child;case 14:return n=t.type,o=rr(n,t.pendingProps),o=rr(n.type,o),y3(e,t,n,o,r);case 15:return B9(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Hc(e,t),t.tag=1,gt(n)?(e=!0,F0(t)):e=!1,sl(t,r),I9(t,n,o),$m(t,n,o,r),Pm(null,t,n,!0,e,r);case 19:return P9(e,t,r);case 22:return L9(e,t,r)}throw Error(O(156,t.tag))};function tD(e,t){return _C(e,t)}function FO(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,r,n){return new FO(e,t,r,n)}function Y2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RO(e){if(typeof e=="function")return Y2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===h2)return 11;if(e===m2)return 14}return 2}function Jn(e,t){var r=e.alternate;return r===null?(r=Mt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Uc(e,t,r,n,o,a){var l=2;if(n=e,typeof e=="function")Y2(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Wa:return Ko(r.children,o,a,t);case f2:l=8,o|=8;break;case lm:return e=Mt(12,r,t,o|2),e.elementType=lm,e.lanes=a,e;case im:return e=Mt(13,r,t,o),e.elementType=im,e.lanes=a,e;case sm:return e=Mt(19,r,t,o),e.elementType=sm,e.lanes=a,e;case dC:return Gd(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uC:l=10;break e;case cC:l=9;break e;case h2:l=11;break e;case m2:l=14;break e;case Ln:l=16,n=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Mt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Ko(e,t,r,n){return e=Mt(7,e,n,t),e.lanes=r,e}function Gd(e,t,r,n){return e=Mt(22,e,n,t),e.elementType=dC,e.lanes=r,e.stateNode={isHidden:!1},e}function _p(e,t,r){return e=Mt(6,e,null,t),e.lanes=r,e}function Fp(e,t,r){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function IO(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=up(0),this.expirationTimes=up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=up(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Z2(e,t,r,n,o,a,l,i,u){return e=new IO(e,t,r,i,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Mt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},T2(a),e}function zO(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aD)}catch(e){console.error(e)}}aD(),aC.exports=Bt;var fu=aC.exports;const lD=YE(fu);var OO=Object.create,Jd=Object.defineProperty,MO=Object.getOwnPropertyDescriptor,PO=Object.getOwnPropertyNames,NO=Object.getPrototypeOf,HO=Object.prototype.hasOwnProperty,c=(e,t)=>Jd(e,"name",{value:t,configurable:!0}),tc=(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')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ql=(e,t)=>{for(var r in t)Jd(e,r,{get:t[r],enumerable:!0})},jO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PO(t))!HO.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=MO(t,o))||n.enumerable});return e},We=(e,t,r)=>(r=e!=null?OO(NO(e)):{},jO(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e));function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(oe,"_extends")});function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var VO=T(()=>{c(iD,"_assertThisInitialized")});function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$l(e,t)}var ev=T(()=>{c($l,"_setPrototypeOf")});function V0(e){return V0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},V0(e)}var UO=T(()=>{c(V0,"_getPrototypeOf")}),Qd,tv=T(()=>{Qd=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),e1=Y((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof tc=="function"&&tc;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}c(l,"s");for(var i=typeof tc=="function"&&tc,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}c(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function t1(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var rv=T(()=>{c(t1,"_objectWithoutPropertiesLoose")});function sD(e,t){if(e==null)return{};var r,n,o=t1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var WO=T(()=>{rv(),c(sD,"_objectWithoutProperties")});function U0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(U0,"_arrayLikeToArray")});function cD(e){if(Array.isArray(e))return U0(e)}var qO=T(()=>{uD(),c(cD,"_arrayWithoutHoles")});function dD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var GO=T(()=>{c(dD,"_iterableToArray")});function pD(e,t){if(e){if(typeof e=="string")return U0(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U0(e,t):void 0}}var KO=T(()=>{uD(),c(pD,"_unsupportedIterableToArray")});function fD(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YO=T(()=>{c(fD,"_nonIterableSpread")});function hD(e){return cD(e)||dD(e)||pD(e)||fD()}var ZO=T(()=>{qO(),GO(),KO(),YO(),c(hD,"_toConsumableArray")});function Ol(e){"@babel/helpers - typeof";return Ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ol(e)}var mD=T(()=>{c(Ol,"_typeof")});function gD(e,t){if(Ol(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ol(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XO=T(()=>{mD(),c(gD,"toPrimitive")});function vD(e){var t=gD(e,"string");return Ol(t)=="symbol"?t:t+""}var JO=T(()=>{mD(),XO(),c(vD,"toPropertyKey")});function nv(e,t,r){return(t=vD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yD=T(()=>{JO(),c(nv,"_defineProperty")});function Xm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function No(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function bD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Wc[t]||(Wc[t]=wD(e)),Wc[t]}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(a){return a!=="token"}),o=bD(n);return o.reduce(function(a,l){return No(No({},a),r[l])},t)}function Jm(e){return e.join(" ")}function xD(e,t){var r=0;return function(n){return r+=1,n.map(function(o,a){return r1({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(a)})})}}function r1(e){var t=e.node,r=e.stylesheet,n=e.style,o=n===void 0?{}:n,a=e.useInlineStyles,l=e.key,i=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var m=xD(r,a),h;if(!a)h=No(No({},i),{},{className:Jm(i.className)});else{var f=Object.keys(r).reduce(function(b,y){return y.split(".").forEach(function(E){b.includes(E)||b.push(E)}),b},[]),v=i.className&&i.className.includes("token")?["token"]:[],g=i.className&&v.concat(i.className.filter(function(b){return!f.includes(b)}));h=No(No({},i),{},{className:Jm(g)||void 0,style:ED(i.className,Object.assign({},i.style,o),r)})}var C=m(t.children);return w.createElement(d,oe({key:l},h),C)}}var Wc,CD=T(()=>{wr(),yD(),c(Xm,"ownKeys"),c(No,"_objectSpread"),c(wD,"powerSetPermutations"),Wc={},c(bD,"getClassNameCombinations"),c(ED,"createStyleObject"),c(Jm,"createClassNameString"),c(xD,"createChildren"),c(r1,"createElement")}),DD,QO=T(()=>{DD=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Qm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return hs({children:D,lineNumber:S,lineNumberStyle:i,largestLineNumber:l,showInlineLineNumbers:o,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&o){var k=av(i,S,l);D.unshift(ov(S,k))}return D}c(g,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(D,S,k):g(D,S)}c(C,"createLine");for(var b=c(function(){var D=p[f],S=D.children[0].value,k=SD(S);if(k){var A=S.split(` -`);A.forEach(function(_,R){var z=n&&m.length+a,L={type:"text",value:"".concat(_,` -`)};if(R===0){var $=p.slice(h+1,f).concat(hs({children:[L],className:D.properties.className})),N=C($,z);m.push(N)}else if(R===A.length-1){var M=p[f+1]&&p[f+1].children&&p[f+1].children[0],j={type:"text",value:"".concat(_)};if(M){var q=hs({children:[j],className:D.properties.className});p.splice(f+1,0,q)}else{var B=[j],P=C(B,z,D.properties.className);m.push(P)}}else{var H=[L],G=C(H,z,D.properties.className);m.push(G)}}),h=f}f++},"_loop");f{WO(),ZO(),yD(),CD(),QO(),TD=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Qm,"ownKeys"),c(lr,"_objectSpread"),BD=/\n/g,c(SD,"getNewLines"),c(kD,"getAllLineNumbers"),c(AD,"AllLineNumbers"),c(_D,"getEmWidthOfNumber"),c(ov,"getInlineLineNumber"),c(av,"assembleLineNumberStyles"),c(hs,"createLineElement"),c(lv,"flattenCodeTree"),c(FD,"processLines"),c(RD,"defaultRenderer"),c(iv,"isHighlightJs"),c(ID,"getCodeTree"),c(zD,"default")}),tM=Y((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var o={},a=0;a{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(o,a,l){this.property=o,this.normal=a,l&&(this.space=l)}c(n,"Schema")}),rM=Y((e,t)=>{var r=tM(),n=LD();t.exports=o;function o(a){for(var l=a.length,i=[],u=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),$D=Y((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(o,a){this.property=o,this.attribute=a}c(n,"Info")}),uv=Y(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),OD=Y((e,t)=>{var r=$D(),n=uv();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function l(u,d,p,m){var h=-1,f;for(i(this,"space",m),r.call(this,u,d);++h{var r=sv(),n=LD(),o=OD();t.exports=a;function a(l){var i=l.space,u=l.mustUseProperty||[],d=l.attributes||{},p=l.properties,m=l.transform,h={},f={},v,g;for(v in p)g=new o(v,m(d,v),p[v],i),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,i)}c(a,"create")}),nM=Y((e,t)=>{var r=hu();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(o,a){return"xlink:"+a.slice(5).toLowerCase()}c(n,"xlinkTransform")}),oM=Y((e,t)=>{var r=hu();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(o,a){return"xml:"+a.slice(3).toLowerCase()}c(n,"xmlTransform")}),aM=Y((e,t)=>{t.exports=r;function r(n,o){return o in n?n[o]:o}c(r,"caseSensitiveTransform")}),MD=Y((e,t)=>{var r=aM();t.exports=n;function n(o,a){return r(o,a.toLowerCase())}c(n,"caseInsensitiveTransform")}),lM=Y((e,t)=>{var r=hu(),n=MD();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),iM=Y((e,t)=>{var r=uv(),n=hu(),o=r.booleanish,a=r.number,l=r.spaceSeparated;t.exports=n({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}});function i(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(i,"ariaTransform")}),sM=Y((e,t)=>{var r=uv(),n=hu(),o=MD(),a=r.boolean,l=r.overloadedBoolean,i=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:d,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:i,controls:a,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:d,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:d,itemRef:d,itemScope:a,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:d,required:a,reversed:a,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:i,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})}),uM=Y((e,t)=>{var r=rM(),n=nM(),o=oM(),a=lM(),l=iM(),i=sM();t.exports=r([o,n,a,l,i])}),cM=Y((e,t)=>{var r=sv(),n=OD(),o=$D(),a="data";t.exports=d;var l=/^data[-\w.:]+$/i,i=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var C=r(g),b=g,y=o;return C in v.normal?v.property[v.normal[C]]:(C.length>4&&C.slice(0,4)===a&&l.test(g)&&(g.charAt(4)==="-"?b=p(g):g=m(g),y=n),new y(b,g))}c(d,"find");function p(v){var g=v.slice(5).replace(i,f);return a+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function m(v){var g=v.slice(4);return i.test(g)?v:(g=g.replace(u,h),g.charAt(0)!=="-"&&(g="-"+g),a+g)}c(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}c(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),dM=Y((e,t)=>{t.exports=n;var r=/[#.]/g;function n(o,a){for(var l=o||"",i=a||"div",u={},d=0,p,m,h;d{e.parse=o,e.stringify=a;var t="",r=" ",n=/[ \t\n\r\f]+/g;function o(l){var i=String(l||t).trim();return i===t?[]:i.split(n)}c(o,"parse");function a(l){return l.join(r).trim()}c(a,"stringify")}),fM=Y(e=>{e.parse=o,e.stringify=a;var t=",",r=" ",n="";function o(l){for(var i=[],u=String(l||n),d=u.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=u.length,m=!0),h=u.slice(p,d).trim(),(h||!m)&&i.push(h),p=d+1,d=u.indexOf(t,p);return i}c(o,"parse");function a(l,i){var u=i||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(p+t+d).trim()}c(a,"stringify")}),hM=Y((e,t)=>{var r=cM(),n=sv(),o=dM(),a=pM().parse,l=fM().parse;t.exports=u;var i={}.hasOwnProperty;function u(C,b,y){var E=y?g(y):null;return x;function x(S,k){var A=o(S,b),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),z;if(A.tagName=E&&i.call(E,R)?E[R]:R,k&&d(k,A)&&(_.unshift(k),k=null),k)for(z in k)D(A.properties,z,k[z]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function D(S,k,A){var _,R,z;A==null||A!==A||(_=r(C,k),R=_.property,z=A,typeof z=="string"&&(_.spaceSeparated?z=a(z):_.commaSeparated?z=l(z):_.commaOrSpaceSeparated&&(z=a(l(z).join(" ")))),R==="style"&&typeof A!="string"&&(z=v(z)),R==="className"&&S.className&&(z=S.className.concat(z)),S[R]=h(_,R,z))}}c(u,"factory");function d(C,b){return typeof C=="string"||"length"in C||p(b.tagName,C)}c(d,"isChildren");function p(C,b){var y=b.type;return C==="input"||!y||typeof y!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(y=y.toLowerCase(),C==="button"?y!=="menu"&&y!=="submit"&&y!=="reset"&&y!=="button":"value"in b)}c(p,"isNode");function m(C,b){var y,E;if(typeof b=="string"||typeof b=="number"){C.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(y=-1,E=b.length;++y{var r=uM(),n=hM(),o=n(r,"div");o.displayName="html",t.exports=o}),gM=Y((e,t)=>{t.exports=mM()}),vM=Y((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),yM=Y((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),PD=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=48&&o<=57}c(r,"decimal")}),wM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}c(r,"hexadecimal")}),bM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=122||o>=65&&o<=90}c(r,"alphabetical")}),EM=Y((e,t)=>{var r=bM(),n=PD();t.exports=o;function o(a){return r(a)||n(a)}c(o,"alphanumerical")}),xM=Y((e,t)=>{var r,n=59;t.exports=o;function o(a){var l="&"+a+";",i;return r=r||document.createElement("i"),r.innerHTML=l,i=r.textContent,i.charCodeAt(i.length-1)===n&&a!=="semi"||i===l?!1:i}c(o,"decodeEntity")}),CM=Y((e,t)=>{var r=vM(),n=yM(),o=PD(),a=wM(),l=EM(),i=xM();t.exports=G;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,C=38,b=59,y=60,E=61,x=35,D=88,S=120,k=65533,A="named",_="hexadecimal",R="decimal",z={};z[_]=16,z[R]=10;var L={};L[A]=l,L[R]=o,L[_]=a;var $=1,N=2,M=3,j=4,q=5,B=6,P=7,H={};H[$]="Named character references must be terminated by a semicolon",H[N]="Numeric character references must be terminated by a semicolon",H[M]="Named character references cannot be empty",H[j]="Numeric character references cannot be empty",H[q]="Named character references must be known",H[B]="Numeric character references cannot be disallowed",H[P]="Numeric character references cannot be outside the permissible Unicode range";function G(U,X){var re={},_e,qe;X||(X={});for(qe in m)_e=X[qe],re[qe]=_e??m[qe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),Z(U,re)}c(G,"parseEntities");function Z(U,X){var re=X.additional,_e=X.nonTerminated,qe=X.text,xr=X.reference,xt=X.warning,Yt=X.textContext,W=X.referenceContext,Zt=X.warningContext,Cr=X.position,bo=X.indent||[],Ca=U.length,Dr=0,Tu=-1,rt=Cr.column||1,Eo=Cr.line||1,Sr="",Da=[],kr,Sa,Ar,Ge,Xt,Le,De,_r,Bu,G1,xo,ui,Co,en,Jy,ci,Lu,Fr,$e;for(typeof re=="string"&&(re=re.charCodeAt(0)),ci=di(),_r=xt?Jz:p,Dr--,Ca++;++Dr65535&&(Le-=65536,G1+=d(Le>>>10|55296),Le=56320|Le&1023),Le=G1+d(Le))):en!==A&&_r(j,Fr)),Le?(Qy(),ci=di(),Dr=$e-1,rt+=$e-Co+1,Da.push(Le),Lu=di(),Lu.offset++,xr&&xr.call(W,Le,{start:ci,end:Lu},U.slice(Co-1,$e)),ci=Lu):(Ge=U.slice(Co-1,$e),Sr+=Ge,rt+=Ge.length,Dr=$e-1)}else Xt===10&&(Eo++,Tu++,rt=0),Xt===Xt?(Sr+=d(Xt),rt++):Qy();return Da.join("");function di(){return{line:Eo,column:rt,offset:Dr+(Cr.offset||0)}}function Jz(e4,t4){var K1=di();K1.column+=t4,K1.offset+=t4,xt.call(Zt,H[e4],K1,e4)}function Qy(){Sr&&(Da.push(Sr),qe&&qe.call(Yt,Sr,{start:ci,end:di()}),Sr="")}}c(Z,"parse");function Q(U){return U>=55296&&U<=57343||U>1114111}c(Q,"prohibited");function ie(U){return U>=1&&U<=8||U===11||U>=13&&U<=31||U>=127&&U<=159||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534}c(ie,"disallowed")}),DM=Y((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(o){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,i={},u={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:c(function E(x){return x instanceof d?new d(x.type,E(x.content),x.alias):Array.isArray(x)?x.map(E):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var x=document.getElementsByTagName("script");for(var D in x)if(x[D].src==E)return x[D]}return null}},"currentScript"),isActive:c(function(E,x,D){for(var S="no-"+x;E;){var k=E.classList;if(k.contains(x))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!D},"isActive")},languages:{plain:i,plaintext:i,text:i,txt:i,extend:c(function(E,x){var D=u.util.clone(u.languages[E]);for(var S in x)D[S]=x[S];return D},"extend"),insertBefore:c(function(E,x,D,S){S=S||u.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==x)for(var R in D)D.hasOwnProperty(R)&&(A[R]=D[R]);D.hasOwnProperty(_)||(A[_]=k[_])}var z=S[E];return S[E]=A,u.languages.DFS(u.languages,function(L,$){$===z&&L!=E&&(this[L]=A)}),A},"insertBefore"),DFS:c(function E(x,D,S,k){k=k||{};var A=u.util.objId;for(var _ in x)if(x.hasOwnProperty(_)){D.call(x,_,x[_],S||_);var R=x[_],z=u.util.type(R);z==="Object"&&!k[A(R)]?(k[A(R)]=!0,E(R,D,null,k)):z==="Array"&&!k[A(R)]&&(k[A(R)]=!0,E(R,D,_,k))}},"DFS")},plugins:{},highlightAll:c(function(E,x){u.highlightAllUnder(document,E,x)},"highlightAll"),highlightAllUnder:c(function(E,x,D){var S={callback:D,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)u.highlightElement(A,x===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(E,x,D){var S=u.util.getLanguage(E),k=u.languages[S];u.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(A,S);var _=E.textContent,R={element:E,language:S,grammar:k,code:_};function z($){R.highlightedCode=$,u.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,u.hooks.run("after-highlight",R),u.hooks.run("complete",R),D&&D.call(R.element)}if(c(z,"insertHighlightedCode"),u.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){u.hooks.run("complete",R),D&&D.call(R.element);return}if(u.hooks.run("before-highlight",R),!R.grammar){z(u.util.encode(R.code));return}if(x&&o.Worker){var L=new Worker(u.filename);L.onmessage=function($){z($.data)},L.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else z(u.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:c(function(E,x,D){var S={code:E,grammar:x,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(E,x){var D=x.rest;if(D){for(var S in D)x[S]=D[S];delete x.rest}var k=new h;return f(k,k.head,E),m(E,k,x,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:c(function(E,x){var D=u.hooks.all;D[E]=D[E]||[],D[E].push(x)},"add"),run:c(function(E,x){var D=u.hooks.all[E];if(!(!D||!D.length))for(var S=0,k;k=D[S++];)k(x)},"run")},Token:d};o.Prism=u;function d(E,x,D,S){this.type=E,this.content=x,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function E(x,D){if(typeof x=="string")return x;if(Array.isArray(x)){var S="";return x.forEach(function(z){S+=E(z,D)}),S}var k={type:x.type,content:E(x.content,D),tag:"span",classes:["token",x.type],attributes:{},language:D},A=x.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),u.hooks.run("wrap",k);var _="";for(var R in k.attributes)_+=" "+R+'="'+(k.attributes[R]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""},"stringify");function p(E,x,D,S){E.lastIndex=x;var k=E.exec(D);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}c(p,"matchPattern");function m(E,x,D,S,k,A){for(var _ in D)if(!(!D.hasOwnProperty(_)||!D[_])){var R=D[_];R=Array.isArray(R)?R:[R];for(var z=0;z=A.reach);H+=P.value.length,P=P.next){var G=P.value;if(x.length>E.length)return;if(!(G instanceof d)){var Z=1,Q;if(M){if(Q=p(B,H,E,N),!Q||Q.index>=E.length)break;var re=Q.index,ie=Q.index+Q[0].length,U=H;for(U+=P.value.length;re>=U;)P=P.next,U+=P.value.length;if(U-=P.value.length,H=U,P.value instanceof d)continue;for(var X=P;X!==x.tail&&(UA.reach&&(A.reach=xt);var Yt=P.prev;qe&&(Yt=f(x,Yt,qe),H+=qe.length),v(x,Yt,Z);var W=new d(_,$?u.tokenize(_e,$):_e,j,_e);if(P=f(x,Yt,W),xr&&f(x,P,xr),Z>1){var Zt={cause:_+","+z,reach:xt};m(E,x,D,P.prev,H,Zt),A&&Zt.reach>A.reach&&(A.reach=Zt.reach)}}}}}}c(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},x={value:null,prev:E,next:null};E.next=x,this.head=E,this.tail=x,this.length=0}c(h,"LinkedList");function f(E,x,D){var S=x.next,k={value:D,prev:x,next:S};return x.next=k,S.prev=k,E.length++,k}c(f,"addAfter");function v(E,x,D){for(var S=x.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(o,a){var l={};l["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},l.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:l}};i["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var u={};u[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(o,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),HD=Y((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(o){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var l=o.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}c(r,"css")}),SM=Y((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}c(r,"clike")}),kM=Y((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}c(r,"javascript")}),AM=Y((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var o=gM(),a=CM(),l=DM(),i=ND(),u=HD(),d=SM(),p=kM();n();var m={}.hasOwnProperty;function h(){}c(h,"Refractor"),h.prototype=l;var f=new h;t.exports=f,f.highlight=C,f.register=v,f.alias=g,f.registered=b,f.listLanguages=y,v(i),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}c(v,"register");function g(A,_){var R=f.languages,z=A,L,$,N,M;_&&(z={},z[A]=_);for(L in z)for($=z[L],$=typeof $=="string"?[$]:$,N=$.length,M=-1;++M{eM(),rc=We(AM()),nc=zD(rc.default,{}),nc.registerLanguage=function(e,t){return rc.default.register(t)},nc.alias=function(e,t){return rc.default.alias(e,t)},qc=nc}),FM=T(()=>{CD()}),RM=Y((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(o){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:l,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=o.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=i.variable[1].inside,p=0;p{z3=We(RM()),jD=z3.default}),T3,VD,zM=T(()=>{T3=We(HD()),VD=T3.default}),TM=Y((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(o){if(o.language!=="graphql")return;var a=o.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),l=0;function i(y){return a[l+y]}c(i,"getToken");function u(y,E){E=E||0;for(var x=0;x0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var C=l;C=0&&p(b,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),B3,UD,BM=T(()=>{B3=We(TM()),UD=B3.default}),LM=Y((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(o){o.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+o.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),o.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+o.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),o.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function a(m,h){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}c(a,"withId"),o.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var l=["function","function-variable","method","method-variable","property-access"],i=0;i{L3=We(LM()),WD=L3.default}),OM=Y((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),$3,qD,MM=T(()=>{$3=We(OM()),qD=$3.default}),GD=Y((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(o){var a=o.util.clone(o.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return l}).replace(//g,function(){return i}).replace(//g,function(){return u}),RegExp(h,f)}c(d,"re"),u=d(u).source,o.languages.jsx=o.languages.extend("markup",a),o.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=a.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var p=c(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=c(function(h){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:C=!0),(C||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var b=p(g);v0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(b=p(h[v-1])+b,h.splice(v-1,1),v--),h[v]=new o.Token("plain-text",b,null,b)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");o.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}c(r,"jsx")}),O3,KD,PM=T(()=>{O3=We(GD()),KD=O3.default}),NM=Y((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(o){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(l,"createInline");var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(o.languages.markdown[v].inside.content.inside[g]=o.languages.markdown[g])})}),o.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(C){if(!(!C||typeof C=="string"))for(var b=0,y=C.length;b",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(C,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),h(y)}else{var E=m[b];return E||C}}),g}c(f,"textContent"),o.languages.md=o.languages.markdown})(n)}c(r,"markdown")}),M3,YD,HM=T(()=>{M3=We(NM()),YD=M3.default}),P3,ZD,jM=T(()=>{P3=We(ND()),ZD=P3.default}),XD=Y((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(o){o.languages.typescript=o.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),o.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var a=o.languages.extend("typescript",{});delete a["class-name"],o.languages.typescript["class-name"].inside=a,o.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),o.languages.ts=o.languages.typescript})(n)}c(r,"typescript")}),VM=Y((e,t)=>{var r=GD(),n=XD();t.exports=o,o.displayName="tsx",o.aliases=[];function o(a){a.register(r),a.register(n),function(l){var i=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",i),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var u=l.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(a)}c(o,"tsx")}),N3,JD,UM=T(()=>{N3=We(VM()),JD=N3.default}),H3,QD,WM=T(()=>{H3=We(XD()),QD=H3.default}),qM=Y((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(o){var a=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+l.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+l.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return m});return RegExp(f,h)}c(p,"createValuePattern"),o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(n)}c(r,"yaml")}),j3,eS,GM=T(()=>{j3=We(qM()),eS=j3.default}),V3,Rp,cv,tS=T(()=>{V3=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Rp=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Rp.displayName="ActionButton",cv=c(({actionItems:e,...t})=>w.createElement(V3,{...t},e.map(({title:r,className:n,onClick:o,disabled:a},l)=>w.createElement(Rp,{key:l,className:n,onClick:o,disabled:!!a},r))),"ActionBar")});function rS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nS(...e){return t=>e.forEach(r=>rS(r,t))}var KM=T(()=>{c(rS,"setRef"),c(nS,"composeRefs")});function U3(e){return s.isValidElement(e)&&e.type===oS}function W3(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function q3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var W0,oc,oS,aS=T(()=>{KM(),W0=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(U3);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return ne.jsx(oc,{...n,ref:t,children:s.isValidElement(l)?s.cloneElement(l,void 0,i):null})}return ne.jsx(oc,{...n,ref:t,children:r})}),W0.displayName="Slot",oc=s.forwardRef((e,t)=>{let{children:r,...n}=e;if(s.isValidElement(r)){let o=q3(r);return s.cloneElement(r,{...W3(n,r.props),ref:t?nS(t,o):o})}return s.Children.count(r)>1?s.Children.only(null):null}),oc.displayName="SlotClone",oS=c(({children:e})=>ne.jsx(ne.Fragment,{children:e}),"Slottable"),c(U3,"isSlottable"),c(W3,"mergeProps"),c(q3,"getElementRef")}),G3,Oa,YM=T(()=>{aS(),G3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Oa=G3.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?W0:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ne.jsx(i,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function lS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function iS(...e){return t=>e.forEach(r=>lS(r,t))}function On(...e){return s.useCallback(iS(...e),e)}var sS=T(()=>{c(lS,"setRef"),c(iS,"composeRefs"),c(On,"useComposedRefs")}),q0,uS=T(()=>{q0=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{}});function cS(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function K3(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=cS(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=Ui(n.current);a.current=i==="mounted"?d:"none"},[i]),q0(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=Ui(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),q0(()=>{if(t){let d=c(m=>{let h=Ui(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=Ui(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Ui(e){return(e==null?void 0:e.animationName)||"none"}function Y3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rl,ZM=T(()=>{"use client";sS(),uS(),c(cS,"useStateMachine"),rl=c(e=>{let{present:t,children:r}=e,n=K3(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=On(n.ref,Y3(o));return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"Presence"),rl.displayName="Presence",c(K3,"usePresence"),c(Ui,"getAnimationName"),c(Y3,"getElementRef")});function dS(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return ne.jsx(g.Provider,{value:C,children:f})}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext2"),d.displayName=a+"Provider",[d,p]}c(n,"createContext3");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,pS(o,...t)]}function pS(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var XM=T(()=>{c(dS,"createContextScope"),c(pS,"composeContextScopes")});function jn(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var JM=T(()=>{c(jn,"useCallbackRef")});function fS(e){let t=s.useContext(hS);return e||t||"ltr"}var hS,QM=T(()=>{hS=s.createContext(void 0),c(fS,"useDirection")});function mS(e,[t,r]){return Math.min(r,Math.max(t,e))}var eP=T(()=>{c(mS,"clamp")});function In(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var tP=T(()=>{c(In,"composeEventHandlers")});function Z3(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function xi(e){return e?parseInt(e,10):0}function eg(e,t){let r=e/t;return isNaN(r)?0:r}function ms(e){let t=eg(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function X3(e,t,r,n="ltr"){let o=ms(r),a=o/2,l=t||a,i=o-l,u=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return dv([u,d],m)(e)}function Ip(e,t,r="ltr"){let n=ms(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,l=t.content-t.viewport,i=a-n,u=r==="ltr"?[0,l]:[l*-1,0],d=mS(e,u);return dv([0,l],[0,i])(d)}function dv(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function zp(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Do(e,t){let r=jn(t);q0(()=>{let n=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}function J3(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let o=s.Children.only(n);return s.cloneElement(o,{children:typeof t=="function"?t(o.props.children):t})}var ac,Tp,rP,Q3,Ct,Bp,Lp,$p,Qt,Op,ew,tw,Mp,lc,rw,nw,ow,Pp,Np,Di,Hp,aw,ic,jp,lw,iw,gS,vS,yS,wS,bS,nP=T(()=>{"use client";YM(),ZM(),XM(),sS(),JM(),QM(),uS(),eP(),tP(),c(Z3,"useStateMachine"),ac="ScrollArea",[Tp,rP]=dS(ac),[Q3,Ct]=Tp(ac),Bp=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:a=600,...l}=e,[i,u]=s.useState(null),[d,p]=s.useState(null),[m,h]=s.useState(null),[f,v]=s.useState(null),[g,C]=s.useState(null),[b,y]=s.useState(0),[E,x]=s.useState(0),[D,S]=s.useState(!1),[k,A]=s.useState(!1),_=On(t,z=>u(z)),R=fS(o);return ne.jsx(Q3,{scope:r,type:n,dir:R,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:C,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:x,children:ne.jsx(Oa.div,{dir:R,...l,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),Bp.displayName=ac,Lp="ScrollAreaViewport",$p=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:o,nonce:a,...l}=e,i=Ct(Lp,r),u=s.useRef(null),d=On(t,u,i.onViewportChange);return ne.jsxs(ne.Fragment,{children:[ne.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:a}),ne.jsx(Oa.div,{"data-radix-scroll-area-viewport":"",...l,asChild:o,ref:d,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:J3({asChild:o,children:n},p=>ne.jsx("div",{"data-radix-scroll-area-content":"",ref:i.onContentChange,style:{minWidth:i.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),$p.displayName=Lp,Qt="ScrollAreaScrollbar",Op=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?a(!0):l(!0),()=>{i?a(!1):l(!1)}),[i,a,l]),o.type==="hover"?ne.jsx(ew,{...n,ref:t,forceMount:r}):o.type==="scroll"?ne.jsx(tw,{...n,ref:t,forceMount:r}):o.type==="auto"?ne.jsx(Mp,{...n,ref:t,forceMount:r}):o.type==="always"?ne.jsx(lc,{...n,ref:t}):null}),Op.displayName=Qt,ew=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),[a,l]=s.useState(!1);return s.useEffect(()=>{let i=o.scrollArea,u=0;if(i){let d=c(()=>{window.clearTimeout(u),l(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>l(!1),o.scrollHideDelay)},"handlePointerLeave");return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",p)}}},[o.scrollArea,o.scrollHideDelay]),ne.jsx(rl,{present:r||a,children:ne.jsx(Mp,{"data-state":a?"visible":"hidden",...n,ref:t})})}),tw=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=e.orientation==="horizontal",l=Ci(()=>u("SCROLL_END"),100),[i,u]=Z3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){let d=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,u]),s.useEffect(()=>{let d=o.viewport,p=a?"scrollLeft":"scrollTop";if(d){let m=d[p],h=c(()=>{let f=d[p];m!==f&&(u("SCROLL"),l()),m=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[o.viewport,a,u,l]),ne.jsx(rl,{present:r||i!=="hidden",children:ne.jsx(lc,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:In(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:In(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),Mp=s.forwardRef((e,t)=>{let r=Ct(Qt,e.__scopeScrollArea),{forceMount:n,...o}=e,[a,l]=s.useState(!1),i=e.orientation==="horizontal",u=Ci(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=s.useRef(null),l=s.useRef(0),[i,u]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=eg(i.viewport,i.content),p={...n,sizes:i,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(h=>a.current=h,"onThumbChange"),onThumbPointerUp:c(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:c(h=>l.current=h,"onThumbPointerDown")};function m(h,f){return X3(h,l.current,i,f)}return c(m,"getScrollPosition"),r==="horizontal"?ne.jsx(rw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollLeft,f=Ip(h,i,o.dir);a.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=m(h,o.dir))},"onDragScroll")}):r==="vertical"?ne.jsx(nw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollTop,f=Ip(h,i);a.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=m(h))},"onDragScroll")}):null}),rw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarXChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:xi(l.paddingLeft),paddingEnd:xi(l.paddingRight)}})},"onResize")})}),nw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarYChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:xi(l.paddingTop),paddingEnd:xi(l.paddingBottom)}})},"onResize")})}),[ow,Pp]=Tp(Qt),Np=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:m,...h}=e,f=Ct(Qt,r),[v,g]=s.useState(null),C=On(t,_=>g(_)),b=s.useRef(null),y=s.useRef(""),E=f.viewport,x=n.content-n.viewport,D=jn(p),S=jn(u),k=Ci(m,10);function A(_){if(b.current){let R=_.clientX-b.current.left,z=_.clientY-b.current.top;d({x:R,y:z})}}return c(A,"handleDragScroll"),s.useEffect(()=>{let _=c(R=>{let z=R.target;v!=null&&v.contains(z)&&D(R,x)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,v,x,D]),s.useEffect(S,[n,S]),Do(v,k),Do(f.content,k),ne.jsx(ow,{scope:r,scrollbar:v,hasThumb:o,onThumbChange:jn(a),onThumbPointerUp:jn(l),onThumbPositionChange:S,onThumbPointerDown:jn(i),children:ne.jsx(Oa.div,{...h,ref:C,style:{position:"absolute",...h.style},onPointerDown:In(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),b.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:In(e.onPointerMove,A),onPointerUp:In(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),b.current=null})})})}),Di="ScrollAreaThumb",Hp=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Pp(Di,e.__scopeScrollArea);return ne.jsx(rl,{present:r||o.hasThumb,children:ne.jsx(aw,{ref:t,...n})})}),aw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,a=Ct(Di,r),l=Pp(Di,r),{onThumbPositionChange:i}=l,u=On(t,m=>l.onThumbChange(m)),d=s.useRef(),p=Ci(()=>{d.current&&(d.current(),d.current=void 0)},100);return s.useEffect(()=>{let m=a.viewport;if(m){let h=c(()=>{if(p(),!d.current){let f=iw(m,i);d.current=f,i()}},"handleScroll");return i(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[a.viewport,p,i]),ne.jsx(Oa.div,{"data-state":l.hasThumb?"visible":"hidden",...o,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:In(e.onPointerDownCapture,m=>{let h=m.target.getBoundingClientRect(),f=m.clientX-h.left,v=m.clientY-h.top;l.onThumbPointerDown({x:f,y:v})}),onPointerUp:In(e.onPointerUp,l.onThumbPointerUp)})}),Hp.displayName=Di,ic="ScrollAreaCorner",jp=s.forwardRef((e,t)=>{let r=Ct(ic,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?ne.jsx(lw,{...e,ref:t}):null}),jp.displayName=ic,lw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Ct(ic,r),[a,l]=s.useState(0),[i,u]=s.useState(0),d=!!(a&&i);return Do(o.scrollbarX,()=>{var m;let p=((m=o.scrollbarX)==null?void 0:m.offsetHeight)||0;o.onCornerHeightChange(p),u(p)}),Do(o.scrollbarY,()=>{var m;let p=((m=o.scrollbarY)==null?void 0:m.offsetWidth)||0;o.onCornerWidthChange(p),l(p)}),d?ne.jsx(Oa.div,{...n,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(xi,"toInt"),c(eg,"getThumbRatio"),c(ms,"getThumbSize"),c(X3,"getScrollPositionFromPointer"),c(Ip,"getThumbOffsetFromScroll"),c(dv,"linearScale"),c(zp,"isScrollingWithinScrollbarBounds"),iw=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function o(){let a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,i=r.top!==a.top;(l||i)&&t(),r=a,n=window.requestAnimationFrame(o)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(Ci,"useDebounceCallback"),c(Do,"useResizeObserver"),c(J3,"getSubtree"),gS=Bp,vS=$p,yS=Op,wS=Hp,bS=jp}),sw,uw,Vp,Up,G0,pv=T(()=>{nP(),sw=F(gS)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),uw=F(vS)({width:"100%",height:"100%"}),Vp=F(yS)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Up=F(wS)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),G0=s.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:a},l)=>w.createElement(sw,{scrollbarsize:o,offset:n,className:a},w.createElement(uw,{ref:l},e),t&&w.createElement(Vp,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),r&&w.createElement(Vp,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),t&&r&&w.createElement(bS,null))),G0.displayName="ScrollArea"}),fv={};Ql(fv,{SyntaxHighlighter:()=>gs,createCopyToClipboardFunction:()=>tg,default:()=>ES,supportedLanguages:()=>rg});const{logger:oP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function tg(){return Wi!=null&&Wi.clipboard?e=>Wi.clipboard.writeText(e):async e=>{let t=Ma.createElement("TEXTAREA"),r=Ma.activeElement;t.value=e,Ma.body.appendChild(t),t.select(),Ma.execCommand("copy"),Ma.body.removeChild(t),r.focus()}}var cw,Wi,Ma,dw,rg,pw,fw,hw,mw,gw,vw,yw,Wp,ww,bw,gs,ES,n1=T(()=>{tv(),cw=We(e1(),1),FM(),IM(),zM(),BM(),$M(),MM(),PM(),HM(),jM(),UM(),WM(),GM(),_M(),tS(),pv(),{navigator:Wi,document:Ma,window:dw}=Qd,rg={jsextra:WD,jsx:KD,json:qD,yml:eS,md:YD,bash:jD,css:VD,html:ZD,tsx:JD,typescript:QD,graphql:UD},Object.entries(rg).forEach(([e,t])=>{qc.registerLanguage(e,t)}),pw=(0,cw.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),fw=tg(),c(tg,"createCopyToClipboardFunction"),hw=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),mw=c(({children:e,className:t})=>w.createElement(G0,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),gw=F(mw)({position:"relative"},({theme:e})=>pw(e)),vw=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),yw=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Wp=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},"processLineNumber"),ww=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,o)=>r1({node:Wp(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})),"defaultRenderer"),bw=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(o=>Wp(o)),...n}):ww:e,"wrapRenderer"),gs=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:a=!0,formatter:l=void 0,className:i=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,m]=s.useState("");s.useEffect(()=>{l?l(a,e).then(m):m(e.trim())},[e,a,l]);let[h,f]=s.useState(!1),v=s.useCallback(C=>{C.preventDefault(),fw(p).then(()=>{f(!0),dw.setTimeout(()=>f(!1),1500)}).catch(oP.error)},[p]),g=bw(d.renderer,u);return w.createElement(hw,{bordered:n,padded:o,showLineNumbers:u,className:i},w.createElement(gw,null,w.createElement(qc,{padded:o||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:vw,CodeTag:yw,lineNumberContainerStyle:{},...d,renderer:g},p)),r?w.createElement(cv,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),gs.registerLanguage=(...e)=>qc.registerLanguage(...e),ES=gs});function Ew(e){if(typeof e=="string")return d1;if(Array.isArray(e))return p1;if(!e)return;let{type:t}=e;if(Lv.has(t))return t}function xw(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(f1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Fk([...Lv].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function br(e){return io(e),{type:Us,contents:e}}function hv(e,t){return io(t),{type:Ws,contents:t,n:e}}function Ae(e,t={}){return io(e),h1(t.expandedStates,!0),{type:Pl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function xS(e){return hv(Number.NEGATIVE_INFINITY,e)}function CS(e){return hv({type:"root"},e)}function mv(e){return h1(e),{type:qs,parts:e}}function js(e,t="",r={}){return io(e),t!==""&&io(t),{type:Gs,breakContents:e,flatContents:t,groupId:r.groupId}}function DS(e,t){return io(e),{type:Ks,contents:e,groupId:t.groupId,negate:t.negate}}function pa(e,t){io(e),h1(t);let r=[];for(let n=0;nt===""))return"";break;case Pl:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Pl&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ws:case Us:case Ks:case ed:if(!e.contents)return"";break;case Gs:if(!e.flatContents&&!e.breakContents)return"";break;case p1:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Nl(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case d1:case J0:case Q0:case td:case Mn:case rd:case ws:break;default:throw new $v(e)}return e}function kS(e){return o1(e,t=>SS(t))}function Pt(e,t=Rk){return o1(e,r=>typeof r=="string"?pa(t,r.split(` -`)):r)}function Cw(e,t){let r=t===!0||t===Zi?Zi:cg,n=r===Zi?cg:Zi,o=0,a=0;for(let l of e)l===r?o++:l===n&&a++;return o>a?n:r}function Dw(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Sw(e){return(e==null?void 0:e.type)==="front-matter"}function qp(e,t){var r;if(e.type==="text"||e.type==="comment"||xu(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)Tk.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function kw(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return CS([e.startDelimiter,e.explicitLanguage,pe,n,n?pe:"",e.endDelimiter])}}function mu(e,t=!0){return[br([je,e]),t?je:""]}function fa(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ut(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let o=!0;n&&(r.__onHtmlBindingRoot=(l,i)=>{o=n(l,i)});let a=await t(e,r,t);return o?Ae(a):mu(a)}function Aw(e,t,r,n){let{node:o}=r,a=n.originalText.slice(o.sourceSpan.start.offset,o.sourceSpan.end.offset);return/^\s*$/u.test(a)?"":Ut(a,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},fa)}function ng(e,t){if(!t)return;let r=$k(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function AS(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function _w(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=AS(r,t.language)??ng(r,t.physicalFile)??ng(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Fw(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function gv(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||na(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||l1(e,t)&&!qr(e)&&e.type!=="interpolation")}function gu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_S(e.prev)}function _S(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function kt(e){return e.type==="text"||e.type==="comment"}function qr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Hl(e)&&(e.name==="script"||e.name==="style"))}function FS(e){return e.children&&!qr(e)}function RS(e){return qr(e)||e.type==="interpolation"||vv(e)}function vv(e){return Dv(e).startsWith("pre")}function IS(e,t){var r,n;let o=a();if(o&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return o;function a(){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!NS(e.parent.cssDisplay))||e.prev&&!VS(e.prev.cssDisplay))}}function zS(e,t){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!HS(e.parent.cssDisplay))||e.next&&!jS(e.next.cssDisplay))}function TS(e){return US(e.cssDisplay)&&!qr(e)}function qi(e){return xu(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>$S(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&bv(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ev(e.lastChild))}function yv(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Gc(e){return xv(e)||e.prev&&LS(e.prev)||wv(e)}function LS(e){return xv(e)||e.type==="element"&&e.fullName==="br"||wv(e)}function wv(e){return bv(e)&&Ev(e)}function bv(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function xv(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function a1(e){return e.lastChild?a1(e.lastChild):e}function $S(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Cv(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function OS(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:o,lang:a}=e.attrMap;return!a&&!o?"babel":Cu(t,{language:a})??Cv(o)}function MS(e,t){if(!l1(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:o}=r;return Cu(t,{language:o})??Cv(n)}function PS(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Cu(t,{language:r}):"css"}function og(e,t){return OS(e,t)??PS(e,t)??MS(e,t)}function ei(e){return e==="block"||e==="list-item"||e.startsWith("table")}function NS(e){return!ei(e)&&e!=="inline-block"}function HS(e){return!ei(e)&&e!=="inline-block"}function jS(e){return!ei(e)}function VS(e){return!ei(e)}function US(e){return!ei(e)&&e!=="inline-block"}function na(e){return Dv(e).startsWith("pre")}function WS(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function qS(e,t){var r;if(ha(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let o=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(o)return o[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(WS(e,o=>o.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Hl(e))&&Mk[e.name]||Ok}}function Dv(e){return e.type==="element"&&(!e.namespace||Hl(e))&&Nk[e.name]||Pk}function GS(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=sr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function kv(e){return yt(!1,yt(!1,e,"'","'"),""",'"')}function Sn(e){return kv(e.value)}function vu(e,t){return ha(e,t)&&!jk.has(e.fullName)}function ha(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function l1(e,t){return ha(e,t)&&(vu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function KS(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function YS(e,t){let r=e.parent;if(!ha(r,t))return!1;let n=r.fullName,o=e.fullName;return n==="script"&&o==="setup"||n==="style"&&o==="vars"}function Av(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pt(t):Pt(Sv(Ov(t)),pe):pa(Be,sr.split(t))}function _v(e,t){return ha(e,t)&&e.name==="script"}async function ZS(e,t){let r=[];for(let[n,o]of e.split(Mv).entries())if(n%2===0)r.push(Pt(o));else try{r.push(Ae(["{{",br([Be,await Ut(o,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Be,"}}"]))}catch{r.push("{{",Pt(o),"}}")}return r}function sc({parser:e}){return(t,r,n)=>Ut(Sn(n.node),t,{parser:e},fa)}function Rw(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Vk;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Uk;if(n.startsWith("*"))return Wk;let o=Sn(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>mu(mv(Av(r,o.trim())),!o.includes("@@"));if(Mv.test(o))return a=>ZS(o,a)}function Iw(e,t){let{node:r}=e,n=Sn(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function ag(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function zw(e){let t=e.length,r,n,o,a,l,i=0,u;function d(f){let v,g=f.exec(e.substring(i));if(g)return[v]=g,i+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Yk),i>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=i,r=d(Zk),n=[],r.slice(-1)===","?(r=r.replace(Xk,""),h()):m()}function m(){for(d(Kk),o="",a="in descriptor";;){if(l=e.charAt(i),a==="in descriptor")if(ag(l))o&&(n.push(o),o="",a="after descriptor");else if(l===","){i+=1,o&&n.push(o),h();return}else if(l==="(")o+=l,a="in parens";else if(l===""){o&&n.push(o),h();return}else o+=l;else if(a==="in parens")if(l===")")o+=l,a="in descriptor";else if(l===""){n.push(o),h();return}else o+=l;else if(a==="after descriptor"&&!ag(l))if(l===""){h();return}else a="in descriptor",i-=1;i+=1}}c(m,"f");function h(){let f=!1,v,g,C,b,y={},E,x,D,S,k;for(b=0;bXS(Sn(e.node))}function XS(e){let t=Qk(e),r=eA.filter(p=>t.some(m=>Object.prototype.hasOwnProperty.call(m,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,o=pg[n],a=t.map(p=>p.source.value),l=Math.max(...a.map(p=>p.length)),i=t.map(p=>p[n]?String(p[n].value):""),u=i.map(p=>{let m=p.indexOf(".");return m===-1?p.length:m}),d=Math.max(...u);return mu(pa([",",Be],a.map((p,m)=>{let h=[p],f=i[m];if(f){let v=l-p.length+1,g=d-u[m],C=" ".repeat(v+g);h.push(js(C," "),f+o)}return h})))}function JS(e,t){let{node:r}=e,n=Sn(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async o=>mu(await o(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Bw(e,t){let{root:r}=e;return Kc.has(r)||Kc.set(r,r.children.some(n=>_v(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Kc.get(r)}function QS(e,t,r){let{node:n}=r,o=Sn(n);return Ut(`type T<${o}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},fa)}function ek(e,t,{parseWithTs:r}){return Ut(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tk(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function rk(e,t,r,n){let o=Sn(r.node),{left:a,operator:l,right:i}=nk(o),u=m1(r,n);return[Ae(await Ut(`function _(${a}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ut(i,e,{parser:u?"__ts_expression":"__js_expression"})]}function nk(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,o=e.match(t);if(!o)return;let a={};if(a.for=o[3].trim(),!a.for)return;let l=yt(!1,o[1].trim(),n,""),i=l.match(r);i?(a.alias=l.replace(r,""),a.iterator1=i[1].trim(),i[2]&&(a.iterator2=i[2].trim())):a.alias=l;let u=[a.alias,a.iterator1,a.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:o[2],right:a.for}}function Lw(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rk;if(n==="generic"&&_v(r.parent,t))return QS;let o=Sn(r),a=m1(e,t);if(KS(r)||YS(r,t))return l=>ek(o,l,{parseWithTs:a});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>ok(o,l,{parseWithTs:a});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>ak(o,l,{parseWithTs:a});if(n.startsWith("v-"))return l=>Fv(o,l,{parseWithTs:a})}function ok(e,t,{parseWithTs:r}){return tk(e)?Fv(e,t,{parseWithTs:r}):Ut(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},fa)}function ak(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},fa)}function Fv(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__ts_expression":"__js_expression"},fa)}function $w(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[tA,JS,Gk,rA,qk]){let o=n(e,t);if(o)return lk(o)}}}function lk(e){return async(t,r,n,o)=>{let a=await e(t,r,n,o);if(a)return a=o1(a,l=>typeof l=="string"?yt(!1,l,'"',"""):l),[n.node.rawName,'="',Ae(a),'"']}}function Ow(e){return Array.isArray(e)&&e.length>0}function yu(e){return e.sourceSpan.start.offset}function wu(e){return e.sourceSpan.end.offset}function K0(e,t){return[e.isSelfClosing?"":ik(e,t),cl(e,t)]}function ik(e,t){return e.lastChild&&Ml(e.lastChild)?"":[sk(e,t),i1(e,t)]}function cl(e,t){return(e.next?ao(e.next):ri(e.parent))?"":[ti(e,t),oo(e,t)]}function sk(e,t){return ri(e)?ti(e.lastChild,t):""}function oo(e,t){return Ml(e)?i1(e.parent,t):bu(e)?s1(e.next):""}function i1(e,t){if(Pv(!e.isSelfClosing),Rv(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rv(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(gu(e)||gv(e.parent,t))}function ao(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!kt(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ri(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!kt(a1(e.lastChild))&&!na(e)}function Ml(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&kt(a1(e))}function bu(e){return e.next&&!kt(e.next)&&kt(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uk(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Eu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ck(e,t,r){var n;let{node:o}=e;if(!g1(o.attrs))return o.isSelfClosing?" ":"";let a=((n=o.prev)==null?void 0:n.type)==="comment"&&uk(o.prev.value),l=typeof a=="boolean"?()=>a:Array.isArray(a)?m=>a.includes(m.rawName):()=>!1,i=e.map(({node:m})=>l(m)?Pt(t.originalText.slice(yu(m),wu(m))):r(),"attrs"),u=o.type==="element"&&o.fullName==="script"&&o.attrs.length===1&&o.attrs[0].fullName==="src"&&o.children.length===0,d=t.singleAttributePerLine&&o.attrs.length>1&&!ha(o,t)?pe:Be,p=[br([u?" ":Be,pa(d,i)])];return o.firstChild&&Eu(o.firstChild)||o.isSelfClosing&&ri(o.parent)||u?p.push(o.isSelfClosing?" ":""):p.push(t.bracketSameLine?o.isSelfClosing?" ":"":o.isSelfClosing?Be:je),p}function dk(e){return e.firstChild&&Eu(e.firstChild)?"":u1(e)}function Y0(e,t,r){let{node:n}=e;return[dl(n,t),ck(e,t,r),n.isSelfClosing?"":dk(n)]}function dl(e,t){return e.prev&&bu(e.prev)?"":[lo(e,t),s1(e)]}function lo(e,t){return Eu(e)?u1(e.parent):ao(e)?ti(e.prev,t):""}function s1(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function u1(e){switch(Pv(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Mw(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Eu(e.firstChild)&&(r-=u1(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Ml(e.lastChild)?n+=i1(e,t).length:ri(e)&&(n-=ti(e.lastChild,t).length),t.originalText.slice(r,n)}function Pw(e,t){let{node:r}=e;switch(r.type){case"element":if(qr(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&l1(r,t)){let n=og(r,t);return n?async(o,a)=>{let l=Nv(r,t),i=/^\s*$/u.test(l),u="";return i||(u=await o(Ov(l),{parser:n,__embeddedInHtml:!0}),i=u===""),[lo(r,t),Ae(Y0(e,t,a)),i?"":pe,u,i?"":pe,K0(r,t),oo(r,t)]}:void 0}break;case"text":if(qr(r.parent)){let n=og(r.parent,t);if(n)return async o=>{let a=n==="markdown"?Sv(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let i="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(i="module"),l.__babelSourceType=i}return[fl,lo(r,t),await o(a,l),oo(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?o.parser="__ng_interpolation":t.parser==="vue"?o.parser=m1(e,t)?"__vue_ts_expression":"__vue_expression":o.parser="__js_expression",[br([Be,await n(r.value,o)]),r.parent.next&&ao(r.parent.next)?" ":Be]};break;case"attribute":return nA(e,t);case"front-matter":return n=>Bk(r,n);case"angularControlFlowBlockParameters":return oA.has(e.parent.name)?Lk:void 0;case"angularLetDeclarationInitializer":return n=>Ut(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function pl(e){if(Na!==null&&typeof Na.property){let t=Na;return Na=pl.prototype=null,t}return Na=pl.prototype=e??Object.create(null),new pl}function pk(e){return pl(e)}function Nw(e,t="type"){pk(e);function r(n){let o=n[t],a=e[o];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:n});return a}return c(r,"r"),r}function fk(e){return/^\s*/u.test(e)}function Hw(e){return` - -`+e}function Iv(e){let t=wu(e);return e.type==="element"&&!e.endSourceSpan&&g1(e.children)?Math.max(t,Iv(Nl(!1,e.children,-1))):t}function Pa(e,t,r){let n=e.node;if(gu(n)){let o=Iv(n);return[lo(n,t),Pt(sr.trimEnd(t.originalText.slice(yu(n)+(n.prev&&bu(n.prev)?s1(n).length:0),o-(n.next&&ao(n.next)?ti(n,t).length:0)))),oo(n,t)]}return r()}function Gi(e,t){return kt(e)&&kt(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gc(t)?pe:Be:"":Gc(t)?pe:je:bu(e)&&(gu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ao(t)?"":!t.isLeadingSpaceSensitive||Gc(t)||ao(t)&&e.lastChild&&Ml(e.lastChild)&&e.lastChild.lastChild&&Ml(e.lastChild.lastChild)?pe:t.hasLeadingSpaces?Be:je}function c1(e,t,r){let{node:n}=e;if(yv(n))return[fl,...e.map(a=>{let l=a.node,i=l.prev?Gi(l.prev,l):"";return[i?[i,qi(l.prev)?pe:""]:"",Pa(a,t,r)]},"children")];let o=n.children.map(()=>Symbol(""));return e.map((a,l)=>{let i=a.node;if(kt(i)){if(i.prev&&kt(i.prev)){let v=Gi(i.prev,i);if(v)return qi(i.prev)?[pe,pe,Pa(a,t,r)]:[v,Pa(a,t,r)]}return Pa(a,t,r)}let u=[],d=[],p=[],m=[],h=i.prev?Gi(i.prev,i):"",f=i.next?Gi(i,i.next):"";return h&&(qi(i.prev)?u.push(pe,pe):h===pe?u.push(pe):kt(i.prev)?d.push(h):d.push(js("",je,{groupId:o[l-1]}))),f&&(qi(i)?kt(i.next)&&m.push(pe,pe):f===pe?kt(i.next)&&m.push(pe):p.push(f)),[...u,Ae([...d,Ae([Pa(a,t,r),...p],{id:o[l]})]),...m]},"children")}function hk(e,t,r){let{node:n}=e,o=[];mk(e)&&o.push("} "),o.push("@",n.name),n.parameters&&o.push(" (",Ae(r("parameters")),")"),o.push(" {");let a=zv(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,o.push(br([pe,c1(e,t,r)])),a&&o.push(pe,"}")):a&&o.push("}"),Ae(o,{shouldBreak:!0})}function zv(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=aA.get(e.name))!=null&&r.has(e.next.name))}function mk(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!gu(t)&&!zv(t)}function gk(e,t,r){return[br([je,pa([";",Be],e.map(r,"children"))]),je]}function vk(e,t,r){let{node:n}=e;return[dl(n,t),Ae([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",br([Be,pa(Be,e.map(r,"cases"))])]:"",je]),cl(n,t)]}function yk(e,t,r){let{node:n}=e;return[n.value," {",Ae([br([je,e.map(({node:o})=>o.type==="text"&&!sr.trim(o.value)?"":r(),"expression")]),je]),"}"]}function wk(e,t,r){let{node:n}=e;if(gv(n,t))return[lo(n,t),Ae(Y0(e,t,r)),Pt(Nv(n,t)),...K0(n,t),oo(n,t)];let o=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id"),l=c(p=>Ae([Ae(Y0(e,t,r),{id:a}),p,K0(n,t)]),"a"),i=c(p=>o?DS(p,{groupId:a}):(qr(n)||vu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:br(p),"o"),u=c(()=>o?js(je,"",{groupId:a}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Be:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?xS(je):je,"u"),d=c(()=>(n.next?ao(n.next):ri(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":o?js(je,"",{groupId:a}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Be:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":je,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Be:""):l([BS(n)?fl:"",i([u(),c1(e,t,r)]),d()])}function vs(e){return e>=9&&e<=32||e==160}function Z0(e){return 48<=e&&e<=57}function ys(e){return e>=97&&e<=122||e>=65&&e<=90}function bk(e){return e>=97&&e<=102||e>=65&&e<=70||Z0(e)}function uc(e){return e===10||e===13}function Gp(e){return 48<=e&&e<=55}function cc(e){return e===39||e===34||e===96}function jw(e){return e.replace(lA,(...t)=>t[1].toUpperCase())}function Vw(e,t){for(let r of iA)r(e,t);return e}function Uw(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ww(e){let t=c(r=>{var n,o;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((o=r.firstChild)==null?void 0:o.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let o=0;ot.type==="cdata",t=>``)}function Gw(e){let t=c(r=>{var n,o;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!sr.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((o=r.next)==null?void 0:o.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+o.firstChild.value+``+l.value,a.sourceSpan=new ee(a.sourceSpan.start,l.sourceSpan.end),a.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,a.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(o),n--,r.removeChild(l)}})}function Kw(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(FS(n))for(let o of n.children){if(o.type!=="text")continue;let a=o.sourceSpan.start,l=null,i=o.value.split(r);for(let u=0;u0&&n.insertChildBefore(o,{type:"text",value:d,sourceSpan:new ee(a,l)});continue}l=a.moveBy(d.length+4),n.insertChildBefore(o,{type:"interpolation",sourceSpan:new ee(a,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new ee(a.moveBy(2),l.moveBy(-2))}]})}n.removeChild(o)}})}function Yw(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&sr.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=RS(t),n=vv(t);if(!r)for(let o=0;o{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Xw(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Jw(e,t){e.walk(r=>{r.cssDisplay=qS(r,t)})}function Qw(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=TS(r);return}for(let o of n)o.isLeadingSpaceSensitive=IS(o,t),o.isTrailingSpaceSensitive=zS(o,t);for(let o=0;o{!Ai[t]&&Ki(t)===null&&(Ai[t]=new J({canSelfClose:!1}))})),Ai[e]??r6}function lg(e,t,r=null){let n=[],o=e.visit?a=>e.visit(a,r)||a.visit(e,r):a=>a.visit(e,r);return t.forEach(a=>{let l=o(a);l&&n.push(l)}),n}function r7(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];cA.forEach(o=>{if(o.test(r)||o.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function n7(e,t,r,n={}){let o=new pA(new Hv(e,t),r,n);return o.tokenize(),new dA(xk(o.tokens),o.errors,o.nonNormalizedIcuExpressions)}function So(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xp(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function o7(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function xe(e){return!vs(e)||e===0}function Jp(e){return vs(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function a7(e){return(e<97||12257)}function l7(e){return e===59||e===0||!bk(e)}function i7(e){return e===59||e===0||!ys(e)}function s7(e){return e!==125}function u7(e,t){return ig(e)===ig(t)}function ig(e){return e>=97&&e<=122?e-97+65:e}function Qp(e){return ys(e)||Z0(e)||e===95}function ef(e){return e!==59&&xe(e)}function xk(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function rf(e,t){return bs[t]!==void 0?bs[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function sg(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:o=!1,getTagContentType:a,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:i=!1}=t;return fA().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:i},o,a)}function c7(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Ck(e){let t=e.slice(0,Ha);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,Ha);if(r===-1)return;let n=e.slice(Ha,r).trim(),o=e.indexOf(` -${t}`,r),a=n;if(a||(a=t==="+++"?"toml":"yaml"),o===-1&&t==="---"&&a==="yaml"&&(o=e.indexOf(` -...`,r)),o===-1)return;let l=o+1+Ha,i=e.charAt(l+1);if(!/\s?/u.test(i))return;let u=e.slice(0,l);return{type:"front-matter",language:a,explicitLanguage:n,value:e.slice(r+1,o),startDelimiter:t,endDelimiter:u.slice(-Ha),raw:u}}function d7(e){let t=Ck(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:yt(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function p7(e,t){let r=e.map(t);return r.some((n,o)=>n!==e[o])?r:e}function Dk(e,t){if(e.value)for(let{regex:r,parse:n}of vA){let o=e.value.match(r);if(o)return n(e,t,o)}return null}function f7(e,t,r){let[,n,o,a]=r,l=4+n.length,i=e.sourceSpan.start.moveBy(l),u=i.moveBy(a.length),[d,p]=(()=>{try{return[!0,t(a,i).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new ee(i,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:yt(!1,o.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new ee(e.sourceSpan.start,i),endSourceSpan:new ee(u,e.sourceSpan.end)}}function h7(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:yt(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function m7(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Sk(e){if(e.type==="block"){if(e.name=yt(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!g1(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new ee(e.parameters[0].sourceSpan.start,Nl(!1,e.parameters,-1).sourceSpan.end)}}}function kk(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new ee(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ak(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Tv(e,t,r){let{name:n,canSelfClose:o=!0,normalizeTagName:a=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:m}=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u,getTagContentType:d?(...y)=>d(...y)?ir.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Tv(e,fg,r);let y,E=c(()=>y??(y=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u})),"y"),x=c(D=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of p.entries()){let{endSourceSpan:k,startSourceSpan:A}=S;if(k===null)m=E().errors,p[D]=x(S);else if(_k(S,r)){let _=E().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&ug(m[0]);let h=c(y=>{let E=y.name.startsWith(":")?y.name.slice(1).split(":")[0]:null,x=y.nameSpan.toString(),D=E!==null&&x.startsWith(`${E}:`),S=D?x.slice(E.length+1):x;y.name=S,y.namespace=E,y.hasExplicitNamespace=D},"d"),f=c(y=>{switch(y.type){case"element":h(y);for(let E of y.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":y.value=y.sourceSpan.toString().slice(4,-3);break;case"text":y.value=y.sourceSpan.toString();break}},"C"),v=c((y,E)=>{let x=y.toLowerCase();return E(x)?x:y},"A"),g=c(y=>{if(y.type==="element"&&(a&&(!y.namespace||y.namespace===y.tagDefinition.implicitNamespacePrefix||Hl(y))&&(y.name=v(y.name,E=>yA.has(E))),l))for(let E of y.attrs)E.namespace||(E.name=v(E.name,x=>Zc.has(y.name)&&(Zc.get("*").has(x)||Zc.get(y.name).has(x))))},"D"),C=c(y=>{y.sourceSpan&&y.endSourceSpan&&(y.sourceSpan=new ee(y.sourceSpan.start,y.endSourceSpan.end))},"R"),b=c(y=>{if(y.type==="element"){let E=X0(u?y.name:y.name.toLowerCase());!y.namespace||y.namespace===E.implicitNamespacePrefix||Hl(y)?y.tagDefinition=E:y.tagDefinition=X0("")}},"F");return lg(new class extends uA{visitExpansionCase(y,E){n==="angular"&&this.visitChildren(E,x=>{x(y.expression)})}visit(y){f(y),b(y),g(y),C(y)}},p),p}function _k(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(o=>o.name==="lang"))==null?void 0:r.value;return!n||Cu(t,{language:n})==="html"}function ug(e){let{msg:t,span:{start:r,end:n}}=e;throw hA(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Bv(e,t,r={},n=!0){let{frontMatter:o,content:a}=n?mA(e):{frontMatter:null,content:e},l=new Hv(e,r.filepath),i=new nd(l,0,0,0),u=i.moveBy(e.length),d={type:"root",sourceSpan:new ee(i,u),children:Tv(a,t,r)};if(o){let h=new nd(l,0,0,0),f=h.moveBy(o.raw.length);o.sourceSpan=new ee(h,f),d.children.unshift(o)}let p=new gA(d),m=c((h,f)=>{let{offset:v}=f,g=yt(!1,e.slice(0,v),/[^\n\r]/gu," "),C=Bv(g+h,t,r,!1);C.sourceSpan=new ee(f,Nl(!1,C.children,-1).sourceSpan.end);let b=C.children[0];return b.length===v?C.children.shift():(b.sourceSpan=new ee(b.sourceSpan.start.moveBy(v),b.sourceSpan.end),b.value=b.value.slice(v)),C},"f");return p.walk(h=>{if(h.type==="comment"){let f=Dk(h,m);f&&h.parent.replaceChild(h,f)}Sk(h),kk(h),Ak(h)}),p}function ki(e){return{parse:c((t,r)=>Bv(t,e,r),"parse"),hasPragma:fk,astFormat:"html",locStart:yu,locEnd:wu}}var g7,nf,of,af,tn,v7,y7,lf,w7,yt,d1,p1,J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws,Lv,f1,Fk,sf,b7,$v,uf,io,h1,fl,E7,x7,Be,je,pe,Rk,C7,Nl,Zi,cg,Ik,er,cf,D7,S7,k7,A7,sr,df,_7,zk,xu,F7,Tk,R7,Bk,Lk,$k,Cu,Ok,Mk,Pk,Nk,Hl,I7,Ov,Hk,jk,Mv,Vk,Uk,Wk,qk,Gk,Kk,Yk,Zk,Xk,dg,Jk,Qk,pg,eA,tA,Kc,m1,rA,nA,pf,Pv,g1,Nv,oA,z7,Na,T7,B7,L7,$7,O7,M7,aA,lA,dc,nd,ff,Hv,hf,ee,pc,mf,gf,iA,P7,N7,H7,j7,vf,yf,V7,U7,wf,W7,q7,G7,bf,Ef,Ho,K7,ir,Yc,xf,Y7,Z7,X7,J7,Q7,e6,Cf,t6,Df,sA,Sf,J,r6,Ai,kf,ko,Af,n6,_f,o6,Ff,a6,Rf,l6,If,i6,zf,rn,Tf,s6,Bf,u6,Lf,Ao,$f,Of,Mf,Pf,Nf,uA,bs,c6,cA,fc,d6,Hf,jf,hc,Vf,dA,p6,mc,Uf,gc,Wf,pA,_i,qf,Fi,f6,Gf,vc,yc,Ze,Kf,h6,Yf,m6,wc,g6,Zf,v6,bc,fA,hA,Ha,mA,Ri,Xf,_o,gA,vA,Zc,yA,fg,y6,w6,b6,E6,x6,wA,aP=T(()=>{g7=Object.defineProperty,nf=c(e=>{throw TypeError(e)},"Xr"),of=c((e,t)=>{for(var r in t)g7(e,r,{get:t[r],enumerable:!0})},"Jr"),af=c((e,t,r)=>t.has(e)||nf("Cannot "+r),"Zr"),tn=c((e,t,r)=>(af(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),v7=c((e,t,r)=>t.has(e)?nf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),y7=c((e,t,r,n)=>(af(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),lf={},of(lf,{languages:c(()=>j7,"languages"),options:c(()=>U7,"options"),parsers:c(()=>wf,"parsers"),printers:c(()=>x6,"printers")}),w7=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),yt=w7,d1="string",p1="array",J0="cursor",Us="indent",Ws="align",Q0="trim",Pl="group",qs="fill",Gs="if-break",Ks="indent-if-break",ed="line-suffix",td="line-suffix-boundary",Mn="line",rd="label",ws="break-parent",Lv=new Set([J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws]),c(Ew,"ii"),f1=Ew,Fk=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(xw,"oi"),b7=(sf=class extends Error{constructor(t){super(xw(t));ka(this,"name","InvalidDocError");this.doc=t}},c(sf,"lr"),sf),$v=b7,uf=c(()=>{},"rn"),io=uf,h1=uf,c(br,"k"),c(hv,"nn"),c(Ae,"_"),c(xS,"sn"),c(CS,"an"),c(mv,"At"),c(js,"ge"),c(DS,"on"),fl={type:ws},E7={type:Mn,hard:!0},x7={type:Mn,hard:!0,literal:!0},Be={type:Mn},je={type:Mn,soft:!0},pe=[E7,fl],Rk=[x7,fl],c(pa,"q"),C7=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Nl=C7,c(o1,"Dt"),c(SS,"pi"),c(kS,"ln"),c(Pt,"B"),Zi="'",cg='"',c(Cw,"hi"),Ik=Cw,c(Dw,"cr"),D7=(cf=class{constructor(e){v7(this,er),y7(this,er,new Set(e))}getLeadingWhitespaceCount(e){let t=tn(this,er),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tn(this,er).has(e.charAt(0))}hasTrailingWhitespace(e){return tn(this,er).has(Nl(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dw([...tn(this,er)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tn(this,er);return Array.prototype.every.call(e,r=>t.has(r))}},c(cf,"pr"),cf),er=new WeakMap,S7=D7,k7=[" ",` -`,"\f","\r"," "],A7=new S7(k7),sr=A7,_7=(df=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);ka(this,"name","UnexpectedNodeError");this.node=t}},c(df,"hr"),df),zk=_7,c(Sw,"di"),xu=Sw,F7=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tk=new Set(["if","else if","for","switch","case"]),c(qp,"fn"),qp.ignoredProperties=F7,R7=qp,c(kw,"Si"),Bk=kw,c(mu,"Ce"),c(fa,"j"),c(Ut,"T"),c(Aw,"_i"),Lk=Aw,$k=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(ng,"Sn"),c(AS,"Ai"),c(_w,"Di"),Cu=_w,Ok="inline",Mk={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Pk="normal",Nk={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(Fw,"vi"),Hl=Fw,I7=c(e=>yt(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Ov=c(e=>I7(sr.trimEnd(e)),"mr"),Hk=c(e=>{let t=e,r=sr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=sr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(gv,"yt"),c(gu,"Ee"),c(_S,"wi"),c(kt,"$"),c(qr,"U"),c(FS,"yn"),c(RS,"wn"),c(vv,"fr"),c(IS,"bn"),c(zS,"Tn"),c(TS,"xn"),c(qi,"Qe"),c(BS,"kn"),c(yv,"dr"),c(Gc,"wt"),c(LS,"bi"),c(wv,"Bn"),c(bv,"Ln"),c(Ev,"Fn"),c(xv,"Nn"),c(a1,"bt"),c($S,"Ti"),c(Cv,"Pn"),c(OS,"xi"),c(MS,"ki"),c(PS,"Bi"),c(og,"gr"),c(ei,"Xe"),c(NS,"Li"),c(HS,"Fi"),c(jS,"Ni"),c(VS,"Pi"),c(US,"Ii"),c(na,"_e"),c(WS,"Ri"),c(qS,"In"),c(Dv,"Rn"),c(GS,"$i"),c(Sv,"Cr"),c(kv,"Sr"),c(Sn,"P"),jk=new Set(["template","style","script"]),c(vu,"Je"),c(ha,"Ae"),c(l1,"Tt"),c(KS,"$n"),c(YS,"On"),c(Av,"xt"),c(_v,"kt"),Mv=/\{\{(.+?)\}\}/su,c(ZS,"Mn"),c(sc,"Er"),Vk=sc({parser:"__ng_action"}),Uk=sc({parser:"__ng_binding"}),Wk=sc({parser:"__ng_directive"}),c(Rw,"Vi"),qk=Rw,c(Iw,"Ui"),Gk=Iw,c(ag,"Vn"),Kk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Zk=/^[^ \t\n\r\u000c]+/,Xk=/[,]+$/,dg=/^\d+$/,Jk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(zw,"Ki"),Qk=zw,c(Tw,"Qi"),pg={width:"w",height:"h",density:"x"},eA=Object.keys(pg),c(XS,"Ji"),tA=Tw,c(JS,"Yn"),Kc=new WeakMap,c(Bw,"Zi"),m1=Bw,c(QS,"jn"),c(ek,"Kn"),c(tk,"Qn"),c(rk,"Xn"),c(nk,"ea"),c(Lw,"ta"),c(ok,"ra"),c(ak,"na"),c(Fv,"Jn"),rA=Lw,c($w,"sa"),c(lk,"ia"),nA=$w,pf=new Proxy(()=>{},{get:c(()=>pf,"get")}),Pv=pf,c(Ow,"aa"),g1=Ow,c(yu,"se"),c(wu,"ie"),c(K0,"Ze"),c(ik,"oa"),c(cl,"De"),c(sk,"ua"),c(oo,"W"),c(i1,"Bt"),c(ti,"ve"),c(Rv,"rs"),c(ao,"K"),c(ri,"ye"),c(Ml,"we"),c(bu,"et"),c(uk,"la"),c(Eu,"tt"),c(ck,"ca"),c(dk,"pa"),c(Y0,"rt"),c(dl,"be"),c(lo,"z"),c(s1,"Lt"),c(u1,"Ft"),c(Mw,"ha"),Nv=Mw,oA=new Set(["if","else if","for","switch","case"]),c(Pw,"fa"),z7=Pw,Na=null,c(pl,"st"),T7=10;for(let e=0;e<=T7;e++)pl();c(pk,"vr"),c(Nw,"ga"),B7=Nw,L7={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},$7=L7,O7=B7($7),M7=O7,c(fk,"os"),c(Hw,"us"),aA=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),c(Iv,"cs"),c(Pa,"it"),c(Gi,"Pt"),c(c1,"He"),c(hk,"ps"),c(zv,"hs"),c(mk,"_a"),c(gk,"ms"),c(vk,"fs"),c(yk,"ds"),c(wk,"gs"),c(vs,"at"),c(Z0,"It"),c(ys,"ot"),c(bk,"Cs"),c(uc,"Rt"),c(Gp,"yr"),c(cc,"$t"),lA=/-+([a-z0-9])/g,c(jw,"_s"),nd=(dc=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,o=this.line,a=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){o--;let l=t.substring(0,n-1).lastIndexOf(` -`);a=l>0?n-l:n}else a--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(o++,a=0):a++}return new dc(this.file,n,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let o=n,a=0,l=0;for(;a0&&(n--,a++,!(r[n]==` -`&&++l==t)););for(a=0,l=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(mf,"Ue"),mf),iA=[Uw,Ww,qw,Kw,Yw,Jw,Zw,Xw,Qw,Gw],c(Vw,"Da"),c(Uw,"va"),c(Ww,"ya"),c(Ek,"wa"),c(qw,"ba"),c(Gw,"Ta"),c(Kw,"xa"),c(Yw,"ka"),c(Zw,"Ba"),c(Xw,"La"),c(Jw,"Fa"),c(Qw,"Na"),P7=Vw,c(e7,"Pa"),N7={preprocess:P7,print:e7,insertPragma:Hw,massageAstNode:R7,embed:z7,getVisitorKeys:M7},H7=N7,j7=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],vf={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},yf="HTML",V7={bracketSameLine:vf.bracketSameLine,htmlWhitespaceSensitivity:{category:yf,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:vf.singleAttributePerLine,vueIndentScriptAndStyle:{category:yf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},U7=V7,wf={},of(wf,{angular:c(()=>w6,"angular"),html:c(()=>y6,"html"),lwc:c(()=>E6,"lwc"),vue:c(()=>b6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(W7||(W7={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(q7||(q7={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(G7||(G7={})),bf={name:"custom-elements"},Ef={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ho||(Ho={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(K7||(K7={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ir||(ir={})),c(Vs,"ut"),c(Kp,"xr"),c(Yp,"kr"),c(Ki,"We"),c(Si,"ze"),c(Zp,"Br"),c(Yi,"Mt"),Y7=(xf=class{},c(xf,"Ht"),xf),Z7="boolean",X7="number",J7="string",Q7="object",e6=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Cf=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),t6=Array.from(Cf).reduce((e,[t,r])=>(e.set(t,r),e),new Map),sA=(Df=class extends Y7{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,e6.forEach(e=>{let t=new Map,r=new Set,[n,o]=e.split("|"),a=o.split(","),[l,i]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=i&&this._schema.get(i.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(i.toLowerCase()))r.add(d)}a.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Z7);break;case"#":t.set(d.substring(1),X7);break;case"%":t.set(d.substring(1),Q7);break;default:t.set(d,J7)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ef.name))return!0;if(e.indexOf("-")>-1){if(Kp(e)||Yp(e))return!1;if(r.some(n=>n.name===bf.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ef.name)||e.indexOf("-")>-1&&(Kp(e)||Yp(e)||t.some(r=>r.name===bf.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Zp()[e+"|"+t];return n||(n=Zp()["*|"+t],n||Ho.NONE)}getMappedPropName(e){return Cf.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>t6.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return jw(e)}normalizeAnimationStyleValue(e,t,r){let n="",o=r.toString().trim(),a=null;if(t7(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${r}`)}return{error:a,value:o+n}}},c(Df,"Vt"),Df),c(t7,"Ua"),J=(Sf=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ir.PARSABLE_DATA,closedByParent:n=!1,isVoid:o=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:l=!1,canSelfClose:i=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=o,this.closedByParent=n||o,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=a,this.preventNamespaceInheritance=l,this.canSelfClose=i??o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(Sf,"m"),Sf),c(X0,"Ge"),ko=(kf=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(kf,"oe"),kf),n6=(Af=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Af,"Ut"),Af),o6=(_f=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c(_f,"Wt"),_f),a6=(Ff=class extends ko{constructor(e,t,r,n,o,a){super(n,a),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=o}visit(e,t){return e.visitExpansion(this,t)}},c(Ff,"zt"),Ff),l6=(Rf=class{constructor(e,t,r,n,o){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=o,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Rf,"Gt"),Rf),i6=(If=class extends ko{constructor(e,t,r,n,o,a,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=o,this.valueTokens=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(If,"Yt"),If),rn=(zf=class extends ko{constructor(e,t,r,n,o,a=null,l=null,i){super(n,i),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=o,this.endSourceSpan=a,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(zf,"G"),zf),s6=(Tf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(Tf,"jt"),Tf),u6=(Bf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Bf,"Kt"),Bf),Ao=(Lf=class extends ko{constructor(e,t,r,n,o,a,l=null,i){super(n,i),this.name=e,this.parameters=t,this.children=r,this.nameSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Lf,"Z"),Lf),Of=($f=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c($f,"ct"),$f),Pf=(Mf=class{constructor(e,t,r,n,o){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=o,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(Mf,"pt"),Mf),c(lg,"Qt"),uA=(Nf=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function o(a){a&&r.push(lg(n,a,e))}return c(o,"i"),t(o),Array.prototype.concat.apply([],r)}},c(Nf,"ht"),Nf),bs={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},c6="",bs.ngsp=c6,cA=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(r7,"Ls"),d6=(fc=class{static fromArray(e){return e?(r7("interpolation",e),new fc(e[0],e[1])):Hf}constructor(e,t){this.start=e,this.end=t}},c(fc,"t"),fc),Hf=new d6("{{","}}"),hc=(jf=class extends gf{constructor(e,t,r){super(r,e),this.tokenType=t}},c(jf,"ft"),jf),dA=(Vf=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Vf,"$r"),Vf),c(n7,"Ws"),p6=/\r\n?/g,c(So,"je"),c(Xp,"Rs"),c(o7,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(mc||(mc={})),gc=(Uf=class{constructor(e){this.error=e}},c(Uf,"dt"),Uf),pA=(Wf=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Hf,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(o=>o.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new f6(e,n):new qf(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(o){this.handleError(o)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(p6,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>vs(r)?!e:Qp(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(xe),this._attemptCharCode(41))this._attemptCharCodeUntilFn(xe);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ef);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&cc(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ef)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),vs(this._cursor.peek()))this._attemptCharCodeUntilFn(xe);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(xe),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>xe(r)&&!uc(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ys(r)||r==36||r===95||t&&Z0(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;cc(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(s7(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new hc("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new hc("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new hc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new gc(r)}handleError(e){if(e instanceof vc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof gc)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return u7(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!a7(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Jp,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,o=[];try{if(!ys(this._cursor.peek()))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(xe);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,i]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(xe);let u=this._consumeAttributeValue();o.push({prefix:l,name:i,value:u})}else o.push({prefix:l,name:i});this._attemptCharCodeUntilFn(xe)}this._consumeTagOpenEnd()}catch(l){if(l instanceof gc){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,o);this._handleFullNameStackForTagOpen(r,t),a===ir.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):a===ir.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(xe),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(So(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>Jp(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(xe),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(xe),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(xe)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(xe),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let o=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(o.join(""))],l),o.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(o.join(""))]),o.length=0,this._consumeEntity(e),this._beginToken(e)):o.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(o.join(""));return this._endToken([a]),a}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let o=this._cursor.clone(),a=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let i=this._cursor.clone();if(this._isTagStart()){this._cursor=i,n.push(this._getProcessedChars(o,i)),this._endToken(n);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(o,i)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===a?a=null:!l&&a===null&&cc(u)&&(a=u)}n.push(this._getProcessedChars(o,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Qp(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Wf,"Or"),Wf),c(xe,"b"),c(Jp,"$s"),c(a7,"mo"),c(l7,"fo"),c(i7,"go"),c(s7,"Co"),c(u7,"So"),c(ig,"Os"),c(Qp,"Ms"),c(ef,"qs"),c(xk,"_o"),qf=(_i=class{constructor(e,t){if(e instanceof _i){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new _i(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),o=this.locationFromCursor(this),a=r!==e?this.locationFromCursor(r):n;return new ee(n,o,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new vc('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):uc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new nd(e.file,e.state.offset,e.state.line,e.state.column)}},c(_i,"t"),_i),f6=(Fi=class extends qf{constructor(e,t){e instanceof Fi?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Fi(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Gp(e())){let t="",r=0,n=this.clone();for(;Gp(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else uc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new vc("Invalid hexadecimal escape sequence",e);return n}},c(Fi,"t"),Fi),vc=(Gf=class{constructor(e,t){this.msg=e,this.cursor=t}},c(Gf,"gt"),Gf),Ze=(yc=class extends gf{static create(e,t,r){return new yc(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(yc,"t"),yc),h6=(Kf=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(Kf,"Vr"),Kf),m6=(Yf=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,o){let a=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),l=n?this.getTagDefinition:a(this.getTagDefinition),i=c(f=>l(f).getContentType(),"u"),u=n?o:a(o),d=n7(e,t,o?(f,v,g,C)=>{let b=u(f,v,g,C);return b!==void 0?b:i(f)}:i,r),p=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,h=new g6(d.tokens,l,p,m,n);return h.build(),new h6(h.rootNodes,d.errors.concat(h.errors))}},c(Yf,"nr"),Yf),g6=(wc=class{constructor(e,t,r,n,o){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=o,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ao&&this.errors.push(Ze.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(o.errors),null;let a=new ee(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new ee(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new l6(e.parts[0],o.rootNodes,a,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(tf(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(tf(r,20))r.pop();else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let o=this._getContainer();o!=null&&o.children.length===0&&this.getTagDefinition(o.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,rf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let o=e.sourceSpan;this._addToParent(new n6(n,new ee(r.start,o.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let o=this._getElementFullName(t,r,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(o);this.canSelfClose||h.canSelfClose||Ki(o)!==null||h.isVoid||this.errors.push(Ze.create(o,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let l=this._peek.sourceSpan.fullStart,i=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),u=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new ee(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rn(o,n,[],i,u,void 0,d),m=this._getContainer();this._pushContainer(p,m instanceof rn&&this.getTagDefinition(m.name).isClosedByChild(p.name)),a?this._popContainer(o,rn,i):e.type===4&&(this._popContainer(o,rn,null),this.errors.push(Ze.create(o,i,`Opening tag "${o}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Ze.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ze.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let o=this._containerStack.length-1;o>=0;o--){let a=this._containerStack[o];if(Ki(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof t)return a.endSourceSpan=r,a.sourceSpan.end=r!==null?r.end:a.sourceSpan.end,this._containerStack.splice(o,this._containerStack.length-o),!n;(a instanceof Ao||a instanceof rn&&!this.getTagDefinition(a.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Si(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let o="",a=[],l,i;if(this._peek.type===16)for(l=this._peek.sourceSpan,i=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();a.push(d),d.type===17?o+=d.parts.join("").replace(/&([^;]+);/g,rf):d.type===9?o+=d.parts[0]:o+=d.parts.join(""),i=r=d.sourceSpan.end}this._peek.type===15&&(i=r=this._advance().sourceSpan.end);let u=l&&i&&new ee((n==null?void 0:n.sourceSpan.start)??l.start,i,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new i6(t,o,new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Ao,e.sourceSpan)||this.errors.push(Ze.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1),this._popContainer(null,Ao,null),this.errors.push(Ze.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let o=n.sourceSpan.fullStart,a=new ee(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),i=e.sourceSpan.start.moveBy(l),u=new ee(i,e.sourceSpan.end),d=new Pf(t,r.parts[0],a,u,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),o=e.sourceSpan.start.moveBy(n),a=new ee(o,e.sourceSpan.end),l=new ee(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new Pf(t,"",e.sourceSpan,a,l);this._addToParent(i)}this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Vs(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ki(r.name))}return Si(e,t)}},c(wc,"t"),wc),c(tf,"zs"),c(rf,"Gs"),v6=(Zf=class extends m6{constructor(){super(X0)}parse(e,t,r,n=!1,o){return super.parse(e,t,r,n,o)}},c(Zf,"sr"),Zf),bc=null,fA=c(()=>(bc||(bc=new v6),bc),"Eo"),c(sg,"zr"),c(c7,"Ao"),hA=c7,Ha=3,c(Ck,"Do"),c(d7,"vo"),mA=d7,Ri={attrs:!0,children:!0,cases:!0,expression:!0},Xf=new Set(["parent"]),gA=(_o=class{constructor(e={}){for(let t of new Set([...Xf,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ri&&(t=t.map(r=>this.createChild(r))),!Xf.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ri){let n=this[r];if(n){let o=p7(n,a=>a.map(e));t!==n&&(t||(t=new _o({parent:this.parent})),t.setProperty(r,o))}}if(t)for(let r in this)r in Ri||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ri){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(_o,"t"),_o),c(p7,"yo"),vA=[{regex:/^(\[if([^\]]*)\]>)(.*?)o==="lang"&&a!=="html"&&a!==""&&a!==void 0))}}),E6=ki({name:"lwc",canSelfClose:!1}),x6={html:H7},wA=lf});function nn(){}function C6(e,t,r,n,o){for(var a=[],l;t;)a.push(t),l=t.previousComponent,delete t.previousComponent,t=l;a.reverse();for(var i=0,u=a.length,d=0,p=0;ig.length?b:g}),m.value=e.join(f)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(p+=m.count)}}var v=a[u-1];return u>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(a[u-2].value+=v.value,a.pop()),a}function Es(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Es=c(function(t){return typeof t},"$e"):Es=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Es(e)}function od(e,t,r,n,o){t=t||[],r=r||[],n&&(e=n(o,e));var a;for(a=0;a=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function v1(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function jv(e,t){let r;switch(t){case` -`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r -`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function xA(e){return Su(!1,e,/\r\n?/gu,` -`)}function D6(e){if(typeof e=="string")return mo;if(Array.isArray(e))return Gr;if(!e)return;let{type:t}=e;if(ey.has(t))return t}function S6(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(go(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=c_([...ey].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function k6(e,t,r,n){let o=[e];for(;o.length>0;){let a=o.pop();if(a===Lg){r(o.pop());continue}r&&o.push(a,Lg);let l=go(a);if(!l)throw new aa(a);if((t==null?void 0:t(a))!==!1)switch(l){case Gr:case hr:{let i=l===Gr?a:a.parts;for(let u=i.length,d=u-1;d>=0;--d)o.push(i[d]);break}case wt:o.push(a.flatContents,a.breakContents);break;case ut:if(n&&a.expandedStates)for(let i=a.expandedStates.length,u=i-1;u>=0;--u)o.push(a.expandedStates[u]);else o.push(a.contents);break;case Yr:case Kr:case Zr:case mr:case Xr:o.push(a.contents);break;case mo:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(a)}}}function Ys(e){return gr(e),{type:Kr,contents:e}}function oa(e,t){return gr(t),{type:Yr,contents:t,n:e}}function hg(e,t={}){return gr(e),b1(t.expandedStates,!0),{type:ut,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function A6(e){return oa(Number.NEGATIVE_INFINITY,e)}function _6(e){return oa({type:"root"},e)}function F6(e){return oa(-1,e)}function R6(e,t){return hg(e[0],{...t,expandedStates:e})}function mg(e){return b1(e),{type:hr,parts:e}}function I6(e,t="",r={}){return gr(e),t!==""&&gr(t),{type:wt,breakContents:e,flatContents:t,groupId:r.groupId}}function z6(e,t){return gr(e),{type:Zr,contents:e,groupId:t.groupId,negate:t.negate}}function ad(e){return gr(e),{type:Xr,contents:e}}function gg(e,t){gr(e),b1(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(a.contents)}${m})`}if(a.type===ut){let p=[];a.break&&a.break!=="propagated"&&p.push("shouldBreak: true"),a.id&&p.push(`id: ${o(a.id)}`);let m=p.length>0?`, { ${p.join(", ")} }`:"";return a.expandedStates?`conditionalGroup([${a.expandedStates.map(h=>n(h)).join(",")}]${m})`:`group(${n(a.contents)}${m})`}if(a.type===hr)return`fill([${a.parts.map(p=>n(p)).join(", ")}])`;if(a.type===Xr)return"lineSuffix("+n(a.contents)+")";if(a.type===Ur)return"lineSuffixBoundary";if(a.type===mr)return`label(${JSON.stringify(a.label)}, ${n(a.contents)})`;throw new Error("Unknown doc type "+a.type)}function o(a){if(typeof a!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];let l=a.description||"symbol";for(let i=0;;i++){let u=l+(i>0?` #${i}`:"");if(!r.has(u))return r.add(u),t[a]=`Symbol.for(${JSON.stringify(u)})`}}}function B6(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function L6(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function $6(e){if(!e)return 0;if(!f_.test(e))return e.length;e=e.replace(d_()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=p_(n)?1:2)}return t}function Zs(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(a){if(r.has(a))return r.get(a);let l=o(a);return r.set(a,l),l}function o(a){switch(go(a)){case Gr:return t(a.map(n));case hr:return t({...a,parts:a.parts.map(n)});case wt:return t({...a,breakContents:n(a.breakContents),flatContents:n(a.flatContents)});case ut:{let{expandedStates:l,contents:i}=a;return l?(l=l.map(n),i=l[0]):i=n(i),t({...a,contents:i,expandedStates:l})}case Yr:case Kr:case Zr:case mr:case Xr:return t({...a,contents:n(a.contents)});case mo:case Qn:case Vr:case Ur:case Pe:case Ft:return t(a);default:throw new aa(a)}}}function ld(e,t,r){let n=r,o=!1;function a(l){if(o)return!1;let i=t(l);i!==void 0&&(o=!0,n=i)}return c(a,"u"),cd(e,a),n}function DA(e){if(e.type===ut&&e.break||e.type===Pe&&e.hard||e.type===Ft)return!0}function O6(e){return ld(e,DA,!1)}function yg(e){if(e.length>0){let t=Ie(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function SA(e){let t=new Set,r=[];function n(a){if(a.type===Ft&&yg(r),a.type===ut){if(r.push(a),t.has(a))return!1;t.add(a)}}c(n,"n");function o(a){a.type===ut&&r.pop().break&&yg(r)}c(o,"o"),cd(e,n,o,!0)}function kA(e){return e.type===Pe&&!e.hard?e.soft?"":" ":e.type===wt?e.flatContents:e}function M6(e){return Zs(e,kA)}function wg(e){for(e=[...e];e.length>=2&&Ie(!1,e,-2).type===Pe&&Ie(!1,e,-1).type===Ft;)e.length-=2;if(e.length>0){let t=hl(Ie(!1,e,-1));e[e.length-1]=t}return e}function hl(e){switch(go(e)){case Kr:case Zr:case ut:case Xr:case mr:{let t=hl(e.contents);return{...e,contents:t}}case wt:return{...e,breakContents:hl(e.breakContents),flatContents:hl(e.flatContents)};case hr:return{...e,parts:wg(e.parts)};case Gr:return wg(e);case mo:return e.replace(/[\n\r]*$/u,"");case Yr:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(e)}return e}function bg(e){return hl(_A(e))}function AA(e){switch(go(e)){case hr:if(e.parts.every(t=>t===""))return"";break;case ut:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ut&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yr:case Kr:case Zr:case Xr:if(!e.contents)return"";break;case wt:if(!e.flatContents&&!e.breakContents)return"";break;case Gr:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Ie(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case mo:case Qn:case Vr:case Ur:case Pe:case mr:case Ft:break;default:throw new aa(e)}return e}function _A(e){return Zs(e,t=>AA(t))}function P6(e,t=Og){return Zs(e,r=>typeof r=="string"?gg(t,r.split(` -`)):r)}function FA(e){if(e.type===Pe)return!0}function N6(e){return ld(e,FA,!1)}function Vv(e,t){return e.type===mr?{...e,contents:t(e.contents)}:t(e)}function Uv(){return{value:"",length:0,queue:[]}}function RA(e,t){return id(e,{type:"indent"},t)}function IA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Uv():t<0?id(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:id(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function id(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],o="",a=0,l=0,i=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),o+=v.n,a+=v.n.length;break;case"numberAlign":l+=1,i+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return h(),{...e,value:o,length:a,queue:n};function u(v){o+=" ".repeat(v),a+=r.tabWidth*v}function d(v){o+=" ".repeat(v),a+=v}function p(){r.useTabs?m():h()}function m(){l>0&&u(l),f()}function h(){i>0&&d(i),f()}function f(){l=0,i=0}}function sd(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o===ml){r++;continue}for(let a=o.length-1;a>=0;a--){let l=o[a];if(l===" "||l===" ")t++;else{e[n]=o.slice(0,a+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ml);return t}function Xi(e,t,r,n,o,a){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,i=[e],u=[];for(;r>=0;){if(i.length===0){if(l===0)return!0;i.push(t[--l]);continue}let{mode:d,doc:p}=i.pop(),m=go(p);switch(m){case mo:u.push(p),r-=pd(p);break;case Gr:case hr:{let h=m===Gr?p:p.parts;for(let f=h.length-1;f>=0;f--)i.push({mode:d,doc:h[f]});break}case Kr:case Yr:case Zr:case mr:i.push({mode:d,doc:p.contents});break;case Vr:r+=sd(u);break;case ut:{if(a&&p.break)return!1;let h=p.break?ot:d,f=p.expandedStates&&h===ot?Ie(!1,p.expandedStates,-1):p.contents;i.push({mode:h,doc:f});break}case wt:{let h=(p.groupId?o[p.groupId]||tr:d)===ot?p.breakContents:p.flatContents;h&&i.push({mode:d,doc:h});break}case Pe:if(d===ot||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Xr:n=!0;break;case Ur:if(n)return!1;break}}return!1}function Xs(e,t){let r={},n=t.printWidth,o=v1(t.endOfLine),a=0,l=[{ind:Uv(),mode:ot,doc:e}],i=[],u=!1,d=[],p=0;for(SA(e);l.length>0;){let{ind:h,mode:f,doc:v}=l.pop();switch(go(v)){case mo:{let g=o!==` -`?Su(!1,v,` -`,o):v;i.push(g),l.length>0&&(a+=pd(g));break}case Gr:for(let g=v.length-1;g>=0;g--)l.push({ind:h,mode:f,doc:v[g]});break;case Qn:if(p>=2)throw new Error("There are too many 'cursor' in doc.");i.push(ml),p++;break;case Kr:l.push({ind:RA(h,t),mode:f,doc:v.contents});break;case Yr:l.push({ind:IA(h,v.n,t),mode:f,doc:v.contents});break;case Vr:a-=sd(i);break;case ut:switch(f){case tr:if(!u){l.push({ind:h,mode:v.break?ot:tr,doc:v.contents});break}case ot:{u=!1;let g={ind:h,mode:tr,doc:v.contents},C=n-a,b=d.length>0;if(!v.break&&Xi(g,l,C,b,r))l.push(g);else if(v.expandedStates){let y=Ie(!1,v.expandedStates,-1);if(v.break){l.push({ind:h,mode:ot,doc:y});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:h,mode:ot,doc:y});break}else{let x=v.expandedStates[E],D={ind:h,mode:tr,doc:x};if(Xi(D,l,C,b,r)){l.push(D);break}}}else l.push({ind:h,mode:ot,doc:v.contents});break}}v.id&&(r[v.id]=Ie(!1,l,-1).mode);break;case hr:{let g=n-a,{parts:C}=v;if(C.length===0)break;let[b,y]=C,E={ind:h,mode:tr,doc:b},x={ind:h,mode:ot,doc:b},D=Xi(E,[],g,d.length>0,r,!0);if(C.length===1){D?l.push(E):l.push(x);break}let S={ind:h,mode:tr,doc:y},k={ind:h,mode:ot,doc:y};if(C.length===2){D?l.push(S,E):l.push(k,x);break}C.splice(0,2);let A={ind:h,mode:f,doc:mg(C)},_=C[0];Xi({ind:h,mode:tr,doc:[b,y,_]},[],g,d.length>0,r,!0)?l.push(A,S,E):D?l.push(A,k,E):l.push(A,k,x);break}case wt:case Zr:{let g=v.groupId?r[v.groupId]:f;if(g===ot){let C=v.type===wt?v.breakContents:v.negate?v.contents:Ys(v.contents);C&&l.push({ind:h,mode:f,doc:C})}if(g===tr){let C=v.type===wt?v.flatContents:v.negate?Ys(v.contents):v.contents;C&&l.push({ind:h,mode:f,doc:C})}break}case Xr:d.push({ind:h,mode:f,doc:v.contents});break;case Ur:d.length>0&&l.push({ind:h,mode:f,doc:e0});break;case Pe:switch(f){case tr:if(v.hard)u=!0;else{v.soft||(i.push(" "),a+=1);break}case ot:if(d.length>0){l.push({ind:h,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?h.root?(i.push(o,h.root.value),a=h.root.length):(i.push(o),a=0):(a-=sd(i),i.push(o+h.value),a=h.length);break}break;case mr:l.push({ind:h,mode:f,doc:v.contents});break;case Ft:break;default:throw new aa(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let m=i.indexOf(ml);if(m!==-1){let h=i.indexOf(ml,m+1),f=i.slice(0,m).join(""),v=i.slice(m+1,h).join(""),g=i.slice(h+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:i.join("")}}function H6(e,t,r=0){let n=0;for(let o=r;o!0,"n")}=t,o=c(a=>m_(a)&&n(a),"o");for(let a of r(e)){let l=e[a];if(Array.isArray(l))for(let i of l)o(i)&&(yield i);else o(l)&&(yield l)}}function*zA(e,t){let r=[e];for(let n=0;n{let o=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:a}=t,l=r;for(;l>=0&&l0}function q6(e){return e?t=>e(t,Ng):v_}function TA(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function y1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=TA(e)}function jo(e,t){t.leading=!0,t.trailing=!1,y1(e,t)}function xs(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),y1(e,t)}function Vo(e,t){t.leading=!1,t.trailing=!0,y1(e,t)}function w1(e,t){if(t0.has(e))return t0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:a,locEnd:l}=t;if(!n)return[];let i=((r==null?void 0:r(e,t))??[...Wv(e,{getVisitorKeys:ku(o)})]).flatMap(u=>n(u)?[u]:w1(u,t));return i.sort((u,d)=>a(u)-a(d)||l(u)-l(d)),t0.set(e,i),i}function qv(e,t,r,n){let{locStart:o,locEnd:a}=r,l=o(t),i=a(t),u=w1(e,r),d,p,m=0,h=u.length;for(;m>1,v=u[f],g=o(v),C=a(v);if(g<=l&&i<=C)return qv(v,t,r,v);if(C<=l){d=v,m=f+1;continue}if(i<=g){p=v,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=Xc(f,t,r);d&&Xc(f,d,r)!==v&&(d=null),p&&Xc(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function BA(e,t){let{comments:r}=e;if(delete e.comments,!g_(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:a,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:i={}},originalText:u}=t,{ownLine:d=r0,endOfLine:p=r0,remaining:m=r0}=i,h=r.map((f,v)=>({...qv(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of h.entries()){let{comment:g,precedingNode:C,enclosingNode:b,followingNode:y,text:E,options:x,ast:D,isLastComment:S}=v;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(o(g)-o(D)<=0){jo(D,g);continue}if(a(g)-a(D)>=0){Vo(D,g);continue}}let k;if(l?k=[v]:(g.enclosingNode=b,g.precedingNode=C,g.followingNode=y,k=[g,E,x,D,S]),LA(E,x,h,f))g.placement="ownLine",d(...k)||(y?jo(y,g):C?Vo(C,g):xs(b||D,g));else if($A(E,x,h,f))g.placement="endOfLine",p(...k)||(C?Vo(C,g):y?jo(y,g):xs(b||D,g));else if(g.placement="remaining",!m(...k))if(C&&y){let A=n.length;A>0&&n[A-1].followingNode!==y&&Eg(n,x),n.push(v)}else C?Vo(C,g):y?jo(y,g):xs(b||D,g)}if(Eg(n,t),!l)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function LA(e,t,r,n){let{comment:o,precedingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=l(o);if(a)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:m}=r[d];if(m!==a||!ty(e.slice(i(p),u)))break;u=l(p)}return mn(e,u,{backwards:!0})}function $A(e,t,r,n){let{comment:o,followingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=i(o);if(a)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:m}=e[u-1];hd.strictEqual(p,a),hd.strictEqual(m,l);let h=t.originalText.slice(t.locEnd(d),i);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))i=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,m)=>t.locStart(p)-t.locStart(m));e.length=0}function Xc(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(i)).length===0)return{leading:"",trailing:""};let o=[],a=[],l;return e.each(()=>{let i=e.node;if(n!=null&&n.has(i))return;let{leading:u,trailing:d}=i;u?o.push(OA(e,t)):d&&(l=MA(e,t,l),a.push(l.doc))},"comments"),{leading:o,trailing:a}}function NA(e,t,r){let{leading:n,trailing:o}=PA(e,r);return!n&&!o?t:Vv(t,a=>[n,a,o])}function HA(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function K6(e){return()=>{}}function xg({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(o=>o.languages??[]),n=[];for(let o of VA(Object.assign({},...e.map(({options:a})=>a),w_)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(a=>!a.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...jA(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter(a=>{var l;return((l=a.defaultOptions)==null?void 0:l[o.name])!==void 0}).map(a=>[a.name,a.defaultOptions[o.name]])),n.push(o));return{languages:r,options:n}}function*jA(e,t,r){let n=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let a of o.parsers)if(!n.has(a)){n.add(a);let l=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,a)),i=o.name;l!=null&&l.name&&(i+=` (plugin: ${l.name})`),yield{value:a,description:i}}}}function VA(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=Ie(!1,o.default,-1).value),t.push(o)}return t}function Cg(e,t){if(!t)return;let r=b_(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function UA(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Y6(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=UA(r,t.language)??Cg(r,t.physicalFile)??Cg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Jf(e,t,r,n){return[`Invalid ${Uo.default.red(n.key(e))} value.`,`Expected ${Uo.default.blue(r)},`,`but received ${t===jg?Uo.default.gray("nothing"):Uo.default.red(n.value(t))}.`].join(" ")}function Dg({text:e,list:t},r){let n=[];return e&&n.push(`- ${Uo.default.blue(e)}`),t&&n.push([`- ${Uo.default.blue(t.title)}:`].concat(t.values.map(o=>Dg(o,r-Vg.length).replace(/^|\n/g,`$&${Vg}`))).join(` -`)),Sg(n,r)}function Sg(e,t){if(e.length===1)return e[0];let[r,n]=e,[o,a]=e.map(l=>l.split(` -`,1)[0].length);return o>t&&o>a?n:r}function Z6(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let a=0;for(;ai?d>i?i+1:d:d>u?u+1:d;return i}function X6(e,t){let r=new e(t),n=Object.create(r);for(let o of x_)o in t&&(n[o]=WA(t[o],r,ln.prototype[o].length));return n}function WA(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Qf({from:e,to:t}){return{from:[e],to:t}}function J6(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function Q6(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function eb(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function tb(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function rb(e){return e===Math.floor(e)}function nb(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ob(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function eh(e){return e===void 0?{}:e}function kg(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return qA((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(kg)}}:{text:t}}function th(e,t){return e===!0?!0:e===!1?{value:t}:e}function rh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ag(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Jc(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ag(r,t)):[Ag(e,t)]}function nh(e,t){let r=Jc(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function qA(e,t){if(!e)throw new Error(t)}function ab(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:a,descriptor:l}={}){if(n){if(!a)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=zo;let i=o?Array.isArray(o)?(h,f)=>o.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,v)=>{let{_:g,...C}=v.schemas;return Wg(h,f,{...v,schemas:C})},u=GA(t,{isCLI:n,FlagSchema:a}),d=new F_(u,{logger:r,unknown:i,descriptor:l}),p=r!==!1;p&&zh&&(d._hasDeprecationWarned=zh);let m=d.normalize(e);return p&&(zh=d._hasDeprecationWarned),m}function GA(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(D_.create({name:"_"}));for(let o of e)n.push(KA(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(C_.create({name:o.alias,sourceName:o.name}));return n}function KA(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:o}=e,a={name:o},l,i={};switch(e.type){case"int":l=__,t&&(a.preprocess=Number);break;case"string":l=qg;break;case"choice":l=A_,a.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":l=k_;break;case"flag":l=n,a.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":l=qg;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?a.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):a.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(i.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){let u=a.preprocess||(d=>d);a.preprocess=(d,p,m)=>p.preprocess(u(Array.isArray(d)?Ie(!1,d,-1):d),m)}return e.array?S_.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...i,valueSchema:l.create(a)}):l.create({...a,...i})}function Kv(e,t){if(!t)throw new Error("parserName is required.");let r=ny(!1,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function YA(e,t){if(!t)throw new Error("astFormat is required.");let r=ny(!1,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function Yv({plugins:e,parser:t}){let r=Kv(e,t);return Zv(r,t)}function Zv(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function ZA(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function lb(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=E_(n,{physicalFile:n.filepath}),!n.parser)throw new Hg(`No parser could be inferred for file "${n.filepath}".`)}else throw new Hg("No parser and no file path given, couldn't infer a parser.");let o=xg({plugins:e.plugins,showDeprecated:!0}).options,a={...Gg,...Object.fromEntries(o.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},l=Kv(n.plugins,n.parser),i=await Zv(l,n.parser);n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;let u=(r=l.printers)!=null&&r[i.astFormat]?l:YA(n.plugins,i.astFormat),d=await ZA(u,i.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,h])=>h!==void 0)):{},m={...a,...p};for(let[h,f]of Object.entries(m))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),R_(n,o,{passThrough:Object.keys(Gg),...t})}async function ib(e,t){let r=await Yv(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let o;try{o=await r.parse(n,t,t)}catch(a){XA(a,e)}return{text:n,ast:o}}function XA(e,t){let{loc:r}=e;if(r){let n=(0,I_.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function JA(e,t,r,n,o){let{embeddedLanguageFormatting:a,printer:{embed:l,hasPrettierIgnore:i=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!l||a!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ku(l.getVisitorKeys??u),p=[];f();let m=e.stack;for(let{print:v,node:g,pathStack:C}of p)try{e.stack=C;let b=await v(h,t,e,r);b&&o.set(g,b)}catch(b){if(globalThis.PRETTIER_DEBUG)throw b}e.stack=m;function h(v,g){return QA(v,g,r,n)}c(h,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||i(e))return;for(let C of d(v))Array.isArray(v[C])?e.each(f,C):e.call(f,C);let g=l(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}o.set(v,g)}}c(f,"p")}async function QA(e,t,r,n){let o=await ma({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:a}=await ni(e,o),l=await n(a,o);return bg(l)}function sb(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:a,[Symbol.for("printedComments")]:l}=t,{node:i}=e,u=o(i),d=a(i);for(let p of n)o(p)>=u&&a(p)<=d&&l.add(p);return r.slice(u,d)}async function Du(e,t){({ast:e}=await Xv(e,t));let r=new Map,n=new h_(e),o=y_(t),a=new Map;await JA(n,i,t,Du,a);let l=await _g(n,t,i,void 0,a);return HA(t),l;function i(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){o(n);let p=n.node;if(p==null)return"";let m=p&&typeof p=="object"&&d===void 0;if(m&&r.has(p))return r.get(p);let h=_g(n,t,i,d,a);return m&&r.set(p,h),h}}function _g(e,t,r,n,o){var a;let{node:l}=e,{printer:i}=t,u;return(a=i.hasPrettierIgnore)!=null&&a.call(i,e)?u=z_(e,t):o.has(l)?u=o.get(l):u=i.print(e,t,r,n),l===t.cursorNode&&(u=Vv(u,d=>[dd,d,dd])),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t))&&(u=NA(e,u,t)),u}async function Xv(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,BA(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function ub(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,a=ku(t.printer.getVisitorKeys),l=c(u=>n(u)<=r&&o(u)>=r,"i"),i=e;for(let u of zA(e,{getVisitorKeys:a,filter:l}))i=u;return i}function cb(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=ku(n),a=r.ignoredProperties??new Set;return l(e);function l(i,u){if(!(i!==null&&typeof i=="object"))return i;if(Array.isArray(i))return i.map(h=>l(h,u)).filter(Boolean);let d={},p=new Set(o(i));for(let h in i)!Object.prototype.hasOwnProperty.call(i,h)||a.has(h)||(p.has(h)?d[h]=l(i[h],i):d[h]=i[h]);let m=r(i,d,u);if(m!==null)return m??d}}function e_(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(o=>oy.has(o.type)&&n.has(o))}function Fg(e){let t=L_(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function t_(e,t,{locStart:r,locEnd:n}){let o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=r(e.node);for(let u of Fg(t.parentNodes))if(r(u)>=l)a=u;else break;let i=n(t.node);for(let u of Fg(e.parentNodes)){if(n(u)<=i)o=u;else break;if(o===a)break}return{startNode:o,endNode:a}}function ud(e,t,r,n,o=[],a){let{locStart:l,locEnd:i}=r,u=l(e),d=i(e);if(!(t>d||tn);let i=e.slice(n,o).search(/\S/u),u=i===-1;if(!u)for(n+=i;o>n&&!/\S/u.test(e[o-1]);--o);let d=ud(r,n,t,(f,v)=>Rg(t,f,v),[],"rangeStart"),p=u?d:ud(r,o,t,f=>Rg(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if($_(t)){let f=e_(d,p);m=f,h=f}else({startNode:m,endNode:h}=t_(d,p,t));return{rangeStart:Math.min(a(m),a(h)),rangeEnd:Math.max(l(m),l(h))}}async function Jv(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await ni(e,t);t.cursorOffset>=0&&(t.cursorNode=T_(n,t));let a=await Du(n,t);r>0&&(a=vg([eo,a],r,t.tabWidth));let l=Xs(a,t);if(r>0){let u=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(u)),l.formatted=u+v1(t.endOfLine)}let i=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,m,h;if(t.cursorNode&&l.cursorNodeText?(u=t.locStart(t.cursorNode),d=o.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,m=l.cursorNodeStart,h=l.cursorNodeText):(u=0,d=o,p=t.cursorOffset,m=0,h=l.formatted),d===h)return{formatted:l.formatted,cursorOffset:m+p,comments:i};let f=d.split("");f.splice(p,0,Kg);let v=h.split(""),g=bA(f,v),C=m;for(let b of g)if(b.removed){if(b.value.includes(Kg))break}else C+=b.count;return{formatted:l.formatted,cursorOffset:C,comments:i}}return{formatted:l.formatted,cursorOffset:-1,comments:i}}async function o_(e,t){let{ast:r,text:n}=await ni(e,t),{rangeStart:o,rangeEnd:a}=n_(n,t,r),l=n.slice(o,a),i=Math.min(o,n.lastIndexOf(` -`,o)+1),u=n.slice(i,o).match(/^\s*/u)[0],d=fd(u,t.tabWidth),p=await Jv(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=a?t.cursorOffset-o:-1,endOfLine:"lf"},d),m=p.formatted.trimEnd(),{cursorOffset:h}=t;h>a?h+=m.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+o);let f=n.slice(0,o)+m+n.slice(a);if(t.endOfLine!=="lf"){let v=v1(t.endOfLine);h>=0&&v===`\r -`&&(h+=jv(f.slice(0,h),` -`)),f=Su(!1,f,` -`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function Qc(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Ig(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=Qc(e,r,-1),n=Qc(e,n,0),o=Qc(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Qv(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a}=Ig(e,t),l=e.charAt(0)===ay;if(l&&(e=e.slice(1),r--,n--,o--),a==="auto"&&(a=EA(e)),e.includes("\r")){let i=c(u=>jv(e.slice(0,Math.max(u,0)),`\r -`),"s");r-=i(r),n-=i(n),o-=i(o),e=xA(e)}return{hasBOM:l,text:e,options:Ig(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a})}}async function zg(e,t){let r=await Yv(t);return!r.hasPragma||r.hasPragma(e)}async function Tg(e,t){let{hasBOM:r,text:n,options:o}=Qv(e,await ma(t));if(o.rangeStart>=o.rangeEnd&&n!==""||o.requirePragma&&!await zg(n,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let a;return o.rangeStart>0||o.rangeEnd=0&&a.cursorOffset++),a}async function db(e,t,r){let{text:n,options:o}=Qv(e,await ma(t)),a=await ni(n,o);return r&&(r.preprocessForPrint&&(a.ast=await Xv(a.ast,o)),r.massage&&(a.ast=B_(a.ast,o))),a}async function pb(e,t){t=await ma(t);let r=await Du(e,t);return Xs(r,t)}async function fb(e,t){let r=CA(e),{formatted:n}=await Tg(r,{...t,parser:"__js_expression"});return n}async function hb(e,t){t=await ma(t);let{ast:r}=await ni(e,t);return Du(r,t)}async function mb(e,t){return Xs(e,await ma(t))}function gb(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,o.length/t.length),0)}function xb(e,t){let r=x1(e,t);return r===!1?"":e.charAt(r)}function Cb(e,t,r){for(let n=t;nl===n?l:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+o+t}function l_(e,t,r){return x1(e,r(t))}function kb(e,t){return arguments.length===2||typeof t=="number"?x1(e,t):l_(...arguments)}function i_(e,t,r){return E1(e,r(t))}function Ab(e,t){return arguments.length===2||typeof t=="number"?E1(e,t):i_(...arguments)}function s_(e,t,r){return vd(e,r(t))}function _b(e,t){return arguments.length===2||typeof t=="number"?vd(e,t):s_(...arguments)}function _n(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}async function Bg(e,t){let{formatted:r}=await Yg(e,{...t,cursorOffset:-1});return r}async function Fb(e,t){return await Bg(e,t)===e}var Rb,Ii,Ib,zb,Tb,Bb,oh,Lb,Ec,zi,ah,Ti,$b,Ob,Mb,Fa,xc,lh,Pb,Nb,Hb,jb,Vb,ih,Ub,Su,sh,uh,ch,dh,Wb,qb,u_,Ra,Ji,mo,Gr,Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft,ey,go,c_,ph,Gb,aa,Lg,cd,fh,gr,b1,Kb,Qi,Yb,e0,hh,$g,Zb,eo,Og,dd,Xb,Ie,d_,p_,f_,pd,ot,tr,ml,fd,Fo,mh,Cc,gh,Jb,h_,vh,hd,m_,Qb,xn,Mg,Pg,so,mn,g_,Ng,v_,ku,t0,r0,ty,E1,y_,yh,ry,wh,Hg,w_,b_,E_,zo,bh,e8,Uo,jg,Bi,Vg,t8,Eh,n0,Ug,Wg,x_,xh,ln,Ch,C_,Dh,D_,Sh,S_,kh,k_,Ah,A_,_h,r8,Fh,__,Rh,qg,n8,o8,a8,l8,Ih,F_,zh,R_,i8,ny,Gg,ma,I_,ni,z_,T_,B_,s8,L_,$_,oy,O_,ay,Kg,Th,u8,c8,d8,p8,Bh,md,gd,x1,vd,f8,h8,m8,g8,v8,y8,Yg,w8,b8,M_,lP=T(()=>{Rb=Object.create,Ii=Object.defineProperty,Ib=Object.getOwnPropertyDescriptor,zb=Object.getOwnPropertyNames,Tb=Object.getPrototypeOf,Bb=Object.prototype.hasOwnProperty,oh=c(e=>{throw TypeError(e)},"sr"),Lb=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ec=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),zi=c((e,t)=>{for(var r in t)Ii(e,r,{get:t[r],enumerable:!0})},"We"),ah=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zb(t))!Bb.call(e,o)&&o!==r&&Ii(e,o,{get:c(()=>t[o],"get"),enumerable:!(n=Ib(t,o))||n.enumerable});return e},"ar"),Ti=c((e,t,r)=>(r=e!=null?Rb(Tb(e)):{},ah(t||!e||!e.__esModule?Ii(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),$b=c(e=>ah(Ii({},"__esModule",{value:!0}),e),"vu"),Ob=c((e,t,r)=>t.has(e)||oh("Cannot "+r),"bu"),Mb=c((e,t,r)=>t.has(e)?oh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Fa=c((e,t,r)=>(Ob(e,t,"access private method"),r),"pe"),xc=Ec((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),lh={},zi(lh,{default:c(()=>Nb,"default"),shouldHighlight:c(()=>Pb,"shouldHighlight")}),Hb=Lb(()=>{Pb=c(()=>!1,"xo"),Nb=String}),jb=Ec((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Vb=Ec(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(Hb(),$b(lh)),r=o(jb(),!0);function n(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(n=c(function(y){return y?b:C},"Wn"))(g)}c(n,"Wn");function o(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var b=n(C);if(b&&b.has(g))return b.get(g);var y={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in g)if(x!=="default"&&{}.hasOwnProperty.call(g,x)){var D=E?Object.getOwnPropertyDescriptor(g,x):null;D&&(D.get||D.set)?Object.defineProperty(y,x,D):y[x]=g[x]}return y.default=g,b&&b.set(g,y),y}c(o,"vo");var a=r.default,l=c((g,C)=>b=>g(C(b)),"Rn"),i;function u(g){return g?(i!=null||(i=(0,r.createColors)(!0)),i):a}c(u,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:l(g.red,g.bold),message:l(g.red,g.bold)}}c(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,b){let y=Object.assign({column:0,line:-1},g.start),E=Object.assign({},y,g.end),{linesAbove:x=2,linesBelow:D=3}=b||{},S=y.line,k=y.column,A=E.line,_=E.column,R=Math.max(S-(x+1),0),z=Math.min(C.length,A+D);S===-1&&(R=0),A===-1&&(z=C.length);let L=A-S,$={};if(L)for(let N=0;N<=L;N++){let M=N+S;if(!k)$[M]=!0;else if(N===0){let j=C[M-1].length;$[M]=[k,j-k+1]}else if(N===L)$[M]=[0,_];else{let j=C[M-N].length;$[M]=[0,j]}}else k===_?k?$[S]=[k,0]:$[S]=!0:$[S]=[k,_-k];return{start:R,end:z,markerLines:$}}c(h,"No");function f(g,C,b={}){let y=(b.highlightCode||b.forceColor)&&(0,t.shouldHighlight)(b),E=u(b.forceColor),x=p(E),D=c(($,N)=>y?$(N):N,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(C,S,b),R=C.start&&typeof C.start.column=="number",z=String(A).length,L=(y?(0,t.default)(g,b):g).split(m,A).slice(k,A).map(($,N)=>{let M=k+1+N,j=` ${` ${M}`.slice(-z)} |`,q=_[M],B=!_[M+1];if(q){let P="";if(Array.isArray(q)){let H=$.slice(0,Math.max(q[0]-1,0)).replace(/[^\t]/g," "),G=q[1]||1;P=[` - `,D(x.gutter,j.replace(/\d/g," "))," ",H,D(x.marker,"^").repeat(G)].join(""),B&&b.message&&(P+=" "+D(x.message,b.message))}return[D(x.marker,">"),D(x.gutter,j),$.length>0?` ${$}`:"",P].join("")}else return` ${D(x.gutter,j)}${$.length>0?` ${$}`:""}`}).join(` -`);return b.message&&!R&&(L=`${" ".repeat(z+1)}${b.message} -${L}`),y?E.reset(L):L}c(f,"Mn");function v(g,C,b,y={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let x=new Error(E);x.name="DeprecationWarning",console.warn(new Error(E))}}return b=Math.max(b,0),f(g,{start:{column:b,line:C}},y)}c(v,"To")}),ih={},zi(ih,{__debug:c(()=>b8,"__debug"),check:c(()=>Fb,"check"),doc:c(()=>Th,"doc"),format:c(()=>Bg,"format"),formatWithCursor:c(()=>Yg,"formatWithCursor"),getSupportInfo:c(()=>w8,"getSupportInfo"),util:c(()=>Bh,"util"),version:c(()=>p8,"version")}),Ub=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),Su=Ub,c(nn,"Z"),nn.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.callback;typeof n=="function"&&(o=n,n={}),this.options=n;var a=this;function l(E){return o?(setTimeout(function(){o(void 0,E)},0),!0):E}c(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,d=1,p=i+u;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=u&&v+1>=i)return l([{value:this.join(t),count:t.length}]);var g=-1/0,C=1/0;function b(){for(var E=Math.max(g,-d);E<=Math.min(C,d);E+=2){var x=void 0,D=f[E-1],S=f[E+1];D&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A=u&&v+1>=i)return l(C6(a,x.lastComponent,t,e,a.useLongestToken));f[E]=x,x.oldPos+1>=u&&(C=Math.min(C,E-1)),v+1>=i&&(g=Math.max(g,E+1))}d++}if(c(b,"A"),o)c(function E(){setTimeout(function(){if(d>p||Date.now()>h)return o();b()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var y=b();if(y)return y}},"diff"),addToPath:c(function(e,t,r,n){var o=e.lastComponent;return o&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var o=t.length,a=r.length,l=e.oldPos,i=l-n,u=0;i+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(od(e,null,null,o),o," ")},Ra.equals=function(e,t){return nn.prototype.equals.call(Ra,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(od,"Bt"),Ji=new nn,Ji.tokenize=function(e){return e.slice()},Ji.join=Ji.removeEmpty=function(e){return e},c(bA,"dr"),c(EA,"Fr"),c(v1,"Be"),c(jv,"wt"),c(xA,"mr"),mo="string",Gr="array",Qn="cursor",Kr="indent",Yr="align",Vr="trim",ut="group",hr="fill",wt="if-break",Zr="indent-if-break",Xr="line-suffix",Ur="line-suffix-boundary",Pe="line",mr="label",Ft="break-parent",ey=new Set([Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft]),c(D6,"Lu"),go=D6,c_=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(S6,"Iu"),Gb=(ph=class extends Error{constructor(t){super(S6(t));ka(this,"name","InvalidDocError");this.doc=t}},c(ph,"xt"),ph),aa=Gb,Lg={},c(k6,"Ru"),cd=k6,fh=c(()=>{},"hr"),gr=fh,b1=fh,c(Ys,"De"),c(oa,"ae"),c(hg,"_t"),c(A6,"Cr"),c(_6,"gr"),c(F6,"yr"),c(R6,"Ar"),c(mg,"Ge"),c(I6,"Br"),c(z6,"wr"),c(ad,"xe"),Kb={type:Ur},Qi={type:Ft},Yb={type:Vr},e0={type:Pe,hard:!0},hh={type:Pe,hard:!0,literal:!0},$g={type:Pe},Zb={type:Pe,soft:!0},eo=[e0,Qi],Og=[hh,Qi],dd={type:Qn},c(gg,"be"),c(vg,"Je"),c(T6,"br"),c(zr,"ee"),c(CA,"Or"),Xb=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),Ie=Xb,d_=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),c(B6,"Nr"),c(L6,"Tr"),p_=c(e=>!(B6(e)||L6(e)),"kr"),f_=/[^\x20-\x7F]/u,c($6,"Hu"),pd=$6,c(Zs,"Ne"),c(ld,"Xe"),c(DA,"Wu"),c(O6,"Ir"),c(yg,"Lr"),c(SA,"Rr"),c(kA,"Mu"),c(M6,"Yr"),c(wg,"Pr"),c(hl,"Se"),c(bg,"Ze"),c(AA,"$u"),c(_A,"Vu"),c(P6,"jr"),c(FA,"Uu"),c(N6,"Hr"),c(Vv,"Qe"),ot=Symbol("MODE_BREAK"),tr=Symbol("MODE_FLAT"),ml=Symbol("cursor"),c(Uv,"Wr"),c(RA,"zu"),c(IA,"Gu"),c(id,"bt"),c(sd,"Ot"),c(Xi,"et"),c(Xs,"Fe"),c(H6,"Ku"),fd=H6,Jb=(gh=class{constructor(e){Mb(this,Fo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Ie(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Ie(!1,this.stack,-2)}get node(){return Ie(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Ie(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Fa(this,Fo,Cc).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Ie(!1,e,-2):null}getValue(){return Ie(!1,this.stack,-1)}getNode(e=0){let t=Fa(this,Fo,mh).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Fa(this,Fo,mh).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{for(let a=0;a{r[o]=e(n,o,a)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let o of e){if(n===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[t--],n=this.stack[t--]),o&&!o(n,r,a))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return t}hasAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return!0;return!1}},c(gh,"St"),gh),Fo=new WeakSet,mh=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Cc=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),h_=Jb,vh=new Proxy(()=>{},{get:c(()=>vh,"get")}),hd=vh,c(j6,"qu"),m_=j6,c(Wv,"Tt"),c(zA,"Ur"),c(_a,"Ee"),Qb=_a(/\s/u),xn=_a(" "),Mg=_a(",; "),Pg=_a(/[^\n\r]/u),c(V6,"Ju"),so=V6,c(U6,"Xu"),mn=U6,c(W6,"Zu"),g_=W6,Ng=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),v_=c(e=>Object.keys(e).filter(t=>!Ng.has(t)),"Qu"),c(q6,"eo"),ku=q6,c(TA,"to"),c(y1,"Lt"),c(jo,"ue"),c(xs,"re"),c(Vo,"oe"),t0=new WeakMap,c(w1,"ut"),c(qv,"qr"),r0=c(()=>!1,"It"),c(BA,"Jr"),ty=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(LA,"ro"),c($A,"no"),c(Eg,"Kr"),c(Xc,"Rt"),c(G6,"uo"),E1=G6,c(Gv,"Zr"),c(OA,"oo"),c(MA,"io"),c(PA,"so"),c(NA,"Qr"),c(HA,"en"),c(K6,"ao"),y_=K6,ry=(yh=class extends Error{constructor(){super(...arguments);ka(this,"name","ConfigError")}},c(yh,"Pe"),yh),Hg=(wh=class extends Error{constructor(){super(...arguments);ka(this,"name","UndefinedParserError")}},c(wh,"Ie"),wh),w_={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(xg,"ot"),c(jA,"Do"),c(VA,"lo"),b_=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(Cg,"nn"),c(UA,"fo"),c(Y6,"po"),E_=Y6,zo={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>zo.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${zo.key(r)}: ${zo.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>zo.value({[e]:t}),"pair")},bh=Ti(xc(),1),e8=c((e,t,{descriptor:r})=>{let n=[`${bh.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${bh.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Uo=Ti(xc(),1),jg=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bi=Symbol.for("vnopts.VALUE_UNCHANGED"),Vg=" ".repeat(2),t8=c((e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),a=[];return n&&a.push(Jf(e,t,n,r.descriptor)),o&&a.push([Jf(e,t,o.title,r.descriptor)].concat(o.values.map(l=>Dg(l,r.loggerPrintWidth))).join(` -`)),Sg(a,r.loggerPrintWidth)},"cn"),c(Jf,"ln"),c(Dg,"fn"),c(Sg,"pn"),Eh=Ti(xc(),1),n0=[],Ug=[],c(Z6,"Ht"),Wg=c((e,t,{descriptor:r,logger:n,schemas:o})=>{let a=[`Ignored unknown option ${Eh.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(o).sort().find(i=>Z6(e,i)<3);l&&a.push(`Did you mean ${Eh.default.blue(r.key(l))}?`),n.warn(a.join(" "))},"at"),x_=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(X6,"mo"),ln=(xh=class{static create(e){return X6(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Bi}},c(xh,"O"),xh),c(WA,"Eo"),C_=(Ch=class extends ln{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(Ch,"Dt"),Ch),D_=(Dh=class extends ln{expected(){return"anything"}validate(){return!0}},c(Dh,"lt"),Dh),S_=(Sh=class extends ln{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let o=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);o!==!0&&r.push(o.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let o=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);o!==!1&&r.push(...o.map(({value:a})=>({value:[a]})))}return r}forward(e,t){let r=[];for(let n of e){let o=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...o.map(Qf))}return r}redirect(e,t){let r=[],n=[];for(let o of e){let a=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in a&&r.push(a.remain),n.push(...a.redirect.map(Qf))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(Sh,"ct"),Sh),c(Qf,"Fn"),k_=(kh=class extends ln{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(kh,"ft"),kh),c(J6,"En"),c(Q6,"hn"),c(eb,"Cn"),c(tb,"gn"),c(rb,"yn"),c(nb,"An"),c(ob,"Bn"),c(eh,"Mt"),c(kg,"$t"),c(th,"Vt"),c(rh,"Ut"),c(Ag,"mn"),c(Jc,"pt"),c(nh,"zt"),c(qA,"ho"),A_=(Ah=class extends ln{constructor(e){super(e),this._choices=Q6(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(({hidden:o})=>!o).map(o=>o.value).sort(nb).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(Ah,"dt"),Ah),r8=(_h=class extends ln{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(_h,"Ft"),_h),__=(Fh=class extends r8{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&rb(e)}},c(Fh,"mt"),Fh),qg=(Rh=class extends ln{expected(){return"a string"}validate(e){return typeof e=="string"}},c(Rh,"Re"),Rh),n8=zo,o8=Wg,a8=t8,l8=e8,F_=(Ih=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:o=n8,unknown:a=o8,invalid:l=a8,deprecated:i=l8,missing:u=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:p=c(h=>h,"d"),postprocess:m=c(()=>Bi,"f")}=t||{};this._utils={descriptor:o,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:J6(e,"name"),normalizeDefaultResult:eh,normalizeExpectedResult:kg,normalizeDeprecatedResult:rh,normalizeForwardResult:Jc,normalizeRedirectResult:nh,normalizeValidateResult:th},this._unknownHandler=a,this._invalidHandler=ob(l),this._deprecatedHandler=i,this._identifyMissing=(h,f)=>!(h in f)||u(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=eb()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let o=r.shift(),a=this._applyNormalization(o,t);r.push(...a)}},"u");n();for(let o of Object.keys(this._utils.schemas)){let a=this._utils.schemas[o];if(!(o in t)){let l=eh(a.default(this._utils));"value"in l&&r.push({[o]:l.value})}}n();for(let o of Object.keys(this._utils.schemas)){if(!(o in t))continue;let a=this._utils.schemas[o],l=t[o],i=a.postprocess(l,this._utils);i!==Bi&&(this._applyValidation(i,o,a),t[o]=i)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(e);for(let a of n){let l=this._utils.schemas[a],i=l.preprocess(e[a],this._utils);this._applyValidation(i,a,l);let u=c(({from:m,to:h})=>{r.push(typeof h=="string"?{[h]:m}:{[h.key]:h.value})},"D"),d=c(({value:m,redirectTo:h})=>{let f=rh(l.deprecated(m,this._utils),i,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,h,this._utils));else for(let{value:v}of f){let g={key:a,value:v};if(!this._hasDeprecationWarned(g)){let C=typeof h=="string"?{key:h,value:v}:h;this._utils.logger.warn(this._deprecatedHandler(g,C,this._utils))}}},"l");Jc(l.forward(i,this._utils),i).forEach(u);let p=nh(l.redirect(i,this._utils),i);if(p.redirect.forEach(u),"remain"in p){let m=p.remain;t[a]=a in t?l.overlap(t[a],m,this._utils):m,d({value:m})}for(let{from:m,to:h}of p.redirect)d({value:m,redirectTo:h})}for(let a of o){let l=e[a];this._applyUnknownHandler(a,l,t,(i,u)=>{r.push({[i]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,jg,this._utils)}_partitionOptionKeys(e){let[t,r]=tb(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=th(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let o=this._unknownHandler(e,t,this._utils);if(o)for(let a of Object.keys(o)){if(this._identifyMissing(a,o))continue;let l=o[a];a in this._utils.schemas?n(a,l):r[a]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bi){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let o of r){let a=t.override[o];this._applyValidation(a,o,this._utils.schemas[o]),e[o]=a}for(let o of n){let a=t.override[o];this._applyUnknownHandler(o,a,e,(l,i)=>{let u=this._utils.schemas[l];this._applyValidation(i,l,u),e[l]=i})}}}}},c(Ih,"Et"),Ih),c(ab,"go"),c(GA,"yo"),c(KA,"Ao"),R_=ab,i8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}},"Bo"),ny=i8,c(Kv,"qt"),c(YA,"On"),c(Yv,"ht"),c(Zv,"Jt"),c(ZA,"Sn"),Gg={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(lb,"wo"),ma=lb,I_=Ti(Vb(),1),c(ib,"ko"),c(XA,"Lo"),ni=ib,c(JA,"Un"),c(QA,"Po"),c(sb,"Io"),z_=sb,c(Du,"Ye"),c(_g,"Gn"),c(Xv,"Qt"),c(ub,"Ro"),T_=ub,c(cb,"Yo"),B_=cb,s8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return n}return-1}},"jo"),L_=s8,$_=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(e_,"Wo"),c(Fg,"Xn"),c(t_,"Mo"),c(ud,"er"),c(r_,"$o"),oy=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),O_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(Rg,"Zn"),c(n_,"eu"),ay="\uFEFF",Kg=Symbol("cursor"),c(Jv,"ou"),c(o_,"Uo"),c(Qc,"tr"),c(Ig,"ru"),c(Qv,"iu"),c(zg,"nu"),c(Tg,"rr"),c(db,"su"),c(pb,"au"),c(fb,"Du"),c(hb,"lu"),c(mb,"cu"),Th={},zi(Th,{builders:c(()=>u8,"builders"),printer:c(()=>c8,"printer"),utils:c(()=>d8,"utils")}),u8={join:gg,line:$g,softline:Zb,hardline:eo,literalline:Og,group:hg,conditionalGroup:R6,fill:mg,lineSuffix:ad,lineSuffixBoundary:Kb,cursor:dd,breakParent:Qi,ifBreak:I6,trim:Yb,indent:Ys,indentIfBreak:z6,align:oa,addAlignmentToDoc:vg,markAsRoot:_6,dedentToRoot:A6,dedent:F6,hardlineWithoutBreakParent:e0,literallineWithoutBreakParent:hh,label:T6,concat:c(e=>e,"concat")},c8={printDocToString:Xs},d8={willBreak:O6,traverseDoc:cd,findInDoc:ld,mapDoc:Zs,removeLines:M6,stripTrailingHardline:bg,replaceEndOfLine:P6,canBreak:N6},p8="3.3.3",Bh={},zi(Bh,{addDanglingComment:c(()=>xs,"addDanglingComment"),addLeadingComment:c(()=>jo,"addLeadingComment"),addTrailingComment:c(()=>Vo,"addTrailingComment"),getAlignmentSize:c(()=>fd,"getAlignmentSize"),getIndentSize:c(()=>f8,"getIndentSize"),getMaxContinuousCount:c(()=>h8,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>m8,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>kb,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>pd,"getStringWidth"),hasNewline:c(()=>mn,"hasNewline"),hasNewlineInRange:c(()=>g8,"hasNewlineInRange"),hasSpaces:c(()=>v8,"hasSpaces"),isNextLineEmpty:c(()=>_b,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>vd,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>Ab,"isPreviousLineEmpty"),makeString:c(()=>y8,"makeString"),skip:c(()=>_a,"skip"),skipEverythingButNewLine:c(()=>Pg,"skipEverythingButNewLine"),skipInlineComment:c(()=>md,"skipInlineComment"),skipNewline:c(()=>so,"skipNewline"),skipSpaces:c(()=>xn,"skipSpaces"),skipToLineEnd:c(()=>Mg,"skipToLineEnd"),skipTrailingComment:c(()=>gd,"skipTrailingComment"),skipWhitespace:c(()=>Qb,"skipWhitespace")}),c(gb,"Jo"),md=gb,c(vb,"Xo"),gd=vb,c(yb,"Zo"),x1=yb,c(wb,"Qo"),vd=wb,c(bb,"ei"),f8=bb,c(a_,"ur"),c(Eb,"ti"),h8=Eb,c(xb,"ri"),m8=xb,c(Cb,"ni"),g8=Cb,c(Db,"ui"),v8=Db,c(Sb,"oi"),y8=Sb,c(l_,"ii"),c(kb,"si"),c(i_,"ai"),c(Ab,"Di"),c(s_,"li"),c(_b,"ci"),c(_n,"fe"),Yg=_n(Tg),c(Bg,"gu"),c(Fb,"fi"),w8=_n(xg,0),b8={parse:_n(db),formatAST:_n(pb),formatDoc:_n(fb),printToDoc:_n(hb),printDocToString:_n(mb)},M_=ih});function P_(e){for(var t=[],r=1;r{c(P_,"dedent")}),N_={};Ql(N_,{formatter:()=>H_});var E8,H_,sP=T(()=>{E8=We(e1(),1),aP(),lP(),iP(),H_=(0,E8.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?P_(t):(await M_.format(t,{parser:e,plugins:[wA],htmlWhitespaceSensitivity:"ignore"})).trim())}),Zg,Xg,uP=T(()=>{Zg=c(function(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t},{})},"fromEntries"),Xg=typeof window<"u"&&window.document&&window.document.createElement?s.useLayoutEffect:s.useEffect}),it,zt,Tt,st,yd,gl,Yo,vl,j_,ly,ja,V_,Jg,iy,x8,C8,D8,S8,k8,A8,_8,F8,R8,U_,Wt=T(()=>{it="top",zt="bottom",Tt="right",st="left",yd="auto",gl=[it,zt,Tt,st],Yo="start",vl="end",j_="clippingParents",ly="viewport",ja="popper",V_="reference",Jg=gl.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+vl])},[]),iy=[].concat(gl,[yd]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+vl])},[]),x8="beforeRead",C8="read",D8="afterRead",S8="beforeMain",k8="main",A8="afterMain",_8="beforeWrite",F8="write",R8="afterWrite",U_=[x8,C8,D8,S8,k8,A8,_8,F8,R8]});function vr(e){return e?(e.nodeName||"").toLowerCase():null}var ga=T(()=>{c(vr,"getNodeName")});function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qr=T(()=>{c(Et,"getWindow")});function uo(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function C1(e){if(typeof ShadowRoot>"u")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var qt=T(()=>{Qr(),c(uo,"isElement"),c(Rt,"isHTMLElement"),c(C1,"isShadowRoot")});function I8(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Rt(a)||!vr(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(l){var i=o[l];i===!1?a.removeAttribute(l):a.setAttribute(l,i===!0?"":i)}))})}function z8(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=l.reduce(function(u,d){return u[d]="",u},{});!Rt(o)||!vr(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var W_,cP=T(()=>{ga(),qt(),c(I8,"applyStyles"),c(z8,"effect"),W_={name:"applyStyles",enabled:!0,phase:"write",fn:I8,effect:z8,requires:["computeStyles"]}});function pr(e){return e.split("-")[0]}var va=T(()=>{c(pr,"getBasePlacement")}),to,Js,la,ya=T(()=>{to=Math.max,Js=Math.min,la=Math.round});function wd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var q_=T(()=>{c(wd,"getUAString")});function sy(){return!/^((?!chrome|android).)*safari/i.test(wd())}var G_=T(()=>{q_(),c(sy,"isLayoutViewport")});function ia(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Rt(e)&&(o=e.offsetWidth>0&&la(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&la(n.height)/e.offsetHeight||1);var l=uo(e)?Et(e):window,i=l.visualViewport,u=!sy()&&r,d=(n.left+(u&&i?i.offsetLeft:0))/o,p=(n.top+(u&&i?i.offsetTop:0))/a,m=n.width/o,h=n.height/a;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var Au=T(()=>{qt(),ya(),Qr(),G_(),c(ia,"getBoundingClientRect")});function D1(e){var t=ia(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var uy=T(()=>{Au(),c(D1,"getLayoutRect")});function cy(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&C1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var K_=T(()=>{qt(),c(cy,"contains")});function Jr(e){return Et(e).getComputedStyle(e)}var _u=T(()=>{Qr(),c(Jr,"getComputedStyle")});function Y_(e){return["table","td","th"].indexOf(vr(e))>=0}var dP=T(()=>{ga(),c(Y_,"isTableElement")});function kn(e){return((uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var vo=T(()=>{qt(),c(kn,"getDocumentElement")});function Fu(e){return vr(e)==="html"?e:e.assignedSlot||e.parentNode||(C1(e)?e.host:null)||kn(e)}var S1=T(()=>{ga(),vo(),qt(),c(Fu,"getParentNode")});function Qg(e){return!Rt(e)||Jr(e).position==="fixed"?null:e.offsetParent}function Z_(e){var t=/firefox/i.test(wd()),r=/Trident/i.test(wd());if(r&&Rt(e)){var n=Jr(e);if(n.position==="fixed")return null}var o=Fu(e);for(C1(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(vr(o))<0;){var a=Jr(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function oi(e){for(var t=Et(e),r=Qg(e);r&&Y_(r)&&Jr(r).position==="static";)r=Qg(r);return r&&(vr(r)==="html"||vr(r)==="body"&&Jr(r).position==="static")?t:r||Z_(e)||t}var Ru=T(()=>{Qr(),ga(),_u(),qt(),dP(),S1(),q_(),c(Qg,"getTrueOffsetParent"),c(Z_,"getContainingBlock"),c(oi,"getOffsetParent")});function k1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var dy=T(()=>{c(k1,"getMainAxisFromPlacement")});function yl(e,t,r){return to(e,Js(t,r))}function X_(e,t,r){var n=yl(e,t,r);return n>r?r:n}var J_=T(()=>{ya(),c(yl,"within"),c(X_,"withinMaxClamp")});function py(){return{top:0,right:0,bottom:0,left:0}}var Q_=T(()=>{c(py,"getFreshSideObject")});function fy(e){return Object.assign({},py(),e)}var eF=T(()=>{Q_(),c(fy,"mergePaddingObject")});function hy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var tF=T(()=>{c(hy,"expandToHashMap")});function T8(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,i=pr(r.placement),u=k1(i),d=[st,Tt].indexOf(i)>=0,p=d?"height":"width";if(!(!a||!l)){var m=rF(o.padding,r),h=D1(a),f=u==="y"?it:st,v=u==="y"?zt:Tt,g=r.rects.reference[p]+r.rects.reference[u]-l[u]-r.rects.popper[p],C=l[u]-r.rects.reference[u],b=oi(a),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-C/2,x=m[f],D=y-h[p]-m[v],S=y/2-h[p]/2+E,k=yl(x,S,D),A=u;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function B8(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||cy(t.elements.popper,o)&&(t.elements.arrow=o))}var rF,nF,pP=T(()=>{va(),uy(),K_(),Ru(),dy(),J_(),eF(),tF(),Wt(),rF=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,fy(typeof e!="number"?e:hy(e,gl))},"toPaddingObject"),c(T8,"arrow"),c(B8,"effect"),nF={name:"arrow",enabled:!0,phase:"main",fn:T8,effect:B8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function sa(e){return e.split("-")[1]}var Iu=T(()=>{c(sa,"getVariation")});function oF(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:la(r*o)/o||0,y:la(n*o)/o||0}}function e5(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,i=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,f=h===void 0?0:h,v=l.y,g=v===void 0?0:v,C=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=C.x,g=C.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),E=st,x=it,D=window;if(d){var S=oi(r),k="clientHeight",A="clientWidth";if(S===Et(r)&&(S=kn(r),Jr(S).position!=="static"&&i==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,o===it||(o===st||o===Tt)&&a===vl){x=zt;var _=m&&S===D&&D.visualViewport?D.visualViewport.height:S[k];g-=_-n.height,g*=u?1:-1}if(o===st||(o===it||o===zt)&&a===vl){E=Tt;var R=m&&S===D&&D.visualViewport?D.visualViewport.width:S[A];f-=R-n.width,f*=u?1:-1}}var z=Object.assign({position:i},d&&aF),L=p===!0?oF({x:f,y:g},Et(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var $;return Object.assign({},z,($={},$[x]=y?"0":"",$[E]=b?"0":"",$.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",$))}return Object.assign({},z,(t={},t[x]=y?g+"px":"",t[E]=b?f+"px":"",t.transform="",t))}function L8(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,l=a===void 0?!0:a,i=r.roundOffsets,u=i===void 0?!0:i,d={placement:pr(t.placement),variation:sa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,e5(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,e5(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var aF,lF,fP=T(()=>{Wt(),Ru(),Qr(),vo(),_u(),va(),Iu(),ya(),aF={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(oF,"roundOffsetsByDPR"),c(e5,"mapToStyles"),c(L8,"computeStyles"),lF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:L8,data:{}}});function $8(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,l=n.resize,i=l===void 0?!0:l,u=Et(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",r.update,es)}),i&&u.addEventListener("resize",r.update,es),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",r.update,es)}),i&&u.removeEventListener("resize",r.update,es)}}var es,iF,hP=T(()=>{Qr(),es={passive:!0},c($8,"effect"),iF={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:$8,data:{}}});function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return sF[t]})}var sF,mP=T(()=>{sF={left:"right",right:"left",bottom:"top",top:"bottom"},c(Cs,"getOppositePlacement")});function t5(e){return e.replace(/start|end/g,function(t){return uF[t]})}var uF,gP=T(()=>{uF={start:"end",end:"start"},c(t5,"getOppositeVariationPlacement")});function A1(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var my=T(()=>{Qr(),c(A1,"getWindowScroll")});function _1(e){return ia(kn(e)).left+A1(e).scrollLeft}var gy=T(()=>{Au(),vo(),my(),c(_1,"getWindowScrollBarX")});function cF(e,t){var r=Et(e),n=kn(e),o=r.visualViewport,a=n.clientWidth,l=n.clientHeight,i=0,u=0;if(o){a=o.width,l=o.height;var d=sy();(d||!d&&t==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:i+_1(e),y:u}}var vP=T(()=>{Qr(),vo(),gy(),G_(),c(cF,"getViewportRect")});function dF(e){var t,r=kn(e),n=A1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=to(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=to(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+_1(e),u=-n.scrollTop;return Jr(o||r).direction==="rtl"&&(i+=to(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:i,y:u}}var yP=T(()=>{vo(),_u(),gy(),my(),ya(),c(dF,"getDocumentRect")});function F1(e){var t=Jr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}var vy=T(()=>{_u(),c(F1,"isScrollParent")});function yy(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:Rt(e)&&F1(e)?e:yy(Fu(e))}var wP=T(()=>{S1(),vy(),ga(),qt(),c(yy,"getScrollParent")});function wl(e,t){var r;t===void 0&&(t=[]);var n=yy(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Et(n),l=o?[a].concat(a.visualViewport||[],F1(n)?n:[]):n,i=t.concat(l);return o?i:i.concat(wl(Fu(l)))}var pF=T(()=>{wP(),S1(),Qr(),vy(),c(wl,"listScrollParents")});function bd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var fF=T(()=>{c(bd,"rectToClientRect")});function hF(e,t){var r=ia(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function r5(e,t,r){return t===ly?bd(cF(e,r)):uo(t)?hF(t,r):bd(dF(kn(e)))}function mF(e){var t=wl(Fu(e)),r=["absolute","fixed"].indexOf(Jr(e).position)>=0,n=r&&Rt(e)?oi(e):e;return uo(n)?t.filter(function(o){return uo(o)&&cy(o,n)&&vr(o)!=="body"}):[]}function gF(e,t,r,n){var o=t==="clippingParents"?mF(e):[].concat(t),a=[].concat(o,[r]),l=a[0],i=a.reduce(function(u,d){var p=r5(e,d,n);return u.top=to(p.top,u.top),u.right=Js(p.right,u.right),u.bottom=Js(p.bottom,u.bottom),u.left=to(p.left,u.left),u},r5(e,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var bP=T(()=>{Wt(),vP(),yP(),pF(),Ru(),vo(),_u(),qt(),Au(),S1(),K_(),ga(),fF(),ya(),c(hF,"getInnerBoundingClientRect"),c(r5,"getClientRectFromMixedType"),c(mF,"getClippingParents"),c(gF,"getClippingRect")});function wy(e){var t=e.reference,r=e.element,n=e.placement,o=n?pr(n):null,a=n?sa(n):null,l=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,u;switch(o){case it:u={x:l,y:t.y-r.height};break;case zt:u={x:l,y:t.y+t.height};break;case Tt:u={x:t.x+t.width,y:i};break;case st:u={x:t.x-r.width,y:i};break;default:u={x:t.x,y:t.y}}var d=o?k1(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case Yo:u[d]=u[d]-(t[p]/2-r[p]/2);break;case vl:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var vF=T(()=>{va(),Iu(),dy(),Wt(),c(wy,"computeOffsets")});function jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,l=a===void 0?e.strategy:a,i=r.boundary,u=i===void 0?j_:i,d=r.rootBoundary,p=d===void 0?ly:d,m=r.elementContext,h=m===void 0?ja:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,C=g===void 0?0:g,b=fy(typeof C!="number"?C:hy(C,gl)),y=h===ja?V_:ja,E=e.rects.popper,x=e.elements[v?y:h],D=gF(uo(x)?x:x.contextElement||kn(e.elements.popper),u,p,l),S=ia(e.elements.reference),k=wy({reference:S,element:E,placement:o}),A=bd(Object.assign({},E,k)),_=h===ja?A:S,R={top:D.top-_.top+b.top,bottom:_.bottom-D.bottom+b.bottom,left:D.left-_.left+b.left,right:_.right-D.right+b.right},z=e.modifiersData.offset;if(h===ja&&z){var L=z[o];Object.keys(R).forEach(function($){var N=[Tt,zt].indexOf($)>=0?1:-1,M=[it,zt].indexOf($)>=0?"y":"x";R[$]+=L[M]*N})}return R}var R1=T(()=>{bP(),vo(),Au(),vF(),fF(),Wt(),qt(),eF(),tF(),c(jl,"detectOverflow")});function yF(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,l=r.padding,i=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?iy:u,p=sa(n),m=p?i?Jg:Jg.filter(function(v){return sa(v)===p}):gl,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=jl(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[pr(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var EP=T(()=>{Iu(),Wt(),R1(),va(),c(yF,"computeAutoPlacement")});function wF(e){if(pr(e)===yd)return[];var t=Cs(e);return[t5(e),t,t5(t)]}function O8(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!0:l,u=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,C=t.options.placement,b=pr(C),y=b===C,E=u||(y||!v?[Cs(C)]:wF(C)),x=[C].concat(E).reduce(function(ie,U){return ie.concat(pr(U)===yd?yF(t,{placement:U,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):U)},[]),D=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=x[0],R=0;R=0,M=N?"width":"height",j=jl(t,{placement:z,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),q=N?$?Tt:st:$?zt:it;D[M]>S[M]&&(q=Cs(q));var B=Cs(q),P=[];if(a&&P.push(j[L]<=0),i&&P.push(j[q]<=0,j[B]<=0),P.every(function(ie){return ie})){_=z,A=!1;break}k.set(z,P)}if(A)for(var H=v?3:1,G=c(function(ie){var U=x.find(function(X){var re=k.get(X);if(re)return re.slice(0,ie).every(function(_e){return _e})});if(U)return _=U,"break"},"_loop"),Z=H;Z>0;Z--){var Q=G(Z);if(Q==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var bF,xP=T(()=>{mP(),va(),gP(),R1(),EP(),Wt(),Iu(),c(wF,"getExpandedFallbackPlacements"),c(O8,"flip"),bF={name:"flip",enabled:!0,phase:"main",fn:O8,requiresIfExists:["offset"],data:{_skip:!1}}});function n5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function o5(e){return[it,Tt,zt,st].some(function(t){return e[t]>=0})}function M8(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=jl(t,{elementContext:"reference"}),i=jl(t,{altBoundary:!0}),u=n5(l,n),d=n5(i,o,a),p=o5(u),m=o5(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var EF,CP=T(()=>{Wt(),R1(),c(n5,"getSideOffsets"),c(o5,"isAnySideFullyClipped"),c(M8,"hide"),EF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M8}});function xF(e,t,r){var n=pr(e),o=[st,it].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=a[0],i=a[1];return l=l||0,i=(i||0)*o,[st,Tt].indexOf(n)>=0?{x:i,y:l}:{x:l,y:i}}function P8(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,l=iy.reduce(function(p,m){return p[m]=xF(m,t.rects,a),p},{}),i=l[t.placement],u=i.x,d=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var CF,DP=T(()=>{va(),Wt(),c(xF,"distanceAndSkiddingToXY"),c(P8,"offset"),CF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P8}});function N8(e){var t=e.state,r=e.name;t.modifiersData[r]=wy({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var DF,SP=T(()=>{vF(),c(N8,"popperOffsets"),DF={name:"popperOffsets",enabled:!0,phase:"read",fn:N8,data:{}}});function SF(e){return e==="x"?"y":"x"}var kP=T(()=>{c(SF,"getAltAxis")});function H8(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!1:l,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,C=jl(t,{boundary:u,rootBoundary:d,padding:m,altBoundary:p}),b=pr(t.placement),y=sa(t.placement),E=!y,x=k1(b),D=SF(x),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(a){var $,N=x==="y"?it:st,M=x==="y"?zt:Tt,j=x==="y"?"height":"width",q=S[x],B=q+C[N],P=q-C[M],H=f?-A[j]/2:0,G=y===Yo?k[j]:A[j],Z=y===Yo?-A[j]:-k[j],Q=t.elements.arrow,ie=f&&Q?D1(Q):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:py(),X=U[N],re=U[M],_e=yl(0,k[j],ie[j]),qe=E?k[j]/2-H-_e-X-R.mainAxis:G-_e-X-R.mainAxis,xr=E?-k[j]/2+H+_e+re+R.mainAxis:Z+_e+re+R.mainAxis,xt=t.elements.arrow&&oi(t.elements.arrow),Yt=xt?x==="y"?xt.clientTop||0:xt.clientLeft||0:0,W=($=z==null?void 0:z[x])!=null?$:0,Zt=q+qe-W-Yt,Cr=q+xr-W,bo=yl(f?Js(B,Zt):B,q,f?to(P,Cr):P);S[x]=bo,L[x]=bo-q}if(i){var Ca,Dr=x==="x"?it:st,Tu=x==="x"?zt:Tt,rt=S[D],Eo=D==="y"?"height":"width",Sr=rt+C[Dr],Da=rt-C[Tu],kr=[it,st].indexOf(b)!==-1,Sa=(Ca=z==null?void 0:z[D])!=null?Ca:0,Ar=kr?Sr:rt-k[Eo]-A[Eo]-Sa+R.altAxis,Ge=kr?rt+k[Eo]+A[Eo]-Sa-R.altAxis:Da,Xt=f&&kr?X_(Ar,rt,Ge):yl(f?Ar:Sr,rt,f?Ge:Da);S[D]=Xt,L[D]=Xt-rt}t.modifiersData[n]=L}}var kF,AP=T(()=>{Wt(),va(),dy(),kP(),J_(),uy(),Ru(),R1(),Iu(),Q_(),ya(),c(H8,"preventOverflow"),kF={name:"preventOverflow",enabled:!0,phase:"main",fn:H8,requiresIfExists:["offset"]}}),AF=T(()=>{});function _F(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var _P=T(()=>{c(_F,"getHTMLElementScroll")});function FF(e){return e===Et(e)||!Rt(e)?A1(e):_F(e)}var FP=T(()=>{my(),Qr(),qt(),_P(),c(FF,"getNodeScroll")});function RF(e){var t=e.getBoundingClientRect(),r=la(t.width)/e.offsetWidth||1,n=la(t.height)/e.offsetHeight||1;return r!==1||n!==1}function IF(e,t,r){r===void 0&&(r=!1);var n=Rt(t),o=Rt(t)&&RF(t),a=kn(t),l=ia(e,o,r),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((vr(t)!=="body"||F1(a))&&(i=FF(t)),Rt(t)?(u=ia(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=_1(a))),{x:l.left+i.scrollLeft-u.x,y:l.top+i.scrollTop-u.y,width:l.width,height:l.height}}var RP=T(()=>{Au(),FP(),ga(),qt(),gy(),vo(),vy(),ya(),c(RF,"isElementScaled"),c(IF,"getCompositeRect")});function zF(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(i){if(!r.has(i)){var u=t.get(i);u&&o(u)}}),n.push(a)}return c(o,"sort"),e.forEach(function(a){r.has(a.name)||o(a)}),n}function TF(e){var t=zF(e);return U_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}var IP=T(()=>{Wt(),c(zF,"order"),c(TF,"orderModifiers")});function BF(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var zP=T(()=>{c(BF,"debounce")});function LF(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var TP=T(()=>{c(LF,"mergeByName")});function a5(){for(var e=arguments.length,t=new Array(e),r=0;r{RP(),uy(),pF(),Ru(),IP(),zP(),TP(),qt(),l5={placement:"bottom",modifiers:[],strategy:"absolute"},c(a5,"areValidElements"),c($F,"popperGenerator")}),j8,OF,LP=T(()=>{BP(),hP(),SP(),fP(),cP(),DP(),xP(),AP(),pP(),CP(),AF(),j8=[iF,DF,lF,W_,CF,bF,kF,nF,EF],OF=$F({defaultModifiers:j8})}),$P=T(()=>{Wt(),AF(),LP()}),OP=Y((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(i,u){if(i===u)return!0;if(i&&u&&typeof i=="object"&&typeof u=="object"){if(i.constructor!==u.constructor)return!1;var d,p,m;if(Array.isArray(i)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!l(i[p],u[p]))return!1;return!0}var h;if(n&&i instanceof Map&&u instanceof Map){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;for(h=i.entries();!(p=h.next()).done;)if(!l(p.value[1],u.get(p.value[0])))return!1;return!0}if(o&&i instanceof Set&&u instanceof Set){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(u)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(i[p]!==u[p])return!1;return!0}if(i.constructor===RegExp)return i.source===u.source&&i.flags===u.flags;if(i.valueOf!==Object.prototype.valueOf&&typeof i.valueOf=="function"&&typeof u.valueOf=="function")return i.valueOf()===u.valueOf();if(i.toString!==Object.prototype.toString&&typeof i.toString=="function"&&typeof u.toString=="function")return i.toString()===u.toString();if(m=Object.keys(i),d=m.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,m[p]))return!1;if(r&&i instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&i.$$typeof)&&!l(i[m[p]],u[m[p]]))return!1;return!0}return i!==i&&u!==u}c(l,"equal"),t.exports=c(function(i,u){try{return l(i,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),V8,U8,MF,MP=T(()=>{$P(),V8=We(OP()),uP(),U8=[],MF=c(function(e,t,r){r===void 0&&(r={});var n=s.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||U8},a=s.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],i=a[1],u=s.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(m){var h=m.state,f=Object.keys(h.elements);fu.flushSync(function(){i({styles:Zg(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:Zg(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=s.useMemo(function(){var m={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,V8.default)(n.current,m)?n.current||m:(n.current=m,m)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=s.useRef();return Xg(function(){p.current&&p.current.setOptions(d)},[d]),Xg(function(){if(!(e==null||t==null)){var m=r.createPopper||OF,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),PP=T(()=>{MP()});function by(e){var t=s.useRef(e);return t.current=e,s.useCallback(function(){return t.current},[])}function PF(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?HF:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=s.useState(t),l=a[0],i=a[1],u=by(l),d=s.useCallback(function(m){var h=u(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),i(f),typeof o=="function"&&o(f)},[u,o]),p=r!==void 0;return[p?r:l,p?o:d]}function i5(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function NF(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(u5).reduce(function(M,j){var q;return oe({},M,(q={},q[j]=M[j]!==void 0?M[j]:u5[j],q))},e),l=s.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),i=oe({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||l}),u=s.useState(null),d=u[0],p=u[1],m=s.useState(null),h=m[0],f=m[1],v=PF({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),g=v[0],C=v[1],b=s.useRef();s.useEffect(function(){return function(){return clearTimeout(b.current)}},[]);var y=MF(a.followCursor?s5:d,h,i),E=y.styles,x=y.attributes,D=t1(y,jF),S=D.update,k=by({visible:g,triggerRef:d,tooltipRef:h,finalConfig:a}),A=s.useCallback(function(M){return Array.isArray(a.trigger)?a.trigger.includes(M):a.trigger===M},Array.isArray(a.trigger)?a.trigger:[a.trigger]),_=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!1)},a.delayHide)},[a.delayHide,C]),R=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!0)},a.delayShow)},[a.delayShow,C]),z=s.useCallback(function(){k().visible?_():R()},[k,_,R]);s.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var M=c(function(j){var q,B=k(),P=B.tooltipRef,H=B.triggerRef,G=(j.composedPath==null||(q=j.composedPath())==null?void 0:q[0])||j.target;G instanceof Node&&P!=null&&H!=null&&!P.contains(G)&&!H.contains(G)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[k,_]),s.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",z),function(){return d.removeEventListener("click",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",z),function(){return d.removeEventListener("dblclick",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("right-click"))){var M=c(function(j){j.preventDefault(),z()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),s.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),s.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",R),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",R),h.removeEventListener("mouseleave",_)}},[h,A,R,_,k]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;s.useEffect(function(){a.closeOnTriggerHidden&&L&&_()},[a.closeOnTriggerHidden,_,L]),s.useEffect(function(){if(!a.followCursor||d==null)return;function M(j){var q=j.clientX,B=j.clientY;s5.getBoundingClientRect=i5(q,B),S==null||S()}return c(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[a.followCursor,d,S]),s.useEffect(function(){if(!(h==null||S==null||a.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(h,a.mutationObserverOptions),function(){return M.disconnect()}}},[a.mutationObserverOptions,h,S]);var $=c(function(M){return M===void 0&&(M={}),oe({},M,{style:oe({},M.style,E.popper)},x.popper,{"data-popper-interactive":a.interactive})},"getTooltipProps"),N=c(function(M){return M===void 0&&(M={}),oe({},M,x.arrow,{style:oe({},M.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return oe({getArrowProps:N,getTooltipProps:$,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},D)}var HF,jF,s5,u5,NP=T(()=>{rv(),wr(),PP(),c(by,"useGetLatest"),HF=c(function(){},"noop"),c(PF,"useControlledState"),c(i5,"generateBoundingClientRect"),jF=["styles","attributes"],s5={getBoundingClientRect:i5()},u5={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(NF,"usePopperTooltip")}),W8,Dt,on,q8,G8,c5,HP=T(()=>{W8=We(e1(),1),Dt=(0,W8.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),on=8,q8=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Dt("top",r,`${on*-1}px`,"auto")}`,top:`${Dt("bottom",r,`${on*-1}px`,"auto")}`,right:`${Dt("left",r,`${on*-1}px`,"auto")}`,left:`${Dt("right",r,`${on*-1}px`,"auto")}`,borderBottomWidth:`${Dt("top",r,"0",on)}px`,borderTopWidth:`${Dt("bottom",r,"0",on)}px`,borderRightWidth:`${Dt("left",r,"0",on)}px`,borderLeftWidth:`${Dt("right",r,"0",on)}px`,borderTopColor:Dt("top",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderBottomColor:Dt("bottom",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderLeftColor:Dt("left",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderRightColor:Dt("right",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent")})),G8=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),c5=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:o,color:a,withArrows:l,...i},u)=>w.createElement(G8,{"data-testid":"tooltip",hasChrome:t,ref:u,...i,color:a},t&&l&&w.createElement(q8,{placement:e,...n,color:a}),r)),c5.displayName="Tooltip"}),Ey={};Ql(Ey,{WithToolTipState:()=>Ed,WithTooltip:()=>Ed,WithTooltipPure:()=>d5});var Li,K8,Y8,d5,Ed,xy=T(()=>{tv(),NP(),HP(),{document:Li}=Qd,K8=F.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Y8=F.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,d5=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:a=!0,defaultVisible:l=!1,withArrows:i,offset:u,tooltip:d,children:p,closeOnTriggerHidden:m,mutationObserverOptions:h,delayHide:f,visible:v,interactive:g,delayShow:C,strategy:b,followCursor:y,onVisibleChange:E,...x})=>{let D=e?Y8:K8,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:R,state:z}=NF({trigger:t,placement:n,defaultVisible:l,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:E,delayShow:C,followCursor:y,mutationObserverOptions:h,visible:v,offset:u},{modifiers:o,strategy:b}),L=w.createElement(c5,{placement:z==null?void 0:z.placement,ref:A,hasChrome:a,arrowProps:S(),withArrows:i,...k()},typeof d=="function"?d({onHide:c(()=>E(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:_,...x},p),R&&lD.createPortal(L,Li.body))},"WithTooltipPure"),Ed=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=s.useState(e),a=s.useCallback(l=>{t&&t(l)===!1||o(l)},[t]);return s.useEffect(()=>{let l=c(()=>a(!1),"hide");Li.addEventListener("keydown",l,!1);let i=Array.from(Li.getElementsByTagName("iframe")),u=[];return i.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{Li.removeEventListener("keydown",l),u.forEach(d=>{d()})}}),w.createElement(d5,{...r,visible:n,onVisibleChange:a})},"WithToolTipState")}),ge=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");wr();VO();ev();function VF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$l(e,t)}c(VF,"_inheritsLoose");UO();ev();function UF(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(UF,"_isNativeFunction");function Cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cy=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Cy,"_isNativeReflectConstruct");ev();function WF(e,t,r){if(Cy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&$l(o,r.prototype),o}c(WF,"_construct");function xd(e){var t=typeof Map=="function"?new Map:void 0;return xd=c(function(r){if(r===null||!UF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return WF(r,arguments,V0(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$l(n,r)},"_wrapNativeSuper"),xd(e)}c(xd,"_wrapNativeSuper");var jP={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function qF(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}c(Vl,"hslToRgb");var Z8={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function KF(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Z8[t]?"#"+Z8[t]:e}c(KF,"nameToHex");var VP=/^#[a-fA-F0-9]{6}$/,UP=/^#[a-fA-F0-9]{8}$/,WP=/^#[a-fA-F0-9]{3}$/,qP=/^#[a-fA-F0-9]{4}$/,Lh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,GP=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,KP=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,YP=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I1(e){if(typeof e!="string")throw new Pr(3);var t=KF(e);if(t.match(VP))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(UP)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(WP))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(qP)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Lh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=GP.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=KP.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Vl(i,u,d)+")",m=Lh.exec(p);if(!m)throw new Pr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=YP.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Vl(f,v,g)+")",b=Lh.exec(C);if(!b)throw new Pr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Pr(5)}c(I1,"parseToRgb");function YF(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Qs(e,t,r):"rgba("+Vl(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Qs(e.hue,e.saturation,e.lightness):"rgba("+Vl(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pr(2)}c(JF,"hsla");function Cd(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return p5("#"+Pn(e)+Pn(t)+Pn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return p5("#"+Pn(e.red)+Pn(e.green)+Pn(e.blue));throw new Pr(6)}c(Cd,"rgb");function eu(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=I1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Cd(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cd(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pr(7)}c(eu,"rgba");var XP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),JP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),QP=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),eN=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Sy(e){if(typeof e!="object")throw new Pr(8);if(JP(e))return eu(e);if(XP(e))return Cd(e);if(eN(e))return JF(e);if(QP(e))return XF(e);throw new Pr(8)}c(Sy,"toColorString");function ky(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ky(e,t,n)},"fn")}c(ky,"curried");function z1(e){return ky(e,e.length,[])}c(z1,"curry");function T1(e,t,r){return Math.max(e,Math.min(t,r))}c(T1,"guard");function QF(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness-parseFloat(e))}))}c(QF,"darken");var tN=z1(QF),nl=tN;function eR(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness+parseFloat(e))}))}c(eR,"lighten");var rN=z1(eR),X8=rN;function tR(e,t){if(t==="transparent")return t;var r=I1(t),n=typeof r.alpha=="number"?r.alpha:1,o=oe({},r,{alpha:T1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return eu(o)}c(tR,"transparentize");var nN=z1(tR),Nt=nN,ai=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),yo=c(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Nt(.1,e.color.defaultText):Nt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),Ee=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),wa={margin:"16px 0"},Ay=F.div(Ee),oN=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:r,target:n,...t})},"Link"),aN=F(oN)(Ee,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),lN=F.blockquote(Ee,wa,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));n1();var iN=c(e=>typeof e=="string","isReactChildString"),sN=/[\n\r]/g,uN=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),yo),cN=F(gs)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rR=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=s.Children.toArray(t);return o.filter(iN).some(a=>a.match(sN))?w.createElement(cN,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):w.createElement(uN,{...r,className:e},o)},"Code"),dN=F.dl(Ee,wa,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),pN=F.div(Ee),fN=F.h1(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),nR=F.h2(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),oR=F.h3(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),hN=F.h4(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),mN=F.h5(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),gN=F.h6(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),vN=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),yN=F.img({maxWidth:"100%"}),wN=F.li(Ee,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":yo({theme:e})})),bN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},EN=F.ol(Ee,wa,bN,{listStyle:"decimal"}),xN=F.p(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":yo({theme:e})})),CN=F.pre(Ee,wa,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),DN=F.span(Ee,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),SN=F.title(yo),kN=F.table(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),AN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},_N=F.ul(Ee,wa,AN,{listStyle:"disc"}),aR={h1:c(e=>w.createElement(fN,{...ge(e,"h1")}),"h1"),h2:c(e=>w.createElement(nR,{...ge(e,"h2")}),"h2"),h3:c(e=>w.createElement(oR,{...ge(e,"h3")}),"h3"),h4:c(e=>w.createElement(hN,{...ge(e,"h4")}),"h4"),h5:c(e=>w.createElement(mN,{...ge(e,"h5")}),"h5"),h6:c(e=>w.createElement(gN,{...ge(e,"h6")}),"h6"),pre:c(e=>w.createElement(CN,{...ge(e,"pre")}),"pre"),a:c(e=>w.createElement(aN,{...ge(e,"a")}),"a"),hr:c(e=>w.createElement(vN,{...ge(e,"hr")}),"hr"),dl:c(e=>w.createElement(dN,{...ge(e,"dl")}),"dl"),blockquote:c(e=>w.createElement(lN,{...ge(e,"blockquote")}),"blockquote"),table:c(e=>w.createElement(kN,{...ge(e,"table")}),"table"),img:c(e=>w.createElement(yN,{...ge(e,"img")}),"img"),div:c(e=>w.createElement(pN,{...ge(e,"div")}),"div"),span:c(e=>w.createElement(DN,{...ge(e,"span")}),"span"),li:c(e=>w.createElement(wN,{...ge(e,"li")}),"li"),ul:c(e=>w.createElement(_N,{...ge(e,"ul")}),"ul"),ol:c(e=>w.createElement(EN,{...ge(e,"ol")}),"ol"),p:c(e=>w.createElement(xN,{...ge(e,"p")}),"p"),code:c(e=>w.createElement(rR,{...ge(e,"code")}),"code"),tt:c(e=>w.createElement(SN,{...ge(e,"tt")}),"tt"),resetwrapper:c(e=>w.createElement(Ay,{...ge(e,"resetwrapper")}),"resetwrapper")},FN=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.positiveText)}`:"none"};default:return{}}}),nre=c(({...e})=>w.createElement(FN,{...e}),"Badge"),lR={};Ql(lR,{AccessibilityAltIcon:()=>ZU,AccessibilityIcon:()=>YU,AddIcon:()=>Wj,AdminIcon:()=>PU,AlertAltIcon:()=>wV,AlertIcon:()=>yV,AlignLeftIcon:()=>xH,AlignRightIcon:()=>CH,AppleIcon:()=>jH,ArrowBottomLeftIcon:()=>dU,ArrowBottomRightIcon:()=>pU,ArrowDownIcon:()=>lU,ArrowLeftIcon:()=>iU,ArrowRightIcon:()=>sU,ArrowSolidDownIcon:()=>hU,ArrowSolidLeftIcon:()=>mU,ArrowSolidRightIcon:()=>gU,ArrowSolidUpIcon:()=>fU,ArrowTopLeftIcon:()=>uU,ArrowTopRightIcon:()=>cU,ArrowUpIcon:()=>aU,AzureDevOpsIcon:()=>KH,BackIcon:()=>_U,BasketIcon:()=>jV,BatchAcceptIcon:()=>Mj,BatchDenyIcon:()=>Oj,BeakerIcon:()=>VV,BellIcon:()=>DV,BitbucketIcon:()=>YH,BoldIcon:()=>RH,BookIcon:()=>fH,BookmarkHollowIcon:()=>IV,BookmarkIcon:()=>zV,BottomBarIcon:()=>Ej,BottomBarToggleIcon:()=>xj,BoxIcon:()=>Aj,BranchIcon:()=>PH,BrowserIcon:()=>fj,ButtonIcon:()=>uV,CPUIcon:()=>Cj,CalendarIcon:()=>bH,CameraIcon:()=>XN,CategoryIcon:()=>gH,CertificateIcon:()=>MV,ChangedIcon:()=>Zj,ChatIcon:()=>nV,CheckIcon:()=>Lj,ChevronDownIcon:()=>QV,ChevronLeftIcon:()=>eU,ChevronRightIcon:()=>uR,ChevronSmallDownIcon:()=>rU,ChevronSmallLeftIcon:()=>nU,ChevronSmallRightIcon:()=>oU,ChevronSmallUpIcon:()=>tU,ChevronUpIcon:()=>JV,ChromaticIcon:()=>ZH,ChromeIcon:()=>qH,CircleHollowIcon:()=>FV,CircleIcon:()=>RV,ClearIcon:()=>Jj,CloseAltIcon:()=>Hj,CloseIcon:()=>Gj,CloudHollowIcon:()=>qV,CloudIcon:()=>GV,CogIcon:()=>Rj,CollapseIcon:()=>yU,CommandIcon:()=>fV,CommentAddIcon:()=>eV,CommentIcon:()=>Qj,CommentsIcon:()=>rV,CommitIcon:()=>MH,CompassIcon:()=>zU,ComponentDrivenIcon:()=>XH,ComponentIcon:()=>zN,ContrastIcon:()=>UN,ControlsIcon:()=>Pj,CopyIcon:()=>mH,CreditIcon:()=>sV,CrossIcon:()=>sR,DashboardIcon:()=>$U,DatabaseIcon:()=>Dj,DeleteIcon:()=>Kj,DiamondIcon:()=>TV,DirectionIcon:()=>NU,DiscordIcon:()=>JH,DocChartIcon:()=>SH,DocListIcon:()=>kH,DocumentIcon:()=>hH,DownloadIcon:()=>AU,DragIcon:()=>AH,EditIcon:()=>Fj,EllipsisIcon:()=>Tj,EmailIcon:()=>bV,ExpandAltIcon:()=>vU,ExpandIcon:()=>wU,EyeCloseIcon:()=>jN,EyeIcon:()=>HN,FaceHappyIcon:()=>qU,FaceNeutralIcon:()=>GU,FaceSadIcon:()=>KU,FacebookIcon:()=>QH,FailedIcon:()=>Xj,FastForwardIcon:()=>oH,FigmaIcon:()=>ej,FilterIcon:()=>DH,FlagIcon:()=>WV,FolderIcon:()=>vH,FormIcon:()=>$j,GDriveIcon:()=>tj,GithubIcon:()=>rj,GitlabIcon:()=>nj,GlobeIcon:()=>IU,GoogleIcon:()=>oj,GraphBarIcon:()=>EH,GraphLineIcon:()=>wH,GraphqlIcon:()=>aj,GridAltIcon:()=>$N,GridIcon:()=>TN,GrowIcon:()=>GN,HeartHollowIcon:()=>BV,HeartIcon:()=>LV,HomeIcon:()=>MU,HourglassIcon:()=>UV,InfoIcon:()=>mV,ItalicIcon:()=>IH,JumpToIcon:()=>_V,KeyIcon:()=>lV,LightningIcon:()=>VN,LightningOffIcon:()=>iR,LinkBrokenIcon:()=>CV,LinkIcon:()=>xV,LinkedinIcon:()=>dj,LinuxIcon:()=>VH,ListOrderedIcon:()=>TH,ListUnorderedIcon:()=>BH,LocationIcon:()=>TU,LockIcon:()=>oV,MarkdownIcon:()=>$H,MarkupIcon:()=>FH,MediumIcon:()=>lj,MemoryIcon:()=>Sj,MenuIcon:()=>_H,MergeIcon:()=>HH,MirrorIcon:()=>qN,MobileIcon:()=>mj,MoonIcon:()=>pH,NutIcon:()=>Ij,OutboxIcon:()=>iV,OutlineIcon:()=>BN,PaintBrushIcon:()=>KN,PaperClipIcon:()=>zH,ParagraphIcon:()=>LH,PassedIcon:()=>Yj,PhoneIcon:()=>EV,PhotoDragIcon:()=>LN,PhotoIcon:()=>IN,PinAltIcon:()=>Vj,PinIcon:()=>BU,PlayAllHollowIcon:()=>sH,PlayBackIcon:()=>tH,PlayHollowIcon:()=>iH,PlayIcon:()=>eH,PlayNextIcon:()=>rH,PlusIcon:()=>Nj,PointerDefaultIcon:()=>dV,PointerHandIcon:()=>pV,PowerIcon:()=>_j,PrintIcon:()=>yH,ProceedIcon:()=>FU,ProfileIcon:()=>WU,PullRequestIcon:()=>NH,QuestionIcon:()=>gV,RSSIcon:()=>SV,RedirectIcon:()=>xU,ReduxIcon:()=>ij,RefreshIcon:()=>RU,ReplyIcon:()=>DU,RepoIcon:()=>OH,RequestChangeIcon:()=>tV,RewindIcon:()=>nH,RulerIcon:()=>YN,SaveIcon:()=>hV,SearchIcon:()=>ON,ShareAltIcon:()=>kV,ShareIcon:()=>AV,ShieldIcon:()=>HV,SideBySideIcon:()=>uH,SidebarAltIcon:()=>yj,SidebarAltToggleIcon:()=>wj,SidebarIcon:()=>vj,SidebarToggleIcon:()=>bj,SpeakerIcon:()=>QN,StackedIcon:()=>cH,StarHollowIcon:()=>$V,StarIcon:()=>OV,StatusFailIcon:()=>YV,StatusPassIcon:()=>XV,StatusWarnIcon:()=>ZV,StickerIcon:()=>KV,StopAltHollowIcon:()=>lH,StopAltIcon:()=>aH,StopIcon:()=>ZN,StorybookIcon:()=>GH,StructureIcon:()=>kj,SubtractIcon:()=>qj,SunIcon:()=>dH,SupportIcon:()=>vV,SwitchAltIcon:()=>WN,SyncIcon:()=>SU,TabletIcon:()=>hj,ThumbsUpIcon:()=>NV,TimeIcon:()=>LU,TimerIcon:()=>OU,TransferIcon:()=>EU,TrashIcon:()=>jj,TwitterIcon:()=>sj,TypeIcon:()=>cV,UbuntuIcon:()=>UH,UndoIcon:()=>CU,UnfoldIcon:()=>bU,UnlockIcon:()=>aV,UnpinIcon:()=>Uj,UploadIcon:()=>kU,UserAddIcon:()=>VU,UserAltIcon:()=>jU,UserIcon:()=>HU,UsersIcon:()=>UU,VSCodeIcon:()=>cj,VerifiedIcon:()=>PV,VideoIcon:()=>JN,WandIcon:()=>Bj,WatchIcon:()=>gj,WindowsIcon:()=>WH,WrenchIcon:()=>zj,XIcon:()=>pj,YoutubeIcon:()=>uj,ZoomIcon:()=>MN,ZoomOutIcon:()=>PN,ZoomResetIcon:()=>NN,iconList:()=>RN});var RN=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],IN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),zN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),TN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),BN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),LN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),s.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),$N=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),ON=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),MN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),PN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),NN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),HN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),jN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),VN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),iR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),UN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),WN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),qN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),GN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),s.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),KN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),YN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),ZN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),XN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),JN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),QN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),s.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),s.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),eH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),tH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),rH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),nH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),oH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),aH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),lH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),iH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),sH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),uH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),cH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),dH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),s.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3492"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3493"},s.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),fH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),hH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),mH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),gH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),vH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),yH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),wH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),bH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),EH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),xH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),CH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),DH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),SH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),kH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),AH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),_H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),FH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),RH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),IH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),zH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),TH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),BH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),LH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),$H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),OH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),MH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),PH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),NH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),jH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),VH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),UH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},s.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3497"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),WH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),qH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3496"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),GH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),KH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},s.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3503"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),YH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),ZH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),XH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),JH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),QH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),Ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),Cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),Dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),Sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),Aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),_j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),s.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),Fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),Lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),$j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),Oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),Nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),Hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),sR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),Vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3502"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},s.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3501"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),Yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),Zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),Xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),Jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),Qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),eV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),tV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),rV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),nV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),oV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),aV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},s.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3614"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),iV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),s.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),sV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),uV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),s.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),cV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),dV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),pV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),fV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),hV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),mV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),gV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),yV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),wV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),bV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),EV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),xV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),CV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),DV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),SV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),kV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),AV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),_V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),s.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),FV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),RV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),IV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),zV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),TV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1449_588"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),BV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),LV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),$V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),OV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),MV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),PV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),NV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),jV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),s.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),s.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),VV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),UV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),WV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),qV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),GV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),KV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),YV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),ZV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),XV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),JV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),QV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),eU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),uR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),tU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),rU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),nU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),oU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),aU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),lU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),iU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),sU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),uU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),cU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),dU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),pU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),fU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),hU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),mU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),gU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),vU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),yU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),wU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),bU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),s.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),s.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),EU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),xU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),CU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),DU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),SU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),kU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),AU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),_U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),FU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),RU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),IU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),zU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),TU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),BU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),LU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),$U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),OU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),MU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),PU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),s.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),NU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},s.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3594"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),HU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),jU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),VU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),UU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),s.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),WU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),qU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),KU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),YU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),s.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ZU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),XU=0,JU=c(e=>e.button===XU&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),QU=c((e,t)=>{JU(e)&&(e.preventDefault(),t(e))},"cancelled"),eW=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),tW=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:nl(.07,e.color.secondary),"svg path:not([fill])":{fill:nl(.07,e.color.secondary)}},"&:active":{color:nl(.1,e.color.secondary),"svg path:not([fill])":{fill:nl(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),bl=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...i})=>w.createElement(tW,{...i,onClick:r&&e?u=>QU(u,r):r,className:a},w.createElement(eW,{withArrow:n,containsIcon:o},t,n&&w.createElement(uR,null))),"Link"),ore=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),Zo=[],Ul=null,rW=s.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(n1(),fv));return Zo.length>0&&(Zo.forEach(t=>{e.registerLanguage(...t)}),Zo=[]),Ul===null&&(Ul=e),{default:c(t=>w.createElement(e,{...t}),"default")}}),nW=s.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(n1(),fv)),Promise.resolve().then(()=>(sP(),N_))]);return Zo.length>0&&(Zo.forEach(r=>{e.registerLanguage(...r)}),Zo=[]),Ul===null&&(Ul=e),{default:c(r=>w.createElement(e,{...r,formatter:t}),"default")}}),_y=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(nW,{...e}):w.createElement(rW,{...e})),"SyntaxHighlighter");_y.registerLanguage=(...e)=>{if(Ul!==null){Ul.registerLanguage(...e);return}Zo.push(e)};n1();tS();var cR={};Ql(cR,{Close:()=>EI,Content:()=>yI,Description:()=>bI,Dialog:()=>nI,DialogClose:()=>hI,DialogContent:()=>uI,DialogDescription:()=>fI,DialogOverlay:()=>sI,DialogPortal:()=>iI,DialogTitle:()=>pI,DialogTrigger:()=>oI,Overlay:()=>vI,Portal:()=>gI,Root:()=>mI,Title:()=>wI,Trigger:()=>QW,WarningProvider:()=>JW,createDialogScope:()=>jW});wr();function gn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(gn,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function dR(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(dR,"$6ed0406888f73fc4$var$setRef");function B1(...e){return t=>e.forEach(r=>dR(r,t))}c(B1,"$6ed0406888f73fc4$export$43e446d32b3d21af");function ba(...e){return s.useCallback(B1(...e),e)}c(ba,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function pR(e,t){let r=s.createContext(t);function n(a){let{children:l,...i}=a,u=s.useMemo(()=>i,Object.values(i));return s.createElement(r.Provider,{value:u},l)}c(n,"Provider");function o(a){let l=s.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return c(o,"useContext"),n.displayName=e+"Provider",[n,o]}c(pR,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function fR(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return s.createElement(g.Provider,{value:C},f)}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext"),d.displayName=a+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,hR(o,...t)]}c(fR,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function hR(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(hR,"$c512c27ab02ef895$var$composeContextScopes");var f5=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},oW=s.useId||(()=>{}),aW=0;function l0(e){let[t,r]=s.useState(oW());return f5(()=>{e||r(n=>n??String(aW++))},[e]),e||(t?`radix-${t}`:"")}c(l0,"$1746a345f3d73bb7$export$f680877a34711e37");function co(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(co,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function mR({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,o]=gR({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:n,i=co(r),u=s.useCallback(d=>{if(a){let p=typeof d=="function"?d(e):d;p!==e&&i(p)}else o(d)},[a,e,o,i]);return[l,u]}c(mR,"$71cd76cc60e0454e$export$6f32135080cb4c3");function gR({defaultProp:e,onChange:t}){let r=s.useState(e),[n]=r,o=s.useRef(n),a=co(t);return s.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}c(gR,"$71cd76cc60e0454e$var$useUncontrolledState");wr();wr();wr();var vR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(yR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(h5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(h5,oe({},n,{ref:t}),r)});vR.displayName="Slot";var h5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...wR(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});h5.displayName="SlotClone";var lW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function yR(e){return s.isValidElement(e)&&e.type===lW}c(yR,"$5e63c961fc1ce211$var$isSlottable");function wR(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(wR,"$5e63c961fc1ce211$var$mergeProps");var iW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wo=iW.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?vR:t;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(i,oe({},l,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bR(e,t){e&&fu.flushSync(()=>e.dispatchEvent(t))}c(bR,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function ER(e,t=globalThis==null?void 0:globalThis.document){let r=co(e);s.useEffect(()=>{let n=c(o=>{o.key==="Escape"&&r(o)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(ER,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var m5="dismissableLayer.update",sW="dismissableLayer.pointerDownOutside",uW="dismissableLayer.focusOutside",J8,cW=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dW=s.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:i,onDismiss:u,...d}=e,p=s.useContext(cW),[m,h]=s.useState(null),f=(r=m==null?void 0:m.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=s.useState({}),g=ba(t,A=>h(A)),C=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),y=C.indexOf(b),E=m?C.indexOf(m):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,D=E>=y,S=xR(A=>{let _=A.target,R=[...p.branches].some(z=>z.contains(_));!D||R||(a==null||a(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f),k=CR(A=>{let _=A.target;[...p.branches].some(R=>R.contains(_))||(l==null||l(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f);return ER(A=>{E===p.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&u&&(A.preventDefault(),u()))},f),s.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(J8=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),g5(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=J8)}},[m,f,n,p]),s.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),g5())},[m,p]),s.useEffect(()=>{let A=c(()=>v({}),"handleUpdate");return document.addEventListener(m5,A),()=>document.removeEventListener(m5,A)},[]),s.createElement(wo.div,oe({},d,{ref:g,style:{pointerEvents:x?D?"auto":"none":void 0,...e.style},onFocusCapture:gn(e.onFocusCapture,k.onFocusCapture),onBlurCapture:gn(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:gn(e.onPointerDownCapture,S.onPointerDownCapture)}))});function xR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{let a=c(i=>{if(i.target&&!n.current){let u=function(){Fy(sW,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(xR,"$5cb92bef7577960e$var$usePointerDownOutside");function CR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1);return s.useEffect(()=>{let o=c(a=>{a.target&&!n.current&&Fy(uW,r,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(CR,"$5cb92bef7577960e$var$useFocusOutside");function g5(){let e=new CustomEvent(m5);document.dispatchEvent(e)}c(g5,"$5cb92bef7577960e$var$dispatchUpdate");function Fy(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?bR(o,a):o.dispatchEvent(a)}c(Fy,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");wr();var $h="focusScope.autoFocusOnMount",Oh="focusScope.autoFocusOnUnmount",Q8={bubbles:!1,cancelable:!0},pW=s.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...l}=e,[i,u]=s.useState(null),d=co(o),p=co(a),m=s.useRef(null),h=ba(t,g=>u(g)),f=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(n){let g=function(E){if(f.paused||!i)return;let x=E.target;i.contains(x)?m.current=x:un(m.current,{select:!0})},C=function(E){if(f.paused||!i)return;let x=E.relatedTarget;x!==null&&(i.contains(x)||un(m.current,{select:!0}))},b=function(E){if(document.activeElement===document.body)for(let x of E)x.removedNodes.length>0&&un(i)};c(g,"handleFocusIn"),c(C,"handleFocusOut"),c(b,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",C);let y=new MutationObserver(b);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),y.disconnect()}}},[n,i,f.paused]),s.useEffect(()=>{if(i){eE.add(f);let g=document.activeElement;if(!i.contains(g)){let C=new CustomEvent($h,Q8);i.addEventListener($h,d),i.dispatchEvent(C),C.defaultPrevented||(DR(FR(Ry(i)),{select:!0}),document.activeElement===g&&un(i))}return()=>{i.removeEventListener($h,d),setTimeout(()=>{let C=new CustomEvent(Oh,Q8);i.addEventListener(Oh,p),i.dispatchEvent(C),C.defaultPrevented||un(g??document.body,{select:!0}),i.removeEventListener(Oh,p),eE.remove(f)},0)}}},[i,d,p,f]);let v=s.useCallback(g=>{if(!r&&!n||f.paused)return;let C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(C&&b){let y=g.currentTarget,[E,x]=SR(y);E&&x?!g.shiftKey&&b===x?(g.preventDefault(),r&&un(E,{select:!0})):g.shiftKey&&b===E&&(g.preventDefault(),r&&un(x,{select:!0})):b===y&&g.preventDefault()}},[r,n,f.paused]);return s.createElement(wo.div,oe({tabIndex:-1},l,{ref:h,onKeyDown:v}))});function DR(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(un(n,{select:t}),document.activeElement!==r)return}c(DR,"$d3863c46a17e8a28$var$focusFirst");function SR(e){let t=Ry(e),r=v5(t,e),n=v5(t.reverse(),e);return[r,n]}c(SR,"$d3863c46a17e8a28$var$getTabbableEdges");function Ry(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(Ry,"$d3863c46a17e8a28$var$getTabbableCandidates");function v5(e,t){for(let r of e)if(!kR(r,{upTo:t}))return r}c(v5,"$d3863c46a17e8a28$var$findVisible");function kR(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(kR,"$d3863c46a17e8a28$var$isHidden");function AR(e){return e instanceof HTMLInputElement&&"select"in e}c(AR,"$d3863c46a17e8a28$var$isSelectableInput");function un(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&AR(e)&&t&&e.select()}}c(un,"$d3863c46a17e8a28$var$focus");var eE=_R();function _R(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=y5(e,t),e.unshift(t)},remove(t){var r;e=y5(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(_R,"$d3863c46a17e8a28$var$createFocusScopesStack");function y5(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(y5,"$d3863c46a17e8a28$var$arrayRemove");function FR(e){return e.filter(t=>t.tagName!=="A")}c(FR,"$d3863c46a17e8a28$var$removeLinks");wr();var fW=s.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?lD.createPortal(s.createElement(wo.div,oe({},o,{ref:t})),n):null});function RR(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}c(RR,"$fe963b355347cc68$export$3e6543de14f8614f");var L1=c(e=>{let{present:t,children:r}=e,n=IR(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=ba(n.ref,o.ref);return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");L1.displayName="Presence";function IR(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=RR(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=ts(n.current);a.current=i==="mounted"?d:"none"},[i]),f5(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=ts(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),f5(()=>{if(t){let d=c(m=>{let h=ts(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=ts(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(IR,"$921a889cee6df7e8$var$usePresence");function ts(e){return(e==null?void 0:e.animationName)||"none"}c(ts,"$921a889cee6df7e8$var$getAnimationName");var Mh=0;function zR(){s.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:w5()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:w5()),Mh++,()=>{Mh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Mh--}},[])}c(zR,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function w5(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(w5,"$3db38b7d1fb3fe6a$var$createFocusGuard");var $r=c(function(){return $r=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return wW;var t=bW(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),xW=WR(),Dd="data-scroll-locked",CW=c(function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return r===void 0&&(r="margin"),` - .`.concat(hW,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(i,"px ").concat(n,`; - } - body[`).concat(Dd,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(o,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(l,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(i,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(i0,` { - right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(s0,` { - margin-right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(i0," .").concat(i0,` { - right: 0 `).concat(n,`; - } - - .`).concat(s0," .").concat(s0,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(Dd,`] { - `).concat(mW,": ").concat(i,`px; - } -`)},"getStyles"),DW=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=s.useMemo(function(){return EW(o)},[o]);return s.useEffect(function(){return document.body.setAttribute(Dd,""),function(){document.body.removeAttribute(Dd)}},[]),s.createElement(xW,{styles:CW(a,!t,o,r?"":"!important")})},"RemoveScrollBar"),b5=!1;if(typeof window<"u")try{$i=Object.defineProperty({},"passive",{get:c(function(){return b5=!0,!0},"get")}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{b5=!1}var $i,Ia=b5?{}:!1,SW=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),qR=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!SW(e)&&r[t]==="visible")},"elementCanBeScrolled"),kW=c(function(e){return qR(e,"overflowY")},"elementCouldBeVScrolled"),AW=c(function(e){return qR(e,"overflowX")},"elementCouldBeHScrolled"),rE=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=GR(e,r);if(n){var o=KR(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),_W=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),FW=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),GR=c(function(e,t){return e==="v"?kW(t):AW(t)},"elementCouldBeScrolled"),KR=c(function(e,t){return e==="v"?_W(t):FW(t)},"getScrollVariables"),RW=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),IW=c(function(e,t,r,n,o){var a=RW(e,window.getComputedStyle(t).direction),l=a*n,i=r.target,u=t.contains(i),d=!1,p=l>0,m=0,h=0;do{var f=KR(e,i),v=f[0],g=f[1],C=f[2],b=g-C-a*v;(v||b)&&GR(e,i)&&(m+=b,h+=v),i=i.parentNode}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(p&&(o&&m===0||!o&&l>m)||!p&&(o&&h===0||!o&&-l>h))&&(d=!0),d},"handleScroll"),Dc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),nE=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),oE=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),zW=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),TW=c(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),BW=0,za=[];function YR(e){var t=s.useRef([]),r=s.useRef([0,0]),n=s.useRef(),o=s.useState(BW++)[0],a=s.useState(function(){return WR()})[0],l=s.useRef(e);s.useEffect(function(){l.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=TR([e.lockRef.current],(e.shards||[]).map(oE),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=s.useCallback(function(g,C){if("touches"in g&&g.touches.length===2)return!l.current.allowPinchZoom;var b=Dc(g),y=r.current,E="deltaX"in g?g.deltaX:y[0]-b[0],x="deltaY"in g?g.deltaY:y[1]-b[1],D,S=g.target,k=Math.abs(E)>Math.abs(x)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=rE(k,S);if(!A)return!0;if(A?D=k:(D=k==="v"?"h":"v",A=rE(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||x)&&(n.current=D),!D)return!0;var _=n.current||D;return IW(_,C,g,_==="h"?E:x,!0)},[]),u=s.useCallback(function(g){var C=g;if(!(!za.length||za[za.length-1]!==a)){var b="deltaY"in C?nE(C):Dc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&zW(D.delta,b)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var E=(l.current.shards||[]).map(oE).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=E.length>0?i(C,E[0]):!l.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=s.useCallback(function(g,C,b,y){var E={name:g,delta:C,target:b,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(x){return x!==E})},1)},[]),p=s.useCallback(function(g){r.current=Dc(g),n.current=void 0},[]),m=s.useCallback(function(g){d(g.type,nE(g),g.target,i(g,e.lockRef.current))},[]),h=s.useCallback(function(g){d(g.type,Dc(g),g.target,i(g,e.lockRef.current))},[]);s.useEffect(function(){return za.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Ia),document.addEventListener("touchmove",u,Ia),document.addEventListener("touchstart",p,Ia),function(){za=za.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,Ia),document.removeEventListener("touchmove",u,Ia),document.removeEventListener("touchstart",p,Ia)}},[]);var f=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(a,{styles:TW(o)}):null,f?s.createElement(DW,{gapMode:"margin"}):null)}c(YR,"RemoveScrollSideCar");var LW=NR(HR,YR),ZR=s.forwardRef(function(e,t){return s.createElement($1,$r({},e,{ref:t,sideCar:LW}))});ZR.classNames=$1.classNames;var $W=ZR,OW=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Ta=new WeakMap,Sc=new WeakMap,kc={},Hh=0,XR=c(function(e){return e&&(e.host||XR(e.parentNode))},"unwrapHost"),MW=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=XR(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),PW=c(function(e,t,r,n){var o=MW(t,Array.isArray(e)?e:[e]);kc[r]||(kc[r]=new WeakMap);var a=kc[r],l=[],i=new Set,u=new Set(o),d=c(function(m){!m||i.has(m)||(i.add(m),d(m.parentNode))},"keep");o.forEach(d);var p=c(function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(h){if(i.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(Ta.get(h)||0)+1,C=(a.get(h)||0)+1;Ta.set(h,g),a.set(h,C),l.push(h),g===1&&v&&Sc.set(h,!0),C===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),i.clear(),Hh++,function(){l.forEach(function(m){var h=Ta.get(m)-1,f=a.get(m)-1;Ta.set(m,h),a.set(m,f),h||(Sc.has(m)||m.removeAttribute(n),Sc.delete(m)),f||m.removeAttribute(r)}),Hh--,Hh||(Ta=new WeakMap,Ta=new WeakMap,Sc=new WeakMap,kc={})}},"applyAttributeToOthers"),NW=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||OW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),PW(n,o,r,"aria-hidden")):function(){return null}},"hideOthers");wr();var JR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(QR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(E5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(E5,oe({},n,{ref:t}),r)});JR.displayName="Slot";var E5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...eI(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});E5.displayName="SlotClone";var HW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function QR(e){return s.isValidElement(e)&&e.type===HW}c(QR,"$5e63c961fc1ce211$var$isSlottable");function eI(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(eI,"$5e63c961fc1ce211$var$mergeProps");var tI="Dialog",[rI,jW]=fR(tI),[VW,Er]=rI(tI),nI=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,i=s.useRef(null),u=s.useRef(null),[d=!1,p]=mR({prop:n,defaultProp:o,onChange:a});return s.createElement(VW,{scope:t,triggerRef:i,contentRef:u,contentId:l0(),titleId:l0(),descriptionId:l0(),open:d,onOpenChange:p,onOpenToggle:s.useCallback(()=>p(m=>!m),[p]),modal:l},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),UW="DialogTrigger",oI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(UW,r),a=ba(t,o.triggerRef);return s.createElement(wo.button,oe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},n,{ref:a,onClick:gn(e.onClick,o.onOpenToggle)}))}),aI="DialogPortal",[WW,lI]=rI(aI,{forceMount:void 0}),iI=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Er(aI,t);return s.createElement(WW,{scope:t,forceMount:r},s.Children.map(n,l=>s.createElement(L1,{present:r||a.open},s.createElement(fW,{asChild:!0,container:o},l))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),x5="DialogOverlay",sI=s.forwardRef((e,t)=>{let r=lI(x5,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(x5,e.__scopeDialog);return a.modal?s.createElement(L1,{present:n||a.open},s.createElement(qW,oe({},o,{ref:t}))):null}),qW=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(x5,r);return s.createElement($W,{as:JR,allowPinchZoom:!0,shards:[o.contentRef]},s.createElement(wo.div,oe({"data-state":O1(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wl="DialogContent",uI=s.forwardRef((e,t)=>{let r=lI(Wl,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(Wl,e.__scopeDialog);return s.createElement(L1,{present:n||a.open},a.modal?s.createElement(GW,oe({},o,{ref:t})):s.createElement(KW,oe({},o,{ref:t})))}),GW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(null),o=ba(t,r.contentRef,n);return s.useEffect(()=>{let a=n.current;if(a)return NW(a)},[]),s.createElement(cI,oe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gn(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),(l=r.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:gn(e.onPointerDownOutside,a=>{let l=a.detail.originalEvent,i=l.button===0&&l.ctrlKey===!0;(l.button===2||i)&&a.preventDefault()}),onFocusOutside:gn(e.onFocusOutside,a=>a.preventDefault())}))}),KW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(!1),o=s.useRef(!1);return s.createElement(cI,oe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(a=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},"onCloseAutoFocus"),onInteractOutside:c(a=>{var l,i;(l=e.onInteractOutside)===null||l===void 0||l.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let u=a.target;!((i=r.triggerRef.current)===null||i===void 0)&&i.contains(u)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()},"onInteractOutside")}))}),cI=s.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=e,i=Er(Wl,r),u=s.useRef(null),d=ba(t,u);return zR(),s.createElement(s.Fragment,null,s.createElement(pW,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},s.createElement(dW,oe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":O1(i.open)},l,{ref:d,onDismiss:c(()=>i.onOpenChange(!1),"onDismiss")}))),!1)}),dI="DialogTitle",pI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(dI,r);return s.createElement(wo.h2,oe({id:o.titleId},n,{ref:t}))}),YW="DialogDescription",fI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(YW,r);return s.createElement(wo.p,oe({id:o.descriptionId},n,{ref:t}))}),ZW="DialogClose",hI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(ZW,r);return s.createElement(wo.button,oe({type:"button"},n,{ref:t,onClick:gn(e.onClick,()=>o.onOpenChange(!1))}))});function O1(e){return e?"open":"closed"}c(O1,"$5d3850c4d0b4e6c7$var$getState");var XW="DialogTitleWarning",[JW,are]=pR(XW,{contentName:Wl,titleName:dI,docsSlug:"dialog"}),mI=nI,QW=oI,gI=iI,vI=sI,yI=uI,wI=pI,bI=fI,EI=hI,xI={};Ql(xI,{Actions:()=>sq,CloseButton:()=>kI,Col:()=>_I,Container:()=>SI,Content:()=>oq,Description:()=>iq,Error:()=>uq,ErrorWrapper:()=>FI,Header:()=>aq,Overlay:()=>DI,Row:()=>AI,Title:()=>lq});aS();const{deprecate:eq}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Ea=s.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:i,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=W0);let m=n,h=r,[f,v]=s.useState(!1),g=c(C=>{i&&i(C),t!=="none"&&v(!0)},"handleClick");if(s.useEffect(()=>{let C=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(C)},[f]),u.primary&&(m="solid",h="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(m="outline",h="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let C=w.Children.toArray(u.children).filter(b=>typeof b=="string"&&b!=="");eq(`Use of deprecated props in the button ${C.length>0?`"${C.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return w.createElement(tq,{as:p,ref:d,variant:m,size:h,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...u})});Ea.displayName="Button";var tq=F("button",{shouldForwardProp:c(e=>Y5(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:l="none",padding:i})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:i==="small"&&r==="small"?"0 7px":i==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Nt(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Nt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Nt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${eu(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?Nt(.86,e.color.secondary):e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:focus":{boxShadow:`${eu(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),Xo=s.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>w.createElement(Ea,{padding:e,variant:t,ref:n,...r}));Xo.displayName="IconButton";var CI=Cn({from:{opacity:0},to:{opacity:1}}),rq=Cn({from:{maxHeight:0},to:{}}),nq=Cn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),DI=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${CI} 200ms`}),SI=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${nq} 200ms`,"&:focus-visible":{outline:"none"}})),kI=c(e=>w.createElement(EI,{asChild:!0},w.createElement(Xo,{...e},w.createElement(sR,null))),"CloseButton"),oq=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),AI=F.div({display:"flex",justifyContent:"space-between",gap:16}),_I=F.div({display:"flex",flexDirection:"column",gap:4}),aq=c(e=>w.createElement(AI,null,w.createElement(_I,{...e}),w.createElement(kI,null)),"Header"),lq=F(wI)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),iq=F(bI)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),sq=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),FI=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${rq} 300ms, ${CI} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),uq=c(({children:e,...t})=>w.createElement(FI,{...t},w.createElement("div",null,e)),"Error");function RI({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=c(u=>u.preventDefault(),"onInteractOutside"),className:a,container:l,...i}){return w.createElement(mI,{...i},w.createElement(gI,{container:l},w.createElement(vI,{asChild:!0},w.createElement(DI,null)),w.createElement(yI,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},w.createElement(SI,{className:a,width:t,height:r},e))))}c(RI,"BaseModal");var lre=Object.assign(RI,xI,{Dialog:cR}),cq=c(e=>typeof e=="number"?e:Number(e),"toNumber"),dq=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${om}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${om}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),ire=c(({col:e,row:t,outer:r,children:n,...o})=>{let a=cq(typeof r=="number"||!r?r:e||t);return w.createElement(dq,{col:e,row:t,outer:a,...o},n)},"Spaced"),pq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),fq=F.div(),hq=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),sre=c(({children:e,...t})=>{let[r,n]=s.Children.toArray(e);return w.createElement(hq,{...t},w.createElement(pq,null,r),n&&w.createElement(fq,null,n))},"Placeholder");pv();function II(e,t){var r=s.useRef(null),n=s.useRef(null);n.current=t;var o=s.useRef(null);s.useEffect(function(){a()});var a=s.useCallback(function(){var l=o.current,i=n.current,u=l||(i?i instanceof Element?i:i.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return s.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),s.useCallback(function(l){o.current=l,a()},[a])}c(II,"useResolvedElement");function C5(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(C5,"extractSize");function zy(e){e===void 0&&(e={});var t=e.onResize,r=s.useRef(void 0);r.current=t;var n=e.round||Math.round,o=s.useRef(),a=s.useState({width:void 0,height:void 0}),l=a[0],i=a[1],u=s.useRef(!1);s.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=s.useRef({width:void 0,height:void 0}),p=II(s.useCallback(function(m){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=C5(f,v,"inlineSize"),C=C5(f,v,"blockSize"),b=g?n(g):void 0,y=C?n(C):void 0;if(d.current.width!==b||d.current.height!==y){var E={width:b,height:y};d.current.width=b,d.current.height=y,r.current?r.current(E):u.current||i(E)}})}),o.current.instance.observe(m,{box:e.box}),function(){o.current&&o.current.instance.unobserve(m)}},[e.box,n]),e.ref);return s.useMemo(function(){return{ref:p,width:l.width,height:l.height}},[p,l.width,l.height])}c(zy,"useResizeObserver");var mq=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function zI({scale:e,children:t}){let r=s.useRef(null),[n,o]=s.useState(0),a=s.useCallback(({height:l})=>{l&&o(l/e)},[e]);return s.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),zy({ref:r,onResize:a}),w.createElement(mq,{scale:e,elementHeight:n},w.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(zI,"ZoomElement");var TI=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return w.createElement(w.Fragment,null,t)}};c(TI,"ZoomIFrame");var gq=TI,vq={Element:zI,IFrame:gq};tv();var{document:yq}=Qd,wq=F.strong(({theme:e})=>({color:e.color.orange})),bq=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),aE=F.em(({theme:e})=>({color:e.textMutedColor})),Eq=/(Error): (.*)\n/,xq=/at (?:(.*) )?\(?(.+)\)?/,Cq=/([^@]+)?(?:\/<)?@(.+)?/,Dq=/([^@]+)?@(.+)?/,Sq=c(({error:e})=>{if(!e)return w.createElement(s.Fragment,null,"This error has no stack or message");if(!e.stack)return w.createElement(s.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(Eq);if(!r)return w.createElement(s.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...l]=a.map(i=>{let u=i.match(xq)||i.match(Cq)||i.match(Dq);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(yq.location.origin,"")}:null}).filter(Boolean);return w.createElement(s.Fragment,null,w.createElement("span",null,n),": ",w.createElement(wq,null,o),w.createElement("br",null),l.map((i,u)=>i!=null&&i.name?w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(bq,null,i.name)," (",w.createElement(aE,null,i.location),")",w.createElement("br",null)):w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(aE,null,i==null?void 0:i.location),w.createElement("br",null))))},"ErrorFormatter"),kq=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Aq=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),_q=c(({label:e,children:t,...r})=>w.createElement(kq,{...r},e?w.createElement(Aq,null,w.createElement("span",null,e)):null,t),"Field");wr();rv();var Fq=s.useLayoutEffect,Rq=Fq,Iq=c(function(e){var t=s.useRef(e);return Rq(function(){t.current=e}),t},"useLatest"),lE=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),zq=c(function(e,t){var r=s.useRef();return s.useCallback(function(n){e.current=n,r.current&&lE(r.current,null),r.current=t,t&&lE(t,n)},[t])},"useComposedRef"),Tq=zq,iE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Bq=c(function(e){Object.keys(iE).forEach(function(t){e.style.setProperty(t,iE[t],"important")})},"forceHiddenStyles"),sE=Bq,nt=null,uE=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function BI(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),nt||(nt=document.createElement("textarea"),nt.setAttribute("tabindex","-1"),nt.setAttribute("aria-hidden","true"),sE(nt)),nt.parentNode===null&&document.body.appendChild(nt);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,i=l.boxSizing;Object.keys(l).forEach(function(h){var f=h;nt.style[f]=l[f]}),sE(nt),nt.value=t;var u=uE(nt,e);nt.value=t,u=uE(nt,e),nt.value="x";var d=nt.scrollHeight-o,p=d*r;i==="border-box"&&(p=p+o+a),u=Math.max(p,u);var m=d*n;return i==="border-box"&&(m=m+o+a),u=Math.min(m,u),[u,d]}c(BI,"calculateNodeHeight");var cE=c(function(){},"noop"),Lq=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),$q=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Oq=!!document.documentElement.currentStyle,Mq=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Lq($q,t),n=r.boxSizing;if(n==="")return null;Oq&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},"getSizingData"),Pq=Mq;function Ty(e,t,r){var n=Iq(r);s.useLayoutEffect(function(){var o=c(function(a){return n.current(a)},"handler");if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}c(Ty,"useListener");var Nq=c(function(e){Ty(window,"resize",e)},"useWindowResizeListener"),Hq=c(function(e){Ty(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),jq=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Vq=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?cE:a,i=e.onHeightChange,u=i===void 0?cE:i,d=t1(e,jq),p=d.value!==void 0,m=s.useRef(null),h=Tq(m,t),f=s.useRef(0),v=s.useRef(),g=c(function(){var b=m.current,y=r&&v.current?v.current:Pq(b);if(y){v.current=y;var E=BI(y,b.value||b.placeholder||"x",o,n),x=E[0],D=E[1];f.current!==x&&(f.current=x,b.style.setProperty("height",x+"px","important"),u(x,{rowHeight:D}))}},"resizeTextarea"),C=c(function(b){p||g(),l(b)},"handleChange");return s.useLayoutEffect(g),Nq(g),Hq(g),s.createElement("textarea",oe({},d,{onChange:C,ref:h}))},"TextareaAutosize"),Uq=s.forwardRef(Vq),Wq={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},By=c(({theme:e})=>({...Wq,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Ly=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),LI=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),$y=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),qq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("input",{...n,ref:o})},"Input")))(By,Ly,LI,$y,{minHeight:32}),{displayName:"Input"}),Gq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("select",{...n,ref:o})},"Select")))(By,Ly,$y,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Kq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement(Uq,{...n,ref:o})},"Textarea")))(By,Ly,LI,$y,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),zu=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:_q,Input:qq,Select:Gq,Textarea:Kq,Button:Ea}),Yq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltip}))),cre=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Yq,{...e})),"WithTooltip"),Zq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltipPure}))),Xq=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Zq,{...e})),"WithTooltipPure"),Jq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Qq=F.span(),eG=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),tG=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),rG=F.div({padding:15,width:280,boxSizing:"border-box"}),dre=c(({title:e,desc:t,links:r})=>w.createElement(rG,null,w.createElement(tG,null,e&&w.createElement(Jq,null,e),t&&w.createElement(Qq,null,t)),r&&w.createElement(eG,null,r.map(({title:n,...o})=>w.createElement(bl,{...o,key:n},n)))),"TooltipMessage"),nG=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),pre=c(({note:e,...t})=>w.createElement(nG,{...t},e),"TooltipNote"),oG=We(e1(),1),aG=F(({active:e,loading:t,disabled:r,...n})=>w.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Nt(.7,t.color.defaultText)}:{}),lG=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),iG=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),sG=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),uG=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),cG=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),dG=(0,oG.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),pG=c(({loading:e=!1,title:t=w.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:l,href:i=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...m})=>{let h={active:o,disabled:a},f=dG(u,i,p);return w.createElement(cG,{...m,...h,...f},w.createElement(w.Fragment,null,d&&w.createElement(uG,{...h},d),t||r?w.createElement(iG,{isIndented:!!(!d&&l)},t&&w.createElement(aG,{...h,loading:e},t),r&&w.createElement(sG,{...h},r)):null,n&&w.createElement(lG,{...h},n)))},"ListItem"),fG=pG,hG=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),mG=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:o,title:a,href:l}=r,i=s.useCallback(u=>t==null?void 0:t(u,{id:e,active:n,disabled:o,title:a,href:l}),[t,e,n,o,a,l]);return w.createElement(fG,{id:`list-item-${e}`,...r,...t&&{onClick:i}})},"Item"),gG=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(o=>o.icon);return w.createElement(hG,{...r},e.map(o=>w.createElement(mG,{key:o.id,isIndented:n,LinkWrapper:t,...o})))},"TooltipLinkList");pv();var D5=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});D5.displayName="Side";var vG=c(({children:e,className:t,scrollable:r})=>r?w.createElement(G0,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),"UnstyledBar"),$I=F(vG)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});$I.displayName="Bar";var yG=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Oy=c(({children:e,backgroundColor:t,className:r,...n})=>{let[o,a]=s.Children.toArray(e);return w.createElement($I,{className:`sb-bar ${r}`,...n},w.createElement(yG,{bgColor:t},w.createElement(D5,{scrollable:n.scrollable,left:!0},o),a?w.createElement(D5,{right:!0},a):null))},"FlexBar");Oy.displayName="FlexBar";var wG=c(e=>typeof e.props.href=="string","isLink"),bG=c(e=>typeof e.props.href!="string","isButton");function OI({children:e,...t},r){let n={props:t,ref:r};if(wG(n))return w.createElement("a",{ref:n.ref,...n.props},e);if(bG(n))return w.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(OI,"ForwardRefFunction");var MI=s.forwardRef(OI);MI.displayName="ButtonOrLink";var M1=F(MI,{shouldForwardProp:Y5})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});M1.displayName="TabButton";var EG=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),xG=F.div(()=>({marginTop:6,padding:7,height:28})),fre=c(()=>w.createElement(xG,null,w.createElement(EG,null)),"IconButtonSkeleton"),CG=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),DG=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),SG=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),kG=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),PI=c(({title:e,description:t,footer:r})=>w.createElement(CG,null,w.createElement(DG,null,w.createElement(SG,null,e),t&&w.createElement(kG,null,t)),r),"EmptyTabContent"),NI=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),AG=c(e=>s.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof a=="function"?a:({active:l})=>w.createElement(NI,{active:l,role:"tabpanel"},a)}}),"childrenToList");xy();var _G=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),FG=F(M1)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function HI(e){let t=s.useRef(),r=s.useRef(),n=s.useRef(new Map),{width:o=1}=zy({ref:t}),[a,l]=s.useState(e),[i,u]=s.useState([]),d=s.useRef(e),p=s.useCallback(({menuName:h,actions:f})=>{let v=i.some(({active:b})=>b),[g,C]=s.useState(!1);return w.createElement(w.Fragment,null,w.createElement(Ed,{interactive:!0,visible:g,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(gG,{links:i.map(({title:b,id:y,color:E,active:x})=>({id:y,title:b,color:E,active:x,onClick:c(D=>{D.preventDefault(),f.onSelect(y)},"onClick")}))})},w.createElement(FG,{ref:r,active:v,preActive:g,style:{visibility:i.length?"visible":"hidden"},"aria-hidden":!i.length,className:"tabbutton",type:"button",role:"tab"},h,w.createElement(_G,{className:"addon-collapsible-icon",isActive:v||g}))),i.map(({title:b,id:y,color:E},x)=>{let D=`index-${x}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:E,role:"tab"},b)}))},[i]),m=s.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=i.length?h+f-v:h+f,C=[],b=0,y=e.filter(E=>{let{id:x}=E,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=h+b+S>g;return(!k||!D)&&C.push(E),b+=S,k});(C.length!==a.length||d.current!==e)&&(l(C),u(y),d.current=e)},[i.length,e,a]);return s.useLayoutEffect(m,[m,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:a,invisibleList:i,AddonTab:p}}c(HI,"useList");var RG="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",IG=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),jI=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});jI.displayName="TabBar";var zG=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${RG}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),hre=c(({active:e,render:t,children:r})=>w.createElement(NI,{active:e},t?t():r),"TabWrapper"),VI=s.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:o=!1,tools:a=null,backgroundColor:l,id:i=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let m=s.useMemo(()=>AG(e).map((b,y)=>({...b,active:t?b.id===t:y===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=HI(m),C=d??w.createElement(PI,{title:"Nothing found"});return!p&&m.length===0?C:w.createElement(IG,{absolute:n,bordered:o,id:i},w.createElement(Oy,{scrollable:!1,border:!0,backgroundColor:l},w.createElement(jI,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:b,id:y,active:E,color:x},D)=>{let S=`index-${D}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??S}`,ref:k=>{v.current.set(y,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:y,active:E,textColor:x,onClick:k=>{k.preventDefault(),r.onSelect(y)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(g,{menuName:u,actions:r})),a),w.createElement(zG,{id:"panel-tab-content",bordered:o,absolute:n},m.length?m.map(({id:b,active:y,render:E})=>w.createElement(E,{key:b,active:y},null)):C))});VI.displayName="Tabs";var S5=class extends s.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:o,menuName:a}=this.props,{selected:l}=this.state;return w.createElement(VI,{bordered:t,absolute:r,selected:l,backgroundColor:o,menuName:a,actions:this.handlers},n)}};c(S5,"TabsState"),S5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var TG=S5,UI=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});UI.displayName="Separator";var gre=c(e=>e.reduce((t,r,n)=>r?w.createElement(s.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?w.createElement(UI,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),BG=c(e=>{let t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),LG=c((e,t)=>{let r=BG(t);return e?t:r},"useUpdate"),vre=c(({active:e,children:t})=>w.createElement("div",{hidden:!e},LG(e,t)),"AddonPanel");const{deprecate:$G,logger:OG}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var MG=lR,PG=F.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,yre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||$G(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=k5[e]||null;if(!o)return OG.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let a=MG[o];return w.createElement(a,{...n})},"Icons"),wre=s.memo(c(function({icons:e=Object.keys(k5)}){return w.createElement(PG,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},k5[t])))},"Symbols")),k5={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},bre=c(({alt:e,...t})=>w.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?w.createElement("title",null,e):null,w.createElement("defs",null,w.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),w.createElement("mask",{id:"b",fill:"#fff"},w.createElement("use",{xlinkHref:"#a"})),w.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),w.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),Ere=c(e=>w.createElement("svg",{viewBox:"0 0 64 64",...e},w.createElement("title",null,"Storybook icon"),w.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),w.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),w.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),NG=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,HG=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${NG} 0.7s linear infinite`,mixBlendMode:"difference"})),dE=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),jG=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Nt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),VG=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),pE=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),UG=F(iR)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),WG=Cn` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,qG=F.span({"&::after":{content:"'...'",animation:`${WG} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GG=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(dE,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(UG,null),w.createElement(pE,null,t.message));if(e){let{value:o,modules:a}=e,{message:l}=e;return a&&(l+=` ${a.complete} / ${a.total} modules`),w.createElement(dE,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":l,role:"progressbar",...n},w.createElement(jG,null,w.createElement(VG,{style:{width:`${o*100}%`}})),w.createElement(pE,null,l,o<1&&w.createElement(qG,{key:l})))}return w.createElement(HG,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function WI(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),a=o?{...WI(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(a).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref"),YG=F.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${K.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Mr.fonts.mono}; - font-size: ${Mr.size.s2-1}px; -`,xre=c(({code:e,...t})=>w.createElement(YG,{id:"clipboard-code",...t},e),"ClipboardCode"),ZG=aR,XG={};Object.keys(aR).forEach(e=>{XG[e]=s.forwardRef((t,r)=>s.createElement(e,{...t,ref:r}))});var JG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),QG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),eK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),tK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),rK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),nK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),A5=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Cre=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),oK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),aK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),iK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),sK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),uK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),qI=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),cK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:dK,once:pK,logger:My}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:fE,composeConfigs:Dre,Preview:Sre,DocsContext:kre}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:hE,UPDATE_STORY_ARGS:fK,RESET_STORY_ARGS:hK,GLOBALS_UPDATED:mE,NAVIGATE_URL:mK}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:Are}=__STORYBOOK_MODULE_CHANNELS__;var GI=ua({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Ou=="function"&&Ou;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}for(var i=typeof Ou=="function"&&Ou,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),gK=ua({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),vK=ua({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,l,i=!0,u=" ";function d(x,D){var S=D.appendChild(m(x));if(x.children.length){var k=h(x.isCollapsed);x.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(x,D){var S=!1,k=h(S);if(D.forEach(function(A){d(A,k)}),l=x||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),D.length===0?l:l.appendChild(k)}function m(x){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute("href",r.basePath+"#"+x.id),S.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function h(x){var D=r.orderedList?"ol":"ul",S=document.createElement(D),k=r.listClass+u+r.extraListClasses;return x&&(k=k+u+r.collapsibleClass,k=k+u+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||a.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=v(x.offsetParent))),D}function g(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var S=x,k;if(i&&l!==null&&S.length>0){o.call(S,function(N,M){if(v(N)>D+r.headingsOffset+10){var j=M===0?M:M-1;return k=S[j],!0}else if(M===S.length-1)return k=S[S.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),_=l.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=l.querySelectorAll("."+r.linkClass);n.call(R,function(N){g(N,N.className.replace(u+r.activeLinkClass,""))});var z=l.querySelectorAll("."+r.listItemClass);n.call(z,function(N){g(N,N.className.replace(u+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=u+r.activeLinkClass);var L=_&&_.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var $=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call($,function(N){N.className.indexOf(r.isCollapsedClass)===-1&&(N.className+=u+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(u+r.isCollapsedClass,"")),b(_&&_.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(g(x,x.className.replace(u+r.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function y(x){var D=x.target||x.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(i=!1)}function E(){i=!0}return{enableTocAnimation:E,disableTocAnimation:y,render:p,updateToc:C}}}}),yK=ua({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(m){return m[m.length-1]}function a(m){return+m.nodeName.toUpperCase().replace("H","")}function l(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function i(m){if(!l(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:a(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function u(m,h){for(var f=i(m),v=f.headingLevel,g=h,C=o(g),b=C?C.headingLevel:0,y=v-b;y>0&&(C=o(g),!(C&&v===C.headingLevel));)C&&C.children!==void 0&&(g=C.children),y--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=i(f);return v&&u(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wK=ua({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),bK=ua({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,l=location.hash?d(location.href):location.href;i();function i(){document.body.addEventListener("click",m,!1);function m(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:a,callback:function(){p(h.target.hash)}})}}function u(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===l||d(m.href)+"#"===l)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var a=window.pageYOffset,l={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||v},i=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?l.offset+(n?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(u):l.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,l.easing(m,a,u,d)),m"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var y={},E=0;E1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-DXWd9xTY.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` -`).match(o),m=!1;return{items:p.map(function(h,f){let v=a.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=h.replace(g,"").replace(a,""),b=f===p.length-1,y=C.indexOf(` - -`)!==-1||b&&m;m=y;let E=u.inline,x=u.list,D;u.list=!0,y?(u.inline=!1,D=C.replace(xE,` - -`)):(u.inline=!0,D=C.replace(xE,""));let S=i(D,u);return u.inline=E,u.list=x,S}),ordered:r,start:d}},render:(l,i,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(d,p){return e("li",{key:p},i(d,u))}))}}var bZ=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),EZ=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bz=[rz,nz,oz,az,iz,lz,sz,uz,mz,yz,gz,wz],xZ=[...bz,/^[^\n]+(?: \n|\n{2,})/,T5,B5];function CZ(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 DZ(e){return iZ.test(e)?"right":aZ.test(e)?"center":lZ.test(e)?"left":null}function DE(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(l,i){l.type==="26"?i!==0&&i!==o.length-1&&a.push([]):(l.type!=="27"||o[i+1]!=null&&o[i+1].type!=="26"||(l.text=l.text.replace(oZ,"")),a[a.length-1].push(l))}),a}function SZ(e,t,r){r.inline=!0;let n=DE(e[1],t,r),o=e[2].replace(nZ,"").split("|").map(DZ),a=function(l,i,u){return l.trim().split(` -`).map(function(d){return DE(d,i,u)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function SE(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Fn(e){return function(t,r){return r.inline?e.exec(t):null}}function Rn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function an(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Oi(e){return function(t){return e.exec(t)}}function kZ(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(a=>!bz.some(l=>l.test(a))&&(n+=a+` -`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Ba(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 kE(e){return e.replace(gZ,"$1")}function c0(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function AZ(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function _Z(e,t,r){return r.inline=!1,e(t,r)}var Wh=(e,t,r)=>({children:c0(t,e[1],r)});function qh(){return{}}function Gh(){return null}function FZ(...e){return e.filter(Boolean).join(" ")}function Kh(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function RZ(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||CZ,t.namedCodesToUnicode=t.namedCodesToUnicode?$o({},EE,t.namedCodesToUnicode):EE;let r=t.createElement||s.createElement;function n(f,v,...g){let C=Kh(t.overrides,`${f}.props`,{});return r(function(b,y){let E=Kh(y,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Kh(y,`${b}.component`,b):b}(f,t.overrides),$o({},v,C,{className:FZ(v==null?void 0:v.className,C.className)||void 0}),...g)}function o(f){f=f.replace(HY,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=eZ.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(hZ,"")} - -`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let C=t.wrapper||(v?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return s.createElement(C,{key:"outer"},b)}function a(f){let v=f.match(FY);return v?v.reduce(function(g,C,b){let y=C.indexOf("=");if(y!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(UY)===null&&(k=k.replace(YY,function(A,_){return _.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(C.slice(y+1).trim()),D=bE[E]||E,S=g[D]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,R){let z=R.slice(0,R.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=R.slice(z.length+1).trim(),_},{}):k==="href"||k==="src"?Ba(A):(A.match(WY)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,x);typeof S=="string"&&(T5.test(S)||B5.test(S))&&(g[D]=s.cloneElement(o(S.trim()),{key:b}))}else C!=="style"&&(g[bE[C]||C]=!0);return g},{}):null}let l=[],i={},u={0:{match:an(rz),order:1,parse:(f,v,g)=>({children:v(f[0].replace(zY,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:Oi(TY),order:1,parse:qh,render:(f,v,g)=>n("br",{key:g.key})},2:{match:an(BY),order:1,parse:qh,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:an(oz),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",$o({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:an(nz),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Rn(LY),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:an(MY),order:0,parse:f=>(l.push({footnote:f[2],identifier:f[1]}),{}),render:Gh},7:{match:Fn(PY),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target)},n("sup",{key:g.key},f.text))},8:{match:Fn(jY),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:an(t.enforceAtxHeadings?lz:az),order:1,parse:(f,v,g)=>({children:c0(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:an(iz),order:0,parse:(f,v,g)=>({children:c0(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Oi(T5),order:1,parse(f,v,g){let[,C]=f[3].match(mZ),b=new RegExp(`^${C}`,"gm"),y=f[3].replace(b,""),E=(x=y,xZ.some(A=>A.test(x))?_Z:c0);var x;let D=f[1].toLowerCase(),S=_Y.indexOf(D)!==-1,k={attrs:a(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?k.text=f[3]:k.children=E(v,y,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,$o({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:Oi(B5),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,$o({},f.attrs,{key:g.key}))},12:{match:Oi(sz),order:1,parse:()=>({}),render:Gh},14:{match:Rn(EZ),order:1,parse:f=>({alt:f[1],target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Ba(f.target)})},15:{match:Fn(bZ),order:3,parse:(f,v,g)=>({children:AZ(v,f[1],g),target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target),title:f.title},v(f.children,g))},16:{match:Fn(KY),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:Fn(qY)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Fn(GY),order:0,parse(f){let v=f[1],g=f[1];return RY.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:CE(n,1),33:CE(n,2),19:{match:an($Y),order:3,parse:qh,render:()=>` -`},21:{match:kZ,order:3,parse:Wh,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:Fn(ZY),order:0,parse:f=>(i[f[1]]={target:f[2],title:f[4]},{}),render:Gh},23:{match:Rn(XY),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("img",{key:g.key,alt:f.alt,src:Ba(i[f.ref].target),title:i[f.ref].title}):null},24:{match:Fn(JY),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(QY,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("a",{key:g.key,href:Ba(i[f.ref].target),title:i[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:an(uz),order:1,parse:SZ,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(C,b){return n("th",{key:b,style:SE(f,b)},v(C,g))}))),n("tbody",null,f.cells.map(function(C,b){return n("tr",{key:b},C.map(function(y,E){return n("td",{key:E,style:SE(f,E)},v(y,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,rZ.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Oi(fZ),order:4,parse:f=>({text:f[0].replace(VY,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Rn(sZ),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Rn(uZ),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Rn(pZ),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Rn(cZ),order:3,parse:Wh,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Rn(dZ),order:3,parse:Wh,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);let d=function(f){let v=Object.keys(f);function g(C,b){let y=[],E="";for(;C;){let x=0;for(;xy(g,C,b),g,C,b):y(g,C,b)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let C=g.key,b=[],y=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var l,i,u={},d=Object.keys(o);for(i=0;i=0||(u[l]=o[l]);return u}(e,AY);return s.cloneElement(RZ(t,r),n)},IZ=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:he(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ac(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ac(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ac(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ac(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),zZ=e=>e==="true",TZ=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{var p;let l=s.useCallback(()=>r(!1),[r]),i=!!((p=a==null?void 0:a.table)!=null&&p.readonly);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:l,disabled:i},"Set boolean");let u=yr(e),d=typeof t=="string"?zZ(t):t;return w.createElement(IZ,{"aria-disabled":i,htmlFor:u,"aria-label":e},w.createElement("input",{id:u,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:i,name:e,onBlur:n,onFocus:o}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},BZ=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},LZ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},$Z=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},OZ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},AE=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),MZ=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),PZ=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{var v;let[l,i]=s.useState(!0),u=s.useRef(),d=s.useRef(),p=!!((v=a==null?void 0:a.table)!=null&&v.readonly);s.useEffect(()=>{l!==!1&&(u&&u.current&&(u.current.value=t?$Z(t):""),d&&d.current&&(d.current.value=t?OZ(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let C=BZ(g.target.value),b=new Date(t);b.setFullYear(C.getFullYear(),C.getMonth(),C.getDate());let y=b.getTime();y&&r(y),i(!!y)},h=g=>{if(!g.target.value)return r();let C=LZ(g.target.value),b=new Date(t);b.setHours(C.getHours()),b.setMinutes(C.getMinutes());let y=b.getTime();y&&r(y),i(!!y)},f=yr(e);return w.createElement(MZ,null,w.createElement(AE,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:o}),w.createElement(AE,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:o}),l?null:w.createElement("div",null,"invalid"))},NZ=F.label({display:"flex"}),HZ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},jZ=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),VZ=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:l,onFocus:i,argType:u})=>{var E;let[d,p]=s.useState(typeof t=="number"?t:""),[m,h]=s.useState(!1),[f,v]=s.useState(null),g=!!((E=u==null?void 0:u.table)!=null&&E.readonly),C=s.useCallback(x=>{p(x.target.value);let D=parseFloat(x.target.value);Number.isNaN(D)?v(new Error(`'${x.target.value}' is not a number`)):(r(D),v(null))},[r,v]),b=s.useCallback(()=>{p("0"),r(0),h(!0)},[h]),y=s.useRef(null);return s.useEffect(()=>{m&&y.current&&y.current.select()},[m]),s.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:b,disabled:g},"Set number"):w.createElement(NZ,null,w.createElement(jZ,{ref:y,id:yr(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:o,step:a,onFocus:i,onBlur:l}))},xz=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},L5=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Cz=(e,t)=>e&&t&&e.map(r=>t[r]),UZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),WZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),qZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_E=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var h;if(!t)return My.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=L5(r,t),[i,u]=s.useState(l),d=!!((h=a==null?void 0:a.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...i];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(Cz(g,t)),u(g)};s.useEffect(()=>{u(L5(r,t))},[r]);let m=yr(e);return w.createElement(UZ,{"aria-readonly":d,isInline:o},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return w.createElement(qZ,{key:g,htmlFor:g},w.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:i==null?void 0:i.includes(f)}),w.createElement(WZ,null,f))}))},GZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),KZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),YZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),FE=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var d;if(!t)return My.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=xz(r,t),i=yr(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(GZ,{"aria-readonly":u,isInline:o},Object.keys(t).map((p,m)=>{let h=`${i}-${m}`;return w.createElement(YZ,{key:h,htmlFor:h},w.createElement("input",{type:"radio",id:h,name:i,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===l}),w.createElement(KZ,null,p))}))},ZZ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Dz=F.select(ZZ,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Sz=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),RE="Choose option...",XZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{n(r[p.currentTarget.value])},l=xz(t,r)||RE,i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(qI,null),w.createElement(Dz,{disabled:u,id:i,value:l,onChange:a},w.createElement("option",{key:"no-selection",disabled:!0},RE),Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},JZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Cz(m,r))},l=L5(t,r),i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(Dz,{disabled:u,id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},IE=e=>{let{name:t,options:r}=e;return r?e.isMulti?w.createElement(JZ,{...e}):w.createElement(XZ,{...e}):(My.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},QZ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,eX={check:_E,"inline-check":_E,radio:FE,"inline-radio":FE,select:IE,"multi-select":IE},La=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?QZ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=eX[t];if(a)return w.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},tX="Error",rX="Object",nX="Array",oX="String",aX="Number",lX="Boolean",iX="Date",sX="Null",uX="Undefined",cX="Function",dX="Symbol",kz="ADD_DELTA_TYPE",Az="REMOVE_DELTA_TYPE",_z="UPDATE_DELTA_TYPE",Vy="value",pX="key";function Wo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function Fz(e,t){let r=Wo(e),n=Wo(t);return(r==="Function"||n==="Function")&&n!==r}var Uy=class extends s.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:l}=this.state,i={};if(!t){if(!a.value)return;i.key=a.value}i.newValue=r(!1,n,o,i.key,l.value),e(i)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:l}=this.props,i=s.cloneElement(r,{onClick:this.onSubmit}),u=s.cloneElement(n,{onClick:e}),d=o(Vy,a,l),p=s.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=o(pX,a,l);m=s.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},m,p,u,i)}};Uy.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var Rz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(r[r.length-1],l),u({type:kz,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:l,dataType:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=l(e,t,r,n,i),m=a(e,t,r,n,i),h=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:R,ul:z,addForm:L}=p(e,t,r,n,m),$=d(e,t,r,n,m),N=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!o&&N,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},t.map((j,q)=>w.createElement(U1,{key:q,name:q.toString(),data:j,keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveItem(q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}))),!$&&o&&w.createElement("div",{className:"rejt-add-form",style:L},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!$&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=l(e,r,n,o,a);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};Rz.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Iz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=null,b=null,y=i(e,l,n,o,u);if(r&&!y){let E=h(Vy,v,o,e,l,u),x=s.cloneElement(p,{onClick:this.handleEdit}),D=s.cloneElement(m,{onClick:this.handleCancelEdit}),S=s.cloneElement(E,{ref:this.refInput,defaultValue:l});C=w.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,x),b=null}else{C=w.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let E=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});b=y?null:E}return w.createElement("li",{className:"rejt-function-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),C,b)}};Iz.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var U1=class extends s.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:l,onUpdate:i,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S}=this.props,k=()=>!0,A=Wo(e);switch(A){case tX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case rX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case nX:return w.createElement(Rz,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case oX:return w.createElement(zn,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case aX:return w.createElement(zn,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case lX:return w.createElement(zn,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case iX:return w.createElement(zn,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case sX:return w.createElement(zn,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case uX:return w.createElement(zn,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case cX:return w.createElement(Iz,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case dX:return w.createElement(zn,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});default:return null}}};U1.defaultProps={keyPath:[],deep:0};var $5=class extends s.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:l}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(n[n.length-1],r),u({type:kz,keyPath:n,deep:o,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:l,getStyle:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,n,t,r,l),m=Object.getOwnPropertyNames(n),h=a(e,n,t,r,l),f=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:R,ul:z,delimiter:L}=p(e,t,r,n,m),$=Object.getOwnPropertyNames(t),N=d(e,t,r,n,m),M=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),j=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A}),q=$.map(B=>w.createElement(U1,{key:B,name:B,data:t[B],keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveValue(B),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!N&&M,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},q),!N&&a&&w.createElement("div",{className:"rejt-add-form",style:R},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!N&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,l);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};$5.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var zn=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=i(e,l,n,o,u),b=r&&!C,y=h(Vy,v,o,e,l,u),E=s.cloneElement(p,{onClick:this.handleEdit}),x=s.cloneElement(m,{onClick:this.handleCancelEdit}),D=s.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(l)}),S=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return w.createElement("li",{className:"rejt-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," : "),b?w.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",x,E):w.createElement("span",{className:"rejt-value",style:g.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&S)}};zn.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};function fX(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var hX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},gX={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},zz=class extends s.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b,fallback:y=null}=this.props,E=Wo(e),x=o;Wo(o)==="Boolean"&&(x=()=>o);let D=d;d&&Wo(d)!=="Function"&&(D=()=>d);let S=p;return p&&Wo(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(U1,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b})):y}};zz.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return hX;case"Array":return mX;default:return gX}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>fX(o),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:vX}=globalThis,yX=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yh=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),wX=F(oK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),bX=F(aK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),zE=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),EX=F(Xo)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),xX=F(zu.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),CX={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},DX=e=>{e.currentTarget.dispatchEvent(new vX.KeyboardEvent("keydown",CX))},SX=e=>{e.currentTarget.select()},kX=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),TE=({name:e,value:t,onChange:r,argType:n})=>{var E;let o=Lx(),a=s.useMemo(()=>t&&MT(t),[t]),l=a!=null,[i,u]=s.useState(!l),[d,p]=s.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=s.useCallback(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=s.useState(!1),g=s.useCallback(()=>{r({}),v(!0)},[v]),C=s.useRef(null);if(s.useEffect(()=>{f&&C.current&&C.current.select()},[f]),!l)return w.createElement(Ea,{disabled:m,id:Ad(e),onClick:g},"Set object");let b=w.createElement(xX,{ref:C,id:yr(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>h(x.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),y=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(yX,{"aria-readonly":m},y&&w.createElement(EX,{onClick:x=>{x.preventDefault(),u(D=>!D)}},i?w.createElement(rK,null):w.createElement(tK,null),w.createElement("span",null,"RAW")),i?b:w.createElement(zz,{readOnly:m||!y,isCollapsed:y?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:kX(o),cancelButtonElement:w.createElement(Yh,{type:"button"},"Cancel"),editButtonElement:w.createElement(Yh,{type:"submit"},"Save"),addButtonElement:w.createElement(Yh,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(wX,null),minusMenuElement:w.createElement(bX,null),inputElement:(x,D,S,k)=>k?w.createElement(zE,{onFocus:SX,onBlur:DX}):w.createElement(zE,null),fallback:b}))},AX=F.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:dn(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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.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 ${dn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Tz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),_X=F(Tz)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-fjEgSeoO.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;ltte(e).replace(/\n\s*/g,"").trim()),nte=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},ote=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Wz(e){if(!ete(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=ZJ(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var ate=function(e){let t,r,n,o;return function(a,l){try{if(a==="")return o=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let i=r.get(this)||this;for(;n.length&&i!==n[0];)n.shift(),o.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return ote.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,lQ.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,iQ.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${rte(nte(a,p))}`}if((0,sQ.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(o)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let u=t.get(l);if(!u){let d=Array.isArray(l)?l:Wz(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return o.push(a),n.unshift(d),t.set(l,JSON.stringify(o)),l!==d&&r.set(l,d),d}return`_duplicate_${u}`}catch{return}}},lte={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ite=(e,t={})=>{let r={...lte,...t};return JSON.stringify(Wz(e),ate(r),t.space)};function qz(e){return ite(e,{allowFunction:!1})}var Yy=s.createContext({sources:{}}),Gz="--unknown--",ste=({children:e,channel:t})=>{let[r,n]=s.useState({});return s.useEffect(()=>{let o=(a,l=null,i=!1)=>{let{id:u,args:d=void 0,source:p,format:m}=typeof a=="string"?{id:a,source:l,format:i}:a,h=d?qz(d):Gz;n(f=>({...f,[u]:{...f[u],[h]:{code:p,format:m}}}))};return t.on(r4,o),()=>t.off(r4,o)},[]),w.createElement(Yy.Provider,{value:{sources:r}},e)},ute=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[qz(t)])||(o==null?void 0:o[Gz])||{code:""}},cte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:o}=t.parameters,a=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||a.type||Y1.AUTO;if(a.code!==void 0)return a.code;let i=l===Y1.DYNAMIC||l===Y1.AUTO&&e&&o?e:a.originalSource||"";return((d=n??a.transform)==null?void 0:d(i,t))||i},Kz=(e,t,r)=>{var f,v,g,C;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:l}=e,i=e.format??a.format,u=e.language??a.language??"jsx",d=e.dark??a.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:i,language:u,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=ute(n.id,m,r);return i=h.format??((C=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:C.format)??!1,{code:cte({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:i,language:u,dark:d}},Rre=e=>{let t=s.useContext(Yy),r=s.useContext(Gt),n=Kz(e,r,t);return w.createElement(Py,{...n})};function dte(e,t){let r=pte([e],t);return r&&r[0]}function pte(e,t){let[r,n]=s.useState({});return s.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);n(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}var fte=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},hte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let i=e.height??a.height,u=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:i,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},mte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=s.useContext(Gt),r=fte(e,t),n=dte(r,t);if(!n)return w.createElement(ez,null);let o=hte(e,n,t);return o?w.createElement(gY,{...o}):null},gte=e=>{var h,f,v,g,C,b,y,E,x,D;let t=s.useContext(Gt),r=s.useContext(Yy),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=xa(n||"story",["story"]),l=Kz({...o,...n&&{of:n}},t,r),i=e.layout??a.parameters.layout??((f=(h=a.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((b=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),p=e.sourceState??((E=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((D=(x=a.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(tz,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:m,layout:i},w.createElement(mte,{of:n||a.moduleExport,meta:e.meta,...e.story}))},vte=(e,t)=>{let r=yte(e,t);if(!r)throw new Error("No result when story was defined");return r},yte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=s.useState(r.args);s.useEffect(()=>{let u=d=>{d.storyId===n&&a(d.args)};return t.channel.on(hE,u),()=>t.channel.off(hE,u)},[n,t.channel]);let l=s.useCallback(u=>t.channel.emit(fK,{storyId:n,updatedArgs:u}),[n,t.channel]),i=s.useCallback(u=>t.channel.emit(hK,{storyId:n,argNames:u}),[n,t.channel]);return e&&[o,l,i]},wte=(e,t)=>{let r=t.getStoryContext(e),[n,o]=s.useState(r.globals);return s.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(mE,a),()=>t.channel.off(mE,a)},[t.channel]),[n]};function bte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Ete=e=>{var x;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=s.useContext(Gt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:i}=n,u=((x=o.docs)==null?void 0:x.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,m=e.sort??u.sort,[h,f,v]=vte(n,r),[g]=wte(n,r),C=fE(a,d,p);if(!(i&&Object.keys(i).length>0))return Object.keys(C).length>0||Object.keys(h).length>0?w.createElement(M5,{rows:C,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let b=HJ(l),y=Object.fromEntries(Object.entries(i).map(([D,S])=>[D,{rows:fE(bte(S,o),d,p),sort:m}])),E={[b]:{rows:C,sort:m},...y};return w.createElement(kJ,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Yz}=globalThis,xte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(rR,null,t);let n=e&&e.split("-");return w.createElement(Py,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Zy(e,t){e.channel.emit(mK,t)}var P5=ZG.a,Cte=({hash:e,children:t})=>{let r=s.useContext(Gt);return w.createElement(P5,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Yz.getElementById(o)&&Zy(r,e)}},t)},Dte=e=>{let{href:t,target:r,children:n,...o}=e,a=s.useContext(Gt);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(P5,{...e}):t.startsWith("#")?w.createElement(Cte,{hash:t},n):w.createElement(P5,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Zy(a,l.currentTarget.getAttribute("href")))},target:r,...o},n)},Zz=["h1","h2","h3","h4","h5","h6"],Ste=Zz.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),kte=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Ate=({as:e,id:t,children:r,...n})=>{let o=s.useContext(Gt),a=Ste[e],l=`#${t}`;return w.createElement(a,{id:t,...n},w.createElement(kte,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:i=>{Yz.getElementById(t)&&Zy(o,l)}},w.createElement(lK,null)),r)},Xy=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return w.createElement(Ate,{as:t,id:r,...o},n);let a=t,{as:l,...i}=e;return w.createElement(a,{...ge(i,t)})},_te=Zz.reduce((e,t)=>({...e,[t]:r=>w.createElement(Xy,{as:t,...r})}),{}),Fte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(rT`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: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return w.createElement(Ez,{...e,options:{forceBlock:!0,overrides:{code:xte,a:Dte,..._te,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Rte=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Rte||{}),Ite=e=>{var t,r,n,o,a,l,i,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((o=(n=d.docs)==null?void 0:n.description)==null?void 0:o.component)||((l=(a=d.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(i=p.docs)==null?void 0:i.extractComponentDescription)==null?void 0:u.call(i,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},N5=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=xa(t||"meta"),n=Ite(r);return n?w.createElement(Fte,null,n):null},GE=W5(EK()),zte=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Tte=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",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"}})),Bte=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Lte=({title:e})=>e===null?null:typeof e=="string"?w.createElement(Bte,null,e):e,$te=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:a})=>(s.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},i=setTimeout(()=>GE.init(l),100);return()=>{clearTimeout(i),GE.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(zte,null,t?null:w.createElement(Tte,null,w.createElement(Lte,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:Ote,window:Mte}=globalThis,Pte=({context:e,theme:t,children:r})=>{var o,a,l,i,u;let n;try{n=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{n=(u=(i=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:i.docs)==null?void 0:u.toc}return s.useEffect(()=>{let d;try{if(d=new URL(Mte.parent.location.toString()),d.hash){let p=Ote.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{jJ(p)},200)}}catch{}}),w.createElement(Gt.Provider,{value:e},w.createElement(ste,{channel:e.channel},w.createElement($x,{theme:zL(t)},w.createElement(sY,{toc:n?w.createElement($te,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Nte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement(oR,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(Xy,{as:"h3",id:r},e)},Xz=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var i,u;let{story:a}=xa(e||"story",["story"]),l=((u=(i=a.parameters.docs)==null?void 0:i.canvas)==null?void 0:u.withToolbar)??r;return w.createElement(Lz,{storyId:a.id},t&&w.createElement(w.Fragment,null,w.createElement(Nte,null,a.name),w.createElement(N5,{of:e})),w.createElement(gte,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},Hte=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=xa(t||"meta",["meta"]),n=s.useContext(Gt).componentStoriesFromCSFFile(r)[0];return n?w.createElement(Xz,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},jte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return w.createElement(nR,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(Xy,{as:"h2",id:n,...r},e)},Vte=F(jte)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),Ute=({title:e="Stories",includePrimary:t=!0})=>{var i;let{componentStories:r,projectAnnotations:n,getStoryContext:o}=s.useContext(Gt),a=r(),{stories:{filter:l}={filter:void 0}}=((i=n.parameters)==null?void 0:i.docs)||{};return l&&(a=a.filter(u=>l(u,o(u)))),a.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(a=a.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(a=a.slice(1)),!a||a.length===0?null:w.createElement(w.Fragment,null,w.createElement(Vte,null,e),a.map(u=>u&&w.createElement(Xz,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",qte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(t||"meta",["meta"]).preparedMeta}catch(i){if(r&&!i.message.includes("did you forget to use ?"))throw i}let{componentSubtitle:o,docs:a}=(n==null?void 0:n.parameters)||{};o&&dK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Wte}`);let l=r||(a==null?void 0:a.subtitle)||o;return l?w.createElement(aY,{className:"sbdocs-subtitle sb-unstyled"},l):null},Gte=/\s*\/\s*/,Kte=e=>{let t=e.trim().split(Gte);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Yte=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(r||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||Kte(n==null?void 0:n.title);return o?w.createElement(oY,{className:"sbdocs-title sb-unstyled"},o):null},Zte=()=>{let e=xa("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(Yte,null),w.createElement(qte,null),w.createElement(N5,{of:"meta"}),r?w.createElement(N5,{of:"story"}):null,w.createElement(Hte,null),w.createElement(Ete,null),r?null:w.createElement(Ute,null))};function Ire({context:e,docsParameter:t}){let r=t.container||Pte,n=t.page||Zte;return w.createElement(r,{context:e,theme:t.theme},w.createElement(n,null))}var zre=({of:e})=>{let t=s.useContext(Gt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return w.createElement(Lz,{storyId:r.id})}catch{return null}};export{PI as $,yN as A,bre as B,hN as C,nR as D,ore as E,wN as F,vre as G,wre as H,Xo as I,_y as J,nre as K,Ea as L,SN as M,zu as N,M1 as O,$I as P,hre as Q,vN as R,gN as S,xN as T,kN as U,jI as V,lre as W,VI as X,TG as Y,gG as Z,dre as _,cv as a,pre as a0,_N as a1,cre as a2,Xq as a3,vq as a4,yo as a5,ZG as a6,tg as a7,KG as a8,k5 as a9,gre as aa,ge as ab,XG as ac,Ee as ad,ne as ae,zre as af,Yte as ag,gte as ah,Ete as ai,w as aj,Rre as ak,Fre as al,_re as am,s as an,rre as ao,W5 as ap,ua as aq,F as ar,yr as as,Cre as at,fu as au,_te as av,Dte as aw,xte as ax,Ire as ay,xre as b,pN as c,Oy as d,fN as e,mN as f,lN as g,fre as h,yre as i,bl as j,fG as k,GG as l,aN as m,EN as n,CN as o,Ay as p,G0 as q,UI as r,ire as s,sre as t,DN as u,rR as v,dN as w,oR as x,Sq as y,Ere as z}; diff --git a/rc/assets/index-B0Lclpwb.js b/rc/assets/index-DAoRqWt2.js similarity index 51% rename from rc/assets/index-B0Lclpwb.js rename to rc/assets/index-DAoRqWt2.js index 6e6b3f9..0b70535 100644 --- a/rc/assets/index-B0Lclpwb.js +++ b/rc/assets/index-DAoRqWt2.js @@ -1 +1 @@ -import{M,u as a}from"./index-BlEr_OIe.js";import"./index-CcF9BsMG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; +import{M,u as a}from"./index-C5hQraAl.js";import"./index-CMvVeEhu.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{M as MDXProvider,a as useMDXComponents}; diff --git a/rc/assets/index-DXWd9xTY.js b/rc/assets/index-DXWd9xTY.js deleted file mode 100644 index 21b8e16..0000000 --- a/rc/assets/index-DXWd9xTY.js +++ /dev/null @@ -1 +0,0 @@ -import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-D51CeFyD.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; diff --git a/rc/assets/index-BP1tTnvE.js b/rc/assets/index-DkVcEJOV.js similarity index 96% rename from rc/assets/index-BP1tTnvE.js rename to rc/assets/index-DkVcEJOV.js index ad77c97..3d9d9e5 100644 --- a/rc/assets/index-BP1tTnvE.js +++ b/rc/assets/index-DkVcEJOV.js @@ -1 +1 @@ -import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-CcF9BsMG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; +import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-CMvVeEhu.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; diff --git a/rc/assets/index-Dvvi2AU9.js b/rc/assets/index-Dvvi2AU9.js deleted file mode 100644 index 8990237..0000000 --- a/rc/assets/index-Dvvi2AU9.js +++ /dev/null @@ -1 +0,0 @@ -import{aj as e}from"./index-D51CeFyD.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; diff --git a/rc/assets/index-Dxx82nxn.js b/rc/assets/index-Dxx82nxn.js deleted file mode 100644 index c34c845..0000000 --- a/rc/assets/index-Dxx82nxn.js +++ /dev/null @@ -1,769 +0,0 @@ -const __vite__fileDeps=["./index-Ceb60MiE.js","./iframe-BDLrX2vE.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-DND2Drzf.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var Qz=Object.defineProperty;var eT=(e,t,r)=>t in e?Qz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ka=(e,t,r)=>eT(e,typeof t!="symbol"?t+"":t,r);import{_ as KE}from"./iframe-BDLrX2vE.js";import{a as YE,g as Y1,y as r4}from"./index-u5I_DdWt.js";import{O as ZE,P as tT}from"./index-D-8MO0q_.js";import{d as rT}from"./index-DrFu-skq.js";var XE={exports:{}},kd={},JE={exports:{}},te={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ou=Symbol.for("react.element"),nT=Symbol.for("react.portal"),oT=Symbol.for("react.fragment"),aT=Symbol.for("react.strict_mode"),lT=Symbol.for("react.profiler"),iT=Symbol.for("react.provider"),sT=Symbol.for("react.context"),uT=Symbol.for("react.forward_ref"),cT=Symbol.for("react.suspense"),dT=Symbol.for("react.memo"),pT=Symbol.for("react.lazy"),n4=Symbol.iterator;function fT(e){return e===null||typeof e!="object"?null:(e=n4&&e[n4]||e["@@iterator"],typeof e=="function"?e:null)}var QE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ex=Object.assign,tx={};function Kl(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}Kl.prototype.isReactComponent={};Kl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rx(){}rx.prototype=Kl.prototype;function H5(e,t,r){this.props=e,this.context=t,this.refs=tx,this.updater=r||QE}var j5=H5.prototype=new rx;j5.constructor=H5;ex(j5,Kl.prototype);j5.isPureReactComponent=!0;var o4=Array.isArray,nx=Object.prototype.hasOwnProperty,V5={current:null},ox={key:!0,ref:!0,__self:!0,__source:!0};function ax(e,t,r){var n,o={},a=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)nx.call(t,n)&&!ox.hasOwnProperty(n)&&(o[n]=t[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1typeof 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')}),ua=(e,t)=>function(){return t||(0,e[ux(e)[0]])((t={exports:{}}).exports,t),t.exports},_T=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ux(t))!AT.call(e,o)&&o!==r&&sx(e,o,{get:()=>t[o],enumerable:!(n=ST(t,o))||n.enumerable});return e},W5=(e,t,r)=>(r=e!=null?DT(kT(e)):{},_T(t||!e||!e.__esModule?sx(r,"default",{value:e,enumerable:!0}):r,e));function FT(e,t,{signal:r,edges:n}={}){let o,a=null,l=n!=null&&n.includes("leading"),i=n==null||n.includes("trailing"),u=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},d=()=>{i&&u(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),o=void 0,a=null},v=()=>{h(),u()},g=function(...C){if(r!=null&&r.aborted)return;o=this,a=C;let b=p==null;m(),l&&b&&u()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function rre(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:l}=r,i=Array(2);o&&(i[0]="leading"),a&&(i[1]="trailing");let u,d=null,p=FT(function(...f){u=e.apply(this,f),d=null},t,{signal:n,edges:i}),m=function(...f){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return u=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),u}return p.apply(this,f),u},h=()=>(p.flush(),u);return m.cancel=p.cancel,m.flush=h,m}function RT(e){return Array.from(new Set(e))}function IT(e,t){let r={},n=Object.entries(e);for(let o=0;o`control-${e.replace(/\s+/g,"-")}`,Ad=e=>`set-${e.replace(/\s+/g,"-")}`,PT=Object.create,q5=Object.defineProperty,NT=Object.getOwnPropertyDescriptor,HT=Object.getOwnPropertyNames,jT=Object.getPrototypeOf,VT=Object.prototype.hasOwnProperty,I=(e,t)=>q5(e,"name",{value:t,configurable:!0}),Mu=(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')}),_d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HT(t))!VT.call(e,o)&&o!==r&&q5(e,o,{get:()=>t[o],enumerable:!(n=NT(t,o))||n.enumerable});return e},G5=(e,t,r)=>(r=e!=null?PT(jT(e)):{},UT(t||!e||!e.__esModule?q5(r,"default",{value:e,enumerable:!0}):r,e)),WT=_d(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function x(W){return typeof W=="string"||typeof W=="function"||W===o||W===p||W===l||W===a||W===h||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===g||W.$$typeof===v||W.$$typeof===i||W.$$typeof===u||W.$$typeof===m||W.$$typeof===b||W.$$typeof===y||W.$$typeof===E||W.$$typeof===C)}I(x,"isValidElementType");function D(W){if(typeof W=="object"&&W!==null){var Zt=W.$$typeof;switch(Zt){case r:var Cr=W.type;switch(Cr){case d:case p:case o:case l:case a:case h:return Cr;default:var bo=Cr&&Cr.$$typeof;switch(bo){case u:case m:case g:case v:case i:return bo;default:return Zt}}case n:return Zt}}}I(D,"typeOf");var S=d,k=p,A=u,_=i,R=r,z=m,L=o,$=g,N=v,M=n,j=l,q=a,B=h,P=!1;function H(W){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(W)||D(W)===d}I(H,"isAsyncMode");function G(W){return D(W)===p}I(G,"isConcurrentMode");function Z(W){return D(W)===u}I(Z,"isContextConsumer");function Q(W){return D(W)===i}I(Q,"isContextProvider");function ie(W){return typeof W=="object"&&W!==null&&W.$$typeof===r}I(ie,"isElement");function U(W){return D(W)===m}I(U,"isForwardRef");function X(W){return D(W)===o}I(X,"isFragment");function re(W){return D(W)===g}I(re,"isLazy");function _e(W){return D(W)===v}I(_e,"isMemo");function qe(W){return D(W)===n}I(qe,"isPortal");function xr(W){return D(W)===l}I(xr,"isProfiler");function xt(W){return D(W)===a}I(xt,"isStrictMode");function Yt(W){return D(W)===h}I(Yt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=z,e.Fragment=L,e.Lazy=$,e.Memo=N,e.Portal=M,e.Profiler=j,e.StrictMode=q,e.Suspense=B,e.isAsyncMode=H,e.isConcurrentMode=G,e.isContextConsumer=Z,e.isContextProvider=Q,e.isElement=ie,e.isForwardRef=U,e.isFragment=X,e.isLazy=re,e.isMemo=_e,e.isPortal=qe,e.isProfiler=xr,e.isStrictMode=xt,e.isSuspense=Yt,e.isValidElementType=x,e.typeOf=D})()}),qT=_d((e,t)=>{t.exports=WT()}),cx=_d((e,t)=>{var r=qT(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[r.ForwardRef]=a,i[r.Memo]=l;function u(C){return r.isMemo(C)?l:i[C.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(C,b,y){if(typeof b!="string"){if(v){var E=f(b);E&&E!==v&&g(C,E,y)}var x=p(b);m&&(x=x.concat(m(b)));for(var D=u(C),S=u(b),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Mu=="function"&Μif(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}I(l,"s");for(var i=typeof Mu=="function"&&Mu,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}I(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Me(Yl,--bt):0,xl--,Se===10&&(xl=1,Id--),Se}I(wx,"prev");function ht(){return Se=bt2||Cl(Se)>3?"":" "}I(bx,"whitespace");function Ex(e,t){for(;--t&&ht()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return Zl(e,rs()+(t<6&&ur()==32&&ht()==32))}I(Ex,"escaping");function f0(e){for(;ht();)switch(Se){case e:return bt;case 34:case 39:e!==34&&e!==39&&f0(Se);break;case 40:e===41&&f0(e);break;case 92:ht();break}return bt}I(f0,"delimiter");function xx(e,t){for(;ht()&&e+Se!==57&&!(e+Se===84&&ur()===47););return"/*"+Zl(t,bt-1)+"*"+Fd(e===47?e:ht())}I(xx,"commenter");function Cx(e){for(;!Cl(ur());)ht();return Zl(e,bt)}I(Cx,"identifier");function Dx(e){return t2(os("",null,null,null,[""],e=e2(e),0,[0],e))}I(Dx,"compile");function os(e,t,r,n,o,a,l,i,u){for(var d=0,p=0,m=l,h=0,f=0,v=0,g=1,C=1,b=1,y=0,E="",x=o,D=a,S=n,k=E;C;)switch(v=y,y=ht()){case 40:if(v!=108&&Me(k,m-1)==58){p0(k+=le(ns(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=ns(y);break;case 9:case 10:case 13:case 32:k+=bx(v);break;case 92:k+=Ex(rs()-1,7);continue;case 47:switch(ur()){case 42:case 47:Pi(Sx(xx(ht(),rs()),t,r),u);break;default:k+="/"}break;case 123*g:i[d++]=or(k)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+p:b==-1&&(k=le(k,/\f/g,"")),f>0&&or(k)-m&&Pi(f>32?em(k+";",n,r,m-1):em(le(k," ","")+";",n,r,m-2),u);break;case 59:k+=";";default:if(Pi(S=Qh(k,t,r,d,p,o,i,E,x=[],D=[],m),a),y===123)if(p===0)os(k,t,S,S,x,a,m,i,D);else switch(h===99&&Me(k,3)===110?100:h){case 100:case 108:case 109:case 115:os(e,S,S,n&&Pi(Qh(e,S,S,0,0,o,i,E,o,x=[],m),D),o,D,m,i,n?x:D);break;default:os(k,S,S,S,[""],D,0,i,D)}}d=p=f=0,g=b=1,E=k="",m=l;break;case 58:m=1+or(k),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&wx()==125)continue}switch(k+=Fd(y),y*g){case 38:b=p>0?1:(k+="\f",-1);break;case 44:i[d++]=(or(k)-1)*b,b=1;break;case 64:ur()===45&&(k+=ns(ht())),h=ur(),p=m=or(E=k+=Cx(rs())),y++;break;case 45:v===45&&or(k)==2&&(g=0)}}return a}I(os,"parse");function Qh(e,t,r,n,o,a,l,i,u,d,p){for(var m=o-1,h=o===0?a:[""],f=Rd(h),v=0,g=0,C=0;v0?h[b]+" "+y:le(y,/&\f/g,h[b])))&&(u[C++]=E);return au(e,t,r,o===0?X5:i,u,d,p)}I(Qh,"ruleset");function Sx(e,t,r){return au(e,t,r,Z5,Fd(yx()),El(e,2,-2),0)}I(Sx,"comment");function em(e,t,r,n){return au(e,t,r,J5,El(e,0,n),El(e,n+1,-1),n)}I(em,"declaration");function qo(e,t){for(var r="",n=Rd(e),o=0;o-1},"isIgnoringComment"),iB=I(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,l=a?t.parent.children:n,i=l.length-1;i>=0;i--){var u=l[i];if(u.line=0;r--)if(!_x(t[r]))return!0;return!1},"isPrependedWithRegularRules"),u4=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),uB=I(function(e,t,r){_x(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),u4(e)):sB(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),u4(e)))},"incorrectImportAlarm");function r2(e,t){switch(hx(e,t)){case 5103:return se+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return se+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return se+e+d0+e+Qe+e+e;case 6828:case 4268:return se+e+Qe+e+e;case 6165:return se+e+Qe+"flex-"+e+e;case 5187:return se+e+le(e,/(\w+).+(:[^]+)/,se+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return se+e+Qe+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return se+e+Qe+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return se+e+Qe+le(e,"shrink","negative")+e;case 5292:return se+e+Qe+le(e,"basis","preferred-size")+e;case 6060:return se+"box-"+le(e,"-grow","")+se+e+Qe+le(e,"grow","positive")+e;case 4554:return se+le(e,/([^-])(transform)/g,"$1"+se+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,se+"$1"),/(image-set)/,se+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,se+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,se+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+se+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,se+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(or(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+se+"$2-$3$1"+d0+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~p0(e,"stretch")?r2(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,or(e)-3-(~p0(e,"!important")&&10))){case 107:return le(e,":",":"+se)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+se+(Me(e,14)===45?"inline-":"")+"box$3$1"+se+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return se+e+Qe+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return se+e+Qe+e+e}return e}I(r2,"prefix");var cB=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case J5:e.return=r2(e.value,e.length);break;case fx:return qo([$a(e,{value:le(e.value,"@","@"+se)})],n);case X5:if(e.length)return gx(e.props,function(o){switch(mx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qo([$a(e,{props:[le(o,/:(read-\w+)/,":"+d0+"$1")]})],n);case"::placeholder":return qo([$a(e,{props:[le(o,/:(plac\w+)/,":"+se+"input-$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,":"+d0+"$1")]}),$a(e,{props:[le(o,/:(plac\w+)/,Qe+"input-$1")]})],n)}return""})}},"prefixer"),dB=[cB],pB=I(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||dB;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),C=1;C=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(Fx,"murmur2");var gB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},c4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,vB="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",yB=/[A-Z]|^ms/g,Rx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n2=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),d4=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),X1=K5(function(e){return n2(e)?e:e.replace(yB,"-$&").toLowerCase()}),h0=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rx,function(r,n,o){return Br={name:n,styles:o,next:Br},n})}return gB[e]!==1&&!n2(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");p4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,f4=["normal","none","initial","inherit","unset"],h4=h0,m4=/^-ms-/,g4=/-(.)/g,J1={},h0=I(function(e,t){if(e==="content"&&(typeof t!="string"||f4.indexOf(t)===-1&&!p4.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=h4(e,t);return r!==""&&!n2(e)&&e.indexOf("-")!==-1&&J1[e]===void 0&&(J1[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(m4,"ms-").replace(g4,function(n,o){return o.toUpperCase()})+"?")),r},"processStyleValue");var p4,f4,h4,m4,g4,J1,Ix="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Dl(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ix);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Br={name:r.name,styles:r.styles,next:Br},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Br={name:n.name,styles:n.styles,next:Br},n=n.next;var o=r.styles+";";return r.map!==void 0&&(o+=r.map),o}return zx(e,t,r)}case"function":{if(e!==void 0){var a=Br,l=r(e);return Br=a,Dl(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var i=[],u=r.replace(Rx,function(p,m,h){var f="animation"+i.length;return i.push("const "+f+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});i.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(i,["`"+u+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(Dl,"handleInterpolation");function zx(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Wr({},e,t)},"getTheme"),xB=i4(function(e){return i4(function(t){return EB(e,t)})}),$x=I(function(e){var t=s.useContext(vn);return e.theme!==t&&(t=xB(t)(e.theme)),s.createElement(vn.Provider,{value:t},e.children)},"ThemeProvider");function CB(e){var t=e.displayName||e.name||"Component",r=I(function(o,a){var l=s.useContext(vn);return s.createElement(e,Wr({theme:l,ref:a},o))},"render"),n=s.forwardRef(r);return n.displayName="WithTheme("+t+")",hB(n,e)}I(CB,"withTheme");var w4="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b4="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",DB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),SB=Ld(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[w4],a=[n],l="";typeof e.className=="string"?l=zd(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var i=Sl(a,void 0,s.useContext(vn));if(i.name.indexOf("-")===-1){var u=e[b4];u&&(i=Sl([i,"label:"+u+";"]))}l+=t.key+"-"+i.name;var d={};for(var p in e)bB.call(e,p)&&p!=="css"&&p!==w4&&p!==b4&&(d[p]=e[p]);return d.ref=r,d.className=l,s.createElement(s.Fragment,null,s.createElement(DB,{cache:t,serialized:i,isStringTag:typeof o=="string"}),s.createElement(o,d))});SB.displayName="EmotionCssPropInternal";G5(cx());var kB={version:"11.11.4"},E4=!1,AB=Ld(function(e,t){!E4&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),E4=!0);var r=e.styles,n=Sl([r],void 0,s.useContext(vn)),o=s.useRef();return y4(function(){var a=t.key+"-global",l=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,u=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(i=!0,u.setAttribute("data-emotion",a),l.hydrate([u])),o.current=[l,i],function(){l.flush()}},[t]),y4(function(){var a=o.current,l=a[0],i=a[1];if(i){a[1]=!1;return}if(n.next!==void 0&&Bd(t,n.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",n,l,!1)},[t,n.name]),null});AB.displayName="EmotionGlobal";function $d(){for(var e=arguments.length,t=new Array(e),r=0;r component."),l="";for(var i in a)a[i]&&i&&(l&&(l+=" "),l+=i)}break}default:l=a}l&&(o&&(o+=" "),o+=l)}}return o},"classnames");function Ox(e,t,r){var n=[],o=zd(e,n,r);return n.length<2?r:o+t(n)}I(Ox,"merge");var FB=I(function(e){var t=e.cache,r=e.serializedArr;return o2(function(){for(var n=0;n96?IB:zB},"getDefaultShouldForwardProp"),D4=I(function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),S4=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,TB=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Td(t,r,n),o2(function(){return Bd(t,r,n)}),null},"Insertion"),BB=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,l;r!==void 0&&(a=r.label,l=r.target);var i=D4(t,r,n),u=i||C4(o),d=!u("as");return function(){var p=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{p[0][0]===void 0&&console.error(S4),m.push(p[0][0]);for(var h=p.length,f=1;f1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}I(Al,"hslToRgb");var k4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ux(e){if(typeof e!="string")return e;var t=e.toLowerCase();return k4[t]?"#"+k4[t]:e}I(Ux,"nameToHex");var OB=/^#[a-fA-F0-9]{6}$/,MB=/^#[a-fA-F0-9]{8}$/,PB=/^#[a-fA-F0-9]{3}$/,NB=/^#[a-fA-F0-9]{4}$/,rp=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,HB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,VB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function lu(e){if(typeof e!="string")throw new Or(3);var t=Ux(e);if(t.match(OB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(MB)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(PB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(NB)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=rp.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=HB.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=jB.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Al(i,u,d)+")",m=rp.exec(p);if(!m)throw new Or(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=VB.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Al(f,v,g)+")",b=rp.exec(C);if(!b)throw new Or(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Or(5)}I(lu,"parseToRgb");function Wx(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Ds(e,t,r):"rgba("+Al(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ds(e.hue,e.saturation,e.lightness):"rgba("+Al(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Or(2)}I(Kx,"hsla");function v0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return tm("#"+Tn(e)+Tn(t)+Tn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return tm("#"+Tn(e.red)+Tn(e.green)+Tn(e.blue));throw new Or(6)}I(v0,"rgb");function _l(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=lu(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?v0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?v0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Or(7)}I(_l,"rgba");var WB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),qB=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),GB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),KB=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function s2(e){if(typeof e!="object")throw new Or(8);if(qB(e))return _l(e);if(WB(e))return v0(e);if(KB(e))return Kx(e);if(GB(e))return Gx(e);throw new Or(8)}I(s2,"toColorString");function u2(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):u2(e,t,n)},"fn")}I(u2,"curried");function iu(e){return u2(e,e.length,[])}I(iu,"curry");function su(e,t,r){return Math.max(e,Math.min(t,r))}I(su,"guard");function Yx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness-parseFloat(e))}))}I(Yx,"darken");var YB=iu(Yx),ZB=YB;function Zx(e,t){if(t==="transparent")return t;var r=i2(t);return s2(Wr({},r,{lightness:su(0,1,r.lightness+parseFloat(e))}))}I(Zx,"lighten");var XB=iu(Zx),JB=XB;function Xx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,(n*100+parseFloat(e)*100)/100)});return _l(o)}I(Xx,"opacify");var QB=iu(Xx),eL=QB;function Jx(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,o=Wr({},r,{alpha:su(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return _l(o)}I(Jx,"transparentize");var tL=iu(Jx),rL=tL,K={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},Bn={app:"#F6F9FC",gridCellSize:10,hoverable:rL(.9,K.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Mr={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Qx=G5(GT(),1),nL=(0,Qx.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Qx.default)(1)(({color:e,background:t,typography:r})=>{let n=nL({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var oL={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:K.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:K.lightest,inputBorderRadius:4},aL=oL,lL={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Bn.app,appContentBg:K.lightest,appPreviewBg:K.lightest,appBorderColor:K.border,appBorderRadius:4,fontBase:Mr.fonts.base,fontCode:Mr.fonts.mono,textColor:K.darkest,textInverseColor:K.lightest,textMutedColor:K.dark,barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:K.lightest,buttonBg:Bn.app,buttonBorder:K.medium,booleanBg:K.mediumlight,booleanSelectedBg:K.lightest,inputBg:K.lightest,inputBorder:K.border,inputTextColor:K.darkest,inputBorderRadius:4},y0=lL,iL=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:sL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:np}=iL,uL=I(e=>({color:e}),"mkColor"),cL=I(e=>typeof e!="string"?(sL.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),dL=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),pL=I((e,t)=>e==="darken"?_l(`${ZB(1,t)}`,.95):e==="lighten"?_l(`${JB(1,t)}`,.95):t,"applyPolished"),eC=I(e=>t=>{if(!cL(t)||!dL(t))return t;try{return pL(e,t)}catch{return t}},"colorFactory"),pi=eC("lighten");eC("darken");var tC=I(()=>!np||!np.matchMedia?"light":np.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),rm={light:y0,dark:aL,normal:y0};tC();var fL={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},hL=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,rC=Cn` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,mL=Cn` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,gL=Cn` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,vL=$d` - animation: ${rC} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,yL=$d` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,wL={rotate360:hL,glow:rC,float:mL,jiggle:gL,inlineGlow:vL,hoverable:yL},bL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},EL={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},xL=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:uL(n)}),{}),"convertColors"),CL=I(({colors:e,mono:t})=>{let r=xL(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),DL={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},SL={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},kL=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:K.tertiary,ancillary:K.ancillary,orange:K.orange,gold:K.gold,green:K.green,seafoam:K.seafoam,purple:K.purple,ultraviolet:K.ultraviolet,lightest:K.lightest,lighter:K.lighter,light:K.light,mediumlight:K.mediumlight,medium:K.medium,mediumdark:K.mediumdark,dark:K.dark,darker:K.darker,darkest:K.darkest,border:K.border,positive:K.positive,negative:K.negative,warning:K.warning,critical:K.critical,defaultText:e.textColor||K.darkest,inverseText:e.textInverseColor||K.lightest,positiveText:K.positiveText,negativeText:K.negativeText,warningText:K.warningText}),"createColors"),nm=I((e=rm[tC()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:o,appContentBg:a,appPreviewBg:l,appBorderColor:i,appBorderRadius:u,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:C,buttonBg:b,buttonBorder:y,booleanBg:E,booleanSelectedBg:x,inputBg:D,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:z,brandTarget:L,gridCellSize:$,...N}=e;return{...N,base:t,color:kL(e),background:{app:o,bar:C,content:a,preview:l,gridCellSize:$||Bn.gridCellSize,hoverable:Bn.hoverable,positive:Bn.positive,negative:Bn.negative,warning:Bn.warning,critical:Bn.critical},typography:{fonts:{base:d,mono:p},weight:Mr.weight,size:Mr.size},animation:wL,easing:fL,input:{background:D,border:S,borderRadius:A,color:k},button:{background:b||D,border:y||S},boolean:{background:E||S,selectedBackground:x||D},layoutMargin:10,appBorderColor:i,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:C,brand:{title:_,url:R,image:z||(_?null:void 0),target:L},code:CL({colors:t==="light"?DL:SL,mono:p}),addonActionsTheme:{...t==="light"?EL:bL,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Mr.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:eL(.2,i),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Mr.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:AL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var _L=I(e=>Object.keys(e).length===0,"isEmpty"),op=I(e=>e!=null&&typeof e=="object","isObject"),FL=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),RL=I(()=>Object.create(null),"makeObjectWithoutPrototype"),nC=I((e,t)=>e===t||!op(e)||!op(t)?{}:Object.keys(e).reduce((r,n)=>{if(FL(t,n)){let o=nC(e[n],t[n]);return op(o)&&_L(o)||(r[n]=o),r}return r[n]=void 0,r},RL()),"deletedDiff"),IL=nC;function oC(e){for(var t=[],r=1;r{if(!e)return nm(y0);let t=IL(y0,e);return Object.keys(t).length&&AL.warn(oC` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),nm(e)},"ensure"),om="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",aC={exports:{}},Bt={},lC={exports:{}},iC={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function t(B,P){var H=B.length;B.push(P);e:for(;0>>1,Z=B[G];if(0>>1;Go(U,H))Xo(re,U)?(B[G]=re,B[X]=H,G=X):(B[G]=U,B[ie]=H,G=ie);else if(Xo(re,H))B[G]=re,B[X]=H,G=X;else break e}}return P}function o(B,P){var H=B.sortIndex-P.sortIndex;return H!==0?H:B.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var u=[],d=[],p=1,m=null,h=3,f=!1,v=!1,g=!1,C=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var P=r(d);P!==null;){if(P.callback===null)n(d);else if(P.startTime<=B)n(d),P.sortIndex=P.expirationTime,t(u,P);else break;P=r(d)}}function x(B){if(g=!1,E(B),!v)if(r(u)!==null)v=!0,j(D);else{var P=r(d);P!==null&&q(x,P.startTime-B)}}function D(B,P){v=!1,g&&(g=!1,b(A),A=-1),f=!0;var H=h;try{for(E(P),m=r(u);m!==null&&(!(m.expirationTime>P)||B&&!z());){var G=m.callback;if(typeof G=="function"){m.callback=null,h=m.priorityLevel;var Z=G(m.expirationTime<=P);P=e.unstable_now(),typeof Z=="function"?m.callback=Z:m===r(u)&&n(u),E(P)}else n(u);m=r(u)}if(m!==null)var Q=!0;else{var ie=r(d);ie!==null&&q(x,ie.startTime-P),Q=!1}return Q}finally{m=null,h=H,f=!1}}var S=!1,k=null,A=-1,_=5,R=-1;function z(){return!(e.unstable_now()-R<_)}function L(){if(k!==null){var B=e.unstable_now();R=B;var P=!0;try{P=k(!0,B)}finally{P?$():(S=!1,k=null)}}else S=!1}var $;if(typeof y=="function")$=function(){y(L)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,M=N.port2;N.port1.onmessage=L,$=function(){M.postMessage(null)}}else $=function(){C(L,0)};function j(B){k=B,S||(S=!0,$())}function q(B,P){A=C(function(){B(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,j(D))},e.unstable_forceFrameRate=function(B){0>B||125G?(B.sortIndex=H,t(d,B),r(u)===null&&B===r(d)&&(g?(b(A),A=-1):g=!0,q(x,H-G))):(B.sortIndex=Z,t(u,B),v||f||(v=!0,j(D))),B},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(B){var P=h;return function(){var H=h;h=P;try{return B.apply(this,arguments)}finally{h=H}}}})(iC);lC.exports=iC;var TL=lC.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var BL=s,It=TL;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),am=Object.prototype.hasOwnProperty,LL=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A4={},_4={};function $L(e){return am.call(_4,e)?!0:am.call(A4,e)?!1:LL.test(e)?_4[e]=!0:(A4[e]=!0,!1)}function OL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ML(e,t,r,n){if(t===null||typeof t>"u"||OL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,r,n,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ue[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ue[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ue[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ue[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var c2=/[\-:]([a-z])/g;function d2(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(c2,d2);Ue[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ue.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ue[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function p2(e,t,r,n){var o=Ue.hasOwnProperty(t)?Ue[t]:null;(o!==null?o.type!==0:n||!(2i||o[l]!==a[i]){var u=` -`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=i);break}}}finally{lp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ni(e):""}function PL(e){switch(e.tag){case 5:return Ni(e.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 2:case 15:return e=ip(e.type,!1),e;case 11:return e=ip(e.type.render,!1),e;case 1:return e=ip(e.type,!0),e;default:return""}}function um(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wa:return"Fragment";case Ua:return"Portal";case lm:return"Profiler";case f2:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cC:return(e.displayName||"Context")+".Consumer";case uC:return(e._context.displayName||"Context")+".Provider";case h2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case m2:return t=e.displayName||null,t!==null?t:um(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return um(e(t))}catch{}}return null}function NL(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return um(t);case 8:return t===f2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HL(e){var t=pC(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nu(e){e._valueTracker||(e._valueTracker=HL(e))}function fC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pC(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function w0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function cm(e,t){var r=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function R4(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ro(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hC(e,t){t=t.checked,t!=null&&p2(e,"checked",t,!1)}function dm(e,t){hC(e,t);var r=ro(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pm(e,t.type,r):t.hasOwnProperty("defaultValue")&&pm(e,t.type,ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function I4(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function pm(e,t,r){(t!=="number"||w0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hi=Array.isArray;function ol(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Hu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ks(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var as={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jL=["Webkit","ms","Moz","O"];Object.keys(as).forEach(function(e){jL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),as[t]=as[e]})});function yC(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||as.hasOwnProperty(e)&&as[e]?(""+t).trim():t+"px"}function wC(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=yC(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var VL=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mm(e,t){if(t){if(VL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function gm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vm=null;function g2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ym=null,al=null,ll=null;function B4(e){if(e=du(e)){if(typeof ym!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Hd(t),ym(e.stateNode,e.type,t))}}function bC(e){al?ll?ll.push(e):ll=[e]:al=e}function EC(){if(al){var e=al,t=ll;if(ll=al=null,B4(e),t)for(e=0;e>>=0,e===0?32:31-(e$(e)/t$|0)|0}var ju=64,Vu=4194304;function ji(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function C0(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,l=r&268435455;if(l!==0){var i=l&~o;i!==0?n=ji(i):(a&=l,a!==0&&(n=ji(a)))}else l=r&~o,l!==0?n=ji(l):a!==0&&(n=ji(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function uu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-cr(t),e[t]=r}function a$(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=is),V4=" ",U4=!1;function HC(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qa=!1;function L$(e,t){switch(e){case"compositionend":return jC(t);case"keypress":return t.which!==32?null:(U4=!0,V4);case"textInput":return e=t.data,e===V4&&U4?null:e;default:return null}}function $$(e,t){if(qa)return e==="compositionend"||!D2&&HC(e,t)?(e=PC(),$c=E2=Vn=null,qa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=K4(r)}}function qC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function GC(){for(var e=window,t=w0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=w0(e.document)}return t}function S2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function W$(e){var t=GC(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&qC(r.ownerDocument.documentElement,r)){if(n!==null&&S2(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=Y4(r,a);var l=Y4(r,n);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Ga=null,Dm=null,us=null,Sm=!1;function Z4(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Sm||Ga==null||Ga!==w0(n)||(n=Ga,"selectionStart"in n&&S2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),us&&zs(us,n)||(us=n,n=k0(Dm,"onSelect"),0Za||(e.current=Im[Za],Im[Za]=null,Za--)}function ce(e,t){Za++,Im[Za]=e.current,e.current=t}var no={},tt=fo(no),mt=fo(!1),Jo=no;function Rl(e,t){var r=e.type.contextTypes;if(!r)return no;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gt(e){return e=e.childContextTypes,e!=null}function _0(){fe(mt),fe(tt)}function n3(e,t,r){if(tt.current!==no)throw Error(O(168));ce(tt,t),ce(mt,r)}function r9(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(O(108,NL(e)||"Unknown",o));return we({},r,n)}function F0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,Jo=tt.current,ce(tt,e),ce(mt,mt.current),!0}function o3(e,t,r){var n=e.stateNode;if(!n)throw Error(O(169));r?(e=r9(e,t,Jo),n.__reactInternalMemoizedMergedChildContext=e,fe(mt),fe(tt),ce(tt,e)):fe(mt),ce(mt,r)}var cn=null,jd=!1,Ep=!1;function n9(e){cn===null?cn=[e]:cn.push(e)}function nO(e){jd=!0,n9(e)}function ho(){if(!Ep&&cn!==null){Ep=!0;var e=0,t=ue;try{var r=cn;for(ue=1;e>=l,o-=l,pn=1<<32-cr(t)+o|r<A?(_=k,k=null):_=k.sibling;var R=h(b,k,E[A],x);if(R===null){k===null&&(k=_);break}e&&k&&R.alternate===null&&t(b,k),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R,k=_}if(A===E.length)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;AA?(_=k,k=null):_=k.sibling;var z=h(b,k,R.value,x);if(z===null){k===null&&(k=_);break}e&&k&&z.alternate===null&&t(b,k),y=a(z,y,A),S===null?D=z:S.sibling=z,S=z,k=_}if(R.done)return r(b,k),me&&Ro(b,A),D;if(k===null){for(;!R.done;A++,R=E.next())R=m(b,R.value,x),R!==null&&(y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return me&&Ro(b,A),D}for(k=n(b,k);!R.done;A++,R=E.next())R=f(k,b,A,R.value,x),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?A:R.key),y=a(R,y,A),S===null?D=R:S.sibling=R,S=R);return e&&k.forEach(function(L){return t(b,L)}),me&&Ro(b,A),D}function C(b,y,E,x){if(typeof E=="object"&&E!==null&&E.type===Wa&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pu:e:{for(var D=E.key,S=y;S!==null;){if(S.key===D){if(D=E.type,D===Wa){if(S.tag===7){r(b,S.sibling),y=o(S,E.props.children),y.return=b,b=y;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ln&&i3(D)===S.type){r(b,S.sibling),y=o(S,E.props),y.ref=wi(b,S,E),y.return=b,b=y;break e}r(b,S);break}else t(b,S);S=S.sibling}E.type===Wa?(y=Ko(E.props.children,b.mode,x,E.key),y.return=b,b=y):(x=Uc(E.type,E.key,E.props,null,b.mode,x),x.ref=wi(b,y,E),x.return=b,b=x)}return l(b);case Ua:e:{for(S=E.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){r(b,y.sibling),y=o(y,E.children||[]),y.return=b,b=y;break e}else{r(b,y);break}else t(b,y);y=y.sibling}y=Fp(E,b.mode,x),y.return=b,b=y}return l(b);case Ln:return S=E._init,C(b,y,S(E._payload),x)}if(Hi(E))return v(b,y,E,x);if(fi(E))return g(b,y,E,x);Zu(b,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(r(b,y.sibling),y=o(y,E),y.return=b,b=y):(r(b,y),y=_p(E,b.mode,x),y.return=b,b=y),l(b)):r(b,y)}return C}var zl=i9(!0),s9=i9(!1),z0=fo(null),T0=null,Qa=null,F2=null;function R2(){F2=Qa=T0=null}function I2(e){var t=z0.current;fe(z0),e._currentValue=t}function Bm(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function sl(e,t){T0=e,F2=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ft=!0),e.firstContext=null)}function jt(e){var t=e._currentValue;if(F2!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(T0===null)throw Error(O(308));Qa=e,T0.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var Mo=null;function z2(e){Mo===null?Mo=[e]:Mo.push(e)}function u9(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,z2(t)):(r.next=o.next,o.next=r),t.interleaved=r,bn(e,n)}function bn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var $n=!1;function T2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function c9(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ae&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,bn(e,r)}return o=n.interleaved,o===null?(t.next=t,z2(n)):(t.next=o.next,o.next=t),n.interleaved=t,bn(e,r)}function Mc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}function s3(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?o=a=l:a=a.next=l,r=r.next}while(r!==null);a===null?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function B0(e,t,r,n){var o=e.updateQueue;$n=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var u=i,d=u.next;u.next=null,l===null?a=d:l.next=d,l=u;var p=e.alternate;p!==null&&(p=p.updateQueue,i=p.lastBaseUpdate,i!==l&&(i===null?p.firstBaseUpdate=d:i.next=d,p.lastBaseUpdate=u))}if(a!==null){var m=o.baseState;l=0,p=d=u=null,i=a;do{var h=i.lane,f=i.eventTime;if((n&h)===h){p!==null&&(p=p.next={eventTime:f,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var v=e,g=i;switch(h=t,f=r,g.tag){case 1:if(v=g.payload,typeof v=="function"){m=v.call(f,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,h=typeof v=="function"?v.call(f,m,h):v,h==null)break e;m=we({},m,h);break e;case 2:$n=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else f={eventTime:f,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(d=p=f,u=m):p=p.next=f,l|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(p===null&&(u=m),o.baseState=u,o.firstBaseUpdate=d,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ta|=l,e.lanes=l,e.memoizedState=m}}function u3(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=Cp.transition;Cp.transition={};try{e(!1),t()}finally{ue=r,Cp.transition=n}}function A9(){return Vt().memoizedState}function iO(e,t,r){var n=Xn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},_9(e))F9(t,r);else if(r=u9(e,t,r,n),r!==null){var o=lt();dr(r,e,n,o),R9(r,t,n)}}function sO(e,t,r){var n=Xn(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(_9(e))F9(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,i=a(l,r);if(o.hasEagerState=!0,o.eagerState=i,fr(i,l)){var u=t.interleaved;u===null?(o.next=o,z2(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=u9(e,t,o,n),r!==null&&(o=lt(),dr(r,e,n,o),R9(r,t,n))}}function _9(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function F9(e,t){cs=$0=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function R9(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,y2(e,r)}}var O0={readContext:jt,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},uO={readContext:jt,useCallback:function(e,t){return Ir().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:d3,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Nc(4194308,4,x9.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nc(4,2,e,t)},useMemo:function(e,t){var r=Ir();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ir();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iO.bind(null,ye,e),[n.memoizedState,e]},useRef:function(e){var t=Ir();return e={current:e},t.memoizedState=e},useState:c3,useDebugValue:H2,useDeferredValue:function(e){return Ir().memoizedState=e},useTransition:function(){var e=c3(!1),t=e[0];return e=lO.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ye,o=Ir();if(me){if(r===void 0)throw Error(O(407));r=r()}else{if(r=t(),Ne===null)throw Error(O(349));ea&30||h9(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,d3(g9.bind(null,n,a,e),[e]),n.flags|=2048,Ns(9,m9.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ir(),t=Ne.identifierPrefix;if(me){var r=fn,n=pn;r=(n&~(1<<32-cr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Ms++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Lr]=t,e[Ls]=n,N9(e,t,!1,!1),t.stateNode=e;e:{switch(l=gm(r,n),r){case"dialog":de("cancel",e),de("close",e),o=n;break;case"iframe":case"object":case"embed":de("load",e),o=n;break;case"video":case"audio":for(o=0;oLl&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304)}else{if(!n)if(e=L0(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),bi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!me)return Ye(t),null}else 2*Ce()-a.renderingStartTime>Ll&&r!==1073741824&&(t.flags|=128,n=!0,bi(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(r=a.last,r!==null?r.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ce(),t.sibling=null,r=ve.current,ce(ve,n?r&1|2:r&1),t):(Ye(t),null);case 22:case 23:return G2(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?St&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function vO(e,t){switch(A2(t),t.tag){case 1:return gt(t.type)&&_0(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tl(),fe(mt),fe(tt),$2(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return L2(t),null;case 13:if(fe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(ve),null;case 4:return Tl(),null;case 10:return I2(t.type._context),null;case 22:case 23:return G2(),null;case 24:return null;default:return null}}var Ju=!1,et=!1,yO=typeof WeakSet=="function"?WeakSet:Set,V=null;function el(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){be(e,t,n)}else r.current=null}function Vm(e,t,r){try{r()}catch(n){be(e,t,n)}}var x3=!1;function wO(e,t){if(km=D0,e=GC(),S2(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var l=0,i=-1,u=-1,d=0,p=0,m=e,h=null;t:for(;;){for(var f;m!==r||o!==0&&m.nodeType!==3||(i=l+o),m!==a||n!==0&&m.nodeType!==3||(u=l+n),m.nodeType===3&&(l+=m.nodeValue.length),(f=m.firstChild)!==null;)h=m,m=f;for(;;){if(m===e)break t;if(h===r&&++d===o&&(i=l),h===a&&++p===n&&(u=l),(f=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=f}r=i===-1||u===-1?null:{start:i,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Am={focusedElem:e,selectionRange:r},D0=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,C=v.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:rr(t.type,g),C);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){be(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=x3,x3=!1,v}function ds(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Vm(t,r,a)}o=o.next}while(o!==n)}}function Wd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Um(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function V9(e){var t=e.alternate;t!==null&&(e.alternate=null,V9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lr],delete t[Ls],delete t[Rm],delete t[tO],delete t[rO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function U9(e){return e.tag===5||e.tag===3||e.tag===4}function C3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||U9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=A0));else if(n!==4&&(e=e.child,e!==null))for(Wm(e,t,r),e=e.sibling;e!==null;)Wm(e,t,r),e=e.sibling}function qm(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(qm(e,t,r),e=e.sibling;e!==null;)qm(e,t,r),e=e.sibling}var He=null,nr=!1;function An(e,t,r){for(r=r.child;r!==null;)W9(e,t,r),r=r.sibling}function W9(e,t,r){if(Hr&&typeof Hr.onCommitFiberUnmount=="function")try{Hr.onCommitFiberUnmount(Od,r)}catch{}switch(r.tag){case 5:et||el(r,t);case 6:var n=He,o=nr;He=null,An(e,t,r),He=n,nr=o,He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):He.removeChild(r.stateNode));break;case 18:He!==null&&(nr?(e=He,r=r.stateNode,e.nodeType===8?bp(e.parentNode,r):e.nodeType===1&&bp(e,r),Rs(e)):bp(He,r.stateNode));break;case 4:n=He,o=nr,He=r.stateNode.containerInfo,nr=!0,An(e,t,r),He=n,nr=o;break;case 0:case 11:case 14:case 15:if(!et&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,l=a.destroy;a=a.tag,l!==void 0&&(a&2||a&4)&&Vm(r,t,l),o=o.next}while(o!==n)}An(e,t,r);break;case 1:if(!et&&(el(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(i){be(r,t,i)}An(e,t,r);break;case 21:An(e,t,r);break;case 22:r.mode&1?(et=(n=et)||r.memoizedState!==null,An(e,t,r),et=n):An(e,t,r);break;default:An(e,t,r)}}function D3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new yO),t.forEach(function(n){var o=_O.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Jt(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=l),n&=~a}if(n=o,n=Ce()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*EO(n/1960))-n,10e?16:e,Un===null)var n=!1;else{if(e=Un,Un=null,N0=0,ae&6)throw Error(O(331));var o=ae;for(ae|=4,V=e.current;V!==null;){var a=V,l=a.child;if(V.flags&16){var i=a.deletions;if(i!==null){for(var u=0;uCe()-W2?Go(e,0):U2|=r),vt(e,t)}function Q9(e,t){t===0&&(e.mode&1?(t=Vu,Vu<<=1,!(Vu&130023424)&&(Vu=4194304)):t=1);var r=lt();e=bn(e,t),e!==null&&(uu(e,t,r),vt(e,r))}function AO(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Q9(e,r)}function _O(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(O(314))}n!==null&&n.delete(t),Q9(e,r)}var eD;eD=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)ft=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ft=!1,mO(e,t,r);ft=!!(e.flags&131072)}else ft=!1,me&&t.flags&1048576&&o9(t,I0,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Hc(e,t),e=t.pendingProps;var o=Rl(t,tt.current);sl(t,r),o=M2(null,t,n,e,o,r);var a=P2();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,gt(n)?(a=!0,F0(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,T2(t),o.updater=Ud,t.stateNode=o,o._reactInternals=t,$m(t,n,e,r),t=Pm(null,t,n,!0,a,r)):(t.tag=0,me&&a&&k2(t),at(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Hc(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=RO(n),e=rr(n,e),o){case 0:t=Mm(null,t,n,e,r);break e;case 1:t=w3(null,t,n,e,r);break e;case 11:t=v3(null,t,n,e,r);break e;case 14:t=y3(null,t,n,rr(n.type,e),r);break e}throw Error(O(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Mm(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),w3(e,t,n,o,r);case 3:e:{if(O9(t),e===null)throw Error(O(387));n=t.pendingProps,a=t.memoizedState,o=a.element,c9(e,t),B0(t,n,null,r);var l=t.memoizedState;if(n=l.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Bl(Error(O(423)),t),t=b3(e,t,n,r,o);break e}else if(n!==o){o=Bl(Error(O(424)),t),t=b3(e,t,n,r,o);break e}else for(At=Kn(t.stateNode.containerInfo.firstChild),_t=t,me=!0,ar=null,r=s9(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Il(),n===o){t=En(e,t,r);break e}at(e,t,n,r)}t=t.child}return t;case 5:return d9(t),e===null&&Tm(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,l=o.children,_m(n,o)?l=null:a!==null&&_m(n,a)&&(t.flags|=32),$9(e,t),at(e,t,l,r),t.child;case 6:return e===null&&Tm(t),null;case 13:return M9(e,t,r);case 4:return B2(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=zl(t,null,n,r):at(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),v3(e,t,n,o,r);case 7:return at(e,t,t.pendingProps,r),t.child;case 8:return at(e,t,t.pendingProps.children,r),t.child;case 12:return at(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ce(z0,n._currentValue),n._currentValue=l,a!==null)if(fr(a.value,l)){if(a.children===o.children&&!mt.current){t=En(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){l=a.child;for(var u=i.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=hn(-1,r&-r),u.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),Bm(a.return,r,t),i.lanes|=r;break}u=u.next}}else if(a.tag===10)l=a.type===t.type?null:a.child;else if(a.tag===18){if(l=a.return,l===null)throw Error(O(341));l.lanes|=r,i=l.alternate,i!==null&&(i.lanes|=r),Bm(l,r,t),l=a.sibling}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}at(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,sl(t,r),o=jt(o),n=n(o),t.flags|=1,at(e,t,n,r),t.child;case 14:return n=t.type,o=rr(n,t.pendingProps),o=rr(n.type,o),y3(e,t,n,o,r);case 15:return B9(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rr(n,o),Hc(e,t),t.tag=1,gt(n)?(e=!0,F0(t)):e=!1,sl(t,r),I9(t,n,o),$m(t,n,o,r),Pm(null,t,n,!0,e,r);case 19:return P9(e,t,r);case 22:return L9(e,t,r)}throw Error(O(156,t.tag))};function tD(e,t){return _C(e,t)}function FO(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,r,n){return new FO(e,t,r,n)}function Y2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RO(e){if(typeof e=="function")return Y2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===h2)return 11;if(e===m2)return 14}return 2}function Jn(e,t){var r=e.alternate;return r===null?(r=Mt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Uc(e,t,r,n,o,a){var l=2;if(n=e,typeof e=="function")Y2(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Wa:return Ko(r.children,o,a,t);case f2:l=8,o|=8;break;case lm:return e=Mt(12,r,t,o|2),e.elementType=lm,e.lanes=a,e;case im:return e=Mt(13,r,t,o),e.elementType=im,e.lanes=a,e;case sm:return e=Mt(19,r,t,o),e.elementType=sm,e.lanes=a,e;case dC:return Gd(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uC:l=10;break e;case cC:l=9;break e;case h2:l=11;break e;case m2:l=14;break e;case Ln:l=16,n=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Mt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Ko(e,t,r,n){return e=Mt(7,e,n,t),e.lanes=r,e}function Gd(e,t,r,n){return e=Mt(22,e,n,t),e.elementType=dC,e.lanes=r,e.stateNode={isHidden:!1},e}function _p(e,t,r){return e=Mt(6,e,null,t),e.lanes=r,e}function Fp(e,t,r){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function IO(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=up(0),this.expirationTimes=up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=up(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Z2(e,t,r,n,o,a,l,i,u){return e=new IO(e,t,r,i,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Mt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},T2(a),e}function zO(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aD)}catch(e){console.error(e)}}aD(),aC.exports=Bt;var fu=aC.exports;const lD=YE(fu);var OO=Object.create,Jd=Object.defineProperty,MO=Object.getOwnPropertyDescriptor,PO=Object.getOwnPropertyNames,NO=Object.getPrototypeOf,HO=Object.prototype.hasOwnProperty,c=(e,t)=>Jd(e,"name",{value:t,configurable:!0}),tc=(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')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ql=(e,t)=>{for(var r in t)Jd(e,r,{get:t[r],enumerable:!0})},jO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PO(t))!HO.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=MO(t,o))||n.enumerable});return e},We=(e,t,r)=>(r=e!=null?OO(NO(e)):{},jO(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e));function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(oe,"_extends")});function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var VO=T(()=>{c(iD,"_assertThisInitialized")});function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$l(e,t)}var ev=T(()=>{c($l,"_setPrototypeOf")});function V0(e){return V0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},V0(e)}var UO=T(()=>{c(V0,"_getPrototypeOf")}),Qd,tv=T(()=>{Qd=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),e1=Y((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof tc=="function"&&tc;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}c(l,"s");for(var i=typeof tc=="function"&&tc,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}c(i,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function t1(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var rv=T(()=>{c(t1,"_objectWithoutPropertiesLoose")});function sD(e,t){if(e==null)return{};var r,n,o=t1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var WO=T(()=>{rv(),c(sD,"_objectWithoutProperties")});function U0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(U0,"_arrayLikeToArray")});function cD(e){if(Array.isArray(e))return U0(e)}var qO=T(()=>{uD(),c(cD,"_arrayWithoutHoles")});function dD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var GO=T(()=>{c(dD,"_iterableToArray")});function pD(e,t){if(e){if(typeof e=="string")return U0(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U0(e,t):void 0}}var KO=T(()=>{uD(),c(pD,"_unsupportedIterableToArray")});function fD(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var YO=T(()=>{c(fD,"_nonIterableSpread")});function hD(e){return cD(e)||dD(e)||pD(e)||fD()}var ZO=T(()=>{qO(),GO(),KO(),YO(),c(hD,"_toConsumableArray")});function Ol(e){"@babel/helpers - typeof";return Ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ol(e)}var mD=T(()=>{c(Ol,"_typeof")});function gD(e,t){if(Ol(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ol(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XO=T(()=>{mD(),c(gD,"toPrimitive")});function vD(e){var t=gD(e,"string");return Ol(t)=="symbol"?t:t+""}var JO=T(()=>{mD(),XO(),c(vD,"toPropertyKey")});function nv(e,t,r){return(t=vD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yD=T(()=>{JO(),c(nv,"_defineProperty")});function Xm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function No(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function bD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Wc[t]||(Wc[t]=wD(e)),Wc[t]}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(a){return a!=="token"}),o=bD(n);return o.reduce(function(a,l){return No(No({},a),r[l])},t)}function Jm(e){return e.join(" ")}function xD(e,t){var r=0;return function(n){return r+=1,n.map(function(o,a){return r1({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(a)})})}}function r1(e){var t=e.node,r=e.stylesheet,n=e.style,o=n===void 0?{}:n,a=e.useInlineStyles,l=e.key,i=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var m=xD(r,a),h;if(!a)h=No(No({},i),{},{className:Jm(i.className)});else{var f=Object.keys(r).reduce(function(b,y){return y.split(".").forEach(function(E){b.includes(E)||b.push(E)}),b},[]),v=i.className&&i.className.includes("token")?["token"]:[],g=i.className&&v.concat(i.className.filter(function(b){return!f.includes(b)}));h=No(No({},i),{},{className:Jm(g)||void 0,style:ED(i.className,Object.assign({},i.style,o),r)})}var C=m(t.children);return w.createElement(d,oe({key:l},h),C)}}var Wc,CD=T(()=>{wr(),yD(),c(Xm,"ownKeys"),c(No,"_objectSpread"),c(wD,"powerSetPermutations"),Wc={},c(bD,"getClassNameCombinations"),c(ED,"createStyleObject"),c(Jm,"createClassNameString"),c(xD,"createChildren"),c(r1,"createElement")}),DD,QO=T(()=>{DD=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Qm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return hs({children:D,lineNumber:S,lineNumberStyle:i,largestLineNumber:l,showInlineLineNumbers:o,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&o){var k=av(i,S,l);D.unshift(ov(S,k))}return D}c(g,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(D,S,k):g(D,S)}c(C,"createLine");for(var b=c(function(){var D=p[f],S=D.children[0].value,k=SD(S);if(k){var A=S.split(` -`);A.forEach(function(_,R){var z=n&&m.length+a,L={type:"text",value:"".concat(_,` -`)};if(R===0){var $=p.slice(h+1,f).concat(hs({children:[L],className:D.properties.className})),N=C($,z);m.push(N)}else if(R===A.length-1){var M=p[f+1]&&p[f+1].children&&p[f+1].children[0],j={type:"text",value:"".concat(_)};if(M){var q=hs({children:[j],className:D.properties.className});p.splice(f+1,0,q)}else{var B=[j],P=C(B,z,D.properties.className);m.push(P)}}else{var H=[L],G=C(H,z,D.properties.className);m.push(G)}}),h=f}f++},"_loop");f{WO(),ZO(),yD(),CD(),QO(),TD=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Qm,"ownKeys"),c(lr,"_objectSpread"),BD=/\n/g,c(SD,"getNewLines"),c(kD,"getAllLineNumbers"),c(AD,"AllLineNumbers"),c(_D,"getEmWidthOfNumber"),c(ov,"getInlineLineNumber"),c(av,"assembleLineNumberStyles"),c(hs,"createLineElement"),c(lv,"flattenCodeTree"),c(FD,"processLines"),c(RD,"defaultRenderer"),c(iv,"isHighlightJs"),c(ID,"getCodeTree"),c(zD,"default")}),tM=Y((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var o={},a=0;a{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(o,a,l){this.property=o,this.normal=a,l&&(this.space=l)}c(n,"Schema")}),rM=Y((e,t)=>{var r=tM(),n=LD();t.exports=o;function o(a){for(var l=a.length,i=[],u=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),$D=Y((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(o,a){this.property=o,this.attribute=a}c(n,"Info")}),uv=Y(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),OD=Y((e,t)=>{var r=$D(),n=uv();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.length;function l(u,d,p,m){var h=-1,f;for(i(this,"space",m),r.call(this,u,d);++h{var r=sv(),n=LD(),o=OD();t.exports=a;function a(l){var i=l.space,u=l.mustUseProperty||[],d=l.attributes||{},p=l.properties,m=l.transform,h={},f={},v,g;for(v in p)g=new o(v,m(d,v),p[v],i),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,i)}c(a,"create")}),nM=Y((e,t)=>{var r=hu();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(o,a){return"xlink:"+a.slice(5).toLowerCase()}c(n,"xlinkTransform")}),oM=Y((e,t)=>{var r=hu();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(o,a){return"xml:"+a.slice(3).toLowerCase()}c(n,"xmlTransform")}),aM=Y((e,t)=>{t.exports=r;function r(n,o){return o in n?n[o]:o}c(r,"caseSensitiveTransform")}),MD=Y((e,t)=>{var r=aM();t.exports=n;function n(o,a){return r(o,a.toLowerCase())}c(n,"caseInsensitiveTransform")}),lM=Y((e,t)=>{var r=hu(),n=MD();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),iM=Y((e,t)=>{var r=uv(),n=hu(),o=r.booleanish,a=r.number,l=r.spaceSeparated;t.exports=n({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}});function i(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(i,"ariaTransform")}),sM=Y((e,t)=>{var r=uv(),n=hu(),o=MD(),a=r.boolean,l=r.overloadedBoolean,i=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:d,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:i,controls:a,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:d,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:d,itemRef:d,itemScope:a,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:d,required:a,reversed:a,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:i,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})}),uM=Y((e,t)=>{var r=rM(),n=nM(),o=oM(),a=lM(),l=iM(),i=sM();t.exports=r([o,n,a,l,i])}),cM=Y((e,t)=>{var r=sv(),n=OD(),o=$D(),a="data";t.exports=d;var l=/^data[-\w.:]+$/i,i=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var C=r(g),b=g,y=o;return C in v.normal?v.property[v.normal[C]]:(C.length>4&&C.slice(0,4)===a&&l.test(g)&&(g.charAt(4)==="-"?b=p(g):g=m(g),y=n),new y(b,g))}c(d,"find");function p(v){var g=v.slice(5).replace(i,f);return a+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function m(v){var g=v.slice(4);return i.test(g)?v:(g=g.replace(u,h),g.charAt(0)!=="-"&&(g="-"+g),a+g)}c(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}c(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),dM=Y((e,t)=>{t.exports=n;var r=/[#.]/g;function n(o,a){for(var l=o||"",i=a||"div",u={},d=0,p,m,h;d{e.parse=o,e.stringify=a;var t="",r=" ",n=/[ \t\n\r\f]+/g;function o(l){var i=String(l||t).trim();return i===t?[]:i.split(n)}c(o,"parse");function a(l){return l.join(r).trim()}c(a,"stringify")}),fM=Y(e=>{e.parse=o,e.stringify=a;var t=",",r=" ",n="";function o(l){for(var i=[],u=String(l||n),d=u.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=u.length,m=!0),h=u.slice(p,d).trim(),(h||!m)&&i.push(h),p=d+1,d=u.indexOf(t,p);return i}c(o,"parse");function a(l,i){var u=i||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(p+t+d).trim()}c(a,"stringify")}),hM=Y((e,t)=>{var r=cM(),n=sv(),o=dM(),a=pM().parse,l=fM().parse;t.exports=u;var i={}.hasOwnProperty;function u(C,b,y){var E=y?g(y):null;return x;function x(S,k){var A=o(S,b),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),z;if(A.tagName=E&&i.call(E,R)?E[R]:R,k&&d(k,A)&&(_.unshift(k),k=null),k)for(z in k)D(A.properties,z,k[z]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function D(S,k,A){var _,R,z;A==null||A!==A||(_=r(C,k),R=_.property,z=A,typeof z=="string"&&(_.spaceSeparated?z=a(z):_.commaSeparated?z=l(z):_.commaOrSpaceSeparated&&(z=a(l(z).join(" ")))),R==="style"&&typeof A!="string"&&(z=v(z)),R==="className"&&S.className&&(z=S.className.concat(z)),S[R]=h(_,R,z))}}c(u,"factory");function d(C,b){return typeof C=="string"||"length"in C||p(b.tagName,C)}c(d,"isChildren");function p(C,b){var y=b.type;return C==="input"||!y||typeof y!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(y=y.toLowerCase(),C==="button"?y!=="menu"&&y!=="submit"&&y!=="reset"&&y!=="button":"value"in b)}c(p,"isNode");function m(C,b){var y,E;if(typeof b=="string"||typeof b=="number"){C.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(y=-1,E=b.length;++y{var r=uM(),n=hM(),o=n(r,"div");o.displayName="html",t.exports=o}),gM=Y((e,t)=>{t.exports=mM()}),vM=Y((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),yM=Y((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),PD=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=48&&o<=57}c(r,"decimal")}),wM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}c(r,"hexadecimal")}),bM=Y((e,t)=>{t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=122||o>=65&&o<=90}c(r,"alphabetical")}),EM=Y((e,t)=>{var r=bM(),n=PD();t.exports=o;function o(a){return r(a)||n(a)}c(o,"alphanumerical")}),xM=Y((e,t)=>{var r,n=59;t.exports=o;function o(a){var l="&"+a+";",i;return r=r||document.createElement("i"),r.innerHTML=l,i=r.textContent,i.charCodeAt(i.length-1)===n&&a!=="semi"||i===l?!1:i}c(o,"decodeEntity")}),CM=Y((e,t)=>{var r=vM(),n=yM(),o=PD(),a=wM(),l=EM(),i=xM();t.exports=G;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,C=38,b=59,y=60,E=61,x=35,D=88,S=120,k=65533,A="named",_="hexadecimal",R="decimal",z={};z[_]=16,z[R]=10;var L={};L[A]=l,L[R]=o,L[_]=a;var $=1,N=2,M=3,j=4,q=5,B=6,P=7,H={};H[$]="Named character references must be terminated by a semicolon",H[N]="Numeric character references must be terminated by a semicolon",H[M]="Named character references cannot be empty",H[j]="Numeric character references cannot be empty",H[q]="Named character references must be known",H[B]="Numeric character references cannot be disallowed",H[P]="Numeric character references cannot be outside the permissible Unicode range";function G(U,X){var re={},_e,qe;X||(X={});for(qe in m)_e=X[qe],re[qe]=_e??m[qe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),Z(U,re)}c(G,"parseEntities");function Z(U,X){var re=X.additional,_e=X.nonTerminated,qe=X.text,xr=X.reference,xt=X.warning,Yt=X.textContext,W=X.referenceContext,Zt=X.warningContext,Cr=X.position,bo=X.indent||[],Ca=U.length,Dr=0,Tu=-1,rt=Cr.column||1,Eo=Cr.line||1,Sr="",Da=[],kr,Sa,Ar,Ge,Xt,Le,De,_r,Bu,G1,xo,ui,Co,en,Jy,ci,Lu,Fr,$e;for(typeof re=="string"&&(re=re.charCodeAt(0)),ci=di(),_r=xt?Jz:p,Dr--,Ca++;++Dr65535&&(Le-=65536,G1+=d(Le>>>10|55296),Le=56320|Le&1023),Le=G1+d(Le))):en!==A&&_r(j,Fr)),Le?(Qy(),ci=di(),Dr=$e-1,rt+=$e-Co+1,Da.push(Le),Lu=di(),Lu.offset++,xr&&xr.call(W,Le,{start:ci,end:Lu},U.slice(Co-1,$e)),ci=Lu):(Ge=U.slice(Co-1,$e),Sr+=Ge,rt+=Ge.length,Dr=$e-1)}else Xt===10&&(Eo++,Tu++,rt=0),Xt===Xt?(Sr+=d(Xt),rt++):Qy();return Da.join("");function di(){return{line:Eo,column:rt,offset:Dr+(Cr.offset||0)}}function Jz(e4,t4){var K1=di();K1.column+=t4,K1.offset+=t4,xt.call(Zt,H[e4],K1,e4)}function Qy(){Sr&&(Da.push(Sr),qe&&qe.call(Yt,Sr,{start:ci,end:di()}),Sr="")}}c(Z,"parse");function Q(U){return U>=55296&&U<=57343||U>1114111}c(Q,"prohibited");function ie(U){return U>=1&&U<=8||U===11||U>=13&&U<=31||U>=127&&U<=159||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534}c(ie,"disallowed")}),DM=Y((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(o){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,i={},u={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:c(function E(x){return x instanceof d?new d(x.type,E(x.content),x.alias):Array.isArray(x)?x.map(E):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var x=document.getElementsByTagName("script");for(var D in x)if(x[D].src==E)return x[D]}return null}},"currentScript"),isActive:c(function(E,x,D){for(var S="no-"+x;E;){var k=E.classList;if(k.contains(x))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!D},"isActive")},languages:{plain:i,plaintext:i,text:i,txt:i,extend:c(function(E,x){var D=u.util.clone(u.languages[E]);for(var S in x)D[S]=x[S];return D},"extend"),insertBefore:c(function(E,x,D,S){S=S||u.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==x)for(var R in D)D.hasOwnProperty(R)&&(A[R]=D[R]);D.hasOwnProperty(_)||(A[_]=k[_])}var z=S[E];return S[E]=A,u.languages.DFS(u.languages,function(L,$){$===z&&L!=E&&(this[L]=A)}),A},"insertBefore"),DFS:c(function E(x,D,S,k){k=k||{};var A=u.util.objId;for(var _ in x)if(x.hasOwnProperty(_)){D.call(x,_,x[_],S||_);var R=x[_],z=u.util.type(R);z==="Object"&&!k[A(R)]?(k[A(R)]=!0,E(R,D,null,k)):z==="Array"&&!k[A(R)]&&(k[A(R)]=!0,E(R,D,_,k))}},"DFS")},plugins:{},highlightAll:c(function(E,x){u.highlightAllUnder(document,E,x)},"highlightAll"),highlightAllUnder:c(function(E,x,D){var S={callback:D,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)u.highlightElement(A,x===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(E,x,D){var S=u.util.getLanguage(E),k=u.languages[S];u.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(A,S);var _=E.textContent,R={element:E,language:S,grammar:k,code:_};function z($){R.highlightedCode=$,u.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,u.hooks.run("after-highlight",R),u.hooks.run("complete",R),D&&D.call(R.element)}if(c(z,"insertHighlightedCode"),u.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){u.hooks.run("complete",R),D&&D.call(R.element);return}if(u.hooks.run("before-highlight",R),!R.grammar){z(u.util.encode(R.code));return}if(x&&o.Worker){var L=new Worker(u.filename);L.onmessage=function($){z($.data)},L.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else z(u.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:c(function(E,x,D){var S={code:E,grammar:x,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(E,x){var D=x.rest;if(D){for(var S in D)x[S]=D[S];delete x.rest}var k=new h;return f(k,k.head,E),m(E,k,x,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:c(function(E,x){var D=u.hooks.all;D[E]=D[E]||[],D[E].push(x)},"add"),run:c(function(E,x){var D=u.hooks.all[E];if(!(!D||!D.length))for(var S=0,k;k=D[S++];)k(x)},"run")},Token:d};o.Prism=u;function d(E,x,D,S){this.type=E,this.content=x,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function E(x,D){if(typeof x=="string")return x;if(Array.isArray(x)){var S="";return x.forEach(function(z){S+=E(z,D)}),S}var k={type:x.type,content:E(x.content,D),tag:"span",classes:["token",x.type],attributes:{},language:D},A=x.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),u.hooks.run("wrap",k);var _="";for(var R in k.attributes)_+=" "+R+'="'+(k.attributes[R]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""},"stringify");function p(E,x,D,S){E.lastIndex=x;var k=E.exec(D);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}c(p,"matchPattern");function m(E,x,D,S,k,A){for(var _ in D)if(!(!D.hasOwnProperty(_)||!D[_])){var R=D[_];R=Array.isArray(R)?R:[R];for(var z=0;z=A.reach);H+=P.value.length,P=P.next){var G=P.value;if(x.length>E.length)return;if(!(G instanceof d)){var Z=1,Q;if(M){if(Q=p(B,H,E,N),!Q||Q.index>=E.length)break;var re=Q.index,ie=Q.index+Q[0].length,U=H;for(U+=P.value.length;re>=U;)P=P.next,U+=P.value.length;if(U-=P.value.length,H=U,P.value instanceof d)continue;for(var X=P;X!==x.tail&&(UA.reach&&(A.reach=xt);var Yt=P.prev;qe&&(Yt=f(x,Yt,qe),H+=qe.length),v(x,Yt,Z);var W=new d(_,$?u.tokenize(_e,$):_e,j,_e);if(P=f(x,Yt,W),xr&&f(x,P,xr),Z>1){var Zt={cause:_+","+z,reach:xt};m(E,x,D,P.prev,H,Zt),A&&Zt.reach>A.reach&&(A.reach=Zt.reach)}}}}}}c(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},x={value:null,prev:E,next:null};E.next=x,this.head=E,this.tail=x,this.length=0}c(h,"LinkedList");function f(E,x,D){var S=x.next,k={value:D,prev:x,next:S};return x.next=k,S.prev=k,E.length++,k}c(f,"addAfter");function v(E,x,D){for(var S=x.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(o,a){var l={};l["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},l.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:l}};i["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var u={};u[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(o,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),HD=Y((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(o){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var l=o.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}c(r,"css")}),SM=Y((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}c(r,"clike")}),kM=Y((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}c(r,"javascript")}),AM=Y((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var o=gM(),a=CM(),l=DM(),i=ND(),u=HD(),d=SM(),p=kM();n();var m={}.hasOwnProperty;function h(){}c(h,"Refractor"),h.prototype=l;var f=new h;t.exports=f,f.highlight=C,f.register=v,f.alias=g,f.registered=b,f.listLanguages=y,v(i),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}c(v,"register");function g(A,_){var R=f.languages,z=A,L,$,N,M;_&&(z={},z[A]=_);for(L in z)for($=z[L],$=typeof $=="string"?[$]:$,N=$.length,M=-1;++M{eM(),rc=We(AM()),nc=zD(rc.default,{}),nc.registerLanguage=function(e,t){return rc.default.register(t)},nc.alias=function(e,t){return rc.default.alias(e,t)},qc=nc}),FM=T(()=>{CD()}),RM=Y((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(o){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:l,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=o.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=i.variable[1].inside,p=0;p{z3=We(RM()),jD=z3.default}),T3,VD,zM=T(()=>{T3=We(HD()),VD=T3.default}),TM=Y((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(o){if(o.language!=="graphql")return;var a=o.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),l=0;function i(y){return a[l+y]}c(i,"getToken");function u(y,E){E=E||0;for(var x=0;x0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var C=l;C=0&&p(b,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),B3,UD,BM=T(()=>{B3=We(TM()),UD=B3.default}),LM=Y((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(o){o.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+o.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),o.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+o.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),o.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function a(m,h){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}c(a,"withId"),o.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var l=["function","function-variable","method","method-variable","property-access"],i=0;i{L3=We(LM()),WD=L3.default}),OM=Y((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),$3,qD,MM=T(()=>{$3=We(OM()),qD=$3.default}),GD=Y((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(o){var a=o.util.clone(o.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return l}).replace(//g,function(){return i}).replace(//g,function(){return u}),RegExp(h,f)}c(d,"re"),u=d(u).source,o.languages.jsx=o.languages.extend("markup",a),o.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=a.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var p=c(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=c(function(h){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:C=!0),(C||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var b=p(g);v0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(b=p(h[v-1])+b,h.splice(v-1,1),v--),h[v]=new o.Token("plain-text",b,null,b)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");o.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}c(r,"jsx")}),O3,KD,PM=T(()=>{O3=We(GD()),KD=O3.default}),NM=Y((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(o){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(v){return v=v.replace(//g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(l,"createInline");var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(o.languages.markdown[v].inside.content.inside[g]=o.languages.markdown[g])})}),o.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(C){if(!(!C||typeof C=="string"))for(var b=0,y=C.length;b",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(C,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),h(y)}else{var E=m[b];return E||C}}),g}c(f,"textContent"),o.languages.md=o.languages.markdown})(n)}c(r,"markdown")}),M3,YD,HM=T(()=>{M3=We(NM()),YD=M3.default}),P3,ZD,jM=T(()=>{P3=We(ND()),ZD=P3.default}),XD=Y((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(o){o.languages.typescript=o.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),o.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var a=o.languages.extend("typescript",{});delete a["class-name"],o.languages.typescript["class-name"].inside=a,o.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),o.languages.ts=o.languages.typescript})(n)}c(r,"typescript")}),VM=Y((e,t)=>{var r=GD(),n=XD();t.exports=o,o.displayName="tsx",o.aliases=[];function o(a){a.register(r),a.register(n),function(l){var i=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",i),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var u=l.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(a)}c(o,"tsx")}),N3,JD,UM=T(()=>{N3=We(VM()),JD=N3.default}),H3,QD,WM=T(()=>{H3=We(XD()),QD=H3.default}),qM=Y((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(o){var a=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+l.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+l.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return m});return RegExp(f,h)}c(p,"createValuePattern"),o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(n)}c(r,"yaml")}),j3,eS,GM=T(()=>{j3=We(qM()),eS=j3.default}),V3,Rp,cv,tS=T(()=>{V3=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Rp=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Rp.displayName="ActionButton",cv=c(({actionItems:e,...t})=>w.createElement(V3,{...t},e.map(({title:r,className:n,onClick:o,disabled:a},l)=>w.createElement(Rp,{key:l,className:n,onClick:o,disabled:!!a},r))),"ActionBar")});function rS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nS(...e){return t=>e.forEach(r=>rS(r,t))}var KM=T(()=>{c(rS,"setRef"),c(nS,"composeRefs")});function U3(e){return s.isValidElement(e)&&e.type===oS}function W3(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function q3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var W0,oc,oS,aS=T(()=>{KM(),W0=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(U3);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return ne.jsx(oc,{...n,ref:t,children:s.isValidElement(l)?s.cloneElement(l,void 0,i):null})}return ne.jsx(oc,{...n,ref:t,children:r})}),W0.displayName="Slot",oc=s.forwardRef((e,t)=>{let{children:r,...n}=e;if(s.isValidElement(r)){let o=q3(r);return s.cloneElement(r,{...W3(n,r.props),ref:t?nS(t,o):o})}return s.Children.count(r)>1?s.Children.only(null):null}),oc.displayName="SlotClone",oS=c(({children:e})=>ne.jsx(ne.Fragment,{children:e}),"Slottable"),c(U3,"isSlottable"),c(W3,"mergeProps"),c(q3,"getElementRef")}),G3,Oa,YM=T(()=>{aS(),G3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Oa=G3.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?W0:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ne.jsx(i,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function lS(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function iS(...e){return t=>e.forEach(r=>lS(r,t))}function On(...e){return s.useCallback(iS(...e),e)}var sS=T(()=>{c(lS,"setRef"),c(iS,"composeRefs"),c(On,"useComposedRefs")}),q0,uS=T(()=>{q0=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{}});function cS(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function K3(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=cS(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=Ui(n.current);a.current=i==="mounted"?d:"none"},[i]),q0(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=Ui(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),q0(()=>{if(t){let d=c(m=>{let h=Ui(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=Ui(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Ui(e){return(e==null?void 0:e.animationName)||"none"}function Y3(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rl,ZM=T(()=>{"use client";sS(),uS(),c(cS,"useStateMachine"),rl=c(e=>{let{present:t,children:r}=e,n=K3(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=On(n.ref,Y3(o));return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"Presence"),rl.displayName="Presence",c(K3,"usePresence"),c(Ui,"getAnimationName"),c(Y3,"getElementRef")});function dS(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return ne.jsx(g.Provider,{value:C,children:f})}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext2"),d.displayName=a+"Provider",[d,p]}c(n,"createContext3");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,pS(o,...t)]}function pS(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var XM=T(()=>{c(dS,"createContextScope"),c(pS,"composeContextScopes")});function jn(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var JM=T(()=>{c(jn,"useCallbackRef")});function fS(e){let t=s.useContext(hS);return e||t||"ltr"}var hS,QM=T(()=>{hS=s.createContext(void 0),c(fS,"useDirection")});function mS(e,[t,r]){return Math.min(r,Math.max(t,e))}var eP=T(()=>{c(mS,"clamp")});function In(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var tP=T(()=>{c(In,"composeEventHandlers")});function Z3(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}function xi(e){return e?parseInt(e,10):0}function eg(e,t){let r=e/t;return isNaN(r)?0:r}function ms(e){let t=eg(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function X3(e,t,r,n="ltr"){let o=ms(r),a=o/2,l=t||a,i=o-l,u=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-i,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return dv([u,d],m)(e)}function Ip(e,t,r="ltr"){let n=ms(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,l=t.content-t.viewport,i=a-n,u=r==="ltr"?[0,l]:[l*-1,0],d=mS(e,u);return dv([0,l],[0,i])(d)}function dv(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function zp(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Do(e,t){let r=jn(t);q0(()=>{let n=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}function J3(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let o=s.Children.only(n);return s.cloneElement(o,{children:typeof t=="function"?t(o.props.children):t})}var ac,Tp,rP,Q3,Ct,Bp,Lp,$p,Qt,Op,ew,tw,Mp,lc,rw,nw,ow,Pp,Np,Di,Hp,aw,ic,jp,lw,iw,gS,vS,yS,wS,bS,nP=T(()=>{"use client";YM(),ZM(),XM(),sS(),JM(),QM(),uS(),eP(),tP(),c(Z3,"useStateMachine"),ac="ScrollArea",[Tp,rP]=dS(ac),[Q3,Ct]=Tp(ac),Bp=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:a=600,...l}=e,[i,u]=s.useState(null),[d,p]=s.useState(null),[m,h]=s.useState(null),[f,v]=s.useState(null),[g,C]=s.useState(null),[b,y]=s.useState(0),[E,x]=s.useState(0),[D,S]=s.useState(!1),[k,A]=s.useState(!1),_=On(t,z=>u(z)),R=fS(o);return ne.jsx(Q3,{scope:r,type:n,dir:R,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:C,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:y,onCornerHeightChange:x,children:ne.jsx(Oa.div,{dir:R,...l,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),Bp.displayName=ac,Lp="ScrollAreaViewport",$p=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:o,nonce:a,...l}=e,i=Ct(Lp,r),u=s.useRef(null),d=On(t,u,i.onViewportChange);return ne.jsxs(ne.Fragment,{children:[ne.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:a}),ne.jsx(Oa.div,{"data-radix-scroll-area-viewport":"",...l,asChild:o,ref:d,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style},children:J3({asChild:o,children:n},p=>ne.jsx("div",{"data-radix-scroll-area-content":"",ref:i.onContentChange,style:{minWidth:i.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),$p.displayName=Lp,Qt="ScrollAreaScrollbar",Op=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=o,i=e.orientation==="horizontal";return s.useEffect(()=>(i?a(!0):l(!0),()=>{i?a(!1):l(!1)}),[i,a,l]),o.type==="hover"?ne.jsx(ew,{...n,ref:t,forceMount:r}):o.type==="scroll"?ne.jsx(tw,{...n,ref:t,forceMount:r}):o.type==="auto"?ne.jsx(Mp,{...n,ref:t,forceMount:r}):o.type==="always"?ne.jsx(lc,{...n,ref:t}):null}),Op.displayName=Qt,ew=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),[a,l]=s.useState(!1);return s.useEffect(()=>{let i=o.scrollArea,u=0;if(i){let d=c(()=>{window.clearTimeout(u),l(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>l(!1),o.scrollHideDelay)},"handlePointerLeave");return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",p)}}},[o.scrollArea,o.scrollHideDelay]),ne.jsx(rl,{present:r||a,children:ne.jsx(Mp,{"data-state":a?"visible":"hidden",...n,ref:t})})}),tw=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=e.orientation==="horizontal",l=Ci(()=>u("SCROLL_END"),100),[i,u]=Z3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){let d=window.setTimeout(()=>u("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,u]),s.useEffect(()=>{let d=o.viewport,p=a?"scrollLeft":"scrollTop";if(d){let m=d[p],h=c(()=>{let f=d[p];m!==f&&(u("SCROLL"),l()),m=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[o.viewport,a,u,l]),ne.jsx(rl,{present:r||i!=="hidden",children:ne.jsx(lc,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:In(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:In(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),Mp=s.forwardRef((e,t)=>{let r=Ct(Qt,e.__scopeScrollArea),{forceMount:n,...o}=e,[a,l]=s.useState(!1),i=e.orientation==="horizontal",u=Ci(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Ct(Qt,e.__scopeScrollArea),a=s.useRef(null),l=s.useRef(0),[i,u]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=eg(i.viewport,i.content),p={...n,sizes:i,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(h=>a.current=h,"onThumbChange"),onThumbPointerUp:c(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:c(h=>l.current=h,"onThumbPointerDown")};function m(h,f){return X3(h,l.current,i,f)}return c(m,"getScrollPosition"),r==="horizontal"?ne.jsx(rw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollLeft,f=Ip(h,i,o.dir);a.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollLeft=m(h,o.dir))},"onDragScroll")}):r==="vertical"?ne.jsx(nw,{...p,ref:t,onThumbPositionChange:c(()=>{if(o.viewport&&a.current){let h=o.viewport.scrollTop,f=Ip(h,i);a.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:c(h=>{o.viewport&&(o.viewport.scrollTop=m(h))},"onDragScroll")}):null}),rw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarXChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:xi(l.paddingLeft),paddingEnd:xi(l.paddingRight)}})},"onResize")})}),nw=s.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,a=Ct(Qt,e.__scopeScrollArea),[l,i]=s.useState(),u=s.useRef(null),d=On(t,u,a.onScrollbarYChange);return s.useEffect(()=>{u.current&&i(getComputedStyle(u.current))},[u]),ne.jsx(Np,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ms(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,m)=>{if(a.viewport){let h=a.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),zp(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&a.viewport&&l&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:xi(l.paddingTop),paddingEnd:xi(l.paddingBottom)}})},"onResize")})}),[ow,Pp]=Tp(Qt),Np=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:l,onThumbPointerDown:i,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:m,...h}=e,f=Ct(Qt,r),[v,g]=s.useState(null),C=On(t,_=>g(_)),b=s.useRef(null),y=s.useRef(""),E=f.viewport,x=n.content-n.viewport,D=jn(p),S=jn(u),k=Ci(m,10);function A(_){if(b.current){let R=_.clientX-b.current.left,z=_.clientY-b.current.top;d({x:R,y:z})}}return c(A,"handleDragScroll"),s.useEffect(()=>{let _=c(R=>{let z=R.target;v!=null&&v.contains(z)&&D(R,x)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,v,x,D]),s.useEffect(S,[n,S]),Do(v,k),Do(f.content,k),ne.jsx(ow,{scope:r,scrollbar:v,hasThumb:o,onThumbChange:jn(a),onThumbPointerUp:jn(l),onThumbPositionChange:S,onThumbPointerDown:jn(i),children:ne.jsx(Oa.div,{...h,ref:C,style:{position:"absolute",...h.style},onPointerDown:In(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),b.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:In(e.onPointerMove,A),onPointerUp:In(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),b.current=null})})})}),Di="ScrollAreaThumb",Hp=s.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Pp(Di,e.__scopeScrollArea);return ne.jsx(rl,{present:r||o.hasThumb,children:ne.jsx(aw,{ref:t,...n})})}),aw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,a=Ct(Di,r),l=Pp(Di,r),{onThumbPositionChange:i}=l,u=On(t,m=>l.onThumbChange(m)),d=s.useRef(),p=Ci(()=>{d.current&&(d.current(),d.current=void 0)},100);return s.useEffect(()=>{let m=a.viewport;if(m){let h=c(()=>{if(p(),!d.current){let f=iw(m,i);d.current=f,i()}},"handleScroll");return i(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[a.viewport,p,i]),ne.jsx(Oa.div,{"data-state":l.hasThumb?"visible":"hidden",...o,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:In(e.onPointerDownCapture,m=>{let h=m.target.getBoundingClientRect(),f=m.clientX-h.left,v=m.clientY-h.top;l.onThumbPointerDown({x:f,y:v})}),onPointerUp:In(e.onPointerUp,l.onThumbPointerUp)})}),Hp.displayName=Di,ic="ScrollAreaCorner",jp=s.forwardRef((e,t)=>{let r=Ct(ic,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?ne.jsx(lw,{...e,ref:t}):null}),jp.displayName=ic,lw=s.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Ct(ic,r),[a,l]=s.useState(0),[i,u]=s.useState(0),d=!!(a&&i);return Do(o.scrollbarX,()=>{var m;let p=((m=o.scrollbarX)==null?void 0:m.offsetHeight)||0;o.onCornerHeightChange(p),u(p)}),Do(o.scrollbarY,()=>{var m;let p=((m=o.scrollbarY)==null?void 0:m.offsetWidth)||0;o.onCornerWidthChange(p),l(p)}),d?ne.jsx(Oa.div,{...n,ref:t,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(xi,"toInt"),c(eg,"getThumbRatio"),c(ms,"getThumbSize"),c(X3,"getScrollPositionFromPointer"),c(Ip,"getThumbOffsetFromScroll"),c(dv,"linearScale"),c(zp,"isScrollingWithinScrollbarBounds"),iw=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function o(){let a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,i=r.top!==a.top;(l||i)&&t(),r=a,n=window.requestAnimationFrame(o)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(Ci,"useDebounceCallback"),c(Do,"useResizeObserver"),c(J3,"getSubtree"),gS=Bp,vS=$p,yS=Op,wS=Hp,bS=jp}),sw,uw,Vp,Up,G0,pv=T(()=>{nP(),sw=F(gS)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),uw=F(vS)({width:"100%",height:"100%"}),Vp=F(yS)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Up=F(wS)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),G0=s.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:a},l)=>w.createElement(sw,{scrollbarsize:o,offset:n,className:a},w.createElement(uw,{ref:l},e),t&&w.createElement(Vp,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),r&&w.createElement(Vp,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(Up,null)),t&&r&&w.createElement(bS,null))),G0.displayName="ScrollArea"}),fv={};Ql(fv,{SyntaxHighlighter:()=>gs,createCopyToClipboardFunction:()=>tg,default:()=>ES,supportedLanguages:()=>rg});const{logger:oP}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function tg(){return Wi!=null&&Wi.clipboard?e=>Wi.clipboard.writeText(e):async e=>{let t=Ma.createElement("TEXTAREA"),r=Ma.activeElement;t.value=e,Ma.body.appendChild(t),t.select(),Ma.execCommand("copy"),Ma.body.removeChild(t),r.focus()}}var cw,Wi,Ma,dw,rg,pw,fw,hw,mw,gw,vw,yw,Wp,ww,bw,gs,ES,n1=T(()=>{tv(),cw=We(e1(),1),FM(),IM(),zM(),BM(),$M(),MM(),PM(),HM(),jM(),UM(),WM(),GM(),_M(),tS(),pv(),{navigator:Wi,document:Ma,window:dw}=Qd,rg={jsextra:WD,jsx:KD,json:qD,yml:eS,md:YD,bash:jD,css:VD,html:ZD,tsx:JD,typescript:QD,graphql:UD},Object.entries(rg).forEach(([e,t])=>{qc.registerLanguage(e,t)}),pw=(0,cw.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),fw=tg(),c(tg,"createCopyToClipboardFunction"),hw=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),mw=c(({children:e,className:t})=>w.createElement(G0,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),gw=F(mw)({position:"relative"},({theme:e})=>pw(e)),vw=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),yw=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Wp=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},"processLineNumber"),ww=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,o)=>r1({node:Wp(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})),"defaultRenderer"),bw=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(o=>Wp(o)),...n}):ww:e,"wrapRenderer"),gs=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:a=!0,formatter:l=void 0,className:i=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,m]=s.useState("");s.useEffect(()=>{l?l(a,e).then(m):m(e.trim())},[e,a,l]);let[h,f]=s.useState(!1),v=s.useCallback(C=>{C.preventDefault(),fw(p).then(()=>{f(!0),dw.setTimeout(()=>f(!1),1500)}).catch(oP.error)},[p]),g=bw(d.renderer,u);return w.createElement(hw,{bordered:n,padded:o,showLineNumbers:u,className:i},w.createElement(gw,null,w.createElement(qc,{padded:o||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:vw,CodeTag:yw,lineNumberContainerStyle:{},...d,renderer:g},p)),r?w.createElement(cv,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),gs.registerLanguage=(...e)=>qc.registerLanguage(...e),ES=gs});function Ew(e){if(typeof e=="string")return d1;if(Array.isArray(e))return p1;if(!e)return;let{type:t}=e;if(Lv.has(t))return t}function xw(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(f1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Fk([...Lv].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function br(e){return io(e),{type:Us,contents:e}}function hv(e,t){return io(t),{type:Ws,contents:t,n:e}}function Ae(e,t={}){return io(e),h1(t.expandedStates,!0),{type:Pl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function xS(e){return hv(Number.NEGATIVE_INFINITY,e)}function CS(e){return hv({type:"root"},e)}function mv(e){return h1(e),{type:qs,parts:e}}function js(e,t="",r={}){return io(e),t!==""&&io(t),{type:Gs,breakContents:e,flatContents:t,groupId:r.groupId}}function DS(e,t){return io(e),{type:Ks,contents:e,groupId:t.groupId,negate:t.negate}}function pa(e,t){io(e),h1(t);let r=[];for(let n=0;nt===""))return"";break;case Pl:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Pl&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ws:case Us:case Ks:case ed:if(!e.contents)return"";break;case Gs:if(!e.flatContents&&!e.breakContents)return"";break;case p1:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Nl(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case d1:case J0:case Q0:case td:case Mn:case rd:case ws:break;default:throw new $v(e)}return e}function kS(e){return o1(e,t=>SS(t))}function Pt(e,t=Rk){return o1(e,r=>typeof r=="string"?pa(t,r.split(` -`)):r)}function Cw(e,t){let r=t===!0||t===Zi?Zi:cg,n=r===Zi?cg:Zi,o=0,a=0;for(let l of e)l===r?o++:l===n&&a++;return o>a?n:r}function Dw(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Sw(e){return(e==null?void 0:e.type)==="front-matter"}function qp(e,t){var r;if(e.type==="text"||e.type==="comment"||xu(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)Tk.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function kw(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return CS([e.startDelimiter,e.explicitLanguage,pe,n,n?pe:"",e.endDelimiter])}}function mu(e,t=!0){return[br([je,e]),t?je:""]}function fa(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ut(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let o=!0;n&&(r.__onHtmlBindingRoot=(l,i)=>{o=n(l,i)});let a=await t(e,r,t);return o?Ae(a):mu(a)}function Aw(e,t,r,n){let{node:o}=r,a=n.originalText.slice(o.sourceSpan.start.offset,o.sourceSpan.end.offset);return/^\s*$/u.test(a)?"":Ut(a,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},fa)}function ng(e,t){if(!t)return;let r=$k(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function AS(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function _w(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=AS(r,t.language)??ng(r,t.physicalFile)??ng(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Fw(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function gv(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||na(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||l1(e,t)&&!qr(e)&&e.type!=="interpolation")}function gu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_S(e.prev)}function _S(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function kt(e){return e.type==="text"||e.type==="comment"}function qr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Hl(e)&&(e.name==="script"||e.name==="style"))}function FS(e){return e.children&&!qr(e)}function RS(e){return qr(e)||e.type==="interpolation"||vv(e)}function vv(e){return Dv(e).startsWith("pre")}function IS(e,t){var r,n;let o=a();if(o&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return o;function a(){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!NS(e.parent.cssDisplay))||e.prev&&!VS(e.prev.cssDisplay))}}function zS(e,t){return xu(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:na(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||na(e)&&e.parent||qr(e.parent)||vu(e.parent,t)||!HS(e.parent.cssDisplay))||e.next&&!jS(e.next.cssDisplay))}function TS(e){return US(e.cssDisplay)&&!qr(e)}function qi(e){return xu(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>$S(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&bv(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ev(e.lastChild))}function yv(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Gc(e){return xv(e)||e.prev&&LS(e.prev)||wv(e)}function LS(e){return xv(e)||e.type==="element"&&e.fullName==="br"||wv(e)}function wv(e){return bv(e)&&Ev(e)}function bv(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function xv(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function a1(e){return e.lastChild?a1(e.lastChild):e}function $S(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Cv(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function OS(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:o,lang:a}=e.attrMap;return!a&&!o?"babel":Cu(t,{language:a})??Cv(o)}function MS(e,t){if(!l1(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:o}=r;return Cu(t,{language:o})??Cv(n)}function PS(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Cu(t,{language:r}):"css"}function og(e,t){return OS(e,t)??PS(e,t)??MS(e,t)}function ei(e){return e==="block"||e==="list-item"||e.startsWith("table")}function NS(e){return!ei(e)&&e!=="inline-block"}function HS(e){return!ei(e)&&e!=="inline-block"}function jS(e){return!ei(e)}function VS(e){return!ei(e)}function US(e){return!ei(e)&&e!=="inline-block"}function na(e){return Dv(e).startsWith("pre")}function WS(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function qS(e,t){var r;if(ha(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let o=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(o)return o[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(WS(e,o=>o.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Hl(e))&&Mk[e.name]||Ok}}function Dv(e){return e.type==="element"&&(!e.namespace||Hl(e))&&Nk[e.name]||Pk}function GS(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=sr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function kv(e){return yt(!1,yt(!1,e,"'","'"),""",'"')}function Sn(e){return kv(e.value)}function vu(e,t){return ha(e,t)&&!jk.has(e.fullName)}function ha(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function l1(e,t){return ha(e,t)&&(vu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function KS(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function YS(e,t){let r=e.parent;if(!ha(r,t))return!1;let n=r.fullName,o=e.fullName;return n==="script"&&o==="setup"||n==="style"&&o==="vars"}function Av(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pt(t):Pt(Sv(Ov(t)),pe):pa(Be,sr.split(t))}function _v(e,t){return ha(e,t)&&e.name==="script"}async function ZS(e,t){let r=[];for(let[n,o]of e.split(Mv).entries())if(n%2===0)r.push(Pt(o));else try{r.push(Ae(["{{",br([Be,await Ut(o,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Be,"}}"]))}catch{r.push("{{",Pt(o),"}}")}return r}function sc({parser:e}){return(t,r,n)=>Ut(Sn(n.node),t,{parser:e},fa)}function Rw(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Vk;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Uk;if(n.startsWith("*"))return Wk;let o=Sn(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>mu(mv(Av(r,o.trim())),!o.includes("@@"));if(Mv.test(o))return a=>ZS(o,a)}function Iw(e,t){let{node:r}=e,n=Sn(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function ag(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function zw(e){let t=e.length,r,n,o,a,l,i=0,u;function d(f){let v,g=f.exec(e.substring(i));if(g)return[v]=g,i+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Yk),i>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=i,r=d(Zk),n=[],r.slice(-1)===","?(r=r.replace(Xk,""),h()):m()}function m(){for(d(Kk),o="",a="in descriptor";;){if(l=e.charAt(i),a==="in descriptor")if(ag(l))o&&(n.push(o),o="",a="after descriptor");else if(l===","){i+=1,o&&n.push(o),h();return}else if(l==="(")o+=l,a="in parens";else if(l===""){o&&n.push(o),h();return}else o+=l;else if(a==="in parens")if(l===")")o+=l,a="in descriptor";else if(l===""){n.push(o),h();return}else o+=l;else if(a==="after descriptor"&&!ag(l))if(l===""){h();return}else a="in descriptor",i-=1;i+=1}}c(m,"f");function h(){let f=!1,v,g,C,b,y={},E,x,D,S,k;for(b=0;bXS(Sn(e.node))}function XS(e){let t=Qk(e),r=eA.filter(p=>t.some(m=>Object.prototype.hasOwnProperty.call(m,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,o=pg[n],a=t.map(p=>p.source.value),l=Math.max(...a.map(p=>p.length)),i=t.map(p=>p[n]?String(p[n].value):""),u=i.map(p=>{let m=p.indexOf(".");return m===-1?p.length:m}),d=Math.max(...u);return mu(pa([",",Be],a.map((p,m)=>{let h=[p],f=i[m];if(f){let v=l-p.length+1,g=d-u[m],C=" ".repeat(v+g);h.push(js(C," "),f+o)}return h})))}function JS(e,t){let{node:r}=e,n=Sn(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async o=>mu(await o(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Bw(e,t){let{root:r}=e;return Kc.has(r)||Kc.set(r,r.children.some(n=>_v(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Kc.get(r)}function QS(e,t,r){let{node:n}=r,o=Sn(n);return Ut(`type T<${o}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},fa)}function ek(e,t,{parseWithTs:r}){return Ut(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tk(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function rk(e,t,r,n){let o=Sn(r.node),{left:a,operator:l,right:i}=nk(o),u=m1(r,n);return[Ae(await Ut(`function _(${a}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await Ut(i,e,{parser:u?"__ts_expression":"__js_expression"})]}function nk(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,o=e.match(t);if(!o)return;let a={};if(a.for=o[3].trim(),!a.for)return;let l=yt(!1,o[1].trim(),n,""),i=l.match(r);i?(a.alias=l.replace(r,""),a.iterator1=i[1].trim(),i[2]&&(a.iterator2=i[2].trim())):a.alias=l;let u=[a.alias,a.iterator1,a.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:o[2],right:a.for}}function Lw(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rk;if(n==="generic"&&_v(r.parent,t))return QS;let o=Sn(r),a=m1(e,t);if(KS(r)||YS(r,t))return l=>ek(o,l,{parseWithTs:a});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>ok(o,l,{parseWithTs:a});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>ak(o,l,{parseWithTs:a});if(n.startsWith("v-"))return l=>Fv(o,l,{parseWithTs:a})}function ok(e,t,{parseWithTs:r}){return tk(e)?Fv(e,t,{parseWithTs:r}):Ut(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},fa)}function ak(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},fa)}function Fv(e,t,{parseWithTs:r}){return Ut(e,t,{parser:r?"__ts_expression":"__js_expression"},fa)}function $w(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[tA,JS,Gk,rA,qk]){let o=n(e,t);if(o)return lk(o)}}}function lk(e){return async(t,r,n,o)=>{let a=await e(t,r,n,o);if(a)return a=o1(a,l=>typeof l=="string"?yt(!1,l,'"',"""):l),[n.node.rawName,'="',Ae(a),'"']}}function Ow(e){return Array.isArray(e)&&e.length>0}function yu(e){return e.sourceSpan.start.offset}function wu(e){return e.sourceSpan.end.offset}function K0(e,t){return[e.isSelfClosing?"":ik(e,t),cl(e,t)]}function ik(e,t){return e.lastChild&&Ml(e.lastChild)?"":[sk(e,t),i1(e,t)]}function cl(e,t){return(e.next?ao(e.next):ri(e.parent))?"":[ti(e,t),oo(e,t)]}function sk(e,t){return ri(e)?ti(e.lastChild,t):""}function oo(e,t){return Ml(e)?i1(e.parent,t):bu(e)?s1(e.next):""}function i1(e,t){if(Pv(!e.isSelfClosing),Rv(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rv(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(gu(e)||gv(e.parent,t))}function ao(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!kt(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ri(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!kt(a1(e.lastChild))&&!na(e)}function Ml(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&kt(a1(e))}function bu(e){return e.next&&!kt(e.next)&&kt(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uk(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Eu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ck(e,t,r){var n;let{node:o}=e;if(!g1(o.attrs))return o.isSelfClosing?" ":"";let a=((n=o.prev)==null?void 0:n.type)==="comment"&&uk(o.prev.value),l=typeof a=="boolean"?()=>a:Array.isArray(a)?m=>a.includes(m.rawName):()=>!1,i=e.map(({node:m})=>l(m)?Pt(t.originalText.slice(yu(m),wu(m))):r(),"attrs"),u=o.type==="element"&&o.fullName==="script"&&o.attrs.length===1&&o.attrs[0].fullName==="src"&&o.children.length===0,d=t.singleAttributePerLine&&o.attrs.length>1&&!ha(o,t)?pe:Be,p=[br([u?" ":Be,pa(d,i)])];return o.firstChild&&Eu(o.firstChild)||o.isSelfClosing&&ri(o.parent)||u?p.push(o.isSelfClosing?" ":""):p.push(t.bracketSameLine?o.isSelfClosing?" ":"":o.isSelfClosing?Be:je),p}function dk(e){return e.firstChild&&Eu(e.firstChild)?"":u1(e)}function Y0(e,t,r){let{node:n}=e;return[dl(n,t),ck(e,t,r),n.isSelfClosing?"":dk(n)]}function dl(e,t){return e.prev&&bu(e.prev)?"":[lo(e,t),s1(e)]}function lo(e,t){return Eu(e)?u1(e.parent):ao(e)?ti(e.prev,t):""}function s1(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function u1(e){switch(Pv(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Mw(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Eu(e.firstChild)&&(r-=u1(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Ml(e.lastChild)?n+=i1(e,t).length:ri(e)&&(n-=ti(e.lastChild,t).length),t.originalText.slice(r,n)}function Pw(e,t){let{node:r}=e;switch(r.type){case"element":if(qr(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&l1(r,t)){let n=og(r,t);return n?async(o,a)=>{let l=Nv(r,t),i=/^\s*$/u.test(l),u="";return i||(u=await o(Ov(l),{parser:n,__embeddedInHtml:!0}),i=u===""),[lo(r,t),Ae(Y0(e,t,a)),i?"":pe,u,i?"":pe,K0(r,t),oo(r,t)]}:void 0}break;case"text":if(qr(r.parent)){let n=og(r.parent,t);if(n)return async o=>{let a=n==="markdown"?Sv(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let i="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(i="module"),l.__babelSourceType=i}return[fl,lo(r,t),await o(a,l),oo(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let o={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?o.parser="__ng_interpolation":t.parser==="vue"?o.parser=m1(e,t)?"__vue_ts_expression":"__vue_expression":o.parser="__js_expression",[br([Be,await n(r.value,o)]),r.parent.next&&ao(r.parent.next)?" ":Be]};break;case"attribute":return nA(e,t);case"front-matter":return n=>Bk(r,n);case"angularControlFlowBlockParameters":return oA.has(e.parent.name)?Lk:void 0;case"angularLetDeclarationInitializer":return n=>Ut(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function pl(e){if(Na!==null&&typeof Na.property){let t=Na;return Na=pl.prototype=null,t}return Na=pl.prototype=e??Object.create(null),new pl}function pk(e){return pl(e)}function Nw(e,t="type"){pk(e);function r(n){let o=n[t],a=e[o];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${o}'.`),{node:n});return a}return c(r,"r"),r}function fk(e){return/^\s*/u.test(e)}function Hw(e){return` - -`+e}function Iv(e){let t=wu(e);return e.type==="element"&&!e.endSourceSpan&&g1(e.children)?Math.max(t,Iv(Nl(!1,e.children,-1))):t}function Pa(e,t,r){let n=e.node;if(gu(n)){let o=Iv(n);return[lo(n,t),Pt(sr.trimEnd(t.originalText.slice(yu(n)+(n.prev&&bu(n.prev)?s1(n).length:0),o-(n.next&&ao(n.next)?ti(n,t).length:0)))),oo(n,t)]}return r()}function Gi(e,t){return kt(e)&&kt(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gc(t)?pe:Be:"":Gc(t)?pe:je:bu(e)&&(gu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ao(t)?"":!t.isLeadingSpaceSensitive||Gc(t)||ao(t)&&e.lastChild&&Ml(e.lastChild)&&e.lastChild.lastChild&&Ml(e.lastChild.lastChild)?pe:t.hasLeadingSpaces?Be:je}function c1(e,t,r){let{node:n}=e;if(yv(n))return[fl,...e.map(a=>{let l=a.node,i=l.prev?Gi(l.prev,l):"";return[i?[i,qi(l.prev)?pe:""]:"",Pa(a,t,r)]},"children")];let o=n.children.map(()=>Symbol(""));return e.map((a,l)=>{let i=a.node;if(kt(i)){if(i.prev&&kt(i.prev)){let v=Gi(i.prev,i);if(v)return qi(i.prev)?[pe,pe,Pa(a,t,r)]:[v,Pa(a,t,r)]}return Pa(a,t,r)}let u=[],d=[],p=[],m=[],h=i.prev?Gi(i.prev,i):"",f=i.next?Gi(i,i.next):"";return h&&(qi(i.prev)?u.push(pe,pe):h===pe?u.push(pe):kt(i.prev)?d.push(h):d.push(js("",je,{groupId:o[l-1]}))),f&&(qi(i)?kt(i.next)&&m.push(pe,pe):f===pe?kt(i.next)&&m.push(pe):p.push(f)),[...u,Ae([...d,Ae([Pa(a,t,r),...p],{id:o[l]})]),...m]},"children")}function hk(e,t,r){let{node:n}=e,o=[];mk(e)&&o.push("} "),o.push("@",n.name),n.parameters&&o.push(" (",Ae(r("parameters")),")"),o.push(" {");let a=zv(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,o.push(br([pe,c1(e,t,r)])),a&&o.push(pe,"}")):a&&o.push("}"),Ae(o,{shouldBreak:!0})}function zv(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=aA.get(e.name))!=null&&r.has(e.next.name))}function mk(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!gu(t)&&!zv(t)}function gk(e,t,r){return[br([je,pa([";",Be],e.map(r,"children"))]),je]}function vk(e,t,r){let{node:n}=e;return[dl(n,t),Ae([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",br([Be,pa(Be,e.map(r,"cases"))])]:"",je]),cl(n,t)]}function yk(e,t,r){let{node:n}=e;return[n.value," {",Ae([br([je,e.map(({node:o})=>o.type==="text"&&!sr.trim(o.value)?"":r(),"expression")]),je]),"}"]}function wk(e,t,r){let{node:n}=e;if(gv(n,t))return[lo(n,t),Ae(Y0(e,t,r)),Pt(Nv(n,t)),...K0(n,t),oo(n,t)];let o=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id"),l=c(p=>Ae([Ae(Y0(e,t,r),{id:a}),p,K0(n,t)]),"a"),i=c(p=>o?DS(p,{groupId:a}):(qr(n)||vu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:br(p),"o"),u=c(()=>o?js(je,"",{groupId:a}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Be:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?xS(je):je,"u"),d=c(()=>(n.next?ao(n.next):ri(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":o?js(je,"",{groupId:a}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Be:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":je,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Be:""):l([BS(n)?fl:"",i([u(),c1(e,t,r)]),d()])}function vs(e){return e>=9&&e<=32||e==160}function Z0(e){return 48<=e&&e<=57}function ys(e){return e>=97&&e<=122||e>=65&&e<=90}function bk(e){return e>=97&&e<=102||e>=65&&e<=70||Z0(e)}function uc(e){return e===10||e===13}function Gp(e){return 48<=e&&e<=55}function cc(e){return e===39||e===34||e===96}function jw(e){return e.replace(lA,(...t)=>t[1].toUpperCase())}function Vw(e,t){for(let r of iA)r(e,t);return e}function Uw(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ww(e){let t=c(r=>{var n,o;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((o=r.firstChild)==null?void 0:o.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let o=0;ot.type==="cdata",t=>``)}function Gw(e){let t=c(r=>{var n,o;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!sr.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((o=r.next)==null?void 0:o.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+o.firstChild.value+``+l.value,a.sourceSpan=new ee(a.sourceSpan.start,l.sourceSpan.end),a.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,a.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(o),n--,r.removeChild(l)}})}function Kw(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(FS(n))for(let o of n.children){if(o.type!=="text")continue;let a=o.sourceSpan.start,l=null,i=o.value.split(r);for(let u=0;u0&&n.insertChildBefore(o,{type:"text",value:d,sourceSpan:new ee(a,l)});continue}l=a.moveBy(d.length+4),n.insertChildBefore(o,{type:"interpolation",sourceSpan:new ee(a,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new ee(a.moveBy(2),l.moveBy(-2))}]})}n.removeChild(o)}})}function Yw(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&sr.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=RS(t),n=vv(t);if(!r)for(let o=0;o{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Xw(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Jw(e,t){e.walk(r=>{r.cssDisplay=qS(r,t)})}function Qw(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=TS(r);return}for(let o of n)o.isLeadingSpaceSensitive=IS(o,t),o.isTrailingSpaceSensitive=zS(o,t);for(let o=0;o{!Ai[t]&&Ki(t)===null&&(Ai[t]=new J({canSelfClose:!1}))})),Ai[e]??r6}function lg(e,t,r=null){let n=[],o=e.visit?a=>e.visit(a,r)||a.visit(e,r):a=>a.visit(e,r);return t.forEach(a=>{let l=o(a);l&&n.push(l)}),n}function r7(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];cA.forEach(o=>{if(o.test(r)||o.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function n7(e,t,r,n={}){let o=new pA(new Hv(e,t),r,n);return o.tokenize(),new dA(xk(o.tokens),o.errors,o.nonNormalizedIcuExpressions)}function So(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xp(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function o7(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function xe(e){return!vs(e)||e===0}function Jp(e){return vs(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function a7(e){return(e<97||12257)}function l7(e){return e===59||e===0||!bk(e)}function i7(e){return e===59||e===0||!ys(e)}function s7(e){return e!==125}function u7(e,t){return ig(e)===ig(t)}function ig(e){return e>=97&&e<=122?e-97+65:e}function Qp(e){return ys(e)||Z0(e)||e===95}function ef(e){return e!==59&&xe(e)}function xk(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function rf(e,t){return bs[t]!==void 0?bs[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function sg(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:o=!1,getTagContentType:a,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:i=!1}=t;return fA().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:i},o,a)}function c7(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Ck(e){let t=e.slice(0,Ha);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,Ha);if(r===-1)return;let n=e.slice(Ha,r).trim(),o=e.indexOf(` -${t}`,r),a=n;if(a||(a=t==="+++"?"toml":"yaml"),o===-1&&t==="---"&&a==="yaml"&&(o=e.indexOf(` -...`,r)),o===-1)return;let l=o+1+Ha,i=e.charAt(l+1);if(!/\s?/u.test(i))return;let u=e.slice(0,l);return{type:"front-matter",language:a,explicitLanguage:n,value:e.slice(r+1,o),startDelimiter:t,endDelimiter:u.slice(-Ha),raw:u}}function d7(e){let t=Ck(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:yt(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function p7(e,t){let r=e.map(t);return r.some((n,o)=>n!==e[o])?r:e}function Dk(e,t){if(e.value)for(let{regex:r,parse:n}of vA){let o=e.value.match(r);if(o)return n(e,t,o)}return null}function f7(e,t,r){let[,n,o,a]=r,l=4+n.length,i=e.sourceSpan.start.moveBy(l),u=i.moveBy(a.length),[d,p]=(()=>{try{return[!0,t(a,i).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new ee(i,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:yt(!1,o.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new ee(e.sourceSpan.start,i),endSourceSpan:new ee(u,e.sourceSpan.end)}}function h7(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:yt(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function m7(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Sk(e){if(e.type==="block"){if(e.name=yt(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!g1(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new ee(e.parameters[0].sourceSpan.start,Nl(!1,e.parameters,-1).sourceSpan.end)}}}function kk(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new ee(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Ak(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Tv(e,t,r){let{name:n,canSelfClose:o=!0,normalizeTagName:a=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:m}=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u,getTagContentType:d?(...y)=>d(...y)?ir.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Tv(e,fg,r);let y,E=c(()=>y??(y=sg(e,{canSelfClose:o,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:u})),"y"),x=c(D=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of p.entries()){let{endSourceSpan:k,startSourceSpan:A}=S;if(k===null)m=E().errors,p[D]=x(S);else if(_k(S,r)){let _=E().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&ug(m[0]);let h=c(y=>{let E=y.name.startsWith(":")?y.name.slice(1).split(":")[0]:null,x=y.nameSpan.toString(),D=E!==null&&x.startsWith(`${E}:`),S=D?x.slice(E.length+1):x;y.name=S,y.namespace=E,y.hasExplicitNamespace=D},"d"),f=c(y=>{switch(y.type){case"element":h(y);for(let E of y.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":y.value=y.sourceSpan.toString().slice(4,-3);break;case"text":y.value=y.sourceSpan.toString();break}},"C"),v=c((y,E)=>{let x=y.toLowerCase();return E(x)?x:y},"A"),g=c(y=>{if(y.type==="element"&&(a&&(!y.namespace||y.namespace===y.tagDefinition.implicitNamespacePrefix||Hl(y))&&(y.name=v(y.name,E=>yA.has(E))),l))for(let E of y.attrs)E.namespace||(E.name=v(E.name,x=>Zc.has(y.name)&&(Zc.get("*").has(x)||Zc.get(y.name).has(x))))},"D"),C=c(y=>{y.sourceSpan&&y.endSourceSpan&&(y.sourceSpan=new ee(y.sourceSpan.start,y.endSourceSpan.end))},"R"),b=c(y=>{if(y.type==="element"){let E=X0(u?y.name:y.name.toLowerCase());!y.namespace||y.namespace===E.implicitNamespacePrefix||Hl(y)?y.tagDefinition=E:y.tagDefinition=X0("")}},"F");return lg(new class extends uA{visitExpansionCase(y,E){n==="angular"&&this.visitChildren(E,x=>{x(y.expression)})}visit(y){f(y),b(y),g(y),C(y)}},p),p}function _k(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(o=>o.name==="lang"))==null?void 0:r.value;return!n||Cu(t,{language:n})==="html"}function ug(e){let{msg:t,span:{start:r,end:n}}=e;throw hA(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Bv(e,t,r={},n=!0){let{frontMatter:o,content:a}=n?mA(e):{frontMatter:null,content:e},l=new Hv(e,r.filepath),i=new nd(l,0,0,0),u=i.moveBy(e.length),d={type:"root",sourceSpan:new ee(i,u),children:Tv(a,t,r)};if(o){let h=new nd(l,0,0,0),f=h.moveBy(o.raw.length);o.sourceSpan=new ee(h,f),d.children.unshift(o)}let p=new gA(d),m=c((h,f)=>{let{offset:v}=f,g=yt(!1,e.slice(0,v),/[^\n\r]/gu," "),C=Bv(g+h,t,r,!1);C.sourceSpan=new ee(f,Nl(!1,C.children,-1).sourceSpan.end);let b=C.children[0];return b.length===v?C.children.shift():(b.sourceSpan=new ee(b.sourceSpan.start.moveBy(v),b.sourceSpan.end),b.value=b.value.slice(v)),C},"f");return p.walk(h=>{if(h.type==="comment"){let f=Dk(h,m);f&&h.parent.replaceChild(h,f)}Sk(h),kk(h),Ak(h)}),p}function ki(e){return{parse:c((t,r)=>Bv(t,e,r),"parse"),hasPragma:fk,astFormat:"html",locStart:yu,locEnd:wu}}var g7,nf,of,af,tn,v7,y7,lf,w7,yt,d1,p1,J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws,Lv,f1,Fk,sf,b7,$v,uf,io,h1,fl,E7,x7,Be,je,pe,Rk,C7,Nl,Zi,cg,Ik,er,cf,D7,S7,k7,A7,sr,df,_7,zk,xu,F7,Tk,R7,Bk,Lk,$k,Cu,Ok,Mk,Pk,Nk,Hl,I7,Ov,Hk,jk,Mv,Vk,Uk,Wk,qk,Gk,Kk,Yk,Zk,Xk,dg,Jk,Qk,pg,eA,tA,Kc,m1,rA,nA,pf,Pv,g1,Nv,oA,z7,Na,T7,B7,L7,$7,O7,M7,aA,lA,dc,nd,ff,Hv,hf,ee,pc,mf,gf,iA,P7,N7,H7,j7,vf,yf,V7,U7,wf,W7,q7,G7,bf,Ef,Ho,K7,ir,Yc,xf,Y7,Z7,X7,J7,Q7,e6,Cf,t6,Df,sA,Sf,J,r6,Ai,kf,ko,Af,n6,_f,o6,Ff,a6,Rf,l6,If,i6,zf,rn,Tf,s6,Bf,u6,Lf,Ao,$f,Of,Mf,Pf,Nf,uA,bs,c6,cA,fc,d6,Hf,jf,hc,Vf,dA,p6,mc,Uf,gc,Wf,pA,_i,qf,Fi,f6,Gf,vc,yc,Ze,Kf,h6,Yf,m6,wc,g6,Zf,v6,bc,fA,hA,Ha,mA,Ri,Xf,_o,gA,vA,Zc,yA,fg,y6,w6,b6,E6,x6,wA,aP=T(()=>{g7=Object.defineProperty,nf=c(e=>{throw TypeError(e)},"Xr"),of=c((e,t)=>{for(var r in t)g7(e,r,{get:t[r],enumerable:!0})},"Jr"),af=c((e,t,r)=>t.has(e)||nf("Cannot "+r),"Zr"),tn=c((e,t,r)=>(af(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),v7=c((e,t,r)=>t.has(e)?nf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),y7=c((e,t,r,n)=>(af(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),lf={},of(lf,{languages:c(()=>j7,"languages"),options:c(()=>U7,"options"),parsers:c(()=>wf,"parsers"),printers:c(()=>x6,"printers")}),w7=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),yt=w7,d1="string",p1="array",J0="cursor",Us="indent",Ws="align",Q0="trim",Pl="group",qs="fill",Gs="if-break",Ks="indent-if-break",ed="line-suffix",td="line-suffix-boundary",Mn="line",rd="label",ws="break-parent",Lv=new Set([J0,Us,Ws,Q0,Pl,qs,Gs,Ks,ed,td,Mn,rd,ws]),c(Ew,"ii"),f1=Ew,Fk=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(xw,"oi"),b7=(sf=class extends Error{constructor(t){super(xw(t));ka(this,"name","InvalidDocError");this.doc=t}},c(sf,"lr"),sf),$v=b7,uf=c(()=>{},"rn"),io=uf,h1=uf,c(br,"k"),c(hv,"nn"),c(Ae,"_"),c(xS,"sn"),c(CS,"an"),c(mv,"At"),c(js,"ge"),c(DS,"on"),fl={type:ws},E7={type:Mn,hard:!0},x7={type:Mn,hard:!0,literal:!0},Be={type:Mn},je={type:Mn,soft:!0},pe=[E7,fl],Rk=[x7,fl],c(pa,"q"),C7=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Nl=C7,c(o1,"Dt"),c(SS,"pi"),c(kS,"ln"),c(Pt,"B"),Zi="'",cg='"',c(Cw,"hi"),Ik=Cw,c(Dw,"cr"),D7=(cf=class{constructor(e){v7(this,er),y7(this,er,new Set(e))}getLeadingWhitespaceCount(e){let t=tn(this,er),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tn(this,er).has(e.charAt(0))}hasTrailingWhitespace(e){return tn(this,er).has(Nl(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dw([...tn(this,er)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tn(this,er);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tn(this,er);return Array.prototype.every.call(e,r=>t.has(r))}},c(cf,"pr"),cf),er=new WeakMap,S7=D7,k7=[" ",` -`,"\f","\r"," "],A7=new S7(k7),sr=A7,_7=(df=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);ka(this,"name","UnexpectedNodeError");this.node=t}},c(df,"hr"),df),zk=_7,c(Sw,"di"),xu=Sw,F7=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tk=new Set(["if","else if","for","switch","case"]),c(qp,"fn"),qp.ignoredProperties=F7,R7=qp,c(kw,"Si"),Bk=kw,c(mu,"Ce"),c(fa,"j"),c(Ut,"T"),c(Aw,"_i"),Lk=Aw,$k=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(ng,"Sn"),c(AS,"Ai"),c(_w,"Di"),Cu=_w,Ok="inline",Mk={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Pk="normal",Nk={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(Fw,"vi"),Hl=Fw,I7=c(e=>yt(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Ov=c(e=>I7(sr.trimEnd(e)),"mr"),Hk=c(e=>{let t=e,r=sr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=sr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(gv,"yt"),c(gu,"Ee"),c(_S,"wi"),c(kt,"$"),c(qr,"U"),c(FS,"yn"),c(RS,"wn"),c(vv,"fr"),c(IS,"bn"),c(zS,"Tn"),c(TS,"xn"),c(qi,"Qe"),c(BS,"kn"),c(yv,"dr"),c(Gc,"wt"),c(LS,"bi"),c(wv,"Bn"),c(bv,"Ln"),c(Ev,"Fn"),c(xv,"Nn"),c(a1,"bt"),c($S,"Ti"),c(Cv,"Pn"),c(OS,"xi"),c(MS,"ki"),c(PS,"Bi"),c(og,"gr"),c(ei,"Xe"),c(NS,"Li"),c(HS,"Fi"),c(jS,"Ni"),c(VS,"Pi"),c(US,"Ii"),c(na,"_e"),c(WS,"Ri"),c(qS,"In"),c(Dv,"Rn"),c(GS,"$i"),c(Sv,"Cr"),c(kv,"Sr"),c(Sn,"P"),jk=new Set(["template","style","script"]),c(vu,"Je"),c(ha,"Ae"),c(l1,"Tt"),c(KS,"$n"),c(YS,"On"),c(Av,"xt"),c(_v,"kt"),Mv=/\{\{(.+?)\}\}/su,c(ZS,"Mn"),c(sc,"Er"),Vk=sc({parser:"__ng_action"}),Uk=sc({parser:"__ng_binding"}),Wk=sc({parser:"__ng_directive"}),c(Rw,"Vi"),qk=Rw,c(Iw,"Ui"),Gk=Iw,c(ag,"Vn"),Kk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Zk=/^[^ \t\n\r\u000c]+/,Xk=/[,]+$/,dg=/^\d+$/,Jk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(zw,"Ki"),Qk=zw,c(Tw,"Qi"),pg={width:"w",height:"h",density:"x"},eA=Object.keys(pg),c(XS,"Ji"),tA=Tw,c(JS,"Yn"),Kc=new WeakMap,c(Bw,"Zi"),m1=Bw,c(QS,"jn"),c(ek,"Kn"),c(tk,"Qn"),c(rk,"Xn"),c(nk,"ea"),c(Lw,"ta"),c(ok,"ra"),c(ak,"na"),c(Fv,"Jn"),rA=Lw,c($w,"sa"),c(lk,"ia"),nA=$w,pf=new Proxy(()=>{},{get:c(()=>pf,"get")}),Pv=pf,c(Ow,"aa"),g1=Ow,c(yu,"se"),c(wu,"ie"),c(K0,"Ze"),c(ik,"oa"),c(cl,"De"),c(sk,"ua"),c(oo,"W"),c(i1,"Bt"),c(ti,"ve"),c(Rv,"rs"),c(ao,"K"),c(ri,"ye"),c(Ml,"we"),c(bu,"et"),c(uk,"la"),c(Eu,"tt"),c(ck,"ca"),c(dk,"pa"),c(Y0,"rt"),c(dl,"be"),c(lo,"z"),c(s1,"Lt"),c(u1,"Ft"),c(Mw,"ha"),Nv=Mw,oA=new Set(["if","else if","for","switch","case"]),c(Pw,"fa"),z7=Pw,Na=null,c(pl,"st"),T7=10;for(let e=0;e<=T7;e++)pl();c(pk,"vr"),c(Nw,"ga"),B7=Nw,L7={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},$7=L7,O7=B7($7),M7=O7,c(fk,"os"),c(Hw,"us"),aA=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),c(Iv,"cs"),c(Pa,"it"),c(Gi,"Pt"),c(c1,"He"),c(hk,"ps"),c(zv,"hs"),c(mk,"_a"),c(gk,"ms"),c(vk,"fs"),c(yk,"ds"),c(wk,"gs"),c(vs,"at"),c(Z0,"It"),c(ys,"ot"),c(bk,"Cs"),c(uc,"Rt"),c(Gp,"yr"),c(cc,"$t"),lA=/-+([a-z0-9])/g,c(jw,"_s"),nd=(dc=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,o=this.line,a=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){o--;let l=t.substring(0,n-1).lastIndexOf(` -`);a=l>0?n-l:n}else a--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(o++,a=0):a++}return new dc(this.file,n,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let o=n,a=0,l=0;for(;a0&&(n--,a++,!(r[n]==` -`&&++l==t)););for(a=0,l=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(mf,"Ue"),mf),iA=[Uw,Ww,qw,Kw,Yw,Jw,Zw,Xw,Qw,Gw],c(Vw,"Da"),c(Uw,"va"),c(Ww,"ya"),c(Ek,"wa"),c(qw,"ba"),c(Gw,"Ta"),c(Kw,"xa"),c(Yw,"ka"),c(Zw,"Ba"),c(Xw,"La"),c(Jw,"Fa"),c(Qw,"Na"),P7=Vw,c(e7,"Pa"),N7={preprocess:P7,print:e7,insertPragma:Hw,massageAstNode:R7,embed:z7,getVisitorKeys:M7},H7=N7,j7=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],vf={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},yf="HTML",V7={bracketSameLine:vf.bracketSameLine,htmlWhitespaceSensitivity:{category:yf,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:vf.singleAttributePerLine,vueIndentScriptAndStyle:{category:yf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},U7=V7,wf={},of(wf,{angular:c(()=>w6,"angular"),html:c(()=>y6,"html"),lwc:c(()=>E6,"lwc"),vue:c(()=>b6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(W7||(W7={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(q7||(q7={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(G7||(G7={})),bf={name:"custom-elements"},Ef={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ho||(Ho={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(K7||(K7={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ir||(ir={})),c(Vs,"ut"),c(Kp,"xr"),c(Yp,"kr"),c(Ki,"We"),c(Si,"ze"),c(Zp,"Br"),c(Yi,"Mt"),Y7=(xf=class{},c(xf,"Ht"),xf),Z7="boolean",X7="number",J7="string",Q7="object",e6=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Cf=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),t6=Array.from(Cf).reduce((e,[t,r])=>(e.set(t,r),e),new Map),sA=(Df=class extends Y7{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,e6.forEach(e=>{let t=new Map,r=new Set,[n,o]=e.split("|"),a=o.split(","),[l,i]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=i&&this._schema.get(i.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(i.toLowerCase()))r.add(d)}a.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Z7);break;case"#":t.set(d.substring(1),X7);break;case"%":t.set(d.substring(1),Q7);break;default:t.set(d,J7)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ef.name))return!0;if(e.indexOf("-")>-1){if(Kp(e)||Yp(e))return!1;if(r.some(n=>n.name===bf.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ef.name)||e.indexOf("-")>-1&&(Kp(e)||Yp(e)||t.some(r=>r.name===bf.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Zp()[e+"|"+t];return n||(n=Zp()["*|"+t],n||Ho.NONE)}getMappedPropName(e){return Cf.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>t6.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return jw(e)}normalizeAnimationStyleValue(e,t,r){let n="",o=r.toString().trim(),a=null;if(t7(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${r}`)}return{error:a,value:o+n}}},c(Df,"Vt"),Df),c(t7,"Ua"),J=(Sf=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ir.PARSABLE_DATA,closedByParent:n=!1,isVoid:o=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:l=!1,canSelfClose:i=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=o,this.closedByParent=n||o,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=a,this.preventNamespaceInheritance=l,this.canSelfClose=i??o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(Sf,"m"),Sf),c(X0,"Ge"),ko=(kf=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(kf,"oe"),kf),n6=(Af=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Af,"Ut"),Af),o6=(_f=class extends ko{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c(_f,"Wt"),_f),a6=(Ff=class extends ko{constructor(e,t,r,n,o,a){super(n,a),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=o}visit(e,t){return e.visitExpansion(this,t)}},c(Ff,"zt"),Ff),l6=(Rf=class{constructor(e,t,r,n,o){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=o,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Rf,"Gt"),Rf),i6=(If=class extends ko{constructor(e,t,r,n,o,a,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=o,this.valueTokens=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(If,"Yt"),If),rn=(zf=class extends ko{constructor(e,t,r,n,o,a=null,l=null,i){super(n,i),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=o,this.endSourceSpan=a,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(zf,"G"),zf),s6=(Tf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(Tf,"jt"),Tf),u6=(Bf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Bf,"Kt"),Bf),Ao=(Lf=class extends ko{constructor(e,t,r,n,o,a,l=null,i){super(n,i),this.name=e,this.parameters=t,this.children=r,this.nameSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Lf,"Z"),Lf),Of=($f=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c($f,"ct"),$f),Pf=(Mf=class{constructor(e,t,r,n,o){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=o,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(Mf,"pt"),Mf),c(lg,"Qt"),uA=(Nf=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function o(a){a&&r.push(lg(n,a,e))}return c(o,"i"),t(o),Array.prototype.concat.apply([],r)}},c(Nf,"ht"),Nf),bs={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},c6="",bs.ngsp=c6,cA=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(r7,"Ls"),d6=(fc=class{static fromArray(e){return e?(r7("interpolation",e),new fc(e[0],e[1])):Hf}constructor(e,t){this.start=e,this.end=t}},c(fc,"t"),fc),Hf=new d6("{{","}}"),hc=(jf=class extends gf{constructor(e,t,r){super(r,e),this.tokenType=t}},c(jf,"ft"),jf),dA=(Vf=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Vf,"$r"),Vf),c(n7,"Ws"),p6=/\r\n?/g,c(So,"je"),c(Xp,"Rs"),c(o7,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(mc||(mc={})),gc=(Uf=class{constructor(e){this.error=e}},c(Uf,"dt"),Uf),pA=(Wf=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Hf,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(o=>o.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new f6(e,n):new qf(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(o){this.handleError(o)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(p6,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>vs(r)?!e:Qp(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(xe),this._attemptCharCode(41))this._attemptCharCodeUntilFn(xe);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ef);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&cc(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ef)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),vs(this._cursor.peek()))this._attemptCharCodeUntilFn(xe);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(xe),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>xe(r)&&!uc(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ys(r)||r==36||r===95||t&&Z0(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;cc(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(s7(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new hc("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new hc("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new hc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new gc(r)}handleError(e){if(e instanceof vc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof gc)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return u7(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!a7(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Jp,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,o=[];try{if(!ys(this._cursor.peek()))throw this._createError(So(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(xe);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,i]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(xe);let u=this._consumeAttributeValue();o.push({prefix:l,name:i,value:u})}else o.push({prefix:l,name:i});this._attemptCharCodeUntilFn(xe)}this._consumeTagOpenEnd()}catch(l){if(l instanceof gc){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,o);this._handleFullNameStackForTagOpen(r,t),a===ir.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):a===ir.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(xe),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(xe),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(So(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>Jp(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(xe),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(xe),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(xe),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(xe)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(xe),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(xe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let o=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(o.join(""))],l),o.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(o.join(""))]),o.length=0,this._consumeEntity(e),this._beginToken(e)):o.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(o.join(""));return this._endToken([a]),a}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let o=this._cursor.clone(),a=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let i=this._cursor.clone();if(this._isTagStart()){this._cursor=i,n.push(this._getProcessedChars(o,i)),this._endToken(n);return}if(a===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(o,i)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===a?a=null:!l&&a===null&&cc(u)&&(a=u)}n.push(this._getProcessedChars(o,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Qp(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Wf,"Or"),Wf),c(xe,"b"),c(Jp,"$s"),c(a7,"mo"),c(l7,"fo"),c(i7,"go"),c(s7,"Co"),c(u7,"So"),c(ig,"Os"),c(Qp,"Ms"),c(ef,"qs"),c(xk,"_o"),qf=(_i=class{constructor(e,t){if(e instanceof _i){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new _i(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),o=this.locationFromCursor(this),a=r!==e?this.locationFromCursor(r):n;return new ee(n,o,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new vc('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):uc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new nd(e.file,e.state.offset,e.state.line,e.state.column)}},c(_i,"t"),_i),f6=(Fi=class extends qf{constructor(e,t){e instanceof Fi?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Fi(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Gp(e())){let t="",r=0,n=this.clone();for(;Gp(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else uc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new vc("Invalid hexadecimal escape sequence",e);return n}},c(Fi,"t"),Fi),vc=(Gf=class{constructor(e,t){this.msg=e,this.cursor=t}},c(Gf,"gt"),Gf),Ze=(yc=class extends gf{static create(e,t,r){return new yc(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(yc,"t"),yc),h6=(Kf=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(Kf,"Vr"),Kf),m6=(Yf=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,o){let a=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),l=n?this.getTagDefinition:a(this.getTagDefinition),i=c(f=>l(f).getContentType(),"u"),u=n?o:a(o),d=n7(e,t,o?(f,v,g,C)=>{let b=u(f,v,g,C);return b!==void 0?b:i(f)}:i,r),p=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,h=new g6(d.tokens,l,p,m,n);return h.build(),new h6(h.rootNodes,d.errors.concat(h.errors))}},c(Yf,"nr"),Yf),g6=(wc=class{constructor(e,t,r,n,o){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=o,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ao&&this.errors.push(Ze.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(o.errors),null;let a=new ee(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new ee(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new l6(e.parts[0],o.rootNodes,a,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(tf(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(tf(r,20))r.pop();else return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Ze.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let o=this._getContainer();o!=null&&o.children.length===0&&this.getTagDefinition(o.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,rf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let o=e.sourceSpan;this._addToParent(new n6(n,new ee(r.start,o.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let o=this._getElementFullName(t,r,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(o);this.canSelfClose||h.canSelfClose||Ki(o)!==null||h.isVoid||this.errors.push(Ze.create(o,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let l=this._peek.sourceSpan.fullStart,i=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),u=new ee(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new ee(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rn(o,n,[],i,u,void 0,d),m=this._getContainer();this._pushContainer(p,m instanceof rn&&this.getTagDefinition(m.name).isClosedByChild(p.name)),a?this._popContainer(o,rn,i):e.type===4&&(this._popContainer(o,rn,null),this.errors.push(Ze.create(o,i,`Opening tag "${o}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Ze.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ze.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let o=this._containerStack.length-1;o>=0;o--){let a=this._containerStack[o];if(Ki(a.name)?a.name===e:(e==null||a.name.toLowerCase()===e.toLowerCase())&&a instanceof t)return a.endSourceSpan=r,a.sourceSpan.end=r!==null?r.end:a.sourceSpan.end,this._containerStack.splice(o,this._containerStack.length-o),!n;(a instanceof Ao||a instanceof rn&&!this.getTagDefinition(a.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Si(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let o="",a=[],l,i;if(this._peek.type===16)for(l=this._peek.sourceSpan,i=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();a.push(d),d.type===17?o+=d.parts.join("").replace(/&([^;]+);/g,rf):d.type===9?o+=d.parts[0]:o+=d.parts.join(""),i=r=d.sourceSpan.end}this._peek.type===15&&(i=r=this._advance().sourceSpan.end);let u=l&&i&&new ee((n==null?void 0:n.sourceSpan.start)??l.start,i,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new i6(t,o,new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,Ao,e.sourceSpan)||this.errors.push(Ze.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Of(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new ee(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Ao(e.parts[0],t,[],n,e.sourceSpan,o);this._pushContainer(a,!1),this._popContainer(null,Ao,null),this.errors.push(Ze.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let o=n.sourceSpan.fullStart,a=new ee(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),i=e.sourceSpan.start.moveBy(l),u=new ee(i,e.sourceSpan.end),d=new Pf(t,r.parts[0],a,u,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),o=e.sourceSpan.start.moveBy(n),a=new ee(o,e.sourceSpan.end),l=new ee(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new Pf(t,"",e.sourceSpan,a,l);this._addToParent(i)}this.errors.push(Ze.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Vs(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ki(r.name))}return Si(e,t)}},c(wc,"t"),wc),c(tf,"zs"),c(rf,"Gs"),v6=(Zf=class extends m6{constructor(){super(X0)}parse(e,t,r,n=!1,o){return super.parse(e,t,r,n,o)}},c(Zf,"sr"),Zf),bc=null,fA=c(()=>(bc||(bc=new v6),bc),"Eo"),c(sg,"zr"),c(c7,"Ao"),hA=c7,Ha=3,c(Ck,"Do"),c(d7,"vo"),mA=d7,Ri={attrs:!0,children:!0,cases:!0,expression:!0},Xf=new Set(["parent"]),gA=(_o=class{constructor(e={}){for(let t of new Set([...Xf,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ri&&(t=t.map(r=>this.createChild(r))),!Xf.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ri){let n=this[r];if(n){let o=p7(n,a=>a.map(e));t!==n&&(t||(t=new _o({parent:this.parent})),t.setProperty(r,o))}}if(t)for(let r in this)r in Ri||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ri){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(_o,"t"),_o),c(p7,"yo"),vA=[{regex:/^(\[if([^\]]*)\]>)(.*?)o==="lang"&&a!=="html"&&a!==""&&a!==void 0))}}),E6=ki({name:"lwc",canSelfClose:!1}),x6={html:H7},wA=lf});function nn(){}function C6(e,t,r,n,o){for(var a=[],l;t;)a.push(t),l=t.previousComponent,delete t.previousComponent,t=l;a.reverse();for(var i=0,u=a.length,d=0,p=0;ig.length?b:g}),m.value=e.join(f)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(p+=m.count)}}var v=a[u-1];return u>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(a[u-2].value+=v.value,a.pop()),a}function Es(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Es=c(function(t){return typeof t},"$e"):Es=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Es(e)}function od(e,t,r,n,o){t=t||[],r=r||[],n&&(e=n(o,e));var a;for(a=0;a=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function v1(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function jv(e,t){let r;switch(t){case` -`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r -`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function xA(e){return Su(!1,e,/\r\n?/gu,` -`)}function D6(e){if(typeof e=="string")return mo;if(Array.isArray(e))return Gr;if(!e)return;let{type:t}=e;if(ey.has(t))return t}function S6(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(go(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=c_([...ey].map(o=>`'${o}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function k6(e,t,r,n){let o=[e];for(;o.length>0;){let a=o.pop();if(a===Lg){r(o.pop());continue}r&&o.push(a,Lg);let l=go(a);if(!l)throw new aa(a);if((t==null?void 0:t(a))!==!1)switch(l){case Gr:case hr:{let i=l===Gr?a:a.parts;for(let u=i.length,d=u-1;d>=0;--d)o.push(i[d]);break}case wt:o.push(a.flatContents,a.breakContents);break;case ut:if(n&&a.expandedStates)for(let i=a.expandedStates.length,u=i-1;u>=0;--u)o.push(a.expandedStates[u]);else o.push(a.contents);break;case Yr:case Kr:case Zr:case mr:case Xr:o.push(a.contents);break;case mo:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(a)}}}function Ys(e){return gr(e),{type:Kr,contents:e}}function oa(e,t){return gr(t),{type:Yr,contents:t,n:e}}function hg(e,t={}){return gr(e),b1(t.expandedStates,!0),{type:ut,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function A6(e){return oa(Number.NEGATIVE_INFINITY,e)}function _6(e){return oa({type:"root"},e)}function F6(e){return oa(-1,e)}function R6(e,t){return hg(e[0],{...t,expandedStates:e})}function mg(e){return b1(e),{type:hr,parts:e}}function I6(e,t="",r={}){return gr(e),t!==""&&gr(t),{type:wt,breakContents:e,flatContents:t,groupId:r.groupId}}function z6(e,t){return gr(e),{type:Zr,contents:e,groupId:t.groupId,negate:t.negate}}function ad(e){return gr(e),{type:Xr,contents:e}}function gg(e,t){gr(e),b1(t);let r=[];for(let n=0;n0){for(let o=0;o0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(a.contents)}${m})`}if(a.type===ut){let p=[];a.break&&a.break!=="propagated"&&p.push("shouldBreak: true"),a.id&&p.push(`id: ${o(a.id)}`);let m=p.length>0?`, { ${p.join(", ")} }`:"";return a.expandedStates?`conditionalGroup([${a.expandedStates.map(h=>n(h)).join(",")}]${m})`:`group(${n(a.contents)}${m})`}if(a.type===hr)return`fill([${a.parts.map(p=>n(p)).join(", ")}])`;if(a.type===Xr)return"lineSuffix("+n(a.contents)+")";if(a.type===Ur)return"lineSuffixBoundary";if(a.type===mr)return`label(${JSON.stringify(a.label)}, ${n(a.contents)})`;throw new Error("Unknown doc type "+a.type)}function o(a){if(typeof a!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];let l=a.description||"symbol";for(let i=0;;i++){let u=l+(i>0?` #${i}`:"");if(!r.has(u))return r.add(u),t[a]=`Symbol.for(${JSON.stringify(u)})`}}}function B6(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function L6(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function $6(e){if(!e)return 0;if(!f_.test(e))return e.length;e=e.replace(d_()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=p_(n)?1:2)}return t}function Zs(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(a){if(r.has(a))return r.get(a);let l=o(a);return r.set(a,l),l}function o(a){switch(go(a)){case Gr:return t(a.map(n));case hr:return t({...a,parts:a.parts.map(n)});case wt:return t({...a,breakContents:n(a.breakContents),flatContents:n(a.flatContents)});case ut:{let{expandedStates:l,contents:i}=a;return l?(l=l.map(n),i=l[0]):i=n(i),t({...a,contents:i,expandedStates:l})}case Yr:case Kr:case Zr:case mr:case Xr:return t({...a,contents:n(a.contents)});case mo:case Qn:case Vr:case Ur:case Pe:case Ft:return t(a);default:throw new aa(a)}}}function ld(e,t,r){let n=r,o=!1;function a(l){if(o)return!1;let i=t(l);i!==void 0&&(o=!0,n=i)}return c(a,"u"),cd(e,a),n}function DA(e){if(e.type===ut&&e.break||e.type===Pe&&e.hard||e.type===Ft)return!0}function O6(e){return ld(e,DA,!1)}function yg(e){if(e.length>0){let t=Ie(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function SA(e){let t=new Set,r=[];function n(a){if(a.type===Ft&&yg(r),a.type===ut){if(r.push(a),t.has(a))return!1;t.add(a)}}c(n,"n");function o(a){a.type===ut&&r.pop().break&&yg(r)}c(o,"o"),cd(e,n,o,!0)}function kA(e){return e.type===Pe&&!e.hard?e.soft?"":" ":e.type===wt?e.flatContents:e}function M6(e){return Zs(e,kA)}function wg(e){for(e=[...e];e.length>=2&&Ie(!1,e,-2).type===Pe&&Ie(!1,e,-1).type===Ft;)e.length-=2;if(e.length>0){let t=hl(Ie(!1,e,-1));e[e.length-1]=t}return e}function hl(e){switch(go(e)){case Kr:case Zr:case ut:case Xr:case mr:{let t=hl(e.contents);return{...e,contents:t}}case wt:return{...e,breakContents:hl(e.breakContents),flatContents:hl(e.flatContents)};case hr:return{...e,parts:wg(e.parts)};case Gr:return wg(e);case mo:return e.replace(/[\n\r]*$/u,"");case Yr:case Qn:case Vr:case Ur:case Pe:case Ft:break;default:throw new aa(e)}return e}function bg(e){return hl(_A(e))}function AA(e){switch(go(e)){case hr:if(e.parts.every(t=>t===""))return"";break;case ut:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ut&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yr:case Kr:case Zr:case Xr:if(!e.contents)return"";break;case wt:if(!e.flatContents&&!e.breakContents)return"";break;case Gr:{let t=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Ie(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...o)}return t.length===0?"":t.length===1?t[0]:t}case mo:case Qn:case Vr:case Ur:case Pe:case mr:case Ft:break;default:throw new aa(e)}return e}function _A(e){return Zs(e,t=>AA(t))}function P6(e,t=Og){return Zs(e,r=>typeof r=="string"?gg(t,r.split(` -`)):r)}function FA(e){if(e.type===Pe)return!0}function N6(e){return ld(e,FA,!1)}function Vv(e,t){return e.type===mr?{...e,contents:t(e.contents)}:t(e)}function Uv(){return{value:"",length:0,queue:[]}}function RA(e,t){return id(e,{type:"indent"},t)}function IA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Uv():t<0?id(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:id(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function id(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],o="",a=0,l=0,i=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),o+=v.n,a+=v.n.length;break;case"numberAlign":l+=1,i+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return h(),{...e,value:o,length:a,queue:n};function u(v){o+=" ".repeat(v),a+=r.tabWidth*v}function d(v){o+=" ".repeat(v),a+=v}function p(){r.useTabs?m():h()}function m(){l>0&&u(l),f()}function h(){i>0&&d(i),f()}function f(){l=0,i=0}}function sd(e){let t=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o===ml){r++;continue}for(let a=o.length-1;a>=0;a--){let l=o[a];if(l===" "||l===" ")t++;else{e[n]=o.slice(0,a+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ml);return t}function Xi(e,t,r,n,o,a){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,i=[e],u=[];for(;r>=0;){if(i.length===0){if(l===0)return!0;i.push(t[--l]);continue}let{mode:d,doc:p}=i.pop(),m=go(p);switch(m){case mo:u.push(p),r-=pd(p);break;case Gr:case hr:{let h=m===Gr?p:p.parts;for(let f=h.length-1;f>=0;f--)i.push({mode:d,doc:h[f]});break}case Kr:case Yr:case Zr:case mr:i.push({mode:d,doc:p.contents});break;case Vr:r+=sd(u);break;case ut:{if(a&&p.break)return!1;let h=p.break?ot:d,f=p.expandedStates&&h===ot?Ie(!1,p.expandedStates,-1):p.contents;i.push({mode:h,doc:f});break}case wt:{let h=(p.groupId?o[p.groupId]||tr:d)===ot?p.breakContents:p.flatContents;h&&i.push({mode:d,doc:h});break}case Pe:if(d===ot||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Xr:n=!0;break;case Ur:if(n)return!1;break}}return!1}function Xs(e,t){let r={},n=t.printWidth,o=v1(t.endOfLine),a=0,l=[{ind:Uv(),mode:ot,doc:e}],i=[],u=!1,d=[],p=0;for(SA(e);l.length>0;){let{ind:h,mode:f,doc:v}=l.pop();switch(go(v)){case mo:{let g=o!==` -`?Su(!1,v,` -`,o):v;i.push(g),l.length>0&&(a+=pd(g));break}case Gr:for(let g=v.length-1;g>=0;g--)l.push({ind:h,mode:f,doc:v[g]});break;case Qn:if(p>=2)throw new Error("There are too many 'cursor' in doc.");i.push(ml),p++;break;case Kr:l.push({ind:RA(h,t),mode:f,doc:v.contents});break;case Yr:l.push({ind:IA(h,v.n,t),mode:f,doc:v.contents});break;case Vr:a-=sd(i);break;case ut:switch(f){case tr:if(!u){l.push({ind:h,mode:v.break?ot:tr,doc:v.contents});break}case ot:{u=!1;let g={ind:h,mode:tr,doc:v.contents},C=n-a,b=d.length>0;if(!v.break&&Xi(g,l,C,b,r))l.push(g);else if(v.expandedStates){let y=Ie(!1,v.expandedStates,-1);if(v.break){l.push({ind:h,mode:ot,doc:y});break}else for(let E=1;E=v.expandedStates.length){l.push({ind:h,mode:ot,doc:y});break}else{let x=v.expandedStates[E],D={ind:h,mode:tr,doc:x};if(Xi(D,l,C,b,r)){l.push(D);break}}}else l.push({ind:h,mode:ot,doc:v.contents});break}}v.id&&(r[v.id]=Ie(!1,l,-1).mode);break;case hr:{let g=n-a,{parts:C}=v;if(C.length===0)break;let[b,y]=C,E={ind:h,mode:tr,doc:b},x={ind:h,mode:ot,doc:b},D=Xi(E,[],g,d.length>0,r,!0);if(C.length===1){D?l.push(E):l.push(x);break}let S={ind:h,mode:tr,doc:y},k={ind:h,mode:ot,doc:y};if(C.length===2){D?l.push(S,E):l.push(k,x);break}C.splice(0,2);let A={ind:h,mode:f,doc:mg(C)},_=C[0];Xi({ind:h,mode:tr,doc:[b,y,_]},[],g,d.length>0,r,!0)?l.push(A,S,E):D?l.push(A,k,E):l.push(A,k,x);break}case wt:case Zr:{let g=v.groupId?r[v.groupId]:f;if(g===ot){let C=v.type===wt?v.breakContents:v.negate?v.contents:Ys(v.contents);C&&l.push({ind:h,mode:f,doc:C})}if(g===tr){let C=v.type===wt?v.flatContents:v.negate?Ys(v.contents):v.contents;C&&l.push({ind:h,mode:f,doc:C})}break}case Xr:d.push({ind:h,mode:f,doc:v.contents});break;case Ur:d.length>0&&l.push({ind:h,mode:f,doc:e0});break;case Pe:switch(f){case tr:if(v.hard)u=!0;else{v.soft||(i.push(" "),a+=1);break}case ot:if(d.length>0){l.push({ind:h,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?h.root?(i.push(o,h.root.value),a=h.root.length):(i.push(o),a=0):(a-=sd(i),i.push(o+h.value),a=h.length);break}break;case mr:l.push({ind:h,mode:f,doc:v.contents});break;case Ft:break;default:throw new aa(v)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let m=i.indexOf(ml);if(m!==-1){let h=i.indexOf(ml,m+1),f=i.slice(0,m).join(""),v=i.slice(m+1,h).join(""),g=i.slice(h+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:i.join("")}}function H6(e,t,r=0){let n=0;for(let o=r;o!0,"n")}=t,o=c(a=>m_(a)&&n(a),"o");for(let a of r(e)){let l=e[a];if(Array.isArray(l))for(let i of l)o(i)&&(yield i);else o(l)&&(yield l)}}function*zA(e,t){let r=[e];for(let n=0;n{let o=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:a}=t,l=r;for(;l>=0&&l0}function q6(e){return e?t=>e(t,Ng):v_}function TA(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function y1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=TA(e)}function jo(e,t){t.leading=!0,t.trailing=!1,y1(e,t)}function xs(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),y1(e,t)}function Vo(e,t){t.leading=!1,t.trailing=!0,y1(e,t)}function w1(e,t){if(t0.has(e))return t0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:a,locEnd:l}=t;if(!n)return[];let i=((r==null?void 0:r(e,t))??[...Wv(e,{getVisitorKeys:ku(o)})]).flatMap(u=>n(u)?[u]:w1(u,t));return i.sort((u,d)=>a(u)-a(d)||l(u)-l(d)),t0.set(e,i),i}function qv(e,t,r,n){let{locStart:o,locEnd:a}=r,l=o(t),i=a(t),u=w1(e,r),d,p,m=0,h=u.length;for(;m>1,v=u[f],g=o(v),C=a(v);if(g<=l&&i<=C)return qv(v,t,r,v);if(C<=l){d=v,m=f+1;continue}if(i<=g){p=v,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=Xc(f,t,r);d&&Xc(f,d,r)!==v&&(d=null),p&&Xc(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function BA(e,t){let{comments:r}=e;if(delete e.comments,!g_(r)||!t.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:a,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:i={}},originalText:u}=t,{ownLine:d=r0,endOfLine:p=r0,remaining:m=r0}=i,h=r.map((f,v)=>({...qv(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of h.entries()){let{comment:g,precedingNode:C,enclosingNode:b,followingNode:y,text:E,options:x,ast:D,isLastComment:S}=v;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(o(g)-o(D)<=0){jo(D,g);continue}if(a(g)-a(D)>=0){Vo(D,g);continue}}let k;if(l?k=[v]:(g.enclosingNode=b,g.precedingNode=C,g.followingNode=y,k=[g,E,x,D,S]),LA(E,x,h,f))g.placement="ownLine",d(...k)||(y?jo(y,g):C?Vo(C,g):xs(b||D,g));else if($A(E,x,h,f))g.placement="endOfLine",p(...k)||(C?Vo(C,g):y?jo(y,g):xs(b||D,g));else if(g.placement="remaining",!m(...k))if(C&&y){let A=n.length;A>0&&n[A-1].followingNode!==y&&Eg(n,x),n.push(v)}else C?Vo(C,g):y?jo(y,g):xs(b||D,g)}if(Eg(n,t),!l)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function LA(e,t,r,n){let{comment:o,precedingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=l(o);if(a)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:m}=r[d];if(m!==a||!ty(e.slice(i(p),u)))break;u=l(p)}return mn(e,u,{backwards:!0})}function $A(e,t,r,n){let{comment:o,followingNode:a}=r[n],{locStart:l,locEnd:i}=t,u=i(o);if(a)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:m}=e[u-1];hd.strictEqual(p,a),hd.strictEqual(m,l);let h=t.originalText.slice(t.locEnd(d),i);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))i=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,m)=>t.locStart(p)-t.locStart(m));e.length=0}function Xc(e,t,r){let n=r.locStart(t)-1;for(let o=1;o!n.has(i)).length===0)return{leading:"",trailing:""};let o=[],a=[],l;return e.each(()=>{let i=e.node;if(n!=null&&n.has(i))return;let{leading:u,trailing:d}=i;u?o.push(OA(e,t)):d&&(l=MA(e,t,l),a.push(l.doc))},"comments"),{leading:o,trailing:a}}function NA(e,t,r){let{leading:n,trailing:o}=PA(e,r);return!n&&!o?t:Vv(t,a=>[n,a,o])}function HA(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function K6(e){return()=>{}}function xg({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(o=>o.languages??[]),n=[];for(let o of VA(Object.assign({},...e.map(({options:a})=>a),w_)))!t&&o.deprecated||(Array.isArray(o.choices)&&(t||(o.choices=o.choices.filter(a=>!a.deprecated)),o.name==="parser"&&(o.choices=[...o.choices,...jA(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter(a=>{var l;return((l=a.defaultOptions)==null?void 0:l[o.name])!==void 0}).map(a=>[a.name,a.defaultOptions[o.name]])),n.push(o));return{languages:r,options:n}}function*jA(e,t,r){let n=new Set(e.map(o=>o.value));for(let o of t)if(o.parsers){for(let a of o.parsers)if(!n.has(a)){n.add(a);let l=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,a)),i=o.name;l!=null&&l.name&&(i+=` (plugin: ${l.name})`),yield{value:a,description:i}}}}function VA(e){let t=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=Ie(!1,o.default,-1).value),t.push(o)}return t}function Cg(e,t){if(!t)return;let r=b_(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(o=>o.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(o=>r.endsWith(o)))}function UA(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Y6(e,t){let r=e.plugins.flatMap(o=>o.languages??[]),n=UA(r,t.language)??Cg(r,t.physicalFile)??Cg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Jf(e,t,r,n){return[`Invalid ${Uo.default.red(n.key(e))} value.`,`Expected ${Uo.default.blue(r)},`,`but received ${t===jg?Uo.default.gray("nothing"):Uo.default.red(n.value(t))}.`].join(" ")}function Dg({text:e,list:t},r){let n=[];return e&&n.push(`- ${Uo.default.blue(e)}`),t&&n.push([`- ${Uo.default.blue(t.title)}:`].concat(t.values.map(o=>Dg(o,r-Vg.length).replace(/^|\n/g,`$&${Vg}`))).join(` -`)),Sg(n,r)}function Sg(e,t){if(e.length===1)return e[0];let[r,n]=e,[o,a]=e.map(l=>l.split(` -`,1)[0].length);return o>t&&o>a?n:r}function Z6(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let a=0;for(;ai?d>i?i+1:d:d>u?u+1:d;return i}function X6(e,t){let r=new e(t),n=Object.create(r);for(let o of x_)o in t&&(n[o]=WA(t[o],r,ln.prototype[o].length));return n}function WA(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Qf({from:e,to:t}){return{from:[e],to:t}}function J6(e,t){let r=Object.create(null);for(let n of e){let o=n[t];if(r[o])throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r[o]=n}return r}function Q6(e,t){let r=new Map;for(let n of e){let o=n[t];if(r.has(o))throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);r.set(o,n)}return r}function eb(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function tb(e,t){let r=[],n=[];for(let o of e)t(o)?r.push(o):n.push(o);return[r,n]}function rb(e){return e===Math.floor(e)}function nb(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function ob(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function eh(e){return e===void 0?{}:e}function kg(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return qA((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(kg)}}:{text:t}}function th(e,t){return e===!0?!0:e===!1?{value:t}:e}function rh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ag(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Jc(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ag(r,t)):[Ag(e,t)]}function nh(e,t){let r=Jc(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function qA(e,t){if(!e)throw new Error(t)}function ab(e,t,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:a,descriptor:l}={}){if(n){if(!a)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=zo;let i=o?Array.isArray(o)?(h,f)=>o.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,v)=>{let{_:g,...C}=v.schemas;return Wg(h,f,{...v,schemas:C})},u=GA(t,{isCLI:n,FlagSchema:a}),d=new F_(u,{logger:r,unknown:i,descriptor:l}),p=r!==!1;p&&zh&&(d._hasDeprecationWarned=zh);let m=d.normalize(e);return p&&(zh=d._hasDeprecationWarned),m}function GA(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(D_.create({name:"_"}));for(let o of e)n.push(KA(o,{isCLI:t,optionInfos:e,FlagSchema:r})),o.alias&&t&&n.push(C_.create({name:o.alias,sourceName:o.name}));return n}function KA(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:o}=e,a={name:o},l,i={};switch(e.type){case"int":l=__,t&&(a.preprocess=Number);break;case"string":l=qg;break;case"choice":l=A_,a.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":l=k_;break;case"flag":l=n,a.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":l=qg;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?a.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):a.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(i.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){let u=a.preprocess||(d=>d);a.preprocess=(d,p,m)=>p.preprocess(u(Array.isArray(d)?Ie(!1,d,-1):d),m)}return e.array?S_.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...i,valueSchema:l.create(a)}):l.create({...a,...i})}function Kv(e,t){if(!t)throw new Error("parserName is required.");let r=ny(!1,e,o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function YA(e,t){if(!t)throw new Error("astFormat is required.");let r=ny(!1,e,o=>o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ry(n)}function Yv({plugins:e,parser:t}){let r=Kv(e,t);return Zv(r,t)}function Zv(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function ZA(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function lb(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=E_(n,{physicalFile:n.filepath}),!n.parser)throw new Hg(`No parser could be inferred for file "${n.filepath}".`)}else throw new Hg("No parser and no file path given, couldn't infer a parser.");let o=xg({plugins:e.plugins,showDeprecated:!0}).options,a={...Gg,...Object.fromEntries(o.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},l=Kv(n.plugins,n.parser),i=await Zv(l,n.parser);n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;let u=(r=l.printers)!=null&&r[i.astFormat]?l:YA(n.plugins,i.astFormat),d=await ZA(u,i.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,h])=>h!==void 0)):{},m={...a,...p};for(let[h,f]of Object.entries(m))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),R_(n,o,{passThrough:Object.keys(Gg),...t})}async function ib(e,t){let r=await Yv(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let o;try{o=await r.parse(n,t,t)}catch(a){XA(a,e)}return{text:n,ast:o}}function XA(e,t){let{loc:r}=e;if(r){let n=(0,I_.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function JA(e,t,r,n,o){let{embeddedLanguageFormatting:a,printer:{embed:l,hasPrettierIgnore:i=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!l||a!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ku(l.getVisitorKeys??u),p=[];f();let m=e.stack;for(let{print:v,node:g,pathStack:C}of p)try{e.stack=C;let b=await v(h,t,e,r);b&&o.set(g,b)}catch(b){if(globalThis.PRETTIER_DEBUG)throw b}e.stack=m;function h(v,g){return QA(v,g,r,n)}c(h,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||i(e))return;for(let C of d(v))Array.isArray(v[C])?e.each(f,C):e.call(f,C);let g=l(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}o.set(v,g)}}c(f,"p")}async function QA(e,t,r,n){let o=await ma({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:a}=await ni(e,o),l=await n(a,o);return bg(l)}function sb(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:a,[Symbol.for("printedComments")]:l}=t,{node:i}=e,u=o(i),d=a(i);for(let p of n)o(p)>=u&&a(p)<=d&&l.add(p);return r.slice(u,d)}async function Du(e,t){({ast:e}=await Xv(e,t));let r=new Map,n=new h_(e),o=y_(t),a=new Map;await JA(n,i,t,Du,a);let l=await _g(n,t,i,void 0,a);return HA(t),l;function i(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){o(n);let p=n.node;if(p==null)return"";let m=p&&typeof p=="object"&&d===void 0;if(m&&r.has(p))return r.get(p);let h=_g(n,t,i,d,a);return m&&r.set(p,h),h}}function _g(e,t,r,n,o){var a;let{node:l}=e,{printer:i}=t,u;return(a=i.hasPrettierIgnore)!=null&&a.call(i,e)?u=z_(e,t):o.has(l)?u=o.get(l):u=i.print(e,t,r,n),l===t.cursorNode&&(u=Vv(u,d=>[dd,d,dd])),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t))&&(u=NA(e,u,t)),u}async function Xv(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,BA(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function ub(e,t){let{cursorOffset:r,locStart:n,locEnd:o}=t,a=ku(t.printer.getVisitorKeys),l=c(u=>n(u)<=r&&o(u)>=r,"i"),i=e;for(let u of zA(e,{getVisitorKeys:a,filter:l}))i=u;return i}function cb(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let o=ku(n),a=r.ignoredProperties??new Set;return l(e);function l(i,u){if(!(i!==null&&typeof i=="object"))return i;if(Array.isArray(i))return i.map(h=>l(h,u)).filter(Boolean);let d={},p=new Set(o(i));for(let h in i)!Object.prototype.hasOwnProperty.call(i,h)||a.has(h)||(p.has(h)?d[h]=l(i[h],i):d[h]=i[h]);let m=r(i,d,u);if(m!==null)return m??d}}function e_(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(o=>oy.has(o.type)&&n.has(o))}function Fg(e){let t=L_(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function t_(e,t,{locStart:r,locEnd:n}){let o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=r(e.node);for(let u of Fg(t.parentNodes))if(r(u)>=l)a=u;else break;let i=n(t.node);for(let u of Fg(e.parentNodes)){if(n(u)<=i)o=u;else break;if(o===a)break}return{startNode:o,endNode:a}}function ud(e,t,r,n,o=[],a){let{locStart:l,locEnd:i}=r,u=l(e),d=i(e);if(!(t>d||tn);let i=e.slice(n,o).search(/\S/u),u=i===-1;if(!u)for(n+=i;o>n&&!/\S/u.test(e[o-1]);--o);let d=ud(r,n,t,(f,v)=>Rg(t,f,v),[],"rangeStart"),p=u?d:ud(r,o,t,f=>Rg(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if($_(t)){let f=e_(d,p);m=f,h=f}else({startNode:m,endNode:h}=t_(d,p,t));return{rangeStart:Math.min(a(m),a(h)),rangeEnd:Math.max(l(m),l(h))}}async function Jv(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:o}=await ni(e,t);t.cursorOffset>=0&&(t.cursorNode=T_(n,t));let a=await Du(n,t);r>0&&(a=vg([eo,a],r,t.tabWidth));let l=Xs(a,t);if(r>0){let u=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(u)),l.formatted=u+v1(t.endOfLine)}let i=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,m,h;if(t.cursorNode&&l.cursorNodeText?(u=t.locStart(t.cursorNode),d=o.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,m=l.cursorNodeStart,h=l.cursorNodeText):(u=0,d=o,p=t.cursorOffset,m=0,h=l.formatted),d===h)return{formatted:l.formatted,cursorOffset:m+p,comments:i};let f=d.split("");f.splice(p,0,Kg);let v=h.split(""),g=bA(f,v),C=m;for(let b of g)if(b.removed){if(b.value.includes(Kg))break}else C+=b.count;return{formatted:l.formatted,cursorOffset:C,comments:i}}return{formatted:l.formatted,cursorOffset:-1,comments:i}}async function o_(e,t){let{ast:r,text:n}=await ni(e,t),{rangeStart:o,rangeEnd:a}=n_(n,t,r),l=n.slice(o,a),i=Math.min(o,n.lastIndexOf(` -`,o)+1),u=n.slice(i,o).match(/^\s*/u)[0],d=fd(u,t.tabWidth),p=await Jv(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>o&&t.cursorOffset<=a?t.cursorOffset-o:-1,endOfLine:"lf"},d),m=p.formatted.trimEnd(),{cursorOffset:h}=t;h>a?h+=m.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+o);let f=n.slice(0,o)+m+n.slice(a);if(t.endOfLine!=="lf"){let v=v1(t.endOfLine);h>=0&&v===`\r -`&&(h+=jv(f.slice(0,h),` -`)),f=Su(!1,f,` -`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function Qc(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Ig(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t;return r=Qc(e,r,-1),n=Qc(e,n,0),o=Qc(e,o,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Qv(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a}=Ig(e,t),l=e.charAt(0)===ay;if(l&&(e=e.slice(1),r--,n--,o--),a==="auto"&&(a=EA(e)),e.includes("\r")){let i=c(u=>jv(e.slice(0,Math.max(u,0)),`\r -`),"s");r-=i(r),n-=i(n),o-=i(o),e=xA(e)}return{hasBOM:l,text:e,options:Ig(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:a})}}async function zg(e,t){let r=await Yv(t);return!r.hasPragma||r.hasPragma(e)}async function Tg(e,t){let{hasBOM:r,text:n,options:o}=Qv(e,await ma(t));if(o.rangeStart>=o.rangeEnd&&n!==""||o.requirePragma&&!await zg(n,o))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let a;return o.rangeStart>0||o.rangeEnd=0&&a.cursorOffset++),a}async function db(e,t,r){let{text:n,options:o}=Qv(e,await ma(t)),a=await ni(n,o);return r&&(r.preprocessForPrint&&(a.ast=await Xv(a.ast,o)),r.massage&&(a.ast=B_(a.ast,o))),a}async function pb(e,t){t=await ma(t);let r=await Du(e,t);return Xs(r,t)}async function fb(e,t){let r=CA(e),{formatted:n}=await Tg(r,{...t,parser:"__js_expression"});return n}async function hb(e,t){t=await ma(t);let{ast:r}=await ni(e,t);return Du(r,t)}async function mb(e,t){return Xs(e,await ma(t))}function gb(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,o.length/t.length),0)}function xb(e,t){let r=x1(e,t);return r===!1?"":e.charAt(r)}function Cb(e,t,r){for(let n=t;nl===n?l:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+o+t}function l_(e,t,r){return x1(e,r(t))}function kb(e,t){return arguments.length===2||typeof t=="number"?x1(e,t):l_(...arguments)}function i_(e,t,r){return E1(e,r(t))}function Ab(e,t){return arguments.length===2||typeof t=="number"?E1(e,t):i_(...arguments)}function s_(e,t,r){return vd(e,r(t))}function _b(e,t){return arguments.length===2||typeof t=="number"?vd(e,t):s_(...arguments)}function _n(e,t=1){return async(...r)=>{let n=r[t]??{},o=n.plugins??[];return r[t]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}async function Bg(e,t){let{formatted:r}=await Yg(e,{...t,cursorOffset:-1});return r}async function Fb(e,t){return await Bg(e,t)===e}var Rb,Ii,Ib,zb,Tb,Bb,oh,Lb,Ec,zi,ah,Ti,$b,Ob,Mb,Fa,xc,lh,Pb,Nb,Hb,jb,Vb,ih,Ub,Su,sh,uh,ch,dh,Wb,qb,u_,Ra,Ji,mo,Gr,Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft,ey,go,c_,ph,Gb,aa,Lg,cd,fh,gr,b1,Kb,Qi,Yb,e0,hh,$g,Zb,eo,Og,dd,Xb,Ie,d_,p_,f_,pd,ot,tr,ml,fd,Fo,mh,Cc,gh,Jb,h_,vh,hd,m_,Qb,xn,Mg,Pg,so,mn,g_,Ng,v_,ku,t0,r0,ty,E1,y_,yh,ry,wh,Hg,w_,b_,E_,zo,bh,e8,Uo,jg,Bi,Vg,t8,Eh,n0,Ug,Wg,x_,xh,ln,Ch,C_,Dh,D_,Sh,S_,kh,k_,Ah,A_,_h,r8,Fh,__,Rh,qg,n8,o8,a8,l8,Ih,F_,zh,R_,i8,ny,Gg,ma,I_,ni,z_,T_,B_,s8,L_,$_,oy,O_,ay,Kg,Th,u8,c8,d8,p8,Bh,md,gd,x1,vd,f8,h8,m8,g8,v8,y8,Yg,w8,b8,M_,lP=T(()=>{Rb=Object.create,Ii=Object.defineProperty,Ib=Object.getOwnPropertyDescriptor,zb=Object.getOwnPropertyNames,Tb=Object.getPrototypeOf,Bb=Object.prototype.hasOwnProperty,oh=c(e=>{throw TypeError(e)},"sr"),Lb=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ec=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),zi=c((e,t)=>{for(var r in t)Ii(e,r,{get:t[r],enumerable:!0})},"We"),ah=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zb(t))!Bb.call(e,o)&&o!==r&&Ii(e,o,{get:c(()=>t[o],"get"),enumerable:!(n=Ib(t,o))||n.enumerable});return e},"ar"),Ti=c((e,t,r)=>(r=e!=null?Rb(Tb(e)):{},ah(t||!e||!e.__esModule?Ii(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),$b=c(e=>ah(Ii({},"__esModule",{value:!0}),e),"vu"),Ob=c((e,t,r)=>t.has(e)||oh("Cannot "+r),"bu"),Mb=c((e,t,r)=>t.has(e)?oh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Fa=c((e,t,r)=>(Ob(e,t,"access private method"),r),"pe"),xc=Ec((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),lh={},zi(lh,{default:c(()=>Nb,"default"),shouldHighlight:c(()=>Pb,"shouldHighlight")}),Hb=Lb(()=>{Pb=c(()=>!1,"xo"),Nb=String}),jb=Ec((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Vb=Ec(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(Hb(),$b(lh)),r=o(jb(),!0);function n(g){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(n=c(function(y){return y?b:C},"Wn"))(g)}c(n,"Wn");function o(g,C){if(!C&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var b=n(C);if(b&&b.has(g))return b.get(g);var y={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in g)if(x!=="default"&&{}.hasOwnProperty.call(g,x)){var D=E?Object.getOwnPropertyDescriptor(g,x):null;D&&(D.get||D.set)?Object.defineProperty(y,x,D):y[x]=g[x]}return y.default=g,b&&b.set(g,y),y}c(o,"vo");var a=r.default,l=c((g,C)=>b=>g(C(b)),"Rn"),i;function u(g){return g?(i!=null||(i=(0,r.createColors)(!0)),i):a}c(u,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:l(g.red,g.bold),message:l(g.red,g.bold)}}c(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,C,b){let y=Object.assign({column:0,line:-1},g.start),E=Object.assign({},y,g.end),{linesAbove:x=2,linesBelow:D=3}=b||{},S=y.line,k=y.column,A=E.line,_=E.column,R=Math.max(S-(x+1),0),z=Math.min(C.length,A+D);S===-1&&(R=0),A===-1&&(z=C.length);let L=A-S,$={};if(L)for(let N=0;N<=L;N++){let M=N+S;if(!k)$[M]=!0;else if(N===0){let j=C[M-1].length;$[M]=[k,j-k+1]}else if(N===L)$[M]=[0,_];else{let j=C[M-N].length;$[M]=[0,j]}}else k===_?k?$[S]=[k,0]:$[S]=!0:$[S]=[k,_-k];return{start:R,end:z,markerLines:$}}c(h,"No");function f(g,C,b={}){let y=(b.highlightCode||b.forceColor)&&(0,t.shouldHighlight)(b),E=u(b.forceColor),x=p(E),D=c(($,N)=>y?$(N):N,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(C,S,b),R=C.start&&typeof C.start.column=="number",z=String(A).length,L=(y?(0,t.default)(g,b):g).split(m,A).slice(k,A).map(($,N)=>{let M=k+1+N,j=` ${` ${M}`.slice(-z)} |`,q=_[M],B=!_[M+1];if(q){let P="";if(Array.isArray(q)){let H=$.slice(0,Math.max(q[0]-1,0)).replace(/[^\t]/g," "),G=q[1]||1;P=[` - `,D(x.gutter,j.replace(/\d/g," "))," ",H,D(x.marker,"^").repeat(G)].join(""),B&&b.message&&(P+=" "+D(x.message,b.message))}return[D(x.marker,">"),D(x.gutter,j),$.length>0?` ${$}`:"",P].join("")}else return` ${D(x.gutter,j)}${$.length>0?` ${$}`:""}`}).join(` -`);return b.message&&!R&&(L=`${" ".repeat(z+1)}${b.message} -${L}`),y?E.reset(L):L}c(f,"Mn");function v(g,C,b,y={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let x=new Error(E);x.name="DeprecationWarning",console.warn(new Error(E))}}return b=Math.max(b,0),f(g,{start:{column:b,line:C}},y)}c(v,"To")}),ih={},zi(ih,{__debug:c(()=>b8,"__debug"),check:c(()=>Fb,"check"),doc:c(()=>Th,"doc"),format:c(()=>Bg,"format"),formatWithCursor:c(()=>Yg,"formatWithCursor"),getSupportInfo:c(()=>w8,"getSupportInfo"),util:c(()=>Bh,"util"),version:c(()=>p8,"version")}),Ub=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),Su=Ub,c(nn,"Z"),nn.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.callback;typeof n=="function"&&(o=n,n={}),this.options=n;var a=this;function l(E){return o?(setTimeout(function(){o(void 0,E)},0),!0):E}c(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var i=t.length,u=e.length,d=1,p=i+u;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=u&&v+1>=i)return l([{value:this.join(t),count:t.length}]);var g=-1/0,C=1/0;function b(){for(var E=Math.max(g,-d);E<=Math.min(C,d);E+=2){var x=void 0,D=f[E-1],S=f[E+1];D&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A=u&&v+1>=i)return l(C6(a,x.lastComponent,t,e,a.useLongestToken));f[E]=x,x.oldPos+1>=u&&(C=Math.min(C,E-1)),v+1>=i&&(g=Math.max(g,E+1))}d++}if(c(b,"A"),o)c(function E(){setTimeout(function(){if(d>p||Date.now()>h)return o();b()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var y=b();if(y)return y}},"diff"),addToPath:c(function(e,t,r,n){var o=e.lastComponent;return o&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var o=t.length,a=r.length,l=e.oldPos,i=l-n,u=0;i+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(od(e,null,null,o),o," ")},Ra.equals=function(e,t){return nn.prototype.equals.call(Ra,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(od,"Bt"),Ji=new nn,Ji.tokenize=function(e){return e.slice()},Ji.join=Ji.removeEmpty=function(e){return e},c(bA,"dr"),c(EA,"Fr"),c(v1,"Be"),c(jv,"wt"),c(xA,"mr"),mo="string",Gr="array",Qn="cursor",Kr="indent",Yr="align",Vr="trim",ut="group",hr="fill",wt="if-break",Zr="indent-if-break",Xr="line-suffix",Ur="line-suffix-boundary",Pe="line",mr="label",Ft="break-parent",ey=new Set([Qn,Kr,Yr,Vr,ut,hr,wt,Zr,Xr,Ur,Pe,mr,Ft]),c(D6,"Lu"),go=D6,c_=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(S6,"Iu"),Gb=(ph=class extends Error{constructor(t){super(S6(t));ka(this,"name","InvalidDocError");this.doc=t}},c(ph,"xt"),ph),aa=Gb,Lg={},c(k6,"Ru"),cd=k6,fh=c(()=>{},"hr"),gr=fh,b1=fh,c(Ys,"De"),c(oa,"ae"),c(hg,"_t"),c(A6,"Cr"),c(_6,"gr"),c(F6,"yr"),c(R6,"Ar"),c(mg,"Ge"),c(I6,"Br"),c(z6,"wr"),c(ad,"xe"),Kb={type:Ur},Qi={type:Ft},Yb={type:Vr},e0={type:Pe,hard:!0},hh={type:Pe,hard:!0,literal:!0},$g={type:Pe},Zb={type:Pe,soft:!0},eo=[e0,Qi],Og=[hh,Qi],dd={type:Qn},c(gg,"be"),c(vg,"Je"),c(T6,"br"),c(zr,"ee"),c(CA,"Or"),Xb=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),Ie=Xb,d_=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),c(B6,"Nr"),c(L6,"Tr"),p_=c(e=>!(B6(e)||L6(e)),"kr"),f_=/[^\x20-\x7F]/u,c($6,"Hu"),pd=$6,c(Zs,"Ne"),c(ld,"Xe"),c(DA,"Wu"),c(O6,"Ir"),c(yg,"Lr"),c(SA,"Rr"),c(kA,"Mu"),c(M6,"Yr"),c(wg,"Pr"),c(hl,"Se"),c(bg,"Ze"),c(AA,"$u"),c(_A,"Vu"),c(P6,"jr"),c(FA,"Uu"),c(N6,"Hr"),c(Vv,"Qe"),ot=Symbol("MODE_BREAK"),tr=Symbol("MODE_FLAT"),ml=Symbol("cursor"),c(Uv,"Wr"),c(RA,"zu"),c(IA,"Gu"),c(id,"bt"),c(sd,"Ot"),c(Xi,"et"),c(Xs,"Fe"),c(H6,"Ku"),fd=H6,Jb=(gh=class{constructor(e){Mb(this,Fo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return Ie(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:Ie(!1,this.stack,-2)}get node(){return Ie(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=Ie(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Fa(this,Fo,Cc).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Ie(!1,e,-2):null}getValue(){return Ie(!1,this.stack,-1)}getNode(e=0){let t=Fa(this,Fo,mh).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Fa(this,Fo,mh).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,o=Ie(!1,r,-1);for(let a of t)o=o[a],r.push(a,o);try{for(let a=0;a{r[o]=e(n,o,a)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let o of e){if(n===void 0)return!1;let a=null;if(typeof r=="number"&&(a=r,r=this.stack[t--],n=this.stack[t--]),o&&!o(n,r,a))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return t}hasAncestor(e){for(let t of Fa(this,Fo,Cc).call(this))if(e(t))return!0;return!1}},c(gh,"St"),gh),Fo=new WeakSet,mh=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Cc=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),h_=Jb,vh=new Proxy(()=>{},{get:c(()=>vh,"get")}),hd=vh,c(j6,"qu"),m_=j6,c(Wv,"Tt"),c(zA,"Ur"),c(_a,"Ee"),Qb=_a(/\s/u),xn=_a(" "),Mg=_a(",; "),Pg=_a(/[^\n\r]/u),c(V6,"Ju"),so=V6,c(U6,"Xu"),mn=U6,c(W6,"Zu"),g_=W6,Ng=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),v_=c(e=>Object.keys(e).filter(t=>!Ng.has(t)),"Qu"),c(q6,"eo"),ku=q6,c(TA,"to"),c(y1,"Lt"),c(jo,"ue"),c(xs,"re"),c(Vo,"oe"),t0=new WeakMap,c(w1,"ut"),c(qv,"qr"),r0=c(()=>!1,"It"),c(BA,"Jr"),ty=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(LA,"ro"),c($A,"no"),c(Eg,"Kr"),c(Xc,"Rt"),c(G6,"uo"),E1=G6,c(Gv,"Zr"),c(OA,"oo"),c(MA,"io"),c(PA,"so"),c(NA,"Qr"),c(HA,"en"),c(K6,"ao"),y_=K6,ry=(yh=class extends Error{constructor(){super(...arguments);ka(this,"name","ConfigError")}},c(yh,"Pe"),yh),Hg=(wh=class extends Error{constructor(){super(...arguments);ka(this,"name","UndefinedParserError")}},c(wh,"Ie"),wh),w_={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(xg,"ot"),c(jA,"Do"),c(VA,"lo"),b_=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(Cg,"nn"),c(UA,"fo"),c(Y6,"po"),E_=Y6,zo={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>zo.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${zo.key(r)}: ${zo.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>zo.value({[e]:t}),"pair")},bh=Ti(xc(),1),e8=c((e,t,{descriptor:r})=>{let n=[`${bh.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${bh.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Uo=Ti(xc(),1),jg=Symbol.for("vnopts.VALUE_NOT_EXIST"),Bi=Symbol.for("vnopts.VALUE_UNCHANGED"),Vg=" ".repeat(2),t8=c((e,t,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),a=[];return n&&a.push(Jf(e,t,n,r.descriptor)),o&&a.push([Jf(e,t,o.title,r.descriptor)].concat(o.values.map(l=>Dg(l,r.loggerPrintWidth))).join(` -`)),Sg(a,r.loggerPrintWidth)},"cn"),c(Jf,"ln"),c(Dg,"fn"),c(Sg,"pn"),Eh=Ti(xc(),1),n0=[],Ug=[],c(Z6,"Ht"),Wg=c((e,t,{descriptor:r,logger:n,schemas:o})=>{let a=[`Ignored unknown option ${Eh.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(o).sort().find(i=>Z6(e,i)<3);l&&a.push(`Did you mean ${Eh.default.blue(r.key(l))}?`),n.warn(a.join(" "))},"at"),x_=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(X6,"mo"),ln=(xh=class{static create(e){return X6(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Bi}},c(xh,"O"),xh),c(WA,"Eo"),C_=(Ch=class extends ln{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(Ch,"Dt"),Ch),D_=(Dh=class extends ln{expected(){return"anything"}validate(){return!0}},c(Dh,"lt"),Dh),S_=(Sh=class extends ln{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let o=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);o!==!0&&r.push(o.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let o=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);o!==!1&&r.push(...o.map(({value:a})=>({value:[a]})))}return r}forward(e,t){let r=[];for(let n of e){let o=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...o.map(Qf))}return r}redirect(e,t){let r=[],n=[];for(let o of e){let a=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in a&&r.push(a.remain),n.push(...a.redirect.map(Qf))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(Sh,"ct"),Sh),c(Qf,"Fn"),k_=(kh=class extends ln{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(kh,"ft"),kh),c(J6,"En"),c(Q6,"hn"),c(eb,"Cn"),c(tb,"gn"),c(rb,"yn"),c(nb,"An"),c(ob,"Bn"),c(eh,"Mt"),c(kg,"$t"),c(th,"Vt"),c(rh,"Ut"),c(Ag,"mn"),c(Jc,"pt"),c(nh,"zt"),c(qA,"ho"),A_=(Ah=class extends ln{constructor(e){super(e),this._choices=Q6(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(o=>this._choices.get(o)).filter(({hidden:o})=>!o).map(o=>o.value).sort(nb).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(Ah,"dt"),Ah),r8=(_h=class extends ln{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(_h,"Ft"),_h),__=(Fh=class extends r8{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&rb(e)}},c(Fh,"mt"),Fh),qg=(Rh=class extends ln{expected(){return"a string"}validate(e){return typeof e=="string"}},c(Rh,"Re"),Rh),n8=zo,o8=Wg,a8=t8,l8=e8,F_=(Ih=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:o=n8,unknown:a=o8,invalid:l=a8,deprecated:i=l8,missing:u=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:p=c(h=>h,"d"),postprocess:m=c(()=>Bi,"f")}=t||{};this._utils={descriptor:o,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:J6(e,"name"),normalizeDefaultResult:eh,normalizeExpectedResult:kg,normalizeDeprecatedResult:rh,normalizeForwardResult:Jc,normalizeRedirectResult:nh,normalizeValidateResult:th},this._unknownHandler=a,this._invalidHandler=ob(l),this._deprecatedHandler=i,this._identifyMissing=(h,f)=>!(h in f)||u(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=eb()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let o=r.shift(),a=this._applyNormalization(o,t);r.push(...a)}},"u");n();for(let o of Object.keys(this._utils.schemas)){let a=this._utils.schemas[o];if(!(o in t)){let l=eh(a.default(this._utils));"value"in l&&r.push({[o]:l.value})}}n();for(let o of Object.keys(this._utils.schemas)){if(!(o in t))continue;let a=this._utils.schemas[o],l=t[o],i=a.postprocess(l,this._utils);i!==Bi&&(this._applyValidation(i,o,a),t[o]=i)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(e);for(let a of n){let l=this._utils.schemas[a],i=l.preprocess(e[a],this._utils);this._applyValidation(i,a,l);let u=c(({from:m,to:h})=>{r.push(typeof h=="string"?{[h]:m}:{[h.key]:h.value})},"D"),d=c(({value:m,redirectTo:h})=>{let f=rh(l.deprecated(m,this._utils),i,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,h,this._utils));else for(let{value:v}of f){let g={key:a,value:v};if(!this._hasDeprecationWarned(g)){let C=typeof h=="string"?{key:h,value:v}:h;this._utils.logger.warn(this._deprecatedHandler(g,C,this._utils))}}},"l");Jc(l.forward(i,this._utils),i).forEach(u);let p=nh(l.redirect(i,this._utils),i);if(p.redirect.forEach(u),"remain"in p){let m=p.remain;t[a]=a in t?l.overlap(t[a],m,this._utils):m,d({value:m})}for(let{from:m,to:h}of p.redirect)d({value:m,redirectTo:h})}for(let a of o){let l=e[a];this._applyUnknownHandler(a,l,t,(i,u)=>{r.push({[i]:u})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,jg,this._utils)}_partitionOptionKeys(e){let[t,r]=tb(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=th(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let o=this._unknownHandler(e,t,this._utils);if(o)for(let a of Object.keys(o)){if(this._identifyMissing(a,o))continue;let l=o[a];a in this._utils.schemas?n(a,l):r[a]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Bi){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let o of r){let a=t.override[o];this._applyValidation(a,o,this._utils.schemas[o]),e[o]=a}for(let o of n){let a=t.override[o];this._applyUnknownHandler(o,a,e,(l,i)=>{let u=this._utils.schemas[l];this._applyValidation(i,l,u),e[l]=i})}}}}},c(Ih,"Et"),Ih),c(ab,"go"),c(GA,"yo"),c(KA,"Ao"),R_=ab,i8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return o}}},"Bo"),ny=i8,c(Kv,"qt"),c(YA,"On"),c(Yv,"ht"),c(Zv,"Jt"),c(ZA,"Sn"),Gg={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(lb,"wo"),ma=lb,I_=Ti(Vb(),1),c(ib,"ko"),c(XA,"Lo"),ni=ib,c(JA,"Un"),c(QA,"Po"),c(sb,"Io"),z_=sb,c(Du,"Ye"),c(_g,"Gn"),c(Xv,"Qt"),c(ub,"Ro"),T_=ub,c(cb,"Yo"),B_=cb,s8=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let o=t[n];if(r(o,n,t))return n}return-1}},"jo"),L_=s8,$_=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(e_,"Wo"),c(Fg,"Xn"),c(t_,"Mo"),c(ud,"er"),c(r_,"$o"),oy=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),O_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(Rg,"Zn"),c(n_,"eu"),ay="\uFEFF",Kg=Symbol("cursor"),c(Jv,"ou"),c(o_,"Uo"),c(Qc,"tr"),c(Ig,"ru"),c(Qv,"iu"),c(zg,"nu"),c(Tg,"rr"),c(db,"su"),c(pb,"au"),c(fb,"Du"),c(hb,"lu"),c(mb,"cu"),Th={},zi(Th,{builders:c(()=>u8,"builders"),printer:c(()=>c8,"printer"),utils:c(()=>d8,"utils")}),u8={join:gg,line:$g,softline:Zb,hardline:eo,literalline:Og,group:hg,conditionalGroup:R6,fill:mg,lineSuffix:ad,lineSuffixBoundary:Kb,cursor:dd,breakParent:Qi,ifBreak:I6,trim:Yb,indent:Ys,indentIfBreak:z6,align:oa,addAlignmentToDoc:vg,markAsRoot:_6,dedentToRoot:A6,dedent:F6,hardlineWithoutBreakParent:e0,literallineWithoutBreakParent:hh,label:T6,concat:c(e=>e,"concat")},c8={printDocToString:Xs},d8={willBreak:O6,traverseDoc:cd,findInDoc:ld,mapDoc:Zs,removeLines:M6,stripTrailingHardline:bg,replaceEndOfLine:P6,canBreak:N6},p8="3.3.3",Bh={},zi(Bh,{addDanglingComment:c(()=>xs,"addDanglingComment"),addLeadingComment:c(()=>jo,"addLeadingComment"),addTrailingComment:c(()=>Vo,"addTrailingComment"),getAlignmentSize:c(()=>fd,"getAlignmentSize"),getIndentSize:c(()=>f8,"getIndentSize"),getMaxContinuousCount:c(()=>h8,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>m8,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>kb,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>pd,"getStringWidth"),hasNewline:c(()=>mn,"hasNewline"),hasNewlineInRange:c(()=>g8,"hasNewlineInRange"),hasSpaces:c(()=>v8,"hasSpaces"),isNextLineEmpty:c(()=>_b,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>vd,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>Ab,"isPreviousLineEmpty"),makeString:c(()=>y8,"makeString"),skip:c(()=>_a,"skip"),skipEverythingButNewLine:c(()=>Pg,"skipEverythingButNewLine"),skipInlineComment:c(()=>md,"skipInlineComment"),skipNewline:c(()=>so,"skipNewline"),skipSpaces:c(()=>xn,"skipSpaces"),skipToLineEnd:c(()=>Mg,"skipToLineEnd"),skipTrailingComment:c(()=>gd,"skipTrailingComment"),skipWhitespace:c(()=>Qb,"skipWhitespace")}),c(gb,"Jo"),md=gb,c(vb,"Xo"),gd=vb,c(yb,"Zo"),x1=yb,c(wb,"Qo"),vd=wb,c(bb,"ei"),f8=bb,c(a_,"ur"),c(Eb,"ti"),h8=Eb,c(xb,"ri"),m8=xb,c(Cb,"ni"),g8=Cb,c(Db,"ui"),v8=Db,c(Sb,"oi"),y8=Sb,c(l_,"ii"),c(kb,"si"),c(i_,"ai"),c(Ab,"Di"),c(s_,"li"),c(_b,"ci"),c(_n,"fe"),Yg=_n(Tg),c(Bg,"gu"),c(Fb,"fi"),w8=_n(xg,0),b8={parse:_n(db),formatAST:_n(pb),formatDoc:_n(fb),printToDoc:_n(hb),printDocToString:_n(mb)},M_=ih});function P_(e){for(var t=[],r=1;r{c(P_,"dedent")}),N_={};Ql(N_,{formatter:()=>H_});var E8,H_,sP=T(()=>{E8=We(e1(),1),aP(),lP(),iP(),H_=(0,E8.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?P_(t):(await M_.format(t,{parser:e,plugins:[wA],htmlWhitespaceSensitivity:"ignore"})).trim())}),Zg,Xg,uP=T(()=>{Zg=c(function(e){return e.reduce(function(t,r){var n=r[0],o=r[1];return t[n]=o,t},{})},"fromEntries"),Xg=typeof window<"u"&&window.document&&window.document.createElement?s.useLayoutEffect:s.useEffect}),it,zt,Tt,st,yd,gl,Yo,vl,j_,ly,ja,V_,Jg,iy,x8,C8,D8,S8,k8,A8,_8,F8,R8,U_,Wt=T(()=>{it="top",zt="bottom",Tt="right",st="left",yd="auto",gl=[it,zt,Tt,st],Yo="start",vl="end",j_="clippingParents",ly="viewport",ja="popper",V_="reference",Jg=gl.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+vl])},[]),iy=[].concat(gl,[yd]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+vl])},[]),x8="beforeRead",C8="read",D8="afterRead",S8="beforeMain",k8="main",A8="afterMain",_8="beforeWrite",F8="write",R8="afterWrite",U_=[x8,C8,D8,S8,k8,A8,_8,F8,R8]});function vr(e){return e?(e.nodeName||"").toLowerCase():null}var ga=T(()=>{c(vr,"getNodeName")});function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qr=T(()=>{c(Et,"getWindow")});function uo(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function C1(e){if(typeof ShadowRoot>"u")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var qt=T(()=>{Qr(),c(uo,"isElement"),c(Rt,"isHTMLElement"),c(C1,"isShadowRoot")});function I8(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Rt(a)||!vr(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(l){var i=o[l];i===!1?a.removeAttribute(l):a.setAttribute(l,i===!0?"":i)}))})}function z8(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=l.reduce(function(u,d){return u[d]="",u},{});!Rt(o)||!vr(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var W_,cP=T(()=>{ga(),qt(),c(I8,"applyStyles"),c(z8,"effect"),W_={name:"applyStyles",enabled:!0,phase:"write",fn:I8,effect:z8,requires:["computeStyles"]}});function pr(e){return e.split("-")[0]}var va=T(()=>{c(pr,"getBasePlacement")}),to,Js,la,ya=T(()=>{to=Math.max,Js=Math.min,la=Math.round});function wd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var q_=T(()=>{c(wd,"getUAString")});function sy(){return!/^((?!chrome|android).)*safari/i.test(wd())}var G_=T(()=>{q_(),c(sy,"isLayoutViewport")});function ia(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Rt(e)&&(o=e.offsetWidth>0&&la(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&la(n.height)/e.offsetHeight||1);var l=uo(e)?Et(e):window,i=l.visualViewport,u=!sy()&&r,d=(n.left+(u&&i?i.offsetLeft:0))/o,p=(n.top+(u&&i?i.offsetTop:0))/a,m=n.width/o,h=n.height/a;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var Au=T(()=>{qt(),ya(),Qr(),G_(),c(ia,"getBoundingClientRect")});function D1(e){var t=ia(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var uy=T(()=>{Au(),c(D1,"getLayoutRect")});function cy(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&C1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var K_=T(()=>{qt(),c(cy,"contains")});function Jr(e){return Et(e).getComputedStyle(e)}var _u=T(()=>{Qr(),c(Jr,"getComputedStyle")});function Y_(e){return["table","td","th"].indexOf(vr(e))>=0}var dP=T(()=>{ga(),c(Y_,"isTableElement")});function kn(e){return((uo(e)?e.ownerDocument:e.document)||window.document).documentElement}var vo=T(()=>{qt(),c(kn,"getDocumentElement")});function Fu(e){return vr(e)==="html"?e:e.assignedSlot||e.parentNode||(C1(e)?e.host:null)||kn(e)}var S1=T(()=>{ga(),vo(),qt(),c(Fu,"getParentNode")});function Qg(e){return!Rt(e)||Jr(e).position==="fixed"?null:e.offsetParent}function Z_(e){var t=/firefox/i.test(wd()),r=/Trident/i.test(wd());if(r&&Rt(e)){var n=Jr(e);if(n.position==="fixed")return null}var o=Fu(e);for(C1(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(vr(o))<0;){var a=Jr(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function oi(e){for(var t=Et(e),r=Qg(e);r&&Y_(r)&&Jr(r).position==="static";)r=Qg(r);return r&&(vr(r)==="html"||vr(r)==="body"&&Jr(r).position==="static")?t:r||Z_(e)||t}var Ru=T(()=>{Qr(),ga(),_u(),qt(),dP(),S1(),q_(),c(Qg,"getTrueOffsetParent"),c(Z_,"getContainingBlock"),c(oi,"getOffsetParent")});function k1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var dy=T(()=>{c(k1,"getMainAxisFromPlacement")});function yl(e,t,r){return to(e,Js(t,r))}function X_(e,t,r){var n=yl(e,t,r);return n>r?r:n}var J_=T(()=>{ya(),c(yl,"within"),c(X_,"withinMaxClamp")});function py(){return{top:0,right:0,bottom:0,left:0}}var Q_=T(()=>{c(py,"getFreshSideObject")});function fy(e){return Object.assign({},py(),e)}var eF=T(()=>{Q_(),c(fy,"mergePaddingObject")});function hy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var tF=T(()=>{c(hy,"expandToHashMap")});function T8(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,i=pr(r.placement),u=k1(i),d=[st,Tt].indexOf(i)>=0,p=d?"height":"width";if(!(!a||!l)){var m=rF(o.padding,r),h=D1(a),f=u==="y"?it:st,v=u==="y"?zt:Tt,g=r.rects.reference[p]+r.rects.reference[u]-l[u]-r.rects.popper[p],C=l[u]-r.rects.reference[u],b=oi(a),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-C/2,x=m[f],D=y-h[p]-m[v],S=y/2-h[p]/2+E,k=yl(x,S,D),A=u;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function B8(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||cy(t.elements.popper,o)&&(t.elements.arrow=o))}var rF,nF,pP=T(()=>{va(),uy(),K_(),Ru(),dy(),J_(),eF(),tF(),Wt(),rF=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,fy(typeof e!="number"?e:hy(e,gl))},"toPaddingObject"),c(T8,"arrow"),c(B8,"effect"),nF={name:"arrow",enabled:!0,phase:"main",fn:T8,effect:B8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function sa(e){return e.split("-")[1]}var Iu=T(()=>{c(sa,"getVariation")});function oF(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:la(r*o)/o||0,y:la(n*o)/o||0}}function e5(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,i=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,f=h===void 0?0:h,v=l.y,g=v===void 0?0:v,C=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=C.x,g=C.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),E=st,x=it,D=window;if(d){var S=oi(r),k="clientHeight",A="clientWidth";if(S===Et(r)&&(S=kn(r),Jr(S).position!=="static"&&i==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,o===it||(o===st||o===Tt)&&a===vl){x=zt;var _=m&&S===D&&D.visualViewport?D.visualViewport.height:S[k];g-=_-n.height,g*=u?1:-1}if(o===st||(o===it||o===zt)&&a===vl){E=Tt;var R=m&&S===D&&D.visualViewport?D.visualViewport.width:S[A];f-=R-n.width,f*=u?1:-1}}var z=Object.assign({position:i},d&&aF),L=p===!0?oF({x:f,y:g},Et(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var $;return Object.assign({},z,($={},$[x]=y?"0":"",$[E]=b?"0":"",$.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",$))}return Object.assign({},z,(t={},t[x]=y?g+"px":"",t[E]=b?f+"px":"",t.transform="",t))}function L8(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,l=a===void 0?!0:a,i=r.roundOffsets,u=i===void 0?!0:i,d={placement:pr(t.placement),variation:sa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,e5(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,e5(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var aF,lF,fP=T(()=>{Wt(),Ru(),Qr(),vo(),_u(),va(),Iu(),ya(),aF={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(oF,"roundOffsetsByDPR"),c(e5,"mapToStyles"),c(L8,"computeStyles"),lF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:L8,data:{}}});function $8(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,l=n.resize,i=l===void 0?!0:l,u=Et(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",r.update,es)}),i&&u.addEventListener("resize",r.update,es),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",r.update,es)}),i&&u.removeEventListener("resize",r.update,es)}}var es,iF,hP=T(()=>{Qr(),es={passive:!0},c($8,"effect"),iF={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:$8,data:{}}});function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return sF[t]})}var sF,mP=T(()=>{sF={left:"right",right:"left",bottom:"top",top:"bottom"},c(Cs,"getOppositePlacement")});function t5(e){return e.replace(/start|end/g,function(t){return uF[t]})}var uF,gP=T(()=>{uF={start:"end",end:"start"},c(t5,"getOppositeVariationPlacement")});function A1(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var my=T(()=>{Qr(),c(A1,"getWindowScroll")});function _1(e){return ia(kn(e)).left+A1(e).scrollLeft}var gy=T(()=>{Au(),vo(),my(),c(_1,"getWindowScrollBarX")});function cF(e,t){var r=Et(e),n=kn(e),o=r.visualViewport,a=n.clientWidth,l=n.clientHeight,i=0,u=0;if(o){a=o.width,l=o.height;var d=sy();(d||!d&&t==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:i+_1(e),y:u}}var vP=T(()=>{Qr(),vo(),gy(),G_(),c(cF,"getViewportRect")});function dF(e){var t,r=kn(e),n=A1(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=to(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=to(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+_1(e),u=-n.scrollTop;return Jr(o||r).direction==="rtl"&&(i+=to(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:i,y:u}}var yP=T(()=>{vo(),_u(),gy(),my(),ya(),c(dF,"getDocumentRect")});function F1(e){var t=Jr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}var vy=T(()=>{_u(),c(F1,"isScrollParent")});function yy(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:Rt(e)&&F1(e)?e:yy(Fu(e))}var wP=T(()=>{S1(),vy(),ga(),qt(),c(yy,"getScrollParent")});function wl(e,t){var r;t===void 0&&(t=[]);var n=yy(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Et(n),l=o?[a].concat(a.visualViewport||[],F1(n)?n:[]):n,i=t.concat(l);return o?i:i.concat(wl(Fu(l)))}var pF=T(()=>{wP(),S1(),Qr(),vy(),c(wl,"listScrollParents")});function bd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var fF=T(()=>{c(bd,"rectToClientRect")});function hF(e,t){var r=ia(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function r5(e,t,r){return t===ly?bd(cF(e,r)):uo(t)?hF(t,r):bd(dF(kn(e)))}function mF(e){var t=wl(Fu(e)),r=["absolute","fixed"].indexOf(Jr(e).position)>=0,n=r&&Rt(e)?oi(e):e;return uo(n)?t.filter(function(o){return uo(o)&&cy(o,n)&&vr(o)!=="body"}):[]}function gF(e,t,r,n){var o=t==="clippingParents"?mF(e):[].concat(t),a=[].concat(o,[r]),l=a[0],i=a.reduce(function(u,d){var p=r5(e,d,n);return u.top=to(p.top,u.top),u.right=Js(p.right,u.right),u.bottom=Js(p.bottom,u.bottom),u.left=to(p.left,u.left),u},r5(e,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var bP=T(()=>{Wt(),vP(),yP(),pF(),Ru(),vo(),_u(),qt(),Au(),S1(),K_(),ga(),fF(),ya(),c(hF,"getInnerBoundingClientRect"),c(r5,"getClientRectFromMixedType"),c(mF,"getClippingParents"),c(gF,"getClippingRect")});function wy(e){var t=e.reference,r=e.element,n=e.placement,o=n?pr(n):null,a=n?sa(n):null,l=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,u;switch(o){case it:u={x:l,y:t.y-r.height};break;case zt:u={x:l,y:t.y+t.height};break;case Tt:u={x:t.x+t.width,y:i};break;case st:u={x:t.x-r.width,y:i};break;default:u={x:t.x,y:t.y}}var d=o?k1(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case Yo:u[d]=u[d]-(t[p]/2-r[p]/2);break;case vl:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var vF=T(()=>{va(),Iu(),dy(),Wt(),c(wy,"computeOffsets")});function jl(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,l=a===void 0?e.strategy:a,i=r.boundary,u=i===void 0?j_:i,d=r.rootBoundary,p=d===void 0?ly:d,m=r.elementContext,h=m===void 0?ja:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,C=g===void 0?0:g,b=fy(typeof C!="number"?C:hy(C,gl)),y=h===ja?V_:ja,E=e.rects.popper,x=e.elements[v?y:h],D=gF(uo(x)?x:x.contextElement||kn(e.elements.popper),u,p,l),S=ia(e.elements.reference),k=wy({reference:S,element:E,placement:o}),A=bd(Object.assign({},E,k)),_=h===ja?A:S,R={top:D.top-_.top+b.top,bottom:_.bottom-D.bottom+b.bottom,left:D.left-_.left+b.left,right:_.right-D.right+b.right},z=e.modifiersData.offset;if(h===ja&&z){var L=z[o];Object.keys(R).forEach(function($){var N=[Tt,zt].indexOf($)>=0?1:-1,M=[it,zt].indexOf($)>=0?"y":"x";R[$]+=L[M]*N})}return R}var R1=T(()=>{bP(),vo(),Au(),vF(),fF(),Wt(),qt(),eF(),tF(),c(jl,"detectOverflow")});function yF(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,l=r.padding,i=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?iy:u,p=sa(n),m=p?i?Jg:Jg.filter(function(v){return sa(v)===p}):gl,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=jl(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[pr(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var EP=T(()=>{Iu(),Wt(),R1(),va(),c(yF,"computeAutoPlacement")});function wF(e){if(pr(e)===yd)return[];var t=Cs(e);return[t5(e),t,t5(t)]}function O8(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!0:l,u=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,C=t.options.placement,b=pr(C),y=b===C,E=u||(y||!v?[Cs(C)]:wF(C)),x=[C].concat(E).reduce(function(ie,U){return ie.concat(pr(U)===yd?yF(t,{placement:U,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):U)},[]),D=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=x[0],R=0;R=0,M=N?"width":"height",j=jl(t,{placement:z,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),q=N?$?Tt:st:$?zt:it;D[M]>S[M]&&(q=Cs(q));var B=Cs(q),P=[];if(a&&P.push(j[L]<=0),i&&P.push(j[q]<=0,j[B]<=0),P.every(function(ie){return ie})){_=z,A=!1;break}k.set(z,P)}if(A)for(var H=v?3:1,G=c(function(ie){var U=x.find(function(X){var re=k.get(X);if(re)return re.slice(0,ie).every(function(_e){return _e})});if(U)return _=U,"break"},"_loop"),Z=H;Z>0;Z--){var Q=G(Z);if(Q==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var bF,xP=T(()=>{mP(),va(),gP(),R1(),EP(),Wt(),Iu(),c(wF,"getExpandedFallbackPlacements"),c(O8,"flip"),bF={name:"flip",enabled:!0,phase:"main",fn:O8,requiresIfExists:["offset"],data:{_skip:!1}}});function n5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function o5(e){return[it,Tt,zt,st].some(function(t){return e[t]>=0})}function M8(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=jl(t,{elementContext:"reference"}),i=jl(t,{altBoundary:!0}),u=n5(l,n),d=n5(i,o,a),p=o5(u),m=o5(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var EF,CP=T(()=>{Wt(),R1(),c(n5,"getSideOffsets"),c(o5,"isAnySideFullyClipped"),c(M8,"hide"),EF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M8}});function xF(e,t,r){var n=pr(e),o=[st,it].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=a[0],i=a[1];return l=l||0,i=(i||0)*o,[st,Tt].indexOf(n)>=0?{x:i,y:l}:{x:l,y:i}}function P8(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,l=iy.reduce(function(p,m){return p[m]=xF(m,t.rects,a),p},{}),i=l[t.placement],u=i.x,d=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var CF,DP=T(()=>{va(),Wt(),c(xF,"distanceAndSkiddingToXY"),c(P8,"offset"),CF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P8}});function N8(e){var t=e.state,r=e.name;t.modifiersData[r]=wy({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var DF,SP=T(()=>{vF(),c(N8,"popperOffsets"),DF={name:"popperOffsets",enabled:!0,phase:"read",fn:N8,data:{}}});function SF(e){return e==="x"?"y":"x"}var kP=T(()=>{c(SF,"getAltAxis")});function H8(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,l=r.altAxis,i=l===void 0?!1:l,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,C=jl(t,{boundary:u,rootBoundary:d,padding:m,altBoundary:p}),b=pr(t.placement),y=sa(t.placement),E=!y,x=k1(b),D=SF(x),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(a){var $,N=x==="y"?it:st,M=x==="y"?zt:Tt,j=x==="y"?"height":"width",q=S[x],B=q+C[N],P=q-C[M],H=f?-A[j]/2:0,G=y===Yo?k[j]:A[j],Z=y===Yo?-A[j]:-k[j],Q=t.elements.arrow,ie=f&&Q?D1(Q):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:py(),X=U[N],re=U[M],_e=yl(0,k[j],ie[j]),qe=E?k[j]/2-H-_e-X-R.mainAxis:G-_e-X-R.mainAxis,xr=E?-k[j]/2+H+_e+re+R.mainAxis:Z+_e+re+R.mainAxis,xt=t.elements.arrow&&oi(t.elements.arrow),Yt=xt?x==="y"?xt.clientTop||0:xt.clientLeft||0:0,W=($=z==null?void 0:z[x])!=null?$:0,Zt=q+qe-W-Yt,Cr=q+xr-W,bo=yl(f?Js(B,Zt):B,q,f?to(P,Cr):P);S[x]=bo,L[x]=bo-q}if(i){var Ca,Dr=x==="x"?it:st,Tu=x==="x"?zt:Tt,rt=S[D],Eo=D==="y"?"height":"width",Sr=rt+C[Dr],Da=rt-C[Tu],kr=[it,st].indexOf(b)!==-1,Sa=(Ca=z==null?void 0:z[D])!=null?Ca:0,Ar=kr?Sr:rt-k[Eo]-A[Eo]-Sa+R.altAxis,Ge=kr?rt+k[Eo]+A[Eo]-Sa-R.altAxis:Da,Xt=f&&kr?X_(Ar,rt,Ge):yl(f?Ar:Sr,rt,f?Ge:Da);S[D]=Xt,L[D]=Xt-rt}t.modifiersData[n]=L}}var kF,AP=T(()=>{Wt(),va(),dy(),kP(),J_(),uy(),Ru(),R1(),Iu(),Q_(),ya(),c(H8,"preventOverflow"),kF={name:"preventOverflow",enabled:!0,phase:"main",fn:H8,requiresIfExists:["offset"]}}),AF=T(()=>{});function _F(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var _P=T(()=>{c(_F,"getHTMLElementScroll")});function FF(e){return e===Et(e)||!Rt(e)?A1(e):_F(e)}var FP=T(()=>{my(),Qr(),qt(),_P(),c(FF,"getNodeScroll")});function RF(e){var t=e.getBoundingClientRect(),r=la(t.width)/e.offsetWidth||1,n=la(t.height)/e.offsetHeight||1;return r!==1||n!==1}function IF(e,t,r){r===void 0&&(r=!1);var n=Rt(t),o=Rt(t)&&RF(t),a=kn(t),l=ia(e,o,r),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((vr(t)!=="body"||F1(a))&&(i=FF(t)),Rt(t)?(u=ia(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=_1(a))),{x:l.left+i.scrollLeft-u.x,y:l.top+i.scrollTop-u.y,width:l.width,height:l.height}}var RP=T(()=>{Au(),FP(),ga(),qt(),gy(),vo(),vy(),ya(),c(RF,"isElementScaled"),c(IF,"getCompositeRect")});function zF(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(i){if(!r.has(i)){var u=t.get(i);u&&o(u)}}),n.push(a)}return c(o,"sort"),e.forEach(function(a){r.has(a.name)||o(a)}),n}function TF(e){var t=zF(e);return U_.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}var IP=T(()=>{Wt(),c(zF,"order"),c(TF,"orderModifiers")});function BF(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var zP=T(()=>{c(BF,"debounce")});function LF(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var TP=T(()=>{c(LF,"mergeByName")});function a5(){for(var e=arguments.length,t=new Array(e),r=0;r{RP(),uy(),pF(),Ru(),IP(),zP(),TP(),qt(),l5={placement:"bottom",modifiers:[],strategy:"absolute"},c(a5,"areValidElements"),c($F,"popperGenerator")}),j8,OF,LP=T(()=>{BP(),hP(),SP(),fP(),cP(),DP(),xP(),AP(),pP(),CP(),AF(),j8=[iF,DF,lF,W_,CF,bF,kF,nF,EF],OF=$F({defaultModifiers:j8})}),$P=T(()=>{Wt(),AF(),LP()}),OP=Y((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(i,u){if(i===u)return!0;if(i&&u&&typeof i=="object"&&typeof u=="object"){if(i.constructor!==u.constructor)return!1;var d,p,m;if(Array.isArray(i)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!l(i[p],u[p]))return!1;return!0}var h;if(n&&i instanceof Map&&u instanceof Map){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;for(h=i.entries();!(p=h.next()).done;)if(!l(p.value[1],u.get(p.value[0])))return!1;return!0}if(o&&i instanceof Set&&u instanceof Set){if(i.size!==u.size)return!1;for(h=i.entries();!(p=h.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(u)){if(d=i.length,d!=u.length)return!1;for(p=d;p--!==0;)if(i[p]!==u[p])return!1;return!0}if(i.constructor===RegExp)return i.source===u.source&&i.flags===u.flags;if(i.valueOf!==Object.prototype.valueOf&&typeof i.valueOf=="function"&&typeof u.valueOf=="function")return i.valueOf()===u.valueOf();if(i.toString!==Object.prototype.toString&&typeof i.toString=="function"&&typeof u.toString=="function")return i.toString()===u.toString();if(m=Object.keys(i),d=m.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,m[p]))return!1;if(r&&i instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&i.$$typeof)&&!l(i[m[p]],u[m[p]]))return!1;return!0}return i!==i&&u!==u}c(l,"equal"),t.exports=c(function(i,u){try{return l(i,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),V8,U8,MF,MP=T(()=>{$P(),V8=We(OP()),uP(),U8=[],MF=c(function(e,t,r){r===void 0&&(r={});var n=s.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||U8},a=s.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],i=a[1],u=s.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(m){var h=m.state,f=Object.keys(h.elements);fu.flushSync(function(){i({styles:Zg(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:Zg(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=s.useMemo(function(){var m={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,V8.default)(n.current,m)?n.current||m:(n.current=m,m)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=s.useRef();return Xg(function(){p.current&&p.current.setOptions(d)},[d]),Xg(function(){if(!(e==null||t==null)){var m=r.createPopper||OF,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),PP=T(()=>{MP()});function by(e){var t=s.useRef(e);return t.current=e,s.useCallback(function(){return t.current},[])}function PF(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?HF:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=s.useState(t),l=a[0],i=a[1],u=by(l),d=s.useCallback(function(m){var h=u(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),i(f),typeof o=="function"&&o(f)},[u,o]),p=r!==void 0;return[p?r:l,p?o:d]}function i5(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function NF(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var a=Object.keys(u5).reduce(function(M,j){var q;return oe({},M,(q={},q[j]=M[j]!==void 0?M[j]:u5[j],q))},e),l=s.useMemo(function(){return[{name:"offset",options:{offset:a.offset}}]},Array.isArray(a.offset)?a.offset:[]),i=oe({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||l}),u=s.useState(null),d=u[0],p=u[1],m=s.useState(null),h=m[0],f=m[1],v=PF({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),g=v[0],C=v[1],b=s.useRef();s.useEffect(function(){return function(){return clearTimeout(b.current)}},[]);var y=MF(a.followCursor?s5:d,h,i),E=y.styles,x=y.attributes,D=t1(y,jF),S=D.update,k=by({visible:g,triggerRef:d,tooltipRef:h,finalConfig:a}),A=s.useCallback(function(M){return Array.isArray(a.trigger)?a.trigger.includes(M):a.trigger===M},Array.isArray(a.trigger)?a.trigger:[a.trigger]),_=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!1)},a.delayHide)},[a.delayHide,C]),R=s.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!0)},a.delayShow)},[a.delayShow,C]),z=s.useCallback(function(){k().visible?_():R()},[k,_,R]);s.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var M=c(function(j){var q,B=k(),P=B.tooltipRef,H=B.triggerRef,G=(j.composedPath==null||(q=j.composedPath())==null?void 0:q[0])||j.target;G instanceof Node&&P!=null&&H!=null&&!P.contains(G)&&!H.contains(G)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[k,_]),s.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",z),function(){return d.removeEventListener("click",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",z),function(){return d.removeEventListener("dblclick",z)}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("right-click"))){var M=c(function(j){j.preventDefault(),z()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,z]),s.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),s.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),s.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",R),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",R),h.removeEventListener("mouseleave",_)}},[h,A,R,_,k]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;s.useEffect(function(){a.closeOnTriggerHidden&&L&&_()},[a.closeOnTriggerHidden,_,L]),s.useEffect(function(){if(!a.followCursor||d==null)return;function M(j){var q=j.clientX,B=j.clientY;s5.getBoundingClientRect=i5(q,B),S==null||S()}return c(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[a.followCursor,d,S]),s.useEffect(function(){if(!(h==null||S==null||a.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(h,a.mutationObserverOptions),function(){return M.disconnect()}}},[a.mutationObserverOptions,h,S]);var $=c(function(M){return M===void 0&&(M={}),oe({},M,{style:oe({},M.style,E.popper)},x.popper,{"data-popper-interactive":a.interactive})},"getTooltipProps"),N=c(function(M){return M===void 0&&(M={}),oe({},M,x.arrow,{style:oe({},M.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return oe({getArrowProps:N,getTooltipProps:$,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},D)}var HF,jF,s5,u5,NP=T(()=>{rv(),wr(),PP(),c(by,"useGetLatest"),HF=c(function(){},"noop"),c(PF,"useControlledState"),c(i5,"generateBoundingClientRect"),jF=["styles","attributes"],s5={getBoundingClientRect:i5()},u5={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(NF,"usePopperTooltip")}),W8,Dt,on,q8,G8,c5,HP=T(()=>{W8=We(e1(),1),Dt=(0,W8.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),on=8,q8=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Dt("top",r,`${on*-1}px`,"auto")}`,top:`${Dt("bottom",r,`${on*-1}px`,"auto")}`,right:`${Dt("left",r,`${on*-1}px`,"auto")}`,left:`${Dt("right",r,`${on*-1}px`,"auto")}`,borderBottomWidth:`${Dt("top",r,"0",on)}px`,borderTopWidth:`${Dt("bottom",r,"0",on)}px`,borderRightWidth:`${Dt("left",r,"0",on)}px`,borderLeftWidth:`${Dt("right",r,"0",on)}px`,borderTopColor:Dt("top",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderBottomColor:Dt("bottom",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderLeftColor:Dt("left",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent"),borderRightColor:Dt("right",r,e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,"transparent")})),G8=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pi(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),c5=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:o,color:a,withArrows:l,...i},u)=>w.createElement(G8,{"data-testid":"tooltip",hasChrome:t,ref:u,...i,color:a},t&&l&&w.createElement(q8,{placement:e,...n,color:a}),r)),c5.displayName="Tooltip"}),Ey={};Ql(Ey,{WithToolTipState:()=>Ed,WithTooltip:()=>Ed,WithTooltipPure:()=>d5});var Li,K8,Y8,d5,Ed,xy=T(()=>{tv(),NP(),HP(),{document:Li}=Qd,K8=F.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Y8=F.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,d5=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:a=!0,defaultVisible:l=!1,withArrows:i,offset:u,tooltip:d,children:p,closeOnTriggerHidden:m,mutationObserverOptions:h,delayHide:f,visible:v,interactive:g,delayShow:C,strategy:b,followCursor:y,onVisibleChange:E,...x})=>{let D=e?Y8:K8,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:R,state:z}=NF({trigger:t,placement:n,defaultVisible:l,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:E,delayShow:C,followCursor:y,mutationObserverOptions:h,visible:v,offset:u},{modifiers:o,strategy:b}),L=w.createElement(c5,{placement:z==null?void 0:z.placement,ref:A,hasChrome:a,arrowProps:S(),withArrows:i,...k()},typeof d=="function"?d({onHide:c(()=>E(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:_,...x},p),R&&lD.createPortal(L,Li.body))},"WithTooltipPure"),Ed=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=s.useState(e),a=s.useCallback(l=>{t&&t(l)===!1||o(l)},[t]);return s.useEffect(()=>{let l=c(()=>a(!1),"hide");Li.addEventListener("keydown",l,!1);let i=Array.from(Li.getElementsByTagName("iframe")),u=[];return i.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{Li.removeEventListener("keydown",l),u.forEach(d=>{d()})}}),w.createElement(d5,{...r,visible:n,onVisibleChange:a})},"WithToolTipState")}),ge=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");wr();VO();ev();function VF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$l(e,t)}c(VF,"_inheritsLoose");UO();ev();function UF(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(UF,"_isNativeFunction");function Cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cy=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Cy,"_isNativeReflectConstruct");ev();function WF(e,t,r){if(Cy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&$l(o,r.prototype),o}c(WF,"_construct");function xd(e){var t=typeof Map=="function"?new Map:void 0;return xd=c(function(r){if(r===null||!UF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return WF(r,arguments,V0(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$l(n,r)},"_wrapNativeSuper"),xd(e)}c(xd,"_wrapNativeSuper");var jP={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function qF(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}c(Vl,"hslToRgb");var Z8={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function KF(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Z8[t]?"#"+Z8[t]:e}c(KF,"nameToHex");var VP=/^#[a-fA-F0-9]{6}$/,UP=/^#[a-fA-F0-9]{8}$/,WP=/^#[a-fA-F0-9]{3}$/,qP=/^#[a-fA-F0-9]{4}$/,Lh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,GP=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,KP=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,YP=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I1(e){if(typeof e!="string")throw new Pr(3);var t=KF(e);if(t.match(VP))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(UP)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(WP))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(qP)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Lh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=GP.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=KP.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+Vl(i,u,d)+")",m=Lh.exec(p);if(!m)throw new Pr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=YP.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+Vl(f,v,g)+")",b=Lh.exec(C);if(!b)throw new Pr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Pr(5)}c(I1,"parseToRgb");function YF(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Qs(e,t,r):"rgba("+Vl(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Qs(e.hue,e.saturation,e.lightness):"rgba("+Vl(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pr(2)}c(JF,"hsla");function Cd(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return p5("#"+Pn(e)+Pn(t)+Pn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return p5("#"+Pn(e.red)+Pn(e.green)+Pn(e.blue));throw new Pr(6)}c(Cd,"rgb");function eu(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=I1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Cd(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cd(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pr(7)}c(eu,"rgba");var XP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),JP=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),QP=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),eN=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Sy(e){if(typeof e!="object")throw new Pr(8);if(JP(e))return eu(e);if(XP(e))return Cd(e);if(eN(e))return JF(e);if(QP(e))return XF(e);throw new Pr(8)}c(Sy,"toColorString");function ky(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ky(e,t,n)},"fn")}c(ky,"curried");function z1(e){return ky(e,e.length,[])}c(z1,"curry");function T1(e,t,r){return Math.max(e,Math.min(t,r))}c(T1,"guard");function QF(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness-parseFloat(e))}))}c(QF,"darken");var tN=z1(QF),nl=tN;function eR(e,t){if(t==="transparent")return t;var r=Dy(t);return Sy(oe({},r,{lightness:T1(0,1,r.lightness+parseFloat(e))}))}c(eR,"lighten");var rN=z1(eR),X8=rN;function tR(e,t){if(t==="transparent")return t;var r=I1(t),n=typeof r.alpha=="number"?r.alpha:1,o=oe({},r,{alpha:T1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return eu(o)}c(tR,"transparentize");var nN=z1(tR),Nt=nN,ai=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),yo=c(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Nt(.1,e.color.defaultText):Nt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),Ee=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),wa={margin:"16px 0"},Ay=F.div(Ee),oN=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:r,target:n,...t})},"Link"),aN=F(oN)(Ee,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),lN=F.blockquote(Ee,wa,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));n1();var iN=c(e=>typeof e=="string","isReactChildString"),sN=/[\n\r]/g,uN=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),yo),cN=F(gs)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rR=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=s.Children.toArray(t);return o.filter(iN).some(a=>a.match(sN))?w.createElement(cN,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):w.createElement(uN,{...r,className:e},o)},"Code"),dN=F.dl(Ee,wa,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),pN=F.div(Ee),fN=F.h1(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),nR=F.h2(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),oR=F.h3(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),hN=F.h4(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),mN=F.h5(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),gN=F.h6(Ee,ai,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),vN=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),yN=F.img({maxWidth:"100%"}),wN=F.li(Ee,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":yo({theme:e})})),bN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},EN=F.ol(Ee,wa,bN,{listStyle:"decimal"}),xN=F.p(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":yo({theme:e})})),CN=F.pre(Ee,wa,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),DN=F.span(Ee,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),SN=F.title(yo),kN=F.table(Ee,wa,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),AN={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},_N=F.ul(Ee,wa,AN,{listStyle:"disc"}),aR={h1:c(e=>w.createElement(fN,{...ge(e,"h1")}),"h1"),h2:c(e=>w.createElement(nR,{...ge(e,"h2")}),"h2"),h3:c(e=>w.createElement(oR,{...ge(e,"h3")}),"h3"),h4:c(e=>w.createElement(hN,{...ge(e,"h4")}),"h4"),h5:c(e=>w.createElement(mN,{...ge(e,"h5")}),"h5"),h6:c(e=>w.createElement(gN,{...ge(e,"h6")}),"h6"),pre:c(e=>w.createElement(CN,{...ge(e,"pre")}),"pre"),a:c(e=>w.createElement(aN,{...ge(e,"a")}),"a"),hr:c(e=>w.createElement(vN,{...ge(e,"hr")}),"hr"),dl:c(e=>w.createElement(dN,{...ge(e,"dl")}),"dl"),blockquote:c(e=>w.createElement(lN,{...ge(e,"blockquote")}),"blockquote"),table:c(e=>w.createElement(kN,{...ge(e,"table")}),"table"),img:c(e=>w.createElement(yN,{...ge(e,"img")}),"img"),div:c(e=>w.createElement(pN,{...ge(e,"div")}),"div"),span:c(e=>w.createElement(DN,{...ge(e,"span")}),"span"),li:c(e=>w.createElement(wN,{...ge(e,"li")}),"li"),ul:c(e=>w.createElement(_N,{...ge(e,"ul")}),"ul"),ol:c(e=>w.createElement(EN,{...ge(e,"ol")}),"ol"),p:c(e=>w.createElement(xN,{...ge(e,"p")}),"p"),code:c(e=>w.createElement(rR,{...ge(e,"code")}),"code"),tt:c(e=>w.createElement(SN,{...ge(e,"tt")}),"tt"),resetwrapper:c(e=>w.createElement(Ay,{...ge(e,"resetwrapper")}),"resetwrapper")},FN=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Nt(.9,e.color.positiveText)}`:"none"};default:return{}}}),nre=c(({...e})=>w.createElement(FN,{...e}),"Badge"),lR={};Ql(lR,{AccessibilityAltIcon:()=>ZU,AccessibilityIcon:()=>YU,AddIcon:()=>Wj,AdminIcon:()=>PU,AlertAltIcon:()=>wV,AlertIcon:()=>yV,AlignLeftIcon:()=>xH,AlignRightIcon:()=>CH,AppleIcon:()=>jH,ArrowBottomLeftIcon:()=>dU,ArrowBottomRightIcon:()=>pU,ArrowDownIcon:()=>lU,ArrowLeftIcon:()=>iU,ArrowRightIcon:()=>sU,ArrowSolidDownIcon:()=>hU,ArrowSolidLeftIcon:()=>mU,ArrowSolidRightIcon:()=>gU,ArrowSolidUpIcon:()=>fU,ArrowTopLeftIcon:()=>uU,ArrowTopRightIcon:()=>cU,ArrowUpIcon:()=>aU,AzureDevOpsIcon:()=>KH,BackIcon:()=>_U,BasketIcon:()=>jV,BatchAcceptIcon:()=>Mj,BatchDenyIcon:()=>Oj,BeakerIcon:()=>VV,BellIcon:()=>DV,BitbucketIcon:()=>YH,BoldIcon:()=>RH,BookIcon:()=>fH,BookmarkHollowIcon:()=>IV,BookmarkIcon:()=>zV,BottomBarIcon:()=>Ej,BottomBarToggleIcon:()=>xj,BoxIcon:()=>Aj,BranchIcon:()=>PH,BrowserIcon:()=>fj,ButtonIcon:()=>uV,CPUIcon:()=>Cj,CalendarIcon:()=>bH,CameraIcon:()=>XN,CategoryIcon:()=>gH,CertificateIcon:()=>MV,ChangedIcon:()=>Zj,ChatIcon:()=>nV,CheckIcon:()=>Lj,ChevronDownIcon:()=>QV,ChevronLeftIcon:()=>eU,ChevronRightIcon:()=>uR,ChevronSmallDownIcon:()=>rU,ChevronSmallLeftIcon:()=>nU,ChevronSmallRightIcon:()=>oU,ChevronSmallUpIcon:()=>tU,ChevronUpIcon:()=>JV,ChromaticIcon:()=>ZH,ChromeIcon:()=>qH,CircleHollowIcon:()=>FV,CircleIcon:()=>RV,ClearIcon:()=>Jj,CloseAltIcon:()=>Hj,CloseIcon:()=>Gj,CloudHollowIcon:()=>qV,CloudIcon:()=>GV,CogIcon:()=>Rj,CollapseIcon:()=>yU,CommandIcon:()=>fV,CommentAddIcon:()=>eV,CommentIcon:()=>Qj,CommentsIcon:()=>rV,CommitIcon:()=>MH,CompassIcon:()=>zU,ComponentDrivenIcon:()=>XH,ComponentIcon:()=>zN,ContrastIcon:()=>UN,ControlsIcon:()=>Pj,CopyIcon:()=>mH,CreditIcon:()=>sV,CrossIcon:()=>sR,DashboardIcon:()=>$U,DatabaseIcon:()=>Dj,DeleteIcon:()=>Kj,DiamondIcon:()=>TV,DirectionIcon:()=>NU,DiscordIcon:()=>JH,DocChartIcon:()=>SH,DocListIcon:()=>kH,DocumentIcon:()=>hH,DownloadIcon:()=>AU,DragIcon:()=>AH,EditIcon:()=>Fj,EllipsisIcon:()=>Tj,EmailIcon:()=>bV,ExpandAltIcon:()=>vU,ExpandIcon:()=>wU,EyeCloseIcon:()=>jN,EyeIcon:()=>HN,FaceHappyIcon:()=>qU,FaceNeutralIcon:()=>GU,FaceSadIcon:()=>KU,FacebookIcon:()=>QH,FailedIcon:()=>Xj,FastForwardIcon:()=>oH,FigmaIcon:()=>ej,FilterIcon:()=>DH,FlagIcon:()=>WV,FolderIcon:()=>vH,FormIcon:()=>$j,GDriveIcon:()=>tj,GithubIcon:()=>rj,GitlabIcon:()=>nj,GlobeIcon:()=>IU,GoogleIcon:()=>oj,GraphBarIcon:()=>EH,GraphLineIcon:()=>wH,GraphqlIcon:()=>aj,GridAltIcon:()=>$N,GridIcon:()=>TN,GrowIcon:()=>GN,HeartHollowIcon:()=>BV,HeartIcon:()=>LV,HomeIcon:()=>MU,HourglassIcon:()=>UV,InfoIcon:()=>mV,ItalicIcon:()=>IH,JumpToIcon:()=>_V,KeyIcon:()=>lV,LightningIcon:()=>VN,LightningOffIcon:()=>iR,LinkBrokenIcon:()=>CV,LinkIcon:()=>xV,LinkedinIcon:()=>dj,LinuxIcon:()=>VH,ListOrderedIcon:()=>TH,ListUnorderedIcon:()=>BH,LocationIcon:()=>TU,LockIcon:()=>oV,MarkdownIcon:()=>$H,MarkupIcon:()=>FH,MediumIcon:()=>lj,MemoryIcon:()=>Sj,MenuIcon:()=>_H,MergeIcon:()=>HH,MirrorIcon:()=>qN,MobileIcon:()=>mj,MoonIcon:()=>pH,NutIcon:()=>Ij,OutboxIcon:()=>iV,OutlineIcon:()=>BN,PaintBrushIcon:()=>KN,PaperClipIcon:()=>zH,ParagraphIcon:()=>LH,PassedIcon:()=>Yj,PhoneIcon:()=>EV,PhotoDragIcon:()=>LN,PhotoIcon:()=>IN,PinAltIcon:()=>Vj,PinIcon:()=>BU,PlayAllHollowIcon:()=>sH,PlayBackIcon:()=>tH,PlayHollowIcon:()=>iH,PlayIcon:()=>eH,PlayNextIcon:()=>rH,PlusIcon:()=>Nj,PointerDefaultIcon:()=>dV,PointerHandIcon:()=>pV,PowerIcon:()=>_j,PrintIcon:()=>yH,ProceedIcon:()=>FU,ProfileIcon:()=>WU,PullRequestIcon:()=>NH,QuestionIcon:()=>gV,RSSIcon:()=>SV,RedirectIcon:()=>xU,ReduxIcon:()=>ij,RefreshIcon:()=>RU,ReplyIcon:()=>DU,RepoIcon:()=>OH,RequestChangeIcon:()=>tV,RewindIcon:()=>nH,RulerIcon:()=>YN,SaveIcon:()=>hV,SearchIcon:()=>ON,ShareAltIcon:()=>kV,ShareIcon:()=>AV,ShieldIcon:()=>HV,SideBySideIcon:()=>uH,SidebarAltIcon:()=>yj,SidebarAltToggleIcon:()=>wj,SidebarIcon:()=>vj,SidebarToggleIcon:()=>bj,SpeakerIcon:()=>QN,StackedIcon:()=>cH,StarHollowIcon:()=>$V,StarIcon:()=>OV,StatusFailIcon:()=>YV,StatusPassIcon:()=>XV,StatusWarnIcon:()=>ZV,StickerIcon:()=>KV,StopAltHollowIcon:()=>lH,StopAltIcon:()=>aH,StopIcon:()=>ZN,StorybookIcon:()=>GH,StructureIcon:()=>kj,SubtractIcon:()=>qj,SunIcon:()=>dH,SupportIcon:()=>vV,SwitchAltIcon:()=>WN,SyncIcon:()=>SU,TabletIcon:()=>hj,ThumbsUpIcon:()=>NV,TimeIcon:()=>LU,TimerIcon:()=>OU,TransferIcon:()=>EU,TrashIcon:()=>jj,TwitterIcon:()=>sj,TypeIcon:()=>cV,UbuntuIcon:()=>UH,UndoIcon:()=>CU,UnfoldIcon:()=>bU,UnlockIcon:()=>aV,UnpinIcon:()=>Uj,UploadIcon:()=>kU,UserAddIcon:()=>VU,UserAltIcon:()=>jU,UserIcon:()=>HU,UsersIcon:()=>UU,VSCodeIcon:()=>cj,VerifiedIcon:()=>PV,VideoIcon:()=>JN,WandIcon:()=>Bj,WatchIcon:()=>gj,WindowsIcon:()=>WH,WrenchIcon:()=>zj,XIcon:()=>pj,YoutubeIcon:()=>uj,ZoomIcon:()=>MN,ZoomOutIcon:()=>PN,ZoomResetIcon:()=>NN,iconList:()=>RN});var RN=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],IN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),zN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),TN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),BN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),LN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),s.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),$N=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),ON=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),MN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),PN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),NN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),HN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),jN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),VN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),iR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),UN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),WN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),qN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),GN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),s.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),KN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),YN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),ZN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),XN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),JN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),QN=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),s.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),s.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),eH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),tH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),rH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),nH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),oH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),aH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),lH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),iH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),sH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),uH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),cH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),dH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),s.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3492"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3493"},s.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),fH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),hH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),mH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),gH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),vH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),yH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),wH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),bH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),EH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),xH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),CH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),DH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),SH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),kH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),AH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),_H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),FH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),RH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),IH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),zH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),TH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),BH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),LH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),$H=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),OH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),MH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),PH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),NH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),jH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),VH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),UH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},s.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3497"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),WH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),qH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3496"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),GH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),KH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},s.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3503"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),YH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),ZH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),XH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),JH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),QH=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),Ej=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),Cj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),Dj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),Sj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),Aj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),_j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),s.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),Fj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Rj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Ij=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Tj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Bj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),Lj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),$j=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),Oj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Mj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Pj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),Nj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),Hj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),sR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),Vj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3502"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Uj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},s.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3501"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Wj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Gj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Kj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),Yj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),Zj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),Xj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),Jj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),Qj=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),eV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),tV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),rV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),nV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),oV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),aV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},s.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3614"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),iV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),s.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),sV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),uV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),s.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),cV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),dV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),pV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),fV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),hV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),mV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),gV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),yV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),wV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),bV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),EV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),xV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),CV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),DV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),SV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),kV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),s.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),AV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),s.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),_V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),s.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),FV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),RV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),IV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),zV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),TV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1449_588"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),BV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),LV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),$V=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),OV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),MV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),PV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),NV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),HV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),jV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),s.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),s.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),VV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),UV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),WV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),qV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),GV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),KV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),YV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),ZV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),XV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),JV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),QV=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),eU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),uR=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),tU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),rU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),nU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),oU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),aU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),lU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),iU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),sU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),uU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),cU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),dU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),pU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),fU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),hU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),mU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),gU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),vU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),yU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),wU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),bU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),s.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),s.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),EU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),xU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),CU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),DU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),SU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),kU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),AU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),_U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),FU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),RU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),IU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),zU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),TU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),BU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),LU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),$U=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),OU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),MU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),PU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),s.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),NU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},s.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),s.createElement("defs",null,s.createElement("clipPath",{id:"prefix__clip0_1107_3594"},s.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),HU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),jU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),VU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),UU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),s.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),WU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),qU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),KU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),YU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),s.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ZU=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),XU=0,JU=c(e=>e.button===XU&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),QU=c((e,t)=>{JU(e)&&(e.preventDefault(),t(e))},"cancelled"),eW=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),tW=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:nl(.07,e.color.secondary),"svg path:not([fill])":{fill:nl(.07,e.color.secondary)}},"&:active":{color:nl(.1,e.color.secondary),"svg path:not([fill])":{fill:nl(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),bl=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:o=!1,className:a=void 0,style:l=void 0,...i})=>w.createElement(tW,{...i,onClick:r&&e?u=>QU(u,r):r,className:a},w.createElement(eW,{withArrow:n,containsIcon:o},t,n&&w.createElement(uR,null))),"Link"),ore=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),Zo=[],Ul=null,rW=s.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(n1(),fv));return Zo.length>0&&(Zo.forEach(t=>{e.registerLanguage(...t)}),Zo=[]),Ul===null&&(Ul=e),{default:c(t=>w.createElement(e,{...t}),"default")}}),nW=s.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(n1(),fv)),Promise.resolve().then(()=>(sP(),N_))]);return Zo.length>0&&(Zo.forEach(r=>{e.registerLanguage(...r)}),Zo=[]),Ul===null&&(Ul=e),{default:c(r=>w.createElement(e,{...r,formatter:t}),"default")}}),_y=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(nW,{...e}):w.createElement(rW,{...e})),"SyntaxHighlighter");_y.registerLanguage=(...e)=>{if(Ul!==null){Ul.registerLanguage(...e);return}Zo.push(e)};n1();tS();var cR={};Ql(cR,{Close:()=>EI,Content:()=>yI,Description:()=>bI,Dialog:()=>nI,DialogClose:()=>hI,DialogContent:()=>uI,DialogDescription:()=>fI,DialogOverlay:()=>sI,DialogPortal:()=>iI,DialogTitle:()=>pI,DialogTrigger:()=>oI,Overlay:()=>vI,Portal:()=>gI,Root:()=>mI,Title:()=>wI,Trigger:()=>QW,WarningProvider:()=>JW,createDialogScope:()=>jW});wr();function gn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(gn,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function dR(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(dR,"$6ed0406888f73fc4$var$setRef");function B1(...e){return t=>e.forEach(r=>dR(r,t))}c(B1,"$6ed0406888f73fc4$export$43e446d32b3d21af");function ba(...e){return s.useCallback(B1(...e),e)}c(ba,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function pR(e,t){let r=s.createContext(t);function n(a){let{children:l,...i}=a,u=s.useMemo(()=>i,Object.values(i));return s.createElement(r.Provider,{value:u},l)}c(n,"Provider");function o(a){let l=s.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return c(o,"useContext"),n.displayName=e+"Provider",[n,o]}c(pR,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function fR(e,t=[]){let r=[];function n(a,l){let i=s.createContext(l),u=r.length;r=[...r,l];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][u])||i,C=s.useMemo(()=>v,Object.values(v));return s.createElement(g.Provider,{value:C},f)}c(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][u])||i,v=s.useContext(f);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return c(p,"useContext"),d.displayName=a+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let o=c(()=>{let a=r.map(l=>s.createContext(l));return c(function(l){let i=(l==null?void 0:l[e])||a;return s.useMemo(()=>({[`__scope${e}`]:{...l,[e]:i}}),[l,i])},"useScope")},"createScope");return o.scopeName=e,[n,hR(o,...t)]}c(fR,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function hR(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return c(function(o){let a=n.reduce((l,{useScope:i,scopeName:u})=>{let d=i(o)[`__scope${u}`];return{...l,...d}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(hR,"$c512c27ab02ef895$var$composeContextScopes");var f5=globalThis!=null&&globalThis.document?s.useLayoutEffect:()=>{},oW=s.useId||(()=>{}),aW=0;function l0(e){let[t,r]=s.useState(oW());return f5(()=>{e||r(n=>n??String(aW++))},[e]),e||(t?`radix-${t}`:"")}c(l0,"$1746a345f3d73bb7$export$f680877a34711e37");function co(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(co,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function mR({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,o]=gR({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:n,i=co(r),u=s.useCallback(d=>{if(a){let p=typeof d=="function"?d(e):d;p!==e&&i(p)}else o(d)},[a,e,o,i]);return[l,u]}c(mR,"$71cd76cc60e0454e$export$6f32135080cb4c3");function gR({defaultProp:e,onChange:t}){let r=s.useState(e),[n]=r,o=s.useRef(n),a=co(t);return s.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}c(gR,"$71cd76cc60e0454e$var$useUncontrolledState");wr();wr();wr();var vR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(yR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(h5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(h5,oe({},n,{ref:t}),r)});vR.displayName="Slot";var h5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...wR(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});h5.displayName="SlotClone";var lW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function yR(e){return s.isValidElement(e)&&e.type===lW}c(yR,"$5e63c961fc1ce211$var$isSlottable");function wR(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(wR,"$5e63c961fc1ce211$var$mergeProps");var iW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wo=iW.reduce((e,t)=>{let r=s.forwardRef((n,o)=>{let{asChild:a,...l}=n,i=a?vR:t;return s.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),s.createElement(i,oe({},l,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bR(e,t){e&&fu.flushSync(()=>e.dispatchEvent(t))}c(bR,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function ER(e,t=globalThis==null?void 0:globalThis.document){let r=co(e);s.useEffect(()=>{let n=c(o=>{o.key==="Escape"&&r(o)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(ER,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var m5="dismissableLayer.update",sW="dismissableLayer.pointerDownOutside",uW="dismissableLayer.focusOutside",J8,cW=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dW=s.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:i,onDismiss:u,...d}=e,p=s.useContext(cW),[m,h]=s.useState(null),f=(r=m==null?void 0:m.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=s.useState({}),g=ba(t,A=>h(A)),C=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),y=C.indexOf(b),E=m?C.indexOf(m):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,D=E>=y,S=xR(A=>{let _=A.target,R=[...p.branches].some(z=>z.contains(_));!D||R||(a==null||a(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f),k=CR(A=>{let _=A.target;[...p.branches].some(R=>R.contains(_))||(l==null||l(A),i==null||i(A),A.defaultPrevented||(u==null||u()))},f);return ER(A=>{E===p.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&u&&(A.preventDefault(),u()))},f),s.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(J8=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),g5(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=J8)}},[m,f,n,p]),s.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),g5())},[m,p]),s.useEffect(()=>{let A=c(()=>v({}),"handleUpdate");return document.addEventListener(m5,A),()=>document.removeEventListener(m5,A)},[]),s.createElement(wo.div,oe({},d,{ref:g,style:{pointerEvents:x?D?"auto":"none":void 0,...e.style},onFocusCapture:gn(e.onFocusCapture,k.onFocusCapture),onBlurCapture:gn(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:gn(e.onPointerDownCapture,S.onPointerDownCapture)}))});function xR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{let a=c(i=>{if(i.target&&!n.current){let u=function(){Fy(sW,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(xR,"$5cb92bef7577960e$var$usePointerDownOutside");function CR(e,t=globalThis==null?void 0:globalThis.document){let r=co(e),n=s.useRef(!1);return s.useEffect(()=>{let o=c(a=>{a.target&&!n.current&&Fy(uW,r,{originalEvent:a},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(CR,"$5cb92bef7577960e$var$useFocusOutside");function g5(){let e=new CustomEvent(m5);document.dispatchEvent(e)}c(g5,"$5cb92bef7577960e$var$dispatchUpdate");function Fy(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?bR(o,a):o.dispatchEvent(a)}c(Fy,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");wr();var $h="focusScope.autoFocusOnMount",Oh="focusScope.autoFocusOnUnmount",Q8={bubbles:!1,cancelable:!0},pW=s.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...l}=e,[i,u]=s.useState(null),d=co(o),p=co(a),m=s.useRef(null),h=ba(t,g=>u(g)),f=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(n){let g=function(E){if(f.paused||!i)return;let x=E.target;i.contains(x)?m.current=x:un(m.current,{select:!0})},C=function(E){if(f.paused||!i)return;let x=E.relatedTarget;x!==null&&(i.contains(x)||un(m.current,{select:!0}))},b=function(E){if(document.activeElement===document.body)for(let x of E)x.removedNodes.length>0&&un(i)};c(g,"handleFocusIn"),c(C,"handleFocusOut"),c(b,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",C);let y=new MutationObserver(b);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",C),y.disconnect()}}},[n,i,f.paused]),s.useEffect(()=>{if(i){eE.add(f);let g=document.activeElement;if(!i.contains(g)){let C=new CustomEvent($h,Q8);i.addEventListener($h,d),i.dispatchEvent(C),C.defaultPrevented||(DR(FR(Ry(i)),{select:!0}),document.activeElement===g&&un(i))}return()=>{i.removeEventListener($h,d),setTimeout(()=>{let C=new CustomEvent(Oh,Q8);i.addEventListener(Oh,p),i.dispatchEvent(C),C.defaultPrevented||un(g??document.body,{select:!0}),i.removeEventListener(Oh,p),eE.remove(f)},0)}}},[i,d,p,f]);let v=s.useCallback(g=>{if(!r&&!n||f.paused)return;let C=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(C&&b){let y=g.currentTarget,[E,x]=SR(y);E&&x?!g.shiftKey&&b===x?(g.preventDefault(),r&&un(E,{select:!0})):g.shiftKey&&b===E&&(g.preventDefault(),r&&un(x,{select:!0})):b===y&&g.preventDefault()}},[r,n,f.paused]);return s.createElement(wo.div,oe({tabIndex:-1},l,{ref:h,onKeyDown:v}))});function DR(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(un(n,{select:t}),document.activeElement!==r)return}c(DR,"$d3863c46a17e8a28$var$focusFirst");function SR(e){let t=Ry(e),r=v5(t,e),n=v5(t.reverse(),e);return[r,n]}c(SR,"$d3863c46a17e8a28$var$getTabbableEdges");function Ry(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(Ry,"$d3863c46a17e8a28$var$getTabbableCandidates");function v5(e,t){for(let r of e)if(!kR(r,{upTo:t}))return r}c(v5,"$d3863c46a17e8a28$var$findVisible");function kR(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(kR,"$d3863c46a17e8a28$var$isHidden");function AR(e){return e instanceof HTMLInputElement&&"select"in e}c(AR,"$d3863c46a17e8a28$var$isSelectableInput");function un(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&AR(e)&&t&&e.select()}}c(un,"$d3863c46a17e8a28$var$focus");var eE=_R();function _R(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=y5(e,t),e.unshift(t)},remove(t){var r;e=y5(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(_R,"$d3863c46a17e8a28$var$createFocusScopesStack");function y5(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(y5,"$d3863c46a17e8a28$var$arrayRemove");function FR(e){return e.filter(t=>t.tagName!=="A")}c(FR,"$d3863c46a17e8a28$var$removeLinks");wr();var fW=s.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?lD.createPortal(s.createElement(wo.div,oe({},o,{ref:t})),n):null});function RR(e,t){return s.useReducer((r,n)=>t[r][n]??r,e)}c(RR,"$fe963b355347cc68$export$3e6543de14f8614f");var L1=c(e=>{let{present:t,children:r}=e,n=IR(t),o=typeof r=="function"?r({present:n.isPresent}):s.Children.only(r),a=ba(n.ref,o.ref);return typeof r=="function"||n.isPresent?s.cloneElement(o,{ref:a}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");L1.displayName="Presence";function IR(e){let[t,r]=s.useState(),n=s.useRef({}),o=s.useRef(e),a=s.useRef("none"),l=e?"mounted":"unmounted",[i,u]=RR(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{let d=ts(n.current);a.current=i==="mounted"?d:"none"},[i]),f5(()=>{let d=n.current,p=o.current;if(p!==e){let m=a.current,h=ts(d);e?u("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),f5(()=>{if(t){let d=c(m=>{let h=ts(n.current).includes(m.animationName);m.target===t&&h&&fu.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(m=>{m.target===t&&(a.current=ts(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:s.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(IR,"$921a889cee6df7e8$var$usePresence");function ts(e){return(e==null?void 0:e.animationName)||"none"}c(ts,"$921a889cee6df7e8$var$getAnimationName");var Mh=0;function zR(){s.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:w5()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:w5()),Mh++,()=>{Mh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Mh--}},[])}c(zR,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function w5(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(w5,"$3db38b7d1fb3fe6a$var$createFocusGuard");var $r=c(function(){return $r=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return wW;var t=bW(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),xW=WR(),Dd="data-scroll-locked",CW=c(function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return r===void 0&&(r="margin"),` - .`.concat(hW,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(i,"px ").concat(n,`; - } - body[`).concat(Dd,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(o,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(l,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(i,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(i0,` { - right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(s0,` { - margin-right: `).concat(i,"px ").concat(n,`; - } - - .`).concat(i0," .").concat(i0,` { - right: 0 `).concat(n,`; - } - - .`).concat(s0," .").concat(s0,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(Dd,`] { - `).concat(mW,": ").concat(i,`px; - } -`)},"getStyles"),DW=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n,a=s.useMemo(function(){return EW(o)},[o]);return s.useEffect(function(){return document.body.setAttribute(Dd,""),function(){document.body.removeAttribute(Dd)}},[]),s.createElement(xW,{styles:CW(a,!t,o,r?"":"!important")})},"RemoveScrollBar"),b5=!1;if(typeof window<"u")try{$i=Object.defineProperty({},"passive",{get:c(function(){return b5=!0,!0},"get")}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{b5=!1}var $i,Ia=b5?{}:!1,SW=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),qR=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!SW(e)&&r[t]==="visible")},"elementCanBeScrolled"),kW=c(function(e){return qR(e,"overflowY")},"elementCouldBeVScrolled"),AW=c(function(e){return qR(e,"overflowX")},"elementCouldBeHScrolled"),rE=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=GR(e,r);if(n){var o=KR(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),_W=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),FW=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),GR=c(function(e,t){return e==="v"?kW(t):AW(t)},"elementCouldBeScrolled"),KR=c(function(e,t){return e==="v"?_W(t):FW(t)},"getScrollVariables"),RW=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),IW=c(function(e,t,r,n,o){var a=RW(e,window.getComputedStyle(t).direction),l=a*n,i=r.target,u=t.contains(i),d=!1,p=l>0,m=0,h=0;do{var f=KR(e,i),v=f[0],g=f[1],C=f[2],b=g-C-a*v;(v||b)&&GR(e,i)&&(m+=b,h+=v),i=i.parentNode}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(p&&(o&&m===0||!o&&l>m)||!p&&(o&&h===0||!o&&-l>h))&&(d=!0),d},"handleScroll"),Dc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),nE=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),oE=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),zW=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),TW=c(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),BW=0,za=[];function YR(e){var t=s.useRef([]),r=s.useRef([0,0]),n=s.useRef(),o=s.useState(BW++)[0],a=s.useState(function(){return WR()})[0],l=s.useRef(e);s.useEffect(function(){l.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=TR([e.lockRef.current],(e.shards||[]).map(oE),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=s.useCallback(function(g,C){if("touches"in g&&g.touches.length===2)return!l.current.allowPinchZoom;var b=Dc(g),y=r.current,E="deltaX"in g?g.deltaX:y[0]-b[0],x="deltaY"in g?g.deltaY:y[1]-b[1],D,S=g.target,k=Math.abs(E)>Math.abs(x)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=rE(k,S);if(!A)return!0;if(A?D=k:(D=k==="v"?"h":"v",A=rE(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||x)&&(n.current=D),!D)return!0;var _=n.current||D;return IW(_,C,g,_==="h"?E:x,!0)},[]),u=s.useCallback(function(g){var C=g;if(!(!za.length||za[za.length-1]!==a)){var b="deltaY"in C?nE(C):Dc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&zW(D.delta,b)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var E=(l.current.shards||[]).map(oE).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=E.length>0?i(C,E[0]):!l.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=s.useCallback(function(g,C,b,y){var E={name:g,delta:C,target:b,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(x){return x!==E})},1)},[]),p=s.useCallback(function(g){r.current=Dc(g),n.current=void 0},[]),m=s.useCallback(function(g){d(g.type,nE(g),g.target,i(g,e.lockRef.current))},[]),h=s.useCallback(function(g){d(g.type,Dc(g),g.target,i(g,e.lockRef.current))},[]);s.useEffect(function(){return za.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Ia),document.addEventListener("touchmove",u,Ia),document.addEventListener("touchstart",p,Ia),function(){za=za.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,Ia),document.removeEventListener("touchmove",u,Ia),document.removeEventListener("touchstart",p,Ia)}},[]);var f=e.removeScrollBar,v=e.inert;return s.createElement(s.Fragment,null,v?s.createElement(a,{styles:TW(o)}):null,f?s.createElement(DW,{gapMode:"margin"}):null)}c(YR,"RemoveScrollSideCar");var LW=NR(HR,YR),ZR=s.forwardRef(function(e,t){return s.createElement($1,$r({},e,{ref:t,sideCar:LW}))});ZR.classNames=$1.classNames;var $W=ZR,OW=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Ta=new WeakMap,Sc=new WeakMap,kc={},Hh=0,XR=c(function(e){return e&&(e.host||XR(e.parentNode))},"unwrapHost"),MW=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=XR(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),PW=c(function(e,t,r,n){var o=MW(t,Array.isArray(e)?e:[e]);kc[r]||(kc[r]=new WeakMap);var a=kc[r],l=[],i=new Set,u=new Set(o),d=c(function(m){!m||i.has(m)||(i.add(m),d(m.parentNode))},"keep");o.forEach(d);var p=c(function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(h){if(i.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(Ta.get(h)||0)+1,C=(a.get(h)||0)+1;Ta.set(h,g),a.set(h,C),l.push(h),g===1&&v&&Sc.set(h,!0),C===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),i.clear(),Hh++,function(){l.forEach(function(m){var h=Ta.get(m)-1,f=a.get(m)-1;Ta.set(m,h),a.set(m,f),h||(Sc.has(m)||m.removeAttribute(n),Sc.delete(m)),f||m.removeAttribute(r)}),Hh--,Hh||(Ta=new WeakMap,Ta=new WeakMap,Sc=new WeakMap,kc={})}},"applyAttributeToOthers"),NW=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||OW(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),PW(n,o,r,"aria-hidden")):function(){return null}},"hideOthers");wr();var JR=s.forwardRef((e,t)=>{let{children:r,...n}=e,o=s.Children.toArray(r),a=o.find(QR);if(a){let l=a.props.children,i=o.map(u=>u===a?s.Children.count(l)>1?s.Children.only(null):s.isValidElement(l)?l.props.children:null:u);return s.createElement(E5,oe({},n,{ref:t}),s.isValidElement(l)?s.cloneElement(l,void 0,i):null)}return s.createElement(E5,oe({},n,{ref:t}),r)});JR.displayName="Slot";var E5=s.forwardRef((e,t)=>{let{children:r,...n}=e;return s.isValidElement(r)?s.cloneElement(r,{...eI(n,r.props),ref:t?B1(t,r.ref):r.ref}):s.Children.count(r)>1?s.Children.only(null):null});E5.displayName="SlotClone";var HW=c(({children:e})=>s.createElement(s.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function QR(e){return s.isValidElement(e)&&e.type===HW}c(QR,"$5e63c961fc1ce211$var$isSlottable");function eI(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{a(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}c(eI,"$5e63c961fc1ce211$var$mergeProps");var tI="Dialog",[rI,jW]=fR(tI),[VW,Er]=rI(tI),nI=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,i=s.useRef(null),u=s.useRef(null),[d=!1,p]=mR({prop:n,defaultProp:o,onChange:a});return s.createElement(VW,{scope:t,triggerRef:i,contentRef:u,contentId:l0(),titleId:l0(),descriptionId:l0(),open:d,onOpenChange:p,onOpenToggle:s.useCallback(()=>p(m=>!m),[p]),modal:l},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),UW="DialogTrigger",oI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(UW,r),a=ba(t,o.triggerRef);return s.createElement(wo.button,oe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":O1(o.open)},n,{ref:a,onClick:gn(e.onClick,o.onOpenToggle)}))}),aI="DialogPortal",[WW,lI]=rI(aI,{forceMount:void 0}),iI=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=Er(aI,t);return s.createElement(WW,{scope:t,forceMount:r},s.Children.map(n,l=>s.createElement(L1,{present:r||a.open},s.createElement(fW,{asChild:!0,container:o},l))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),x5="DialogOverlay",sI=s.forwardRef((e,t)=>{let r=lI(x5,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(x5,e.__scopeDialog);return a.modal?s.createElement(L1,{present:n||a.open},s.createElement(qW,oe({},o,{ref:t}))):null}),qW=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(x5,r);return s.createElement($W,{as:JR,allowPinchZoom:!0,shards:[o.contentRef]},s.createElement(wo.div,oe({"data-state":O1(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wl="DialogContent",uI=s.forwardRef((e,t)=>{let r=lI(Wl,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=Er(Wl,e.__scopeDialog);return s.createElement(L1,{present:n||a.open},a.modal?s.createElement(GW,oe({},o,{ref:t})):s.createElement(KW,oe({},o,{ref:t})))}),GW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(null),o=ba(t,r.contentRef,n);return s.useEffect(()=>{let a=n.current;if(a)return NW(a)},[]),s.createElement(cI,oe({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:gn(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),(l=r.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:gn(e.onPointerDownOutside,a=>{let l=a.detail.originalEvent,i=l.button===0&&l.ctrlKey===!0;(l.button===2||i)&&a.preventDefault()}),onFocusOutside:gn(e.onFocusOutside,a=>a.preventDefault())}))}),KW=s.forwardRef((e,t)=>{let r=Er(Wl,e.__scopeDialog),n=s.useRef(!1),o=s.useRef(!1);return s.createElement(cI,oe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(a=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,a),!a.defaultPrevented){var i;n.current||(i=r.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}n.current=!1,o.current=!1},"onCloseAutoFocus"),onInteractOutside:c(a=>{var l,i;(l=e.onInteractOutside)===null||l===void 0||l.call(e,a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let u=a.target;!((i=r.triggerRef.current)===null||i===void 0)&&i.contains(u)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()},"onInteractOutside")}))}),cI=s.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=e,i=Er(Wl,r),u=s.useRef(null),d=ba(t,u);return zR(),s.createElement(s.Fragment,null,s.createElement(pW,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a},s.createElement(dW,oe({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":O1(i.open)},l,{ref:d,onDismiss:c(()=>i.onOpenChange(!1),"onDismiss")}))),!1)}),dI="DialogTitle",pI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(dI,r);return s.createElement(wo.h2,oe({id:o.titleId},n,{ref:t}))}),YW="DialogDescription",fI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(YW,r);return s.createElement(wo.p,oe({id:o.descriptionId},n,{ref:t}))}),ZW="DialogClose",hI=s.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=Er(ZW,r);return s.createElement(wo.button,oe({type:"button"},n,{ref:t,onClick:gn(e.onClick,()=>o.onOpenChange(!1))}))});function O1(e){return e?"open":"closed"}c(O1,"$5d3850c4d0b4e6c7$var$getState");var XW="DialogTitleWarning",[JW,are]=pR(XW,{contentName:Wl,titleName:dI,docsSlug:"dialog"}),mI=nI,QW=oI,gI=iI,vI=sI,yI=uI,wI=pI,bI=fI,EI=hI,xI={};Ql(xI,{Actions:()=>sq,CloseButton:()=>kI,Col:()=>_I,Container:()=>SI,Content:()=>oq,Description:()=>iq,Error:()=>uq,ErrorWrapper:()=>FI,Header:()=>aq,Overlay:()=>DI,Row:()=>AI,Title:()=>lq});aS();const{deprecate:eq}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Ea=s.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:o="medium",disabled:a=!1,active:l=!1,onClick:i,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=W0);let m=n,h=r,[f,v]=s.useState(!1),g=c(C=>{i&&i(C),t!=="none"&&v(!0)},"handleClick");if(s.useEffect(()=>{let C=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(C)},[f]),u.primary&&(m="solid",h="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(m="outline",h="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let C=w.Children.toArray(u.children).filter(b=>typeof b=="string"&&b!=="");eq(`Use of deprecated props in the button ${C.length>0?`"${C.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return w.createElement(tq,{as:p,ref:d,variant:m,size:h,padding:o,disabled:a,active:l,animating:f,animation:t,onClick:g,...u})});Ea.displayName="Button";var tq=F("button",{shouldForwardProp:c(e=>Y5(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:o,animating:a,animation:l="none",padding:i})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:i==="small"&&r==="small"?"0 7px":i==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:o?Nt(.9,e.barTextColor):"transparent",color:o?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Nt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Nt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${eu(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?Nt(.86,e.color.secondary):e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?nl(.02,u):X8(.03,u)})()},"&:focus":{boxShadow:`${eu(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:a&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),Xo=s.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>w.createElement(Ea,{padding:e,variant:t,ref:n,...r}));Xo.displayName="IconButton";var CI=Cn({from:{opacity:0},to:{opacity:1}}),rq=Cn({from:{maxHeight:0},to:{}}),nq=Cn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),DI=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${CI} 200ms`}),SI=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${nq} 200ms`,"&:focus-visible":{outline:"none"}})),kI=c(e=>w.createElement(EI,{asChild:!0},w.createElement(Xo,{...e},w.createElement(sR,null))),"CloseButton"),oq=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),AI=F.div({display:"flex",justifyContent:"space-between",gap:16}),_I=F.div({display:"flex",flexDirection:"column",gap:4}),aq=c(e=>w.createElement(AI,null,w.createElement(_I,{...e}),w.createElement(kI,null)),"Header"),lq=F(wI)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),iq=F(bI)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),sq=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),FI=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${rq} 300ms, ${CI} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),uq=c(({children:e,...t})=>w.createElement(FI,{...t},w.createElement("div",null,e)),"Error");function RI({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:o=c(u=>u.preventDefault(),"onInteractOutside"),className:a,container:l,...i}){return w.createElement(mI,{...i},w.createElement(gI,{container:l},w.createElement(vI,{asChild:!0},w.createElement(DI,null)),w.createElement(yI,{asChild:!0,onInteractOutside:o,onEscapeKeyDown:n},w.createElement(SI,{className:a,width:t,height:r},e))))}c(RI,"BaseModal");var lre=Object.assign(RI,xI,{Dialog:cR}),cq=c(e=>typeof e=="number"?e:Number(e),"toNumber"),dq=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${om}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${om}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),ire=c(({col:e,row:t,outer:r,children:n,...o})=>{let a=cq(typeof r=="number"||!r?r:e||t);return w.createElement(dq,{col:e,row:t,outer:a,...o},n)},"Spaced"),pq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),fq=F.div(),hq=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),sre=c(({children:e,...t})=>{let[r,n]=s.Children.toArray(e);return w.createElement(hq,{...t},w.createElement(pq,null,r),n&&w.createElement(fq,null,n))},"Placeholder");pv();function II(e,t){var r=s.useRef(null),n=s.useRef(null);n.current=t;var o=s.useRef(null);s.useEffect(function(){a()});var a=s.useCallback(function(){var l=o.current,i=n.current,u=l||(i?i instanceof Element?i:i.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return s.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),s.useCallback(function(l){o.current=l,a()},[a])}c(II,"useResolvedElement");function C5(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(C5,"extractSize");function zy(e){e===void 0&&(e={});var t=e.onResize,r=s.useRef(void 0);r.current=t;var n=e.round||Math.round,o=s.useRef(),a=s.useState({width:void 0,height:void 0}),l=a[0],i=a[1],u=s.useRef(!1);s.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=s.useRef({width:void 0,height:void 0}),p=II(s.useCallback(function(m){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=C5(f,v,"inlineSize"),C=C5(f,v,"blockSize"),b=g?n(g):void 0,y=C?n(C):void 0;if(d.current.width!==b||d.current.height!==y){var E={width:b,height:y};d.current.width=b,d.current.height=y,r.current?r.current(E):u.current||i(E)}})}),o.current.instance.observe(m,{box:e.box}),function(){o.current&&o.current.instance.unobserve(m)}},[e.box,n]),e.ref);return s.useMemo(function(){return{ref:p,width:l.width,height:l.height}},[p,l.width,l.height])}c(zy,"useResizeObserver");var mq=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function zI({scale:e,children:t}){let r=s.useRef(null),[n,o]=s.useState(0),a=s.useCallback(({height:l})=>{l&&o(l/e)},[e]);return s.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),zy({ref:r,onResize:a}),w.createElement(mq,{scale:e,elementHeight:n},w.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(zI,"ZoomElement");var TI=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return w.createElement(w.Fragment,null,t)}};c(TI,"ZoomIFrame");var gq=TI,vq={Element:zI,IFrame:gq};tv();var{document:yq}=Qd,wq=F.strong(({theme:e})=>({color:e.color.orange})),bq=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),aE=F.em(({theme:e})=>({color:e.textMutedColor})),Eq=/(Error): (.*)\n/,xq=/at (?:(.*) )?\(?(.+)\)?/,Cq=/([^@]+)?(?:\/<)?@(.+)?/,Dq=/([^@]+)?@(.+)?/,Sq=c(({error:e})=>{if(!e)return w.createElement(s.Fragment,null,"This error has no stack or message");if(!e.stack)return w.createElement(s.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(Eq);if(!r)return w.createElement(s.Fragment,null,t);let[,n,o]=r,a=t.split(/\n/).slice(1),[,...l]=a.map(i=>{let u=i.match(xq)||i.match(Cq)||i.match(Dq);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(yq.location.origin,"")}:null}).filter(Boolean);return w.createElement(s.Fragment,null,w.createElement("span",null,n),": ",w.createElement(wq,null,o),w.createElement("br",null),l.map((i,u)=>i!=null&&i.name?w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(bq,null,i.name)," (",w.createElement(aE,null,i.location),")",w.createElement("br",null)):w.createElement(s.Fragment,{key:u}," ","at ",w.createElement(aE,null,i==null?void 0:i.location),w.createElement("br",null))))},"ErrorFormatter"),kq=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Aq=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),_q=c(({label:e,children:t,...r})=>w.createElement(kq,{...r},e?w.createElement(Aq,null,w.createElement("span",null,e)):null,t),"Field");wr();rv();var Fq=s.useLayoutEffect,Rq=Fq,Iq=c(function(e){var t=s.useRef(e);return Rq(function(){t.current=e}),t},"useLatest"),lE=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),zq=c(function(e,t){var r=s.useRef();return s.useCallback(function(n){e.current=n,r.current&&lE(r.current,null),r.current=t,t&&lE(t,n)},[t])},"useComposedRef"),Tq=zq,iE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Bq=c(function(e){Object.keys(iE).forEach(function(t){e.style.setProperty(t,iE[t],"important")})},"forceHiddenStyles"),sE=Bq,nt=null,uE=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function BI(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),nt||(nt=document.createElement("textarea"),nt.setAttribute("tabindex","-1"),nt.setAttribute("aria-hidden","true"),sE(nt)),nt.parentNode===null&&document.body.appendChild(nt);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,i=l.boxSizing;Object.keys(l).forEach(function(h){var f=h;nt.style[f]=l[f]}),sE(nt),nt.value=t;var u=uE(nt,e);nt.value=t,u=uE(nt,e),nt.value="x";var d=nt.scrollHeight-o,p=d*r;i==="border-box"&&(p=p+o+a),u=Math.max(p,u);var m=d*n;return i==="border-box"&&(m=m+o+a),u=Math.min(m,u),[u,d]}c(BI,"calculateNodeHeight");var cE=c(function(){},"noop"),Lq=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),$q=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Oq=!!document.documentElement.currentStyle,Mq=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Lq($q,t),n=r.boxSizing;if(n==="")return null;Oq&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var o=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:o,borderSize:a}},"getSizingData"),Pq=Mq;function Ty(e,t,r){var n=Iq(r);s.useLayoutEffect(function(){var o=c(function(a){return n.current(a)},"handler");if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}c(Ty,"useListener");var Nq=c(function(e){Ty(window,"resize",e)},"useWindowResizeListener"),Hq=c(function(e){Ty(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),jq=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Vq=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?cE:a,i=e.onHeightChange,u=i===void 0?cE:i,d=t1(e,jq),p=d.value!==void 0,m=s.useRef(null),h=Tq(m,t),f=s.useRef(0),v=s.useRef(),g=c(function(){var b=m.current,y=r&&v.current?v.current:Pq(b);if(y){v.current=y;var E=BI(y,b.value||b.placeholder||"x",o,n),x=E[0],D=E[1];f.current!==x&&(f.current=x,b.style.setProperty("height",x+"px","important"),u(x,{rowHeight:D}))}},"resizeTextarea"),C=c(function(b){p||g(),l(b)},"handleChange");return s.useLayoutEffect(g),Nq(g),Hq(g),s.createElement("textarea",oe({},d,{onChange:C,ref:h}))},"TextareaAutosize"),Uq=s.forwardRef(Vq),Wq={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},By=c(({theme:e})=>({...Wq,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Ly=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),LI=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),$y=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),qq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("input",{...n,ref:o})},"Input")))(By,Ly,LI,$y,{minHeight:32}),{displayName:"Input"}),Gq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement("select",{...n,ref:o})},"Select")))(By,Ly,$y,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Kq=Object.assign(F(s.forwardRef(c(function({size:e,valid:t,align:r,...n},o){return w.createElement(Uq,{...n,ref:o})},"Textarea")))(By,Ly,LI,$y,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),zu=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:_q,Input:qq,Select:Gq,Textarea:Kq,Button:Ea}),Yq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltip}))),cre=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Yq,{...e})),"WithTooltip"),Zq=s.lazy(()=>Promise.resolve().then(()=>(xy(),Ey)).then(e=>({default:e.WithTooltipPure}))),Xq=c(e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(Zq,{...e})),"WithTooltipPure"),Jq=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Qq=F.span(),eG=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),tG=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),rG=F.div({padding:15,width:280,boxSizing:"border-box"}),dre=c(({title:e,desc:t,links:r})=>w.createElement(rG,null,w.createElement(tG,null,e&&w.createElement(Jq,null,e),t&&w.createElement(Qq,null,t)),r&&w.createElement(eG,null,r.map(({title:n,...o})=>w.createElement(bl,{...o,key:n},n)))),"TooltipMessage"),nG=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),pre=c(({note:e,...t})=>w.createElement(nG,{...t},e),"TooltipNote"),oG=We(e1(),1),aG=F(({active:e,loading:t,disabled:r,...n})=>w.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Nt(.7,t.color.defaultText)}:{}),lG=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),iG=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),sG=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),uG=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),cG=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),dG=(0,oG.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),pG=c(({loading:e=!1,title:t=w.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:o=!1,disabled:a=!1,isIndented:l,href:i=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...m})=>{let h={active:o,disabled:a},f=dG(u,i,p);return w.createElement(cG,{...m,...h,...f},w.createElement(w.Fragment,null,d&&w.createElement(uG,{...h},d),t||r?w.createElement(iG,{isIndented:!!(!d&&l)},t&&w.createElement(aG,{...h,loading:e},t),r&&w.createElement(sG,{...h},r)):null,n&&w.createElement(lG,{...h},n)))},"ListItem"),fG=pG,hG=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),mG=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:o,title:a,href:l}=r,i=s.useCallback(u=>t==null?void 0:t(u,{id:e,active:n,disabled:o,title:a,href:l}),[t,e,n,o,a,l]);return w.createElement(fG,{id:`list-item-${e}`,...r,...t&&{onClick:i}})},"Item"),gG=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(o=>o.icon);return w.createElement(hG,{...r},e.map(o=>w.createElement(mG,{key:o.id,isIndented:n,LinkWrapper:t,...o})))},"TooltipLinkList");pv();var D5=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});D5.displayName="Side";var vG=c(({children:e,className:t,scrollable:r})=>r?w.createElement(G0,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),"UnstyledBar"),$I=F(vG)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});$I.displayName="Bar";var yG=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Oy=c(({children:e,backgroundColor:t,className:r,...n})=>{let[o,a]=s.Children.toArray(e);return w.createElement($I,{className:`sb-bar ${r}`,...n},w.createElement(yG,{bgColor:t},w.createElement(D5,{scrollable:n.scrollable,left:!0},o),a?w.createElement(D5,{right:!0},a):null))},"FlexBar");Oy.displayName="FlexBar";var wG=c(e=>typeof e.props.href=="string","isLink"),bG=c(e=>typeof e.props.href!="string","isButton");function OI({children:e,...t},r){let n={props:t,ref:r};if(wG(n))return w.createElement("a",{ref:n.ref,...n.props},e);if(bG(n))return w.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(OI,"ForwardRefFunction");var MI=s.forwardRef(OI);MI.displayName="ButtonOrLink";var M1=F(MI,{shouldForwardProp:Y5})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});M1.displayName="TabButton";var EG=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),xG=F.div(()=>({marginTop:6,padding:7,height:28})),fre=c(()=>w.createElement(xG,null,w.createElement(EG,null)),"IconButtonSkeleton"),CG=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),DG=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),SG=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),kG=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),PI=c(({title:e,description:t,footer:r})=>w.createElement(CG,null,w.createElement(DG,null,w.createElement(SG,null,e),t&&w.createElement(kG,null,t)),r),"EmptyTabContent"),NI=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),AG=c(e=>s.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let a=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof a=="function"?a:({active:l})=>w.createElement(NI,{active:l,role:"tabpanel"},a)}}),"childrenToList");xy();var _G=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),FG=F(M1)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function HI(e){let t=s.useRef(),r=s.useRef(),n=s.useRef(new Map),{width:o=1}=zy({ref:t}),[a,l]=s.useState(e),[i,u]=s.useState([]),d=s.useRef(e),p=s.useCallback(({menuName:h,actions:f})=>{let v=i.some(({active:b})=>b),[g,C]=s.useState(!1);return w.createElement(w.Fragment,null,w.createElement(Ed,{interactive:!0,visible:g,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(gG,{links:i.map(({title:b,id:y,color:E,active:x})=>({id:y,title:b,color:E,active:x,onClick:c(D=>{D.preventDefault(),f.onSelect(y)},"onClick")}))})},w.createElement(FG,{ref:r,active:v,preActive:g,style:{visibility:i.length?"visible":"hidden"},"aria-hidden":!i.length,className:"tabbutton",type:"button",role:"tab"},h,w.createElement(_G,{className:"addon-collapsible-icon",isActive:v||g}))),i.map(({title:b,id:y,color:E},x)=>{let D=`index-${x}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:E,role:"tab"},b)}))},[i]),m=s.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=i.length?h+f-v:h+f,C=[],b=0,y=e.filter(E=>{let{id:x}=E,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=h+b+S>g;return(!k||!D)&&C.push(E),b+=S,k});(C.length!==a.length||d.current!==e)&&(l(C),u(y),d.current=e)},[i.length,e,a]);return s.useLayoutEffect(m,[m,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:a,invisibleList:i,AddonTab:p}}c(HI,"useList");var RG="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",IG=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),jI=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});jI.displayName="TabBar";var zG=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${RG}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),hre=c(({active:e,render:t,children:r})=>w.createElement(NI,{active:e},t?t():r),"TabWrapper"),VI=s.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:o=!1,tools:a=null,backgroundColor:l,id:i=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let m=s.useMemo(()=>AG(e).map((b,y)=>({...b,active:t?b.id===t:y===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=HI(m),C=d??w.createElement(PI,{title:"Nothing found"});return!p&&m.length===0?C:w.createElement(IG,{absolute:n,bordered:o,id:i},w.createElement(Oy,{scrollable:!1,border:!0,backgroundColor:l},w.createElement(jI,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:b,id:y,active:E,color:x},D)=>{let S=`index-${D}`;return w.createElement(M1,{id:`tabbutton-${ZE(y)??S}`,ref:k=>{v.current.set(y,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:y,active:E,textColor:x,onClick:k=>{k.preventDefault(),r.onSelect(y)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(g,{menuName:u,actions:r})),a),w.createElement(zG,{id:"panel-tab-content",bordered:o,absolute:n},m.length?m.map(({id:b,active:y,render:E})=>w.createElement(E,{key:b,active:y},null)):C))});VI.displayName="Tabs";var S5=class extends s.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:o,menuName:a}=this.props,{selected:l}=this.state;return w.createElement(VI,{bordered:t,absolute:r,selected:l,backgroundColor:o,menuName:a,actions:this.handlers},n)}};c(S5,"TabsState"),S5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var TG=S5,UI=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});UI.displayName="Separator";var gre=c(e=>e.reduce((t,r,n)=>r?w.createElement(s.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?w.createElement(UI,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),BG=c(e=>{let t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),LG=c((e,t)=>{let r=BG(t);return e?t:r},"useUpdate"),vre=c(({active:e,children:t})=>w.createElement("div",{hidden:!e},LG(e,t)),"AddonPanel");const{deprecate:$G,logger:OG}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var MG=lR,PG=F.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,yre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||$G(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=k5[e]||null;if(!o)return OG.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let a=MG[o];return w.createElement(a,{...n})},"Icons"),wre=s.memo(c(function({icons:e=Object.keys(k5)}){return w.createElement(PG,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},k5[t])))},"Symbols")),k5={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},bre=c(({alt:e,...t})=>w.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?w.createElement("title",null,e):null,w.createElement("defs",null,w.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),w.createElement("mask",{id:"b",fill:"#fff"},w.createElement("use",{xlinkHref:"#a"})),w.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),w.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),Ere=c(e=>w.createElement("svg",{viewBox:"0 0 64 64",...e},w.createElement("title",null,"Storybook icon"),w.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),w.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),w.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),NG=Cn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,HG=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${NG} 0.7s linear infinite`,mixBlendMode:"difference"})),dE=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),jG=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Nt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),VG=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),pE=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),UG=F(iR)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),WG=Cn` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,qG=F.span({"&::after":{content:"'...'",animation:`${WG} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GG=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(dE,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(UG,null),w.createElement(pE,null,t.message));if(e){let{value:o,modules:a}=e,{message:l}=e;return a&&(l+=` ${a.complete} / ${a.total} modules`),w.createElement(dE,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":l,role:"progressbar",...n},w.createElement(jG,null,w.createElement(VG,{style:{width:`${o*100}%`}})),w.createElement(pE,null,l,o<1&&w.createElement(qG,{key:l})))}return w.createElement(HG,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function WI(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),a=o?{...WI(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(a).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref"),YG=F.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${K.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Mr.fonts.mono}; - font-size: ${Mr.size.s2-1}px; -`,xre=c(({code:e,...t})=>w.createElement(YG,{id:"clipboard-code",...t},e),"ClipboardCode"),ZG=aR,XG={};Object.keys(aR).forEach(e=>{XG[e]=s.forwardRef((t,r)=>s.createElement(e,{...t,ref:r}))});var JG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),QG=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),eK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),tK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),rK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),s.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),nK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),A5=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Cre=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),oK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),aK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),s.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),iK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),sK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),uK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),qI=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),cK=s.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>s.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},s.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:dK,once:pK,logger:My}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:fE,composeConfigs:Dre,Preview:Sre,DocsContext:kre}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:hE,UPDATE_STORY_ARGS:fK,RESET_STORY_ARGS:hK,GLOBALS_UPDATED:mE,NAVIGATE_URL:mK}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:Are}=__STORYBOOK_MODULE_CHANNELS__;var GI=ua({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function l(d,p){if(!o[d]){if(!n[d]){var m=typeof Ou=="function"&&Ou;if(!p&&m)return m(d,!0);if(i)return i(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return l(g||v)},f,f.exports,r,n,o,a)}return o[d].exports}for(var i=typeof Ou=="function"&&Ou,u=0;u=0)return this.lastItem=this.list[i],this.list[i].val},a.prototype.set=function(l,i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=i,this):(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],this.list[u].val=i,this):(this.lastItem={key:l,val:i},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(l){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),i=this.indexOf(l),i>=0)return this.size--,this.list.splice(i,1)[0]},a.prototype.has=function(l){var i;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(i=this.indexOf(l),i>=0?(this.lastItem=this.list[i],!0):!1)},a.prototype.forEach=function(l,i){var u;for(u=0;u0&&(y[b]={cacheItem:v,arg:arguments[b]},E?l(m,y):m.push(y),m.length>d&&i(m.shift())),f.wasMemoized=E,f.numArgs=b+1,C};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function l(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),gK=ua({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),vK=ua({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,l,i=!0,u=" ";function d(x,D){var S=D.appendChild(m(x));if(x.children.length){var k=h(x.isCollapsed);x.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(x,D){var S=!1,k=h(S);if(D.forEach(function(A){d(A,k)}),l=x||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),D.length===0?l:l.appendChild(k)}function m(x){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute("href",r.basePath+"#"+x.id),S.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function h(x){var D=r.orderedList?"ol":"ul",S=document.createElement(D),k=r.listClass+u+r.extraListClasses;return x&&(k=k+u+r.collapsibleClass,k=k+u+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||a.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=v(x.offsetParent))),D}function g(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var S=x,k;if(i&&l!==null&&S.length>0){o.call(S,function(N,M){if(v(N)>D+r.headingsOffset+10){var j=M===0?M:M-1;return k=S[j],!0}else if(M===S.length-1)return k=S[S.length-1],!0});var A=l.querySelector("."+r.activeLinkClass),_=l.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=l.querySelectorAll("."+r.linkClass);n.call(R,function(N){g(N,N.className.replace(u+r.activeLinkClass,""))});var z=l.querySelectorAll("."+r.listItemClass);n.call(z,function(N){g(N,N.className.replace(u+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=u+r.activeLinkClass);var L=_&&_.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var $=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call($,function(N){N.className.indexOf(r.isCollapsedClass)===-1&&(N.className+=u+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(u+r.isCollapsedClass,"")),b(_&&_.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(g(x,x.className.replace(u+r.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function y(x){var D=x.target||x.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(i=!1)}function E(){i=!0}return{enableTocAnimation:E,disableTocAnimation:y,render:p,updateToc:C}}}}),yK=ua({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(m){return m[m.length-1]}function a(m){return+m.nodeName.toUpperCase().replace("H","")}function l(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function i(m){if(!l(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:a(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function u(m,h){for(var f=i(m),v=f.headingLevel,g=h,C=o(g),b=C?C.headingLevel:0,y=v-b;y>0&&(C=o(g),!(C&&v===C.headingLevel));)C&&C.children!==void 0&&(g=C.children),y--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=i(f);return v&&u(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wK=ua({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),bK=ua({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,l=location.hash?d(location.href):location.href;i();function i(){document.body.addEventListener("click",m,!1);function m(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:a,callback:function(){p(h.target.hash)}})}}function u(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===l||d(m.href)+"#"===l)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var a=window.pageYOffset,l={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||v},i=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?l.offset+(n?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(u):l.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,l.easing(m,a,u,d)),m"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var y={},E=0;E1?o-1:0),l=1;l=0&&o<1?(i=a,u=l):o>=1&&o<2?(i=l,u=a):o>=2&&o<3?(u=a,d=l):o>=3&&o<4?(u=l,d=a):o>=4&&o<5?(i=l,d=a):o>=5&&o<6&&(i=a,d=l);var p=r-a/2,m=i+p,h=u+p,f=d+p;return n(m,h,f)}var gE={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function FK(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gE[t]?"#"+gE[t]:e}var RK=/^#[a-fA-F0-9]{6}$/,IK=/^#[a-fA-F0-9]{8}$/,zK=/^#[a-fA-F0-9]{3}$/,TK=/^#[a-fA-F0-9]{4}$/,Vh=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BK=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LK=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$K=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P1(e){if(typeof e!="string")throw new Nr(3);var t=FK(e);if(t.match(RK))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IK)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(zK))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(TK)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Vh.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=BK.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var l=LK.exec(t);if(l){var i=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+ru(i,u,d)+")",m=Vh.exec(p);if(!m)throw new Nr(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=$K.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,C="rgb("+ru(f,v,g)+")",b=Vh.exec(C);if(!b)throw new Nr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Nr(5)}function OK(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),l=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var i,u=o-a,d=l>.5?u/(2-o-a):u/(o+a);switch(o){case t:i=(r-n)/u+(r=1?Sd(e,t,r):"rgba("+ru(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sd(e.hue,e.saturation,e.lightness):"rgba("+ru(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nr(2)}function I5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R5("#"+To(e)+To(t)+To(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R5("#"+To(e.red)+To(e.green)+To(e.blue));throw new Nr(6)}function dn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P1(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?I5(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?I5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nr(7)}var jK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},VK=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},UK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},WK=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ZI(e){if(typeof e!="object")throw new Nr(8);if(VK(e))return dn(e);if(jK(e))return I5(e);if(WK(e))return HK(e);if(UK(e))return NK(e);throw new Nr(8)}function XI(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):XI(e,t,n)}}function N1(e){return XI(e,e.length,[])}function H1(e,t,r){return Math.max(e,Math.min(t,r))}function qK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness-parseFloat(e))}))}var GK=N1(qK),Tr=GK;function KK(e,t){if(t==="transparent")return t;var r=YI(t);return ZI(ql({},r,{lightness:H1(0,1,r.lightness+parseFloat(e))}))}var YK=N1(KK),Bo=YK;function ZK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,(n*100+parseFloat(e)*100)/100)});return dn(o)}var XK=N1(ZK),Ac=XK;function JK(e,t){if(t==="transparent")return t;var r=P1(t),n=typeof r.alpha=="number"?r.alpha:1,o=ql({},r,{alpha:H1(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dn(o)}var QK=N1(JK),he=QK,eY=F.div(Ee,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:he(.3,e.color.defaultText),fontSize:e.typography.size.s2})),JI=e=>w.createElement(eY,{...e,className:"docblock-emptyblock sb-unstyled"}),tY=F(_y)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),rY=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),_c=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${om}`]:{margin:0}})),nY=()=>w.createElement(rY,null,w.createElement(_c,null),w.createElement(_c,{style:{width:"80%"}}),w.createElement(_c,{style:{width:"30%"}}),w.createElement(_c,{style:{width:"80%"}})),Py=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...l})=>{let{typography:i}=Lx();if(e)return w.createElement(nY,null);if(t)return w.createElement(JI,null,t);let u=w.createElement(tY,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof o>"u")return u;let d=o?rm.dark:rm.light;return w.createElement($x,{theme:nm({...d,fontCode:i.fonts.mono,fontBase:i.fonts.base})},u)},Fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ny=600,oY=F.h1(Ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),aY=F.h2(Ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ny}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:he(.25,e.color.defaultText)})),lY=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?he(.1,e.color.defaultText):he(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Fe("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Fe("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Fe("div")]:t,[Fe("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Fe("img")]:{maxWidth:"100%"},[Fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Fe("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Fe("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Fe("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),iY=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ny}px)`]:{}})),sY=({children:e,toc:t})=>w.createElement(iY,{className:"sbdocs sbdocs-wrapper"},w.createElement(lY,{className:"sbdocs sbdocs-content"},e),t),j1=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:uY}=globalThis,cY=class extends s.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=uY.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:o,...a}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...a})}},QI=s.createContext({scale:1}),{PREVIEW_URL:dY}=globalThis,pY=dY||"iframe.html",z5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fY=e=>{let t=s.useRef(),[r,n]=s.useState(!0),[o,a]=s.useState(),{story:l,height:i,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return s.useEffect(()=>{if(!(l&&t.current))return()=>{};let m=t.current,h=p(l,m,{showMain:()=>{},showError:({title:f,description:v})=>a(new Error(`${f} - ${v}`)),showException:f=>a(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[u,p,l]),o?w.createElement("pre",null,w.createElement(Sq,{error:o})):w.createElement(w.Fragment,null,i?w.createElement("style",null,`#${z5(e)} { min-height: ${i}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(ez,null),w.createElement("div",{ref:t,id:`${z5(e)}-inner`,"data-name":l.name}))},hY=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(QI.Consumer,null,({scale:r})=>w.createElement(cY,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:KG(pY,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),mY=F.strong(({theme:e})=>({color:e.color.orange})),gY=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(mY,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:z5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(fY,{...e}):w.createElement(hY,{...e}))},ez=()=>w.createElement(GG,null),vY=F(Oy)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),yY=F.div({display:"flex",alignItems:"center",gap:4}),wY=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),bY=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>w.createElement(vY,{...a},w.createElement(yY,{key:"left"},e?[1,2,3].map(l=>w.createElement(wY,{key:l})):w.createElement(w.Fragment,null,w.createElement(Xo,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(JG,null)),w.createElement(Xo,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(QG,null)),w.createElement(Xo,{key:"zoomreset",onClick:l=>{l.preventDefault(),o()},title:"Reset zoom"},w.createElement(eK,null))))),EY=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vE=F(Py)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Tr(.05,e.background.content)}})),xY=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...j1(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),CY=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(vE,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function DY(e){if(s.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var SY=F(bY)({position:"absolute",top:0,left:0,right:0,height:40}),kY=F.div({overflow:"hidden",position:"relative"}),tz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:l=!1,additionalActions:i,className:u,layout:d="padded",...p})=>{let[m,h]=s.useState(l),{source:f,actionItem:v}=CY(o,m,h),[g,C]=s.useState(1),b=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=o?[v]:[],[E,x]=s.useState(i?[...i]:[]),D=[...y,...E],{window:S}=globalThis,k=s.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await KE(()=>import("./index-Ceb60MiE.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),E.filter(z=>z.title==="Copied").length===0&&k(f.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(z=>z.title!=="Copied")),1500)}))};return w.createElement(xY,{withSource:o,withToolbar:a,...p,className:b.join(" ")},a&&w.createElement(SY,{isLoading:e,border:!0,zoom:_=>C(g*_),resetZoom:()=>C(1),storyId:DY(n),baseUrl:"./iframe.html"}),w.createElement(QI.Provider,{value:{scale:g}},w.createElement(kY,{className:"docs-story",onCopyCapture:o&&A},w.createElement(EY,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(vq.Element,{scale:g},Array.isArray(n)?n.map((_,R)=>w.createElement("div",{key:R},_)):w.createElement("div",null,n))),w.createElement(cv,{actionItems:D}))),o&&m&&f)};F(tz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),EE={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},_Y=["style","script"],FY=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,RY=/mailto:/i,IY=/\n{2,}$/,rz=/^(\s*>[\s\S]*?)(?=\n{2,})/,zY=/^ *> ?/gm,TY=/^ {2,}\n/,BY=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,nz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,oz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,LY=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,$Y=/^(?:\n *)*\n/,OY=/\r\n?/g,MY=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,PY=/^\[\^([^\]]+)]/,NY=/\f/g,HY=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,jY=/^\s*?\[(x|\s)\]/,az=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,lz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,iz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,VY=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,sz=/^)/,UY=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,WY=/^\{.*\}$/,qY=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,GY=/^<([^ >]+@[^ >]+)>/,KY=/^<([^ >]+:\/[^ >]+)>/,YY=/-([a-z])?/gi,uz=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,ZY=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XY=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,JY=/^\[([^\]]*)\] ?\[([^\]]*)\]/,QY=/(\[|\])/g,eZ=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tZ=/\t/g,rZ=/^ *\| */,nZ=/(^ *\||\| *$)/g,oZ=/ *$/,aZ=/^ *:-+: *$/,lZ=/^ *:-+ *$/,iZ=/^ *-+: *$/,V1="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",sZ=new RegExp(`^([*_])\\1${V1}\\1\\1(?!\\1)`),uZ=new RegExp(`^([*_])${V1}\\1(?!\\1|\\w)`),cZ=new RegExp(`^==${V1}==`),dZ=new RegExp(`^~~${V1}~~`),pZ=/^\\([^0-9A-Za-z\s])/,fZ=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hZ=/^\n+/,mZ=/^([ \t]*)/,gZ=/\\([^\\])/g,xE=/ *\n+$/,vZ=/(?:^|\n)( *)$/,Hy="(?:\\d+\\.)",jy="(?:[*+-])";function cz(e){return"( *)("+(e===1?Hy:jy)+") +"}var dz=cz(1),pz=cz(2);function fz(e){return new RegExp("^"+(e===1?dz:pz))}var yZ=fz(1),wZ=fz(2);function hz(e){return new RegExp("^"+(e===1?dz:pz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Hy:jy)+" )[^\\n]*)*(\\n|$)","gm")}var mz=hz(1),gz=hz(2);function vz(e){let t=e===1?Hy:jy;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yz=vz(1),wz=vz(2);function CE(e,t){let r=t===1,n=r?yz:wz,o=r?mz:gz,a=r?yZ:wZ;return{match(l,i,u){let d=vZ.exec(u);return d&&(i.list||!i.inline&&!i.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,i,u){let d=r?+l[2]:void 0,p=l[0].replace(IY,` -`).match(o),m=!1;return{items:p.map(function(h,f){let v=a.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=h.replace(g,"").replace(a,""),b=f===p.length-1,y=C.indexOf(` - -`)!==-1||b&&m;m=y;let E=u.inline,x=u.list,D;u.list=!0,y?(u.inline=!1,D=C.replace(xE,` - -`)):(u.inline=!0,D=C.replace(xE,""));let S=i(D,u);return u.inline=E,u.list=x,S}),ordered:r,start:d}},render:(l,i,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(d,p){return e("li",{key:p},i(d,u))}))}}var bZ=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),EZ=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bz=[rz,nz,oz,az,iz,lz,sz,uz,mz,yz,gz,wz],xZ=[...bz,/^[^\n]+(?: \n|\n{2,})/,T5,B5];function CZ(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 DZ(e){return iZ.test(e)?"right":aZ.test(e)?"center":lZ.test(e)?"left":null}function DE(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(l,i){l.type==="26"?i!==0&&i!==o.length-1&&a.push([]):(l.type!=="27"||o[i+1]!=null&&o[i+1].type!=="26"||(l.text=l.text.replace(oZ,"")),a[a.length-1].push(l))}),a}function SZ(e,t,r){r.inline=!0;let n=DE(e[1],t,r),o=e[2].replace(nZ,"").split("|").map(DZ),a=function(l,i,u){return l.trim().split(` -`).map(function(d){return DE(d,i,u)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function SE(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Fn(e){return function(t,r){return r.inline?e.exec(t):null}}function Rn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function an(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Oi(e){return function(t){return e.exec(t)}}function kZ(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(a=>!bz.some(l=>l.test(a))&&(n+=a+` -`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Ba(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 kE(e){return e.replace(gZ,"$1")}function c0(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function AZ(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function _Z(e,t,r){return r.inline=!1,e(t,r)}var Wh=(e,t,r)=>({children:c0(t,e[1],r)});function qh(){return{}}function Gh(){return null}function FZ(...e){return e.filter(Boolean).join(" ")}function Kh(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function RZ(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||CZ,t.namedCodesToUnicode=t.namedCodesToUnicode?$o({},EE,t.namedCodesToUnicode):EE;let r=t.createElement||s.createElement;function n(f,v,...g){let C=Kh(t.overrides,`${f}.props`,{});return r(function(b,y){let E=Kh(y,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Kh(y,`${b}.component`,b):b}(f,t.overrides),$o({},v,C,{className:FZ(v==null?void 0:v.className,C.className)||void 0}),...g)}function o(f){f=f.replace(HY,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=eZ.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(hZ,"")} - -`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let C=t.wrapper||(v?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return s.createElement(C,{key:"outer"},b)}function a(f){let v=f.match(FY);return v?v.reduce(function(g,C,b){let y=C.indexOf("=");if(y!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(UY)===null&&(k=k.replace(YY,function(A,_){return _.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(C.slice(y+1).trim()),D=bE[E]||E,S=g[D]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,R){let z=R.slice(0,R.indexOf(":"));return _[z.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=R.slice(z.length+1).trim(),_},{}):k==="href"||k==="src"?Ba(A):(A.match(WY)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,x);typeof S=="string"&&(T5.test(S)||B5.test(S))&&(g[D]=s.cloneElement(o(S.trim()),{key:b}))}else C!=="style"&&(g[bE[C]||C]=!0);return g},{}):null}let l=[],i={},u={0:{match:an(rz),order:1,parse:(f,v,g)=>({children:v(f[0].replace(zY,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:Oi(TY),order:1,parse:qh,render:(f,v,g)=>n("br",{key:g.key})},2:{match:an(BY),order:1,parse:qh,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:an(oz),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",$o({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:an(nz),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Rn(LY),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:an(MY),order:0,parse:f=>(l.push({footnote:f[2],identifier:f[1]}),{}),render:Gh},7:{match:Fn(PY),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target)},n("sup",{key:g.key},f.text))},8:{match:Fn(jY),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:an(t.enforceAtxHeadings?lz:az),order:1,parse:(f,v,g)=>({children:c0(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:an(iz),order:0,parse:(f,v,g)=>({children:c0(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Oi(T5),order:1,parse(f,v,g){let[,C]=f[3].match(mZ),b=new RegExp(`^${C}`,"gm"),y=f[3].replace(b,""),E=(x=y,xZ.some(A=>A.test(x))?_Z:c0);var x;let D=f[1].toLowerCase(),S=_Y.indexOf(D)!==-1,k={attrs:a(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?k.text=f[3]:k.children=E(v,y,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,$o({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:Oi(B5),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,$o({},f.attrs,{key:g.key}))},12:{match:Oi(sz),order:1,parse:()=>({}),render:Gh},14:{match:Rn(EZ),order:1,parse:f=>({alt:f[1],target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Ba(f.target)})},15:{match:Fn(bZ),order:3,parse:(f,v,g)=>({children:AZ(v,f[1],g),target:kE(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Ba(f.target),title:f.title},v(f.children,g))},16:{match:Fn(KY),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:Fn(qY)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Fn(GY),order:0,parse(f){let v=f[1],g=f[1];return RY.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:CE(n,1),33:CE(n,2),19:{match:an($Y),order:3,parse:qh,render:()=>` -`},21:{match:kZ,order:3,parse:Wh,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:Fn(ZY),order:0,parse:f=>(i[f[1]]={target:f[2],title:f[4]},{}),render:Gh},23:{match:Rn(XY),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("img",{key:g.key,alt:f.alt,src:Ba(i[f.ref].target),title:i[f.ref].title}):null},24:{match:Fn(JY),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(QY,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>i[f.ref]?n("a",{key:g.key,href:Ba(i[f.ref].target),title:i[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:an(uz),order:1,parse:SZ,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(C,b){return n("th",{key:b,style:SE(f,b)},v(C,g))}))),n("tbody",null,f.cells.map(function(C,b){return n("tr",{key:b},C.map(function(y,E){return n("td",{key:E,style:SE(f,E)},v(y,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,rZ.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Oi(fZ),order:4,parse:f=>({text:f[0].replace(VY,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Rn(sZ),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Rn(uZ),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Rn(pZ),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Rn(cZ),order:3,parse:Wh,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Rn(dZ),order:3,parse:Wh,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);let d=function(f){let v=Object.keys(f);function g(C,b){let y=[],E="";for(;C;){let x=0;for(;xy(g,C,b),g,C,b):y(g,C,b)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let C=g.key,b=[],y=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var l,i,u={},d=Object.keys(o);for(i=0;i=0||(u[l]=o[l]);return u}(e,AY);return s.cloneElement(RZ(t,r),n)},IZ=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:he(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ac(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ac(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ac(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ac(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),zZ=e=>e==="true",TZ=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{var p;let l=s.useCallback(()=>r(!1),[r]),i=!!((p=a==null?void 0:a.table)!=null&&p.readonly);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:l,disabled:i},"Set boolean");let u=yr(e),d=typeof t=="string"?zZ(t):t;return w.createElement(IZ,{"aria-disabled":i,htmlFor:u,"aria-label":e},w.createElement("input",{id:u,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:i,name:e,onBlur:n,onFocus:o}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},BZ=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},LZ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},$Z=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},OZ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},AE=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),MZ=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),PZ=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{var v;let[l,i]=s.useState(!0),u=s.useRef(),d=s.useRef(),p=!!((v=a==null?void 0:a.table)!=null&&v.readonly);s.useEffect(()=>{l!==!1&&(u&&u.current&&(u.current.value=t?$Z(t):""),d&&d.current&&(d.current.value=t?OZ(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let C=BZ(g.target.value),b=new Date(t);b.setFullYear(C.getFullYear(),C.getMonth(),C.getDate());let y=b.getTime();y&&r(y),i(!!y)},h=g=>{if(!g.target.value)return r();let C=LZ(g.target.value),b=new Date(t);b.setHours(C.getHours()),b.setMinutes(C.getMinutes());let y=b.getTime();y&&r(y),i(!!y)},f=yr(e);return w.createElement(MZ,null,w.createElement(AE,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:o}),w.createElement(AE,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:o}),l?null:w.createElement("div",null,"invalid"))},NZ=F.label({display:"flex"}),HZ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},jZ=F(zu.Input)(({readOnly:e})=>({opacity:e?.5:1})),VZ=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:l,onFocus:i,argType:u})=>{var E;let[d,p]=s.useState(typeof t=="number"?t:""),[m,h]=s.useState(!1),[f,v]=s.useState(null),g=!!((E=u==null?void 0:u.table)!=null&&E.readonly),C=s.useCallback(x=>{p(x.target.value);let D=parseFloat(x.target.value);Number.isNaN(D)?v(new Error(`'${x.target.value}' is not a number`)):(r(D),v(null))},[r,v]),b=s.useCallback(()=>{p("0"),r(0),h(!0)},[h]),y=s.useRef(null);return s.useEffect(()=>{m&&y.current&&y.current.select()},[m]),s.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?w.createElement(Ea,{variant:"outline",size:"medium",id:Ad(e),onClick:b,disabled:g},"Set number"):w.createElement(NZ,null,w.createElement(jZ,{ref:y,id:yr(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:o,step:a,onFocus:i,onBlur:l}))},xz=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},L5=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Cz=(e,t)=>e&&t&&e.map(r=>t[r]),UZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),WZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),qZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_E=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var h;if(!t)return My.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=L5(r,t),[i,u]=s.useState(l),d=!!((h=a==null?void 0:a.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...i];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(Cz(g,t)),u(g)};s.useEffect(()=>{u(L5(r,t))},[r]);let m=yr(e);return w.createElement(UZ,{"aria-readonly":d,isInline:o},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return w.createElement(qZ,{key:g,htmlFor:g},w.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:i==null?void 0:i.includes(f)}),w.createElement(WZ,null,f))}))},GZ=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),KZ=F.span({"[aria-readonly=true] &":{opacity:.5}}),YZ=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),FE=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{var d;if(!t)return My.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=xz(r,t),i=yr(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(GZ,{"aria-readonly":u,isInline:o},Object.keys(t).map((p,m)=>{let h=`${i}-${m}`;return w.createElement(YZ,{key:h,htmlFor:h},w.createElement("input",{type:"radio",id:h,name:i,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===l}),w.createElement(KZ,null,p))}))},ZZ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Dz=F.select(ZZ,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Sz=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),RE="Choose option...",XZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{n(r[p.currentTarget.value])},l=xz(t,r)||RE,i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(qI,null),w.createElement(Dz,{disabled:u,id:i,value:l,onChange:a},w.createElement("option",{key:"no-selection",disabled:!0},RE),Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},JZ=({name:e,value:t,options:r,onChange:n,argType:o})=>{var d;let a=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Cz(m,r))},l=L5(t,r),i=yr(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(Sz,null,w.createElement(Dz,{disabled:u,id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(p=>w.createElement("option",{key:p,value:p},p))))},IE=e=>{let{name:t,options:r}=e;return r?e.isMulti?w.createElement(JZ,{...e}):w.createElement(XZ,{...e}):(My.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},QZ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,eX={check:_E,"inline-check":_E,radio:FE,"inline-radio":FE,select:IE,"multi-select":IE},La=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?QZ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=eX[t];if(a)return w.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},tX="Error",rX="Object",nX="Array",oX="String",aX="Number",lX="Boolean",iX="Date",sX="Null",uX="Undefined",cX="Function",dX="Symbol",kz="ADD_DELTA_TYPE",Az="REMOVE_DELTA_TYPE",_z="UPDATE_DELTA_TYPE",Vy="value",pX="key";function Wo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function Fz(e,t){let r=Wo(e),n=Wo(t);return(r==="Function"||n==="Function")&&n!==r}var Uy=class extends s.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:l}=this.state,i={};if(!t){if(!a.value)return;i.key=a.value}i.newValue=r(!1,n,o,i.key,l.value),e(i)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:l}=this.props,i=s.cloneElement(r,{onClick:this.onSubmit}),u=s.cloneElement(n,{onClick:e}),d=o(Vy,a,l),p=s.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=o(pX,a,l);m=s.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},m,p,u,i)}};Uy.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var Rz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(r[r.length-1],l),u({type:kz,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:l,dataType:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=l(e,t,r,n,i),m=a(e,t,r,n,i),h=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:R,ul:z,addForm:L}=p(e,t,r,n,m),$=d(e,t,r,n,m),N=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!o&&N,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},t.map((j,q)=>w.createElement(U1,{key:q,name:q.toString(),data:j,keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveItem(q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}))),!$&&o&&w.createElement("div",{className:"rejt-add-form",style:L},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!$&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=l(e,r,n,o,a);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};Rz.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Iz=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=null,b=null,y=i(e,l,n,o,u);if(r&&!y){let E=h(Vy,v,o,e,l,u),x=s.cloneElement(p,{onClick:this.handleEdit}),D=s.cloneElement(m,{onClick:this.handleCancelEdit}),S=s.cloneElement(E,{ref:this.refInput,defaultValue:l});C=w.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,x),b=null}else{C=w.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let E=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});b=y?null:E}return w.createElement("li",{className:"rejt-function-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),C,b)}};Iz.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var U1=class extends s.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:l,onUpdate:i,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S}=this.props,k=()=>!0,A=Wo(e);switch(A){case tX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case rX:return w.createElement($5,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case nX:return w.createElement(Rz,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:i,onDeltaUpdate:u,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case oX:return w.createElement(zn,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case aX:return w.createElement(zn,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case lX:return w.createElement(zn,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case iX:return w.createElement(zn,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case sX:return w.createElement(zn,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case uX:return w.createElement(zn,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case cX:return w.createElement(Iz,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case dX:return w.createElement(zn,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:l,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});default:return null}}};U1.defaultProps={keyPath:[],deep:0};var $5=class extends s.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:l}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:u}=this.props;i(n[n.length-1],r),u({type:kz,keyPath:n,deep:o,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,l=n[e];t(e,o,a,l).then(()=>{let i={keyPath:o,deep:a,key:e,oldValue:l,type:Az};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(o[o.length-1],n),d(i)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:l,nextDeep:i}=this.state,u=a[e];o(e,l,i,u,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],a),p({type:_z,keyPath:l,deep:i,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:l,getStyle:i,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,n,t,r,l),m=Object.getOwnPropertyNames(n),h=a(e,n,t,r,l),f=s.cloneElement(u,{onClick:o,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:l,handleRemove:i,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:R,ul:z,delimiter:L}=p(e,t,r,n,m),$=Object.getOwnPropertyNames(t),N=d(e,t,r,n,m),M=s.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),j=s.cloneElement(b,{onClick:i,className:"rejt-minus-menu",style:A}),q=$.map(B=>w.createElement(U1,{key:B,name:B,data:t[B],keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveValue(B),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!N&&M,w.createElement("ul",{className:"rejt-not-collapsed-list",style:z},q),!N&&a&&w.createElement("div",{className:"rejt-add-form",style:R},w.createElement(Uy,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!N&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:l}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,l);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),i)}};$5.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var zn=class extends s.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:l,dataType:i}=this.props,u=l(r,n,o,a,i);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:l,deep:i}=this.state;if(!a)return;let u=n(!0,o,i,l,a.value);e({value:u,key:l}).then(()=>{Fz(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:l,readOnly:i,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,l,n,o,u),C=i(e,l,n,o,u),b=r&&!C,y=h(Vy,v,o,e,l,u),E=s.cloneElement(p,{onClick:this.handleEdit}),x=s.cloneElement(m,{onClick:this.handleCancelEdit}),D=s.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(l)}),S=s.cloneElement(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return w.createElement("li",{className:"rejt-value-node",style:g.li},w.createElement("span",{className:"rejt-name",style:g.name},e," : "),b?w.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",x,E):w.createElement("span",{className:"rejt-value",style:g.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&S)}};zn.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};function fX(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var hX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mX={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},gX={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},zz=class extends s.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b,fallback:y=null}=this.props,E=Wo(e),x=o;Wo(o)==="Boolean"&&(x=()=>o);let D=d;d&&Wo(d)!=="Function"&&(D=()=>d);let S=p;return p&&Wo(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(U1,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:a,addButtonElement:l,cancelButtonElement:i,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:C,onSubmitValueParser:b})):y}};zz.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return hX;case"Array":return mX;default:return gX}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>fX(o),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:vX}=globalThis,yX=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yh=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),wX=F(oK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),bX=F(aK)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),zE=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),EX=F(Xo)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),xX=F(zu.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),CX={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},DX=e=>{e.currentTarget.dispatchEvent(new vX.KeyboardEvent("keydown",CX))},SX=e=>{e.currentTarget.select()},kX=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),TE=({name:e,value:t,onChange:r,argType:n})=>{var E;let o=Lx(),a=s.useMemo(()=>t&&MT(t),[t]),l=a!=null,[i,u]=s.useState(!l),[d,p]=s.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=s.useCallback(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=s.useState(!1),g=s.useCallback(()=>{r({}),v(!0)},[v]),C=s.useRef(null);if(s.useEffect(()=>{f&&C.current&&C.current.select()},[f]),!l)return w.createElement(Ea,{disabled:m,id:Ad(e),onClick:g},"Set object");let b=w.createElement(xX,{ref:C,id:yr(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>h(x.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),y=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(yX,{"aria-readonly":m},y&&w.createElement(EX,{onClick:x=>{x.preventDefault(),u(D=>!D)}},i?w.createElement(rK,null):w.createElement(tK,null),w.createElement("span",null,"RAW")),i?b:w.createElement(zz,{readOnly:m||!y,isCollapsed:y?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:kX(o),cancelButtonElement:w.createElement(Yh,{type:"button"},"Cancel"),editButtonElement:w.createElement(Yh,{type:"submit"},"Save"),addButtonElement:w.createElement(Yh,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(wX,null),minusMenuElement:w.createElement(bX,null),inputElement:(x,D,S,k)=>k?w.createElement(zE,{onFocus:SX,onBlur:DX}):w.createElement(zE,null),fallback:b}))},AX=F.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:dn(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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${dn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Tr(.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}%, - ${Tr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Tr(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Bo(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Bo(.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 ${dn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Tz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),_X=F(Tz)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),FX=F.div({display:"flex",alignItems:"center",width:"100%"});function RX(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 IX=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:l,onFocus:i,argType:u})=>{var f;let d=v=>{r(HZ(v.target.value))},p=t!==void 0,m=s.useMemo(()=>RX(a),[a]),h=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return w.createElement(FX,{"aria-readonly":h},w.createElement(Tz,null,n),w.createElement(AX,{id:yr(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:o,step:a,onFocus:i,onBlur:l}),w.createElement(_X,{numberOFDecimalsPlaces:m,max:o},p?t.toFixed(m):"--"," / ",o))},zX=F.label({display:"flex"}),TX=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BX=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:l})=>{var f;let i=v=>{r(v.target.value)},u=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=s.useState(!1),m=s.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Ea,{variant:"outline",size:"medium",disabled:u,id:Ad(e),onClick:m},"Set string");let h=typeof t=="string";return w.createElement(zX,null,w.createElement(zu.Textarea,{id:yr(e),maxLength:a,onChange:i,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&w.createElement(TX,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},LX=F(zu.Input)({padding:10});function $X(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var OX=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{var u;let a=s.useRef(null),l=(u=o==null?void 0:o.control)==null?void 0:u.readOnly;function i(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),$X(n)}return s.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),w.createElement(LX,{ref:a,id:yr(t),type:"file",name:t,multiple:!0,disabled:l,onChange:i,accept:r,size:"flex"})},MX=s.lazy(()=>KE(()=>import("./Color-F6OSRLHC-DND2Drzf.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)),PX=e=>w.createElement(s.Suspense,{fallback:w.createElement("div",null)},w.createElement(MX,{...e})),NX={array:TE,object:TE,boolean:TZ,color:PX,date:PZ,number:VZ,check:La,"inline-check":La,radio:La,"inline-radio":La,select:La,"multi-select":La,range:IX,text:BX,file:OX},BE=()=>w.createElement(w.Fragment,null,"-"),HX=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:o,control:a}=e,[l,i]=s.useState(!1),[u,d]=s.useState({value:t});s.useEffect(()=>{l||d({value:t})},[l,t]);let p=s.useCallback(C=>(d({value:C}),r({[o]:C}),C),[r,o]),m=s.useCallback(()=>i(!1),[]),h=s.useCallback(()=>i(!0),[]);if(!a||a.disable){let C=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(BE,null)}let f={name:o,argType:e,value:u.value,onChange:p,onBlur:m,onFocus:h},v=NX[a.type]||BE;return w.createElement(v,{...f,...a,controlType:a.type})},jX=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:yo({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),VX=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:w.createElement(w.Fragment,null,w.createElement(jX,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>w.createElement("tr",{key:a.name},w.createElement("td",null,w.createElement("code",null,a.name)),w.createElement("td",null,a.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},UX=W5(GI()),O5=8,LE=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),WX=F.span(yo,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),qX=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),GX=F.div(yo,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),KX=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),YX=F(uK)({marginLeft:4}),ZX=F(qI)({marginLeft:4}),XX=()=>w.createElement("span",null,"-"),Bz=({text:e,simple:t})=>w.createElement(WX,{simple:t},e),JX=(0,UX.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),QX=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return RT(t)},$E=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,O5)),r.map(n=>w.createElement(Bz,{key:n,text:n===""?'""':n}))},eJ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=s.useState(!1),[l,i]=s.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return w.createElement(Bz,{text:u});let d=QX(u),p=d.length;return p>O5?w.createElement(LE,{isExpanded:l},$E(d,l),w.createElement(qX,{onClick:()=>i(!l)},l?"Show less...":`Show ${p-O5} more...`)):w.createElement(LE,null,$E(d))}return w.createElement(Xq,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:d=>{a(d)},tooltip:w.createElement(KX,{width:JX(n)},w.createElement(_y,{language:"jsx",format:!1},n))},w.createElement(GX,{className:"sbdocs-expandable"},w.createElement("span",null,u),o?w.createElement(YX,null):w.createElement(ZX,null)))},Zh=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(XX,null):w.createElement(eJ,{value:e,initialExpandedArgs:t}),tJ=F.span({fontWeight:"bold"}),rJ=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nJ=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...yo({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),oJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?4:0})),aJ=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?he(.1,e.color.defaultText):he(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),lJ=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),iJ=e=>e&&{summary:typeof e=="string"?e:e.name},Fc=e=>{var g;let[t,r]=s.useState(!1),{row:n,updateArgs:o,compact:a,expandable:l,initialExpandedArgs:i}=e,{name:u,description:d}=n,p=n.table||{},m=p.type||iJ(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(lJ,{expandable:l},w.createElement(tJ,null,u),f?w.createElement(rJ,{title:"Required"},"*"):null),a?null:w.createElement("td",null,v&&w.createElement(nJ,null,w.createElement(Ez,null,d)),p.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(aJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i})),w.createElement(VX,{tags:p.jsDocTags})):w.createElement(oJ,{hasDescription:v},w.createElement(Zh,{value:m,initialExpandedArgs:i}))),a?null:w.createElement("td",null,w.createElement(Zh,{value:h,initialExpandedArgs:i})),o?w.createElement("td",null,w.createElement(HX,{...e,isHovered:t})):null)},sJ=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),uJ=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),cJ=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),dJ=({inAddonPanel:e})=>{let[t,r]=s.useState(!0);return s.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(sJ,{inAddonPanel:e},w.createElement(PI,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:w.createElement(uJ,null,e&&w.createElement(w.Fragment,null,w.createElement(bl,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(nK,null)," Watch 5m video"),w.createElement(cJ,null),w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read docs")),!e&&w.createElement(bl,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(A5,null)," Learn how to set that up"))}))},pJ=F(iK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),fJ=F(sK)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?he(.25,e.color.defaultText):he(.3,e.color.defaultText),border:"none",display:"inline-block"})),hJ=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),mJ=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),gJ=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),vJ=F.td(()=>({position:"relative"})),yJ=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Bo(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OE=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xh=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,l]=s.useState(n),i=e==="subsection"?gJ:mJ,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(yJ,{title:p},w.createElement(i,{colSpan:1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:0},p),w.createElement(hJ,null,a?w.createElement(pJ,null):w.createElement(fJ,null),t)),w.createElement(vJ,{colSpan:o-1},w.createElement(OE,{onClick:m=>l(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:d)),a?r:null)},Rc=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Xe=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Je=[2,4,2,2],wJ=()=>w.createElement(w.Fragment,null,w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"}))),w.createElement(Rc,null,w.createElement(Xe,{numColumn:Je[0]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(Xe,{numColumn:Je[2]},w.createElement(Re,{width:"60%"})),w.createElement(Xe,{numColumn:Je[3]},w.createElement(Re,{width:"60%"})))),bJ=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?he(.25,e.color.defaultText):he(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),EJ=F(Xo)(({theme:e})=>({margin:"-4px -12px -4px 0"})),xJ=F.span({display:"flex",justifyContent:"space-between"}),CJ={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},DJ=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,l])=>{let{category:i,subcategory:u}=(l==null?void 0:l.table)||{};if(i){let d=r.sections[i]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:a,...l});else{let p=d.subsections[u]||[];p.push({key:a,...l}),d.subsections[u]=p}r.sections[i]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:a,...l}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:a,...l})});let n=CJ[t],o=a=>n?Object.keys(a).reduce((l,i)=>({...l,[i]:a[i].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,l)=>({...a,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:o(r.sections[l].subsections)}}),{})}},SJ=(e,t,r)=>{try{return tT(e,t,r)}catch(n){return pK.warn(n.message),!1}},M5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:l="none",isLoading:i}=e;if("error"in e){let{error:y}=e;return w.createElement(JI,null,y," ",w.createElement(bl,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(A5,null)," Read the docs"))}if(i)return w.createElement(wJ,null);let{rows:u,args:d,globals:p}="rows"in e&&e,m=DJ(IT(u||{},y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&SJ(y,d||{},p||{})}),l),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return w.createElement(dJ,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let C=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return w.createElement(Ay,null,w.createElement(bJ,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(xJ,null,"Control"," ",!i&&r&&w.createElement(EJ,{onClick:()=>r(),title:"Reset controls"},w.createElement(cK,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>w.createElement(Fc,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"subsection",colSpan:g},E.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(m.sections).map(([y,E])=>w.createElement(Xh,{key:y,label:y,level:"section",colSpan:g},E.ungrouped.map(x=>w.createElement(Fc,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Xh,{key:x,label:x,level:"subsection",colSpan:g},D.map(S=>w.createElement(Fc,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},kJ=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(M5,{...r[0][1],...t}):w.createElement(TG,null,r.map((n,o)=>{let[a,l]=n,i=`prop_table_div_${a}`,u="div",d=o===0?t:{sort:t.sort};return w.createElement(u,{key:i,id:i,title:a},({active:p})=>p?w.createElement(M5,{key:`prop_table_${a}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(Ee,({theme:e})=>({...j1(e),margin:"25px 0 40px",padding:"30px 20px"}));var AJ=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_J=F.div(({theme:e})=>({color:e.base==="light"?he(.2,e.color.defaultText):he(.6,e.color.defaultText)})),FJ=F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),RJ=F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),ME=F.div({display:"flex",flexDirection:"row"}),IJ=F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),PE=F.div(({theme:e})=>({...j1(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),NE=F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zJ=F.div({flex:1,display:"flex",flexDirection:"row"}),TJ=F.div({display:"flex",alignItems:"flex-start"}),BJ=F.div({flex:"0 0 30%"}),LJ=F.div({flex:1}),$J=F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?he(.4,e.color.defaultText):he(.6,e.color.defaultText)})),OJ=F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function HE(e,t){return w.createElement(IJ,{key:`${e}-${t}`,title:e,background:e})}function jE(e,t,r){return w.createElement(RJ,{key:`${e}-${t}`,title:e},w.createElement("div",null,e,r&&w.createElement("span",null,r)))}function MJ(e){if(Array.isArray(e))return w.createElement(NE,null,w.createElement(PE,null,e.map((n,o)=>HE(n,o))),w.createElement(ME,null,e.map((n,o)=>jE(n,o))));let t=[],r=[];for(let n in e){let o=e[n];t.push(HE(o,t.length)),r.push(jE(n,r.length,o))}return w.createElement(NE,null,w.createElement(PE,null,t),w.createElement(ME,null,r))}var _re=({title:e,subtitle:t,colors:r})=>w.createElement(TJ,null,w.createElement(FJ,null,w.createElement(AJ,null,e),w.createElement(_J,null,t)),w.createElement(zJ,null,MJ(r))),Fre=({children:e,...t})=>w.createElement(Ay,null,w.createElement(OJ,{...t,className:"docblock-colorpalette sb-unstyled"},w.createElement($J,null,w.createElement(BJ,null,"Name"),w.createElement(LJ,null,"Swatches")),e));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...j1(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var PJ=e=>`anchor--${e}`,Lz=({storyId:e,children:t})=>w.createElement("div",{id:PJ(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=s.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Gt=globalThis?globalThis.__DOCS_CONTEXT__:s.createContext(null),xa=(e,t)=>s.useContext(Gt).resolveOf(e,t),NJ=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),HJ=e=>{if(e)return typeof e=="string"?e.includes("-")?NJ(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jJ(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var VJ=Object.create,$z=Object.defineProperty,UJ=Object.getOwnPropertyDescriptor,Oz=Object.getOwnPropertyNames,WJ=Object.getPrototypeOf,qJ=Object.prototype.hasOwnProperty,Kt=(e,t)=>function(){return t||(0,e[Oz(e)[0]])((t={exports:{}}).exports,t),t.exports},GJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Oz(t))!qJ.call(e,o)&&o!==r&&$z(e,o,{get:()=>t[o],enumerable:!(n=UJ(t,o))||n.enumerable});return e},Wy=(e,t,r)=>(r=e!=null?VJ(WJ(e)):{},GJ(!e||!e.__esModule?$z(r,"default",{value:e,enumerable:!0}):r,e)),KJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YJ=["detail"];function ZJ(e){let t=KJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&YJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var XJ=W5(GI(),1),Mz=Kt({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(r,n);if(i.value!==a||i.enumerable!==!0)return!1}return!0}}}),Pz=Kt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Mz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),JJ=Kt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(l){var i=this;if(typeof i!="function"||o.call(i)!==a)throw new TypeError(r+i);for(var u=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=i.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return i.apply(l,u.concat(n.call(arguments)))},m=Math.max(0,i.length-u.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L($){var N;if($==="%AsyncFunction%")N=l("async function () {}");else if($==="%GeneratorFunction%")N=l("function* () {}");else if($==="%AsyncGeneratorFunction%")N=l("async function* () {}");else if($==="%AsyncGenerator%"){var M=L("%AsyncGeneratorFunction%");M&&(N=M.prototype)}else if($==="%AsyncIteratorPrototype%"){var j=L("%AsyncGenerator%");j&&(N=m(j.prototype))}return v[$]=N,N},C={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=qy(),y=QJ(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(L){var $=S(L,0,1),N=S(L,-1);if($==="%"&&N!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(N==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(L,A,function(j,q,B,P){M[M.length]=B?D(P,_,"$1"):q||j}),M},z=function(L,$){var N=L,M;if(y(C,N)&&(M=C[N],N="%"+M[0]+"%"),y(v,N)){var j=v[N];if(j===h&&(j=g(N)),typeof j>"u"&&!$)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:M,name:N,value:j}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,$){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new a('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var N=R(L),M=N.length>0?N[0]:"",j=z("%"+M+"%",$),q=j.name,B=j.value,P=!1,H=j.alias;H&&(M=H[0],x(N,E([0,1],H)));for(var G=1,Z=!0;G=N.length){var X=i(B,Q);Z=!!X,Z&&"get"in X&&!("originalValue"in X.get)?B=X.get:B=B[Q]}else Z=y(B,Q),B=B[Q];Z&&!P&&(v[q]=B)}}return B}}}),eQ=Kt({"node_modules/call-bind/index.js"(e,t){var r=qy(),n=Nz(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(a,o),i=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var h=l(r,a,arguments);if(i&&u){var f=i(h,"length");f.configurable&&u(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return l(r,o,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),tQ=Kt({"node_modules/call-bind/callBound.js"(e,t){var r=Nz(),n=eQ(),o=n(r("String.prototype.indexOf"));t.exports=function(a,l){var i=r(a,!!l);return typeof i=="function"&&o(a,".prototype.")>-1?n(i):i}}}),rQ=Kt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Mz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),nQ=Kt({"node_modules/is-regex/index.js"(e,t){var r=tQ(),n=rQ()(),o,a,l,i;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),l={},u=function(){throw l},i={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&o(f,"value");if(!v)return!1;try{a(h,i)}catch(g){return g===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),oQ=Kt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),aQ=Kt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Pz()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,l=function(i){return typeof i.valueOf()!="symbol"?!1:a.test(o.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return l(i)}catch{return!1}}):t.exports=function(i){return!1};var o,a,l}}),lQ=Wy(nQ()),iQ=Wy(oQ()),sQ=Wy(aQ());function uQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var cQ=typeof global=="object"&&global&&global.Object===Object&&global,dQ=cQ,pQ=typeof self=="object"&&self&&self.Object===Object&&self,fQ=dQ||pQ||Function("return this")(),Gy=fQ,hQ=Gy.Symbol,Gl=hQ,Hz=Object.prototype,mQ=Hz.hasOwnProperty,gQ=Hz.toString,Mi=Gl?Gl.toStringTag:void 0;function vQ(e){var t=mQ.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var o=gQ.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),o}var yQ=vQ,wQ=Object.prototype,bQ=wQ.toString;function EQ(e){return bQ.call(e)}var xQ=EQ,CQ="[object Null]",DQ="[object Undefined]",VE=Gl?Gl.toStringTag:void 0;function SQ(e){return e==null?e===void 0?DQ:CQ:VE&&VE in Object(e)?yQ(e):xQ(e)}var kQ=SQ,UE=Gl?Gl.prototype:void 0;UE&&UE.toString;function AQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jz=AQ,_Q="[object AsyncFunction]",FQ="[object Function]",RQ="[object GeneratorFunction]",IQ="[object Proxy]";function zQ(e){if(!jz(e))return!1;var t=kQ(e);return t==FQ||t==RQ||t==_Q||t==IQ}var TQ=zQ,BQ=Gy["__core-js_shared__"],Jh=BQ,WE=function(){var e=/[^.]+$/.exec(Jh&&Jh.keys&&Jh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LQ(e){return!!WE&&WE in e}var $Q=LQ,OQ=Function.prototype,MQ=OQ.toString;function PQ(e){if(e!=null){try{return MQ.call(e)}catch{}try{return e+""}catch{}}return""}var NQ=PQ,HQ=/[\\^$.*+?()[\]{}|]/g,jQ=/^\[object .+?Constructor\]$/,VQ=Function.prototype,UQ=Object.prototype,WQ=VQ.toString,qQ=UQ.hasOwnProperty,GQ=RegExp("^"+WQ.call(qQ).replace(HQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function KQ(e){if(!jz(e)||$Q(e))return!1;var t=TQ(e)?GQ:jQ;return t.test(NQ(e))}var YQ=KQ;function ZQ(e,t){return e==null?void 0:e[t]}var XQ=ZQ;function JQ(e,t){var r=XQ(e,t);return YQ(r)?r:void 0}var Vz=JQ;function QQ(e,t){return e===t||e!==e&&t!==t}var eee=QQ,tee=Vz(Object,"create"),nu=tee;function ree(){this.__data__=nu?nu(null):{},this.size=0}var nee=ree;function oee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aee=oee,lee="__lodash_hash_undefined__",iee=Object.prototype,see=iee.hasOwnProperty;function uee(e){var t=this.__data__;if(nu){var r=t[e];return r===lee?void 0:r}return see.call(t,e)?t[e]:void 0}var cee=uee,dee=Object.prototype,pee=dee.hasOwnProperty;function fee(e){var t=this.__data__;return nu?t[e]!==void 0:pee.call(t,e)}var hee=fee,mee="__lodash_hash_undefined__";function gee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nu&&t===void 0?mee:t,this}var vee=gee;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var _ee=Aee;function Fee(e,t){var r=this.__data__,n=W1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Ree=Fee;function ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;ltte(e).replace(/\n\s*/g,"").trim()),nte=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},ote=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Wz(e){if(!ete(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=ZJ(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var ate=function(e){let t,r,n,o;return function(a,l){try{if(a==="")return o=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let i=r.get(this)||this;for(;n.length&&i!==n[0];)n.shift(),o.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return ote.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,lQ.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,iQ.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${rte(nte(a,p))}`}if((0,sQ.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(o)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let u=t.get(l);if(!u){let d=Array.isArray(l)?l:Wz(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return o.push(a),n.unshift(d),t.set(l,JSON.stringify(o)),l!==d&&r.set(l,d),d}return`_duplicate_${u}`}catch{return}}},lte={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ite=(e,t={})=>{let r={...lte,...t};return JSON.stringify(Wz(e),ate(r),t.space)};function qz(e){return ite(e,{allowFunction:!1})}var Yy=s.createContext({sources:{}}),Gz="--unknown--",ste=({children:e,channel:t})=>{let[r,n]=s.useState({});return s.useEffect(()=>{let o=(a,l=null,i=!1)=>{let{id:u,args:d=void 0,source:p,format:m}=typeof a=="string"?{id:a,source:l,format:i}:a,h=d?qz(d):Gz;n(f=>({...f,[u]:{...f[u],[h]:{code:p,format:m}}}))};return t.on(r4,o),()=>t.off(r4,o)},[]),w.createElement(Yy.Provider,{value:{sources:r}},e)},ute=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[qz(t)])||(o==null?void 0:o[Gz])||{code:""}},cte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:o}=t.parameters,a=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||a.type||Y1.AUTO;if(a.code!==void 0)return a.code;let i=l===Y1.DYNAMIC||l===Y1.AUTO&&e&&o?e:a.originalSource||"";return((d=n??a.transform)==null?void 0:d(i,t))||i},Kz=(e,t,r)=>{var f,v,g,C;let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let a=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:l}=e,i=e.format??a.format,u=e.language??a.language??"jsx",d=e.dark??a.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:i,language:u,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=ute(n.id,m,r);return i=h.format??((C=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:C.format)??!1,{code:cte({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:i,language:u,dark:d}},Rre=e=>{let t=s.useContext(Yy),r=s.useContext(Gt),n=Kz(e,r,t);return w.createElement(Py,{...n})};function dte(e,t){let r=pte([e],t);return r&&r[0]}function pte(e,t){let[r,n]=s.useState({});return s.useEffect(()=>{Promise.all(e.map(async o=>{let a=await t.loadStory(o);n(l=>l[o]===a?l:{...l,[o]:a})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}var fte=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},hte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,a=o.story||{};if(o.disable)return null;if(e.inline??a.inline??!1){let i=e.height??a.height,u=e.autoplay??a.autoplay??!1;return{story:t,inline:!0,height:i,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??a.height??a.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},mte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=s.useContext(Gt),r=fte(e,t),n=dte(r,t);if(!n)return w.createElement(ez,null);let o=hte(e,n,t);return o?w.createElement(gY,{...o}):null},gte=e=>{var h,f,v,g,C,b,y,E,x,D;let t=s.useContext(Gt),r=s.useContext(Yy),{of:n,source:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:a}=xa(n||"story",["story"]),l=Kz({...o,...n&&{of:n}},t,r),i=e.layout??a.parameters.layout??((f=(h=a.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=a.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((b=(C=a.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),p=e.sourceState??((E=(y=a.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((D=(x=a.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(tz,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:m,layout:i},w.createElement(mte,{of:n||a.moduleExport,meta:e.meta,...e.story}))},vte=(e,t)=>{let r=yte(e,t);if(!r)throw new Error("No result when story was defined");return r},yte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,a]=s.useState(r.args);s.useEffect(()=>{let u=d=>{d.storyId===n&&a(d.args)};return t.channel.on(hE,u),()=>t.channel.off(hE,u)},[n,t.channel]);let l=s.useCallback(u=>t.channel.emit(fK,{storyId:n,updatedArgs:u}),[n,t.channel]),i=s.useCallback(u=>t.channel.emit(hK,{storyId:n,argNames:u}),[n,t.channel]);return e&&[o,l,i]},wte=(e,t)=>{let r=t.getStoryContext(e),[n,o]=s.useState(r.globals);return s.useEffect(()=>{let a=l=>{o(l.globals)};return t.channel.on(mE,a),()=>t.channel.off(mE,a)},[t.channel]),[n]};function bte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Ete=e=>{var x;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=s.useContext(Gt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:a,component:l,subcomponents:i}=n,u=((x=o.docs)==null?void 0:x.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,m=e.sort??u.sort,[h,f,v]=vte(n,r),[g]=wte(n,r),C=fE(a,d,p);if(!(i&&Object.keys(i).length>0))return Object.keys(C).length>0||Object.keys(h).length>0?w.createElement(M5,{rows:C,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let b=HJ(l),y=Object.fromEntries(Object.entries(i).map(([D,S])=>[D,{rows:fE(bte(S,o),d,p),sort:m}])),E={[b]:{rows:C,sort:m},...y};return w.createElement(kJ,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Yz}=globalThis,xte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(rR,null,t);let n=e&&e.split("-");return w.createElement(Py,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Zy(e,t){e.channel.emit(mK,t)}var P5=ZG.a,Cte=({hash:e,children:t})=>{let r=s.useContext(Gt);return w.createElement(P5,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);Yz.getElementById(o)&&Zy(r,e)}},t)},Dte=e=>{let{href:t,target:r,children:n,...o}=e,a=s.useContext(Gt);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(P5,{...e}):t.startsWith("#")?w.createElement(Cte,{hash:t},n):w.createElement(P5,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Zy(a,l.currentTarget.getAttribute("href")))},target:r,...o},n)},Zz=["h1","h2","h3","h4","h5","h6"],Ste=Zz.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),kte=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Ate=({as:e,id:t,children:r,...n})=>{let o=s.useContext(Gt),a=Ste[e],l=`#${t}`;return w.createElement(a,{id:t,...n},w.createElement(kte,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:i=>{Yz.getElementById(t)&&Zy(o,l)}},w.createElement(lK,null)),r)},Xy=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return w.createElement(Ate,{as:t,id:r,...o},n);let a=t,{as:l,...i}=e;return w.createElement(a,{...ge(i,t)})},_te=Zz.reduce((e,t)=>({...e,[t]:r=>w.createElement(Xy,{as:t,...r})}),{}),Fte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(rT`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: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return w.createElement(Ez,{...e,options:{forceBlock:!0,overrides:{code:xte,a:Dte,..._te,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Rte=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Rte||{}),Ite=e=>{var t,r,n,o,a,l,i,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((o=(n=d.docs)==null?void 0:n.description)==null?void 0:o.component)||((l=(a=d.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(i=p.docs)==null?void 0:i.extractComponentDescription)==null?void 0:u.call(i,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},N5=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=xa(t||"meta"),n=Ite(r);return n?w.createElement(Fte,null,n):null},GE=W5(EK()),zte=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Tte=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",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"}})),Bte=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Lte=({title:e})=>e===null?null:typeof e=="string"?w.createElement(Bte,null,e):e,$te=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:a})=>(s.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},i=setTimeout(()=>GE.init(l),100);return()=>{clearTimeout(i),GE.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(zte,null,t?null:w.createElement(Tte,null,w.createElement(Lte,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:Ote,window:Mte}=globalThis,Pte=({context:e,theme:t,children:r})=>{var o,a,l,i,u;let n;try{n=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{n=(u=(i=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:i.docs)==null?void 0:u.toc}return s.useEffect(()=>{let d;try{if(d=new URL(Mte.parent.location.toString()),d.hash){let p=Ote.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{jJ(p)},200)}}catch{}}),w.createElement(Gt.Provider,{value:e},w.createElement(ste,{channel:e.channel},w.createElement($x,{theme:zL(t)},w.createElement(sY,{toc:n?w.createElement($te,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Nte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement(oR,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(Xy,{as:"h3",id:r},e)},Xz=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var i,u;let{story:a}=xa(e||"story",["story"]),l=((u=(i=a.parameters.docs)==null?void 0:i.canvas)==null?void 0:u.withToolbar)??r;return w.createElement(Lz,{storyId:a.id},t&&w.createElement(w.Fragment,null,w.createElement(Nte,null,a.name),w.createElement(N5,{of:e})),w.createElement(gte,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},Hte=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=xa(t||"meta",["meta"]),n=s.useContext(Gt).componentStoriesFromCSFFile(r)[0];return n?w.createElement(Xz,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},jte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return w.createElement(nR,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(Xy,{as:"h2",id:n,...r},e)},Vte=F(jte)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),Ute=({title:e="Stories",includePrimary:t=!0})=>{var i;let{componentStories:r,projectAnnotations:n,getStoryContext:o}=s.useContext(Gt),a=r(),{stories:{filter:l}={filter:void 0}}=((i=n.parameters)==null?void 0:i.docs)||{};return l&&(a=a.filter(u=>l(u,o(u)))),a.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(a=a.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(a=a.slice(1)),!a||a.length===0?null:w.createElement(w.Fragment,null,w.createElement(Vte,null,e),a.map(u=>u&&w.createElement(Xz,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",qte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(t||"meta",["meta"]).preparedMeta}catch(i){if(r&&!i.message.includes("did you forget to use ?"))throw i}let{componentSubtitle:o,docs:a}=(n==null?void 0:n.parameters)||{};o&&dK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Wte}`);let l=r||(a==null?void 0:a.subtitle)||o;return l?w.createElement(aY,{className:"sbdocs-subtitle sb-unstyled"},l):null},Gte=/\s*\/\s*/,Kte=e=>{let t=e.trim().split(Gte);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Yte=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=xa(r||"meta",["meta"]).preparedMeta}catch(a){if(t&&!a.message.includes("did you forget to use ?"))throw a}let o=t||Kte(n==null?void 0:n.title);return o?w.createElement(oY,{className:"sbdocs-title sb-unstyled"},o):null},Zte=()=>{let e=xa("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(Yte,null),w.createElement(qte,null),w.createElement(N5,{of:"meta"}),r?w.createElement(N5,{of:"story"}):null,w.createElement(Hte,null),w.createElement(Ete,null),r?null:w.createElement(Ute,null))};function Ire({context:e,docsParameter:t}){let r=t.container||Pte,n=t.page||Zte;return w.createElement(r,{context:e,theme:t.theme},w.createElement(n,null))}var zre=({of:e})=>{let t=s.useContext(Gt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return w.createElement(Lz,{storyId:r.id})}catch{return null}};export{PI as $,yN as A,bre as B,hN as C,nR as D,ore as E,wN as F,vre as G,wre as H,Xo as I,_y as J,nre as K,Ea as L,SN as M,zu as N,M1 as O,$I as P,hre as Q,vN as R,gN as S,xN as T,kN as U,jI as V,lre as W,VI as X,TG as Y,gG as Z,dre as _,cv as a,pre as a0,_N as a1,cre as a2,Xq as a3,vq as a4,yo as a5,ZG as a6,tg as a7,KG as a8,k5 as a9,gre as aa,ge as ab,XG as ac,Ee as ad,ne as ae,zre as af,Yte as ag,gte as ah,Ete as ai,w as aj,Rre as ak,Fre as al,_re as am,s as an,rre as ao,W5 as ap,ua as aq,F as ar,yr as as,Cre as at,fu as au,_te as av,Dte as aw,xte as ax,Ire as ay,xre as b,pN as c,Oy as d,fN as e,mN as f,lN as g,fre as h,yre as i,bl as j,fG as k,GG as l,aN as m,EN as n,CN as o,Ay as p,G0 as q,UI as r,ire as s,sre as t,DN as u,rR as v,dN as w,oR as x,Sq as y,Ere as z}; diff --git a/rc/assets/index-FamfD7PC.js b/rc/assets/index-FamfD7PC.js deleted file mode 100644 index 96d9fb5..0000000 --- a/rc/assets/index-FamfD7PC.js +++ /dev/null @@ -1 +0,0 @@ -import{aj as e}from"./index-0DKGoewk.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; diff --git a/rc/assets/index-R4Lrbxry.js b/rc/assets/index-R4Lrbxry.js deleted file mode 100644 index 956bf6a..0000000 --- a/rc/assets/index-R4Lrbxry.js +++ /dev/null @@ -1 +0,0 @@ -import{m as p,a as i,G as l,K as m,P as c,g as T,L as b,b as d,v as S,w as B,c as L,E as C,$ as H,y as u,d as g,N as y,e as I,D as h,x as k,C as P,f as W,S as A,R as F,I as x,h as D,i as R,A as f,F as v,j as E,k as M,l as N,W as q,n as w,T as O,t as U,o as Z,p as j,q as z,r as G,s as J,u as K,z as Q,B as V,H as X,J as Y,M as _,V as $,O as aa,Q as sa,U as oa,X as ta,Y as ea,Z as ra,_ as na,a0 as pa,a1 as ia,a2 as la,a3 as ma,a4 as ca,a5 as Ta,a6 as ba,a7 as da,a8 as Sa,a9 as Ba,aa as La,ab as Ca,ac as Ha,ad as ua}from"./index-0DKGoewk.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,d as ClipboardCode,S as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,x as IconButton,D as IconButtonSkeleton,R as Icons,f as Img,v as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,da as createCopyToClipboardFunction,Sa as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; diff --git a/rc/assets/index-w933pGNw.js b/rc/assets/index-w933pGNw.js deleted file mode 100644 index ca19b94..0000000 --- a/rc/assets/index-w933pGNw.js +++ /dev/null @@ -1 +0,0 @@ -import{aj as e}from"./index-Dxx82nxn.js";const o={},u=e.createContext(o);function c(n){const t=e.useContext(u);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function a(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=c(n.components),e.createElement(u.Provider,{value:t},n.children)}export{a as M,c as u}; diff --git a/rc/assets/input-action.doc-CoW0pspX.js b/rc/assets/input-action.doc-C5AAwzBX.js similarity index 97% rename from rc/assets/input-action.doc-CoW0pspX.js rename to rc/assets/input-action.doc-C5AAwzBX.js index 66783a1..bb9820c 100644 --- a/rc/assets/input-action.doc-CoW0pspX.js +++ b/rc/assets/input-action.doc-C5AAwzBX.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CqNdaC58.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CqNdaC58.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(d,{of:a}),` diff --git a/rc/assets/input-action.doc-Cpr9YLWK.js b/rc/assets/input-action.doc-Cpr9YLWK.js deleted file mode 100644 index 8a01b26..0000000 --- a/rc/assets/input-action.doc-Cpr9YLWK.js +++ /dev/null @@ -1,38 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CMPgeGxx.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-action",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input-action"})," amplia l'input per defecte, afegint la possibilitat d'incloure fins a dos botons d'acció per completar-ne la funcionalitat."]}),` -`,e.jsxs(n.p,{children:["En aquest document només s'especifiquen les noves funcionalitats afegides; per a més informació, reviseu el component ",e.jsx(n.a,{href:"/docs/components-input--input-text",children:"Input"}),"."]}),` -`,e.jsxs(n.p,{children:["La principal diferència és que en aquest component s'han afegit dos nous ",e.jsx(n.strong,{children:"slots"}),", ",e.jsx(n.code,{children:"action"})," i ",e.jsx(n.code,{children:"secondaryAction"}),", utilitzats per poder incloure de forma extensiva dos botons d'acció, utilitzant el component icon-button."]}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-text",children:"Default Text"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Text amb dues accions "})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-nombre",children:"Default Nombre"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Nombre amb dues accions "})}),` -`]}),` -`,e.jsx(n.h3,{id:"default-text",children:"Default Text"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"text-amb-dues-accions",children:"Text amb dues accions"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"default-nombre",children:"Default Nombre"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"nombre-amb-dues-accions",children:"Nombre amb dues accions"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function T(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{T as default}; diff --git a/rc/assets/input-action.doc-CyloAyMy.js b/rc/assets/input-action.doc-CyloAyMy.js deleted file mode 100644 index 4c2b22c..0000000 --- a/rc/assets/input-action.doc-CyloAyMy.js +++ /dev/null @@ -1,38 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CMPgeGxx.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-action",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input-action"})," amplia l'input per defecte, afegint la possibilitat d'incloure fins a dos botons d'acció per completar-ne la funcionalitat."]}),` -`,e.jsxs(n.p,{children:["En aquest document només s'especifiquen les noves funcionalitats afegides; per a més informació, reviseu el component ",e.jsx(n.a,{href:"/docs/components-input--input-text",children:"Input"}),"."]}),` -`,e.jsxs(n.p,{children:["La principal diferència és que en aquest component s'han afegit dos nous ",e.jsx(n.strong,{children:"slots"}),", ",e.jsx(n.code,{children:"action"})," i ",e.jsx(n.code,{children:"secondaryAction"}),", utilitzats per poder incloure de forma extensiva dos botons d'acció, utilitzant el component icon-button."]}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-text",children:"Default Text"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Text amb dues accions "})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-nombre",children:"Default Nombre"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Nombre amb dues accions "})}),` -`]}),` -`,e.jsx(n.h3,{id:"default-text",children:"Default Text"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"text-amb-dues-accions",children:"Text amb dues accions"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"default-nombre",children:"Default Nombre"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"nombre-amb-dues-accions",children:"Nombre amb dues accions"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function T(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{T as default}; diff --git a/rc/assets/input-action.doc-Ds0-SYfo.js b/rc/assets/input-action.doc-Ds0-SYfo.js deleted file mode 100644 index b085e22..0000000 --- a/rc/assets/input-action.doc-Ds0-SYfo.js +++ /dev/null @@ -1,38 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CqNdaC58.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-action",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input-action"})," amplia l'input per defecte, afegint la possibilitat d'incloure fins a dos botons d'acció per completar-ne la funcionalitat."]}),` -`,e.jsxs(n.p,{children:["En aquest document només s'especifiquen les noves funcionalitats afegides; per a més informació, reviseu el component ",e.jsx(n.a,{href:"/docs/components-input--input-text",children:"Input"}),"."]}),` -`,e.jsxs(n.p,{children:["La principal diferència és que en aquest component s'han afegit dos nous ",e.jsx(n.strong,{children:"slots"}),", ",e.jsx(n.code,{children:"action"})," i ",e.jsx(n.code,{children:"secondaryAction"}),", utilitzats per poder incloure de forma extensiva dos botons d'acció, utilitzant el component icon-button."]}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-text",children:"Default Text"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Text amb dues accions "})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-nombre",children:"Default Nombre"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Nombre amb dues accions "})}),` -`]}),` -`,e.jsx(n.h3,{id:"default-text",children:"Default Text"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"text-amb-dues-accions",children:"Text amb dues accions"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"default-nombre",children:"Default Nombre"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"nombre-amb-dues-accions",children:"Nombre amb dues accions"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function T(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{T as default}; diff --git a/rc/assets/input-action.doc-DsSSnMPL.js b/rc/assets/input-action.doc-DsSSnMPL.js deleted file mode 100644 index f390966..0000000 --- a/rc/assets/input-action.doc-DsSSnMPL.js +++ /dev/null @@ -1,38 +0,0 @@ -import{ae as e,af as d,ag as l,ah as t,ai as c}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as o,B as h,T as x,a as j,N as u}from"./input-action.stories-CqNdaC58.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-action",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input-action"})," amplia l'input per defecte, afegint la possibilitat d'incloure fins a dos botons d'acció per completar-ne la funcionalitat."]}),` -`,e.jsxs(n.p,{children:["En aquest document només s'especifiquen les noves funcionalitats afegides; per a més informació, reviseu el component ",e.jsx(n.a,{href:"/docs/components-input--input-text",children:"Input"}),"."]}),` -`,e.jsxs(n.p,{children:["La principal diferència és que en aquest component s'han afegit dos nous ",e.jsx(n.strong,{children:"slots"}),", ",e.jsx(n.code,{children:"action"})," i ",e.jsx(n.code,{children:"secondaryAction"}),", utilitzats per poder incloure de forma extensiva dos botons d'acció, utilitzant el component icon-button."]}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-text",children:"Default Text"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Text amb dues accions "})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default-nombre",children:"Default Nombre"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#text-amb-dues-accions",children:"Nombre amb dues accions "})}),` -`]}),` -`,e.jsx(n.h3,{id:"default-text",children:"Default Text"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"text-amb-dues-accions",children:"Text amb dues accions"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"default-nombre",children:"Default Nombre"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"nombre-amb-dues-accions",children:"Nombre amb dues accions"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function T(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{T as default}; diff --git a/rc/assets/input-action.stories-CMPgeGxx.js b/rc/assets/input-action.stories-CMPgeGxx.js deleted file mode 100644 index 1bf5cd4..0000000 --- a/rc/assets/input-action.stories-CMPgeGxx.js +++ /dev/null @@ -1,273 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const _={title:"Components/Input Action",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["md","lg"]},label:{name:"Label"},icon:{name:"Mostrar icona",control:{type:"boolean"}},required:{name:"Camp requerit",control:{type:"boolean"}},readonly:{name:"Només lectura",control:{type:"boolean"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},showPlaceholder:{name:"Mostrar placeholder",control:{type:"boolean"}},placeholder:{name:"Placeholder",if:{arg:"showPlaceholder"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció",if:{arg:"showDescription"}},showMaxLength:{name:"Mostrar màxim de caràcters",control:{type:"boolean"}},maxLength:{name:"Màxim de caràcters",control:{type:"number"},if:{arg:"showMaxLength"}},mainActionIcon:{name:"Icona de l'acció principal."},mainActionType:{name:"Tipus de acció principal",control:{type:"select"},options:["default","white-default","primary","error","warning","success","info"]},showSecondaryAction:{name:"Mostrar acció secundària.",control:{type:"boolean"}},secondaryActionIcon:{name:"Icona de l'acció secundària.",if:{arg:"showSecondaryAction"}},secondaryActionType:{name:"Tipus de acció secundària",control:{type:"select"},options:["default","white-default","primary","error","warning","success","info"],if:{arg:"showSecondaryAction"}}},parameters:{layout:"centered"}},s={name:"Playground - Text",args:{size:"lg",label:"Label",icon:!1,required:!1,readonly:!1,disabled:!1,showPlaceholder:!1,placeholder:"Type here",showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10,mainActionIcon:"add_box",mainActionType:"primary",showSecondaryAction:!1,secondaryActionIcon:"cancel",secondaryActionType:"error"},render:n=>{const o=n.showMaxLength?n.maxLength:null,t=n.showDescription?n.description:null;return e` - ${n.showPlaceholder?e` - - - ${n.showMaxLength?e` - - `:e` - - `} - - ${n.showSecondaryAction?e``:null} - - `:e` - - - ${n.showMaxLength?e` - - `:e` - - `} - - ${n.showSecondaryAction?e``:null} - - `} - `}},i={name:"Playground - Number",args:{size:"lg",label:"Label",icon:!1,required:!1,readonly:!1,disabled:!1,showPlaceholder:!1,placeholder:"Type here",showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10,mainActionIcon:"add_box",mainActionType:"primary",showSecondaryAction:!1,secondaryActionIcon:"cancel",secondaryActionType:"error"},render:n=>{const o=n.showMaxLength?n.maxLength:null,t=n.showDescription?n.description:null;return e` - ${n.showPlaceholder?e` - - - ${n.showMaxLength?e` - - `:e` - - `} - - ${n.showSecondaryAction?e``:null} - - `:e` - - - ${n.showMaxLength?e` - - `:e` - - `} - - ${n.showSecondaryAction?e``:null} - - `} - `}},a={tags:["!dev"],render:()=>e` - - - - - - `},l={tags:["!dev"],render:()=>e` - - - - - - - `},r={tags:["!dev"],render:()=>e` - - - - - - `},c={tags:["!dev"],render:()=>e` - - - - - - - `};var d,p,u;s.parameters={...s.parameters,docs:{...(d=s.parameters)==null?void 0:d.docs,source:{originalSource:`{ - name: 'Playground - Text', - args: { - size: 'lg', - label: 'Label', - icon: false, - required: false, - readonly: false, - disabled: false, - showPlaceholder: false, - placeholder: 'Type here', - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10, - mainActionIcon: 'add_box', - mainActionType: 'primary', - showSecondaryAction: false, - secondaryActionIcon: 'cancel', - secondaryActionType: 'error' - }, - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - \${args.showPlaceholder ? html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \${args.showSecondaryAction ? html\`\` : null} - - \` : html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \${args.showSecondaryAction ? html\`\` : null} - - \`} - \`; - } -}`,...(u=(p=s.parameters)==null?void 0:p.docs)==null?void 0:u.source}}};var b,y,m;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - name: 'Playground - Number', - args: { - size: 'lg', - label: 'Label', - icon: false, - required: false, - readonly: false, - disabled: false, - showPlaceholder: false, - placeholder: 'Type here', - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10, - mainActionIcon: 'add_box', - mainActionType: 'primary', - showSecondaryAction: false, - secondaryActionIcon: 'cancel', - secondaryActionType: 'error' - }, - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - \${args.showPlaceholder ? html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \${args.showSecondaryAction ? html\`\` : null} - - \` : html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \${args.showSecondaryAction ? html\`\` : null} - - \`} - \`; - } -}`,...(m=(y=i.parameters)==null?void 0:y.docs)==null?void 0:m.source}}};var h,$,x;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(x=($=a.parameters)==null?void 0:$.docs)==null?void 0:x.source}}};var A,g,f;l.parameters={...l.parameters,docs:{...(A=l.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(f=(g=l.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var T,w,I;r.parameters={...r.parameters,docs:{...(T=r.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(I=(w=r.parameters)==null?void 0:w.docs)==null?void 0:I.source}}};var L,q,S;c.parameters={...c.parameters,docs:{...(L=c.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(S=(q=c.parameters)==null?void 0:q.docs)==null?void 0:S.source}}};const M=["PlaygroundText","PlaygroundNumber","ByDefaultText","TextDouble","ByDefaultNumber","NumberDouble"],z=Object.freeze(Object.defineProperty({__proto__:null,ByDefaultNumber:r,ByDefaultText:a,NumberDouble:c,PlaygroundNumber:i,PlaygroundText:s,TextDouble:l,__namedExportsOrder:M,default:_},Symbol.toStringTag,{value:"Module"}));export{a as B,c as N,s as P,z as S,l as T,r as a}; diff --git a/rc/assets/input-dropdown.doc-3KFZpwWO.js b/rc/assets/input-dropdown.doc-B9_G8FKX.js similarity index 98% rename from rc/assets/input-dropdown.doc-3KFZpwWO.js rename to rc/assets/input-dropdown.doc-B9_G8FKX.js index 929b0d8..770433c 100644 --- a/rc/assets/input-dropdown.doc-3KFZpwWO.js +++ b/rc/assets/input-dropdown.doc-B9_G8FKX.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-wKdy6_p-.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-wKdy6_p-.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .container-dropdownlist { display: flex; gap: 20px; diff --git a/rc/assets/input-dropdown.doc-BZRG6XVG.js b/rc/assets/input-dropdown.doc-BZRG6XVG.js deleted file mode 100644 index 3facc2e..0000000 --- a/rc/assets/input-dropdown.doc-BZRG6XVG.js +++ /dev/null @@ -1,99 +0,0 @@ -import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-wKdy6_p-.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - display: flex; - gap: 20px; - min-height: 220px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-input-dropdown",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Input Dropdown és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"unorder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva l'ordenació automàtica dels elements per ordre alfabètic"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"placeHolder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra en el placeholder de l'input quan se abre el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"multiple"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tick"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"deselectable"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"elements"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Elements[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectedValue"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'default'"}),e.jsx(n.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"boxStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Permet canviar l’estil de la caixa. Per exemple, pot utilitzar-se per definir l’amplada del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectorStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsxs(n.td,{children:["Permet afegir estils css propis al dropdown. Per exemple per limitar-ne l'alçada amb ",e.jsx(n.code,{children:"max-height: 200px"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showDropdown"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mostrar el dropdown obert en renderitzar el component. Quan s'utilitzi el component es mantindrà el funcionament per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"openWithSearch"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mantenir el dropdown sempre obert. El dropdown no es tancarà mai si aquesta propietat està definida, només existeix l'excepció de no tenir cap element que concordi amb el filtre introduït a l'input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelSelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelDeselectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"filterThreshold"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Quan el component no té elements definits d'inici: Mínim nombre de caràcters de filtre a partir del qual es mostraran la llista d'elements al dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"SelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostrarà visible per a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Valor assignat el component quan se seleccioni l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputDropdownChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment que retorna els elements seleccionats en un array i també el valor de l’input en format string quan es tracta d’un dropdown simple. ",e.jsx(n.code,{children:"event.detail = { inputValue, selectedValue}"})]})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#estats-input",children:"Estats de l'Input"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#obrir-amb-cerca",children:"Obrir amb cerca"})}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(n.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(n.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(n.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(n.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(n.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(n.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Hi ha el default i green. No afegir-ne un altre que no sigui un d'aquests dos."}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(n.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(n.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(r,{of:f}),` -`,e.jsx(n.h3,{id:"estats-de-linput",children:"Estats de l'Input"}),` -`,e.jsx(n.p,{children:"Estats: required, disabled, readonly"}),` -`,e.jsx(r,{of:q}),` -`,e.jsx(n.h3,{id:"obrir-amb-cerca",children:"Obrir amb cerca"}),` -`,e.jsx(r,{of:v}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"S'ha corregit el funcionament de l'ordenació automàtica dels elements, que només s'aplicava després de seleccionar-ne un. Ara es mostraran sempre ordenats alfabèticament per defecte. Si no es desitja que s'ordenin, s'ha d'afegir la propietat unorder."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha ocultat la icona d'interacció per obrir o tancar el desplegable quan l'estat de l'input sigui readonly."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en filtrar la llista d'elements i fer clic a la zona ressaltada (en negreta) dels elements trobats, l'element seleccionat no arribava mai a seleccionar-se."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsxs(n.td,{children:["S' ha corregit un error per al cas d' ús de selecció simple sense tiquet i amb dropdown sempre obert, en la qual els elements es quedaven marcats encara després de seleccionar-ne un de diferent.",e.jsx("br",{}),"S'ha corregit un error pel qual, en limitar l'altura del dropdown i tenir habilitat l'opció 'seleccionar tot', es produïa un bug visual en fer scroll en el qual tots els elements eren encara visibles per darrere de l'opció per seleccionar tot."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual es resetejava el filtre de recerca dins l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l' última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l' actual missatge de text quan no hi ha elements que mostrar en el selector.",e.jsx("br",{}),"S'ha afegit un canvi en la interfície per al cas en què el dropdown no té elements fins que l'usuari inicia el filtre de recerca. Ara el missatge de buscar apareixerà com a placeholder mentre que al dropdown es mostrarà un spinner de càrrega fins a obtenir els elements.",e.jsx("br",{}),"S' ha modificat el comportament del filtre, perquè no afecti els elements que ja estan seleccionats, de manera que només es filtrin la resta d' opcions disponibles. D' aquesta manera tampoc s' aplica l' estil negreta que actualment es mostrava en tots els elements que tenien una coincidència amb el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual es reinicialitzava el filtre de cerca dins de l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l'última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l'actual missatge de text quan no hi ha elements que mostrar en el selector."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha corregit un error pel qual quan el filtre introduït no coincideixi amb cap de les opcions disponibles el dropdown es tancava però la fletxa en el component es mostrava com si estigués obert el que portava a confusió. Ara, quan el filtre no coincideixi es mostrarà un missatge de resultat buit per a aquest filtre sense arribar a tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual no es podia assignar un estil al dropdown, per exemple per a fixar l'altura màxima d'aquest.",e.jsx("br",{}),"S'ha corregit un error pel qual el dropdown es tancava de manera incorrecta sense seleccionar el valor quan el component estava dins d'un modal d'Angular Material.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no es reinicialitzaven correctament quan es tancava el dropdown de manera manual el que havia de reiniciar el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.2"})}),e.jsxs(n.td,{children:["S’ha inclòs la funcionalitat de mostrar el dropdown sempre obert perquè aquest component mantingui la mateixa funcionalitat que el component dropdown-list.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no s'ocultaven correctament quan s'aplicava el filtre."]})]})]})]})]})}function T(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{T as default}; diff --git a/rc/assets/input-dropdown.doc-BxCo32Lo.js b/rc/assets/input-dropdown.doc-BxCo32Lo.js deleted file mode 100644 index 6d7526c..0000000 --- a/rc/assets/input-dropdown.doc-BxCo32Lo.js +++ /dev/null @@ -1,99 +0,0 @@ -import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-m7adWeco.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - display: flex; - gap: 20px; - min-height: 220px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-input-dropdown",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Input Dropdown és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"unorder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva l'ordenació automàtica dels elements per ordre alfabètic"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"placeHolder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra en el placeholder de l'input quan se abre el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"multiple"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tick"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"deselectable"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"elements"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Elements[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectedValue"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'default'"}),e.jsx(n.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"boxStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Permet canviar l’estil de la caixa. Per exemple, pot utilitzar-se per definir l’amplada del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectorStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsxs(n.td,{children:["Permet afegir estils css propis al dropdown. Per exemple per limitar-ne l'alçada amb ",e.jsx(n.code,{children:"max-height: 200px"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showDropdown"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mostrar el dropdown obert en renderitzar el component. Quan s'utilitzi el component es mantindrà el funcionament per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"openWithSearch"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mantenir el dropdown sempre obert. El dropdown no es tancarà mai si aquesta propietat està definida, només existeix l'excepció de no tenir cap element que concordi amb el filtre introduït a l'input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelSelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelDeselectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"filterThreshold"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Quan el component no té elements definits d'inici: Mínim nombre de caràcters de filtre a partir del qual es mostraran la llista d'elements al dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"SelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostrarà visible per a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Valor assignat el component quan se seleccioni l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputDropdownChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment que retorna els elements seleccionats en un array i també el valor de l’input en format string quan es tracta d’un dropdown simple. ",e.jsx(n.code,{children:"event.detail = { inputValue, selectedValue}"})]})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#estats-input",children:"Estats de l'Input"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#obrir-amb-cerca",children:"Obrir amb cerca"})}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(n.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(n.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(n.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(n.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(n.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(n.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Hi ha el default i green. No afegir-ne un altre que no sigui un d'aquests dos."}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(n.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(n.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(r,{of:f}),` -`,e.jsx(n.h3,{id:"estats-de-linput",children:"Estats de l'Input"}),` -`,e.jsx(n.p,{children:"Estats: required, disabled, readonly"}),` -`,e.jsx(r,{of:q}),` -`,e.jsx(n.h3,{id:"obrir-amb-cerca",children:"Obrir amb cerca"}),` -`,e.jsx(r,{of:v}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"S'ha corregit el funcionament de l'ordenació automàtica dels elements, que només s'aplicava després de seleccionar-ne un. Ara es mostraran sempre ordenats alfabèticament per defecte. Si no es desitja que s'ordenin, s'ha d'afegir la propietat unorder."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha ocultat la icona d'interacció per obrir o tancar el desplegable quan l'estat de l'input sigui readonly."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en filtrar la llista d'elements i fer clic a la zona ressaltada (en negreta) dels elements trobats, l'element seleccionat no arribava mai a seleccionar-se."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsxs(n.td,{children:["S' ha corregit un error per al cas d' ús de selecció simple sense tiquet i amb dropdown sempre obert, en la qual els elements es quedaven marcats encara després de seleccionar-ne un de diferent.",e.jsx("br",{}),"S'ha corregit un error pel qual, en limitar l'altura del dropdown i tenir habilitat l'opció 'seleccionar tot', es produïa un bug visual en fer scroll en el qual tots els elements eren encara visibles per darrere de l'opció per seleccionar tot."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual es resetejava el filtre de recerca dins l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l' última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l' actual missatge de text quan no hi ha elements que mostrar en el selector.",e.jsx("br",{}),"S'ha afegit un canvi en la interfície per al cas en què el dropdown no té elements fins que l'usuari inicia el filtre de recerca. Ara el missatge de buscar apareixerà com a placeholder mentre que al dropdown es mostrarà un spinner de càrrega fins a obtenir els elements.",e.jsx("br",{}),"S' ha modificat el comportament del filtre, perquè no afecti els elements que ja estan seleccionats, de manera que només es filtrin la resta d' opcions disponibles. D' aquesta manera tampoc s' aplica l' estil negreta que actualment es mostrava en tots els elements que tenien una coincidència amb el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual es reinicialitzava el filtre de cerca dins de l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l'última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l'actual missatge de text quan no hi ha elements que mostrar en el selector."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha corregit un error pel qual quan el filtre introduït no coincideixi amb cap de les opcions disponibles el dropdown es tancava però la fletxa en el component es mostrava com si estigués obert el que portava a confusió. Ara, quan el filtre no coincideixi es mostrarà un missatge de resultat buit per a aquest filtre sense arribar a tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual no es podia assignar un estil al dropdown, per exemple per a fixar l'altura màxima d'aquest.",e.jsx("br",{}),"S'ha corregit un error pel qual el dropdown es tancava de manera incorrecta sense seleccionar el valor quan el component estava dins d'un modal d'Angular Material.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no es reinicialitzaven correctament quan es tancava el dropdown de manera manual el que havia de reiniciar el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.2"})}),e.jsxs(n.td,{children:["S’ha inclòs la funcionalitat de mostrar el dropdown sempre obert perquè aquest component mantingui la mateixa funcionalitat que el component dropdown-list.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no s'ocultaven correctament quan s'aplicava el filtre."]})]})]})]})]})}function T(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{T as default}; diff --git a/rc/assets/input-dropdown.doc-CDzLomxa.js b/rc/assets/input-dropdown.doc-CDzLomxa.js deleted file mode 100644 index 52460ff..0000000 --- a/rc/assets/input-dropdown.doc-CDzLomxa.js +++ /dev/null @@ -1,97 +0,0 @@ -import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-D65uGMpm.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - min-height: 220px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-input-dropdown",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Input Dropdown és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"unorder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva l'ordenació automàtica dels elements per ordre alfabètic"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"placeHolder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra en el placeholder de l'input quan se abre el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"multiple"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tick"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"deselectable"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"elements"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Elements[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectedValue"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'default'"}),e.jsx(n.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"boxStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Permet canviar l’estil de la caixa. Per exemple, pot utilitzar-se per definir l’amplada del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectorStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsxs(n.td,{children:["Permet afegir estils css propis al dropdown. Per exemple per limitar-ne l'alçada amb ",e.jsx(n.code,{children:"max-height: 200px"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showDropdown"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mostrar el dropdown obert en renderitzar el component. Quan s'utilitzi el component es mantindrà el funcionament per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"openWithSearch"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mantenir el dropdown sempre obert. El dropdown no es tancarà mai si aquesta propietat està definida, només existeix l'excepció de no tenir cap element que concordi amb el filtre introduït a l'input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelSelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelDeselectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"filterThreshold"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Quan el component no té elements definits d'inici: Mínim nombre de caràcters de filtre a partir del qual es mostraran la llista d'elements al dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"SelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostrarà visible per a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Valor assignat el component quan se seleccioni l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputDropdownChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment que retorna els elements seleccionats en un array i també el valor de l’input en format string quan es tracta d’un dropdown simple. ",e.jsx(n.code,{children:"event.detail = { inputValue, selectedValue}"})]})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#estats-input",children:"Estats de l'Input"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#obrir-amb-cerca",children:"Obrir amb cerca"})}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(n.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(n.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(n.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(n.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(n.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(n.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Hi ha el default i green. No afegir-ne un altre que no sigui un d'aquests dos."}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(n.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(n.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(r,{of:f}),` -`,e.jsx(n.h3,{id:"estats-de-linput",children:"Estats de l'Input"}),` -`,e.jsx(n.p,{children:"Estats: required, disabled, readonly"}),` -`,e.jsx(r,{of:q}),` -`,e.jsx(n.h3,{id:"obrir-amb-cerca",children:"Obrir amb cerca"}),` -`,e.jsx(r,{of:v}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"S'ha corregit el funcionament de l'ordenació automàtica dels elements, que només s'aplicava després de seleccionar-ne un. Ara es mostraran sempre ordenats alfabèticament per defecte. Si no es desitja que s'ordenin, s'ha d'afegir la propietat unorder."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha ocultat la icona d'interacció per obrir o tancar el desplegable quan l'estat de l'input sigui readonly."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en filtrar la llista d'elements i fer clic a la zona ressaltada (en negreta) dels elements trobats, l'element seleccionat no arribava mai a seleccionar-se."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsxs(n.td,{children:["S' ha corregit un error per al cas d' ús de selecció simple sense tiquet i amb dropdown sempre obert, en la qual els elements es quedaven marcats encara després de seleccionar-ne un de diferent.",e.jsx("br",{}),"S'ha corregit un error pel qual, en limitar l'altura del dropdown i tenir habilitat l'opció 'seleccionar tot', es produïa un bug visual en fer scroll en el qual tots els elements eren encara visibles per darrere de l'opció per seleccionar tot."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual es resetejava el filtre de recerca dins l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l' última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l' actual missatge de text quan no hi ha elements que mostrar en el selector.",e.jsx("br",{}),"S'ha afegit un canvi en la interfície per al cas en què el dropdown no té elements fins que l'usuari inicia el filtre de recerca. Ara el missatge de buscar apareixerà com a placeholder mentre que al dropdown es mostrarà un spinner de càrrega fins a obtenir els elements.",e.jsx("br",{}),"S' ha modificat el comportament del filtre, perquè no afecti els elements que ja estan seleccionats, de manera que només es filtrin la resta d' opcions disponibles. D' aquesta manera tampoc s' aplica l' estil negreta que actualment es mostrava en tots els elements que tenien una coincidència amb el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual es reinicialitzava el filtre de cerca dins de l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l'última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l'actual missatge de text quan no hi ha elements que mostrar en el selector."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha corregit un error pel qual quan el filtre introduït no coincideixi amb cap de les opcions disponibles el dropdown es tancava però la fletxa en el component es mostrava com si estigués obert el que portava a confusió. Ara, quan el filtre no coincideixi es mostrarà un missatge de resultat buit per a aquest filtre sense arribar a tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual no es podia assignar un estil al dropdown, per exemple per a fixar l'altura màxima d'aquest.",e.jsx("br",{}),"S'ha corregit un error pel qual el dropdown es tancava de manera incorrecta sense seleccionar el valor quan el component estava dins d'un modal d'Angular Material.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no es reinicialitzaven correctament quan es tancava el dropdown de manera manual el que havia de reiniciar el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.2"})}),e.jsxs(n.td,{children:["S’ha inclòs la funcionalitat de mostrar el dropdown sempre obert perquè aquest component mantingui la mateixa funcionalitat que el component dropdown-list.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no s'ocultaven correctament quan s'aplicava el filtre."]})]})]})]})]})}function T(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{T as default}; diff --git a/rc/assets/input-dropdown.doc-CXGL7W5J.js b/rc/assets/input-dropdown.doc-CXGL7W5J.js deleted file mode 100644 index a434f4a..0000000 --- a/rc/assets/input-dropdown.doc-CXGL7W5J.js +++ /dev/null @@ -1,99 +0,0 @@ -import{ae as e,af as t,ag as d,ah as r,ai as c}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as a,P as o,a as h,M as x,b as j,c as p,U as u,T as m,N as g,I as b,B as f,d as q,O as v}from"./input-dropdown.stories-wKdy6_p-.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .container-dropdownlist { - display: flex; - gap: 20px; - min-height: 220px; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-input-dropdown",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Input Dropdown és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"unorder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva l'ordenació automàtica dels elements per ordre alfabètic"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'search'"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra del dropdown utilitzant com a base Materials Symbols Rounded."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"placeHolder"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostra en el placeholder de l'input quan se abre el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"multiple"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet seleccionar diversos elements del dropdown al mateix temps"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tick"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet desactivar el tick que apareix a l'esquerra de cada element. Llavors apareixerà un radi de selecció o un checkbox, depenent de si és un selector simple o múltiple."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"deselectable"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"elements"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Elements[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en obrir el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectedValue"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string[]"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array de valors que es marcaran com seleccionats sempre que coincideixin amb el valor d'algun dels elements definits."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'default'"}),e.jsx(n.td,{children:"Modifica l'aparença de l'estat hover sobre els elements dins del dropdown. Possibles valors: default o green"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"boxStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Permet canviar l’estil de la caixa. Per exemple, pot utilitzar-se per definir l’amplada del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selectorStyle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsxs(n.td,{children:["Permet afegir estils css propis al dropdown. Per exemple per limitar-ne l'alçada amb ",e.jsx(n.code,{children:"max-height: 200px"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"showDropdown"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mostrar el dropdown obert en renderitzar el component. Quan s'utilitzi el component es mantindrà el funcionament per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"openWithSearch"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet mantenir el dropdown sempre obert. El dropdown no es tancarà mai si aquesta propietat està definida, només existeix l'excepció de no tenir cap element que concordi amb el filtre introduït a l'input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelSelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Seleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Seleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"labelDeselectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Deseleccionar-ho tot'"}),e.jsx(n.td,{children:"Text que reemplaça l'etiqueta 'Desseleccionar-ho tot' quan SelectAll està habilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"filterThreshold"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Quan el component no té elements definits d'inici: Mínim nombre de caràcters de filtre a partir del qual es mostraran la llista d'elements al dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"SelectAll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'opció de seleccionar o desseleccionar tots els elements."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"elements",children:"Elements"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Text que es mostrarà visible per a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Valor assignat el component quan se seleccioni l'element."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputDropdownChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment que retorna els elements seleccionats en un array i també el valor de l’input en format string quan es tracta d’un dropdown simple. ",e.jsx(n.code,{children:"event.detail = { inputValue, selectedValue}"})]})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#seleccionarTot",children:"Seleccionar-ho tot"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#Sensetick",children:"Sense tick"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#box-style",children:"Box style"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#estats-input",children:"Estats de l'Input"})}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:e.jsx(n.a,{href:"#obrir-amb-cerca",children:"Obrir amb cerca"})}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-dropdownlist"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`]}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un element."}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"seleccionar-ho-tot",children:"Seleccionar-ho tot"}),` -`,e.jsxs(n.p,{children:[`Permet seleccionar tots els elements. -Per indicar que el DropDown mostri l'input de seleccionar-ho tot, cal afegir la propietat -`,e.jsx(n.strong,{children:"selectAll"})," i que sigui de selecció múltiple al component, també indicar el ",e.jsx(n.strong,{children:"labelSelectAll"}),` i el -`,e.jsx(n.strong,{children:"labelDeselectAll"}),` per canviar els valors per defecte dels inputs si cal. Per -defecte, els inputs mostren `,e.jsx(n.strong,{children:"Seleccionar-ho tot"})," i ",e.jsx(n.strong,{children:"Deseleccionar-ho tot"}),"."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Hi ha el default i green. No afegir-ne un altre que no sigui un d'aquests dos."}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(r,{of:g}),` -`,e.jsx(n.h3,{id:"modificar-icona",children:"Modificar icona"}),` -`,e.jsx(n.p,{children:"Permet modificar la icona principal del component afegint l'atribut icon i el valor corresponent de la llibreria Material Icons. En cas de no indicar-se el component prendrà per defecte el valor de la icona 'search'"}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(n.h3,{id:"box-style",children:"Box style"}),` -`,e.jsx(n.p,{children:"Permet canviar l'estil de la caixa."}),` -`,e.jsx(r,{of:f}),` -`,e.jsx(n.h3,{id:"estats-de-linput",children:"Estats de l'Input"}),` -`,e.jsx(n.p,{children:"Estats: required, disabled, readonly"}),` -`,e.jsx(r,{of:q}),` -`,e.jsx(n.h3,{id:"obrir-amb-cerca",children:"Obrir amb cerca"}),` -`,e.jsx(r,{of:v}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"S'ha corregit el funcionament de l'ordenació automàtica dels elements, que només s'aplicava després de seleccionar-ne un. Ara es mostraran sempre ordenats alfabèticament per defecte. Si no es desitja que s'ordenin, s'ha d'afegir la propietat unorder."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha ocultat la icona d'interacció per obrir o tancar el desplegable quan l'estat de l'input sigui readonly."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en filtrar la llista d'elements i fer clic a la zona ressaltada (en negreta) dels elements trobats, l'element seleccionat no arribava mai a seleccionar-se."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsxs(n.td,{children:["S' ha corregit un error per al cas d' ús de selecció simple sense tiquet i amb dropdown sempre obert, en la qual els elements es quedaven marcats encara després de seleccionar-ne un de diferent.",e.jsx("br",{}),"S'ha corregit un error pel qual, en limitar l'altura del dropdown i tenir habilitat l'opció 'seleccionar tot', es produïa un bug visual en fer scroll en el qual tots els elements eren encara visibles per darrere de l'opció per seleccionar tot."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual es resetejava el filtre de recerca dins l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l' última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l' actual missatge de text quan no hi ha elements que mostrar en el selector.",e.jsx("br",{}),"S'ha afegit un canvi en la interfície per al cas en què el dropdown no té elements fins que l'usuari inicia el filtre de recerca. Ara el missatge de buscar apareixerà com a placeholder mentre que al dropdown es mostrarà un spinner de càrrega fins a obtenir els elements.",e.jsx("br",{}),"S' ha modificat el comportament del filtre, perquè no afecti els elements que ja estan seleccionats, de manera que només es filtrin la resta d' opcions disponibles. D' aquesta manera tampoc s' aplica l' estil negreta que actualment es mostrava en tots els elements que tenien una coincidència amb el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual es reinicialitzava el filtre de cerca dins de l'input quan es recarregaven els elements del selector externament. Queda pendent afegir l'última actualització de disseny en la qual es mostrarà un spinner de càrrega en lloc de l'actual missatge de text quan no hi ha elements que mostrar en el selector."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.1"})}),e.jsx(n.td,{children:"S' ha corregit un error pel qual quan el filtre introduït no coincideixi amb cap de les opcions disponibles el dropdown es tancava però la fletxa en el component es mostrava com si estigués obert el que portava a confusió. Ara, quan el filtre no coincideixi es mostrarà un missatge de resultat buit per a aquest filtre sense arribar a tancar el dropdown."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsxs(n.td,{children:["S'ha corregit un error pel qual no es podia assignar un estil al dropdown, per exemple per a fixar l'altura màxima d'aquest.",e.jsx("br",{}),"S'ha corregit un error pel qual el dropdown es tancava de manera incorrecta sense seleccionar el valor quan el component estava dins d'un modal d'Angular Material.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no es reinicialitzaven correctament quan es tancava el dropdown de manera manual el que havia de reiniciar el filtre."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.2"})}),e.jsxs(n.td,{children:["S’ha inclòs la funcionalitat de mostrar el dropdown sempre obert perquè aquest component mantingui la mateixa funcionalitat que el component dropdown-list.",e.jsx("br",{}),"S'ha corregit un error pel qual els elements del dropdown no s'ocultaven correctament quan s'aplicava el filtre."]})]})]})]})]})}function T(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{T as default}; diff --git a/rc/assets/input-dropdown.stories-D65uGMpm.js b/rc/assets/input-dropdown.stories-D65uGMpm.js deleted file mode 100644 index feacba4..0000000 --- a/rc/assets/input-dropdown.stories-D65uGMpm.js +++ /dev/null @@ -1,551 +0,0 @@ -import{x as l}from"./lit-html-paDGiEfB.js";const Q={title:"Components/Input Dropdown",argTypes:{labelSelectAll:{name:"Text per seleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},labelDeselectAll:{name:"Text per deseleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},seleccionarTot:{name:"Seleccionar-ho tot",control:{type:"boolean"},if:{arg:"multiple",truthy:!0}},multiple:{name:"Múltiple",control:{type:"boolean"}},tick:{name:"Tick",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},type:{name:"Tipus",control:{type:"select"},options:["default","green"]},desselectable:{name:"Desseleccionable",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},icon:{name:"Icon",control:{type:"text"}},label:{name:"Label",control:{type:"text"}},placeHolder:{name:"Placeholder",control:{type:"text"}},required:{name:"Requerit",control:{type:"boolean"}},readonly:{name:"Només lectura",control:{type:"boolean"}},helpText:{name:"Message for initial help"},openWithSearch:{name:"Obrir amb cerca",control:{type:"boolean"}},invalid:{name:"No vàlid",control:{type:"boolean"}},unorder:{name:"Desordenar elements",control:{type:"boolean"}}},parameters:{layout:"centered"}},t={args:{label:"My dropdown",seleccionarTot:!0,multiple:!1,tick:!0,disabled:!1,type:"default",desselectable:!1,icon:"search",placeHolder:"Seleccionar",required:!1,readonly:!1,labelSelectAll:"Seleccionar-ho tot",labelDeselectAll:"Deseleccionar-ho tot",helpText:"Help text.",openWithSearch:!1,invalid:!1,unorder:!1},render:e=>{const m=[{label:"XElement 1",value:"1"},{label:"HElement 2",value:"2"},{label:"AElement 3",value:"3"},{label:"PElement 4",value:"4"},{label:"WElement 5",value:"5"}];return e.openWithSearch?l` -
- - - - -
- `:l` -
- - - - -
- `}},a={tags:["!dev"],render:()=>l` -
- - - - -
- `},n={tags:["!dev"],render:()=>l` -
- - - - -
- `},d={tags:["!dev"],render:()=>l` -
- - - - -
- `},s={tags:["!dev"],render:()=>l` -
- - - - -
- `},o={tags:["!dev"],render:()=>l` -
- - - - -
- `},r={tags:["!dev"],render:()=>l` -
- - - - -
-
- - - - -
- `},p={tags:["!dev"],render:()=>l` -
- - - - -
- `},i={tags:["!dev"],render:()=>l` -
- - - - -
- `},u={tags:["!dev"],render:()=>l` -
- - - - -
- `},c={tags:["!dev"],render:()=>l` -
- - - - -
-
- - - - -
-
- - - - -
- `},b={tags:["!dev"],render:()=>l` -
- - - - -
- `};var v,w,y;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:`{ - args: { - label: 'My dropdown', - seleccionarTot: true, - multiple: false, - tick: true, - disabled: false, - type: 'default', - desselectable: false, - icon: 'search', - placeHolder: 'Seleccionar', - required: false, - readonly: false, - labelSelectAll: 'Seleccionar-ho tot', - labelDeselectAll: 'Deseleccionar-ho tot', - helpText: 'Help text.', - openWithSearch: false, - invalid: false, - unorder: false - }, - render: (args: any) => { - const elements = [{ - label: 'XElement 1', - value: '1' - }, { - label: 'HElement 2', - value: '2' - }, { - label: 'AElement 3', - value: '3' - }, { - label: 'PElement 4', - value: '4' - }, { - label: 'WElement 5', - value: '5' - }]; - return args.openWithSearch ? html\` -
- - - - -
- \` : html\` -
- - - - -
- \`; - } -}`,...(y=(w=t.parameters)==null?void 0:w.docs)==null?void 0:y.source}}};var E,x,f;a.parameters={...a.parameters,docs:{...(E=a.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(f=(x=a.parameters)==null?void 0:x.docs)==null?void 0:f.source}}};var h,S,$;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...($=(S=n.parameters)==null?void 0:S.docs)==null?void 0:$.source}}};var g,T,H;d.parameters={...d.parameters,docs:{...(g=d.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(H=(T=d.parameters)==null?void 0:T.docs)==null?void 0:H.source}}};var A,D,k;s.parameters={...s.parameters,docs:{...(A=s.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(k=(D=s.parameters)==null?void 0:D.docs)==null?void 0:k.source}}};var O,q,N;o.parameters={...o.parameters,docs:{...(O=o.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(N=(q=o.parameters)==null?void 0:q.docs)==null?void 0:N.source}}};var P,W,M;r.parameters={...r.parameters,docs:{...(P=r.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
-
- - - - -
- \`; - } -}`,...(M=(W=r.parameters)==null?void 0:W.docs)==null?void 0:M.source}}};var J,V,_;p.parameters={...p.parameters,docs:{...(J=p.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(_=(V=p.parameters)==null?void 0:V.docs)==null?void 0:_.source}}};var C,I,B;i.parameters={...i.parameters,docs:{...(C=i.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(B=(I=i.parameters)==null?void 0:I.docs)==null?void 0:B.source}}};var R,U,j;u.parameters={...u.parameters,docs:{...(R=u.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(j=(U=u.parameters)==null?void 0:U.docs)==null?void 0:j.source}}};var F,G,X;c.parameters={...c.parameters,docs:{...(F=c.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
-
- - - - -
-
- - - - -
- \`; - } -}`,...(X=(G=c.parameters)==null?void 0:G.docs)==null?void 0:X.source}}};var z,L,K;b.parameters={...b.parameters,docs:{...(z=b.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(K=(L=b.parameters)==null?void 0:L.docs)==null?void 0:K.source}}};const Y=["Playground","Simple","Multiple","SelectAll","Predefined","Unselect","Types","NoTick","Icon","BoxStyle","States","Open"],ee=Object.freeze(Object.defineProperty({__proto__:null,BoxStyle:u,Icon:i,Multiple:n,NoTick:p,Open:b,Playground:t,Predefined:s,SelectAll:d,Simple:a,States:c,Types:r,Unselect:o,__namedExportsOrder:Y,default:Q},Symbol.toStringTag,{value:"Module"}));export{u as B,i as I,n as M,p as N,b as O,t as P,ee as S,r as T,o as U,a,d as b,s as c,c as d}; diff --git a/rc/assets/input-dropdown.stories-m7adWeco.js b/rc/assets/input-dropdown.stories-m7adWeco.js deleted file mode 100644 index a17bbd6..0000000 --- a/rc/assets/input-dropdown.stories-m7adWeco.js +++ /dev/null @@ -1,539 +0,0 @@ -import{x as l}from"./lit-html-paDGiEfB.js";const Q={title:"Components/Input Dropdown",argTypes:{labelSelectAll:{name:"Text per seleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},labelDeselectAll:{name:"Text per deseleccionar-ho tot",control:{type:"text"},if:{arg:"seleccionarTot",truthy:!0}},seleccionarTot:{name:"Seleccionar-ho tot",control:{type:"boolean"},if:{arg:"multiple",truthy:!0}},multiple:{name:"Múltiple",control:{type:"boolean"}},tick:{name:"Tick",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},type:{name:"Tipus",control:{type:"select"},options:["default","green"]},desselectable:{name:"Desseleccionable",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},icon:{name:"Icon",control:{type:"text"}},label:{name:"Label",control:{type:"text"}},placeHolder:{name:"Placeholder",control:{type:"text"}},required:{name:"Requerit",control:{type:"boolean"}},readonly:{name:"Només lectura",control:{type:"boolean"}},helpText:{name:"Message for initial help"},openWithSearch:{name:"Obrir amb cerca",control:{type:"boolean"}},invalid:{name:"No vàlid",control:{type:"boolean"}},unorder:{name:"Desordenar elements",control:{type:"boolean"}}},parameters:{layout:"centered"}},t={args:{label:"My dropdown",seleccionarTot:!0,multiple:!1,tick:!0,disabled:!1,type:"default",desselectable:!1,icon:"search",placeHolder:"Seleccionar",required:!1,readonly:!1,labelSelectAll:"Seleccionar-ho tot",labelDeselectAll:"Deseleccionar-ho tot",helpText:"Help text.",openWithSearch:!1,invalid:!1,unorder:!1},render:e=>{const m=[{label:"XElement 1",value:"1"},{label:"HElement 2",value:"2"},{label:"AElement 3",value:"3"},{label:"PElement 4",value:"4"},{label:"WElement 5",value:"5"}];return e.openWithSearch?l` -
- - - - -
- `:l` -
- - - - -
- `}},a={tags:["!dev"],render:()=>l` -
- - - - -
- `},n={tags:["!dev"],render:()=>l` -
- - - - -
- `},s={tags:["!dev"],render:()=>l` -
- - - - -
- `},o={tags:["!dev"],render:()=>l` -
- - - - -
- `},d={tags:["!dev"],render:()=>l` -
- - - - -
- `},r={tags:["!dev"],render:()=>l` -
- - - - - - - - -
- `},p={tags:["!dev"],render:()=>l` -
- - - - -
- `},i={tags:["!dev"],render:()=>l` -
- - - - -
- `},u={tags:["!dev"],render:()=>l` -
- - - - -
- `},c={tags:["!dev"],render:()=>l` -
- - - - - - - - - - - - -
- `},b={tags:["!dev"],render:()=>l` -
- - - - -
- `};var v,w,y;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:`{ - args: { - label: 'My dropdown', - seleccionarTot: true, - multiple: false, - tick: true, - disabled: false, - type: 'default', - desselectable: false, - icon: 'search', - placeHolder: 'Seleccionar', - required: false, - readonly: false, - labelSelectAll: 'Seleccionar-ho tot', - labelDeselectAll: 'Deseleccionar-ho tot', - helpText: 'Help text.', - openWithSearch: false, - invalid: false, - unorder: false - }, - render: (args: any) => { - const elements = [{ - label: 'XElement 1', - value: '1' - }, { - label: 'HElement 2', - value: '2' - }, { - label: 'AElement 3', - value: '3' - }, { - label: 'PElement 4', - value: '4' - }, { - label: 'WElement 5', - value: '5' - }]; - return args.openWithSearch ? html\` -
- - - - -
- \` : html\` -
- - - - -
- \`; - } -}`,...(y=(w=t.parameters)==null?void 0:w.docs)==null?void 0:y.source}}};var E,x,f;a.parameters={...a.parameters,docs:{...(E=a.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(f=(x=a.parameters)==null?void 0:x.docs)==null?void 0:f.source}}};var h,S,$;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...($=(S=n.parameters)==null?void 0:S.docs)==null?void 0:$.source}}};var g,T,H;s.parameters={...s.parameters,docs:{...(g=s.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(H=(T=s.parameters)==null?void 0:T.docs)==null?void 0:H.source}}};var A,D,k;o.parameters={...o.parameters,docs:{...(A=o.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(k=(D=o.parameters)==null?void 0:D.docs)==null?void 0:k.source}}};var O,q,N;d.parameters={...d.parameters,docs:{...(O=d.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(N=(q=d.parameters)==null?void 0:q.docs)==null?void 0:N.source}}};var P,W,M;r.parameters={...r.parameters,docs:{...(P=r.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - -
- \`; - } -}`,...(M=(W=r.parameters)==null?void 0:W.docs)==null?void 0:M.source}}};var J,V,_;p.parameters={...p.parameters,docs:{...(J=p.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(_=(V=p.parameters)==null?void 0:V.docs)==null?void 0:_.source}}};var C,I,B;i.parameters={...i.parameters,docs:{...(C=i.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(B=(I=i.parameters)==null?void 0:I.docs)==null?void 0:B.source}}};var R,U,j;u.parameters={...u.parameters,docs:{...(R=u.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(j=(U=u.parameters)==null?void 0:U.docs)==null?void 0:j.source}}};var F,G,X;c.parameters={...c.parameters,docs:{...(F=c.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - - - - - - - - -
- \`; - } -}`,...(X=(G=c.parameters)==null?void 0:G.docs)==null?void 0:X.source}}};var z,L,K;b.parameters={...b.parameters,docs:{...(z=b.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(K=(L=b.parameters)==null?void 0:L.docs)==null?void 0:K.source}}};const Y=["Playground","Simple","Multiple","SelectAll","Predefined","Unselect","Types","NoTick","Icon","BoxStyle","States","Open"],ee=Object.freeze(Object.defineProperty({__proto__:null,BoxStyle:u,Icon:i,Multiple:n,NoTick:p,Open:b,Playground:t,Predefined:o,SelectAll:s,Simple:a,States:c,Types:r,Unselect:d,__namedExportsOrder:Y,default:Q},Symbol.toStringTag,{value:"Module"}));export{u as B,i as I,n as M,p as N,b as O,t as P,ee as S,r as T,d as U,a,s as b,o as c,c as d}; diff --git a/rc/assets/input-field.doc-BTZcQ4kM.js b/rc/assets/input-field.doc-BTZcQ4kM.js deleted file mode 100644 index c82c204..0000000 --- a/rc/assets/input-field.doc-BTZcQ4kM.js +++ /dev/null @@ -1,115 +0,0 @@ -import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as u,I as c,a as p}from"./input-field.stories-C6mGzV-c.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(a,{of:u}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input--input-text",children:"dss-input"})," en el seu lloc."]}),` -`]}),` -`,e.jsxs(l.p,{children:["El component ",e.jsx(l.strong,{children:"dss-input-field"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number. Per utilitzar aquest -component en angular cal fer servir la directiva adjuntada.`]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#label",children:"Label"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#accionable",children:"Accionable"})}),` -`]}),` -`,e.jsx(l.h3,{id:"label",children:"Label"}),` -`,e.jsxs(l.p,{children:["El label es una ",e.jsx(l.strong,{children:"descripció breu"}),` del camp a emplenar. Els label d'aquests -elements no estan limitats per caràcters pero no poden ser massa largs.`]}),` -`,e.jsx(l.p,{children:`Es considera una mala aplicació del label quan no complix amb els següents -requisits:`}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot ocupar més d'una línia"}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot tallar-se el text"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:`No pot acurtar-se o amargar-se part del text, per exemple amb uns punts -suspensius`}),` -`]}),` -`,e.jsx(l.p,{children:e.jsx(l.strong,{children:"Si alguna d'aquestes situacions es complix, es necesari modificar el label"})}),` -`]}),` -`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label for input text",type:"text"}),e.jsx("dss-input-field",{label:"Label for input number",type:"number"})]}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el tipus text i el number, no afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," El tipus number només accepta nombres naturals."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"number"})]}),` -`,e.jsx(l.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(l.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(l.strong,{children:"small"}),` al -component.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"text",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number"}),e.jsx("dss-input-field",{label:"Label",type:"number",small:!0})]}),` -`,e.jsx(l.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(l.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",disabled:!0})]}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(l.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",readonly:!0})]}),` -`,e.jsx(l.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(l.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0})]}),` -`,e.jsx(l.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(l.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsxs(l.p,{children:[`Per afegir una descripció que ajudi l'usuari cal afegir la propietat -`,e.jsx(l.strong,{children:"description"})," amb la descripció correponent."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",description:"Descripció",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(l.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(l.strong,{children:"placeholder"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(l.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(l.strong,{children:"maxLength"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsxs(l.p,{children:["Per afegir icona, cal afegir la propietat ",e.jsx(l.strong,{children:"icon"}),` al component amb la icona -que volem mostrar.`]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La icona no es pot utilitzar en el textarea."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsx(l.h3,{id:"accionable",children:"Accionable"}),` -`,e.jsxs(l.p,{children:[`Per permetre que l'input sigui esborrable cal afegir la propietat -`,e.jsx(l.strong,{children:"clearable"})," al component."]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La propietat ",e.jsx(l.strong,{children:"clearable"}),` només funciona a l'input de tipus -text.`]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0,small:!0})]})]})}function g(s={}){const{wrapper:l}={...t(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(n,{...s})}):n(s)}export{g as default}; diff --git a/rc/assets/input-field.doc-BfubggdE.js b/rc/assets/input-field.doc-BfubggdE.js deleted file mode 100644 index df61bcb..0000000 --- a/rc/assets/input-field.doc-BfubggdE.js +++ /dev/null @@ -1,115 +0,0 @@ -import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as u,I as c,a as p}from"./input-field.stories-9D2cKxT1.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(a,{of:u}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input--input-text",children:"dss-input"})," en el seu lloc."]}),` -`]}),` -`,e.jsxs(l.p,{children:["El component ",e.jsx(l.strong,{children:"dss-input-field"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number. Per utilitzar aquest -component en angular cal fer servir la directiva adjuntada.`]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#label",children:"Label"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#accionable",children:"Accionable"})}),` -`]}),` -`,e.jsx(l.h3,{id:"label",children:"Label"}),` -`,e.jsxs(l.p,{children:["El label es una ",e.jsx(l.strong,{children:"descripció breu"}),` del camp a emplenar. Els label d'aquests -elements no estan limitats per caràcters pero no poden ser massa largs.`]}),` -`,e.jsx(l.p,{children:`Es considera una mala aplicació del label quan no complix amb els següents -requisits:`}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot ocupar més d'una línia"}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot tallar-se el text"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:`No pot acurtar-se o amargar-se part del text, per exemple amb uns punts -suspensius`}),` -`]}),` -`,e.jsx(l.p,{children:e.jsx(l.strong,{children:"Si alguna d'aquestes situacions es complix, es necesari modificar el label"})}),` -`]}),` -`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label for input text",type:"text"}),e.jsx("dss-input-field",{label:"Label for input number",type:"number"})]}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el tipus text i el number, no afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," El tipus number només accepta nombres naturals."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"number"})]}),` -`,e.jsx(l.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(l.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(l.strong,{children:"small"}),` al -component.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"text",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number"}),e.jsx("dss-input-field",{label:"Label",type:"number",small:!0})]}),` -`,e.jsx(l.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(l.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",disabled:!0})]}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(l.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",readonly:!0})]}),` -`,e.jsx(l.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(l.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0})]}),` -`,e.jsx(l.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(l.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsxs(l.p,{children:[`Per afegir una descripció que ajudi l'usuari cal afegir la propietat -`,e.jsx(l.strong,{children:"description"})," amb la descripció correponent."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",description:"Descripció",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(l.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(l.strong,{children:"placeholder"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(l.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(l.strong,{children:"maxLength"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsxs(l.p,{children:["Per afegir icona, cal afegir la propietat ",e.jsx(l.strong,{children:"icon"}),` al component amb la icona -que volem mostrar.`]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La icona no es pot utilitzar en el textarea."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsx(l.h3,{id:"accionable",children:"Accionable"}),` -`,e.jsxs(l.p,{children:[`Per permetre que l'input sigui esborrable cal afegir la propietat -`,e.jsx(l.strong,{children:"clearable"})," al component."]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La propietat ",e.jsx(l.strong,{children:"clearable"}),` només funciona a l'input de tipus -text.`]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0,small:!0})]})]})}function g(s={}){const{wrapper:l}={...t(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(n,{...s})}):n(s)}export{g as default}; diff --git a/rc/assets/input-field.doc-U73MZeGp.js b/rc/assets/input-field.doc-Buh_-tuK.js similarity index 98% rename from rc/assets/input-field.doc-U73MZeGp.js rename to rc/assets/input-field.doc-Buh_-tuK.js index 63fad01..e7c441d 100644 --- a/rc/assets/input-field.doc-U73MZeGp.js +++ b/rc/assets/input-field.doc-Buh_-tuK.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as u,I as c,a as p}from"./input-field.stories-9D2cKxT1.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as u,I as c,a as p}from"./input-field.stories-9D2cKxT1.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/input-field.doc-Cdm3ct9I.js b/rc/assets/input-field.doc-Cdm3ct9I.js deleted file mode 100644 index 8524558..0000000 --- a/rc/assets/input-field.doc-Cdm3ct9I.js +++ /dev/null @@ -1,115 +0,0 @@ -import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as u,I as c,a as p}from"./input-field.stories-C6mGzV-c.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(a,{of:u}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input--input-text",children:"dss-input"})," en el seu lloc."]}),` -`]}),` -`,e.jsxs(l.p,{children:["El component ",e.jsx(l.strong,{children:"dss-input-field"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number. Per utilitzar aquest -component en angular cal fer servir la directiva adjuntada.`]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#label",children:"Label"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#accionable",children:"Accionable"})}),` -`]}),` -`,e.jsx(l.h3,{id:"label",children:"Label"}),` -`,e.jsxs(l.p,{children:["El label es una ",e.jsx(l.strong,{children:"descripció breu"}),` del camp a emplenar. Els label d'aquests -elements no estan limitats per caràcters pero no poden ser massa largs.`]}),` -`,e.jsx(l.p,{children:`Es considera una mala aplicació del label quan no complix amb els següents -requisits:`}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot ocupar més d'una línia"}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot tallar-se el text"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:`No pot acurtar-se o amargar-se part del text, per exemple amb uns punts -suspensius`}),` -`]}),` -`,e.jsx(l.p,{children:e.jsx(l.strong,{children:"Si alguna d'aquestes situacions es complix, es necesari modificar el label"})}),` -`]}),` -`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label for input text",type:"text"}),e.jsx("dss-input-field",{label:"Label for input number",type:"number"})]}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el tipus text i el number, no afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," El tipus number només accepta nombres naturals."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"number"})]}),` -`,e.jsx(l.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(l.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(l.strong,{children:"small"}),` al -component.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"text",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number"}),e.jsx("dss-input-field",{label:"Label",type:"number",small:!0})]}),` -`,e.jsx(l.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(l.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",disabled:!0})]}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(l.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",readonly:!0})]}),` -`,e.jsx(l.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(l.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0})]}),` -`,e.jsx(l.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(l.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsxs(l.p,{children:[`Per afegir una descripció que ajudi l'usuari cal afegir la propietat -`,e.jsx(l.strong,{children:"description"})," amb la descripció correponent."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",description:"Descripció",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(l.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(l.strong,{children:"placeholder"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(l.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(l.strong,{children:"maxLength"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsxs(l.p,{children:["Per afegir icona, cal afegir la propietat ",e.jsx(l.strong,{children:"icon"}),` al component amb la icona -que volem mostrar.`]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La icona no es pot utilitzar en el textarea."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsx(l.h3,{id:"accionable",children:"Accionable"}),` -`,e.jsxs(l.p,{children:[`Per permetre que l'input sigui esborrable cal afegir la propietat -`,e.jsx(l.strong,{children:"clearable"})," al component."]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La propietat ",e.jsx(l.strong,{children:"clearable"}),` només funciona a l'input de tipus -text.`]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0,small:!0})]})]})}function g(s={}){const{wrapper:l}={...t(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(n,{...s})}):n(s)}export{g as default}; diff --git a/rc/assets/input-field.doc-D6hRsjNx.js b/rc/assets/input-field.doc-D6hRsjNx.js deleted file mode 100644 index 0ba3cdf..0000000 --- a/rc/assets/input-field.doc-D6hRsjNx.js +++ /dev/null @@ -1,115 +0,0 @@ -import{ae as e,af as a,ag as d,ak as r,ah as i}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as u,I as c,a as p}from"./input-field.stories-9D2cKxT1.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const l={a:"a",blockquote:"blockquote",em:"em",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(a,{of:u}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsxs(l.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(l.a,{href:"/docs/components-input--input-text",children:"dss-input"})," en el seu lloc."]}),` -`]}),` -`,e.jsxs(l.p,{children:["El component ",e.jsx(l.strong,{children:"dss-input-field"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number. Per utilitzar aquest -component en angular cal fer servir la directiva adjuntada.`]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs(l.blockquote,{children:[` -`,e.jsx(l.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#label",children:"Label"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(l.li,{children:e.jsx(l.a,{href:"#accionable",children:"Accionable"})}),` -`]}),` -`,e.jsx(l.h3,{id:"label",children:"Label"}),` -`,e.jsxs(l.p,{children:["El label es una ",e.jsx(l.strong,{children:"descripció breu"}),` del camp a emplenar. Els label d'aquests -elements no estan limitats per caràcters pero no poden ser massa largs.`]}),` -`,e.jsx(l.p,{children:`Es considera una mala aplicació del label quan no complix amb els següents -requisits:`}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot ocupar més d'una línia"}),` -`]}),` -`,e.jsxs(l.li,{children:[` -`,e.jsx(l.p,{children:"No pot tallar-se el text"}),` -`,e.jsxs(l.ul,{children:[` -`,e.jsx(l.li,{children:`No pot acurtar-se o amargar-se part del text, per exemple amb uns punts -suspensius`}),` -`]}),` -`,e.jsx(l.p,{children:e.jsx(l.strong,{children:"Si alguna d'aquestes situacions es complix, es necesari modificar el label"})}),` -`]}),` -`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label for input text",type:"text"}),e.jsx("dss-input-field",{label:"Label for input number",type:"number"})]}),` -`,e.jsx(l.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(l.p,{children:`Hi ha el tipus text i el number, no afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," El tipus number només accepta nombres naturals."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"number"})]}),` -`,e.jsx(l.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(l.p,{children:[`Hi ha dos tipus de mesura, el mitjà i el petit, per defecte es mostra el -mitjà, si volem mostrar el petit hem d'afegir la propietat `,e.jsx(l.strong,{children:"small"}),` al -component.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text"}),e.jsx("dss-input-field",{label:"Label",type:"text",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number"}),e.jsx("dss-input-field",{label:"Label",type:"number",small:!0})]}),` -`,e.jsx(l.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(l.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",disabled:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",disabled:!0})]}),` -`,e.jsx(l.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(l.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(l.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",readonly:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",readonly:!0})]}),` -`,e.jsx(l.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(l.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0})]}),` -`,e.jsx(l.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(l.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(l.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsxs(l.p,{children:[`Per afegir una descripció que ajudi l'usuari cal afegir la propietat -`,e.jsx(l.strong,{children:"description"})," amb la descripció correponent."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",value:"Value",description:"Descripció",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",description:"Descripció",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",value:"1",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(l.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(l.strong,{children:"placeholder"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",placeholder:"PlaceHolder",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",placeholder:"PlaceHolder",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(l.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(l.strong,{children:"maxLength"}),"."]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"text",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció"}),e.jsx("dss-input-field",{label:"Label",type:"number",maxlength:"20",description:"Descripció",required:!0,showError:!0})]}),` -`,e.jsx(l.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsxs(l.p,{children:["Per afegir icona, cal afegir la propietat ",e.jsx(l.strong,{children:"icon"}),` al component amb la icona -que volem mostrar.`]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La icona no es pot utilitzar en el textarea."]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person"}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",small:!0}),e.jsx("dss-input-field",{label:"Label",type:"number",icon:"person",required:!0,showError:!0,small:!0})]}),` -`,e.jsx(l.h3,{id:"accionable",children:"Accionable"}),` -`,e.jsxs(l.p,{children:[`Per permetre que l'input sigui esborrable cal afegir la propietat -`,e.jsx(l.strong,{children:"clearable"})," al component."]}),` -`,e.jsx("h5",{}),` -`,e.jsx(l.p,{children:e.jsxs(l.em,{children:[e.jsx(l.strong,{children:"Important:"})," La propietat ",e.jsx(l.strong,{children:"clearable"}),` només funciona a l'input de tipus -text.`]})}),` -`,e.jsxs(r,{children:[e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,small:!0}),e.jsx("dss-input-field",{label:"Label",type:"text",clearable:!0,showError:!0,small:!0})]})]})}function g(s={}){const{wrapper:l}={...t(),...s.components};return l?e.jsx(l,{...s,children:e.jsx(n,{...s})}):n(s)}export{g as default}; diff --git a/rc/assets/input-field.stories-C6mGzV-c.js b/rc/assets/input-field.stories-C6mGzV-c.js deleted file mode 100644 index 4627086..0000000 --- a/rc/assets/input-field.stories-C6mGzV-c.js +++ /dev/null @@ -1,96 +0,0 @@ -import{x as d}from"./lit-html-paDGiEfB.js";const m={title:"Discontinued/Input Field ⚠️",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["Mitjá","Petit"]},label:{name:"Label"},clearable:{name:"Accionable",control:{type:"boolean"}},icon:{name:"Mostrar icona",control:{type:"boolean"}},showError:{name:"Mostrar error",control:{type:"boolean"}},required:{name:"Camp requerit",control:{type:"boolean"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció",if:{arg:"showDescription"}},showMaxLength:{name:"Mostrar màxim de caràcters",control:{type:"boolean"}},maxLength:{name:"Màxim de caràcters",control:{type:"number"},if:{arg:"showMaxLength"}}},parameters:{layout:"centered"}},n={render:e=>{const s=e.showMaxLength?e.maxLength:null,a=e.showDescription?e.description:null;return d` - - - `},name:"Input Text",args:{size:"md",label:"Label",icon:!1,showError:!1,required:!1,clearable:!1,showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10}},r={render:e=>{const s=e.showMaxLength?e.maxLength:null,a=e.showDescription?e.description:null;return d` - - - `},name:"Input Number",args:{size:"md",label:"Label",icon:!1,required:!1,clearable:!1,showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10,showError:!1},argTypes:{clearable:{table:{disable:!0}}}};var t,o,l;n.parameters={...n.parameters,docs:{...(t=n.parameters)==null?void 0:t.docs,source:{originalSource:`{ - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - - - \`; - }, - name: 'Input Text', - args: { - size: 'md', - label: 'Label', - icon: false, - showError: false, - required: false, - clearable: false, - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10 - } -}`,...(l=(o=n.parameters)==null?void 0:o.docs)==null?void 0:l.source}}};var i,c,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`{ - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - - - \`; - }, - name: 'Input Number', - args: { - size: 'md', - label: 'Label', - icon: false, - required: false, - clearable: false, - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10, - showError: false - }, - argTypes: { - clearable: { - table: { - disable: true - } - } - } -}`,...(p=(c=r.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};const u=["InputText","InputNumber"],b=Object.freeze(Object.defineProperty({__proto__:null,InputNumber:r,InputText:n,__namedExportsOrder:u,default:m},Symbol.toStringTag,{value:"Module"}));export{n as I,b as S,r as a}; diff --git a/rc/assets/input-switch.doc-0bYLL93j.js b/rc/assets/input-switch.doc-0bYLL93j.js deleted file mode 100644 index af00837..0000000 --- a/rc/assets/input-switch.doc-0bYLL93j.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-CIRsw79J.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - gap: 24px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-switch",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'md'"}),e.jsx(n.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"checked"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'input com a seleccionat."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeValue"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"Custom Event"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input en funció de si està seleccionat o no."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h3",{children:"Switch seleccionat"}),` -`,e.jsx(n.p,{children:"Actualmente hay dos formas de marcar el input switch como seleccionado:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"1: Utilitzant l'atribut checked del propi input"}),", que s'ha de gestionar amb funcions de JavaScript natives, com ara setAttribute('checked', 'true') o removeAttribute('checked')."]}),` -`,e.jsx(n.p,{children:"Aquest atribut no es pot manipular a través de variables d'Angular a causa de la manera en què Angular entén que 'checked' no és un atribut, sinó una propietat de l'element, fet que provoca que l'observador intern de Lit no detecti el canvi."}),` -`,e.jsx(t,{of:b}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"2: Utilitzant la propietat checked del component"}),", la qual sí que es pot manipular a través de variables d'Angular."]}),` -`,e.jsx(t,{of:g}),` -`,e.jsx(n.p,{children:"Nota: en cas que s'utilitzi la propietat checked, el valor definit prevaldrà sobre l'atribut checked de l'input, per la qual cosa es recomana no barrejar ambdues opcions."}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:`S'ha afegit la propietat checked a nivell de component per solucionar els problemes amb la gestió que fa Angular de l'atribut checked natiu de l'input quan se li passa una variable [checked]="myVar".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S' ha creat una nova versió del component Switch, amb el nom Input Switch, que permet utilitzar el component anterior dins de formularis reactius d' Angular, seguint el mateix patró que en components prèviament adaptats, on input i label es defineixen a través de slots."})]})]})]})]})}function M(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/input-switch.doc-1AsS6VnS.js b/rc/assets/input-switch.doc-1AsS6VnS.js deleted file mode 100644 index e2a78bf..0000000 --- a/rc/assets/input-switch.doc-1AsS6VnS.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-k_ivhGXu.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - gap: 24px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-switch",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'md'"}),e.jsx(n.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"checked"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'input com a seleccionat."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeValue"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"Custom Event"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input en funció de si està seleccionat o no."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h3",{children:"Switch seleccionat"}),` -`,e.jsx(n.p,{children:"Actualmente hay dos formas de marcar el input switch como seleccionado:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"1: Utilitzant l'atribut checked del propi input"}),", que s'ha de gestionar amb funcions de JavaScript natives, com ara setAttribute('checked', 'true') o removeAttribute('checked')."]}),` -`,e.jsx(n.p,{children:"Aquest atribut no es pot manipular a través de variables d'Angular a causa de la manera en què Angular entén que 'checked' no és un atribut, sinó una propietat de l'element, fet que provoca que l'observador intern de Lit no detecti el canvi."}),` -`,e.jsx(t,{of:b}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"2: Utilitzant la propietat checked del component"}),", la qual sí que es pot manipular a través de variables d'Angular."]}),` -`,e.jsx(t,{of:g}),` -`,e.jsx(n.p,{children:"Nota: en cas que s'utilitzi la propietat checked, el valor definit prevaldrà sobre l'atribut checked de l'input, per la qual cosa es recomana no barrejar ambdues opcions."}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:`S'ha afegit la propietat checked a nivell de component per solucionar els problemes amb la gestió que fa Angular de l'atribut checked natiu de l'input quan se li passa una variable [checked]="myVar".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S' ha creat una nova versió del component Switch, amb el nom Input Switch, que permet utilitzar el component anterior dins de formularis reactius d' Angular, seguint el mateix patró que en components prèviament adaptats, on input i label es defineixen a través de slots."})]})]})]})]})}function M(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/input-switch.doc-retQKdJV.js b/rc/assets/input-switch.doc-B1ptNveN.js similarity index 96% rename from rc/assets/input-switch.doc-retQKdJV.js rename to rc/assets/input-switch.doc-B1ptNveN.js index ae4f292..7f2b10c 100644 --- a/rc/assets/input-switch.doc-retQKdJV.js +++ b/rc/assets/input-switch.doc-B1ptNveN.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-k_ivhGXu.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-k_ivhGXu.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper #root-inner { display: flex; gap: 24px; diff --git a/rc/assets/input-switch.doc-B1sZfj5c.js b/rc/assets/input-switch.doc-B1sZfj5c.js deleted file mode 100644 index 3228623..0000000 --- a/rc/assets/input-switch.doc-B1sZfj5c.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-k_ivhGXu.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - gap: 24px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-switch",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'md'"}),e.jsx(n.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"checked"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'input com a seleccionat."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeValue"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"Custom Event"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input en funció de si està seleccionat o no."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h3",{children:"Switch seleccionat"}),` -`,e.jsx(n.p,{children:"Actualmente hay dos formas de marcar el input switch como seleccionado:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"1: Utilitzant l'atribut checked del propi input"}),", que s'ha de gestionar amb funcions de JavaScript natives, com ara setAttribute('checked', 'true') o removeAttribute('checked')."]}),` -`,e.jsx(n.p,{children:"Aquest atribut no es pot manipular a través de variables d'Angular a causa de la manera en què Angular entén que 'checked' no és un atribut, sinó una propietat de l'element, fet que provoca que l'observador intern de Lit no detecti el canvi."}),` -`,e.jsx(t,{of:b}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"2: Utilitzant la propietat checked del component"}),", la qual sí que es pot manipular a través de variables d'Angular."]}),` -`,e.jsx(t,{of:g}),` -`,e.jsx(n.p,{children:"Nota: en cas que s'utilitzi la propietat checked, el valor definit prevaldrà sobre l'atribut checked de l'input, per la qual cosa es recomana no barrejar ambdues opcions."}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:`S'ha afegit la propietat checked a nivell de component per solucionar els problemes amb la gestió que fa Angular de l'atribut checked natiu de l'input quan se li passa una variable [checked]="myVar".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S' ha creat una nova versió del component Switch, amb el nom Input Switch, que permet utilitzar el component anterior dins de formularis reactius d' Angular, seguint el mateix patró que en components prèviament adaptats, on input i label es defineixen a través de slots."})]})]})]})]})}function M(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/input-switch.doc-Cdy60c7J.js b/rc/assets/input-switch.doc-Cdy60c7J.js deleted file mode 100644 index 202b229..0000000 --- a/rc/assets/input-switch.doc-Cdy60c7J.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as l,ah as t,ai as d}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as c,P as o,a as h,M as x,L as j,b as p,c as u,d as m,e as b,f as g}from"./input-switch.stories-CIRsw79J.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const n={blockquote:"blockquote",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - gap: 24px; - } - `}),` -`,e.jsx(a,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-input-switch",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'md'"}),e.jsx(n.td,{children:"Mida del component. Pot ser: sm, md o lg."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"checked"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'input com a seleccionat."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeValue"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"Custom Event"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input en funció de si està seleccionat o no."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx("h3",{children:"Switch seleccionat"}),` -`,e.jsx(n.p,{children:"Actualmente hay dos formas de marcar el input switch como seleccionado:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"1: Utilitzant l'atribut checked del propi input"}),", que s'ha de gestionar amb funcions de JavaScript natives, com ara setAttribute('checked', 'true') o removeAttribute('checked')."]}),` -`,e.jsx(n.p,{children:"Aquest atribut no es pot manipular a través de variables d'Angular a causa de la manera en què Angular entén que 'checked' no és un atribut, sinó una propietat de l'element, fet que provoca que l'observador intern de Lit no detecti el canvi."}),` -`,e.jsx(t,{of:b}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"2: Utilitzant la propietat checked del component"}),", la qual sí que es pot manipular a través de variables d'Angular."]}),` -`,e.jsx(t,{of:g}),` -`,e.jsx(n.p,{children:"Nota: en cas que s'utilitzi la propietat checked, el valor definit prevaldrà sobre l'atribut checked de l'input, per la qual cosa es recomana no barrejar ambdues opcions."}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:`S'ha afegit la propietat checked a nivell de component per solucionar els problemes amb la gestió que fa Angular de l'atribut checked natiu de l'input quan se li passa una variable [checked]="myVar".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.2"})}),e.jsx(n.td,{children:"S' ha creat una nova versió del component Switch, amb el nom Input Switch, que permet utilitzar el component anterior dins de formularis reactius d' Angular, seguint el mateix patró que en components prèviament adaptats, on input i label es defineixen a través de slots."})]})]})]})]})}function M(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/input-switch.stories-CIRsw79J.js b/rc/assets/input-switch.stories-CIRsw79J.js deleted file mode 100644 index 364dba2..0000000 --- a/rc/assets/input-switch.stories-CIRsw79J.js +++ /dev/null @@ -1,270 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const B={title:"Components/Input Switch",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},showLabel:{name:"Mostrar Label",control:{type:"boolean"}},label:{name:"Label",if:{arg:"showLabel"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={args:{size:"md",showLabel:!1,label:"Switch",disabled:!1},render:t=>{const A=t.showLabel?t.label:null;return s` - - ${t.showLabel?s` - - - `:s` - - `} - - `}},i={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - `},c={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - `},l={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - `},n={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - `},a={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - `},d={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - `},h={tags:["!dev"],render:()=>s` - - - - - `},p={tags:["!dev"],render:()=>s` - - - - - `};var o,u,r;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - size: 'md', - showLabel: false, - label: 'Switch', - disabled: false - }, - render: (args: any) => { - const label = args.showLabel ? args.label : null; - return html\` - - \${args.showLabel ? html\` - - - \` : html\` - - \`} - - \`; - } -}`,...(r=(u=e.parameters)==null?void 0:u.docs)==null?void 0:r.source}}};var b,w,m;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - \`; - } -}`,...(m=(w=i.parameters)==null?void 0:w.docs)==null?void 0:m.source}}};var y,k,g;c.parameters={...c.parameters,docs:{...(y=c.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - \`; - } -}`,...(g=(k=c.parameters)==null?void 0:k.docs)==null?void 0:g.source}}};var S,z,x;l.parameters={...l.parameters,docs:{...(S=l.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - \`; - } -}`,...(x=(z=l.parameters)==null?void 0:z.docs)==null?void 0:x.source}}};var f,L,M;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - \`; - } -}`,...(M=(L=n.parameters)==null?void 0:L.docs)==null?void 0:M.source}}};var v,$,C;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - \`; - } -}`,...(C=($=a.parameters)==null?void 0:$.docs)==null?void 0:C.source}}};var _,P,O;d.parameters={...d.parameters,docs:{...(_=d.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - \`; - } -}`,...(O=(P=d.parameters)==null?void 0:P.docs)==null?void 0:O.source}}};var j,T,D;h.parameters={...h.parameters,docs:{...(j=h.parameters)==null?void 0:j.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(D=(T=h.parameters)==null?void 0:T.docs)==null?void 0:D.source}}};var E,I,q;p.parameters={...p.parameters,docs:{...(E=p.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(q=(I=p.parameters)==null?void 0:I.docs)==null?void 0:q.source}}};const F=["Playground","Small","Medium","Large","LabelSmall","LabelMedium","LabelLarge","Selected1","Selected2"],H=Object.freeze(Object.defineProperty({__proto__:null,LabelLarge:d,LabelMedium:a,LabelSmall:n,Large:l,Medium:c,Playground:e,Selected1:h,Selected2:p,Small:i,__namedExportsOrder:F,default:B},Symbol.toStringTag,{value:"Module"}));export{l as L,c as M,e as P,H as S,i as a,n as b,a as c,d,h as e,p as f}; diff --git a/rc/assets/input.doc-C0UoaKE5.js b/rc/assets/input.doc-C0UoaKE5.js deleted file mode 100644 index 4f90542..0000000 --- a/rc/assets/input.doc-C0UoaKE5.js +++ /dev/null @@ -1,79 +0,0 @@ -import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-CcF9BsMG.js";import{u as l}from"./index-BlEr_OIe.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-Jw1fSDL_.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-input",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.p,{children:`Per habilitar l’ús del component en formularis s’ha extret l’input fora del mateix utilitzant slots. -D’aquesta forma totes les propietats natives de l’input (placeholder, required, disabled, readonly, maxlength, min, max, etc.) poden definir-se en el mateix input sense la necessitat de definir una propietat en el selector del web component. -L'element label també s'ha hagut de definir amb slots per tal de situar-lo en el mateix nivell del DOM per tal d'assolit els requisits d'accessibilitat.`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#required",children:"Required"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#readonly",children:"Read Only"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-ajuda",children:"Amb ajuda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-decimals",children:"Amb decimals"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"required",children:"Required"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"read-only",children:"Read Only"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"amb-ajuda",children:"Amb ajuda"}),` -`,e.jsxs(n.p,{children:["Per mostrar el text d’ajuda cal indicar la propietat ",e.jsx(n.strong,{children:"helpText"}),"."]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(n.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(n.strong,{children:"maxlength"})," de l'input i també habilitar l'opció de veure el text d'ajuda."]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx(n.h3,{id:"amb-decimals",children:"Amb decimals"}),` -`,e.jsxs(n.p,{children:["L'input number ha de gestionar-se de manera nativa, per la qual cosa per a habilitar l'ús de decimals ha d'afegir-se la propietat ",e.jsx(n.code,{children:"step"})," dins del ",e.jsx(n.code,{children:""})," en lloc d'en el selector ",e.jsx(n.code,{children:""}),`. -step="any" >> permet qualsevol decimal -step="1" >> no permet decimals -step="0.5" >> permetrà 0.5; 1; 1.5; ... -step="0.1" >> permetrà 0.1; 0.2; 0.3; 0.4; ... -step="0.01" >> permetrà 0.01; 0.02; 0.03; 0.04; ...`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(n.p,{children:`Per requisits d'accessibilitat, tots els inputs han d'incloure una etiqueta (label) que indiqui als usuaris l'objectiu d'aquest -element. Per tant, en cas de no incloure una etiqueta a través de l'slot, és imprescindible que s'indiqui a l'input l'etiqueta corresponent -utilitzant etiquetes ARIA, com ara aria-label o aria-labelledby.`}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:"**2.0.0"}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular.",e.jsx("br",{}),"S'ha corregit l'estil del component quan no es defineix una etiqueta a través de l'slot corresponent."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Input Field i solucionat errors associats a formularis els impedien accedir al valor dels inputs o utilitzar components en formularis reactius d'Angular."})]})]})]})]})}function M(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(r,{...i})}):r(i)}export{M as default}; diff --git a/rc/assets/input.doc-CBGCgz2f.js b/rc/assets/input.doc-CBGCgz2f.js deleted file mode 100644 index 656cf55..0000000 --- a/rc/assets/input.doc-CBGCgz2f.js +++ /dev/null @@ -1,79 +0,0 @@ -import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-BrkwxZr1.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-input",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.p,{children:`Per habilitar l’ús del component en formularis s’ha extret l’input fora del mateix utilitzant slots. -D’aquesta forma totes les propietats natives de l’input (placeholder, required, disabled, readonly, maxlength, min, max, etc.) poden definir-se en el mateix input sense la necessitat de definir una propietat en el selector del web component. -L'element label també s'ha hagut de definir amb slots per tal de situar-lo en el mateix nivell del DOM per tal d'assolit els requisits d'accessibilitat.`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#required",children:"Required"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#readonly",children:"Read Only"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-ajuda",children:"Amb ajuda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-decimals",children:"Amb decimals"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"required",children:"Required"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"read-only",children:"Read Only"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"amb-ajuda",children:"Amb ajuda"}),` -`,e.jsxs(n.p,{children:["Per mostrar el text d’ajuda cal indicar la propietat ",e.jsx(n.strong,{children:"helpText"}),"."]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(n.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(n.strong,{children:"maxlength"})," de l'input i també habilitar l'opció de veure el text d'ajuda."]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx(n.h3,{id:"amb-decimals",children:"Amb decimals"}),` -`,e.jsxs(n.p,{children:["L'input number ha de gestionar-se de manera nativa, per la qual cosa per a habilitar l'ús de decimals ha d'afegir-se la propietat ",e.jsx(n.code,{children:"step"})," dins del ",e.jsx(n.code,{children:""})," en lloc d'en el selector ",e.jsx(n.code,{children:""}),`. -step="any" >> permet qualsevol decimal -step="1" >> no permet decimals -step="0.5" >> permetrà 0.5; 1; 1.5; ... -step="0.1" >> permetrà 0.1; 0.2; 0.3; 0.4; ... -step="0.01" >> permetrà 0.01; 0.02; 0.03; 0.04; ...`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(n.p,{children:`Per requisits d'accessibilitat, tots els inputs han d'incloure una etiqueta (label) que indiqui als usuaris l'objectiu d'aquest -element. Per tant, en cas de no incloure una etiqueta a través de l'slot, és imprescindible que s'indiqui a l'input l'etiqueta corresponent -utilitzant etiquetes ARIA, com ara aria-label o aria-labelledby.`}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:"**2.0.0"}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular.",e.jsx("br",{}),"S'ha corregit l'estil del component quan no es defineix una etiqueta a través de l'slot corresponent."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Input Field i solucionat errors associats a formularis els impedien accedir al valor dels inputs o utilitzar components en formularis reactius d'Angular."})]})]})]})]})}function M(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(r,{...i})}):r(i)}export{M as default}; diff --git a/rc/assets/input.doc-CDgYqMbc.js b/rc/assets/input.doc-CDgYqMbc.js deleted file mode 100644 index dfaca3e..0000000 --- a/rc/assets/input.doc-CDgYqMbc.js +++ /dev/null @@ -1,79 +0,0 @@ -import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-BrkwxZr1.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-input",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.p,{children:`Per habilitar l’ús del component en formularis s’ha extret l’input fora del mateix utilitzant slots. -D’aquesta forma totes les propietats natives de l’input (placeholder, required, disabled, readonly, maxlength, min, max, etc.) poden definir-se en el mateix input sense la necessitat de definir una propietat en el selector del web component. -L'element label també s'ha hagut de definir amb slots per tal de situar-lo en el mateix nivell del DOM per tal d'assolit els requisits d'accessibilitat.`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#required",children:"Required"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#readonly",children:"Read Only"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-ajuda",children:"Amb ajuda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-decimals",children:"Amb decimals"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"required",children:"Required"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"read-only",children:"Read Only"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"amb-ajuda",children:"Amb ajuda"}),` -`,e.jsxs(n.p,{children:["Per mostrar el text d’ajuda cal indicar la propietat ",e.jsx(n.strong,{children:"helpText"}),"."]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(n.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(n.strong,{children:"maxlength"})," de l'input i també habilitar l'opció de veure el text d'ajuda."]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx(n.h3,{id:"amb-decimals",children:"Amb decimals"}),` -`,e.jsxs(n.p,{children:["L'input number ha de gestionar-se de manera nativa, per la qual cosa per a habilitar l'ús de decimals ha d'afegir-se la propietat ",e.jsx(n.code,{children:"step"})," dins del ",e.jsx(n.code,{children:""})," en lloc d'en el selector ",e.jsx(n.code,{children:""}),`. -step="any" >> permet qualsevol decimal -step="1" >> no permet decimals -step="0.5" >> permetrà 0.5; 1; 1.5; ... -step="0.1" >> permetrà 0.1; 0.2; 0.3; 0.4; ... -step="0.01" >> permetrà 0.01; 0.02; 0.03; 0.04; ...`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(n.p,{children:`Per requisits d'accessibilitat, tots els inputs han d'incloure una etiqueta (label) que indiqui als usuaris l'objectiu d'aquest -element. Per tant, en cas de no incloure una etiqueta a través de l'slot, és imprescindible que s'indiqui a l'input l'etiqueta corresponent -utilitzant etiquetes ARIA, com ara aria-label o aria-labelledby.`}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:"**2.0.0"}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular.",e.jsx("br",{}),"S'ha corregit l'estil del component quan no es defineix una etiqueta a través de l'slot corresponent."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Input Field i solucionat errors associats a formularis els impedien accedir al valor dels inputs o utilitzar components en formularis reactius d'Angular."})]})]})]})]})}function M(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(r,{...i})}):r(i)}export{M as default}; diff --git a/rc/assets/input.doc-C-h49lfn.js b/rc/assets/input.doc-D2D-HpSa.js similarity index 98% rename from rc/assets/input.doc-C-h49lfn.js rename to rc/assets/input.doc-D2D-HpSa.js index 86510cd..fb81438 100644 --- a/rc/assets/input.doc-C-h49lfn.js +++ b/rc/assets/input.doc-D2D-HpSa.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-BrkwxZr1.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-BrkwxZr1.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(t,{of:o}),` diff --git a/rc/assets/input.doc-hSNoErC1.js b/rc/assets/input.doc-hSNoErC1.js deleted file mode 100644 index 0771332..0000000 --- a/rc/assets/input.doc-hSNoErC1.js +++ /dev/null @@ -1,79 +0,0 @@ -import{ae as e,af as t,ag as a,ah as s,ai as d,ak as c}from"./index-0DKGoewk.js";import{u as l}from"./index-FamfD7PC.js";import{S as o,P as h,R as x,D as u,a as j,b as p,H as m,C as b,F as f,N as g}from"./input.stories-Jw1fSDL_.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-input",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(n.p,{children:["El component ",e.jsx(n.strong,{children:"dss-input"}),` ofereix als usuaris una entrada senzilla per -a un formulari, cal indicar si és de tipus text o number.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(d,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Modifica la icona situada a l'esquerra l’input."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"inputSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"lg"}),e.jsx(n.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"helpText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"invalid"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"removeMinWidth"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Deshabilita el min-width definit per defecte per als inputs. Si aquesta propietat està activa, l'ample s'adaptarà al 100% del seu contenidor, per la qual cosa s'haurà de definir externament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Aquesta propietat només és necessària per solucionar un problema en els formularis reactius d'Angular pel qual es produeix un solapament entre la label i el value de l'input en assignar el valor de manera externa.",e.jsx("br",{}),"Vegeu la secció de resolució de problemes."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.p,{children:`Per habilitar l’ús del component en formularis s’ha extret l’input fora del mateix utilitzant slots. -D’aquesta forma totes les propietats natives de l’input (placeholder, required, disabled, readonly, maxlength, min, max, etc.) poden definir-se en el mateix input sense la necessitat de definir una propietat en el selector del web component. -L'element label també s'ha hagut de definir amb slots per tal de situar-lo en el mateix nivell del DOM per tal d'assolit els requisits d'accessibilitat.`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onInputChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Event que torna el valor de l'input. Només disponible en fer clic en els botons de l'input tipus number."})]})})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#required",children:"Required"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#readonly",children:"Read Only"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-ajuda",children:"Amb ajuda"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-decimals",children:"Amb decimals"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"required",children:"Required"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"read-only",children:"Read Only"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h2,{id:"amb-ajuda",children:"Amb ajuda"}),` -`,e.jsxs(n.p,{children:["Per mostrar el text d’ajuda cal indicar la propietat ",e.jsx(n.strong,{children:"helpText"}),"."]}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(n.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(n.strong,{children:"maxlength"})," de l'input i també habilitar l'opció de veure el text d'ajuda."]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx(n.h3,{id:"amb-decimals",children:"Amb decimals"}),` -`,e.jsxs(n.p,{children:["L'input number ha de gestionar-se de manera nativa, per la qual cosa per a habilitar l'ús de decimals ha d'afegir-se la propietat ",e.jsx(n.code,{children:"step"})," dins del ",e.jsx(n.code,{children:""})," en lloc d'en el selector ",e.jsx(n.code,{children:""}),`. -step="any" >> permet qualsevol decimal -step="1" >> no permet decimals -step="0.5" >> permetrà 0.5; 1; 1.5; ... -step="0.1" >> permetrà 0.1; 0.2; 0.3; 0.4; ... -step="0.01" >> permetrà 0.01; 0.02; 0.03; 0.04; ...`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(n.p,{children:`Per requisits d'accessibilitat, tots els inputs han d'incloure una etiqueta (label) que indiqui als usuaris l'objectiu d'aquest -element. Per tant, en cas de no incloure una etiqueta a través de l'slot, és imprescindible que s'indiqui a l'input l'etiqueta corresponent -utilitzant etiquetes ARIA, com ara aria-label o aria-labelledby.`}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsx(n.h3,{id:"label-i-input-solapats-en-assignar-un-valor-en-els-formularis-reactius-dangular",children:"Label i input solapats en assignar un valor en els formularis reactius d'Angular."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema:"})}),` -`,e.jsx(n.p,{children:`S'ha detectat un problema en utilitzar el component en formularis reactius d'Angular, on, en actualitzar el component des d'Angular, -el DOM no s'actualitza directament, de manera que l'observador intern de l'input, que refresca la posició de la label quan s'afegeix un nou valor, -no s'està executant.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solució:"})}),` -`,e.jsx(n.p,{children:`Utilitzeu la nova propietat value, que actua com un listener per detectar directament quan s'ha modificat el valor i així restablir la posició dels -elements del component. Per evitar afegir complexitat a les iniciatives, el valor es pot capturar directament des del mateix formulari reactiu de la -manera següent:`}),` -`,e.jsx(c,{code:` - - - - -`}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:"**2.0.0"}),e.jsx(n.td,{children:"Refactor v2"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsxs(n.td,{children:["S'ha afegit la propietat value per resoldre un problema amb els formularis reactius d'Angular.",e.jsx("br",{}),"S'ha corregit l'estil del component quan no es defineix una etiqueta a través de l'slot corresponent."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"Refactor: reemplaça a l'actual Input Field i solucionat errors associats a formularis els impedien accedir al valor dels inputs o utilitzar components en formularis reactius d'Angular."})]})]})]})]})}function M(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(r,{...i})}):r(i)}export{M as default}; diff --git a/rc/assets/input.stories-Jw1fSDL_.js b/rc/assets/input.stories-Jw1fSDL_.js deleted file mode 100644 index f6de620..0000000 --- a/rc/assets/input.stories-Jw1fSDL_.js +++ /dev/null @@ -1,341 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const B={title:"Components/Input",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["md","lg"]},label:{name:"Label"},icon:{name:"Mostrar icona",control:{type:"boolean"}},required:{name:"Camp requerit",control:{type:"boolean"}},readonly:{name:"Només lectura",control:{type:"boolean"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},showPlaceholder:{name:"Mostrar placeholder",control:{type:"boolean"}},placeholder:{name:"Placeholder",if:{arg:"showPlaceholder"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció",if:{arg:"showDescription"}},showMaxLength:{name:"Mostrar màxim de caràcters",control:{type:"boolean"}},maxLength:{name:"Màxim de caràcters",control:{type:"number"},if:{arg:"showMaxLength"}}},parameters:{layout:"centered"}},s={name:"Playground - Text",args:{size:"lg",label:"Label",icon:!1,required:!1,readonly:!1,disabled:!1,showPlaceholder:!1,placeholder:"Type here",showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10},render:e=>{const t=e.showMaxLength?e.maxLength:null,l=e.showDescription?e.description:null;return n` - ${e.showPlaceholder?n` - - - ${e.showMaxLength?n` - - `:n` - - `} - - `:n` - - - ${e.showMaxLength?n` - - `:n` - - `} - - `} - `}},a={name:"Playground - Number",args:{size:"lg",label:"Label",icon:!1,required:!1,readonly:!1,disabled:!1,showPlaceholder:!1,placeholder:"Type here",showDescription:!1,description:"Help Text",showMaxLength:!1,maxLength:10},render:e=>{const t=e.showMaxLength?e.maxLength:null,l=e.showDescription?e.description:null;return n` - ${e.showPlaceholder?n` - - - ${e.showMaxLength?n` - - `:n` - - `} - - `:n` - - - ${e.showMaxLength?n` - - `:n` - - `} - - `} - `}},r={tags:["!dev"],render:()=>n` - - - - - `},i={tags:["!dev"],render:()=>n` - - - - - `},o={tags:["!dev"],render:()=>n` - - - - - `},d={tags:["!dev"],render:()=>n` - - - - - - - - - `},p={tags:["!dev"],render:()=>n` - - - - - `},u={tags:["!dev"],render:()=>n` - - - - - `},c={tags:["!dev"],render:()=>n` - - - - - `},b={tags:["!dev"],render:()=>n` - - - - - - - `};var h,m,y;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ - name: 'Playground - Text', - args: { - size: 'lg', - label: 'Label', - icon: false, - required: false, - readonly: false, - disabled: false, - showPlaceholder: false, - placeholder: 'Type here', - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10 - }, - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - \${args.showPlaceholder ? html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \` : html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \`} - \`; - } -}`,...(y=(m=s.parameters)==null?void 0:m.docs)==null?void 0:y.source}}};var x,$,g;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ - name: 'Playground - Number', - args: { - size: 'lg', - label: 'Label', - icon: false, - required: false, - readonly: false, - disabled: false, - showPlaceholder: false, - placeholder: 'Type here', - showDescription: false, - description: 'Help Text', - showMaxLength: false, - maxLength: 10 - }, - render: (args: any) => { - const maxlength = args.showMaxLength ? args.maxLength : null; - const description = args.showDescription ? args.description : null; - return html\` - \${args.showPlaceholder ? html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \` : html\` - - - \${args.showMaxLength ? html\` - - \` : html\` - - \`} - - \`} - \`; - } -}`,...(g=($=a.parameters)==null?void 0:$.docs)==null?void 0:g.source}}};var f,T,L;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(L=(T=r.parameters)==null?void 0:T.docs)==null?void 0:L.source}}};var q,w,M;i.parameters={...i.parameters,docs:{...(q=i.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(M=(w=i.parameters)==null?void 0:w.docs)==null?void 0:M.source}}};var z,S,I;o.parameters={...o.parameters,docs:{...(z=o.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(I=(S=o.parameters)==null?void 0:S.docs)==null?void 0:I.source}}};var P,v,D;d.parameters={...d.parameters,docs:{...(P=d.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - \`; - } -}`,...(D=(v=d.parameters)==null?void 0:v.docs)==null?void 0:D.source}}};var N,H,_;p.parameters={...p.parameters,docs:{...(N=p.parameters)==null?void 0:N.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(_=(H=p.parameters)==null?void 0:H.docs)==null?void 0:_.source}}};var R,O,C;u.parameters={...u.parameters,docs:{...(R=u.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(C=(O=u.parameters)==null?void 0:O.docs)==null?void 0:C.source}}};var F,j,k;c.parameters={...c.parameters,docs:{...(F=c.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - \`; - } -}`,...(k=(j=c.parameters)==null?void 0:j.docs)==null?void 0:k.source}}};var A,G,E;b.parameters={...b.parameters,docs:{...(A=b.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - \`; - } -}`,...(E=(G=b.parameters)==null?void 0:G.docs)==null?void 0:E.source}}};const J=["PlaygroundText","PlaygroundNumber","Required","Disabled","ReadOnly","Size","Help","Counter","Float","NoLabel"],Q=Object.freeze(Object.defineProperty({__proto__:null,Counter:u,Disabled:i,Float:c,Help:p,NoLabel:b,PlaygroundNumber:a,PlaygroundText:s,ReadOnly:o,Required:r,Size:d,__namedExportsOrder:J,default:B},Symbol.toStringTag,{value:"Module"}));export{u as C,i as D,c as F,p as H,b as N,s as P,r as R,Q as S,o as a,d as b}; diff --git a/rc/assets/intro.doc-B_5eXwlV.js b/rc/assets/intro.doc-C-Qu0EZA.js similarity index 92% rename from rc/assets/intro.doc-B_5eXwlV.js rename to rc/assets/intro.doc-C-Qu0EZA.js index 43e6258..2c2b531 100644 --- a/rc/assets/intro.doc-B_5eXwlV.js +++ b/rc/assets/intro.doc-C-Qu0EZA.js @@ -1,4 +1,4 @@ -import{ae as e,af as o}from"./index-CQXi_Y6g.js";import{u as n}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` +import{ae as e,af as o}from"./index-CMvVeEhu.js";import{u as n}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` `,e.jsxs("div",{className:"sb-landing",children:[e.jsx("img",{className:"sb-landing-img",src:"./storybook_title.svg",alt:"Storybook Intro"}),e.jsx(i.p,{children:"El Sistema de disseny Salut és un llenguatge de disseny unificat per tal de donar suport a l'univers digital de Salut, que garanteix que el disseny sigui accessible, inclusiu i útil."}),e.jsxs(i.p,{children:["En el nostre ",e.jsx(i.strong,{children:"storybook"})," podràs trobar la ",e.jsx(i.strong,{children:"documentació tècnica"})," per poder implementar des de les foundations fins als components i col·leccions que formen la biblioteca del design system."]}),e.jsx("br",{}),e.jsx(i.h2,{id:"enllaços-dinterès",children:"Enllaços d'interès"}),e.jsxs("div",{className:"sb-landing-links",children:[e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/990678-canals-de-comunicacio",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"chat",tiletitle:"Canals de comunicació",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-en-angular",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en Angular",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-enreact",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en React",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})})]}),e.jsx("br",{}),e.jsx(i.h2,{id:"recursos",children:"Recursos"}),e.jsxs(i.ul,{children:[` `,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` `,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` diff --git a/rc/assets/intro.doc-CSsF4rq5.js b/rc/assets/intro.doc-CSsF4rq5.js deleted file mode 100644 index ee7cc2f..0000000 --- a/rc/assets/intro.doc-CSsF4rq5.js +++ /dev/null @@ -1,6 +0,0 @@ -import{ae as e,af as o}from"./index-0DKGoewk.js";import{u as n}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` -`,e.jsxs("div",{className:"sb-landing",children:[e.jsx("img",{className:"sb-landing-img",src:"./storybook_title.svg",alt:"Storybook Intro"}),e.jsx(i.p,{children:"El Sistema de disseny Salut és un llenguatge de disseny unificat per tal de donar suport a l'univers digital de Salut, que garanteix que el disseny sigui accessible, inclusiu i útil."}),e.jsxs(i.p,{children:["En el nostre ",e.jsx(i.strong,{children:"storybook"})," podràs trobar la ",e.jsx(i.strong,{children:"documentació tècnica"})," per poder implementar des de les foundations fins als components i col·leccions que formen la biblioteca del design system."]}),e.jsx("br",{}),e.jsx(i.h2,{id:"enllaços-dinterès",children:"Enllaços d'interès"}),e.jsxs("div",{className:"sb-landing-links",children:[e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/990678-canals-de-comunicacio",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"chat",tiletitle:"Canals de comunicació",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-en-angular",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en Angular",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-enreact",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en React",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})})]}),e.jsx("br",{}),e.jsx(i.h2,{id:"recursos",children:"Recursos"}),e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})]})}function p(t={}){const{wrapper:i}={...n(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(s,{...t})}):s(t)}export{p as default}; diff --git a/rc/assets/intro.doc-DvE9P8W9.js b/rc/assets/intro.doc-DvE9P8W9.js deleted file mode 100644 index 132c25a..0000000 --- a/rc/assets/intro.doc-DvE9P8W9.js +++ /dev/null @@ -1,6 +0,0 @@ -import{ae as e,af as o}from"./index-CcF9BsMG.js";import{u as n}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` -`,e.jsxs("div",{className:"sb-landing",children:[e.jsx("img",{className:"sb-landing-img",src:"./storybook_title.svg",alt:"Storybook Intro"}),e.jsx(i.p,{children:"El Sistema de disseny Salut és un llenguatge de disseny unificat per tal de donar suport a l'univers digital de Salut, que garanteix que el disseny sigui accessible, inclusiu i útil."}),e.jsxs(i.p,{children:["En el nostre ",e.jsx(i.strong,{children:"storybook"})," podràs trobar la ",e.jsx(i.strong,{children:"documentació tècnica"})," per poder implementar des de les foundations fins als components i col·leccions que formen la biblioteca del design system."]}),e.jsx("br",{}),e.jsx(i.h2,{id:"enllaços-dinterès",children:"Enllaços d'interès"}),e.jsxs("div",{className:"sb-landing-links",children:[e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/990678-canals-de-comunicacio",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"chat",tiletitle:"Canals de comunicació",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-en-angular",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en Angular",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-enreact",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en React",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})})]}),e.jsx("br",{}),e.jsx(i.h2,{id:"recursos",children:"Recursos"}),e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})]})}function p(t={}){const{wrapper:i}={...n(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(s,{...t})}):s(t)}export{p as default}; diff --git a/rc/assets/intro.doc-EFhTXP5T.js b/rc/assets/intro.doc-EFhTXP5T.js deleted file mode 100644 index 90e13a7..0000000 --- a/rc/assets/intro.doc-EFhTXP5T.js +++ /dev/null @@ -1,6 +0,0 @@ -import{ae as e,af as o}from"./index-Dxx82nxn.js";import{u as n}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` -`,e.jsxs("div",{className:"sb-landing",children:[e.jsx("img",{className:"sb-landing-img",src:"./storybook_title.svg",alt:"Storybook Intro"}),e.jsx(i.p,{children:"El Sistema de disseny Salut és un llenguatge de disseny unificat per tal de donar suport a l'univers digital de Salut, que garanteix que el disseny sigui accessible, inclusiu i útil."}),e.jsxs(i.p,{children:["En el nostre ",e.jsx(i.strong,{children:"storybook"})," podràs trobar la ",e.jsx(i.strong,{children:"documentació tècnica"})," per poder implementar des de les foundations fins als components i col·leccions que formen la biblioteca del design system."]}),e.jsx("br",{}),e.jsx(i.h2,{id:"enllaços-dinterès",children:"Enllaços d'interès"}),e.jsxs("div",{className:"sb-landing-links",children:[e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/990678-canals-de-comunicacio",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"chat",tiletitle:"Canals de comunicació",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-en-angular",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en Angular",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-enreact",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en React",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})})]}),e.jsx("br",{}),e.jsx(i.h2,{id:"recursos",children:"Recursos"}),e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})]})}function p(t={}){const{wrapper:i}={...n(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(s,{...t})}):s(t)}export{p as default}; diff --git a/rc/assets/intro.doc-jyIs7-GE.js b/rc/assets/intro.doc-jyIs7-GE.js deleted file mode 100644 index 0db13f7..0000000 --- a/rc/assets/intro.doc-jyIs7-GE.js +++ /dev/null @@ -1,6 +0,0 @@ -import{ae as e,af as o}from"./index-D51CeFyD.js";import{u as n}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function s(t){const i={a:"a",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Introducció"}),` -`,e.jsxs("div",{className:"sb-landing",children:[e.jsx("img",{className:"sb-landing-img",src:"./storybook_title.svg",alt:"Storybook Intro"}),e.jsx(i.p,{children:"El Sistema de disseny Salut és un llenguatge de disseny unificat per tal de donar suport a l'univers digital de Salut, que garanteix que el disseny sigui accessible, inclusiu i útil."}),e.jsxs(i.p,{children:["En el nostre ",e.jsx(i.strong,{children:"storybook"})," podràs trobar la ",e.jsx(i.strong,{children:"documentació tècnica"})," per poder implementar des de les foundations fins als components i col·leccions que formen la biblioteca del design system."]}),e.jsx("br",{}),e.jsx(i.h2,{id:"enllaços-dinterès",children:"Enllaços d'interès"}),e.jsxs("div",{className:"sb-landing-links",children:[e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/990678-canals-de-comunicacio",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"chat",tiletitle:"Canals de comunicació",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-en-angular",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en Angular",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})}),e.jsx("a",{href:"https://zeroheight.com/12913d2f0/p/35123c-utilitzacio-del-ds-enreact",target:"blank",children:e.jsx("dss-tile",{type:"button",icon:"install_desktop",tiletitle:"Utilització en React",description:"Lorem ipsum dolor sit amaet.",onClick:"navigateTo('xxxxxx')"})})]}),e.jsx("br",{}),e.jsx(i.h2,{id:"recursos",children:"Recursos"}),e.jsxs(i.ul,{children:[` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(i.li,{children:e.jsx(i.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})]})}function p(t={}){const{wrapper:i}={...n(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(s,{...t})}):s(t)}export{p as default}; diff --git a/rc/assets/item-list.doc-BSlIJJyY.js b/rc/assets/item-list.doc-BSlIJJyY.js deleted file mode 100644 index 07fed4f..0000000 --- a/rc/assets/item-list.doc-BSlIJJyY.js +++ /dev/null @@ -1,51 +0,0 @@ -import{ae as e,af as r,ag as c,ah as i,ai as l}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as h,P as a,B as x,D as o,A as j,T as m,a as u,b as p}from"./item-list.stories-DtUWLPOs.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - display: grid; - width: 400px; - gap: 24px; - } - `}),` -`,e.jsx(r,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Elements en format de llista, amb informació i/o accions associades."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:a}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-item-list",children:"dss-item-list"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en el component."})]})})]}),` -`,e.jsx(n.h3,{id:"items",children:"items"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Títol que es mostrarà a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"subtitle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Subtítol que es mostrarà a cada element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"decorativeIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona decorativa que es mostrarà a l'esquerra del títol. Si no s'indica cap icona no es mostrarà res."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"decorativeIconType"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'default'"}),e.jsx(n.td,{children:"Tipus d'icona decorativa. Pot ser: default, success, error, info o disabled."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona per a l'icon-button mostrat a la dreta dels elements. Si no es defineix aquesta propietat, l'icon-button no apareixerà."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIconType"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'primary'"}),e.jsx(n.td,{children:"Tipus d'icon-button mostrat. Pot ser: default, primary, error, warning, success o info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"badgeText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostrarà dins del badge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"badgeSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"sm"}),e.jsx(n.td,{children:"Defineix la mida del badge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"badgeState"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"badgeIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Depèn de l'estat"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"items"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClickItem"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Custom Event"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna l'element amb una icona d'acció que ha estat clicada."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#defaul",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-decorative-icon",children:"Amb decorative icon"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-action-icon",children:"Amb action icon"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-badge",children:"Amb badge"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"amb-decorative-icon",children:"Amb decorative icon"}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(n.h3,{id:"amb-action-icon",children:"Amb action icon"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h3,{id:"tipus-dicona-decorativa",children:"Tipus d'icona decorativa."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(n.h3,{id:"tipus-dicona-dacció",children:"Tipus d'icona d'acció."}),` -`,e.jsx(i,{of:u}),` -`,e.jsx(n.h3,{id:"amb-badge",children:"Amb badge"}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"S'ha afegit l'opció d'incloure una insígnia dins de cada element de la llista."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou Web Component."})]})]})]})]})}function C(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(d,{...s})}):d(s)}export{C as default}; diff --git a/rc/assets/item-list.doc-CMZkz1pJ.js b/rc/assets/item-list.doc-CMZkz1pJ.js deleted file mode 100644 index 5b7ecf9..0000000 --- a/rc/assets/item-list.doc-CMZkz1pJ.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as r,ag as c,ah as n,ai as l}from"./index-D51CeFyD.js";import{u as s}from"./index-Dvvi2AU9.js";import{S as h,P as a,B as x,D as j,A as o,T as p,a as u,b as g,W as m}from"./item-list.stories-C70knNWo.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const d={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - display: grid; - width: 400px; - gap: 24px; - } - `}),` -`,e.jsx(r,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(d.p,{children:"Elements en format de llista, amb informació i/o accions associades."}),` -`,e.jsxs(d.blockquote,{children:[` -`,e.jsx(d.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(l,{}),` -`,e.jsx(d.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(d.h3,{id:"dss-item-list",children:"dss-item-list"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"widget"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Habilita la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"items",children:"items"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"title"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Títol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"subtitle"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Subtítol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona decorativa que es mostrarà a l'esquerra del títol. Si no s'indica cap icona no es mostrarà res."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'default'"}),e.jsx(d.td,{children:"Tipus d'icona decorativa. Pot ser: default, success, error, info o disabled."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona per a l'icon-button mostrat a la dreta dels elements. Si no es defineix aquesta propietat, l'icon-button no apareixerà."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'primary'"}),e.jsx(d.td,{children:"Tipus d'icon-button mostrat. Pot ser: default, primary, error, warning, success o info."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeText"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text que es mostrarà dins del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeSize"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"sm"}),e.jsx(d.td,{children:"Defineix la mida del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"Depèn de l'estat"}),e.jsx(d.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"date"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Data mostrada a l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a l'esquerra. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a la dreta. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"description"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text mostrat com a descripció de l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icons"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetIcon[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icones mostrades com a informació. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actions"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetAction[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Accions disponibles per a cada element. Només en la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"widgeticon",children:"WidgetIcon"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsx(d.tbody,{children:e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]})})]}),` -`,e.jsx(d.h3,{id:"widgetaction",children:"WidgetAction"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"type"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Tipus de icon button."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"action"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom de l'acció que retornarà el component en fer clic al botó."})]})]})]}),` -`,e.jsx(d.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickItem"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Esdeveniment que retorna l'element amb una icona d'acció que ha estat clicada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickWidgetAction"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Notifica quan s'ha fet clic en alguna de les accions de l'element de tipus widget."})]})]})]}),` -`,e.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(d.ul,{children:[` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#defaul",children:"Default"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-decorative-icon",children:"Amb decorative icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-action-icon",children:"Amb action icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-badge",children:"Amb badge"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"default",children:"Default"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(d.h3,{id:"amb-decorative-icon",children:"Amb decorative icon"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(d.h3,{id:"amb-action-icon",children:"Amb action icon"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(d.h3,{id:"tipus-dicona-decorativa",children:"Tipus d'icona decorativa."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(d.h3,{id:"tipus-dicona-dacció",children:"Tipus d'icona d'acció."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(d.h3,{id:"amb-badge",children:"Amb badge"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(d.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Versió"}),e.jsx(d.th,{children:"Canvis"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"2.0.0"})}),e.jsx(d.td,{children:"Refactor v2."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.6"})}),e.jsx(d.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.2"})}),e.jsx(d.td,{children:"S'ha afegit l'opció d'incloure una insígnia dins de cada element de la llista."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.11.0"})}),e.jsx(d.td,{children:"Nou Web Component."})]})]})]})]})}function O(i={}){const{wrapper:d}={...s(),...i.components};return d?e.jsx(d,{...i,children:e.jsx(t,{...i})}):t(i)}export{O as default}; diff --git a/rc/assets/item-list.doc-CdTbK3Oq.js b/rc/assets/item-list.doc-CdTbK3Oq.js deleted file mode 100644 index b274852..0000000 --- a/rc/assets/item-list.doc-CdTbK3Oq.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as r,ag as c,ah as n,ai as l}from"./index-Dxx82nxn.js";import{u as s}from"./index-w933pGNw.js";import{S as h,P as a,B as x,D as j,A as o,T as p,a as u,b as g,W as m}from"./item-list.stories-C70knNWo.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const d={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - display: grid; - width: 400px; - gap: 24px; - } - `}),` -`,e.jsx(r,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(d.p,{children:"Elements en format de llista, amb informació i/o accions associades."}),` -`,e.jsxs(d.blockquote,{children:[` -`,e.jsx(d.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(l,{}),` -`,e.jsx(d.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(d.h3,{id:"dss-item-list",children:"dss-item-list"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"widget"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Habilita la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"items",children:"items"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"title"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Títol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"subtitle"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Subtítol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona decorativa que es mostrarà a l'esquerra del títol. Si no s'indica cap icona no es mostrarà res."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'default'"}),e.jsx(d.td,{children:"Tipus d'icona decorativa. Pot ser: default, success, error, info o disabled."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona per a l'icon-button mostrat a la dreta dels elements. Si no es defineix aquesta propietat, l'icon-button no apareixerà."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'primary'"}),e.jsx(d.td,{children:"Tipus d'icon-button mostrat. Pot ser: default, primary, error, warning, success o info."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeText"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text que es mostrarà dins del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeSize"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"sm"}),e.jsx(d.td,{children:"Defineix la mida del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"Depèn de l'estat"}),e.jsx(d.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"date"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Data mostrada a l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a l'esquerra. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a la dreta. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"description"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text mostrat com a descripció de l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icons"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetIcon[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icones mostrades com a informació. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actions"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetAction[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Accions disponibles per a cada element. Només en la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"widgeticon",children:"WidgetIcon"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsx(d.tbody,{children:e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]})})]}),` -`,e.jsx(d.h3,{id:"widgetaction",children:"WidgetAction"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"type"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Tipus de icon button."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"action"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom de l'acció que retornarà el component en fer clic al botó."})]})]})]}),` -`,e.jsx(d.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickItem"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Esdeveniment que retorna l'element amb una icona d'acció que ha estat clicada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickWidgetAction"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Notifica quan s'ha fet clic en alguna de les accions de l'element de tipus widget."})]})]})]}),` -`,e.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(d.ul,{children:[` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#defaul",children:"Default"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-decorative-icon",children:"Amb decorative icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-action-icon",children:"Amb action icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-badge",children:"Amb badge"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"default",children:"Default"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(d.h3,{id:"amb-decorative-icon",children:"Amb decorative icon"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(d.h3,{id:"amb-action-icon",children:"Amb action icon"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(d.h3,{id:"tipus-dicona-decorativa",children:"Tipus d'icona decorativa."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(d.h3,{id:"tipus-dicona-dacció",children:"Tipus d'icona d'acció."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(d.h3,{id:"amb-badge",children:"Amb badge"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(d.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Versió"}),e.jsx(d.th,{children:"Canvis"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"2.0.0"})}),e.jsx(d.td,{children:"Refactor v2."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.6"})}),e.jsx(d.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.2"})}),e.jsx(d.td,{children:"S'ha afegit l'opció d'incloure una insígnia dins de cada element de la llista."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.11.0"})}),e.jsx(d.td,{children:"Nou Web Component."})]})]})]})]})}function O(i={}){const{wrapper:d}={...s(),...i.components};return d?e.jsx(d,{...i,children:e.jsx(t,{...i})}):t(i)}export{O as default}; diff --git a/rc/assets/item-list.doc-BJLrhTuF.js b/rc/assets/item-list.doc-CmMyNDPM.js similarity index 98% rename from rc/assets/item-list.doc-BJLrhTuF.js rename to rc/assets/item-list.doc-CmMyNDPM.js index ea9d457..1ac20a9 100644 --- a/rc/assets/item-list.doc-BJLrhTuF.js +++ b/rc/assets/item-list.doc-CmMyNDPM.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as c,ah as n,ai as l}from"./index-CQXi_Y6g.js";import{u as s}from"./index-CkYTJ7Ip.js";import{S as h,P as a,B as x,D as j,A as o,T as p,a as u,b as g,W as m}from"./item-list.stories-C70knNWo.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const d={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as c,ah as n,ai as l}from"./index-CMvVeEhu.js";import{u as s}from"./index-C5hQraAl.js";import{S as h,P as a,B as x,D as j,A as o,T as p,a as u,b as g,W as m}from"./item-list.stories-C70knNWo.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const d={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper{ flex-direction: column; align-items: flex-start; diff --git a/rc/assets/item-list.doc-HjWuSNw-.js b/rc/assets/item-list.doc-HjWuSNw-.js deleted file mode 100644 index b9b6b20..0000000 --- a/rc/assets/item-list.doc-HjWuSNw-.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as r,ag as c,ah as n,ai as l}from"./index-0DKGoewk.js";import{u as s}from"./index-FamfD7PC.js";import{S as h,P as a,B as x,D as j,A as o,T as p,a as u,b as g,W as m}from"./item-list.stories-BpY1fROV.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(i){const d={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .wrapper { - display: grid; - width: 400px; - gap: 24px; - } - `}),` -`,e.jsx(r,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(d.p,{children:"Elements en format de llista, amb informació i/o accions associades."}),` -`,e.jsxs(d.blockquote,{children:[` -`,e.jsx(d.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(l,{}),` -`,e.jsx(d.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(d.h3,{id:"dss-item-list",children:"dss-item-list"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"widget"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Habilita la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"items",children:"items"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"title"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Títol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"subtitle"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Subtítol que es mostrarà a cada element."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona decorativa que es mostrarà a l'esquerra del títol. Si no s'indica cap icona no es mostrarà res."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"decorativeIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'default'"}),e.jsx(d.td,{children:"Tipus d'icona decorativa. Pot ser: default, success, error, info o disabled."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona per a l'icon-button mostrat a la dreta dels elements. Si no es defineix aquesta propietat, l'icon-button no apareixerà."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actionIconType"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"'primary'"}),e.jsx(d.td,{children:"Tipus d'icon-button mostrat. Pot ser: default, primary, error, warning, success o info."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeText"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text que es mostrarà dins del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeSize"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"sm"}),e.jsx(d.td,{children:"Defineix la mida del badge."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estil que mostrarà el component en funció del nivell de criticitat o informació. Veure llistat de correspondència per saber quin estat definir."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"badgeIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"Depèn de l'estat"}),e.jsx(d.td,{children:"Sobreescriu la icona mostrada. Per defecte cada estat tindrà una icona assignada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"date"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Data mostrada a l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a l'esquerra. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeLeftIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightState"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Estat per a la icona mostrada a la dreta. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"iconBadgeRightIcon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Sobrescriu la icona associada a l'estat per defecte. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"description"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Text mostrat com a descripció de l'element. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icons"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetIcon[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icones mostrades com a informació. Només en la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"actions"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Opcional"}),e.jsx(d.td,{children:"WidgetAction[]"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Accions disponibles per a cada element. Només en la variant de widget."})]})]})]}),` -`,e.jsx(d.h3,{id:"widgeticon",children:"WidgetIcon"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsx(d.tbody,{children:e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]})})]}),` -`,e.jsx(d.h3,{id:"widgetaction",children:"WidgetAction"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"icon"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Icona mostrada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"type"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Tipus de icon button."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"action"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Nom de l'acció que retornarà el component en fer clic al botó."})]})]})]}),` -`,e.jsx(d.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Name"}),e.jsx(d.th,{children:"Àmbit"}),e.jsx(d.th,{children:"Condition"}),e.jsx(d.th,{children:"Type"}),e.jsx(d.th,{children:"Default"}),e.jsx(d.th,{children:"Description"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"items"})}),e.jsx(d.td,{children:"Input"}),e.jsx(d.td,{children:"Requerida"}),e.jsx(d.td,{children:"string"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Array d'elements que es mostraran en el component."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickItem"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Esdeveniment que retorna l'element amb una icona d'acció que ha estat clicada."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"onClickWidgetAction"})}),e.jsx(d.td,{children:"Output"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Custom Event"}),e.jsx(d.td,{children:"-"}),e.jsx(d.td,{children:"Notifica quan s'ha fet clic en alguna de les accions de l'element de tipus widget."})]})]})]}),` -`,e.jsx(d.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(d.ul,{children:[` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#defaul",children:"Default"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-decorative-icon",children:"Amb decorative icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-action-icon",children:"Amb action icon"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#amb-badge",children:"Amb badge"})}),` -`,e.jsx(d.li,{children:e.jsx(d.a,{href:"#widget",children:"Widget"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h3,{id:"default",children:"Default"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(d.h3,{id:"amb-decorative-icon",children:"Amb decorative icon"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(d.h3,{id:"amb-action-icon",children:"Amb action icon"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(d.h3,{id:"tipus-dicona-decorativa",children:"Tipus d'icona decorativa."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(d.h3,{id:"tipus-dicona-dacció",children:"Tipus d'icona d'acció."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(d.h3,{id:"amb-badge",children:"Amb badge"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(d.h3,{id:"widget",children:"Widget"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(d.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(d.table,{children:[e.jsx(d.thead,{children:e.jsxs(d.tr,{children:[e.jsx(d.th,{children:"Versió"}),e.jsx(d.th,{children:"Canvis"})]})}),e.jsxs(d.tbody,{children:[e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"2.0.0"})}),e.jsx(d.td,{children:"Refactor v2."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.6"})}),e.jsx(d.td,{children:"S'ha afegit la variant de widget."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.12.2"})}),e.jsx(d.td,{children:"S'ha afegit l'opció d'incloure una insígnia dins de cada element de la llista."})]}),e.jsxs(d.tr,{children:[e.jsx(d.td,{children:e.jsx(d.strong,{children:"1.11.0"})}),e.jsx(d.td,{children:"Nou Web Component."})]})]})]})]})}function O(i={}){const{wrapper:d}={...s(),...i.components};return d?e.jsx(d,{...i,children:e.jsx(t,{...i})}):t(i)}export{O as default}; diff --git a/rc/assets/item-list.stories-BpY1fROV.js b/rc/assets/item-list.stories-BpY1fROV.js deleted file mode 100644 index 3d7cda0..0000000 --- a/rc/assets/item-list.stories-BpY1fROV.js +++ /dev/null @@ -1,210 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const R={title:"Components/Item List",argTypes:{elements:{name:"Nombre de ítems",control:{type:"number",max:5,min:1}},title:{name:"Titol",control:{type:"text"}},subtitle:{name:"Subtitol",control:{type:"text"}},showDecorativeIcon:{name:"Mostrar decorative icon",control:{type:"boolean"}},decorativeIcon:{name:"Decorative Icon",control:{type:"text"},if:{arg:"showDecorativeIcon",truthy:!0}},decorativeIconType:{name:"Decorative Icon Tipus",control:{type:"select"},options:["default","success","error","info","disabled"],if:{arg:"showDecorativeIcon",truthy:!0}},showActionIcon:{name:"Mostrar action icon",control:{type:"boolean"}},actionIcon:{name:"Action Icon",control:{type:"text"},if:{arg:"showActionIcon",truthy:!0}},actionIconType:{name:"Decorative Icon Tipus",control:{type:"select"},options:["default","primary","error","warning","success","info"],if:{arg:"showActionIcon",truthy:!0}},showBadge:{name:"Mostrar badge",control:{type:"boolean"}},badgeText:{name:"Badge Text",control:{type:"text"},if:{arg:"showBadge",truthy:!0}},badgeSize:{name:"Badge mida",control:{type:"select"},options:["sm","md","lg"],if:{arg:"showBadge",truthy:!0}},badgeState:{name:"Decorative Icon Tipus",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"],if:{arg:"showBadge",truthy:!0}}},parameters:{layout:"centered"}},i={args:{elements:3,title:"Title",subtitle:"Subtitle",showDecorativeIcon:"true",decorativeIcon:"add_box",decorativeIconType:"default",showActionIcon:!0,actionIcon:"add_box",actionIconType:"primary",showBadge:!1,badgeText:"Text",badgeSize:"sm",badgeState:"correct"},render:e=>t` -
- -
- `},o={tags:["!dev"],render:()=>t` -
- -
- `},a={tags:["!dev"],render:()=>t` -
- -
- `},d={tags:["!dev"],render:()=>t` -
- -
- `},c={tags:["!dev"],render:()=>t` -
- -
- `},s={tags:["!dev"],render:()=>t` -
- -
- `},r={tags:["!dev"],render:()=>t` -
- -
- `},n={tags:["!dev"],render:()=>t` -
- - -
- `};var b,u,I;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - args: { - elements: 3, - title: 'Title', - subtitle: 'Subtitle', - showDecorativeIcon: 'true', - decorativeIcon: 'add_box', - decorativeIconType: 'default', - showActionIcon: true, - actionIcon: 'add_box', - actionIconType: 'primary', - showBadge: false, - badgeText: 'Text', - badgeSize: 'sm', - badgeState: 'correct' - }, - render: (args: any) => { - const getItems = () => { - const storyItems: any[] = []; - Array.from({ - length: args.elements - }, () => storyItems.push({ - title: args.title, - subtitle: args.subtitle, - decorativeIcon: args.showDecorativeIcon ? args.decorativeIcon : null, - decorativeIconType: args.decorativeIconType, - actionIcon: args.showActionIcon ? args.actionIcon : null, - actionIconType: args.actionIconType, - badgeText: args.showBadge ? args.badgeText : null, - badgeSize: args.badgeSize, - badgeState: args.badgeState - })); - return storyItems; - }; - return html\` -
- -
- \`; - } -}`,...(I=(u=i.parameters)==null?void 0:u.docs)==null?void 0:I.source}}};var m,g,p;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(p=(g=o.parameters)==null?void 0:g.docs)==null?void 0:p.source}}};var v,x,T;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(T=(x=a.parameters)==null?void 0:x.docs)==null?void 0:T.source}}};var y,_,h;d.parameters={...d.parameters,docs:{...(y=d.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(h=(_=d.parameters)==null?void 0:_.docs)==null?void 0:h.source}}};var S,w,f;c.parameters={...c.parameters,docs:{...(S=c.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(f=(w=c.parameters)==null?void 0:w.docs)==null?void 0:f.source}}};var L,B,D;s.parameters={...s.parameters,docs:{...(L=s.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(D=(B=s.parameters)==null?void 0:B.docs)==null?void 0:D.source}}};var A,O,z;r.parameters={...r.parameters,docs:{...(A=r.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(z=(O=r.parameters)==null?void 0:O.docs)==null?void 0:z.source}}};var P,W,G;n.parameters={...n.parameters,docs:{...(P=n.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - -
- \`; - } -}`,...(G=(W=n.parameters)==null?void 0:W.docs)==null?void 0:G.source}}};const E=["Playground","ByDefault","DecorativeIcon","ActionIcon","TypesDecorativeIcon","TypesActionIcon","Badge","Widget"],$=Object.freeze(Object.defineProperty({__proto__:null,ActionIcon:d,Badge:r,ByDefault:o,DecorativeIcon:a,Playground:i,TypesActionIcon:s,TypesDecorativeIcon:c,Widget:n,__namedExportsOrder:E,default:R},Symbol.toStringTag,{value:"Module"}));export{d as A,o as B,a as D,i as P,$ as S,c as T,n as W,s as a,r as b}; diff --git a/rc/assets/item-list.stories-DtUWLPOs.js b/rc/assets/item-list.stories-DtUWLPOs.js deleted file mode 100644 index e5c45ae..0000000 --- a/rc/assets/item-list.stories-DtUWLPOs.js +++ /dev/null @@ -1,181 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const P={title:"Components/Item List",argTypes:{elements:{name:"Nombre de ítems",control:{type:"number",max:5,min:1}},title:{name:"Titol",control:{type:"text"}},subtitle:{name:"Subtitol",control:{type:"text"}},showDecorativeIcon:{name:"Mostrar decorative icon",control:{type:"boolean"}},decorativeIcon:{name:"Decorative Icon",control:{type:"text"},if:{arg:"showDecorativeIcon",truthy:!0}},decorativeIconType:{name:"Decorative Icon Tipus",control:{type:"select"},options:["default","success","error","info","disabled"],if:{arg:"showDecorativeIcon",truthy:!0}},showActionIcon:{name:"Mostrar action icon",control:{type:"boolean"}},actionIcon:{name:"Action Icon",control:{type:"text"},if:{arg:"showActionIcon",truthy:!0}},actionIconType:{name:"Decorative Icon Tipus",control:{type:"select"},options:["default","primary","error","warning","success","info"],if:{arg:"showActionIcon",truthy:!0}},showBadge:{name:"Mostrar badge",control:{type:"boolean"}},badgeText:{name:"Badge Text",control:{type:"text"},if:{arg:"showBadge",truthy:!0}},badgeSize:{name:"Badge mida",control:{type:"select"},options:["sm","md","lg"],if:{arg:"showBadge",truthy:!0}},badgeState:{name:"Decorative Icon Tipus",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"],if:{arg:"showBadge",truthy:!0}}},parameters:{layout:"centered"}},o={args:{elements:3,title:"Title",subtitle:"Subtitle",showDecorativeIcon:"true",decorativeIcon:"add_box",decorativeIconType:"default",showActionIcon:!0,actionIcon:"add_box",actionIconType:"primary",showBadge:!1,badgeText:"Text",badgeSize:"sm",badgeState:"correct"},render:e=>t` -
- -
- `},i={tags:["!dev"],render:()=>t` -
- -
- `},a={tags:["!dev"],render:()=>t` -
- -
- `},d={tags:["!dev"],render:()=>t` -
- -
- `},s={tags:["!dev"],render:()=>t` -
- -
- `},c={tags:["!dev"],render:()=>t` -
- -
- `},r={tags:["!dev"],render:()=>t` -
- -
- `};var l,b,u;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ - args: { - elements: 3, - title: 'Title', - subtitle: 'Subtitle', - showDecorativeIcon: 'true', - decorativeIcon: 'add_box', - decorativeIconType: 'default', - showActionIcon: true, - actionIcon: 'add_box', - actionIconType: 'primary', - showBadge: false, - badgeText: 'Text', - badgeSize: 'sm', - badgeState: 'correct' - }, - render: (args: any) => { - const getItems = () => { - const storyItems: any[] = []; - Array.from({ - length: args.elements - }, () => storyItems.push({ - title: args.title, - subtitle: args.subtitle, - decorativeIcon: args.showDecorativeIcon ? args.decorativeIcon : null, - decorativeIconType: args.decorativeIconType, - actionIcon: args.showActionIcon ? args.actionIcon : null, - actionIconType: args.actionIconType, - badgeText: args.showBadge ? args.badgeText : null, - badgeSize: args.badgeSize, - badgeState: args.badgeState - })); - return storyItems; - }; - return html\` -
- -
- \`; - } -}`,...(u=(b=o.parameters)==null?void 0:b.docs)==null?void 0:u.source}}};var I,m,p;i.parameters={...i.parameters,docs:{...(I=i.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(p=(m=i.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var v,g,T;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(T=(g=a.parameters)==null?void 0:g.docs)==null?void 0:T.source}}};var x,_,y;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(y=(_=d.parameters)==null?void 0:_.docs)==null?void 0:y.source}}};var S,h,w;s.parameters={...s.parameters,docs:{...(S=s.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(w=(h=s.parameters)==null?void 0:h.docs)==null?void 0:w.source}}};var f,D,A;c.parameters={...c.parameters,docs:{...(f=c.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(A=(D=c.parameters)==null?void 0:D.docs)==null?void 0:A.source}}};var B,L,z;r.parameters={...r.parameters,docs:{...(B=r.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- -
- \`; - } -}`,...(z=(L=r.parameters)==null?void 0:L.docs)==null?void 0:z.source}}};const E=["Playground","ByDefault","DecorativeIcon","ActionIcon","TypesDecorativeIcon","TypesActionIcon","Badge"],j=Object.freeze(Object.defineProperty({__proto__:null,ActionIcon:d,Badge:r,ByDefault:i,DecorativeIcon:a,Playground:o,TypesActionIcon:c,TypesDecorativeIcon:s,__namedExportsOrder:E,default:P},Symbol.toStringTag,{value:"Module"}));export{d as A,i as B,a as D,o as P,j as S,s as T,c as a,r as b}; diff --git a/rc/assets/legend.doc-BUVucQ1_.js b/rc/assets/legend.doc-B8uM6gtf.js similarity index 90% rename from rc/assets/legend.doc-BUVucQ1_.js rename to rc/assets/legend.doc-B8uM6gtf.js index bdcaaff..7bdc328 100644 --- a/rc/assets/legend.doc-BUVucQ1_.js +++ b/rc/assets/legend.doc-B8uM6gtf.js @@ -1,4 +1,4 @@ -import{ae as e,af as o,ag as r,ah as i}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import{S as l,P as c}from"./legend.stories-DtWs5hw5.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as o,ag as r,ah as i}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import{S as l,P as c}from"./legend.stories-DtWs5hw5.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/legend.doc-CXzm35F1.js b/rc/assets/legend.doc-CXzm35F1.js deleted file mode 100644 index 345edca..0000000 --- a/rc/assets/legend.doc-CXzm35F1.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as o,ag as r,ah as i}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as l,P as c}from"./legend.stories-BFidxGnY.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Legends resumeixen les propietats visuals distintives, com ara els colors -utilitzats en la visualització. Tanmateix, ajuda l'usuari a crear les -associacions necessàries per donar sentit al gràfic.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-legend"}),` com a classe contendor. Per defecte, -tenen disposició en fila, pero podem donar la orientació de columna amb la -classe `,e.jsx(s.strong,{children:"dss-legend--column"}),". Es permeten ",e.jsx(s.strong,{children:"hasta 5 items per fila o columna"}),"."]}),` -`,e.jsxs(s.p,{children:[`Cada color i títol de llegenda es construïx a través de la classe -`,e.jsx(s.strong,{children:"dss-legend__item"}),`, i el color de la llegenda s'afegix en la variable -`,e.jsx(s.strong,{children:"--legend-bg-color"}),"."]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," els colors que s'han d'utilitzar son els de Foundations."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c})]})}function b(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{b as default}; diff --git a/rc/assets/legend.doc-CnEuTE50.js b/rc/assets/legend.doc-CnEuTE50.js deleted file mode 100644 index f101f05..0000000 --- a/rc/assets/legend.doc-CnEuTE50.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as o,ag as r,ah as i}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import{S as l,P as c}from"./legend.stories-DtWs5hw5.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Legends resumeixen les propietats visuals distintives, com ara els colors -utilitzats en la visualització. Tanmateix, ajuda l'usuari a crear les -associacions necessàries per donar sentit al gràfic.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-legend"}),` com a classe contendor. Per defecte, -tenen disposició en fila, pero podem donar la orientació de columna amb la -classe `,e.jsx(s.strong,{children:"dss-legend--column"}),". Es permeten ",e.jsx(s.strong,{children:"hasta 5 items per fila o columna"}),"."]}),` -`,e.jsxs(s.p,{children:[`Cada color i títol de llegenda es construïx a través de la classe -`,e.jsx(s.strong,{children:"dss-legend__item"}),`, i el color de la llegenda s'afegix en la variable -`,e.jsx(s.strong,{children:"--legend-bg-color"}),"."]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," els colors que s'han d'utilitzar son els de Foundations."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c})]})}function b(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{b as default}; diff --git a/rc/assets/legend.doc-D6eMJbAc.js b/rc/assets/legend.doc-D6eMJbAc.js deleted file mode 100644 index a40445a..0000000 --- a/rc/assets/legend.doc-D6eMJbAc.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as o,ag as r,ah as i}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import{S as l,P as c}from"./legend.stories-DtWs5hw5.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Legends resumeixen les propietats visuals distintives, com ara els colors -utilitzats en la visualització. Tanmateix, ajuda l'usuari a crear les -associacions necessàries per donar sentit al gràfic.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-legend"}),` com a classe contendor. Per defecte, -tenen disposició en fila, pero podem donar la orientació de columna amb la -classe `,e.jsx(s.strong,{children:"dss-legend--column"}),". Es permeten ",e.jsx(s.strong,{children:"hasta 5 items per fila o columna"}),"."]}),` -`,e.jsxs(s.p,{children:[`Cada color i títol de llegenda es construïx a través de la classe -`,e.jsx(s.strong,{children:"dss-legend__item"}),`, i el color de la llegenda s'afegix en la variable -`,e.jsx(s.strong,{children:"--legend-bg-color"}),"."]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," els colors que s'han d'utilitzar son els de Foundations."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c})]})}function b(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{b as default}; diff --git a/rc/assets/legend.doc-vAydrVMp.js b/rc/assets/legend.doc-vAydrVMp.js deleted file mode 100644 index abc2a1a..0000000 --- a/rc/assets/legend.doc-vAydrVMp.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as o,ag as r,ah as i}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as l,P as c}from"./legend.stories-BFidxGnY.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={blockquote:"blockquote",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els Legends resumeixen les propietats visuals distintives, com ara els colors -utilitzats en la visualització. Tanmateix, ajuda l'usuari a crear les -associacions necessàries per donar sentit al gràfic.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-legend"}),` com a classe contendor. Per defecte, -tenen disposició en fila, pero podem donar la orientació de columna amb la -classe `,e.jsx(s.strong,{children:"dss-legend--column"}),". Es permeten ",e.jsx(s.strong,{children:"hasta 5 items per fila o columna"}),"."]}),` -`,e.jsxs(s.p,{children:[`Cada color i títol de llegenda es construïx a través de la classe -`,e.jsx(s.strong,{children:"dss-legend__item"}),`, i el color de la llegenda s'afegix en la variable -`,e.jsx(s.strong,{children:"--legend-bg-color"}),"."]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," els colors que s'han d'utilitzar son els de Foundations."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c})]})}function b(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{b as default}; diff --git a/rc/assets/legend.stories-BFidxGnY.js b/rc/assets/legend.stories-BFidxGnY.js deleted file mode 100644 index 41bc6c0..0000000 --- a/rc/assets/legend.stories-BFidxGnY.js +++ /dev/null @@ -1,59 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const s={title:"Components/Legend",argTypes:{orientation:{name:"Orientació",control:{type:"select"},options:["column","row"]},text:{name:"Text",control:{type:"text"}},color1:{name:"Color 1",control:{type:"select"},options:["primary","red","yellow","green","blue","purple","neutral"]},matiz1:{name:"Matís 1",control:{type:"select"},options:["50","100","200","300","400","500","600","700","800","900"]},color2:{name:"Color 2",control:{type:"select"},options:["primary","red","yellow","green","blue","purple","neutral"]},matiz2:{name:"Matís 2",control:{type:"select"},options:["50","100","200","300","400","500","600","700","800","900"]},color3:{name:"Color 3",control:{type:"select"},options:["primary","red","yellow","green","blue","purple","neutral"]},matiz3:{name:"Matís 3",control:{type:"select"},options:["50","100","200","300","400","500","600","700","800","900"]}},parameters:{layout:"centered"}},o={render:e=>n`
    -
  • - ${e.text} -
  • -
  • - ${e.text} -
  • -
  • - ${e.text} -
  • -
`,args:{orientation:"row",text:"Legend",color1:"neutral",matiz1:"100",color2:"neutral",matiz2:"100",color3:"neutral",matiz3:"100"}};var l,t,r;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ - render: (args: any) => { - return html\`
    -
  • - \${args.text} -
  • -
  • - \${args.text} -
  • -
  • - \${args.text} -
  • -
\`; - }, - args: { - orientation: 'row', - text: 'Legend', - color1: 'neutral', - matiz1: '100', - color2: 'neutral', - matiz2: '100', - color3: 'neutral', - matiz3: '100' - } -}`,...(r=(t=o.parameters)==null?void 0:t.docs)==null?void 0:r.source}}};const a=["Playground"],i=Object.freeze(Object.defineProperty({__proto__:null,Playground:o,__namedExportsOrder:a,default:s},Symbol.toStringTag,{value:"Module"}));export{o as P,i as S}; diff --git a/rc/assets/list-menu.doc-BIEgsEcA.js b/rc/assets/list-menu.doc-BIEgsEcA.js deleted file mode 100644 index 1687625..0000000 --- a/rc/assets/list-menu.doc-BIEgsEcA.js +++ /dev/null @@ -1,47 +0,0 @@ -import{ae as e,af as a,ag as c,ah as i,ai as r}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as d,P as o,N as h,I as x,A as m,a as j,T as u,b,D as p}from"./list-menu.stories-DkO56yv_.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(r,{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-sense-icona",children:"List menu sense icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-icona",children:"List menu amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-acci%C3%B3",children:"List menu amb acció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-titol-i-descripci%C3%B3",children:"List menu amb titol i descripció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-seleccionat",children:"List menu item seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-deshabilitat",children:"List menu item deshabilitat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-sense-icona",children:"List menu sense icona"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-icona",children:"List menu amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-acció",children:"List menu amb acció"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-notificació",children:"List menu amb notificació"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-titol-i-descripció",children:"List menu amb titol i descripció"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-seleccionat",children:"List menu item seleccionat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--selected"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-deshabilitat",children:"List menu item deshabilitat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--disabled"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsxs(s.td,{children:["S'han actualitzat els colors del fons per als estats 'hover', 'active' and 'selected'.",e.jsx("br",{}),"S'ha afegit l'opció d'incloure una 'insígnia de notificació' de tipus 'punt'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsxs(s.td,{children:["S'ha modificat la capçalera del component perquè s'alineï amb el disseny, transformant la icona al costat del títol en una decorative icon.",e.jsx("br",{})," S'han actualitzat els estats d'interacció amb els elements del menú per complir amb els requisits d'accessibilitat."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha corregit l' espaiat entre els elements títol, descripció i llista."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.6.0"})}),e.jsx(s.td,{children:"S'ha creat el component List Menu."})]})]})]})]})}function M(n={}){const{wrapper:s}={...l(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{M as default}; diff --git a/rc/assets/list-menu.doc-88yiCg72.js b/rc/assets/list-menu.doc-BynoHZ2g.js similarity index 95% rename from rc/assets/list-menu.doc-88yiCg72.js rename to rc/assets/list-menu.doc-BynoHZ2g.js index a3e267b..4bb9198 100644 --- a/rc/assets/list-menu.doc-88yiCg72.js +++ b/rc/assets/list-menu.doc-BynoHZ2g.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as c,ah as i,ai as r}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as d,P as o,N as h,I as x,A as m,a as j,T as u,b,D as p}from"./list-menu.stories-DkO56yv_.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as c,ah as i,ai as r}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as d,P as o,N as h,I as x,A as m,a as j,T as u,b,D as p}from"./list-menu.stories-DkO56yv_.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` `}),` `,e.jsx(a,{of:d}),` diff --git a/rc/assets/list-menu.doc-CD2qSFR7.js b/rc/assets/list-menu.doc-CD2qSFR7.js deleted file mode 100644 index 2158538..0000000 --- a/rc/assets/list-menu.doc-CD2qSFR7.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as a,ag as r,ah as i,ai as c}from"./index-CcF9BsMG.js";import{u as l}from"./index-BlEr_OIe.js";import{S as d,P as o,N as h,I as m,A as x,T as j,a as u,D as b}from"./list-menu.stories-3Ut4_Gha.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-sense-icona",children:"List menu sense icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-icona",children:"List menu amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-acci%C3%B3",children:"List menu amb acció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-titol-i-descripci%C3%B3",children:"List menu amb titol i descripció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-seleccionat",children:"List menu item seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-deshabilitat",children:"List menu item deshabilitat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-sense-icona",children:"List menu sense icona"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-icona",children:"List menu amb icona"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-acció",children:"List menu amb acció"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-titol-i-descripció",children:"List menu amb titol i descripció"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-seleccionat",children:"List menu item seleccionat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--selected"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-deshabilitat",children:"List menu item deshabilitat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--disabled"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsxs(s.td,{children:["S'ha modificat la capçalera del component perquè s'alineï amb el disseny, transformant la icona al costat del títol en una decorative icon.",e.jsx("br",{})," S'han actualitzat els estats d'interacció amb els elements del menú per complir amb els requisits d'accessibilitat."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha corregit l' espaiat entre els elements títol, descripció i llista."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.6.0"})}),e.jsx(s.td,{children:"S'ha creat el component List Menu."})]})]})]})]})}function D(n={}){const{wrapper:s}={...l(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{D as default}; diff --git a/rc/assets/list-menu.doc-CMS6L9kc.js b/rc/assets/list-menu.doc-CMS6L9kc.js deleted file mode 100644 index 571cfb2..0000000 --- a/rc/assets/list-menu.doc-CMS6L9kc.js +++ /dev/null @@ -1,47 +0,0 @@ -import{ae as e,af as a,ag as c,ah as i,ai as r}from"./index-0DKGoewk.js";import{u as l}from"./index-FamfD7PC.js";import{S as d,P as o,N as h,I as x,A as m,a as j,T as u,b,D as p}from"./list-menu.stories-CBJGq-V8.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(r,{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-sense-icona",children:"List menu sense icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-icona",children:"List menu amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-acci%C3%B3",children:"List menu amb acció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-titol-i-descripci%C3%B3",children:"List menu amb titol i descripció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-seleccionat",children:"List menu item seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-deshabilitat",children:"List menu item deshabilitat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-sense-icona",children:"List menu sense icona"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-icona",children:"List menu amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-acció",children:"List menu amb acció"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-notificació",children:"List menu amb notificació"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-titol-i-descripció",children:"List menu amb titol i descripció"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-seleccionat",children:"List menu item seleccionat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--selected"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-deshabilitat",children:"List menu item deshabilitat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--disabled"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsxs(s.td,{children:["S'han actualitzat els colors del fons per als estats 'hover', 'active' and 'selected'.",e.jsx("br",{}),"S'ha afegit l'opció d'incloure una 'insígnia de notificació' de tipus 'punt'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsxs(s.td,{children:["S'ha modificat la capçalera del component perquè s'alineï amb el disseny, transformant la icona al costat del títol en una decorative icon.",e.jsx("br",{})," S'han actualitzat els estats d'interacció amb els elements del menú per complir amb els requisits d'accessibilitat."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha corregit l' espaiat entre els elements títol, descripció i llista."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.6.0"})}),e.jsx(s.td,{children:"S'ha creat el component List Menu."})]})]})]})]})}function M(n={}){const{wrapper:s}={...l(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{M as default}; diff --git a/rc/assets/list-menu.doc-dF7RttQx.js b/rc/assets/list-menu.doc-dF7RttQx.js deleted file mode 100644 index 744651a..0000000 --- a/rc/assets/list-menu.doc-dF7RttQx.js +++ /dev/null @@ -1,47 +0,0 @@ -import{ae as e,af as a,ag as c,ah as i,ai as r}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as d,P as o,N as h,I as x,A as m,a as j,T as u,b,D as p}from"./list-menu.stories-DkO56yv_.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Description lorem ipsum"}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(r,{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-sense-icona",children:"List menu sense icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-icona",children:"List menu amb icona"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-acci%C3%B3",children:"List menu amb acció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-amb-titol-i-descripci%C3%B3",children:"List menu amb titol i descripció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-seleccionat",children:"List menu item seleccionat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#list-menu-item-deshabilitat",children:"List menu item deshabilitat"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-sense-icona",children:"List menu sense icona"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-icona",children:"List menu amb icona"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-acció",children:"List menu amb acció"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-notificació",children:"List menu amb notificació"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-amb-titol-i-descripció",children:"List menu amb titol i descripció"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-seleccionat",children:"List menu item seleccionat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--selected"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"list-menu-item-deshabilitat",children:"List menu item deshabilitat"}),` -`,e.jsxs(s.p,{children:["Afegir la classe ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"dss-list-menu-item--disabled"})})," a l'element de la llista."]}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsxs(s.td,{children:["S'han actualitzat els colors del fons per als estats 'hover', 'active' and 'selected'.",e.jsx("br",{}),"S'ha afegit l'opció d'incloure una 'insígnia de notificació' de tipus 'punt'."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsxs(s.td,{children:["S'ha modificat la capçalera del component perquè s'alineï amb el disseny, transformant la icona al costat del títol en una decorative icon.",e.jsx("br",{})," S'han actualitzat els estats d'interacció amb els elements del menú per complir amb els requisits d'accessibilitat."]})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.7.0"})}),e.jsx(s.td,{children:"S' ha corregit l' espaiat entre els elements títol, descripció i llista."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.6.0"})}),e.jsx(s.td,{children:"S'ha creat el component List Menu."})]})]})]})]})}function M(n={}){const{wrapper:s}={...l(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{M as default}; diff --git a/rc/assets/list-menu.stories-3Ut4_Gha.js b/rc/assets/list-menu.stories-3Ut4_Gha.js deleted file mode 100644 index 2d94c7f..0000000 --- a/rc/assets/list-menu.stories-3Ut4_Gha.js +++ /dev/null @@ -1,554 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const C={title:"Components/List Menu",argTypes:{showHeader:{name:"Mostrar capçalera",control:{type:"boolean"}},showTitle:{name:"Mostrar titol",control:{type:"boolean"},if:{arg:"showHeader"}},title:{name:"Titol",if:{arg:"showTitle"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"},if:{arg:"showHeader"}},description:{name:"Descripció",if:{arg:"showDescription"}},label:{name:"Text"},selected:{name:"Seleccionar",control:{type:"boolean"}},disabled:{name:"Deshabilitar",control:{type:"boolean"}},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},iconType:{name:"Tipús icona",control:{type:"select"},options:["dss-icon","dss-icon dss-icon--fill"],if:{arg:"showIcon"}},icon:{name:"Icona",if:{arg:"showIcon"}},showActionIcon:{name:"Mostrar icona acció",control:{type:"boolean"}},actionIcon:{name:"Icona acció",if:{arg:"showActionIcon"}}},parameters:{layout:"centered"}},i={args:{showHeader:!0,showTitle:!0,title:"Title",showDescription:!0,description:"Lorem ipsum dolor sit amet.",label:"Item",selected:!1,disabled:!1,showIcon:!0,iconType:"dss-icon",icon:"add_box",showActionIcon:!1,actionIcon:"chevron_right"},render:s=>{let m=s.selected?"dss-list-menu-item--selected ":"";return m+=s.disabled?"dss-list-menu-item--disabled":"",n` -
-
- ${s.showHeader?n` -
- ${s.showTitle?n` -

- ${s.showIcon?n` - ${s.icon} - `:null} - ${s.title} -

- `:null} - ${s.showDescription?n` -

- ${s.description} -

- `:null} -
- `:null} - -
    -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    - ${s.showActionIcon?n` -
    - ${s.actionIcon} -
    - `:null} -
  • -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    -
  • -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    -
  • -
-
-
- `}},e={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
-
-
- `},t={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},d={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},l={tags:["!dev"],render:()=>n` -
-
-
-

- - add_box - - Title -

-

- Lorem ipsum dolor sit amet. -

-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},a={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},c={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `};var o,u,r;i.parameters={...i.parameters,docs:{...(o=i.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - showHeader: true, - showTitle: true, - title: 'Title', - showDescription: true, - description: 'Lorem ipsum dolor sit amet.', - label: 'Item', - selected: false, - disabled: false, - showIcon: true, - iconType: 'dss-icon', - icon: 'add_box', - showActionIcon: false, - actionIcon: 'chevron_right' - }, - render: (args: any) => { - let itemClass = args.selected ? 'dss-list-menu-item--selected ' : ''; - itemClass += args.disabled ? 'dss-list-menu-item--disabled' : ''; - return html\` -
-
- \${args.showHeader ? html\` -
- \${args.showTitle ? html\` -

- \${args.showIcon ? html\` - \${args.icon} - \` : null} - \${args.title} -

- \` : null} - \${args.showDescription ? html\` -

- \${args.description} -

- \` : null} -
- \` : null} - -
    -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    - \${args.showActionIcon ? html\` -
    - \${args.actionIcon} -
    - \` : null} -
  • -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    -
  • -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    -
  • -
-
-
- \`; - } -}`,...(r=(u=i.parameters)==null?void 0:u.docs)==null?void 0:r.source}}};var _,p,v;e.parameters={...e.parameters,docs:{...(_=e.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(v=(p=e.parameters)==null?void 0:p.docs)==null?void 0:v.source}}};var x,b,h;t.parameters={...t.parameters,docs:{...(x=t.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(h=(b=t.parameters)==null?void 0:b.docs)==null?void 0:h.source}}};var I,w,$;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...($=(w=d.parameters)==null?void 0:w.docs)==null?void 0:$.source}}};var g,T,y;l.parameters={...l.parameters,docs:{...(g=l.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
-

- - add_box - - Title -

-

- Lorem ipsum dolor sit amet. -

-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(y=(T=l.parameters)==null?void 0:T.docs)==null?void 0:y.source}}};var f,S,D;a.parameters={...a.parameters,docs:{...(f=a.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(D=(S=a.parameters)==null?void 0:S.docs)==null?void 0:D.source}}};var A,M,H;c.parameters={...c.parameters,docs:{...(A=c.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(H=(M=c.parameters)==null?void 0:M.docs)==null?void 0:H.source}}};const L=["Playground","NoIcons","Icons","Action","TitleDescription","Selected","Disabled"],N=Object.freeze(Object.defineProperty({__proto__:null,Action:d,Disabled:c,Icons:t,NoIcons:e,Playground:i,Selected:a,TitleDescription:l,__namedExportsOrder:L,default:C},Symbol.toStringTag,{value:"Module"}));export{d as A,c as D,t as I,e as N,i as P,N as S,l as T,a}; diff --git a/rc/assets/list-menu.stories-CBJGq-V8.js b/rc/assets/list-menu.stories-CBJGq-V8.js deleted file mode 100644 index 0030504..0000000 --- a/rc/assets/list-menu.stories-CBJGq-V8.js +++ /dev/null @@ -1,629 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const O={title:"Components/List Menu",argTypes:{showHeader:{name:"Mostrar capçalera",control:{type:"boolean"}},showTitle:{name:"Mostrar titol",control:{type:"boolean"},if:{arg:"showHeader"}},title:{name:"Titol",if:{arg:"showTitle"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"},if:{arg:"showHeader"}},description:{name:"Descripció",if:{arg:"showDescription"}},label:{name:"Text"},selected:{name:"Seleccionar",control:{type:"boolean"}},disabled:{name:"Deshabilitar",control:{type:"boolean"}},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},iconType:{name:"Tipús icona",control:{type:"select"},options:["dss-icon","dss-icon dss-icon--fill"],if:{arg:"showIcon"}},icon:{name:"Icona",if:{arg:"showIcon"}},showActionIcon:{name:"Mostrar icona acció",control:{type:"boolean"}},actionIcon:{name:"Icona acció",if:{arg:"showActionIcon"}}},parameters:{layout:"centered"}},i={args:{showHeader:!0,showTitle:!0,title:"Title",showDescription:!0,description:"Lorem ipsum dolor sit amet.",label:"Item",selected:!1,disabled:!1,showIcon:!0,iconType:"dss-icon",icon:"add_box",showActionIcon:!1,actionIcon:"chevron_right"},render:s=>{let o=s.selected?"dss-list-menu-item--selected ":"";return o+=s.disabled?"dss-list-menu-item--disabled":"",n` -
-
- ${s.showHeader?n` -
- ${s.showTitle?n` -

- ${s.showIcon?n` - ${s.icon} - `:null} - ${s.title} -

- `:null} - ${s.showDescription?n` -

- ${s.description} -

- `:null} -
- `:null} - -
    -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    - ${s.showActionIcon?n` -
    - ${s.actionIcon} -
    - `:null} -
  • -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    -
  • -
  • -
    - ${s.showIcon?n`${s.icon}`:null} - - ${s.label} - -
    -
  • -
-
-
- `}},e={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
-
-
- `},t={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},d={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},l={tags:["!dev"],render:()=>n` -
-
-
-

- - add_box - - Title -

-

- Lorem ipsum dolor sit amet. -

-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},a={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},c={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `},m={tags:["!dev"],render:()=>n` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- `};var u,r,_;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:`{ - args: { - showHeader: true, - showTitle: true, - title: 'Title', - showDescription: true, - description: 'Lorem ipsum dolor sit amet.', - label: 'Item', - selected: false, - disabled: false, - showIcon: true, - iconType: 'dss-icon', - icon: 'add_box', - showActionIcon: false, - actionIcon: 'chevron_right' - }, - render: (args: any) => { - let itemClass = args.selected ? 'dss-list-menu-item--selected ' : ''; - itemClass += args.disabled ? 'dss-list-menu-item--disabled' : ''; - return html\` -
-
- \${args.showHeader ? html\` -
- \${args.showTitle ? html\` -

- \${args.showIcon ? html\` - \${args.icon} - \` : null} - \${args.title} -

- \` : null} - \${args.showDescription ? html\` -

- \${args.description} -

- \` : null} -
- \` : null} - -
    -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    - \${args.showActionIcon ? html\` -
    - \${args.actionIcon} -
    - \` : null} -
  • -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    -
  • -
  • -
    - \${args.showIcon ? html\`\${args.icon}\` : null} - - \${args.label} - -
    -
  • -
-
-
- \`; - } -}`,...(_=(r=i.parameters)==null?void 0:r.docs)==null?void 0:_.source}}};var p,v,x;e.parameters={...e.parameters,docs:{...(p=e.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
  • -
    - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(x=(v=e.parameters)==null?void 0:v.docs)==null?void 0:x.source}}};var b,h,I;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(I=(h=t.parameters)==null?void 0:h.docs)==null?void 0:I.source}}};var w,g,$;d.parameters={...d.parameters,docs:{...(w=d.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...($=(g=d.parameters)==null?void 0:g.docs)==null?void 0:$.source}}};var T,y,f;l.parameters={...l.parameters,docs:{...(T=l.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
-

- - add_box - - Title -

-

- Lorem ipsum dolor sit amet. -

-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(f=(y=l.parameters)==null?void 0:y.docs)==null?void 0:f.source}}};var S,D,A;a.parameters={...a.parameters,docs:{...(S=a.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(A=(D=a.parameters)==null?void 0:D.docs)==null?void 0:A.source}}};var M,H,C;c.parameters={...c.parameters,docs:{...(M=c.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(C=(H=c.parameters)==null?void 0:H.docs)==null?void 0:C.source}}};var L,N,P;m.parameters={...m.parameters,docs:{...(L=m.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
-
    -
  • -
    - add_box - - Item - -
    -
    - - chevron_right -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
  • -
    - add_box - - Item - -
    -
  • -
-
-
- \`; - } -}`,...(P=(N=m.parameters)==null?void 0:N.docs)==null?void 0:P.source}}};const j=["Playground","NoIcons","Icons","Action","TitleDescription","Selected","Disabled","Notification"],E=Object.freeze(Object.defineProperty({__proto__:null,Action:d,Disabled:c,Icons:t,NoIcons:e,Notification:m,Playground:i,Selected:a,TitleDescription:l,__namedExportsOrder:j,default:O},Symbol.toStringTag,{value:"Module"}));export{d as A,c as D,t as I,e as N,i as P,E as S,l as T,m as a,a as b}; diff --git a/rc/assets/list.doc-BmLB_-kp.js b/rc/assets/list.doc-BmLB_-kp.js deleted file mode 100644 index 481eca7..0000000 --- a/rc/assets/list.doc-BmLB_-kp.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BFeDRA54.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Les llistes s'utilitzen per organitzar un grup d'elements de text relacionats."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-estil",children:"Sense estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-ordenat",children:"Estil ordenat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-desordenat",children:"Estil desordenat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-estil",children:"Sense estil"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista sense estil:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estil-ordenat",children:"Estil ordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil ordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(s.h3,{id:"estil-desordenat",children:"Estil desordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil desordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:u})]})}function L(t={}){const{wrapper:s}={...r(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(n,{...t})}):n(t)}export{L as default}; diff --git a/rc/assets/list.doc-CZO27p48.js b/rc/assets/list.doc-CZO27p48.js deleted file mode 100644 index 0a494a7..0000000 --- a/rc/assets/list.doc-CZO27p48.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BcZ2RFZk.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Les llistes s'utilitzen per organitzar un grup d'elements de text relacionats."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-estil",children:"Sense estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-ordenat",children:"Estil ordenat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-desordenat",children:"Estil desordenat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-estil",children:"Sense estil"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista sense estil:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estil-ordenat",children:"Estil ordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil ordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(s.h3,{id:"estil-desordenat",children:"Estil desordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil desordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:u})]})}function L(t={}){const{wrapper:s}={...r(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(n,{...t})}):n(t)}export{L as default}; diff --git a/rc/assets/list.doc-CtzYzhIw.js b/rc/assets/list.doc-CtzYzhIw.js deleted file mode 100644 index d37a026..0000000 --- a/rc/assets/list.doc-CtzYzhIw.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BFeDRA54.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Les llistes s'utilitzen per organitzar un grup d'elements de text relacionats."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-estil",children:"Sense estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-ordenat",children:"Estil ordenat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-desordenat",children:"Estil desordenat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-estil",children:"Sense estil"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista sense estil:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estil-ordenat",children:"Estil ordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil ordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(s.h3,{id:"estil-desordenat",children:"Estil desordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil desordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:u})]})}function L(t={}){const{wrapper:s}={...r(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(n,{...t})}):n(t)}export{L as default}; diff --git a/rc/assets/list.doc-DdK6G9Za.js b/rc/assets/list.doc-DdK6G9Za.js deleted file mode 100644 index 98a0be4..0000000 --- a/rc/assets/list.doc-DdK6G9Za.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BcZ2RFZk.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(a,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"Les llistes s'utilitzen per organitzar un grup d'elements de text relacionats."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-estil",children:"Sense estil"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-ordenat",children:"Estil ordenat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#estil-desordenat",children:"Estil desordenat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-estil",children:"Sense estil"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista sense estil:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estil-ordenat",children:"Estil ordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil ordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(s.h3,{id:"estil-desordenat",children:"Estil desordenat"}),` -`,e.jsx(s.p,{children:"Utilitzarem la següent estructura per crear una llista amb estil desordenat:"}),` -`,e.jsx(l,{code:` -
    -
  1. List item text.
  2. -
-`}),` -`,e.jsx(i,{of:u})]})}function L(t={}){const{wrapper:s}={...r(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(n,{...t})}):n(t)}export{L as default}; diff --git a/rc/assets/list.doc-BfJ3NaOe.js b/rc/assets/list.doc-tc-ax5oO.js similarity index 92% rename from rc/assets/list.doc-BfJ3NaOe.js rename to rc/assets/list.doc-tc-ax5oO.js index 403ac60..cbecccb 100644 --- a/rc/assets/list.doc-BfJ3NaOe.js +++ b/rc/assets/list.doc-tc-ax5oO.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BcZ2RFZk.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as o,ah as i,ak as l}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as d,P as c,N as x,O as m,U as u}from"./list.stories-BcZ2RFZk.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function n(t){const s={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",ul:"ul",...r(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/list.stories-BFeDRA54.js b/rc/assets/list.stories-BFeDRA54.js deleted file mode 100644 index 04bcf27..0000000 --- a/rc/assets/list.stories-BFeDRA54.js +++ /dev/null @@ -1,180 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as e}from"./lit-html-paDGiEfB.js";const v={title:"Components/List",argTypes:{label:{name:"Text"},items:{name:"Quantitat de elements",control:{type:"select"},options:[1,2,3,4,5]},type:{name:"Tipus",control:{type:"select"},options:["unstyled","ordered","unordered"]}},parameters:{layout:"centered"}},s={render:d=>{const g=d.type!=="unstyled"?` dss-list--${d.type}`:"";return e` -
    - ${Array.from({length:d.items},()=>e`
  1. ${d.label}
  2. `)} -
- `},args:{label:"List item text.",items:1,type:"unstyled"}},t={tags:["!dev"],render:()=>e` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- `},i={tags:["!dev"],render:()=>e` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- `},l={tags:["!dev"],render:()=>e` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- `};var a,n,r;s.parameters={...s.parameters,docs:{...(a=s.parameters)==null?void 0:a.docs,source:{originalSource:`{ - render: (args: any) => { - const cssClass = args.type !== 'unstyled' ? \` dss-list--\${args.type}\` : ''; - return html\` -
    - \${Array.from({ - length: args.items - }, () => html\`
  1. \${args.label}
  2. \`)} -
- \`; - }, - args: { - label: 'List item text.', - items: 1, - type: 'unstyled' - } -}`,...(r=(n=s.parameters)==null?void 0:n.docs)==null?void 0:r.source}}};var m,o,c;t.parameters={...t.parameters,docs:{...(m=t.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- \`; - } -}`,...(c=(o=t.parameters)==null?void 0:o.docs)==null?void 0:c.source}}};var _,x,L;i.parameters={...i.parameters,docs:{...(_=i.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- \`; - } -}`,...(L=(x=i.parameters)==null?void 0:x.docs)==null?void 0:L.source}}};var p,u,y;l.parameters={...l.parameters,docs:{...(p=l.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
    -
  1. List item text.
  2. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
- -
    -
  1. List item text.
  2. -
  3. List item text.
  4. -
  5. List item text.
  6. -
  7. List item text.
  8. -
-
- \`; - } -}`,...(y=(u=l.parameters)==null?void 0:u.docs)==null?void 0:y.source}}};const S=["Playground","NoStyle","Order","Unorder"],h=Object.freeze(Object.defineProperty({__proto__:null,NoStyle:t,Order:i,Playground:s,Unorder:l,__namedExportsOrder:S,default:v},Symbol.toStringTag,{value:"Module"}));export{t as N,i as O,s as P,h as S,l as U}; diff --git a/rc/assets/lit-element-vV9fql9z.js b/rc/assets/lit-element-vV9fql9z.js deleted file mode 100644 index 20146f0..0000000 --- a/rc/assets/lit-element-vV9fql9z.js +++ /dev/null @@ -1,13 +0,0 @@ -import{B as w,T as C}from"./lit-html-paDGiEfB.js";/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const l=globalThis,y=l.ShadowRoot&&(l.ShadyCSS===void 0||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,E=Symbol(),m=new WeakMap;let P=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==E)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(y&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=m.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&m.set(e,t))}return t}toString(){return this.cssText}};const U=r=>new P(typeof r=="string"?r:r+"",void 0,E),j=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[n+1],r[0]);return new P(e,r,E)},O=(r,t)=>{if(y)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=l.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},_=y?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return U(e)})(r):r;/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const{is:A,defineProperty:R,getOwnPropertyDescriptor:T,getOwnPropertyNames:k,getOwnPropertySymbols:z,getPrototypeOf:M}=Object,h=globalThis,S=h.trustedTypes,x=S?S.emptyScript:"",u=h.reactiveElementPolyfillSupport,c=(r,t)=>r,$={toAttribute(r,t){switch(t){case Boolean:r=r?x:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},v=(r,t)=>!A(r,t),b={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:v};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),h.litPropertyMetadata??(h.litPropertyMetadata=new WeakMap);class a extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&R(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=T(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const p=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,p,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(c("elementProperties")))return;const t=M(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(c("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(c("properties"))){const e=this.properties,s=[...k(e),...z(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(_(i))}else t!==void 0&&e.push(_(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return O(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:$).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),p=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:$;this._$Em=i,this[i]=p.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??v)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}a.elementStyles=[],a.shadowRootOptions={mode:"open"},a[c("elementProperties")]=new Map,a[c("finalized")]=new Map,u==null||u({ReactiveElement:a}),(h.reactiveElementVersions??(h.reactiveElementVersions=[])).push("2.0.4");/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class d extends a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=w(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return C}}var g;d._$litElement$=!0,d.finalized=!0,(g=globalThis.litElementHydrateSupport)==null||g.call(globalThis,{LitElement:d});const f=globalThis.litElementPolyfillSupport;f==null||f({LitElement:d});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");export{U as a,v as f,j as i,d as r,$ as u}; diff --git a/rc/assets/lit-html-paDGiEfB.js b/rc/assets/lit-html-paDGiEfB.js deleted file mode 100644 index a7fc857..0000000 --- a/rc/assets/lit-html-paDGiEfB.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const y=globalThis,M=y.trustedTypes,B=M?M.createPolicy("lit-html",{createHTML:h=>h}):void 0,W="$lit$",p=`lit$${Math.random().toFixed(9).slice(2)}$`,k="?"+p,D=`<${k}>`,v=document,x=()=>v.createComment(""),H=h=>h===null||typeof h!="object"&&typeof h!="function",I=Array.isArray,z=h=>I(h)||typeof(h==null?void 0:h[Symbol.iterator])=="function",w=`[ -\f\r]`,m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,U=/>/g,u=RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),O=/'/g,R=/"/g,V=/^(?:script|style|textarea|title)$/i,Z=h=>(t,...e)=>({_$litType$:h,strings:t,values:e}),X=Z(1),N=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),L=new WeakMap,g=v.createTreeWalker(v,129);function j(h,t){if(!I(h)||!h.hasOwnProperty("raw"))throw Error("invalid template strings array");return B!==void 0?B.createHTML(t):t}const F=(h,t)=>{const e=h.length-1,s=[];let i,o=t===2?"":t===3?"":"",n=m;for(let _=0;_"?(n=i??m,l=-1):a[1]===void 0?l=-2:(l=n.lastIndex-a[2].length,$=a[1],n=a[3]===void 0?u:a[3]==='"'?R:O):n===R||n===O?n=u:n===P||n===U?n=m:(n=u,i=void 0);const d=n===u&&h[_+1].startsWith("/>")?" ":"";o+=n===m?r+D:l>=0?(s.push($),r.slice(0,l)+W+r.slice(l)+p+d):r+p+(l===-2?_:d)}return[j(h,o+(h[e]||"")+(t===2?"":t===3?"":"")),s]};class T{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0;const _=t.length-1,r=this.parts,[$,a]=F(t,e);if(this.el=T.createElement($,s),g.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=g.nextNode())!==null&&r.length<_;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(W)){const c=a[n++],d=i.getAttribute(l).split(p),C=/([.?@])?(.*)/.exec(c);r.push({type:1,index:o,name:C[2],strings:d,ctor:C[1]==="."?G:C[1]==="?"?J:C[1]==="@"?K:S}),i.removeAttribute(l)}else l.startsWith(p)&&(r.push({type:6,index:o}),i.removeAttribute(l));if(V.test(i.tagName)){const l=i.textContent.split(p),c=l.length-1;if(c>0){i.textContent=M?M.emptyScript:"";for(let d=0;d2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(o===void 0)t=f(this,t,e,0),n=!H(t)||t!==this._$AH&&t!==N,n&&(this._$AH=t);else{const _=t;let r,$;for(t=o[0],r=0;r{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const o=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new b(t.insertBefore(x(),o),o,void 0,e??{})}return i._$AI(h),i};export{Y as B,A as E,N as T,X as x}; diff --git a/rc/assets/logo.doc-056rdGhi.js b/rc/assets/logo.doc-056rdGhi.js deleted file mode 100644 index 10eb34e..0000000 --- a/rc/assets/logo.doc-056rdGhi.js +++ /dev/null @@ -1,13 +0,0 @@ -import{ae as e,af as i,ah as r}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{L as a,P as c}from"./logo.stories-DctTKhaJ.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` -`,e.jsx(s.h1,{id:"logo",children:"Logo"}),` -`,e.jsx(s.p,{children:`Els logotips són símbols amb una combinació de text i imatges que ajuden a un -usuari o client a identificar les marques i diferenciar les empreses.`}),` -`,e.jsxs(s.p,{children:[`El logo está construit amb una imatge svg, que s'indica en la ruta d'una -imatge i es construix a través d'una etiqueta `,e.jsx(s.code,{children:"img"}),`. Per a aplicar -una mida, hi ha que fer-ho sobre la etiqueta `,e.jsx(s.code,{children:"img"}),"."]}),` -`,e.jsxs("table",{class:"sb-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Arxiu"}),e.jsx("th",{children:"Descripció"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-default.svg"})}),e.jsx("td",{children:"Logo de color blau"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-negative.svg"})}),e.jsx("td",{children:"Logo de color negre"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-positive.svg"})}),e.jsx("td",{children:"Logo de color blanc"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c})]})}function b(n={}){const{wrapper:s}={...t(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(o,{...n})}):o(n)}export{b as default}; diff --git a/rc/assets/logo.doc-00wSnfCk.js b/rc/assets/logo.doc-BN8ecWiV.js similarity index 90% rename from rc/assets/logo.doc-00wSnfCk.js rename to rc/assets/logo.doc-BN8ecWiV.js index d50062c..fd27246 100644 --- a/rc/assets/logo.doc-00wSnfCk.js +++ b/rc/assets/logo.doc-BN8ecWiV.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ah as r}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{L as a,P as c}from"./logo.stories-DctTKhaJ.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` +import{ae as e,af as i,ah as r}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{L as a,P as c}from"./logo.stories-DctTKhaJ.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` `,e.jsx(s.h1,{id:"logo",children:"Logo"}),` `,e.jsx(s.p,{children:`Els logotips són símbols amb una combinació de text i imatges que ajuden a un usuari o client a identificar les marques i diferenciar les empreses.`}),` diff --git a/rc/assets/logo.doc-CIF_XidZ.js b/rc/assets/logo.doc-CIF_XidZ.js deleted file mode 100644 index cbb6825..0000000 --- a/rc/assets/logo.doc-CIF_XidZ.js +++ /dev/null @@ -1,13 +0,0 @@ -import{ae as e,af as i,ah as r}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{L as a,P as c}from"./logo.stories-DctTKhaJ.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` -`,e.jsx(s.h1,{id:"logo",children:"Logo"}),` -`,e.jsx(s.p,{children:`Els logotips són símbols amb una combinació de text i imatges que ajuden a un -usuari o client a identificar les marques i diferenciar les empreses.`}),` -`,e.jsxs(s.p,{children:[`El logo está construit amb una imatge svg, que s'indica en la ruta d'una -imatge i es construix a través d'una etiqueta `,e.jsx(s.code,{children:"img"}),`. Per a aplicar -una mida, hi ha que fer-ho sobre la etiqueta `,e.jsx(s.code,{children:"img"}),"."]}),` -`,e.jsxs("table",{class:"sb-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Arxiu"}),e.jsx("th",{children:"Descripció"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-default.svg"})}),e.jsx("td",{children:"Logo de color blau"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-negative.svg"})}),e.jsx("td",{children:"Logo de color negre"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-positive.svg"})}),e.jsx("td",{children:"Logo de color blanc"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c})]})}function b(n={}){const{wrapper:s}={...t(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(o,{...n})}):o(n)}export{b as default}; diff --git a/rc/assets/logo.doc-JVDDpBdw.js b/rc/assets/logo.doc-JVDDpBdw.js deleted file mode 100644 index 66daa95..0000000 --- a/rc/assets/logo.doc-JVDDpBdw.js +++ /dev/null @@ -1,13 +0,0 @@ -import{ae as e,af as i,ah as r}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{L as a,P as c}from"./logo.stories-Pq9wDPMV.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` -`,e.jsx(s.h1,{id:"logo",children:"Logo"}),` -`,e.jsx(s.p,{children:`Els logotips són símbols amb una combinació de text i imatges que ajuden a un -usuari o client a identificar les marques i diferenciar les empreses.`}),` -`,e.jsxs(s.p,{children:[`El logo está construit amb una imatge svg, que s'indica en la ruta d'una -imatge i es construix a través d'una etiqueta `,e.jsx(s.code,{children:"img"}),`. Per a aplicar -una mida, hi ha que fer-ho sobre la etiqueta `,e.jsx(s.code,{children:"img"}),"."]}),` -`,e.jsxs("table",{class:"sb-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Arxiu"}),e.jsx("th",{children:"Descripció"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-default.svg"})}),e.jsx("td",{children:"Logo de color blau"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-negative.svg"})}),e.jsx("td",{children:"Logo de color negre"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-positive.svg"})}),e.jsx("td",{children:"Logo de color blanc"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c})]})}function b(n={}){const{wrapper:s}={...t(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(o,{...n})}):o(n)}export{b as default}; diff --git a/rc/assets/logo.doc-h-v4SNWX.js b/rc/assets/logo.doc-h-v4SNWX.js deleted file mode 100644 index 586cb06..0000000 --- a/rc/assets/logo.doc-h-v4SNWX.js +++ /dev/null @@ -1,13 +0,0 @@ -import{ae as e,af as i,ah as r}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{L as a,P as c}from"./logo.stories-Pq9wDPMV.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function o(n){const s={blockquote:"blockquote",code:"code",h1:"h1",p:"p",...t(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{of:a}),` -`,e.jsx(s.h1,{id:"logo",children:"Logo"}),` -`,e.jsx(s.p,{children:`Els logotips són símbols amb una combinació de text i imatges que ajuden a un -usuari o client a identificar les marques i diferenciar les empreses.`}),` -`,e.jsxs(s.p,{children:[`El logo está construit amb una imatge svg, que s'indica en la ruta d'una -imatge i es construix a través d'una etiqueta `,e.jsx(s.code,{children:"img"}),`. Per a aplicar -una mida, hi ha que fer-ho sobre la etiqueta `,e.jsx(s.code,{children:"img"}),"."]}),` -`,e.jsxs("table",{class:"sb-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Arxiu"}),e.jsx("th",{children:"Descripció"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-default.svg"})}),e.jsx("td",{children:"Logo de color blau"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-negative.svg"})}),e.jsx("td",{children:"Logo de color negre"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"salut-logotip-positive.svg"})}),e.jsx("td",{children:"Logo de color blanc"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:c})]})}function b(n={}){const{wrapper:s}={...t(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(o,{...n})}):o(n)}export{b as default}; diff --git a/rc/assets/logo.stories-Pq9wDPMV.js b/rc/assets/logo.stories-Pq9wDPMV.js deleted file mode 100644 index 9fc791d..0000000 --- a/rc/assets/logo.stories-Pq9wDPMV.js +++ /dev/null @@ -1,15 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const n={title:"Foundations/Logo",argTypes:{style:{name:"Estil",control:{type:"radio"},options:["default","negative","positive"]},width:{name:"Amplaria",control:{type:"text"}}},parameters:{layout:"centered"}},t={render:e=>a``,args:{style:"default",width:"150px"}};var r,s,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ - render: (args: any) => { - return html\`\`; - }, - args: { - style: 'default', - width: '150px' - } -}`,...(o=(s=t.parameters)==null?void 0:s.docs)==null?void 0:o.source}}};const l=["Playground"],d=Object.freeze(Object.defineProperty({__proto__:null,Playground:t,__namedExportsOrder:l,default:n},Symbol.toStringTag,{value:"Module"}));export{d as L,t as P}; diff --git a/rc/assets/migration-breaking-changes.doc-CIM5oHSm.js b/rc/assets/migration-breaking-changes.doc-CIM5oHSm.js deleted file mode 100644 index 814f4c6..0000000 --- a/rc/assets/migration-breaking-changes.doc-CIM5oHSm.js +++ /dev/null @@ -1,142 +0,0 @@ -import{ae as e,af as a}from"./index-Dxx82nxn.js";import{u as s}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(o){const n={a:"a",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Migració V2/Breaking changes"}),` -`,e.jsx(n.h2,{id:"breaking-changes-a-tener-en-cuenta-para-la-migración-a-la-versión-2",children:"Breaking changes a tener en cuenta para la migración a la versión 2"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tooltip",children:"Desplegables: Tooltip"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#action-menu",children:"Desplegables: Action Menu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#popover",children:"Desplegables: Popover"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"elementos-desplegables",children:"Elementos desplegables"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema"})}),` -`,e.jsxs(n.p,{children:[`Hasta el momento, la mayoría de los elementos desplegables que forman parte de la librería se estaban mostrando -utilizando `,e.jsx(n.code,{children:"position: absolute"}),"."]}),` -`,e.jsx(n.p,{children:`Esto estaba generando problemas de renderizado en situaciones donde se aplicaban los despeglabes en conteneddores -con un espacio limitado con scroll o overflow:hidden, o bien en contenedores situados en los bordes de la ventana, donde -el contenido desplegable quedaba oculto o bien se desbordaba del contenedor creando un scroll no deseado.`}),` -`,e.jsx(n.p,{children:`Si bien todos estos componentes disponen de una propiedad de posicionamiento que permite cambiar el lugar donde se despliegan, -no se trataba de una solución 100% eficaz.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solución"})}),` -`,e.jsx(n.p,{children:"La nueva funcionalidad incluye:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Manejo interno de la visibilidad del componente desplegable, ya sea a través de mouseenter/mouseleave o de un evento click."}),` -`,e.jsx(n.li,{children:"Posicionamiento dinámico respecto al contenedor padre pero fuera del flujo del mismo, evitando que sea afectado por la altura del contenedor o por los bordes de la ventana."}),` -`,e.jsx(n.li,{children:"Gestión dinámica del posicionamiento, de forma que en aquellas situaciones donde no haya suficiente espacio para desplegar el contenido en una dirección, el elemento modificará automáticamente su posición para estar siempre visible."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Refactor en iniciativas"})}),` -`,e.jsx(n.p,{children:"Los componentes afectados por este cambio, y que por tanto necesitan ser refactorizados desde las iniciativas, son: tooltips, action menu y popovers."}),` -`,e.jsx(n.p,{children:"Otros componenetes como input dropdown, datepicker o timepicker tambien han sido refactorizados pero al tratarse de un elemento interno no necesita ninguna adaptación externa."}),` -`,e.jsx(n.h4,{id:"tooltip",children:"Tooltip"}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Cualquier lógica CSS que oculte o muestre el componente con el uso del pseudo selector :hover."}),` -`,e.jsx(n.li,{children:"Cualquier atributo CSS position, ya sea relative o absolute, entre los elementos relacionados con el tooltip."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El tooltip se mostrará u ocultará automáticamente al hacer mouseenter/mouseleave sobre el elemento principal que lo contiene, y no el elemento anterior como ocurría en CSS."}),` -`,e.jsx(n.li,{children:"De la misma forma el elemento que tomará como referencia para posicionarse será el contenedor padre del tooltip."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`/* Tooltip que aparece al hacer hover sobre toda la celda y centrado con respecto al ancho de la misma */ -... - - -
Valor
- - Lorem ipsum. - - - -/* Tooltip que aparece al hacer hover solo sobre el texto y centrado con respecto al ancho del mismo */ - - -
- Valor - - Lorem ipsum. - -
- -`})}),` -`,e.jsx(n.h4,{id:"action-menu",children:"Action Menu"}),` -`,e.jsx(n.p,{children:`De la misma forma que los tooltips, los componentes action-menu y popover también han pasado a controlar internamente su visibilidad y posición. -En este caso al hacer click sobre el elemento contenedor o hacer click fuera del mismo.`}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Cualquier lógica externa que controle la visibilidad del componente usando variables o estados."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Podemos utilizar la propiedad disableParentClick junto con la propiedad open para manejar la visibilidad del componente desde fuera, bloqueando el control interno al hacer click en el contenedor padre."}),` -`,e.jsx(n.li,{children:"Podemos utilizar los eventos emitidos por el componente para modificar estados de otros elementos, por ejemplo si necesitaramos actualizar un icono expandido/colapsado"}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` /* Gestion interna de la visibilidad */ -
- - - - - - -
- - /* Gestion externa de la visibilidad */ - toggleMenu = () => { - isOpen = !isOpen; - } -
- - - - - - -
-`})}),` -`,e.jsx(n.h4,{id:"popover",children:"Popover"}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Por defecto, eliminaremos cualquier lógica externa que controle la visibilidad del componente usando variables o estados."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Podemos utilizar la propiedad disableParentClick junto con la propiedad open para manejar la visibilidad del componente desde fuera, bloqueando el control interno al hacer click en el contenedor padre."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` /* Gestion interna de la visibilidad */ -
-

POPOVER CLICK HERE!!

- - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed - vitae hendrerit lacus. - - - -
- - - /* Gestion externa de la visibilidad */ - const isPopoverOpen = false; - togglePopover = (event: Event) => { - event.stopPropagation(); - isPopoverOpen = !isPopoverOpen; - } - -
- - - - - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed - vitae hendrerit lacus. - - - -
- -`})})]})}function h(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{h as default}; diff --git a/rc/assets/migration-breaking-changes.doc-CpGa5WNc.js b/rc/assets/migration-breaking-changes.doc-CpGa5WNc.js deleted file mode 100644 index 63f3b60..0000000 --- a/rc/assets/migration-breaking-changes.doc-CpGa5WNc.js +++ /dev/null @@ -1,142 +0,0 @@ -import{ae as e,af as a}from"./index-CQXi_Y6g.js";import{u as s}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(o){const n={a:"a",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Migració V2/Breaking changes"}),` -`,e.jsx(n.h2,{id:"breaking-changes-a-tener-en-cuenta-para-la-migración-a-la-versión-2",children:"Breaking changes a tener en cuenta para la migración a la versión 2"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tooltip",children:"Desplegables: Tooltip"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#action-menu",children:"Desplegables: Action Menu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#popover",children:"Desplegables: Popover"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"elementos-desplegables",children:"Elementos desplegables"}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Problema"})}),` -`,e.jsxs(n.p,{children:[`Hasta el momento, la mayoría de los elementos desplegables que forman parte de la librería se estaban mostrando -utilizando `,e.jsx(n.code,{children:"position: absolute"}),"."]}),` -`,e.jsx(n.p,{children:`Esto estaba generando problemas de renderizado en situaciones donde se aplicaban los despeglabes en conteneddores -con un espacio limitado con scroll o overflow:hidden, o bien en contenedores situados en los bordes de la ventana, donde -el contenido desplegable quedaba oculto o bien se desbordaba del contenedor creando un scroll no deseado.`}),` -`,e.jsx(n.p,{children:`Si bien todos estos componentes disponen de una propiedad de posicionamiento que permite cambiar el lugar donde se despliegan, -no se trataba de una solución 100% eficaz.`}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Solución"})}),` -`,e.jsx(n.p,{children:"La nueva funcionalidad incluye:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Manejo interno de la visibilidad del componente desplegable, ya sea a través de mouseenter/mouseleave o de un evento click."}),` -`,e.jsx(n.li,{children:"Posicionamiento dinámico respecto al contenedor padre pero fuera del flujo del mismo, evitando que sea afectado por la altura del contenedor o por los bordes de la ventana."}),` -`,e.jsx(n.li,{children:"Gestión dinámica del posicionamiento, de forma que en aquellas situaciones donde no haya suficiente espacio para desplegar el contenido en una dirección, el elemento modificará automáticamente su posición para estar siempre visible."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Refactor en iniciativas"})}),` -`,e.jsx(n.p,{children:"Los componentes afectados por este cambio, y que por tanto necesitan ser refactorizados desde las iniciativas, son: tooltips, action menu y popovers."}),` -`,e.jsx(n.p,{children:"Otros componenetes como input dropdown, datepicker o timepicker tambien han sido refactorizados pero al tratarse de un elemento interno no necesita ninguna adaptación externa."}),` -`,e.jsx(n.h4,{id:"tooltip",children:"Tooltip"}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Cualquier lógica CSS que oculte o muestre el componente con el uso del pseudo selector :hover."}),` -`,e.jsx(n.li,{children:"Cualquier atributo CSS position, ya sea relative o absolute, entre los elementos relacionados con el tooltip."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"El tooltip se mostrará u ocultará automáticamente al hacer mouseenter/mouseleave sobre el elemento principal que lo contiene, y no el elemento anterior como ocurría en CSS."}),` -`,e.jsx(n.li,{children:"De la misma forma el elemento que tomará como referencia para posicionarse será el contenedor padre del tooltip."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`/* Tooltip que aparece al hacer hover sobre toda la celda y centrado con respecto al ancho de la misma */ -... - - -
Valor
- - Lorem ipsum. - - - -/* Tooltip que aparece al hacer hover solo sobre el texto y centrado con respecto al ancho del mismo */ - - -
- Valor - - Lorem ipsum. - -
- -`})}),` -`,e.jsx(n.h4,{id:"action-menu",children:"Action Menu"}),` -`,e.jsx(n.p,{children:`De la misma forma que los tooltips, los componentes action-menu y popover también han pasado a controlar internamente su visibilidad y posición. -En este caso al hacer click sobre el elemento contenedor o hacer click fuera del mismo.`}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Cualquier lógica externa que controle la visibilidad del componente usando variables o estados."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Podemos utilizar la propiedad disableParentClick junto con la propiedad open para manejar la visibilidad del componente desde fuera, bloqueando el control interno al hacer click en el contenedor padre."}),` -`,e.jsx(n.li,{children:"Podemos utilizar los eventos emitidos por el componente para modificar estados de otros elementos, por ejemplo si necesitaramos actualizar un icono expandido/colapsado"}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` /* Gestion interna de la visibilidad */ -
- - - - - - -
- - /* Gestion externa de la visibilidad */ - toggleMenu = () => { - isOpen = !isOpen; - } -
- - - - - - -
-`})}),` -`,e.jsx(n.h4,{id:"popover",children:"Popover"}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A eliminar:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Por defecto, eliminaremos cualquier lógica externa que controle la visibilidad del componente usando variables o estados."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"A tener en cuenta:"})}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Podemos utilizar la propiedad disableParentClick junto con la propiedad open para manejar la visibilidad del componente desde fuera, bloqueando el control interno al hacer click en el contenedor padre."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsx(n.em,{children:"Ejemplo de uso:"})}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` /* Gestion interna de la visibilidad */ -
-

POPOVER CLICK HERE!!

- - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed - vitae hendrerit lacus. - - - -
- - - /* Gestion externa de la visibilidad */ - const isPopoverOpen = false; - togglePopover = (event: Event) => { - event.stopPropagation(); - isPopoverOpen = !isPopoverOpen; - } - -
- - - - - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed - vitae hendrerit lacus. - - - -
- -`})})]})}function h(o={}){const{wrapper:n}={...s(),...o.components};return n?e.jsx(n,{...o,children:e.jsx(i,{...o})}):i(o)}export{h as default}; diff --git a/rc/assets/migration-breaking-changes.doc-CFnTbU_3.js b/rc/assets/migration-breaking-changes.doc-Tsrq-Pf4.js similarity index 97% rename from rc/assets/migration-breaking-changes.doc-CFnTbU_3.js rename to rc/assets/migration-breaking-changes.doc-Tsrq-Pf4.js index a71fd5d..192696f 100644 --- a/rc/assets/migration-breaking-changes.doc-CFnTbU_3.js +++ b/rc/assets/migration-breaking-changes.doc-Tsrq-Pf4.js @@ -1,4 +1,4 @@ -import{ae as e,af as a}from"./index-D51CeFyD.js";import{u as s}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(o){const n={a:"a",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Migració V2/Breaking changes"}),` +import{ae as e,af as a}from"./index-CMvVeEhu.js";import{u as s}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function i(o){const n={a:"a",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Migració V2/Breaking changes"}),` `,e.jsx(n.h2,{id:"breaking-changes-a-tener-en-cuenta-para-la-migración-a-la-versión-2",children:"Breaking changes a tener en cuenta para la migración a la versión 2"}),` `,e.jsxs(n.ul,{children:[` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tooltip",children:"Desplegables: Tooltip"})}),` diff --git a/rc/assets/migration-intro.doc-BInhLL5I.js b/rc/assets/migration-intro.doc-BInhLL5I.js deleted file mode 100644 index 56723f8..0000000 --- a/rc/assets/migration-intro.doc-BInhLL5I.js +++ /dev/null @@ -1,98 +0,0 @@ -import{ae as e,af as s}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(a){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Migració V2/Intro"}),` -`,e.jsx(n.h2,{id:"migración-de-la-librería-design-system-salut-a-la-versión-2",children:"Migración de la librería Design System Salut a la versión 2"}),` -`,e.jsx(n.p,{children:"Bienvenido a la documentación sobre la migración de nuestra librería de Web Components de la versión 1 a la versión 2. Este cambio marca un paso importante en la evolución de nuestra biblioteca, diseñado para ofrecer mejoras significativas tanto en funcionalidad como en rendimiento técnico."}),` -`,e.jsx(n.p,{children:"En esta nueva versión, hemos introducido:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Mejoras funcionales:"})," Nuevas características y capacidades en los componentes, que los hacen más versátiles y alineados con las necesidades actuales de desarrollo."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Optimización del rendimiento:"})," Una reestructuración interna que reduce significativamente los tiempos de carga y mejora el rendimiento general de la aplicación."]}),` -`]}),` -`,e.jsx(n.p,{children:"Nuestro objetivo principal con esta migración ha sido proporcionar una experiencia de usuario más fluida y una integración más eficiente de los componentes, sobre todo en entornos microfrontend."}),` -`,e.jsx(n.p,{children:"En esta documentación, encontrarás todo lo necesario para comprender las diferencias entre las versiones, cómo realizar la migración de manera sencilla y las mejoras específicas que aporta la versión 2."}),` -`,e.jsx(n.p,{children:"¡Empecemos!"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#vite",children:"Restructuración: Vite"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#storybook-8",children:"Restructuración: Storybook"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#eliminaci%C3%B3n-de-dependencias",children:"Restructuración: Dependencias"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#iconos",children:"Mejoras: iconos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#adaptaci%C3%B3n-de-tipados-para-react",children:"Mejoras: tipados React"})}),` -`]}),` -`,e.jsx(n.h3,{id:"restructuración-interna",children:"Restructuración interna"}),` -`,e.jsx(n.h4,{id:"vite",children:"Vite"}),` -`,e.jsx(n.p,{children:"La migración de Webpack a Vite representa un cambio significativo hacia un entorno de desarrollo más ágil y moderno. Vite aprovecha la carga basada en ESModules y un servidor de desarrollo ultrarrápido para ofrecer tiempos de inicio instantáneos y actualizaciones en caliente más eficientes. Además, su diseño optimizado para proyectos modernos reduce los tiempos de construcción en producción, lo que mejora significativamente la experiencia de desarrollo y el rendimiento general del proyecto."}),` -`,e.jsx(n.h4,{id:"storybook-8",children:"Storybook 8"}),` -`,e.jsx(n.p,{children:"La actualización a Storybook v8 trae consigo numerosas ventajas, como un mejor soporte para tecnologías modernas, incluyendo una integración más fluida con herramientas como Vite. Esta versión incluye mejoras en la estabilidad, rendimiento y flexibilidad, con una interfaz más intuitiva y opciones de personalización avanzadas. Estas actualizaciones no solo hacen que trabajar con Storybook sea más eficiente, sino que también ofrecen una experiencia más consistente para documentar y probar componentes."}),` -`,e.jsx(n.h4,{id:"eliminación-de-dependencias",children:"Eliminación de dependencias"}),` -`,e.jsx(n.p,{children:"La eliminación de dependencias innecesarias en el proyecto reduce significativamente el tamaño del paquete final y mejora la velocidad de instalación y compilación. Este proceso también minimiza los riesgos de vulnerabilidades de seguridad asociadas con dependencias obsoletas o no mantenidas, garantizando un ecosistema más limpio, confiable y eficiente para el desarrollo continuo."}),` -`,e.jsx(n.h3,{id:"mejoras-funcionales",children:"Mejoras funcionales"}),` -`,e.jsx(n.h4,{id:"iconos",children:"Iconos"}),` -`,e.jsxs(n.p,{children:["Se ha creado un nuevo Web Component ",e.jsx(n.code,{children:"dss-icon"})," para la gestión de los iconos que incluye dos nuevas funcionalidades importantes:"]}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Gestión de la visibilidad de los iconos hasta que la fuente de iconos esté cargada"}),`. Esto eliminará el problema actual por el que, -hasta que la fuente de iconos no estaba cargada, en el navegador se visualizaban todos los nombres de los iconos. Ahora, mientras la fuente de iconos no esté cargada, el componente mostrará un espacio transparente con el tamaño del icono seleccionado, pasando a mostrar el icono una vez la fuente esté disponible.`]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Gestión de la traducción externa de los iconos"}),". Esto eliminará el problema actual por el que algunos usuarios, que utilizan traductores web externos, estaban visualizando incorrectamente el nombre de los iconos traducido en lugar del propio icono. Esto error se había solucionado temporalmente bloqueando la traducción de todo el html pero con el uso del nuevo componente ya no será necesario."]}),` -`]}),` -`]}),` -`,e.jsx(n.h4,{id:"adaptación-de-tipados-para-react",children:"Adaptación de tipados para React"}),` -`,e.jsx(n.p,{children:`Al utilizar la v1 del Design System Salut en un proyecto React, es posible que hayas experimentado problemas con la gestión de las propiedades -enviadas desde React a los componentes de la librería. Hasta ahora la librería venía testeandose exclusivamente en Angular y no se habían -detectado estos problemas hasta que se ha intentado integrar en un proyecto React.`}),` -`,e.jsx(n.p,{children:`La causa de estos problemas radica en las diferencias en la forma de bindear las propiedades entre Angular y React. Mientras que Angular gestiona las propiedades internamente y las envia en el formato correcto, React envía las propiedades al Web Component de forma nativa, -por lo que ciertos tipos de propiedades como booleans o arrays no se bindean correctamente y el componente no llega a renderizarse como debería.`}),` -`,e.jsx(n.p,{children:"Esto no significa que el DS no funcione en React, sino que son necesarias ciertas adaptaciones para que funcione correctamente, lo que podría dar lugar a mayor complejidad en el código de las aplicaciones."}),` -`,e.jsx(n.p,{children:"Llegados a este punto, hemos añadido algunos ajustes internos a la hora de detectar estos tipos de propiedades para facilitar el uso de los componentes ya sea en React o en aplicaciones nativas sin ningún tipo de framework."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Booleans"}),":"]}),` -`,e.jsx(n.p,{children:"Se ha corregido el problema por el cual, al enviar desde React una variable booleana con valor 'false' el componente la interpretaba como 'true' por el mero hecho de estar definida"}),` -`,e.jsxs(n.p,{children:["Esto nos permite declarar variables boolbeans de forma sencilla ",e.jsx(n.code,{children:""})," sin necesidad de declararlas de forma más compleja como ",e.jsx(n.code,{children:"{...(isModalOpen && { open: true })}"})]}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Arrays Primarios"}),":"]}),` -`,e.jsx(n.p,{children:"Se ha corregido el problema por el cual se necesitaba enviar un array de datos primarios (string, number) como texto plano, lo que dificultaba la lectura del código y la comprensión de las propiedades enviadas."}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`const myItems = ['item1', 'item2', 'item3']; - -`})}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Arrays de Objetos"}),":"]}),` -`,e.jsx(n.p,{children:"Actualmente no se ha podido solucionar el problema anterior aplicado a arrays de objetos, ya que el valor de la propiedad que recibe el DS es una serialización de textos con object Object la cual no podemos reconstruir."}),` -`,e.jsx(n.p,{children:"Por este motivo se recomienda usar una de las dos siguientes alternativas para enviar propiedades de tipo array de objetos:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsx(n.li,{children:"Usar un atributo serializado como JSON"}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`const myItems = [{label: 'item1', value: 'value1'}, {label: 'item2', value: 'value2'}, {label: 'item3', value: 'value3'}]; - - -`})}),` -`,e.jsxs(n.ol,{start:"2",children:[` -`,e.jsx(n.li,{children:"Utilizar una referencia REF de React"}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` const myItems = [{label: 'item1', value: 'value1'}, {label: 'item2', value: 'value2'}, {label: 'item3', value: 'value3'}]; - - const webComponentRef = useRef(null); - - useEffect(() => { - if (webComponentRef.current) { - webComponentRef.current.items = myItems; - } - }, [myItems]); - - ; -`})}),` -`,e.jsx(n.h3,{id:"breaking-changes",children:"Breaking changes"}),` -`,e.jsx(n.h4,{id:"elementos-desplegables-tooltips-action-menu-popovers-dropdowns",children:"Elementos desplegables: Tooltips, Action Menu, Popovers, Dropdowns"}),` -`,e.jsxs(n.p,{children:[`Hasta el momento, la mayoría de los elementos desplegables que forman parte de la librería se estaban mostrando -utilizando `,e.jsx(n.code,{children:"position: absolute"}),"."]}),` -`,e.jsx(n.p,{children:`Esto nos estaba generando problemas de renderizado en situaciones donde se aplicaban los despeglabes en conteneddores -con un espacio limitado con scroll o overflow:hidden, o bien en contenedores situados en los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`Si bien todos estos componentes disponen de una propiedad de posicionamiento que permite cambiar el lugar donde se despliegan, -no se trataba de una solución 100% eficaz.`}),` -`,e.jsx(n.p,{children:`Por este motivo, se ha refactorizado la funcionalidad de todos estos elementos para que cada desplegable se posicione dinámicamente -con respecto al contenedor que lo engloba pero siempre fuera del propio flujo de dicho contenedor. De forma que no se vea afectado -por la altura del mismo o por los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`La nueva funcionalidad incluye, además, la gestión dinámica del desplegable en función de la posición del contenedor en la ventana, -de forma que en aquellas situaciones donde no haya suficiente espacio para desplegar el contenido en una dirección, el elemento -modificará automáticamente su posición para estar siempre visible.`}),` -`,e.jsx(n.p,{children:"Todos estos cambios implican un refactor que debe hacerse tambien a nivel de iniciativas para adaptar el nuevo comportamiento."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Modificaciones necesarias:"})}),` -`,e.jsx(n.p,{children:`Hasta ahora los componentes desplegables se mostraban visibles por defecto (tooltips), siendo necesario añadir una lógica CSS -para ocultar o mostrar el componente cuando se hacía hover en el elemento relacionado, o bien era necesario definir una lógica externa -usando una propiedad open para mostrar u ocultar.`}),` -`,e.jsx(n.p,{children:"o debía manejarse la lógi"})]})}function h(a={}){const{wrapper:n}={...i(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(o,{...a})}):o(a)}export{h as default}; diff --git a/rc/assets/migration-intro.doc-C98mxQfa.js b/rc/assets/migration-intro.doc-BWEZETis.js similarity index 77% rename from rc/assets/migration-intro.doc-C98mxQfa.js rename to rc/assets/migration-intro.doc-BWEZETis.js index 1f8f901..2d2a258 100644 --- a/rc/assets/migration-intro.doc-C98mxQfa.js +++ b/rc/assets/migration-intro.doc-BWEZETis.js @@ -1,4 +1,4 @@ -import{ae as e,af as s}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(a){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Migració V2/Intro"}),` +import{ae as e,af as s}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(a){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Migració V2/Intro"}),` `,e.jsx(n.h2,{id:"migración-de-la-librería-design-system-salut-a-la-versión-2",children:"Migración de la librería Design System Salut a la versión 2"}),` `,e.jsx(n.p,{children:"Bienvenido a la documentación sobre la migración de nuestra librería de Web Components de la versión 1 a la versión 2. Este cambio marca un paso importante en la evolución de nuestra biblioteca, diseñado para ofrecer mejoras significativas tanto en funcionalidad como en rendimiento técnico."}),` `,e.jsx(n.p,{children:"En esta nueva versión, hemos introducido:"}),` @@ -8,7 +8,6 @@ import{ae as e,af as s}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYT `]}),` `,e.jsx(n.p,{children:"Nuestro objetivo principal con esta migración ha sido proporcionar una experiencia de usuario más fluida y una integración más eficiente de los componentes, sobre todo en entornos microfrontend."}),` `,e.jsx(n.p,{children:"En esta documentación, encontrarás todo lo necesario para comprender las diferencias entre las versiones, cómo realizar la migración de manera sencilla y las mejoras específicas que aporta la versión 2."}),` -`,e.jsx(n.p,{children:"¡Empecemos!"}),` `,e.jsxs(n.ul,{children:[` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"#vite",children:"Restructuración: Vite"})}),` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"#storybook-8",children:"Restructuración: Storybook"})}),` @@ -75,24 +74,4 @@ por lo que ciertos tipos de propiedades como booleans o arrays no se bindean cor }, [myItems]); ; -`})}),` -`,e.jsx(n.h3,{id:"breaking-changes",children:"Breaking changes"}),` -`,e.jsx(n.h4,{id:"elementos-desplegables-tooltips-action-menu-popovers-dropdowns",children:"Elementos desplegables: Tooltips, Action Menu, Popovers, Dropdowns"}),` -`,e.jsxs(n.p,{children:[`Hasta el momento, la mayoría de los elementos desplegables que forman parte de la librería se estaban mostrando -utilizando `,e.jsx(n.code,{children:"position: absolute"}),"."]}),` -`,e.jsx(n.p,{children:`Esto nos estaba generando problemas de renderizado en situaciones donde se aplicaban los despeglabes en conteneddores -con un espacio limitado con scroll o overflow:hidden, o bien en contenedores situados en los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`Si bien todos estos componentes disponen de una propiedad de posicionamiento que permite cambiar el lugar donde se despliegan, -no se trataba de una solución 100% eficaz.`}),` -`,e.jsx(n.p,{children:`Por este motivo, se ha refactorizado la funcionalidad de todos estos elementos para que cada desplegable se posicione dinámicamente -con respecto al contenedor que lo engloba pero siempre fuera del propio flujo de dicho contenedor. De forma que no se vea afectado -por la altura del mismo o por los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`La nueva funcionalidad incluye, además, la gestión dinámica del desplegable en función de la posición del contenedor en la ventana, -de forma que en aquellas situaciones donde no haya suficiente espacio para desplegar el contenido en una dirección, el elemento -modificará automáticamente su posición para estar siempre visible.`}),` -`,e.jsx(n.p,{children:"Todos estos cambios implican un refactor que debe hacerse tambien a nivel de iniciativas para adaptar el nuevo comportamiento."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Modificaciones necesarias:"})}),` -`,e.jsx(n.p,{children:`Hasta ahora los componentes desplegables se mostraban visibles por defecto (tooltips), siendo necesario añadir una lógica CSS -para ocultar o mostrar el componente cuando se hacía hover en el elemento relacionado, o bien era necesario definir una lógica externa -usando una propiedad open para mostrar u ocultar.`}),` -`,e.jsx(n.p,{children:"o debía manejarse la lógi"})]})}function h(a={}){const{wrapper:n}={...i(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(o,{...a})}):o(a)}export{h as default}; +`})})]})}function h(a={}){const{wrapper:n}={...i(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(o,{...a})}):o(a)}export{h as default}; diff --git a/rc/assets/migration-intro.doc-CvFZqZKH.js b/rc/assets/migration-intro.doc-CvFZqZKH.js deleted file mode 100644 index 1aa8ca2..0000000 --- a/rc/assets/migration-intro.doc-CvFZqZKH.js +++ /dev/null @@ -1,98 +0,0 @@ -import{ae as e,af as s}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function o(a){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...a.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Migració V2/Intro"}),` -`,e.jsx(n.h2,{id:"migración-de-la-librería-design-system-salut-a-la-versión-2",children:"Migración de la librería Design System Salut a la versión 2"}),` -`,e.jsx(n.p,{children:"Bienvenido a la documentación sobre la migración de nuestra librería de Web Components de la versión 1 a la versión 2. Este cambio marca un paso importante en la evolución de nuestra biblioteca, diseñado para ofrecer mejoras significativas tanto en funcionalidad como en rendimiento técnico."}),` -`,e.jsx(n.p,{children:"En esta nueva versión, hemos introducido:"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Mejoras funcionales:"})," Nuevas características y capacidades en los componentes, que los hacen más versátiles y alineados con las necesidades actuales de desarrollo."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Optimización del rendimiento:"})," Una reestructuración interna que reduce significativamente los tiempos de carga y mejora el rendimiento general de la aplicación."]}),` -`]}),` -`,e.jsx(n.p,{children:"Nuestro objetivo principal con esta migración ha sido proporcionar una experiencia de usuario más fluida y una integración más eficiente de los componentes, sobre todo en entornos microfrontend."}),` -`,e.jsx(n.p,{children:"En esta documentación, encontrarás todo lo necesario para comprender las diferencias entre las versiones, cómo realizar la migración de manera sencilla y las mejoras específicas que aporta la versión 2."}),` -`,e.jsx(n.p,{children:"¡Empecemos!"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#vite",children:"Restructuración: Vite"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#storybook-8",children:"Restructuración: Storybook"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#eliminaci%C3%B3n-de-dependencias",children:"Restructuración: Dependencias"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#iconos",children:"Mejoras: iconos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#adaptaci%C3%B3n-de-tipados-para-react",children:"Mejoras: tipados React"})}),` -`]}),` -`,e.jsx(n.h3,{id:"restructuración-interna",children:"Restructuración interna"}),` -`,e.jsx(n.h4,{id:"vite",children:"Vite"}),` -`,e.jsx(n.p,{children:"La migración de Webpack a Vite representa un cambio significativo hacia un entorno de desarrollo más ágil y moderno. Vite aprovecha la carga basada en ESModules y un servidor de desarrollo ultrarrápido para ofrecer tiempos de inicio instantáneos y actualizaciones en caliente más eficientes. Además, su diseño optimizado para proyectos modernos reduce los tiempos de construcción en producción, lo que mejora significativamente la experiencia de desarrollo y el rendimiento general del proyecto."}),` -`,e.jsx(n.h4,{id:"storybook-8",children:"Storybook 8"}),` -`,e.jsx(n.p,{children:"La actualización a Storybook v8 trae consigo numerosas ventajas, como un mejor soporte para tecnologías modernas, incluyendo una integración más fluida con herramientas como Vite. Esta versión incluye mejoras en la estabilidad, rendimiento y flexibilidad, con una interfaz más intuitiva y opciones de personalización avanzadas. Estas actualizaciones no solo hacen que trabajar con Storybook sea más eficiente, sino que también ofrecen una experiencia más consistente para documentar y probar componentes."}),` -`,e.jsx(n.h4,{id:"eliminación-de-dependencias",children:"Eliminación de dependencias"}),` -`,e.jsx(n.p,{children:"La eliminación de dependencias innecesarias en el proyecto reduce significativamente el tamaño del paquete final y mejora la velocidad de instalación y compilación. Este proceso también minimiza los riesgos de vulnerabilidades de seguridad asociadas con dependencias obsoletas o no mantenidas, garantizando un ecosistema más limpio, confiable y eficiente para el desarrollo continuo."}),` -`,e.jsx(n.h3,{id:"mejoras-funcionales",children:"Mejoras funcionales"}),` -`,e.jsx(n.h4,{id:"iconos",children:"Iconos"}),` -`,e.jsxs(n.p,{children:["Se ha creado un nuevo Web Component ",e.jsx(n.code,{children:"dss-icon"})," para la gestión de los iconos que incluye dos nuevas funcionalidades importantes:"]}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Gestión de la visibilidad de los iconos hasta que la fuente de iconos esté cargada"}),`. Esto eliminará el problema actual por el que, -hasta que la fuente de iconos no estaba cargada, en el navegador se visualizaban todos los nombres de los iconos. Ahora, mientras la fuente de iconos no esté cargada, el componente mostrará un espacio transparente con el tamaño del icono seleccionado, pasando a mostrar el icono una vez la fuente esté disponible.`]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Gestión de la traducción externa de los iconos"}),". Esto eliminará el problema actual por el que algunos usuarios, que utilizan traductores web externos, estaban visualizando incorrectamente el nombre de los iconos traducido en lugar del propio icono. Esto error se había solucionado temporalmente bloqueando la traducción de todo el html pero con el uso del nuevo componente ya no será necesario."]}),` -`]}),` -`]}),` -`,e.jsx(n.h4,{id:"adaptación-de-tipados-para-react",children:"Adaptación de tipados para React"}),` -`,e.jsx(n.p,{children:`Al utilizar la v1 del Design System Salut en un proyecto React, es posible que hayas experimentado problemas con la gestión de las propiedades -enviadas desde React a los componentes de la librería. Hasta ahora la librería venía testeandose exclusivamente en Angular y no se habían -detectado estos problemas hasta que se ha intentado integrar en un proyecto React.`}),` -`,e.jsx(n.p,{children:`La causa de estos problemas radica en las diferencias en la forma de bindear las propiedades entre Angular y React. Mientras que Angular gestiona las propiedades internamente y las envia en el formato correcto, React envía las propiedades al Web Component de forma nativa, -por lo que ciertos tipos de propiedades como booleans o arrays no se bindean correctamente y el componente no llega a renderizarse como debería.`}),` -`,e.jsx(n.p,{children:"Esto no significa que el DS no funcione en React, sino que son necesarias ciertas adaptaciones para que funcione correctamente, lo que podría dar lugar a mayor complejidad en el código de las aplicaciones."}),` -`,e.jsx(n.p,{children:"Llegados a este punto, hemos añadido algunos ajustes internos a la hora de detectar estos tipos de propiedades para facilitar el uso de los componentes ya sea en React o en aplicaciones nativas sin ningún tipo de framework."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Booleans"}),":"]}),` -`,e.jsx(n.p,{children:"Se ha corregido el problema por el cual, al enviar desde React una variable booleana con valor 'false' el componente la interpretaba como 'true' por el mero hecho de estar definida"}),` -`,e.jsxs(n.p,{children:["Esto nos permite declarar variables boolbeans de forma sencilla ",e.jsx(n.code,{children:""})," sin necesidad de declararlas de forma más compleja como ",e.jsx(n.code,{children:"{...(isModalOpen && { open: true })}"})]}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Arrays Primarios"}),":"]}),` -`,e.jsx(n.p,{children:"Se ha corregido el problema por el cual se necesitaba enviar un array de datos primarios (string, number) como texto plano, lo que dificultaba la lectura del código y la comprensión de las propiedades enviadas."}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`const myItems = ['item1', 'item2', 'item3']; - -`})}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Arrays de Objetos"}),":"]}),` -`,e.jsx(n.p,{children:"Actualmente no se ha podido solucionar el problema anterior aplicado a arrays de objetos, ya que el valor de la propiedad que recibe el DS es una serialización de textos con object Object la cual no podemos reconstruir."}),` -`,e.jsx(n.p,{children:"Por este motivo se recomienda usar una de las dos siguientes alternativas para enviar propiedades de tipo array de objetos:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsx(n.li,{children:"Usar un atributo serializado como JSON"}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`const myItems = [{label: 'item1', value: 'value1'}, {label: 'item2', value: 'value2'}, {label: 'item3', value: 'value3'}]; - - -`})}),` -`,e.jsxs(n.ol,{start:"2",children:[` -`,e.jsx(n.li,{children:"Utilizar una referencia REF de React"}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` const myItems = [{label: 'item1', value: 'value1'}, {label: 'item2', value: 'value2'}, {label: 'item3', value: 'value3'}]; - - const webComponentRef = useRef(null); - - useEffect(() => { - if (webComponentRef.current) { - webComponentRef.current.items = myItems; - } - }, [myItems]); - - ; -`})}),` -`,e.jsx(n.h3,{id:"breaking-changes",children:"Breaking changes"}),` -`,e.jsx(n.h4,{id:"elementos-desplegables-tooltips-action-menu-popovers-dropdowns",children:"Elementos desplegables: Tooltips, Action Menu, Popovers, Dropdowns"}),` -`,e.jsxs(n.p,{children:[`Hasta el momento, la mayoría de los elementos desplegables que forman parte de la librería se estaban mostrando -utilizando `,e.jsx(n.code,{children:"position: absolute"}),"."]}),` -`,e.jsx(n.p,{children:`Esto nos estaba generando problemas de renderizado en situaciones donde se aplicaban los despeglabes en conteneddores -con un espacio limitado con scroll o overflow:hidden, o bien en contenedores situados en los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`Si bien todos estos componentes disponen de una propiedad de posicionamiento que permite cambiar el lugar donde se despliegan, -no se trataba de una solución 100% eficaz.`}),` -`,e.jsx(n.p,{children:`Por este motivo, se ha refactorizado la funcionalidad de todos estos elementos para que cada desplegable se posicione dinámicamente -con respecto al contenedor que lo engloba pero siempre fuera del propio flujo de dicho contenedor. De forma que no se vea afectado -por la altura del mismo o por los bordes de la ventana.`}),` -`,e.jsx(n.p,{children:`La nueva funcionalidad incluye, además, la gestión dinámica del desplegable en función de la posición del contenedor en la ventana, -de forma que en aquellas situaciones donde no haya suficiente espacio para desplegar el contenido en una dirección, el elemento -modificará automáticamente su posición para estar siempre visible.`}),` -`,e.jsx(n.p,{children:"Todos estos cambios implican un refactor que debe hacerse tambien a nivel de iniciativas para adaptar el nuevo comportamiento."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Modificaciones necesarias:"})}),` -`,e.jsx(n.p,{children:`Hasta ahora los componentes desplegables se mostraban visibles por defecto (tooltips), siendo necesario añadir una lógica CSS -para ocultar o mostrar el componente cuando se hacía hover en el elemento relacionado, o bien era necesario definir una lógica externa -usando una propiedad open para mostrar u ocultar.`}),` -`,e.jsx(n.p,{children:"o debía manejarse la lógi"})]})}function h(a={}){const{wrapper:n}={...i(),...a.components};return n?e.jsx(n,{...a,children:e.jsx(o,{...a})}):o(a)}export{h as default}; diff --git a/rc/assets/modal.doc-13-Ipo9-.js b/rc/assets/modal.doc-CMm5gecP.js similarity index 98% rename from rc/assets/modal.doc-13-Ipo9-.js rename to rc/assets/modal.doc-CMm5gecP.js index 598c4f0..236ee17 100644 --- a/rc/assets/modal.doc-13-Ipo9-.js +++ b/rc/assets/modal.doc-CMm5gecP.js @@ -1,4 +1,4 @@ -import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as c,P as h}from"./modal.stories-DBvCYULf.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` +import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as c,P as h}from"./modal.stories-DBvCYULf.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` `}),` `,t.jsx(i,{of:c}),` diff --git a/rc/assets/modal.doc-DYBts4DI.js b/rc/assets/modal.doc-DYBts4DI.js deleted file mode 100644 index 7890e24..0000000 --- a/rc/assets/modal.doc-DYBts4DI.js +++ /dev/null @@ -1,134 +0,0 @@ -import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as c,P as h}from"./modal.stories-DBvCYULf.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` - - `}),` -`,t.jsx(i,{of:c}),` -`,t.jsxs("div",{className:"dss-sb-title",children:[t.jsx(o,{}),t.jsx("dss-badge",{text:"dss-modal",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,t.jsx(e.p,{children:`Els modals s'utilitzen per presentar informació crítica o sol·licitar -l'entrada de l'usuari necessària per completar el flux de treball d'un usuari. -Una modal és una finestra emergent o diàleg que apareix sobre la interfície -d'usuari principal d'una aplicació, amb l'objectiu d'obtenir informació o -realitzar una acció específica. Les modals solen bloquejar la interacció amb -la interfície principal fins que l'usuari ha completat la tasca o ha tancat la -finestra emergent.`}),` -`,t.jsxs(e.blockquote,{children:[` -`,t.jsx(e.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,t.jsx(a,{of:h}),` -`,t.jsx(r,{}),` -`,t.jsxs(e.p,{children:["El component modal està compost per tres blocs: ",t.jsx(e.strong,{children:"header"}),", ",t.jsx(e.strong,{children:"body"})," i ",t.jsx(e.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component. També és possible afegir contingut extra -al header amb el seu propi slot, per exemple per afegir un content-switch.`]}),` -`,t.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"open"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Defineix si el modal és visible o ocult."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"size"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"'lg'"}),t.jsx(e.td,{children:"Mida del component. Pot ser: sm o lg."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalTitle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsx(e.td,{children:"Títol mostrat a la capçalera."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"state"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsxs(e.td,{children:["Mostra una icona d'informació a la capçalera. Pot ser: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'"]})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hasScroll"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Habilita el desplaçament vertical dins del body del modal. Important: l'aplicació de l'estil overflow pot afectar la manera com es renderitzen els components amb posició absoluta, passant de sortir fora del modal a incloure's en el propi desplaçament."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hideCloseIcon"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Amagar icona de tancar."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalStyle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Permet modificar l'estil per defecte del contenidor principal del modal per a casos d'ús molt específics."})]})]})]}),` -`,t.jsx(e.p,{children:"(*) Propietat obligatòria"}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsx(e.tbody,{children:t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"onModalClosed"})}),t.jsx(e.td,{children:"Output"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"Event"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Esdeveniment que notifica que el modal s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,t.jsx(e.h2,{id:"source-code",children:"Source code"}),` -`,t.jsxs(e.ul,{children:[` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#default",children:"Default"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#estats",children:"Estats"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,t.jsx(e.h3,{id:"default",children:"Default"}),` -`,t.jsx(e.p,{children:"El contingut de cada modal es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:"Per activar el modal haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-modal. Un exemple en angular seria:"}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Template"})}),` -`,t.jsx(n,{code:` - - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Controller"})}),` -`,t.jsx(n,{code:` - isModalOpen = false; - toggleModal() { - this.isModalOpen = !this.isModalOpen; - } - closeModal() { - this.isModalOpen = false; - } -`}),` -`,t.jsx(e.p,{children:"Pareu atenció a l'esdeveniment onModalClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,t.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"state"})," s'inclourà una icona informativa dins de la capçalera del body. Les opcions que podem definir són: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-divider",children:"Amb divider"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"hasDivider"})," s'inclouran línies divisòries entre les seccions header, body i footer."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-content-switch",children:"Amb content switch"}),` -`,t.jsx(e.p,{children:'El slot "header" ens permet afegir un content-switch però la lògica per mostrar o amagar el contingut ha de ser implementada.'}),` -`,t.jsx(n,{code:` - -
-
-
- - -
-
- - -
-
-
-
-
-

This is the body of the dialog.

-
-
-

This is the body of the dialog.

-
-
- -
-`}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Versió"}),t.jsx(e.th,{children:"Canvis"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"2.0.0"})}),t.jsx(e.td,{children:"Refactor v2."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.9.0"})}),t.jsx(e.td,{children:"S'ha corregit un error pel qual, en estar actiu el modal, el contingut mostrat darrere de la capa overlay permetia fer scroll sobre aquest quan l'scroll hauria d'estar deshabilitat."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.8.0"})}),t.jsx(e.td,{children:"S'ha redefinit l'ample del contenidor del modal, de manera que s'ajustarà automàticament al contingut d'aquest, al mateix temps que tindrà un ample mínim i màxim en funció dels breakpoints de la pantalla."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.7.0"})}),t.jsx(e.td,{children:"S'ha afegit un slot a la capçalera del modal que permet afegir components interactius com el Content Switcher. S'ha afegit una opció per ocultar la icona de tancar l'espai per a aquells casos en què ja hi hagi un boton tancar al footer."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.6.0"})}),t.jsx(e.td,{children:"El component modal s'ha desenvolupat com a component Lit, afegint les funcionals d'obrir i tancar."})]})]})]})]})}function y(s={}){const{wrapper:e}={...l(),...s.components};return e?t.jsx(e,{...s,children:t.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/modal.doc-DuTaru0r.js b/rc/assets/modal.doc-DuTaru0r.js deleted file mode 100644 index 066d1f3..0000000 --- a/rc/assets/modal.doc-DuTaru0r.js +++ /dev/null @@ -1,134 +0,0 @@ -import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-0DKGoewk.js";import{u as l}from"./index-FamfD7PC.js";import{S as c,P as h}from"./modal.stories-BGId7u5N.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` - - `}),` -`,t.jsx(i,{of:c}),` -`,t.jsxs("div",{className:"dss-sb-title",children:[t.jsx(o,{}),t.jsx("dss-badge",{text:"dss-modal",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,t.jsx(e.p,{children:`Els modals s'utilitzen per presentar informació crítica o sol·licitar -l'entrada de l'usuari necessària per completar el flux de treball d'un usuari. -Una modal és una finestra emergent o diàleg que apareix sobre la interfície -d'usuari principal d'una aplicació, amb l'objectiu d'obtenir informació o -realitzar una acció específica. Les modals solen bloquejar la interacció amb -la interfície principal fins que l'usuari ha completat la tasca o ha tancat la -finestra emergent.`}),` -`,t.jsxs(e.blockquote,{children:[` -`,t.jsx(e.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,t.jsx(a,{of:h}),` -`,t.jsx(r,{}),` -`,t.jsxs(e.p,{children:["El component modal està compost per tres blocs: ",t.jsx(e.strong,{children:"header"}),", ",t.jsx(e.strong,{children:"body"})," i ",t.jsx(e.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component. També és possible afegir contingut extra -al header amb el seu propi slot, per exemple per afegir un content-switch.`]}),` -`,t.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"open"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Defineix si el modal és visible o ocult."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"size"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"'lg'"}),t.jsx(e.td,{children:"Mida del component. Pot ser: sm o lg."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalTitle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsx(e.td,{children:"Títol mostrat a la capçalera."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"state"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsxs(e.td,{children:["Mostra una icona d'informació a la capçalera. Pot ser: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'"]})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hasScroll"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Habilita el desplaçament vertical dins del body del modal. Important: l'aplicació de l'estil overflow pot afectar la manera com es renderitzen els components amb posició absoluta, passant de sortir fora del modal a incloure's en el propi desplaçament."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hideCloseIcon"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Amagar icona de tancar."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalStyle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Permet modificar l'estil per defecte del contenidor principal del modal per a casos d'ús molt específics."})]})]})]}),` -`,t.jsx(e.p,{children:"(*) Propietat obligatòria"}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsx(e.tbody,{children:t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"onModalClosed"})}),t.jsx(e.td,{children:"Output"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"Event"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Esdeveniment que notifica que el modal s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,t.jsx(e.h2,{id:"source-code",children:"Source code"}),` -`,t.jsxs(e.ul,{children:[` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#default",children:"Default"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#estats",children:"Estats"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,t.jsx(e.h3,{id:"default",children:"Default"}),` -`,t.jsx(e.p,{children:"El contingut de cada modal es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:"Per activar el modal haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-modal. Un exemple en angular seria:"}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Template"})}),` -`,t.jsx(n,{code:` - - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Controller"})}),` -`,t.jsx(n,{code:` - isModalOpen = false; - toggleModal() { - this.isModalOpen = !this.isModalOpen; - } - closeModal() { - this.isModalOpen = false; - } -`}),` -`,t.jsx(e.p,{children:"Pareu atenció a l'esdeveniment onModalClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,t.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"state"})," s'inclourà una icona informativa dins de la capçalera del body. Les opcions que podem definir són: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-divider",children:"Amb divider"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"hasDivider"})," s'inclouran línies divisòries entre les seccions header, body i footer."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-content-switch",children:"Amb content switch"}),` -`,t.jsx(e.p,{children:'El slot "header" ens permet afegir un content-switch però la lògica per mostrar o amagar el contingut ha de ser implementada.'}),` -`,t.jsx(n,{code:` - -
-
-
- - -
-
- - -
-
-
-
-
-

This is the body of the dialog.

-
-
-

This is the body of the dialog.

-
-
- -
-`}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Versió"}),t.jsx(e.th,{children:"Canvis"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"2.0.0"})}),t.jsx(e.td,{children:"Refactor v2."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.9.0"})}),t.jsx(e.td,{children:"S'ha corregit un error pel qual, en estar actiu el modal, el contingut mostrat darrere de la capa overlay permetia fer scroll sobre aquest quan l'scroll hauria d'estar deshabilitat."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.8.0"})}),t.jsx(e.td,{children:"S'ha redefinit l'ample del contenidor del modal, de manera que s'ajustarà automàticament al contingut d'aquest, al mateix temps que tindrà un ample mínim i màxim en funció dels breakpoints de la pantalla."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.7.0"})}),t.jsx(e.td,{children:"S'ha afegit un slot a la capçalera del modal que permet afegir components interactius com el Content Switcher. S'ha afegit una opció per ocultar la icona de tancar l'espai per a aquells casos en què ja hi hagi un boton tancar al footer."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.6.0"})}),t.jsx(e.td,{children:"El component modal s'ha desenvolupat com a component Lit, afegint les funcionals d'obrir i tancar."})]})]})]})]})}function y(s={}){const{wrapper:e}={...l(),...s.components};return e?t.jsx(e,{...s,children:t.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/modal.doc-DxL-CqM0.js b/rc/assets/modal.doc-DxL-CqM0.js deleted file mode 100644 index e69e474..0000000 --- a/rc/assets/modal.doc-DxL-CqM0.js +++ /dev/null @@ -1,134 +0,0 @@ -import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as c,P as h}from"./modal.stories-DBvCYULf.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` - - `}),` -`,t.jsx(i,{of:c}),` -`,t.jsxs("div",{className:"dss-sb-title",children:[t.jsx(o,{}),t.jsx("dss-badge",{text:"dss-modal",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,t.jsx(e.p,{children:`Els modals s'utilitzen per presentar informació crítica o sol·licitar -l'entrada de l'usuari necessària per completar el flux de treball d'un usuari. -Una modal és una finestra emergent o diàleg que apareix sobre la interfície -d'usuari principal d'una aplicació, amb l'objectiu d'obtenir informació o -realitzar una acció específica. Les modals solen bloquejar la interacció amb -la interfície principal fins que l'usuari ha completat la tasca o ha tancat la -finestra emergent.`}),` -`,t.jsxs(e.blockquote,{children:[` -`,t.jsx(e.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,t.jsx(a,{of:h}),` -`,t.jsx(r,{}),` -`,t.jsxs(e.p,{children:["El component modal està compost per tres blocs: ",t.jsx(e.strong,{children:"header"}),", ",t.jsx(e.strong,{children:"body"})," i ",t.jsx(e.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component. També és possible afegir contingut extra -al header amb el seu propi slot, per exemple per afegir un content-switch.`]}),` -`,t.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"open"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Defineix si el modal és visible o ocult."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"size"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"'lg'"}),t.jsx(e.td,{children:"Mida del component. Pot ser: sm o lg."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalTitle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsx(e.td,{children:"Títol mostrat a la capçalera."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"state"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsxs(e.td,{children:["Mostra una icona d'informació a la capçalera. Pot ser: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'"]})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hasScroll"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Habilita el desplaçament vertical dins del body del modal. Important: l'aplicació de l'estil overflow pot afectar la manera com es renderitzen els components amb posició absoluta, passant de sortir fora del modal a incloure's en el propi desplaçament."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hideCloseIcon"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Amagar icona de tancar."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalStyle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Permet modificar l'estil per defecte del contenidor principal del modal per a casos d'ús molt específics."})]})]})]}),` -`,t.jsx(e.p,{children:"(*) Propietat obligatòria"}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsx(e.tbody,{children:t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"onModalClosed"})}),t.jsx(e.td,{children:"Output"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"Event"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Esdeveniment que notifica que el modal s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,t.jsx(e.h2,{id:"source-code",children:"Source code"}),` -`,t.jsxs(e.ul,{children:[` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#default",children:"Default"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#estats",children:"Estats"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,t.jsx(e.h3,{id:"default",children:"Default"}),` -`,t.jsx(e.p,{children:"El contingut de cada modal es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:"Per activar el modal haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-modal. Un exemple en angular seria:"}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Template"})}),` -`,t.jsx(n,{code:` - - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Controller"})}),` -`,t.jsx(n,{code:` - isModalOpen = false; - toggleModal() { - this.isModalOpen = !this.isModalOpen; - } - closeModal() { - this.isModalOpen = false; - } -`}),` -`,t.jsx(e.p,{children:"Pareu atenció a l'esdeveniment onModalClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,t.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"state"})," s'inclourà una icona informativa dins de la capçalera del body. Les opcions que podem definir són: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-divider",children:"Amb divider"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"hasDivider"})," s'inclouran línies divisòries entre les seccions header, body i footer."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-content-switch",children:"Amb content switch"}),` -`,t.jsx(e.p,{children:'El slot "header" ens permet afegir un content-switch però la lògica per mostrar o amagar el contingut ha de ser implementada.'}),` -`,t.jsx(n,{code:` - -
-
-
- - -
-
- - -
-
-
-
-
-

This is the body of the dialog.

-
-
-

This is the body of the dialog.

-
-
- -
-`}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Versió"}),t.jsx(e.th,{children:"Canvis"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"2.0.0"})}),t.jsx(e.td,{children:"Refactor v2."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.9.0"})}),t.jsx(e.td,{children:"S'ha corregit un error pel qual, en estar actiu el modal, el contingut mostrat darrere de la capa overlay permetia fer scroll sobre aquest quan l'scroll hauria d'estar deshabilitat."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.8.0"})}),t.jsx(e.td,{children:"S'ha redefinit l'ample del contenidor del modal, de manera que s'ajustarà automàticament al contingut d'aquest, al mateix temps que tindrà un ample mínim i màxim en funció dels breakpoints de la pantalla."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.7.0"})}),t.jsx(e.td,{children:"S'ha afegit un slot a la capçalera del modal que permet afegir components interactius com el Content Switcher. S'ha afegit una opció per ocultar la icona de tancar l'espai per a aquells casos en què ja hi hagi un boton tancar al footer."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.6.0"})}),t.jsx(e.td,{children:"El component modal s'ha desenvolupat com a component Lit, afegint les funcionals d'obrir i tancar."})]})]})]})]})}function y(s={}){const{wrapper:e}={...l(),...s.components};return e?t.jsx(e,{...s,children:t.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/modal.doc-HUdIt7RA.js b/rc/assets/modal.doc-HUdIt7RA.js deleted file mode 100644 index eb7b5d7..0000000 --- a/rc/assets/modal.doc-HUdIt7RA.js +++ /dev/null @@ -1,134 +0,0 @@ -import{ae as t,af as i,ag as o,ah as a,ai as r,ak as n}from"./index-CcF9BsMG.js";import{u as l}from"./index-BlEr_OIe.js";import{S as c,P as h}from"./modal.stories-BGId7u5N.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function d(s){const e={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...s.components};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` - - `}),` -`,t.jsx(i,{of:c}),` -`,t.jsxs("div",{className:"dss-sb-title",children:[t.jsx(o,{}),t.jsx("dss-badge",{text:"dss-modal",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,t.jsx(e.p,{children:`Els modals s'utilitzen per presentar informació crítica o sol·licitar -l'entrada de l'usuari necessària per completar el flux de treball d'un usuari. -Una modal és una finestra emergent o diàleg que apareix sobre la interfície -d'usuari principal d'una aplicació, amb l'objectiu d'obtenir informació o -realitzar una acció específica. Les modals solen bloquejar la interacció amb -la interfície principal fins que l'usuari ha completat la tasca o ha tancat la -finestra emergent.`}),` -`,t.jsxs(e.blockquote,{children:[` -`,t.jsx(e.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,t.jsx(a,{of:h}),` -`,t.jsx(r,{}),` -`,t.jsxs(e.p,{children:["El component modal està compost per tres blocs: ",t.jsx(e.strong,{children:"header"}),", ",t.jsx(e.strong,{children:"body"})," i ",t.jsx(e.strong,{children:"footer"}),`. El header es construeix de manera dinàmica -a través de les propietats definides més endavant. El contingut del body i footer s'ha de construir manualment utilitzant els slots -relacionats, cosa que ens permet una major llibertat a l'hora de reutilitzar aquest component. També és possible afegir contingut extra -al header amb el seu propi slot, per exemple per afegir un content-switch.`]}),` -`,t.jsx(e.h3,{id:"propietats",children:"Propietats"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"open"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Defineix si el modal és visible o ocult."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"size"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"'lg'"}),t.jsx(e.td,{children:"Mida del component. Pot ser: sm o lg."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalTitle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Requerida"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsx(e.td,{children:"Títol mostrat a la capçalera."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"state"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"''"}),t.jsxs(e.td,{children:["Mostra una icona d'informació a la capçalera. Pot ser: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'"]})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hasScroll"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Habilita el desplaçament vertical dins del body del modal. Important: l'aplicació de l'estil overflow pot afectar la manera com es renderitzen els components amb posició absoluta, passant de sortir fora del modal a incloure's en el propi desplaçament."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"hideCloseIcon"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"boolean"}),t.jsx(e.td,{children:"false"}),t.jsx(e.td,{children:"Amagar icona de tancar."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"modalStyle"})}),t.jsx(e.td,{children:"Input"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"string"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Permet modificar l'estil per defecte del contenidor principal del modal per a casos d'ús molt específics."})]})]})]}),` -`,t.jsx(e.p,{children:"(*) Propietat obligatòria"}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Name"}),t.jsx(e.th,{children:"Àmbit"}),t.jsx(e.th,{children:"Condition"}),t.jsx(e.th,{children:"Type"}),t.jsx(e.th,{children:"Default"}),t.jsx(e.th,{children:"Description"})]})}),t.jsx(e.tbody,{children:t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"onModalClosed"})}),t.jsx(e.td,{children:"Output"}),t.jsx(e.td,{children:"Opcional"}),t.jsx(e.td,{children:"Event"}),t.jsx(e.td,{children:"-"}),t.jsx(e.td,{children:"Esdeveniment que notifica que el modal s'ha tancat internament des del component, fent clic a la icona de tancar o bé fent clic fora del contenidor del diàleg."})]})})]}),` -`,t.jsx(e.h2,{id:"source-code",children:"Source code"}),` -`,t.jsxs(e.ul,{children:[` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#default",children:"Default"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#estats",children:"Estats"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-divider",children:"Amb divider"})}),` -`,t.jsx(e.li,{children:t.jsx(e.a,{href:"#amb-content-switch",children:"Amb content switch"})}),` -`]}),` -`,t.jsx(e.h3,{id:"default",children:"Default"}),` -`,t.jsx(e.p,{children:"El contingut de cada modal es pot personalitzar individualment modificant l'interior dels slots body i footer."}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:"Per activar el modal haurem de configurar a la nostra aplicació la lògica que afegeixi la propietat open al selector dss-modal. Un exemple en angular seria:"}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Template"})}),` -`,t.jsx(n,{code:` - - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.p,{children:t.jsx(e.strong,{children:"Component Controller"})}),` -`,t.jsx(n,{code:` - isModalOpen = false; - toggleModal() { - this.isModalOpen = !this.isModalOpen; - } - closeModal() { - this.isModalOpen = false; - } -`}),` -`,t.jsx(e.p,{children:"Pareu atenció a l'esdeveniment onModalClosed que hem d'utilitzar per modificar la nostra variable Angular quan el modal es tanca internament al ShadowRoot."}),` -`,t.jsx(e.h3,{id:"estats",children:"Estats"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"state"})," s'inclourà una icona informativa dins de la capçalera del body. Les opcions que podem definir són: '",t.jsx(e.strong,{children:"success"}),"', '",t.jsx(e.strong,{children:"info"}),"', '",t.jsx(e.strong,{children:"alert"}),"' o '",t.jsx(e.strong,{children:"error"}),"'."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-divider",children:"Amb divider"}),` -`,t.jsxs(e.p,{children:["Afegint la propietat ",t.jsx(e.strong,{children:"hasDivider"})," s'inclouran línies divisòries entre les seccions header, body i footer."]}),` -`,t.jsx(n,{code:` - -
-

This is the body of the dialog.

-
- -
-`}),` -`,t.jsx(e.h3,{id:"amb-content-switch",children:"Amb content switch"}),` -`,t.jsx(e.p,{children:'El slot "header" ens permet afegir un content-switch però la lògica per mostrar o amagar el contingut ha de ser implementada.'}),` -`,t.jsx(n,{code:` - -
-
-
- - -
-
- - -
-
-
-
-
-

This is the body of the dialog.

-
-
-

This is the body of the dialog.

-
-
- -
-`}),` -`,t.jsx("br",{}),` -`,t.jsx(e.h4,{id:"changelog",children:"Changelog"}),` -`,t.jsxs(e.table,{children:[t.jsx(e.thead,{children:t.jsxs(e.tr,{children:[t.jsx(e.th,{children:"Versió"}),t.jsx(e.th,{children:"Canvis"})]})}),t.jsxs(e.tbody,{children:[t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"2.0.0"})}),t.jsx(e.td,{children:"Refactor v2."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.9.0"})}),t.jsx(e.td,{children:"S'ha corregit un error pel qual, en estar actiu el modal, el contingut mostrat darrere de la capa overlay permetia fer scroll sobre aquest quan l'scroll hauria d'estar deshabilitat."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.8.0"})}),t.jsx(e.td,{children:"S'ha redefinit l'ample del contenidor del modal, de manera que s'ajustarà automàticament al contingut d'aquest, al mateix temps que tindrà un ample mínim i màxim en funció dels breakpoints de la pantalla."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.7.0"})}),t.jsx(e.td,{children:"S'ha afegit un slot a la capçalera del modal que permet afegir components interactius com el Content Switcher. S'ha afegit una opció per ocultar la icona de tancar l'espai per a aquells casos en què ja hi hagi un boton tancar al footer."})]}),t.jsxs(e.tr,{children:[t.jsx(e.td,{children:t.jsx(e.strong,{children:"1.6.0"})}),t.jsx(e.td,{children:"El component modal s'ha desenvolupat com a component Lit, afegint les funcionals d'obrir i tancar."})]})]})]})]})}function y(s={}){const{wrapper:e}={...l(),...s.components};return e?t.jsx(e,{...s,children:t.jsx(d,{...s})}):d(s)}export{y as default}; diff --git a/rc/assets/modal.stories-BGId7u5N.js b/rc/assets/modal.stories-BGId7u5N.js deleted file mode 100644 index da9a951..0000000 --- a/rc/assets/modal.stories-BGId7u5N.js +++ /dev/null @@ -1,157 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const i={title:"Components/Modal",argTypes:{open:{name:"Obert",control:{type:"boolean"}},size:{name:"Mida",control:{type:"radio"},options:["sm","lg"]},hideCloseIcon:{name:"Amagar icona de tancar",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"}},type:{name:"Tipus",control:{type:"select"},options:["default","success","alert","error","info"]},hasButtonAlternative:{name:"Botó alternatiu",control:{type:"boolean"}},hasButtonSecondary:{name:"Botó secundari",control:{type:"boolean"}},description:{name:"Descripció",control:{type:"text"}},hasCheckbox:{name:"Amb checkbox",control:{type:"boolean"}},hasDivider:{name:"Amb divider",control:{type:"boolean"}},label:{name:"Text del checkbox",control:{type:"text"},if:{arg:"hasCheckbox"}},hideFooter:{name:"Amagar footer",control:{type:"boolean"}},hasScroll:{name:"Simular scroll",control:{type:"boolean"}}},parameters:{layout:"centered"}},l={args:{size:"lg",open:!1,hideCloseIcon:!1,title:"Add Modal title here",type:"default",hasDivider:!0,hasButtonAlternative:!0,hasButtonSecondary:!0,description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore. Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore.",hasCheckbox:!0,label:"Checkbox label",hideFooter:!1,hasScroll:!1},render:o=>{const t=e` -

${o.description}

- ${o.hasCheckbox?e`
- - -
`:""} - `,s=e` -

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-




-



-



-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-




-



-



-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

- `,n=e` - ${o.hasButtonAlternative?e``:""} - ${o.hasButtonSecondary?e``:""} - - `;return e` - ${o.hideFooter?e` - ${o.type==="default"?e` - -
- ${o.hasScroll?s:t} - ${o.hasScroll?s:t} -
-
- `:e` - -
- ${o.hasScroll?s:t} -
-
- `} - `:e` - ${o.type==="default"?e` - -
- ${o.hasScroll?s:t} -
- -
- `:e` - -
- ${o.hasScroll?s:t} -
- -
- `} - `} - `}};var a,d,r;l.parameters={...l.parameters,docs:{...(a=l.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - size: 'lg', - open: false, - hideCloseIcon: false, - title: 'Add Modal title here', - type: 'default', - hasDivider: true, - hasButtonAlternative: true, - hasButtonSecondary: true, - description: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore. Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur amet labore.', - hasCheckbox: true, - label: 'Checkbox label', - hideFooter: false, - hasScroll: false - }, - render: (args: any) => { - const modalBody = html\` -

\${args.description}

- \${args.hasCheckbox ? html\`
- - -
\` : ''} - \`; - const modalBodyScroll = html\` -

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-




-



-



-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-




-



-



-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

- \`; - const modalFooter = html\` - \${args.hasButtonAlternative ? html\`\` : ''} - \${args.hasButtonSecondary ? html\`\` : ''} - - \`; - return html\` - \${args.hideFooter ? html\` - \${args.type === 'default' ? html\` - -
- \${args.hasScroll ? modalBodyScroll : modalBody} - \${args.hasScroll ? modalBodyScroll : modalBody} -
-
- \` : html\` - -
- \${args.hasScroll ? modalBodyScroll : modalBody} -
-
- \`} - \` : html\` - \${args.type === 'default' ? html\` - -
- \${args.hasScroll ? modalBodyScroll : modalBody} -
- -
- \` : html\` - -
- \${args.hasScroll ? modalBodyScroll : modalBody} -
- -
- \`} - \`} - \`; - } -}`,...(r=(d=l.parameters)==null?void 0:d.docs)==null?void 0:r.source}}};const c=["Playground"],m=Object.freeze(Object.defineProperty({__proto__:null,Playground:l,__namedExportsOrder:c,default:i},Symbol.toStringTag,{value:"Module"}));export{l as P,m as S}; diff --git a/rc/assets/module-header.doc-BhA8-rEe.js b/rc/assets/module-header.doc-BhA8-rEe.js deleted file mode 100644 index 2ab700c..0000000 --- a/rc/assets/module-header.doc-BhA8-rEe.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as a,ag as i,ah as o}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-DAw43PfZ.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .dss-module-header__container { - width: 900px; - } - .dss-module-header__container + .dss-module-header__container { - margin-top: 30px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Module Header és un element d'interfície d'usuari disponible que conté -funcionalitats per als mòduls que conformen els productes digitals de Salut, -tals com el títol i CTA’s que accionen diferents funcionalitats.`}),` -`,e.jsxs(n.p,{children:[`Per crear un Module Header complet, utilitzarem un contenidor amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__container"}),`. Si hi ha descripció o botons al header, -tenim que afegir un contenidor que els agrupe i ho fem amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__child-container"}),"."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és un component simple de tipus HTML/CSS pel que no té propietats"}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsx(n.p,{children:`A continuació es mostren uns exemples de les diferents opcions del module -header. Per veure el codi html feu clic sobre 'Show Code'`}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Títol"}),` -`,e.jsxs(n.p,{children:["El títol es l'element que sempre es manté fixe. Correspon al ",e.jsx(n.strong,{children:"headline"}),` amb -la mida `,e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:c}),` -`,e.jsx("h5",{children:"Descripció"}),` -`,e.jsxs(n.p,{children:[`Pot haver-hi descripció o no, i pot ser acompanyat de botons o no. Correspon -al `,e.jsx(n.strong,{children:"legend"})," amb la mida ",e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:m}),` -`,e.jsx("h5",{children:"Botons"}),` -`,e.jsxs(n.p,{children:["Es recomana utilitzar un màxim de dos botons. L'exemple principal correspon al botó amb l'estil ",e.jsx(n.strong,{children:"subte"}),` amb la -mida `,e.jsx(n.strong,{children:"sm"})," i el ",e.jsx(n.strong,{children:"icon-left"}),`. La icona que acompanya al botó es pot canviar per qualsevol de -la galería de `,e.jsx(n.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Google Material Symbols"}),`, -com s'indica a l'apartat de Components/Button.`]}),` -`,e.jsx(o,{of:u})]})}function C(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{C as default}; diff --git a/rc/assets/module-header.doc-CthRmtol.js b/rc/assets/module-header.doc-CthRmtol.js deleted file mode 100644 index b0d3d4e..0000000 --- a/rc/assets/module-header.doc-CthRmtol.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as a,ag as i,ah as o}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-DAw43PfZ.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .dss-module-header__container { - width: 900px; - } - .dss-module-header__container + .dss-module-header__container { - margin-top: 30px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Module Header és un element d'interfície d'usuari disponible que conté -funcionalitats per als mòduls que conformen els productes digitals de Salut, -tals com el títol i CTA’s que accionen diferents funcionalitats.`}),` -`,e.jsxs(n.p,{children:[`Per crear un Module Header complet, utilitzarem un contenidor amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__container"}),`. Si hi ha descripció o botons al header, -tenim que afegir un contenidor que els agrupe i ho fem amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__child-container"}),"."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és un component simple de tipus HTML/CSS pel que no té propietats"}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsx(n.p,{children:`A continuació es mostren uns exemples de les diferents opcions del module -header. Per veure el codi html feu clic sobre 'Show Code'`}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Títol"}),` -`,e.jsxs(n.p,{children:["El títol es l'element que sempre es manté fixe. Correspon al ",e.jsx(n.strong,{children:"headline"}),` amb -la mida `,e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:c}),` -`,e.jsx("h5",{children:"Descripció"}),` -`,e.jsxs(n.p,{children:[`Pot haver-hi descripció o no, i pot ser acompanyat de botons o no. Correspon -al `,e.jsx(n.strong,{children:"legend"})," amb la mida ",e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:m}),` -`,e.jsx("h5",{children:"Botons"}),` -`,e.jsxs(n.p,{children:["Es recomana utilitzar un màxim de dos botons. L'exemple principal correspon al botó amb l'estil ",e.jsx(n.strong,{children:"subte"}),` amb la -mida `,e.jsx(n.strong,{children:"sm"})," i el ",e.jsx(n.strong,{children:"icon-left"}),`. La icona que acompanya al botó es pot canviar per qualsevol de -la galería de `,e.jsx(n.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Google Material Symbols"}),`, -com s'indica a l'apartat de Components/Button.`]}),` -`,e.jsx(o,{of:u})]})}function C(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{C as default}; diff --git a/rc/assets/module-header.doc-Cv68ADL4.js b/rc/assets/module-header.doc-Cv68ADL4.js deleted file mode 100644 index 3bc6f9a..0000000 --- a/rc/assets/module-header.doc-Cv68ADL4.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as a,ag as i,ah as o}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-BTbcHVIi.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .dss-module-header__container { - width: 900px; - } - .dss-module-header__container + .dss-module-header__container { - margin-top: 30px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Module Header és un element d'interfície d'usuari disponible que conté -funcionalitats per als mòduls que conformen els productes digitals de Salut, -tals com el títol i CTA’s que accionen diferents funcionalitats.`}),` -`,e.jsxs(n.p,{children:[`Per crear un Module Header complet, utilitzarem un contenidor amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__container"}),`. Si hi ha descripció o botons al header, -tenim que afegir un contenidor que els agrupe i ho fem amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__child-container"}),"."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és un component simple de tipus HTML/CSS pel que no té propietats"}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsx(n.p,{children:`A continuació es mostren uns exemples de les diferents opcions del module -header. Per veure el codi html feu clic sobre 'Show Code'`}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Títol"}),` -`,e.jsxs(n.p,{children:["El títol es l'element que sempre es manté fixe. Correspon al ",e.jsx(n.strong,{children:"headline"}),` amb -la mida `,e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:c}),` -`,e.jsx("h5",{children:"Descripció"}),` -`,e.jsxs(n.p,{children:[`Pot haver-hi descripció o no, i pot ser acompanyat de botons o no. Correspon -al `,e.jsx(n.strong,{children:"legend"})," amb la mida ",e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:m}),` -`,e.jsx("h5",{children:"Botons"}),` -`,e.jsxs(n.p,{children:["Es recomana utilitzar un màxim de dos botons. L'exemple principal correspon al botó amb l'estil ",e.jsx(n.strong,{children:"subte"}),` amb la -mida `,e.jsx(n.strong,{children:"sm"})," i el ",e.jsx(n.strong,{children:"icon-left"}),`. La icona que acompanya al botó es pot canviar per qualsevol de -la galería de `,e.jsx(n.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Google Material Symbols"}),`, -com s'indica a l'apartat de Components/Button.`]}),` -`,e.jsx(o,{of:u})]})}function C(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{C as default}; diff --git a/rc/assets/module-header.doc-D480ZEGT.js b/rc/assets/module-header.doc-D480ZEGT.js deleted file mode 100644 index e031ccb..0000000 --- a/rc/assets/module-header.doc-D480ZEGT.js +++ /dev/null @@ -1,44 +0,0 @@ -import{ae as e,af as a,ag as i,ah as o}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-BTbcHVIi.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .dss-module-header__container { - width: 900px; - } - .dss-module-header__container + .dss-module-header__container { - margin-top: 30px; - } - `}),` -`,e.jsx(a,{of:l}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El Module Header és un element d'interfície d'usuari disponible que conté -funcionalitats per als mòduls que conformen els productes digitals de Salut, -tals com el títol i CTA’s que accionen diferents funcionalitats.`}),` -`,e.jsxs(n.p,{children:[`Per crear un Module Header complet, utilitzarem un contenidor amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__container"}),`. Si hi ha descripció o botons al header, -tenim que afegir un contenidor que els agrupe i ho fem amb la classe -`,e.jsx(n.strong,{children:"dss-module-header__child-container"}),"."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és un component simple de tipus HTML/CSS pel que no té propietats"}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsx(n.p,{children:`A continuació es mostren uns exemples de les diferents opcions del module -header. Per veure el codi html feu clic sobre 'Show Code'`}),` -`,e.jsx("br",{}),` -`,e.jsx("h5",{children:"Títol"}),` -`,e.jsxs(n.p,{children:["El títol es l'element que sempre es manté fixe. Correspon al ",e.jsx(n.strong,{children:"headline"}),` amb -la mida `,e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:c}),` -`,e.jsx("h5",{children:"Descripció"}),` -`,e.jsxs(n.p,{children:[`Pot haver-hi descripció o no, i pot ser acompanyat de botons o no. Correspon -al `,e.jsx(n.strong,{children:"legend"})," amb la mida ",e.jsx(n.strong,{children:"sm"}),"."]}),` -`,e.jsx(o,{of:m}),` -`,e.jsx("h5",{children:"Botons"}),` -`,e.jsxs(n.p,{children:["Es recomana utilitzar un màxim de dos botons. L'exemple principal correspon al botó amb l'estil ",e.jsx(n.strong,{children:"subte"}),` amb la -mida `,e.jsx(n.strong,{children:"sm"})," i el ",e.jsx(n.strong,{children:"icon-left"}),`. La icona que acompanya al botó es pot canviar per qualsevol de -la galería de `,e.jsx(n.a,{href:"https://fonts.google.com/icons?icon.set=Material+Symbols",rel:"nofollow",children:"Google Material Symbols"}),`, -com s'indica a l'apartat de Components/Button.`]}),` -`,e.jsx(o,{of:u})]})}function C(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{C as default}; diff --git a/rc/assets/module-header.doc-D5bEJOW1.js b/rc/assets/module-header.doc-QgspREwe.js similarity index 94% rename from rc/assets/module-header.doc-D5bEJOW1.js rename to rc/assets/module-header.doc-QgspREwe.js index 01360d2..12806ca 100644 --- a/rc/assets/module-header.doc-D5bEJOW1.js +++ b/rc/assets/module-header.doc-QgspREwe.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as i,ah as o}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-BTbcHVIi.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as i,ah as o}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as l,P as d,T as c,D as m,B as u}from"./module-header.stories-BTbcHVIi.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",p:"p",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .dss-module-header__container { width: 900px; } diff --git a/rc/assets/module-header.stories-DAw43PfZ.js b/rc/assets/module-header.stories-DAw43PfZ.js deleted file mode 100644 index aa87c91..0000000 --- a/rc/assets/module-header.stories-DAw43PfZ.js +++ /dev/null @@ -1,273 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const B={title:"Components/Module Header",argTypes:{title:{name:"Títol",control:{type:"text"}},withDescription:{name:"Amb descripció",control:{type:"boolean"}},description:{name:"Descripció",control:{type:"text"},if:{arg:"withDescription"}},withButton:{name:"Amb botó",control:{type:"boolean"}},buttonNumber:{name:"Quantitat de botons",control:{type:"select"},options:[1,2],if:{arg:"withButton"}}},parameters:{layout:"centered"}},t={render:s=>{let c="";const o=document.createElement("div");o.className="dss-module-header__container",o.innerHTML=`
${s.title}
`;const i=document.createElement("div");if(i.className="dss-module-header__child-container",o.appendChild(i),s.withDescription&&(i.innerHTML=`
${s.description}
`),s.withButton){for(let l=1;l<=s.buttonNumber;l++)c+=``;i.innerHTML+=c}return a`${o}`},args:{title:"Title",withDescription:!1,description:"",withButton:!1,buttonNumber:0}},n={tags:["!dev"],render:()=>a` -
-
Title
-
- `},d={tags:["!dev"],render:()=>a` -
-
Title
- -
-
Descriptive text
-
-
- -
-
Title
- -
-
Descriptive text
- - -
-
- -
-
Title
- -
-
Descriptive text
- - - - -
-
- `},e={tags:["!dev"],render:()=>a` -
-
Title
- -
- -
-
- -
-
Title
- -
-
Descriptive text
- - -
-
- -
-
Title
- -
- - - -
-
- -
-
Title
- -
-
Descriptive text
- - - - -
-
- -
-
Title
- -
-
Descriptive text
- - - - - - -
-
- `};var u,b,r;t.parameters={...t.parameters,docs:{...(u=t.parameters)==null?void 0:u.docs,source:{originalSource:`{ - render: (args: any) => { - let button = ''; - const container = document.createElement('div'); - container.className = 'dss-module-header__container'; - container.innerHTML = \`
\${args.title}
\`; - const child = document.createElement('div'); - child.className = 'dss-module-header__child-container'; - container.appendChild(child); - if (args.withDescription) { - child.innerHTML = \`
\${args.description}
\`; - } - if (args.withButton) { - for (let i = 1; i <= args.buttonNumber; i++) { - button += \`\`; - } - child.innerHTML += button; - } - return html\`\${container}\`; - }, - args: { - title: 'Title', - withDescription: false, - description: '', - withButton: false, - buttonNumber: 0 - } -}`,...(r=(b=t.parameters)==null?void 0:b.docs)==null?void 0:r.source}}};var v,m,_;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
Title
-
- \`; - } -}`,...(_=(m=n.parameters)==null?void 0:m.docs)==null?void 0:_.source}}};var h,p,x;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
Title
- -
-
Descriptive text
-
-
- -
-
Title
- -
-
Descriptive text
- - -
-
- -
-
Title
- -
-
Descriptive text
- - - - -
-
- \`; - } -}`,...(x=(p=d.parameters)==null?void 0:p.docs)==null?void 0:x.source}}};var f,y,g;e.parameters={...e.parameters,docs:{...(f=e.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
-
Title
- -
- -
-
- -
-
Title
- -
-
Descriptive text
- - -
-
- -
-
Title
- -
- - - -
-
- -
-
Title
- -
-
Descriptive text
- - - - -
-
- -
-
Title
- -
-
Descriptive text
- - - - - - -
-
- \`; - } -}`,...(g=(y=e.parameters)==null?void 0:y.docs)==null?void 0:g.source}}};const T=["Playground","Title","Description","Buttons"],w=Object.freeze(Object.defineProperty({__proto__:null,Buttons:e,Description:d,Playground:t,Title:n,__namedExportsOrder:T,default:B},Symbol.toStringTag,{value:"Module"}));export{e as B,d as D,t as P,w as S,n as T}; diff --git a/rc/assets/notification-badge.doc-B8ROy9BR.js b/rc/assets/notification-badge.doc-B8ROy9BR.js deleted file mode 100644 index 53109b4..0000000 --- a/rc/assets/notification-badge.doc-B8ROy9BR.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-D4Teec5t.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 5px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-notification-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un Notification Badge pot incloure icones o números."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona en lloc del valor."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Valor mostrat dins del component"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Estil que mostrarà el component en funció del nivell de criticitat. Pot ser: ",e.jsx(n.strong,{children:"success"}),", ",e.jsx(n.strong,{children:"error"}),", ",e.jsx(n.strong,{children:"alert"}),", ",e.jsx(n.strong,{children:"info"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dot"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Canvia l'aparença del component a l'estil 'dot'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderWhite"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per habilitar una vora de color blanc"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per incloure'l dins del menú, habilitant una vora de color primary."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:["Aparença del component quan la propietat menu està habilitada. Pot ser: ",e.jsx(n.strong,{children:"default"})," o ",e.jsx(n.strong,{children:"brand"}),". Si el tipus és default, l'aparença del badge dependrà de la propietat 'state'."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-dot",children:"Estil Dot"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-menu",children:"Estil Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"estil-dot",children:"Estil Dot"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"estil-menu",children:"Estil Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsxs(n.td,{children:["S'ha eliminat el marge blanc que envoltava el badge per defecte per evitar conflictes en els estats hover i active dins d'altres components. Per afegir el marge blanc, cal utilitzar la propietat borderWhite.",e.jsx("br",{}),"S'ha actualitzat el nom de la propietat menu a borderMenu per estar alineat amb la nova propietat per al marge blanc. (La propietat menu es pot continuar utilitzant per evitar refactorització en aquells components ja implementats)."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.7.0"})}),e.jsx(n.td,{children:"Nou component per mostrar noficacions numèriques amb els seus estats corresponents."})]})]})]})]})}function E(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/notification-badge.doc-Bw6uAIEN.js b/rc/assets/notification-badge.doc-Bw6uAIEN.js deleted file mode 100644 index 6faaed1..0000000 --- a/rc/assets/notification-badge.doc-Bw6uAIEN.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-BF-y_xf9.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 5px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-notification-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un Notification Badge pot incloure icones o números."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona en lloc del valor."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Valor mostrat dins del component"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Estil que mostrarà el component en funció del nivell de criticitat. Pot ser: ",e.jsx(n.strong,{children:"success"}),", ",e.jsx(n.strong,{children:"error"}),", ",e.jsx(n.strong,{children:"alert"}),", ",e.jsx(n.strong,{children:"info"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dot"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Canvia l'aparença del component a l'estil 'dot'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderWhite"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per habilitar una vora de color blanc"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per incloure'l dins del menú, habilitant una vora de color primary."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:["Aparença del component quan la propietat menu està habilitada. Pot ser: ",e.jsx(n.strong,{children:"default"})," o ",e.jsx(n.strong,{children:"brand"}),". Si el tipus és default, l'aparença del badge dependrà de la propietat 'state'."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-dot",children:"Estil Dot"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-menu",children:"Estil Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"estil-dot",children:"Estil Dot"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"estil-menu",children:"Estil Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsxs(n.td,{children:["S'ha eliminat el marge blanc que envoltava el badge per defecte per evitar conflictes en els estats hover i active dins d'altres components. Per afegir el marge blanc, cal utilitzar la propietat borderWhite.",e.jsx("br",{}),"S'ha actualitzat el nom de la propietat menu a borderMenu per estar alineat amb la nova propietat per al marge blanc. (La propietat menu es pot continuar utilitzant per evitar refactorització en aquells components ja implementats)."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.7.0"})}),e.jsx(n.td,{children:"Nou component per mostrar noficacions numèriques amb els seus estats corresponents."})]})]})]})]})}function E(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/notification-badge.doc-24NV8iVQ.js b/rc/assets/notification-badge.doc-CRrYBZ3e.js similarity index 96% rename from rc/assets/notification-badge.doc-24NV8iVQ.js rename to rc/assets/notification-badge.doc-CRrYBZ3e.js index 56d28e4..8651a12 100644 --- a/rc/assets/notification-badge.doc-24NV8iVQ.js +++ b/rc/assets/notification-badge.doc-CRrYBZ3e.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-D4Teec5t.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-D4Teec5t.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .css-1sqhzee { display:none } diff --git a/rc/assets/notification-badge.doc-Cm1D0caL.js b/rc/assets/notification-badge.doc-Cm1D0caL.js deleted file mode 100644 index 4a8402d..0000000 --- a/rc/assets/notification-badge.doc-Cm1D0caL.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-BF-y_xf9.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 5px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-notification-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un Notification Badge pot incloure icones o números."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona en lloc del valor."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Valor mostrat dins del component"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Estil que mostrarà el component en funció del nivell de criticitat. Pot ser: ",e.jsx(n.strong,{children:"success"}),", ",e.jsx(n.strong,{children:"error"}),", ",e.jsx(n.strong,{children:"alert"}),", ",e.jsx(n.strong,{children:"info"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dot"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Canvia l'aparença del component a l'estil 'dot'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderWhite"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per habilitar una vora de color blanc"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per incloure'l dins del menú, habilitant una vora de color primary."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:["Aparença del component quan la propietat menu està habilitada. Pot ser: ",e.jsx(n.strong,{children:"default"})," o ",e.jsx(n.strong,{children:"brand"}),". Si el tipus és default, l'aparença del badge dependrà de la propietat 'state'."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-dot",children:"Estil Dot"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-menu",children:"Estil Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"estil-dot",children:"Estil Dot"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"estil-menu",children:"Estil Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsxs(n.td,{children:["S'ha eliminat el marge blanc que envoltava el badge per defecte per evitar conflictes en els estats hover i active dins d'altres components. Per afegir el marge blanc, cal utilitzar la propietat borderWhite.",e.jsx("br",{}),"S'ha actualitzat el nom de la propietat menu a borderMenu per estar alineat amb la nova propietat per al marge blanc. (La propietat menu es pot continuar utilitzant per evitar refactorització en aquells components ja implementats)."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.7.0"})}),e.jsx(n.td,{children:"Nou component per mostrar noficacions numèriques amb els seus estats corresponents."})]})]})]})]})}function E(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/notification-badge.doc-Cqsd20Yz.js b/rc/assets/notification-badge.doc-Cqsd20Yz.js deleted file mode 100644 index 063608e..0000000 --- a/rc/assets/notification-badge.doc-Cqsd20Yz.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as l,ag as d,ah as s,ai as a}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as c,P as o,a as h,I as x,D as j,M as p}from"./notification-badge.stories-D4Teec5t.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 5px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-notification-badge",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Badges transmeten informació dinàmica, com ara recomptes o estats. Un Notification Badge pot incloure icones o números."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona en lloc del valor."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Valor mostrat dins del component"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Estil que mostrarà el component en funció del nivell de criticitat. Pot ser: ",e.jsx(n.strong,{children:"success"}),", ",e.jsx(n.strong,{children:"error"}),", ",e.jsx(n.strong,{children:"alert"}),", ",e.jsx(n.strong,{children:"info"}),"."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dot"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Canvia l'aparença del component a l'estil 'dot'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderWhite"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per habilitar una vora de color blanc"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"borderMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Modifica l'aparença del component per incloure'l dins del menú, habilitant una vora de color primary."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:["Aparença del component quan la propietat menu està habilitada. Pot ser: ",e.jsx(n.strong,{children:"default"})," o ",e.jsx(n.strong,{children:"brand"}),". Si el tipus és default, l'aparença del badge dependrà de la propietat 'state'."]})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estats",children:"Estats"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icona",children:"Amb icona"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-dot",children:"Estil Dot"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estil-menu",children:"Estil Menu"})}),` -`]}),` -`,e.jsx(n.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"amb-icona",children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"estil-dot",children:"Estil Dot"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"estil-menu",children:"Estil Menu"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsxs(n.td,{children:["S'ha eliminat el marge blanc que envoltava el badge per defecte per evitar conflictes en els estats hover i active dins d'altres components. Per afegir el marge blanc, cal utilitzar la propietat borderWhite.",e.jsx("br",{}),"S'ha actualitzat el nom de la propietat menu a borderMenu per estar alineat amb la nova propietat per al marge blanc. (La propietat menu es pot continuar utilitzant per evitar refactorització en aquells components ja implementats)."]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.7.0"})}),e.jsx(n.td,{children:"Nou component per mostrar noficacions numèriques amb els seus estats corresponents."})]})]})]})]})}function E(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{E as default}; diff --git a/rc/assets/notification-badge.stories-BF-y_xf9.js b/rc/assets/notification-badge.stories-BF-y_xf9.js deleted file mode 100644 index eea3e8b..0000000 --- a/rc/assets/notification-badge.stories-BF-y_xf9.js +++ /dev/null @@ -1,103 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const _={title:"Components/Notification Badge",argTypes:{state:{name:"Estat",control:{type:"radio"},options:["success","error","alert","info"]},showIcon:{name:" Mostra icona",control:{type:"boolean"}},icon:{name:"Icona",control:{type:"text"},if:{arg:"showIcon",truthy:!0}},value:{name:"Valor",control:{type:"text"}},dot:{name:" Tipus dot",control:{type:"boolean"}},borderWhite:{name:" Habilitar vora: tipus blanc",control:{type:"boolean"}},borderMenu:{name:" Habilitar vora: tipus menu",control:{type:"boolean"}},type:{name:"Tipus",control:{type:"radio"},options:["default","brand"],if:{arg:"menu",truthy:!0}}},parameters:{layout:"centered"}},a={args:{state:"succes",showIcon:!1,icon:"add_box",value:"1",dot:!1,borderWhite:!1,borderMenu:!1,type:"default"},render:e=>t` - ${e.showIcon?t` - - `:t` - - `} - `},o={tags:["!dev"],render:()=>t` -
- - - - -
- `},n={tags:["!dev"],render:()=>t` -
- - - - -
- `},s={tags:["!dev"],render:()=>t` -
- - - - -
- `},i={tags:["!dev"],render:()=>t` -
- - - - -
- `};var d,r,c;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - state: 'succes', - showIcon: false, - icon: 'add_box', - value: '1', - dot: false, - borderWhite: false, - borderMenu: false, - type: 'default' - }, - render: (args: any) => { - return html\` - \${args.showIcon ? html\` - - \` : html\` - - \`} - \`; - } -}`,...(c=(r=a.parameters)==null?void 0:r.docs)==null?void 0:c.source}}};var b,f,u;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(u=(f=o.parameters)==null?void 0:f.docs)==null?void 0:u.source}}};var g,l,p;n.parameters={...n.parameters,docs:{...(g=n.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(p=(l=n.parameters)==null?void 0:l.docs)==null?void 0:p.source}}};var m,v,y;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(y=(v=s.parameters)==null?void 0:v.docs)==null?void 0:y.source}}};var h,$,M;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - -
- \`; - } -}`,...(M=($=i.parameters)==null?void 0:$.docs)==null?void 0:M.source}}};const x=["Playground","States","Icon","Dot","MenuStyle"],S=Object.freeze(Object.defineProperty({__proto__:null,Dot:s,Icon:n,MenuStyle:i,Playground:a,States:o,__namedExportsOrder:x,default:_},Symbol.toStringTag,{value:"Module"}));export{s as D,n as I,i as M,a as P,S,o as a}; diff --git a/rc/assets/pagination.doc-BZQL1XJZ.js b/rc/assets/pagination.doc-BZQL1XJZ.js deleted file mode 100644 index c76b738..0000000 --- a/rc/assets/pagination.doc-BZQL1XJZ.js +++ /dev/null @@ -1,69 +0,0 @@ -import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-labxGTkf.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - } - - .innerZoomElementWrapper > * { - width:100% !important; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-table-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Pagination permet dividir grans quantitats de contingut en -fragments més petits en diverses pàgines.`}),` -`,e.jsx(n.p,{children:"Disposem de dos paginadors diferents:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-pagination"})}),": és un paginador genèric que podríem aplicar a qualsevol llista. Aquest mostra els números de les pàgines disponibles i podríem moure'ns entre ells."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-table-pagination"})}),": és un paginador específic per a taules. Mostra els botons per moure's entre pàgines però també el nombre de resultats a la taula i un selector per canviar la mida de la pàgina en qualsevol moment."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-pagination",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"10"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'opcions que es mostra al Table Pagination per indicar quants elements volem per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"resultsText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Resultats"}),e.jsx(n.td,{children:"Etiqueta per al nombre de resultats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rowsPerPageText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Files per pàgina"}),e.jsx(n.td,{children:"Etiqueta per files per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidePaginationResults"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h3,{id:"dss-pagination-1",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Pagination només emet la pàgina actual que ens trobem."})]})})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination-1",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Table Pagination emet un objecte amb les propietats següents (currentIndex, startIndex, endIndex)."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants-pagination",children:"Variants Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mides",children:"Mides"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mides",children:"Mides"}),` -`,e.jsxs(n.p,{children:[`El component Pagination està disponible en dos mides: Large i Medium. D'altra -banda, la mida mitjana serà el per defecte, per indicar la mida gran hem -d'afegir la propietat size amb la mida específica `,e.jsx(n.strong,{children:"lg"}),`. El Table Pagination -tant sols està disponible en una mida.`]}),` -`,e.jsx("h5",{children:"Medium"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Large"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h2,{id:"variants-table-pagination",children:"Variants Table Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-selector-de-mida-de-p%C3%A0gina",children:"Amb selector de mida de pàgina"})}),` -`]}),` -`,e.jsx(n.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"amb-selector-de-mida-de-pàgina",children:"Amb selector de mida de pàgina"}),` -`,e.jsx(n.p,{children:`Aquest tipus de paginació s'utilitza específicament en taules amb moltes -files. En lloc de dividir el contingut en pàgines, la taula s'organitza en -diferents pàgines, amb un nombre fix de files a cada pàgina.`}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error per la propietat pageSize no sorgia efecte i en el seu lloc es prenia com a referència el primer valor de la propietat pageSizeOptions. Ara el pageSize, per defecte 10, tindrà més pes sempre que existeixi dins de les opcions, en cas contrari el pageSize per defecte serà la primera opcion disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.3.0"})}),e.jsx(n.td,{children:"Actualització en els estils del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.1.5"})}),e.jsx(n.td,{children:"S’ha corregit un error en el component de paginació de taules pel qual es reiniciava cada vegada que l'usuari canviava el nombre d'elements per pàgina. Ara es pren com a referència el primer element mostrat a la taula perquè el component posi l'usuari en l'índex en què es continua mostrant aquest element. S'ha afegit una nova funcionalitat en el component pagination i table-pagination de taules per poder conservar la vista en què l'usuari estava localitzat en moure's entre pàgines, fent servir l'atribut 'currentindex'."})]})]})]})]})}function y(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{y as default}; diff --git a/rc/assets/pagination.doc-BklnLs1D.js b/rc/assets/pagination.doc-BklnLs1D.js deleted file mode 100644 index 44e1ac2..0000000 --- a/rc/assets/pagination.doc-BklnLs1D.js +++ /dev/null @@ -1,69 +0,0 @@ -import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-DsELIg8i.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - } - - .innerZoomElementWrapper > * { - width:100% !important; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-table-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Pagination permet dividir grans quantitats de contingut en -fragments més petits en diverses pàgines.`}),` -`,e.jsx(n.p,{children:"Disposem de dos paginadors diferents:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-pagination"})}),": és un paginador genèric que podríem aplicar a qualsevol llista. Aquest mostra els números de les pàgines disponibles i podríem moure'ns entre ells."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-table-pagination"})}),": és un paginador específic per a taules. Mostra els botons per moure's entre pàgines però també el nombre de resultats a la taula i un selector per canviar la mida de la pàgina en qualsevol moment."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-pagination",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"10"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'opcions que es mostra al Table Pagination per indicar quants elements volem per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"resultsText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Resultats"}),e.jsx(n.td,{children:"Etiqueta per al nombre de resultats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rowsPerPageText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Files per pàgina"}),e.jsx(n.td,{children:"Etiqueta per files per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidePaginationResults"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h3,{id:"dss-pagination-1",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Pagination només emet la pàgina actual que ens trobem."})]})})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination-1",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Table Pagination emet un objecte amb les propietats següents (currentIndex, startIndex, endIndex)."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants-pagination",children:"Variants Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mides",children:"Mides"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mides",children:"Mides"}),` -`,e.jsxs(n.p,{children:[`El component Pagination està disponible en dos mides: Large i Medium. D'altra -banda, la mida mitjana serà el per defecte, per indicar la mida gran hem -d'afegir la propietat size amb la mida específica `,e.jsx(n.strong,{children:"lg"}),`. El Table Pagination -tant sols està disponible en una mida.`]}),` -`,e.jsx("h5",{children:"Medium"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Large"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h2,{id:"variants-table-pagination",children:"Variants Table Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-selector-de-mida-de-p%C3%A0gina",children:"Amb selector de mida de pàgina"})}),` -`]}),` -`,e.jsx(n.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"amb-selector-de-mida-de-pàgina",children:"Amb selector de mida de pàgina"}),` -`,e.jsx(n.p,{children:`Aquest tipus de paginació s'utilitza específicament en taules amb moltes -files. En lloc de dividir el contingut en pàgines, la taula s'organitza en -diferents pàgines, amb un nombre fix de files a cada pàgina.`}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error per la propietat pageSize no sorgia efecte i en el seu lloc es prenia com a referència el primer valor de la propietat pageSizeOptions. Ara el pageSize, per defecte 10, tindrà més pes sempre que existeixi dins de les opcions, en cas contrari el pageSize per defecte serà la primera opcion disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.3.0"})}),e.jsx(n.td,{children:"Actualització en els estils del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.1.5"})}),e.jsx(n.td,{children:"S’ha corregit un error en el component de paginació de taules pel qual es reiniciava cada vegada que l'usuari canviava el nombre d'elements per pàgina. Ara es pren com a referència el primer element mostrat a la taula perquè el component posi l'usuari en l'índex en què es continua mostrant aquest element. S'ha afegit una nova funcionalitat en el component pagination i table-pagination de taules per poder conservar la vista en què l'usuari estava localitzat en moure's entre pàgines, fent servir l'atribut 'currentindex'."})]})]})]})]})}function y(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{y as default}; diff --git a/rc/assets/pagination.doc-CZ5-FKR-.js b/rc/assets/pagination.doc-Bw8qocci.js similarity index 98% rename from rc/assets/pagination.doc-CZ5-FKR-.js rename to rc/assets/pagination.doc-Bw8qocci.js index af540a8..de87bfb 100644 --- a/rc/assets/pagination.doc-CZ5-FKR-.js +++ b/rc/assets/pagination.doc-Bw8qocci.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-DsELIg8i.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-DsELIg8i.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { flex-direction: column; } diff --git a/rc/assets/pagination.doc-C0C-BAza.js b/rc/assets/pagination.doc-C0C-BAza.js deleted file mode 100644 index 0f830a0..0000000 --- a/rc/assets/pagination.doc-C0C-BAza.js +++ /dev/null @@ -1,69 +0,0 @@ -import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-labxGTkf.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - } - - .innerZoomElementWrapper > * { - width:100% !important; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-table-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Pagination permet dividir grans quantitats de contingut en -fragments més petits en diverses pàgines.`}),` -`,e.jsx(n.p,{children:"Disposem de dos paginadors diferents:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-pagination"})}),": és un paginador genèric que podríem aplicar a qualsevol llista. Aquest mostra els números de les pàgines disponibles i podríem moure'ns entre ells."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-table-pagination"})}),": és un paginador específic per a taules. Mostra els botons per moure's entre pàgines però també el nombre de resultats a la taula i un selector per canviar la mida de la pàgina en qualsevol moment."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-pagination",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"10"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'opcions que es mostra al Table Pagination per indicar quants elements volem per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"resultsText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Resultats"}),e.jsx(n.td,{children:"Etiqueta per al nombre de resultats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rowsPerPageText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Files per pàgina"}),e.jsx(n.td,{children:"Etiqueta per files per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidePaginationResults"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h3,{id:"dss-pagination-1",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Pagination només emet la pàgina actual que ens trobem."})]})})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination-1",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Table Pagination emet un objecte amb les propietats següents (currentIndex, startIndex, endIndex)."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants-pagination",children:"Variants Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mides",children:"Mides"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mides",children:"Mides"}),` -`,e.jsxs(n.p,{children:[`El component Pagination està disponible en dos mides: Large i Medium. D'altra -banda, la mida mitjana serà el per defecte, per indicar la mida gran hem -d'afegir la propietat size amb la mida específica `,e.jsx(n.strong,{children:"lg"}),`. El Table Pagination -tant sols està disponible en una mida.`]}),` -`,e.jsx("h5",{children:"Medium"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Large"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h2,{id:"variants-table-pagination",children:"Variants Table Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-selector-de-mida-de-p%C3%A0gina",children:"Amb selector de mida de pàgina"})}),` -`]}),` -`,e.jsx(n.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"amb-selector-de-mida-de-pàgina",children:"Amb selector de mida de pàgina"}),` -`,e.jsx(n.p,{children:`Aquest tipus de paginació s'utilitza específicament en taules amb moltes -files. En lloc de dividir el contingut en pàgines, la taula s'organitza en -diferents pàgines, amb un nombre fix de files a cada pàgina.`}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error per la propietat pageSize no sorgia efecte i en el seu lloc es prenia com a referència el primer valor de la propietat pageSizeOptions. Ara el pageSize, per defecte 10, tindrà més pes sempre que existeixi dins de les opcions, en cas contrari el pageSize per defecte serà la primera opcion disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.3.0"})}),e.jsx(n.td,{children:"Actualització en els estils del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.1.5"})}),e.jsx(n.td,{children:"S’ha corregit un error en el component de paginació de taules pel qual es reiniciava cada vegada que l'usuari canviava el nombre d'elements per pàgina. Ara es pren com a referència el primer element mostrat a la taula perquè el component posi l'usuari en l'índex en què es continua mostrant aquest element. S'ha afegit una nova funcionalitat en el component pagination i table-pagination de taules per poder conservar la vista en què l'usuari estava localitzat en moure's entre pàgines, fent servir l'atribut 'currentindex'."})]})]})]})]})}function y(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{y as default}; diff --git a/rc/assets/pagination.doc-Due0OlV6.js b/rc/assets/pagination.doc-Due0OlV6.js deleted file mode 100644 index 68b534a..0000000 --- a/rc/assets/pagination.doc-Due0OlV6.js +++ /dev/null @@ -1,69 +0,0 @@ -import{ae as e,af as d,ag as l,ah as s,ai as a}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as c,P as h,a as o,b as x,c as j,T as p,d as u}from"./pagination.stories-DsELIg8i.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(i){const n={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - } - - .innerZoomElementWrapper > * { - width:100% !important; - } - `}),` -`,e.jsx(d,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-table-pagination",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Pagination permet dividir grans quantitats de contingut en -fragments més petits en diverses pàgines.`}),` -`,e.jsx(n.p,{children:"Disposem de dos paginadors diferents:"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-pagination"})}),": és un paginador genèric que podríem aplicar a qualsevol llista. Aquest mostra els números de les pàgines disponibles i podríem moure'ns entre ells."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(a,{}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-table-pagination"})}),": és un paginador específic per a taules. Mostra els botons per moure's entre pàgines però també el nombre de resultats a la taula i un selector per canviar la mida de la pàgina en qualsevol moment."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-pagination",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"size"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"md"}),e.jsx(n.td,{children:"Mida del component: md o lg"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"length"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Longitud de l'array que volem dividir en pàgines."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSize"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"10"}),e.jsx(n.td,{children:"Nombre d'elements per pàgina que volem mostrar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptions"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"[]"}),e.jsx(n.td,{children:"Array d'opcions que es mostra al Table Pagination per indicar quants elements volem per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"pageSizeOptionsDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet deshabilitar el selector de mida de pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"currentIndex"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Índex en què s'ha de posicionar el paginador. S'utilitza per exemple per mantenir l'estat del paginador quan l'usuari ha navegat entre diverses seccions i torna a la secció on es troba la taula."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"resultsText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Resultats"}),e.jsx(n.td,{children:"Etiqueta per al nombre de resultats."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"rowsPerPageText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Files per pàgina"}),e.jsx(n.td,{children:"Etiqueta per files per pàgina."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidePaginationResults"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet amagar el nombre de resultats total de la taula."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h3,{id:"dss-pagination-1",children:"dss-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Pagination només emet la pàgina actual que ens trobem."})]})})]}),` -`,e.jsx(n.h3,{id:"dss-table-pagination-1",children:"dss-table-pagination"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangePage"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mètode que es llança quan es canvia de pàgina. El component Table Pagination emet un objecte amb les propietats següents (currentIndex, startIndex, endIndex)."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"variants-pagination",children:"Variants Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mides",children:"Mides"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mides",children:"Mides"}),` -`,e.jsxs(n.p,{children:[`El component Pagination està disponible en dos mides: Large i Medium. D'altra -banda, la mida mitjana serà el per defecte, per indicar la mida gran hem -d'afegir la propietat size amb la mida específica `,e.jsx(n.strong,{children:"lg"}),`. El Table Pagination -tant sols està disponible en una mida.`]}),` -`,e.jsx("h5",{children:"Medium"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Large"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h2,{id:"variants-table-pagination",children:"Variants Table Pagination"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#per-defecte",children:"Per defecte"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-selector-de-mida-de-p%C3%A0gina",children:"Amb selector de mida de pàgina"})}),` -`]}),` -`,e.jsx(n.h3,{id:"per-defecte",children:"Per defecte"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"amb-selector-de-mida-de-pàgina",children:"Amb selector de mida de pàgina"}),` -`,e.jsx(n.p,{children:`Aquest tipus de paginació s'utilitza específicament en taules amb moltes -files. En lloc de dividir el contingut en pàgines, la taula s'organitza en -diferents pàgines, amb un nombre fix de files a cada pàgina.`}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error per la propietat pageSize no sorgia efecte i en el seu lloc es prenia com a referència el primer valor de la propietat pageSizeOptions. Ara el pageSize, per defecte 10, tindrà més pes sempre que existeixi dins de les opcions, en cas contrari el pageSize per defecte serà la primera opcion disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.3.0"})}),e.jsx(n.td,{children:"Actualització en els estils del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.1.5"})}),e.jsx(n.td,{children:"S’ha corregit un error en el component de paginació de taules pel qual es reiniciava cada vegada que l'usuari canviava el nombre d'elements per pàgina. Ara es pren com a referència el primer element mostrat a la taula perquè el component posi l'usuari en l'índex en què es continua mostrant aquest element. S'ha afegit una nova funcionalitat en el component pagination i table-pagination de taules per poder conservar la vista en què l'usuari estava localitzat en moure's entre pàgines, fent servir l'atribut 'currentindex'."})]})]})]})]})}function y(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{y as default}; diff --git a/rc/assets/pagination.stories-labxGTkf.js b/rc/assets/pagination.stories-labxGTkf.js deleted file mode 100644 index fc96821..0000000 --- a/rc/assets/pagination.stories-labxGTkf.js +++ /dev/null @@ -1,122 +0,0 @@ -import{x as n}from"./lit-html-paDGiEfB.js";const f={title:"Components/Pagination",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["md","lg"]},arrayLength:{name:"Longitud",control:{type:"range",min:20,max:100,step:1}},pageSize:{name:"Elements per pàgina",control:{type:"number",min:5,max:40,step:10}},pageSizeOptions:{name:"Mostrar opció elements per pàgina",control:{type:"boolean"}},currentIndex:{name:"Índex actual",control:{type:"number"}},resultsText:{name:"Text per -Resultats-",control:{type:"text"}},rowsPerPageText:{name:"Text per -Files per pàgina-",control:{type:"text"}}},parameters:{layout:"centered"}},a={name:"Playground - Pagination",args:{size:"md",arrayLength:100,pageSize:5,currentIndex:1},argsTypes:{pageSizeOptions:{table:{disable:!0}},resultsText:{table:{disable:!0}},rowsPerPageText:{table:{disable:!0}}},render:e=>n``},r={name:"Playground - Table Pagination",args:{arrayLength:100,pageSize:5,pageSizeOptions:!1,currentIndex:1,rowsPerPageText:"Files per pàgina",resultsText:"Resultats"},argTypes:{size:{table:{disable:!0}}},render:e=>{const L=e.pageSizeOptions?[5,10,15,20,25,30]:[];return n``}},t={tags:["!dev"],render:()=>n` - - - `},s={tags:["!dev"],render:()=>n` - - `},i={tags:["!dev"],render:()=>n` - - - `},o={tags:["!dev"],render:()=>n` - - `};var g,p,l;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ - name: 'Playground - Pagination', - args: { - size: 'md', - arrayLength: 100, - pageSize: 5, - currentIndex: 1 - }, - argsTypes: { - pageSizeOptions: { - table: { - disable: true - } - }, - resultsText: { - table: { - disable: true - } - }, - rowsPerPageText: { - table: { - disable: true - } - } - }, - render: (args: any) => { - return html\`\`; - } -}`,...(l=(p=a.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};var d,u,c;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:`{ - name: 'Playground - Table Pagination', - args: { - arrayLength: 100, - pageSize: 5, - pageSizeOptions: false, - currentIndex: 1, - rowsPerPageText: 'Files per pàgina', - resultsText: 'Resultats' - }, - argTypes: { - size: { - table: { - disable: true - } - } - }, - render: (args: any) => { - const pageSizeOptions = args.pageSizeOptions ? [5, 10, 15, 20, 25, 30] : []; - return html\`\`; - } -}`,...(c=(u=r.parameters)==null?void 0:u.docs)==null?void 0:c.source}}};var m,z,S;t.parameters={...t.parameters,docs:{...(m=t.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(S=(z=t.parameters)==null?void 0:z.docs)==null?void 0:S.source}}};var b,x,T;s.parameters={...s.parameters,docs:{...(b=s.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(T=(x=s.parameters)==null?void 0:x.docs)==null?void 0:T.source}}};var y,P,h;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(h=(P=i.parameters)==null?void 0:P.docs)==null?void 0:h.source}}};var $,O,I;o.parameters={...o.parameters,docs:{...($=o.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(I=(O=o.parameters)==null?void 0:O.docs)==null?void 0:I.source}}};const v=["PlaygroundDefault","PlaygroundTable","SizeMd","SizeLg","TableDefault","TableSelector"],_=Object.freeze(Object.defineProperty({__proto__:null,PlaygroundDefault:a,PlaygroundTable:r,SizeLg:s,SizeMd:t,TableDefault:i,TableSelector:o,__namedExportsOrder:v,default:f},Symbol.toStringTag,{value:"Module"}));export{a as P,_ as S,i as T,r as a,t as b,s as c,o as d}; diff --git a/rc/assets/popover.doc-BDq4HrV9.js b/rc/assets/popover.doc-BDq4HrV9.js deleted file mode 100644 index d9c2399..0000000 --- a/rc/assets/popover.doc-BDq4HrV9.js +++ /dev/null @@ -1,70 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-BB71-n-V.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - height: 500px; - display: flex; - align-items: center; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Popover mostra als usuaris que hi ha més informació per completar el flux de treball."}),` -`,e.jsxs(n.p,{children:["Dentro del component podem utilitzar els slots 'body' o 'item-list' per definir dos tipus de contingut. Per a això podem fer ús del subcomponent ",e.jsx(n.code,{children:''})," o del component ",e.jsx(n.code,{children:''}),", cadascun amb les seves respectives propietats."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasDivider"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra un divisor entre la capçalera i el contingut del popover."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCloseIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la icona per tancar el component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Defineix la posició del popover dins de l’element relacionat. Pot ser: top, left, bottom, right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona que permet executar una acció."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona d'acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona per tancar el popover."})]})]})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#item-list",children:"Item List"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"item-list",children:"Item List"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," En aquest exemple farem servir la propietat 'position'."]})}),` -`,e.jsx(n.h5,{id:"superior",children:"Superior"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h5,{id:"dreta",children:"Dreta"}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h5,{id:"inferior",children:"Inferior"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(n.h5,{id:"esquerra",children:"Esquerra"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Min-width: 356px"}),` -`,e.jsx(n.li,{children:"Min-width: 500px"}),` -`,e.jsx(n.li,{children:"Max-height: 480px (Si el contingut del popover supera l'altura màxima permesa, apareixerà una barra de desplaçament a l'interior del component.)"}),` -`]}),` -`,e.jsx(n.h5,{id:"mostrar-el-popover",children:"Mostrar el popover"}),` -`,e.jsx(n.p,{children:"Per mostrar el component hi ha dues opcions:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsxs(n.strong,{children:["Utilitzant la propietat ",e.jsx(n.code,{children:"open"})]}),", de manera que en fer clic en algun element de la web modifiquem el valor de la propietat a true i així aparegui el component. Amb aquesta opció hauríem d'utilitzar la icona de tancar per tornar a ocultar el component."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Utilitzant CSS"}),", de manera que manualment assignaríem ",e.jsx(n.code,{children:"display:none"})," al selector ",e.jsx(n.code,{children:"dss-popover"})," i, en fer hover sobre algun element, el popover passaria a ",e.jsx(n.code,{children:"display:block"}),". Per a aquesta opció, cal tenir definida la propietat open sempre a true per defecte, i es recomana ocultar el botó de tancar amb ",e.jsx(n.code,{children:"hideCloseIcon"}),", ja que estem gestionant la visibilitat amb CSS."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function D(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/popover.doc-Bjo3t2s-.js b/rc/assets/popover.doc-Bjo3t2s-.js deleted file mode 100644 index 27af0a0..0000000 --- a/rc/assets/popover.doc-Bjo3t2s-.js +++ /dev/null @@ -1,70 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-D7t51FD3.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - height: 500px; - display: flex; - align-items: center; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Popover mostra als usuaris que hi ha més informació per completar el flux de treball."}),` -`,e.jsxs(n.p,{children:["Dentro del component podem utilitzar els slots 'body' o 'item-list' per definir dos tipus de contingut. Per a això podem fer ús del subcomponent ",e.jsx(n.code,{children:''})," o del component ",e.jsx(n.code,{children:''}),", cadascun amb les seves respectives propietats."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasDivider"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra un divisor entre la capçalera i el contingut del popover."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCloseIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la icona per tancar el component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Defineix la posició del popover dins de l’element relacionat. Pot ser: top, left, bottom, right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona que permet executar una acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableParentClick"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva la funcionalitat interna per mostrar el component quan es fa clic al contenidor pare."}),e.jsx(n.td,{}),e.jsx(n.td,{})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona d'acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona per tancar el popover."})]})]})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#item-list",children:"Item List"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"item-list",children:"Item List"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," En aquest exemple farem servir la propietat 'position'."]})}),` -`,e.jsx(n.h5,{id:"superior",children:"Superior"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h5,{id:"dreta",children:"Dreta"}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h5,{id:"inferior",children:"Inferior"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(n.h5,{id:"esquerra",children:"Esquerra"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Min-width: 356px"}),` -`,e.jsx(n.li,{children:"Min-width: 500px"}),` -`,e.jsx(n.li,{children:"Max-height: 480px (Si el contingut del popover supera l'altura màxima permesa, apareixerà una barra de desplaçament a l'interior del component.)"}),` -`]}),` -`,e.jsx(n.h5,{id:"mostrar-el-popover",children:"Mostrar el popover"}),` -`,e.jsx(n.p,{children:"Per mostrar el component hi ha dues opcions:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsxs(n.strong,{children:["Utilitzant la propietat ",e.jsx(n.code,{children:"open"})]}),", de manera que en fer clic en algun element de la web modifiquem el valor de la propietat a true i així aparegui el component. Amb aquesta opció hauríem d'utilitzar la icona de tancar per tornar a ocultar el component."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Utilitzant CSS"}),", de manera que manualment assignaríem ",e.jsx(n.code,{children:"display:none"})," al selector ",e.jsx(n.code,{children:"dss-popover"})," i, en fer hover sobre algun element, el popover passaria a ",e.jsx(n.code,{children:"display:block"}),". Per a aquesta opció, cal tenir definida la propietat open sempre a true per defecte, i es recomana ocultar el botó de tancar amb ",e.jsx(n.code,{children:"hideCloseIcon"}),", ja que estem gestionant la visibilitat amb CSS."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{I as default}; diff --git a/rc/assets/popover.doc-CV3XWSnn.js b/rc/assets/popover.doc-CV3XWSnn.js deleted file mode 100644 index 57b532b..0000000 --- a/rc/assets/popover.doc-CV3XWSnn.js +++ /dev/null @@ -1,70 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-D7t51FD3.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - height: 500px; - display: flex; - align-items: center; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Popover mostra als usuaris que hi ha més informació per completar el flux de treball."}),` -`,e.jsxs(n.p,{children:["Dentro del component podem utilitzar els slots 'body' o 'item-list' per definir dos tipus de contingut. Per a això podem fer ús del subcomponent ",e.jsx(n.code,{children:''})," o del component ",e.jsx(n.code,{children:''}),", cadascun amb les seves respectives propietats."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasDivider"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra un divisor entre la capçalera i el contingut del popover."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCloseIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la icona per tancar el component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Defineix la posició del popover dins de l’element relacionat. Pot ser: top, left, bottom, right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona que permet executar una acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disableParentClick"})}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Desactiva la funcionalitat interna per mostrar el component quan es fa clic al contenidor pare."}),e.jsx(n.td,{}),e.jsx(n.td,{})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona d'acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona per tancar el popover."})]})]})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#item-list",children:"Item List"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"item-list",children:"Item List"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," En aquest exemple farem servir la propietat 'position'."]})}),` -`,e.jsx(n.h5,{id:"superior",children:"Superior"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h5,{id:"dreta",children:"Dreta"}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h5,{id:"inferior",children:"Inferior"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(n.h5,{id:"esquerra",children:"Esquerra"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Min-width: 356px"}),` -`,e.jsx(n.li,{children:"Min-width: 500px"}),` -`,e.jsx(n.li,{children:"Max-height: 480px (Si el contingut del popover supera l'altura màxima permesa, apareixerà una barra de desplaçament a l'interior del component.)"}),` -`]}),` -`,e.jsx(n.h5,{id:"mostrar-el-popover",children:"Mostrar el popover"}),` -`,e.jsx(n.p,{children:"Per mostrar el component hi ha dues opcions:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsxs(n.strong,{children:["Utilitzant la propietat ",e.jsx(n.code,{children:"open"})]}),", de manera que en fer clic en algun element de la web modifiquem el valor de la propietat a true i així aparegui el component. Amb aquesta opció hauríem d'utilitzar la icona de tancar per tornar a ocultar el component."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Utilitzant CSS"}),", de manera que manualment assignaríem ",e.jsx(n.code,{children:"display:none"})," al selector ",e.jsx(n.code,{children:"dss-popover"})," i, en fer hover sobre algun element, el popover passaria a ",e.jsx(n.code,{children:"display:block"}),". Per a aquesta opció, cal tenir definida la propietat open sempre a true per defecte, i es recomana ocultar el botó de tancar amb ",e.jsx(n.code,{children:"hideCloseIcon"}),", ja que estem gestionant la visibilitat amb CSS."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{I as default}; diff --git a/rc/assets/popover.doc-DQXM3tzu.js b/rc/assets/popover.doc-DQXM3tzu.js deleted file mode 100644 index c5679e4..0000000 --- a/rc/assets/popover.doc-DQXM3tzu.js +++ /dev/null @@ -1,70 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-PdwFXnn7.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - height: 500px; - display: flex; - align-items: center; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Popover mostra als usuaris que hi ha més informació per completar el flux de treball."}),` -`,e.jsxs(n.p,{children:["Dentro del component podem utilitzar els slots 'body' o 'item-list' per definir dos tipus de contingut. Per a això podem fer ús del subcomponent ",e.jsx(n.code,{children:''})," o del component ",e.jsx(n.code,{children:''}),", cadascun amb les seves respectives propietats."]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(o,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"open"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el component quan aquesta propietat està definida."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasDivider"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra un divisor entre la capçalera i el contingut del popover."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCloseIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opciona"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amaga la icona per tancar el component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"title"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Defineix la posició del popover dins de l’element relacionat. Pot ser: top, left, bottom, right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"actionIcon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Mostra una icona que permet executar una acció."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAction"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona d'acció."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que es llança quan es fa clic a la icona per tancar el popover."})]})]})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#item-list",children:"Item List"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"item-list",children:"Item List"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," En aquest exemple farem servir la propietat 'position'."]})}),` -`,e.jsx(n.h5,{id:"superior",children:"Superior"}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(n.h5,{id:"dreta",children:"Dreta"}),` -`,e.jsx(i,{of:p}),` -`,e.jsx(n.h5,{id:"inferior",children:"Inferior"}),` -`,e.jsx(i,{of:m}),` -`,e.jsx(n.h5,{id:"esquerra",children:"Esquerra"}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"ús",children:"Ús"}),` -`,e.jsx(n.h5,{id:"mida-màxima-amplada-i-alçada",children:"Mida màxima: amplada i alçada"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:"Min-width: 356px"}),` -`,e.jsx(n.li,{children:"Min-width: 500px"}),` -`,e.jsx(n.li,{children:"Max-height: 480px (Si el contingut del popover supera l'altura màxima permesa, apareixerà una barra de desplaçament a l'interior del component.)"}),` -`]}),` -`,e.jsx(n.h5,{id:"mostrar-el-popover",children:"Mostrar el popover"}),` -`,e.jsx(n.p,{children:"Per mostrar el component hi ha dues opcions:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsxs(n.strong,{children:["Utilitzant la propietat ",e.jsx(n.code,{children:"open"})]}),", de manera que en fer clic en algun element de la web modifiquem el valor de la propietat a true i així aparegui el component. Amb aquesta opció hauríem d'utilitzar la icona de tancar per tornar a ocultar el component."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"Utilitzant CSS"}),", de manera que manualment assignaríem ",e.jsx(n.code,{children:"display:none"})," al selector ",e.jsx(n.code,{children:"dss-popover"})," i, en fer hover sobre algun element, el popover passaria a ",e.jsx(n.code,{children:"display:block"}),". Per a aquesta opció, cal tenir definida la propietat open sempre a true per defecte, i es recomana ocultar el botó de tancar amb ",e.jsx(n.code,{children:"hideCloseIcon"}),", ja que estem gestionant la visibilitat amb CSS."]}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.11.0"})}),e.jsx(n.td,{children:"Nou web component."})]})]})]})]})}function D(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/popover.doc-D0lLNdHN.js b/rc/assets/popover.doc-jYwWmTvD.js similarity index 97% rename from rc/assets/popover.doc-D0lLNdHN.js rename to rc/assets/popover.doc-jYwWmTvD.js index 40868f8..899dc14 100644 --- a/rc/assets/popover.doc-D0lLNdHN.js +++ b/rc/assets/popover.doc-jYwWmTvD.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-D7t51FD3.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as i,ai as o}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as a,P as c,B as h,I as x,a as j,b as p,c as m,d as u}from"./popover.stories-D7t51FD3.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",h5:"h5",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper{ height: 500px; display: flex; diff --git a/rc/assets/popover.stories-BB71-n-V.js b/rc/assets/popover.stories-BB71-n-V.js deleted file mode 100644 index 0b92cef..0000000 --- a/rc/assets/popover.stories-BB71-n-V.js +++ /dev/null @@ -1,237 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const R={title:"Components/Popover",argTypes:{open:{name:"Obert",control:{type:"boolean"}},showCloseIcon:{name:"Icona per tancar",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"}},showActionIcon:{name:"Mostrar icona d'acció",control:{type:"boolean"}},actionIcon:{name:"Icona d'acció",control:{type:"text"},if:{arg:"showActionIcon",eq:!0}},hasDivider:{name:"Mostra divider",control:{type:"boolean"}},position:{name:"Posició",control:{type:"radio"},options:["top","bottom","left","right"]},contentType:{name:"Tipus de contingut",control:{type:"radio"},options:["Default","Item List"]},description:{name:"Descripció",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkHref:{name:"ButtonLink Href",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkLabel:{name:"ButtonLink Label",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkIcon:{name:"ButtonLink Icona",control:{type:"text"},if:{arg:"contentType",eq:"Default"}}},parameters:{layout:"centered"}},o={args:{open:!0,showCloseIcon:!0,title:"Title",position:"top",showActionIcon:!1,actionIcon:"arrow_forward",hasDivider:!1,contentType:"Default",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus.",linkHref:"https://google.com",linkIcon:"add_box",linkLabel:"Button link"},render:e=>t` -
-
-

CLIC AQUÍ PER OBRIR POPOVER

- - ${e.contentType==="Default"?t` - - ${e.description} - - - `:t` - - - `} - -
-
- `},s={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- `},i={tags:["!dev"],render:()=>t` -
- - - - - -
- `},n={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- `},r={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- `},d={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- `},l={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- `};var a,p,c;o.parameters={...o.parameters,docs:{...(a=o.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - open: true, - showCloseIcon: true, - title: 'Title', - position: 'top', - showActionIcon: false, - actionIcon: 'arrow_forward', - hasDivider: false, - contentType: 'Default', - description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus.', - linkHref: 'https://google.com', - linkIcon: 'add_box', - linkLabel: 'Button link' - }, - render: (args: any) => { - return html\` -
-
-

CLIC AQUÍ PER OBRIR POPOVER

- - \${args.contentType === 'Default' ? html\` - - \${args.description} - - - \` : html\` - - - \`} - -
-
- \`; - } -}`,...(c=(p=o.parameters)==null?void 0:p.docs)==null?void 0:c.source}}};var u,m,v;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- \`; - } -}`,...(v=(m=s.parameters)==null?void 0:m.docs)==null?void 0:v.source}}};var b,h,y;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - -
- \`; - } -}`,...(y=(h=i.parameters)==null?void 0:h.docs)==null?void 0:y.source}}};var g,f,k;n.parameters={...n.parameters,docs:{...(g=n.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- \`; - } -}`,...(k=(f=n.parameters)==null?void 0:f.docs)==null?void 0:k.source}}};var I,x,L;r.parameters={...r.parameters,docs:{...(I=r.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- \`; - } -}`,...(L=(x=r.parameters)==null?void 0:x.docs)==null?void 0:L.source}}};var S,_,P;d.parameters={...d.parameters,docs:{...(S=d.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- \`; - } -}`,...(P=(_=d.parameters)==null?void 0:_.docs)==null?void 0:P.source}}};var w,T,B;l.parameters={...l.parameters,docs:{...(w=l.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

Lorem ipsum dolor sit amet

- -
-
-
- \`; - } -}`,...(B=(T=l.parameters)==null?void 0:T.docs)==null?void 0:B.source}}};const $=["Playground","ByDefault","ItemList","PositionTop","PositionRight","PositionBottom","PositionLeft"],H=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:s,ItemList:i,Playground:o,PositionBottom:d,PositionLeft:l,PositionRight:r,PositionTop:n,__namedExportsOrder:$,default:R},Symbol.toStringTag,{value:"Module"}));export{s as B,i as I,o as P,H as S,n as a,r as b,d as c,l as d}; diff --git a/rc/assets/popover.stories-PdwFXnn7.js b/rc/assets/popover.stories-PdwFXnn7.js deleted file mode 100644 index 64631ea..0000000 --- a/rc/assets/popover.stories-PdwFXnn7.js +++ /dev/null @@ -1,237 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const B={title:"Components/Popover",argTypes:{open:{name:"Obert",control:{type:"boolean"}},showCloseIcon:{name:"Icona per tancar",control:{type:"boolean"}},title:{name:"Títol",control:{type:"text"}},showActionIcon:{name:"Mostrar icona d'acció",control:{type:"boolean"}},actionIcon:{name:"Icona d'acció",control:{type:"text"},if:{arg:"showActionIcon",eq:!0}},hasDivider:{name:"Mostra divider",control:{type:"boolean"}},position:{name:"Posició",control:{type:"radio"},options:["top","bottom","left","right"]},contentType:{name:"Tipus de contingut",control:{type:"radio"},options:["Default","Item List"]},description:{name:"Descripció",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkHref:{name:"ButtonLink Href",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkLabel:{name:"ButtonLink Label",control:{type:"text"},if:{arg:"contentType",eq:"Default"}},linkIcon:{name:"ButtonLink Icona",control:{type:"text"},if:{arg:"contentType",eq:"Default"}}},parameters:{layout:"centered"}},o={args:{open:!0,showCloseIcon:!0,title:"Title",position:"top",showActionIcon:!1,actionIcon:"arrow_forward",hasDivider:!1,contentType:"Default",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus.",linkHref:"https://google.com",linkIcon:"add_box",linkLabel:"Button link"},render:e=>t` -
-
-

Related content

- - ${e.contentType==="Default"?t` - - ${e.description} - - - `:t` - - - `} - -
-
- `},s={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- `},i={tags:["!dev"],render:()=>t` -
- - - - - -
- `},n={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- `},l={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- `},d={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- `},r={tags:["!dev"],render:()=>t` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- `};var a,c,p;o.parameters={...o.parameters,docs:{...(a=o.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - open: true, - showCloseIcon: true, - title: 'Title', - position: 'top', - showActionIcon: false, - actionIcon: 'arrow_forward', - hasDivider: false, - contentType: 'Default', - description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus.', - linkHref: 'https://google.com', - linkIcon: 'add_box', - linkLabel: 'Button link' - }, - render: (args: any) => { - return html\` -
-
-

Related content

- - \${args.contentType === 'Default' ? html\` - - \${args.description} - - - \` : html\` - - - \`} - -
-
- \`; - } -}`,...(p=(c=o.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var u,m,v;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- \`; - } -}`,...(v=(m=s.parameters)==null?void 0:m.docs)==null?void 0:v.source}}};var b,h,y;i.parameters={...i.parameters,docs:{...(b=i.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - - -
- \`; - } -}`,...(y=(h=i.parameters)==null?void 0:h.docs)==null?void 0:y.source}}};var g,f,k;n.parameters={...n.parameters,docs:{...(g=n.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- \`; - } -}`,...(k=(f=n.parameters)==null?void 0:f.docs)==null?void 0:k.source}}};var I,x,S;l.parameters={...l.parameters,docs:{...(I=l.parameters)==null?void 0:I.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- \`; - } -}`,...(S=(x=l.parameters)==null?void 0:x.docs)==null?void 0:S.source}}};var _,w,T;d.parameters={...d.parameters,docs:{...(_=d.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- \`; - } -}`,...(T=(w=d.parameters)==null?void 0:w.docs)==null?void 0:T.source}}};var L,P,$;r.parameters={...r.parameters,docs:{...(L=r.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
- - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ac velit non elit cursus sollicitudin. Sed vitae hendrerit lacus. -

El tio paco con sus billetes esta en el taco.

- -
-
-
- \`; - } -}`,...($=(P=r.parameters)==null?void 0:P.docs)==null?void 0:$.source}}};const D=["Playground","ByDefault","ItemList","PositionTop","PositionRight","PositionBottom","PositionLeft"],R=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:s,ItemList:i,Playground:o,PositionBottom:d,PositionLeft:r,PositionRight:l,PositionTop:n,__namedExportsOrder:D,default:B},Symbol.toStringTag,{value:"Module"}));export{s as B,i as I,o as P,R as S,n as a,l as b,d as c,r as d}; diff --git a/rc/assets/preview-BJ10gr0-.js b/rc/assets/preview-BJ10gr0-.js deleted file mode 100644 index 1c8302a..0000000 --- a/rc/assets/preview-BJ10gr0-.js +++ /dev/null @@ -1,4774 +0,0 @@ -import{g as getCustomElementSuffix}from"./custom-element-scope-Dp4Dg8bo.js";import{r as r$1,a as r$2,i as i$1}from"./lit-element-vV9fql9z.js";import{x,B}from"./lit-html-paDGiEfB.js";import{n}from"./property-CzN8u98o.js";import{r as resetStyles}from"./reset.style-B0CQ8619.js";import{i as iconStyles}from"./icon.style-BFmaJcLw.js";import{e}from"./class-map-2iHk_WiG.js";import{d as decorativeIconStyles,A as Accordion}from"./accordion-wGXhMz48.js";import{A as ActionMenu}from"./action-menu-C54ww5C6.js";import{b as booleanType,s as selectedType}from"./property-types-CkH-zh1n.js";import{i,s,u}from"./static-DLZyqU8Z.js";import{A as Alert}from"./alert-Cs94cQBi.js";import{A as Avatar}from"./avatar-Cb1ARGpi.js";import{b as badgeStates,B as Badge}from"./badge-B2-WdLcZ.js";import{B as Button}from"./button-CeNEyja2.js";import{B as ButtonLink}from"./button-link-CCJAoxkm.js";import{b as buttonStyles}from"./button.style-2dqsCQot.js";import{s as scrollbarStyles,o,i as inputStyles,D as Datepicker_}from"./datepicker-BRwK53Kt.js";/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function r(d){return n({...d,state:!0,attribute:!1})}function registerCustomElement(d,t){const a=getCustomElementSuffix(),c=`${d}${a}`;customElements.define(c,t)}const template$3=d=>x` - - ${d.fontLoaded?x` - - ${d.icon} - - `:x` - - - `} -`;var __defProp$X=Object.defineProperty,__decorateClass$X=(d,t,a,c)=>{for(var l=void 0,h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$X(t,a,l),l};class Icon extends r$1{constructor(){super(...arguments),this.size="md",this.icon="",this.fontLoaded=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles)]}firstUpdated(){document.fonts.load('1em "Material Symbols Rounded"').then(()=>{this.fontLoaded=!0})}render(){return template$3(this)}}__decorateClass$X([n({type:String})],Icon.prototype,"size");__decorateClass$X([n({type:String})],Icon.prototype,"icon");__decorateClass$X([r()],Icon.prototype,"fontLoaded");const styles$h=".dss-action-menu-item{position:relative;display:flex;align-items:center;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);background-color:var(--color-white);transition:all .3s ease-in-out;color:var(--color-neutral-900)}.dss-action-menu-item:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200)}.dss-action-menu-item:not(.dss-action-menu-item--disabled):hover{background-color:var(--color-primary-100)}.dss-action-menu-item:not(.dss-action-menu-item--disabled):active,.dss-action-menu-item:not(.dss-action-menu-item--disabled).dss-action-menu-item--selected{background-color:var(--color-primary-50)}.dss-action-menu-item.dss-action-menu-item--first{border-top-left-radius:var(--dss-radius-sm);border-top-right-radius:var(--dss-radius-sm)}.dss-action-menu-item.dss-action-menu-item--last{border-bottom-left-radius:var(--dss-radius-sm);border-bottom-right-radius:var(--dss-radius-sm)}.dss-action-menu-item .dss-icon{color:var(--color-neutral-900)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled){color:var(--color-red-500)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled):hover{background-color:var(--color-red-50)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled):active{background-color:var(--color-red-100)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled).dss-action-menu-item--selected{background-color:var(--color-primary-50)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled) .dss-action-menu-item-label,.dss-action-menu-item--error:not(.dss-action-menu-item--disabled) .dss-icon{color:var(--color-red-500)}.dss-action-menu-item-label{flex:1;font-size:16px;line-height:24px;font-weight:var(--font-regular);color:var(--color-neutral-900);min-width:92px}.dss-action-menu-item__nested-menu{position:absolute;left:calc(100% + var(--dss-spacing-xs));z-index:900}.dss-action-menu-item__nested-menu--top{top:0}.dss-action-menu-item__nested-menu--bottom{bottom:0}::slotted(dss-action-menu){display:none}.dss-action-menu-item--selected:not(.dss-action-menu-item--disabled) ::slotted(dss-action-menu){display:block}.dss-action-menu-item--disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-action-menu-item--disabled .dss-action-menu-item-label{color:var(--color-neutral-500)}",dssIcon$2=i`dss-icon${s(getCustomElementSuffix())}`,dssIconButton$1=i`dss-icon-button${s(getCustomElementSuffix())}`,dssNotificationBadge=i`dss-notification-badge${s(getCustomElementSuffix())}`,actionMenuItemTemplate=d=>u` -
  • - ${d._leftIcon?u`<${dssIcon$2} size="md" icon="${d._leftIcon}">`:null} - ${d._label} - ${!d._selected&&d._notifications>0?u` - <${dssNotificationBadge} - state="${d._notificationsState}" - value="${d._notifications}" - > - `:null} - ${d._rightIcon?u`<${dssIcon$2} size="md" icon="${d._rightIcon}">`:null} - ${d._actionIcon?u` - <${dssIconButton$1} - icon="${d._actionIcon}" - type="${d._actionState}" - @onClick="${d._handleAction}" - ?disabled=${d._disabled} - > - `:null} - ${d._hasNestedMenu?u` - <${dssIcon$2} size="md" icon="chevron_right"> -
    - -
    - `:null} -
  • -`;var __defProp$W=Object.defineProperty,__getOwnPropDesc$W=Object.getOwnPropertyDescriptor,__decorateClass$W=(d,t,a,c)=>{for(var l=__getOwnPropDesc$W(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$W(t,a,l),l};class ActionMenuItem extends r$1{constructor(){super(...arguments),this._state="primary",this._label="Label",this._leftIcon=void 0,this._rightIcon=void 0,this._actionIcon=void 0,this._actionState="primary",this._notifications=0,this._notificationsState="error",this._selected=!1,this._disabled=!1,this._hasNestedMenu=!1,this._nestedMenuPosition="top",this._first=!1,this._last=!1}static get styles(){return[r$2(resetStyles),r$2(styles$h)]}set state(t){const a=this._state;this._state=t==="error"?t:"primary",this.requestUpdate("state",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set leftIcon(t){const a=this._leftIcon;this._leftIcon=t,this.requestUpdate("leftIcon",a)}set rightIcon(t){const a=this._rightIcon;this._rightIcon=t,this.requestUpdate("rightIcon",a)}set actionIcon(t){const a=this._actionIcon;this._actionIcon=t,this.requestUpdate("actionIcon",a)}set actionState(t){const a=this._actionState;this._actionState=t,this.requestUpdate("actionState",a)}set notifications(t){const a=this._notifications;this._notifications=t,this.requestUpdate("notifications",a)}set notificationsState(t){const a=this._notificationsState;this._notificationsState=t,this.requestUpdate("notificationsState",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasNestedMenu(t){const a=this._hasNestedMenu;this._hasNestedMenu=t,this.requestUpdate("hasNestedMenu",a)}set nestedMenuPosition(t){const a=this._nestedMenuPosition;this._nestedMenuPosition=t,this.requestUpdate("nestedMenuPosition",a)}set first(t){const a=this._first;this._first=t,this.requestUpdate("first",a)}set last(t){const a=this._last;this._last=t,this.requestUpdate("last",a)}_handleItemClick(){this._hasNestedMenu?(this._selected=!0,this.requestUpdate()):(this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("onActionMenuItemClick",{bubbles:!0,composed:!0})))}_handleKeydown(t){const a=t.key;a==="Enter"||a==="Space"?this._handleItemClick():a==="Escape"&&this._selected&&this._unselectItem()}_handleAction(){this.dispatchEvent(new CustomEvent("onAction",{bubbles:!0,composed:!0}))}_clickOutside(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._selected&&this._unselectItem()})}_unselectItem(){this._selected=!1,this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._clickOutside()}catch{console.error("ERROR OCURRED")}}render(){return actionMenuItemTemplate(this)}}__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"state");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"label");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"leftIcon");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"rightIcon");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"actionIcon");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"actionState");__decorateClass$W([n({type:Number})],ActionMenuItem.prototype,"notifications");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"notificationsState");__decorateClass$W([n(booleanType)],ActionMenuItem.prototype,"selected");__decorateClass$W([n(booleanType)],ActionMenuItem.prototype,"disabled");__decorateClass$W([n(booleanType)],ActionMenuItem.prototype,"hasNestedMenu");__decorateClass$W([n({type:String})],ActionMenuItem.prototype,"nestedMenuPosition");__decorateClass$W([n(booleanType)],ActionMenuItem.prototype,"first");__decorateClass$W([n(booleanType)],ActionMenuItem.prototype,"last");function toDate(d){const t=Object.prototype.toString.call(d);return d instanceof Date||typeof d=="object"&&t==="[object Date]"?new d.constructor(+d):typeof d=="number"||t==="[object Number]"||typeof d=="string"||t==="[object String]"?new Date(d):new Date(NaN)}function endOfMonth(d){const t=toDate(d),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function eachDayOfInterval(d,t){const a=toDate(d.start),c=toDate(d.end);let l=+a>+c;const h=l?+a:+c,p=l?c:a;p.setHours(0,0,0,0);let b=1;const g=[];for(;+p<=h;)g.push(toDate(p)),p.setDate(p.getDate()+b),p.setHours(0,0,0,0);return l?g.reverse():g}function startOfMonth(d){const t=toDate(d);return t.setDate(1),t.setHours(0,0,0,0),t}function getDay(d){return toDate(d).getDay()}const iconButtonStyles=':host{display:inline-block;vertical-align:middle}.dss-icon-button{position:relative;background-color:transparent;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:24px;height:24px;font-size:var(--icon-size-md)}.dss-icon-button .dss-icon{z-index:1}.dss-icon-button:before{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;background-color:transparent;border-radius:100%;transform:translate(-50%,-50%);transition:.3s all ease-in;z-index:0}.dss-icon-button--sm{height:16px;width:16px;font-size:var(--icon-size-sm)}.dss-icon-button.dss-icon-button--sm:before{width:24px;height:24px}.dss-icon-button--lg{height:32px;width:32px;font-size:var(--icon-size-lg)}.dss-icon-button.dss-icon-button--lg:before{width:40px;height:40px}.dss-icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-400)}.dss-icon-button[hidden]{display:none}.dss-icon-button:focus-visible:enabled{outline:0}.dss-icon-button:focus-visible:enabled:before{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--default{color:var(--color-neutral-700)}.dss-icon-button--default:hover:enabled:before{background-color:var(--color-neutral-100)}.dss-icon-button--default:active:enabled:before{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default{color:var(--color-white)}.dss-icon-button--white-default:hover:enabled:before{background-color:var(--color-neutral-100)}.dss-icon-button--white-default:active:enabled:before{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default:disabled{opacity:.4;color:var(--color-white)}.dss-icon-button--primary{color:var(--color-primary-500)}.dss-icon-button--primary:hover:enabled:before{background-color:var(--color-primary-100)}.dss-icon-button--primary:active:enabled:before{background-color:var(--color-primary-50);transition:none}.dss-icon-button--error{color:var(--color-red-700)}.dss-icon-button--error:hover:enabled:before{background-color:var(--color-red-100)}.dss-icon-button--error:active:enabled:before{background-color:var(--color-red-50)}.dss-icon-button--warning{color:var(--color-yellow-800)}.dss-icon-button--warning:hover:enabled:before{background-color:var(--color-yellow-100)}.dss-icon-button--warning:active:enabled:before{background-color:var(--color-yellow-50)}.dss-icon-button--success{color:var(--color-green-700)}.dss-icon-button--success:hover:enabled:before{background-color:var(--color-green-100)}.dss-icon-button--success:active:enabled:before{background-color:var(--color-green-50)}.dss-icon-button--info{color:var(--color-blue-700)}.dss-icon-button--info:hover:enabled:before{background-color:var(--color-blue-100)}.dss-icon-button--info:active:enabled:before{background-color:var(--color-blue-50)}.dss-icon-button dss-icon{z-index:100}',styles$g=':host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.calendar__container{position:relative;background:#fff;box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;margin-bottom:var(--dss-spacing-xxs);border-radius:var(--dss-radius-sm)}.calendar__content{padding:var(--dss-spacing-md);border-radius:8px 8px 0 0}.calendar__content--buttons{border-top:var(--dss-border-width-sm) solid var(--color-neutral-100)}.calendar__content:last-child{border-radius:0 0 8px 8px;box-shadow:none}.calendar__header{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);margin-bottom:16px}.calendar__header-item{display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-xxs)}.calendar__header-item--click{font-weight:var(--font-semibold);color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-xxs);cursor:pointer}.calendar__header-item--click:hover{background-color:var(--color-primary-50)}.calendar__header-item--click:active{background-color:var(--color-primary-100)}.calendar__header-item--click:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.calendar__header-item--click:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.calendar__header-buttons .dss-icon-button.dss-icon-button--lg,.calendar-selector--year .dss-icon-button.dss-icon-button--lg{width:32px;height:32px;box-sizing:border-box}.calendar__header-title{margin:auto;font-family:var(--font-family);font-style:normal;font-weight:600;font-size:16px;line-height:24px;color:#414141}.calendar__days-content{display:flex;flex-direction:column;gap:6px}.calendar__week-names,.calendar__days{list-style-type:none;padding:0;margin:0;gap:8px 6px;display:grid;grid-template-columns:repeat(7,1fr)}.calendar__week-names>li{text-align:center}.calendar__day-item{position:relative;height:32px;width:32px;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;z-index:999;border-radius:100%;cursor:pointer;font-size:14px;font-family:var(--font-family);font-weight:var(--font-semibold);line-height:24px;color:var(--color-neutral-900)}.calendar__day-item--weekend{font-weight:var(--font-regular)}.calendar__day-item--range:before{position:absolute;content:"";top:0;bottom:0;left:-6px;right:-6px;background:var(--color-primary-100);z-index:-2}.calendar__day-item--range:hover{color:#fff!important}.calendar__day-item--range:hover:after{position:absolute;content:"";width:100%;height:100%;border-radius:100%;background:var(--color-primary-500);color:#fff;z-index:-1}.calendar__day-item--active{color:#0073e6;box-shadow:inset 0 0 0 2px #0073e6}.calendar__day-item:hover:enabled,.calendar__day-item--selected{background:#0073e6!important;color:#fff}.calendar__day-item--selected-range-start,.calendar__day-item--selected-range-end{color:#fff}.calendar__day-item--selected-range-start:before,.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):before{position:absolute;content:"";top:0;bottom:0;background:var(--color-primary-100);z-index:-2}.calendar__day-item--selected-range-start:after,.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):after{position:absolute;content:"";width:100%;height:100%;border-radius:100%;background:var(--color-primary-500);color:#fff;z-index:-1}.calendar__day-item--selected-range-start:before{left:50%;right:-6px}.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):before{left:-6px;right:50%}.calendar__day-item:not(.calendar__day-item--range-enabled):hover:enabled{transition:all .3s ease-in}.calendar__day-item.calendar__day-item--range-enabled:hover:enabled{transition:background .3s ease-in}.calendar__day-item:active:enabled{background:#308deb;transition:none}.calendar__day-item:disabled{pointer-events:none;opacity:.5}.calendar__time-container{display:flex;margin:auto;justify-content:center;align-items:center;gap:12px;font-weight:600;font-size:14px;line-height:24px;color:#1d1d1d}.calendar__time-content{display:flex;flex-direction:column;gap:8px;align-items:center}.calendar__buttons{display:flex;justify-content:center;align-items:center;gap:16px}.dss-datepicker__timepicker{position:relative;box-sizing:border-box;padding:var(--dss-spacing-xs) var(--dss-spacing-md) var(--dss-spacing-md)}.calendar-selector{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;padding:var(--dss-spacing-md);background-color:var(--color-white);z-index:1000;border-radius:var(--dss-radius-sm)}.calendar-selector-title{font-size:16px;line-height:24px;font-weight:var(--font-semibold);margin-bottom:var(--dss-spacing-md)}.calendar-selector-title__actions{display:flex;justify-content:flex-end;align-items:center;gap:0}.calendar-selector-title--years{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs)}.calendar-selector-options{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--dss-spacing-xs)}.calendar-selector-options--4col{grid-template-columns:repeat(4,1fr)}.calendar-selector-options__item{height:32px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;font-size:14px;font-weight:var(--font-semibold);text-transform:lowercase;text-align:center;color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);overflow:hidden;cursor:pointer}.calendar-selector-options__item--current{color:var(--color-primary-700)}.calendar-selector-options__item--selected{background-color:var(--color-primary-500);color:var(--color-white)}.calendar-selector-options__item:hover{background-color:var(--color-primary-600);color:var(--color-white)}.calendar-selector-options__item:active{background-color:var(--color-primary-400);color:var(--color-white)}.calendar-selector-options__item:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.calendar-selector-options__item:disabled{cursor:not-allowed;color:var(--color-neutral-500)}',dssTimepicker=i`dss-timepicker${s(getCustomElementSuffix())}`,template$2=d=>{var t,a,c,l;return u` -
    -
    -
    -
    -
    - ${MONTH[d._currMonth]} - expand_more -
    -
    - ${d._currYear} - expand_more -
    -
    -
    - - -
    -
    - -
    -
      - ${WEEK.map(h=>u`
    • ${h}
    • `)} -
    -
    - ${d._days.map(h=>{const p={"calendar__day-item--active":d._isToday(h),"calendar__day-item--weekend":d._isWeekend(h),"calendar__day-item--selected":d._isSelected(h),"calendar__day-item--range":d._isBetweenRange(h)||d._isBetweenRangeOnMouseOver(h),"calendar__day-item--selected-range-start":d._isSelectedRangeStart(h),"calendar__day-item--selected-range-end":d._isSelectedRangeEnd(h)||d._isOverRangeDate(h),"calendar__day-item--range-enabled":d._range};return u` - - `})} -
    -
    -
    - ${d._showMonthSelector?u` -
    -
    Selecciona un mes
    -
    - ${d._generateMonthsOptions()} -
    -
    - `:null} - ${d._showYearSelector?u` -
    -
    -
    - ${d._yearsRangeStart} - ${d._yearsRangeEnd} -
    -
    - - -
    -
    -
    - ${d._generateYearsRangeOptions()} -
    -
    - `:null} - ${d._showTime?u` -
    - <${dssTimepicker} - .dropdown="${d._timepicker}" - .customTimeListOptions=${d._customTimeListOptions} - .minutesRange=${d._minutesRange} - .minHour=${d._minHour} - .maxHour=${d._maxHour} - @onTimepickerChange=${d._onSelectTime} - > - - - -
    - `:null} - ${d._showButtons||d._showTime?u` -
    -
    - - -
    -
    - `:null} -
    - -`};var __defProp$V=Object.defineProperty,__getOwnPropDesc$V=Object.getOwnPropertyDescriptor,__decorateClass$V=(d,t,a,c)=>{for(var l=__getOwnPropDesc$V(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$V(t,a,l),l};const MONTH=["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],WEEK=["dl","dm","dc","dj","dv","ds","dg"];class Calendar extends r$1{constructor(){super(),this._range=!1,this._isRangeStartFocused=!1,this._isRangeEndFocused=!1,this._rangeStartDate=null,this._rangeEndDate=null,this._rangeOverDate=null,this._timepicker="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._customTimeListOptions=[],this._timepickerLabel="",this._date=new Date,this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth(),this._currHour=void 0,this._currMin=void 0,this._days=this._getDays(),this._selectedDate=null,this._showTime=!1,this._showButtons=!0,this._leftLabel="Cancel·lar",this._rightLabel="Seleccionar",this._minDate=null,this._maxDate=null,this._timepickerValue="",this._showMonthSelector=!1,this._showYearSelector=!1,this._yearsRangeStart=new Date().getFullYear()-18,this._yearsRangeEnd=new Date().getFullYear()+1,this._isTimeFormatValid=!1,this._focusFirstElementHandler=this._focusFirstElement.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(styles$g)]}set range(t){const a=this._range;this._range=t,this.requestUpdate("range",a)}set isRangeStartFocused(t){const a=this._isRangeStartFocused;this._isRangeStartFocused=t,this.requestUpdate("isRangeStartFocused",a)}set isRangeEndFocused(t){const a=this._isRangeEndFocused;this._isRangeEndFocused=t,this.requestUpdate("isRangeStartFocused",a)}set selectedDate(t){const a=this._selectedDate;this._selectedDate=this._getDateString(t),this._updateCurrentDate(),this.requestUpdate("selectedDate",a)}set minDate(t){const a=this._minDate;this._minDate=this._getDateString(t),this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=this._getDateString(t),this.requestUpdate("maxDate",a)}set showTime(t){const a=this._showTime;this._showTime=t,this.requestUpdate("showTime",a)}set showButtons(t){const a=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",a)}set leftLabel(t){const a=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",a)}set rightLabel(t){const a=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",a)}set timepicker(t){const a=this._timepicker;this._timepicker=t,this.requestUpdate("timepicker",a)}set minutesRange(t){const a=this._minutesRange;this._minutesRange=t,this.requestUpdate("minutesRange",a)}set minHour(t){const a=this._minHour;this._minHour=t,this.requestUpdate("minHour",a)}set maxHour(t){const a=this._maxHour;this._maxHour=t,this.requestUpdate("maxHour",a)}set customTimeListOptions(t){const a=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",a)}set timepickerLabel(t){const a=this._timepickerLabel;this._timepickerLabel=t,this.requestUpdate("timepickerLabel",a)}set rangeStartDate(t){const a=this._rangeStartDate;this._rangeStartDate=this._getDateString(t),this.requestUpdate("rangeStartDate",a)}set rangeEndDate(t){const a=this._rangeEndDate;this._rangeEndDate=this._getDateString(t),this.requestUpdate("rangeEndDate",a)}connectedCallback(){super.connectedCallback(),this._range&&window.addEventListener("range-focus-calendar",this._focusFirstElementHandler)}disconnectedCallback(){super.disconnectedCallback(),this._range&&window.removeEventListener("range-focus-calendar",this._focusFirstElementHandler)}_focusFirstElement(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("#firstCalendarElement");t==null||t.focus()}_prev(){this._currMonth-=1,this._update()}_next(){this._currMonth+=1,this._update()}_update(){(this._currMonth<0||this._currMonth>11)&&(this._date=new Date(this._currYear,this._currMonth,new Date().getDate()),this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth()),this._days=this._getDays(),this.requestUpdate()}_getDays(){const t=[],a=startOfMonth(new Date(this._currYear,this._currMonth)),c=endOfMonth(new Date(this._currYear,this._currMonth)),l=eachDayOfInterval({start:a,end:c}),h=getDay(a);for(let p=h===0?6:h-1;p>0;p-=1)t.push(0);for(const p of l)t.push(p.getDate());return t}_isToday(t){const a=new Date;return t===a.getDate()&&this._currMonth===a.getMonth()&&this._currYear===a.getFullYear()}_isWeekend(t){const a=new Date(this._currYear,this._currMonth,t);return a.getDay()===0||a.getDay()===6}_isInactive(t){const a=new Date(this._currYear,this._currMonth,t);return t?this._minDate&&this._maxDate?!(a>=this._minDate&&a<=this._maxDate):this._minDate?!(a>=this._minDate):this._maxDate?!(a<=this._maxDate):!1:!0}_isSelected(t){var a,c,l,h,p,b;return this._range?t===((a=this._rangeStartDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeStartDate)==null?void 0:c.getMonth())&&this._currYear===((l=this._rangeStartDate)==null?void 0:l.getFullYear())||this._isSelectedRangeEnd(t):t===((h=this._selectedDate)==null?void 0:h.getDate())&&this._currMonth===((p=this._selectedDate)==null?void 0:p.getMonth())&&this._currYear===((b=this._selectedDate)==null?void 0:b.getFullYear())}_isSelectedRangeStart(t){var a,c,l,h,p,b,g,m;return this._range&&this._rangeStartDate&&this._rangeEndDate?!this._compareSelectedRangeDates()&&t===((a=this._rangeStartDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeStartDate)==null?void 0:c.getMonth())&&this._currYear===((l=this._rangeStartDate)==null?void 0:l.getFullYear()):this._range&&this._rangeStartDate&&!this._rangeEndDate?this._rangeOverDate!==null&&((h=this._rangeStartDate)==null?void 0:h.getTime())<((p=this._rangeOverDate)==null?void 0:p.getTime())&&t===((b=this._rangeStartDate)==null?void 0:b.getDate())&&this._currMonth===((g=this._rangeStartDate)==null?void 0:g.getMonth())&&this._currYear===((m=this._rangeStartDate)==null?void 0:m.getFullYear())&&(!this._isRangeStartFocused||this._showButtons)&&(this._isRangeEndFocused||this._rangeStartDate!==null):(this._range&&this._rangeStartDate===this._rangeEndDate,!1)}_isSelectedRangeEnd(t){var a,c,l;return!this._compareSelectedRangeDates()&&t===((a=this._rangeEndDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeEndDate)==null?void 0:c.getMonth())&&this._currYear===((l=this._rangeEndDate)==null?void 0:l.getFullYear())}_isOverRangeDate(t){var c,l,h;const a=t===((c=this._rangeOverDate)==null?void 0:c.getDate())&&this._currMonth===((l=this._rangeOverDate)==null?void 0:l.getMonth())&&this._currYear===((h=this._rangeOverDate)==null?void 0:h.getFullYear());return this._range&&this._rangeOverDate&&this._rangeStartDate&&!this._rangeEndDate?a&&this._rangeOverDate.getTime()>this._rangeStartDate.getTime()&&(!this._isRangeStartFocused||this._showButtons)&&(this._isRangeEndFocused||this._rangeStartDate!==null):!1}_compareSelectedRangeDates(){return this._rangeStartDate&&this._rangeEndDate?this._rangeStartDate.getFullYear()===this._rangeEndDate.getFullYear()&&this._rangeStartDate.getMonth()===this._rangeEndDate.getMonth()&&this._rangeStartDate.getDate()===this._rangeEndDate.getDate():!0}_isBetweenRange(t){const a=new Date(this._currYear,this._currMonth,t);return!this._isInactive(t)&&this._rangeStartDate&&this._rangeEndDate?a.getTime()>this._rangeStartDate.getTime()&&a.getTime()this._rangeStartDate.getTime()&&a.getTime()this._rangeStartDate.getTime()&&a.getTime()=this._rangeEndDate.getTime()&&(this._rangeStartDate=null,this._rangeEndDate=null),this._isRangeStartFocused||!this._rangeStartDate||this._rangeStartDate.getTime()>this._selectedDate.getTime()?this._rangeStartDate=this._selectedDate:this._rangeEndDate=this._selectedDate),this._range&&this._showButtons&&(this._rangeStartDate&&this._rangeEndDate&&(this._rangeStartDate=null,this._rangeEndDate=null),!this._rangeStartDate||this._rangeStartDate.getTime()>this._selectedDate.getTime()?this._rangeStartDate=this._selectedDate:this._rangeEndDate=this._selectedDate),this.requestUpdate(),!this._showButtons&&(this._range?this._emitRange():this._emitDate())}_selectRangeOverDate(t){this._range&&(this._rangeOverDate=new Date(this._currYear,this._currMonth,t),this.requestUpdate())}_removeRangeOverDate(){this._rangeOverDate=null,this.requestUpdate()}_onCancel(){const t=new CustomEvent("onCancel",{bubbles:!0,composed:!0});this.dispatchEvent(t)}_onAccept(){this._range?this._emitRange():this._emitDate()}_emitDate(){var h,p,b,g;const t=(p=(h=this._selectedDate)==null?void 0:h.getDate())==null?void 0:p.toString().padStart(2,"0"),a=(this._currMonth+1).toString().padStart(2,"0");let c=`${t}/${a}/${this._currYear}`;if(this._showTime){const m=(b=this._currHour)==null?void 0:b.toString().padStart(2,"0"),w=(g=this._currMin)==null?void 0:g.toString().padStart(2,"0");c+=` ${m}:${w}`}const l=new CustomEvent("onDateChange",{detail:c,bubbles:!0,composed:!0});this.dispatchEvent(l)}_emitRange(){var l,h,p,b,g,m,w,v,f,y,k,$;let t=null;if((l=this._rangeStartDate)!=null&&l.getDate()&&((h=this._rangeStartDate)!=null&&h.getMonth())&&((p=this._rangeStartDate)!=null&&p.getFullYear())){const _=(b=this._rangeStartDate.getDate())==null?void 0:b.toString().padStart(2,"0"),C=(((g=this._rangeStartDate)==null?void 0:g.getMonth())+1).toString().padStart(2,"0");t=`${_}/${C}/${(m=this._rangeStartDate)==null?void 0:m.getFullYear()}`}let a=null;if((w=this._rangeEndDate)!=null&&w.getDate()&&((v=this._rangeEndDate)!=null&&v.getMonth())&&((f=this._rangeEndDate)!=null&&f.getFullYear())){const _=(y=this._rangeEndDate.getDate())==null?void 0:y.toString().padStart(2,"0"),C=(((k=this._rangeEndDate)==null?void 0:k.getMonth())+1).toString().padStart(2,"0");a=`${_}/${C}/${($=this._rangeEndDate)==null?void 0:$.getFullYear()}`}const c=new CustomEvent("onRangeChange",{detail:{rangeStart:t,rangeEnd:a},bubbles:!0,composed:!0});this.dispatchEvent(c)}_updateCurrentDate(){if(!this._selectedDate){this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth();return}this._currMonth=this._selectedDate.getMonth(),this._currYear=this._selectedDate.getFullYear(),this._currHour=this._selectedDate.getHours(),this._currMin=this._selectedDate.getMinutes(),this._days=this._getDays(),this._currHour>=10?this._timepickerValue=`${this._currHour}:`:this._timepickerValue=`0${this._currHour}:`,this._currMin>=10?this._timepickerValue+=this._currMin:this._timepickerValue+=`0${this._currMin}`}_getDateString(t){const a=t==null?void 0:t.replace(/(\d+[/])(\d+[/])/,"$2$1"),c=this._showTime?14:8;return(a==null?void 0:a.length)>c?new Date(a):null}_onSelectTime(t){if(this._isTimeFormatValid=!1,t.detail.status==="VALID"){this._isTimeFormatValid=!0;const a=t.detail.value;this._currHour=+a.substring(0,2),this._currMin=+a.substring(3,5)}this.requestUpdate()}_toggleMonthSelector(){this._showMonthSelector=!0,this.requestUpdate()}_onMonthSelectorClick(t){const a=MONTH.indexOf(t);this._currMonth=a,this._update(),this._showMonthSelector=!1,this.requestUpdate()}_toggleYearSelector(){this._showYearSelector=!0,this.requestUpdate()}_onYearSelectorClick(t){this._currYear=t,this._update(),this._showYearSelector=!1,this.requestUpdate()}_generateYearsRangeOptions(){const t=[];for(let c=this._yearsRangeStart;c<=this._yearsRangeEnd;c+=1)t.push(c);return t.map(c=>{const l=v=>{v&&v.focus()},h=v=>{let f=0;const y=this.renderRoot.querySelectorAll(".calendar-selector-options__item--year"),k=y.length-1;v===y[0]?l(y[k]):(y.forEach(($,_)=>{$===v&&(f=_)}),l(y[f-1]))},p=v=>{let f=0;const y=this.renderRoot.querySelectorAll(".calendar-selector-options__item--year"),k=y.length-1;v===y[k]?l(y[0]):(y.forEach(($,_)=>{$===v&&(f=_)}),l(y[f+1]))},b=v=>{const f=v.currentTarget,y=v;let k=!1;switch(y.key){case"ArrowUp":case"ArrowLeft":h(f),k=!0;break;case"ArrowDown":case"ArrowRight":p(f),k=!0;break;case"Enter":const $=v.target,_=this.renderRoot.querySelector('.calendar-selector-options__item--year[tabindex="0"]');_==null||_.setAttribute("tabindex","-1"),v.target.setAttribute("tabindex","0"),$.click(),k=!0;break;case"Escape":this.renderRoot.querySelector(".calendar-selector-options__item--selected").click(),k=!0;break}k&&(v.stopPropagation(),v.preventDefault())},m=new Date().getFullYear(),w={"calendar-selector-options__item--current":c===m,"calendar-selector-options__item--selected":c===this._currYear};return u` -
    this._onYearSelectorClick(c)} - > - ${c} -
    - `})}_generateMonthsOptions(){return MONTH.map(a=>{const c=w=>{w&&w.focus()},l=w=>{let v=0;const f=this.renderRoot.querySelectorAll(".calendar-selector-options__item--month"),y=f.length-1;w===f[0]?c(f[y]):(f.forEach((k,$)=>{k===w&&(v=$)}),c(f[v-1]))},h=w=>{let v=0;const f=this.renderRoot.querySelectorAll(".calendar-selector-options__item--month"),y=f.length-1;w===f[y]?c(f[0]):(f.forEach((k,$)=>{k===w&&(v=$)}),c(f[v+1]))},p=w=>{const v=w.currentTarget,f=w;let y=!1;switch(f.key){case"ArrowUp":case"ArrowLeft":l(v),y=!0;break;case"ArrowDown":case"ArrowRight":h(v),y=!0;break;case"Enter":const k=w.target,$=this.renderRoot.querySelector('.calendar-selector-options__item--month[tabindex="0"]');$==null||$.setAttribute("tabindex","-1"),w.target.setAttribute("tabindex","0"),k.click(),y=!0;break;case"Escape":this.renderRoot.querySelector(".calendar-selector-options__item--selected").click(),y=!0;break}y&&(w.stopPropagation(),w.preventDefault())},g=new Date().getMonth(),m={"calendar-selector-options__item--current":MONTH.indexOf(a)===g,"calendar-selector-options__item--selected":MONTH.indexOf(a)===this._currMonth};return u` -
    this._onMonthSelectorClick(a)} - > - ${a.length<=4?u`${a}`:u`${a.slice(0,3)}.`} -
    - `})}_onYearRangeStepUp(){this._yearsRangeStart+=20,this._yearsRangeEnd+=20,this.requestUpdate()}_onYearRangeStepDown(){this._yearsRangeStart-=20,this._yearsRangeEnd-=20,this.requestUpdate()}_onHeaderMonthKeyDown(t){t.key==="Enter"&&(t.target.click(),setTimeout(()=>{this.renderRoot.querySelector('.calendar-selector-options__item--month[tabindex="0"]').focus()},50))}_onHeaderYearKeyDown(t){t.key==="Enter"&&(t.target.click(),setTimeout(()=>{this.renderRoot.querySelector('.calendar-selector-options__item--year[tabindex="0"]').focus()},50))}_validateSelectedDate(){return!!(!this._range&&!this._selectedDate||!this._range&&this._showTime&&!this._isTimeFormatValid||this._range&&(!this._rangeStartDate||!this._rangeEndDate))}_handleCalendarKeydown(t){(t==null?void 0:t.key)==="Escape"&&this._onCancel()}render(){return template$2(this)}}__decorateClass$V([n(booleanType)],Calendar.prototype,"range");__decorateClass$V([n(booleanType)],Calendar.prototype,"isRangeStartFocused");__decorateClass$V([n(booleanType)],Calendar.prototype,"isRangeEndFocused");__decorateClass$V([n({type:String})],Calendar.prototype,"selectedDate");__decorateClass$V([n({type:String})],Calendar.prototype,"minDate");__decorateClass$V([n({type:String})],Calendar.prototype,"maxDate");__decorateClass$V([n(booleanType)],Calendar.prototype,"showTime");__decorateClass$V([n(booleanType)],Calendar.prototype,"showButtons");__decorateClass$V([n({type:String})],Calendar.prototype,"leftLabel");__decorateClass$V([n({type:String})],Calendar.prototype,"rightLabel");__decorateClass$V([n({type:String})],Calendar.prototype,"timepicker");__decorateClass$V([n({type:Number})],Calendar.prototype,"minutesRange");__decorateClass$V([n({type:Number})],Calendar.prototype,"minHour");__decorateClass$V([n({type:Number})],Calendar.prototype,"maxHour");__decorateClass$V([n({type:Array})],Calendar.prototype,"customTimeListOptions");__decorateClass$V([n({type:String})],Calendar.prototype,"timepickerLabel");__decorateClass$V([n({type:String})],Calendar.prototype,"rangeStartDate");__decorateClass$V([n({type:String})],Calendar.prototype,"rangeEndDate");const chatMessageStyles=":host{display:block;width:100%}.chat-message{display:grid;grid-template-columns:40px 1fr 40px;gap:var(--dss-spacing-xs);padding:0 0 0 var(--dss-spacing-hg)}.chat-message-wrapper{display:grid;gap:var(--dss-spacing-xs)}.chat-message-wrapper__message{color:var(--color-neutral-900);display:grid;padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);background-color:var(--color-white);border-radius:var(--dss-radius-sm)}.dss-chat-message--patient .chat-message-wrapper__message{border:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-chat-message--doctor .chat-message-wrapper__message{background-color:var(--color-primary-50)}.message-username{font-size:12px;line-height:16px;font-weight:var(--font-semibold)}.message-text{font-size:14px;line-height:24px}.chat-message-wrapper__date{color:var(--color-neutral-500);font-size:12px;line-height:16px;padding:0 var(--dss-spacing-sm)}::slotted(div){display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:var(--dss-spacing-md)}",dssAvatar=i`dss-avatar${s(getCustomElementSuffix())}`,template$1=d=>{const t={"dss-chat-message--patient":d._who==="patient","dss-chat-message--doctor":d._who==="doctor"},a=()=>u` - <${dssAvatar} - .size="${d._avatarSize}" - .imageUrl="${d._avatarImageUrl}" - > - - `,c=()=>u` - <${dssAvatar} - .size="${d._avatarSize}" - .name="${d._avatarName}" - .surname="${d._avatarSurname}" - > - - `,l=()=>u` ${d._avatarImageUrl?u`${a()}`:u`${c()}`}`;return u` -
    -
    - ${d._who==="patient"?u`${l()}`:null} -
    - -
    -
    -
    ${d._username}
    -
    ${d._message}
    -
    - -
    -
    -
    ${d._date}
    -
    - -
    - ${d._who==="doctor"?u`${l()}`:null} -
    -
    - `};var __defProp$U=Object.defineProperty,__getOwnPropDesc$U=Object.getOwnPropertyDescriptor,__decorateClass$U=(d,t,a,c)=>{for(var l=__getOwnPropDesc$U(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$U(t,a,l),l};class ChatMessage extends r$1{constructor(){super(...arguments),this._username="",this._message="",this._date="",this._who="",this._avatarName="",this._avatarSurname="",this._avatarImageUrl="",this._avatarSize="md"}static get styles(){return[r$2(iconStyles),r$2(chatMessageStyles)]}set username(t){const a=this._username;this._username=t,this.requestUpdate("username",a)}set message(t){const a=this._message;this._message=t,this.requestUpdate("message",a)}set date(t){const a=this._date;this._date=t,this.requestUpdate("date",a)}set who(t){const a=this._who;this._who=t,this.requestUpdate("who",a)}set avatarName(t){const a=this._avatarName;this._avatarName=t,this.requestUpdate("avatarName",a)}set avatarSurname(t){const a=this._avatarSurname;this._avatarSurname=t,this.requestUpdate("avatarSurname",a)}set avatarImageUrl(t){const a=this._avatarImageUrl;this._avatarImageUrl=t,this.requestUpdate("avatarImageUrl",a)}set avatarSize(t){const a=this._avatarSize;this._avatarSize=t,this.requestUpdate("avatarSize",a)}render(){return template$1(this)}}__decorateClass$U([n({type:String})],ChatMessage.prototype,"username");__decorateClass$U([n({type:String})],ChatMessage.prototype,"message");__decorateClass$U([n({type:String})],ChatMessage.prototype,"date");__decorateClass$U([n({type:String})],ChatMessage.prototype,"who");__decorateClass$U([n({type:String})],ChatMessage.prototype,"avatarName");__decorateClass$U([n({type:String})],ChatMessage.prototype,"avatarSurname");__decorateClass$U([n({type:String})],ChatMessage.prototype,"avatarImageUrl");__decorateClass$U([n({type:String})],ChatMessage.prototype,"avatarSize");function moveFocusToTarget(d){d&&d.focus()}function moveFocusToPreviousTarget(d,t,a){let c=0;const l=d.querySelectorAll(a),h=l.length-1;t===l[0]?moveFocusToTarget(l[h]):(l.forEach((p,b)=>{p===t&&(c=b)}),moveFocusToTarget(l[c-1]))}function moveFocusToNextTarget(d,t,a){let c=0;const l=d.querySelectorAll(a),h=l.length-1;t===l[h]?moveFocusToTarget(l[0]):(l.forEach((p,b)=>{p===t&&(c=b)}),moveFocusToTarget(l[c+1]))}function onKeyboardEnter(d,t,a){const c=d.querySelector(`${a}[tabindex="0"]`);c==null||c.setAttribute("tabindex","-1"),t.setAttribute("tabindex","0"),t.click()}function compareNumbers(d,t,a){return d||(d=0),t||(t=0),a==="asc"?d-t:t-d}function compareDates(d,t,a){return d||(d=new Date("1900-01-01")),t||(t=new Date("1900-01-01")),a==="asc"?d.getTime()-t.getTime():t.getTime()-d.getTime()}function compareStrings(d,t,a){return d||(d=""),t||(t=""),a==="asc"?d.localeCompare(t):t.localeCompare(d)}function sort(d,t,a="asc",c){return[...d].sort((l,h)=>{switch(c){case"number":return compareNumbers(l[t],h[t],a);case"date":return compareDates(new Date(l[t]),new Date(h[t]),a);case"string":return compareStrings(l[t],h[t],a);default:return 0}})}const checkboxStyles='.dss-checkbox{border-radius:2px;width:20px!important;height:20px!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--dss-border-width-sm) solid var(--color-primary-500);position:relative;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-checkbox:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-checkbox.dss-checkbox--validate{border-color:var(--color-neutral-700)}.dss-checkbox:hover{border-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:hover.dss-checkbox--validate{border-color:var(--color-neutral-800)}.dss-checkbox:active{border-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:active.dss-checkbox--validate{border-color:var(--color-neutral-500)}.dss-checkbox:checked{background-color:var(--color-primary-500)}.dss-checkbox:checked.dss-checkbox--validate{border-color:var(--color-green-500);background-color:var(--color-green-500)}.dss-checkbox:checked:before{font-family:var(--font-icons);content:"check";position:absolute;font-size:22px;color:var(--color-white);text-align:center;top:-4px;left:-2px}.dss-checkbox:checked:hover{border-color:var(--color-primary-600);background-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:checked:hover.dss-checkbox--validate{border-color:var(--color-green-600);background-color:var(--color-green-600)}.dss-checkbox:checked:active{background-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:checked:active.dss-checkbox--validate{border-color:var(--color-green-400);background-color:var(--color-green-400)}.dss-checkbox:indeterminate{background-color:var(--color-primary-500)}.dss-checkbox:indeterminate:before{font-family:Material Symbols Rounded;font-size:18px;content:"remove";color:var(--color-white);position:absolute;top:-1px}.dss-checkbox:indeterminate.dss-checkbox--validate{background-color:var(--color-green-500)}.dss-checkbox:disabled{cursor:not-allowed;color:var(--color-neutral-900);border-color:var(--color-neutral-400)}.dss-checkbox:disabled:checked{background-color:var(--color-neutral-300)}.dss-checkbox:disabled:checked:before{color:var(--color-neutral-900)}.dss-checkbox.dss-checkbox--validate:disabled:checked:hover{background-color:var(--color-neutral-300)}.dss-checkbox-label{cursor:pointer}',customTableStyles=":host{display:block;width:100%;height:100%}.dss-custom-table{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.dss-custom-table-header,.dss-custom-table-footer{flex:0 1 auto}.dss-custom-table-body{flex:1 1 auto;overflow:auto;position:relative}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-md);border-top:var(--dss-border-width-sm) solid var(--color-neutral-100);margin-top:var(--dss-spacing-md)}.table-footer-description{color:var(--color-neutral-900);font-size:16px;font-weight:var(--font-bold)}::slotted(.table-footer-actions){display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xs)}";var __defProp$T=Object.defineProperty,__getOwnPropDesc$T=Object.getOwnPropertyDescriptor,__decorateClass$T=(d,t,a,c)=>{for(var l=c>1?void 0:c?__getOwnPropDesc$T(t,a):t,h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=(c?p(t,a,l):p(l))||l);return c&&l&&__defProp$T(t,a,l),l};const dssTableHeader=i`dss-table-header${s(getCustomElementSuffix())}`,dssTablePaginator=i`dss-table-pagination${s(getCustomElementSuffix())}`;class CustomTable extends r$1{constructor(){super(...arguments),this.internalSelectedCounter=0,this._hideHeader=!1,this._hidePaginator=!1,this._columnsHeader=[],this._data=void 0,this._paginatedData=void 0,this._currentSortColumn="",this._currentSortType="string",this._currentSortOrder="none",this._multiselect=!1,this._radioselect=!1,this._allRowsSelected=!1,this._selectedRowsLabel="files seleccionades",this._isFirstUpdate=!0,this._shouldUpdate=!1,this._table=void 0,this._currentRowsChecked=0,this._selectedRowsCounter=void 0,this._tableTitle="",this._filters=[],this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._noFiltersLabel="No hi ha filtres seleccionats",this._isTableHeaderCreated=!1,this._hideHeaderTitleAndExpand=!1,this._disableSorting=!1,this._isPaginationStarted=!1,this._totalResults=void 0,this._currentIndex=1,this._pageSize=10,this._pageSizeOptions=[5,10,20],this._resultstext="Resultats",this._rowsperpagetext="Files per pàgina",this._paginationState=void 0,this._pageSizeOptionsDisabled=!1,this._hidePaginationResults=!1,this._hideFooter=!1}static get styles(){return[r$2(iconStyles),r$2(scrollbarStyles),r$2(checkboxStyles),r$2(customTableStyles)]}set hideHeader(t){const a=this._hideHeader;this._hideHeader=t,this.requestUpdate("hideHeader",a)}set hidePaginator(t){const a=this._hidePaginator;this._hidePaginator=t,this.requestUpdate("hidePaginator",a)}set columnsHeader(t){const a=this._columnsHeader;this._columnsHeader=t,this.requestUpdate("columnsHeader",a)}set data(t){const a=this._data;this._data=t,this.requestUpdate("data",a)}set multiselect(t){const a=this._multiselect;this._multiselect=t,this.requestUpdate("multiselect",a)}set radioselect(t){const a=this._radioselect;this._radioselect=t,this.requestUpdate("radioselect",a)}set selectedRowsLabel(t){const a=this._selectedRowsLabel;this._selectedRowsLabel=t,this.requestUpdate("selectedRowsLabel",a)}set selectedRowsCounter(t){const a=this._selectedRowsCounter;this._selectedRowsCounter=t,this.requestUpdate("selectedRowsCounter",a)}set tableTitle(t){const a=this._tableTitle;this._tableTitle=t,this.requestUpdate("tableTitle",a)}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set noFiltersLabel(t){const a=this._noFiltersLabel;this._noFiltersLabel=t,this.requestUpdate("noFiltersLabel",a)}set hideHeaderTitleAndExpand(t){const a=this._hideHeaderTitleAndExpand;this._hideHeaderTitleAndExpand=t,this.requestUpdate("hideHeaderTitleAndExpand",a)}set disableSorting(t){const a=this._disableSorting;this._disableSorting=t,this.requestUpdate("disableSorting",a)}set totalResults(t){const a=this._totalResults;this._totalResults=t,this.requestUpdate("totalResults",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set resultsLabel(t){const a=this._resultstext;this._resultstext=t,this.requestUpdate("resultsLabel",a)}set rowsPerPageLabel(t){const a=this._rowsperpagetext;this._rowsperpagetext=t,this.requestUpdate("rowsperpageLabel",a)}set hidePaginationResults(t){const a=this._hidePaginationResults;this._hidePaginationResults=t,this.requestUpdate("hidePaginationResults",a)}set pageSizeOptionsDisabled(t){const a=this._pageSizeOptionsDisabled;this._pageSizeOptionsDisabled=t,this.requestUpdate("pageSizeOptionsDisabled",a)}set hideFooter(t){const a=this._hideFooter;this._hideFooter=t,this.requestUpdate("hideFooter",a)}_getDataLength(){let t=0;return this._totalResults!==void 0&&this._totalResults>=0?t=this._totalResults:this._data&&(t=this._data.length),t}_sortBy(t,a,c,l,h){this._currentSortColumn=a,this._currentSortType=c,l?l==="none"?this._currentSortOrder="asc":l==="asc"?this._currentSortOrder="desc":l==="desc"&&(this._currentSortOrder="none"):this._currentSortOrder="asc",this._updateColumnSortState();let p;return this._currentSortOrder==="none"?p=t:p=sort(t,this._currentSortColumn,this._currentSortOrder,c),p&&!h&&this._dispatchSort(p),p}_updateColumnSortState(){this._columnsHeader.forEach(t=>{t.column===this._currentSortColumn?t.sortOrder=this._currentSortOrder:t.sortOrder&&(t.sortOrder="none")})}_onSelectAll(){if(this._table){this._allRowsSelected=!this._allRowsSelected;let t=0,a=0;const c=this._table.querySelectorAll(".dss-checkbox--multiselect");c.forEach(l=>{l.disabled?a+=1:(l.checked||(t+=1),l.checked=this._allRowsSelected)}),this._allRowsSelected?this._currentRowsChecked+=t:this._currentRowsChecked-=c.length-a,this._updateTableFooterRowsChecked(),this._dispatchMultiselect()}}_rowsCheckedListener(t){this._table&&t.tagName==="INPUT"&&t.type==="checkbox"&&t.classList.contains("dss-checkbox")&&!t.classList.contains("dss-checkbox--thead")&&(t.checked?this._currentRowsChecked+=1:this._currentRowsChecked-=1,this._updateTableFooterRowsChecked())}_updateTableFooterRowsChecked(){this._selectedRowsCounter===void 0&&(this.internalSelectedCounter=this._currentRowsChecked)}_updateTableHeader(){if(this._table){const t=this._table.querySelector(".dss-custom-table");let a=t.querySelector("thead");a||(a=document.createElement("thead"),a.classList.add("dss-thead"),t.insertBefore(a,t.firstChild)),B(this._generateTableHeaderHTML(),a)}}_generateTableHeaderHTML(){let t=!0,a=u``,c=u``;this._multiselect&&(a=u` - -
    - -
    - - `),this._radioselect&&(c=u` - -
    - - `);const l=this._columnsHeader.map(p=>{const b=()=>{p.sortType&&!this._disableSorting&&(this._paginatedData?this._sortBy(this._paginatedData,p.column,p.sortType,p==null?void 0:p.sortOrder):this._sortBy(this._data,p.column,p.sortType,p==null?void 0:p.sortOrder),this._updateTableHeaderIcons())},g=y=>{const k=y.currentTarget,$=y;let _=!1;switch($.key){case"ArrowLeft":this._table&&moveFocusToPreviousTarget(this._table,k,".dss-th-content--clickable"),_=!0;break;case"ArrowRight":this._table&&moveFocusToNextTarget(this._table,k,".dss-th-content--clickable"),_=!0;break;case"Enter":const S=y.target;this._table&&onKeyboardEnter(this._table,S,".dss-th-content--clickable"),_=!0;break}_&&(y.stopPropagation(),y.preventDefault())},m={"dss-th--align-center":p.align==="center","dss-th--align-right":p.align==="right"};let w=!1;p.sortType&&!this._disableSorting&&(w=!0);const v={"dss-th-content--clickable":w},f=u` - -
    - - - ${p.sortType&&!this._disableSorting?u`${this._getTableHeaderSortIconHTML(p.column)}`:null} -
    - - `;return t=!1,f});return u` - ${a} ${c} ${l} - `}_getTableHeaderSortIconHTML(t){let a=u``;if(this._currentSortColumn===t)switch(this._currentSortOrder){case"asc":a=u`arrow_upward`;break;case"desc":a=u`arrow_downward`;break;default:a=u`swap_vert`;break}else a=u`swap_vert`;return u` - - ${a} - - `}_updateTableHeaderIcons(){this._table&&this._table.querySelectorAll(".dss-th-content--clickable > .dss-icon").forEach(a=>{const c=a.getAttribute("column");let l="swap_vert";if(this._currentSortColumn===c)switch(this._currentSortOrder){case"asc":l="arrow_upward";break;case"desc":l="arrow_downward";break;default:l="swap_vert";break}a.innerHTML=l})}_paginate(t){const a=t.startIndex,c=t.endIndex;if(this._data){const l=c<=this._data.length?c:this._data.length;this._paginatedData=[...this._data.slice(a-1,l)]}if(t.pageSize&&(this._pageSize=t.pageSize),this._currentSortColumn&&this._currentSortOrder){let l="";this._currentSortOrder==="asc"?l="none":this._currentSortOrder==="desc"?l="asc":l="dsc",this._paginatedData=this._sortBy(this._paginatedData,this._currentSortColumn,this._currentSortType,l,!0)}return this._paginatedData}_rowKeydownListener(){if(this._table){let t=!0;this._table.querySelectorAll(".dss-tbody-row").forEach(c=>{t?c.setAttribute("tabindex","0"):c.setAttribute("tabindex","-1"),t=!1,c.addEventListener("keydown",l=>{let h=!1;switch(l.key){case"ArrowUp":this._table&&moveFocusToPreviousTarget(this._table,c,".dss-tbody-row"),h=!0;break;case"ArrowDown":this._table&&moveFocusToNextTarget(this._table,c,".dss-tbody-row"),h=!0;break;case"Enter":if(this._multiselect){const p=c.querySelector(".dss-checkbox--multiselect");p&&(p.checked=!(p!=null&&p.checked),this.requestUpdate()),h=!0}if(this._radioselect){const p=c.querySelector(".dss-radio");p&&(p.checked=!(p!=null&&p.checked),this.requestUpdate()),h=!0}break}h&&(l.stopPropagation(),l.preventDefault())})})}}_dispatchChangeFilters(t){this._filters=t.detail;const a={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onUpdateFilters",a))}_dispatchExpandTable(t){this._expandTable=t.detail;const a={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpandTable",a))}_dispatchOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenDrawer",t))}_dispatchPagination(t){var a;if(!this._totalResults||this._isPaginationStarted){const c={detail:t.detail,bubbles:!0,composed:!0};if(this._paginationState=c.detail,this._data&&!this._totalResults&&(c.detail.data=this._paginate(this._paginationState)),this._totalResults&&(this._shouldUpdate=!0),this._allRowsSelected){this._allRowsSelected=!1;const l=(a=this._table)==null?void 0:a.querySelector(".dss-checkbox--thead");l&&(l.checked=!1)}this.dispatchEvent(new CustomEvent("onPaginate",c))}this._isPaginationStarted=!0}_dispatchSort(t){const a={detail:{currentSortColumn:this._currentSortColumn,currentSortOrder:this._currentSortOrder,currentSortType:this._currentSortType,columnsHeader:this._columnsHeader,data:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSort",a))}_dispatchMultiselect(){const t={detail:this._allRowsSelected,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onMultiselect",t))}_initTable(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="table"]'))||void 0;this._table=t==null?void 0:t.assignedElements()[0],this._table&&(this._columnsHeader.length&&!this._isTableHeaderCreated&&(this._updateTableHeader(),this._isTableHeaderCreated=!0),this._rowKeydownListener(),new MutationObserver(l=>{l.forEach(h=>{h.type==="childList"&&h.addedNodes.length>0&&this._rowKeydownListener()}),this._checkAllRowsSelected()}).observe(this._table,{childList:!0,subtree:!0}))}_checkAllRowsSelected(){var t;if(this._table){const a=this._table.querySelectorAll(".dss-checkbox--multiselect");let c=!0;if(a.length===0&&(c=!1),a.forEach(l=>{!l.checked&&!l.disabled&&(c=!1)}),this._allRowsSelected!==c){this._allRowsSelected=c;const l=(t=this._table)==null?void 0:t.querySelector(".dss-checkbox--thead");l.checked=this._allRowsSelected}}}async firstUpdated(){await this.updateComplete,this._isFirstUpdate&&!this._table&&(this._initTable(),this.addEventListener("change",t=>{this._rowsCheckedListener(t.target),this._checkAllRowsSelected()})),this._isFirstUpdate=!1}willUpdate(t){const a=t.has("columnsHeader"),c=t.has("disableSorting"),l=t.has("data");if(c&&this._updateTableHeader(),a&&(this._columnsHeader.forEach(h=>{h.sortOrder&&(this._currentSortColumn=h.column,this._currentSortOrder=h.sortOrder,h.sortType&&(this._currentSortType=h.sortType))}),!this._isTableHeaderCreated&&this._table&&(this._updateTableHeader(),this._isTableHeaderCreated=!0)),l&&!this._isFirstUpdate)if(this._totalResults){if(this.internalSelectedCounter>this._totalResults&&(this.internalSelectedCounter=this._totalResults),this._shouldUpdate){if(this._currentSortColumn&&this._currentSortType&&this._currentSortOrder&&this._currentSortOrder!=="none"){const h=sort(this._data,this._currentSortColumn,this._currentSortOrder,this._currentSortType);this._dispatchSort(h)}this._shouldUpdate=!1}}else{const h=this._getDataLength();if(this.internalSelectedCounter>h&&(this.internalSelectedCounter=h,this._currentRowsChecked=h),this._paginationState){this._paginationState.endIndex -
    - ${this._hideHeader?null:u` - <${dssTableHeader} - .headerTitle=${this._tableTitle} - .filters=${this._filters} - .innerFilters=${this._innerFilters} - .expandTable=${this._expandTable} - .expandLabel=${this._expandLabel} - .collapseLabel=${this._collapseLabel} - .filtersLabel=${this._filtersLabel} - .cleanFiltersLabel=${this._cleanFiltersLabel} - .noFiltersLabel=${this._noFiltersLabel} - .hideHeaderTitleAndExpand=${this._hideHeaderTitleAndExpand} - @onChangeFilters=${this._dispatchChangeFilters} - @onExpand=${this._dispatchExpandTable} - @onOpenFilters=${this._dispatchOpenFilters} - > - - - `} -
    - -
    - -
    - - ${this._hideFooter?null:u` - - `} - - `}}__decorateClass$T([n({type:Number})],CustomTable.prototype,"internalSelectedCounter",2);__decorateClass$T([n(booleanType)],CustomTable.prototype,"hideHeader",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"hidePaginator",1);__decorateClass$T([n({type:Array})],CustomTable.prototype,"columnsHeader",1);__decorateClass$T([n({type:Array})],CustomTable.prototype,"data",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"multiselect",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"radioselect",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"selectedRowsLabel",1);__decorateClass$T([n({type:Number})],CustomTable.prototype,"selectedRowsCounter",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"tableTitle",1);__decorateClass$T([n({type:Array})],CustomTable.prototype,"filters",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"innerFilters",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"expandTable",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"expandLabel",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"collapseLabel",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"filtersLabel",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"cleanFiltersLabel",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"noFiltersLabel",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"hideHeaderTitleAndExpand",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"disableSorting",1);__decorateClass$T([n({type:Number})],CustomTable.prototype,"totalResults",1);__decorateClass$T([n({type:Number})],CustomTable.prototype,"currentIndex",1);__decorateClass$T([n({type:Number})],CustomTable.prototype,"pageSize",1);__decorateClass$T([n({type:Array})],CustomTable.prototype,"pageSizeOptions",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"resultsLabel",1);__decorateClass$T([n({type:String})],CustomTable.prototype,"rowsPerPageLabel",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"hidePaginationResults",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"pageSizeOptionsDisabled",1);__decorateClass$T([n(booleanType)],CustomTable.prototype,"hideFooter",1);const datepickerRangeStyles=":host{display:block;width:100%;min-width:257px}.dss-datepicker-range{position:relative;font-family:var(--font-family);height:48px}.dss-datepicker-range--sm{height:40px}.dss-datepicker-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:var(--dss-spacing-md)}.dss-datepicker-range-help{font-family:var(--font-family)}.dss-datepicker-range-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-datepicker-range-help--disabled{color:var(--color-neutral-500)}.dss-datepicker-range-help--invalid{color:var(--color-red-500)}.dss-calendar{position:absolute;margin-top:var(--dss-spacing-xxs);top:48px;z-index:900;width:-moz-fit-content;width:fit-content}.dss-calendar--sm{margin-top:var(--dss-spacing-xxs);top:40px}";var __defProp$S=Object.defineProperty,__getOwnPropDesc$S=Object.getOwnPropertyDescriptor,__decorateClass$S=(d,t,a,c)=>{for(var l=__getOwnPropDesc$S(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$S(t,a,l),l};const dssCalendar=i`dss-calendar${s(getCustomElementSuffix())}`;class DatepickerRange extends r$1{constructor(){super(...arguments),this._iconRangeStart="calendar_month",this._iconRangeEnd="calendar_month",this._dateformatPlaceholder="dd/mm/yyyy",this._isStartFocused=!1,this._isEndFocused=!1,this._invalid=!1,this._showCalendar=!1,this._helpText="",this._minDate="",this._maxDate="",this._inputSize="md",this._calendarShowButtons=!1,this._calendarLeftButtonLabel="Cancel·lar",this._calendarRightButtonLabel="Seleccionar",this._copyInputRangeStartPlaceholder="",this._copyInputRangeEndPlaceholder="",this._isFirstInputsCheck=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&this._checkInputAttributes()},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(resetStyles),r$2(inputStyles),r$2(datepickerRangeStyles)]}get _inputRangeStart(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input-range-start"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _inputRangeEnd(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input-range-end"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set iconRangeStart(t){const a=this._iconRangeStart;this._iconRangeStart=t,this.requestUpdate("iconRangeStart",a)}set iconRangeEnd(t){const a=this._iconRangeEnd;this._iconRangeEnd=t,this.requestUpdate("iconRangeEnd",a)}set minDate(t){const a=this._minDate;this._minDate=t,this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="sm"?this._inputSize=t:this._inputSize="md",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set showButtons(t){const a=this._calendarShowButtons;this._calendarShowButtons=t,this.requestUpdate("calendarShowButtons",a)}set calendarLeftButtonLabel(t){const a=this._calendarLeftButtonLabel;this._calendarLeftButtonLabel=t,this.requestUpdate("calendarLeftButtonLabel",a)}set calendarRightButtonLabel(t){const a=this._calendarRightButtonLabel;this._calendarRightButtonLabel=t,this.requestUpdate("calendarRightButtonLabel",a)}_checkInputAttributes(){this._isFirstInputsCheck&&this._inputRangeStart&&(this._copyInputRangeStartPlaceholder=this._inputRangeStart.placeholder),this._isFirstInputsCheck&&this._inputRangeEnd&&(this._copyInputRangeEndPlaceholder=this._inputRangeEnd.placeholder),this._isFirstInputsCheck=!1}_updatePlaceholders(){this._isStartFocused&&!this._copyInputRangeStartPlaceholder&&(this._inputRangeStart.setAttribute("placeholder",this._dateformatPlaceholder),this.requestUpdate()),this._isEndFocused&&!this._copyInputRangeEndPlaceholder&&(this._inputRangeEnd.setAttribute("placeholder",this._dateformatPlaceholder),this.requestUpdate())}_removePlaceholders(){this._copyInputRangeStartPlaceholder||this._inputRangeStart.removeAttribute("placeholder"),this._copyInputRangeEndPlaceholder||this._inputRangeEnd.removeAttribute("placeholder")}_handleRangeStartInput(t){if(t.target){const c=t.target.value.replace(/\D/g,"");this._inputRangeStart.value=this._formatDate(c)}}_handleRangeEndInput(t){if(t.target){const c=t.target.value.replace(/\D/g,"");this._inputRangeEnd.value=this._formatDate(c)}}_handleRangeStartClick(){this._showCalendar=!0,this.requestUpdate()}_handleRangeEndClick(){this._showCalendar=!0,this.requestUpdate()}_handleRangeStartFocusIn(){this._isStartFocused||(this._isStartFocused=!0,this._isEndFocused=!1,this._copyInputRangeEndPlaceholder||this._inputRangeEnd.removeAttribute("placeholder"),this._updatePlaceholders(),this.requestUpdate())}_handleRangeEndFocusIn(){this._isEndFocused||(this._isStartFocused=!1,this._copyInputRangeStartPlaceholder||this._inputRangeStart.removeAttribute("placeholder"),this._isEndFocused=!0,this._updatePlaceholders(),this.requestUpdate())}_handleRangeKeydown(t){(t==null?void 0:t.key)==="Tab"?this._showCalendar&&this._isStartFocused&&(t.preventDefault(),this.dispatchEvent(new CustomEvent("range-focus-calendar",{bubbles:!0,composed:!0}))):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this.requestUpdate()):(t==null?void 0:t.key)==="Escape"&&(this._showCalendar=!1,this.requestUpdate())}_onCalendarChange(t){const a=t.detail;a.rangeStart&&(this._inputRangeStart.value=t.detail.rangeStart),a.rangeEnd?this._inputRangeEnd.value=t.detail.rangeEnd:this._inputRangeEnd.value="",this._inputRangeEnd.value||(this._inputRangeEnd.focus(),this._isStartFocused=!1,this._isEndFocused=!0),this._inputRangeStart.value&&this._inputRangeEnd.value&&(this._showCalendar=!1,this._isStartFocused=!1,this._isEndFocused=!1),this.requestUpdate()}_onCalendarCancel(){this._showCalendar=!1,this.requestUpdate()}_closeCalendar(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._showCalendar&&(this._removePlaceholders(),this._isStartFocused=!1,this._isEndFocused=!1,this._showCalendar=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._inputRangeStart&&a!==this._inputRangeEnd&&this._showCalendar&&(this._removePlaceholders(),this._isStartFocused=!1,this._isEndFocused=!1,this._showCalendar=!1,this.requestUpdate())})}_formatDate(t){let a=t.substring(0,2),c=t.substring(2,4);const l=t.substring(4,8);return Number(a)>3&&(a=a==null?void 0:a.padStart(2,"0")),Number(c)>1&&(c=c==null?void 0:c.padStart(2,"0")),Number(a)>31&&(a="31"),Number(c)>12&&(c="12"),c==="02"&&Number(a)>28&&(l==null?void 0:l.length)===4&&(a=new Date(Number(l),1,29).getMonth()===1?"29":"28"),`${a}${c?`/${c}`:""}${l?`/${l}`:""}`}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._inputRangeStart&&this._inputRangeEnd&&(this._checkInputAttributes(),this.observer.observe(this._inputRangeStart,this.observerConfig),this.observer.observe(this._inputRangeEnd,this.observerConfig)),this._closeCalendar()}catch{console.error("ERROR OCURRED")}}render(){var p,b,g,m,w,v,f,y,k,$,_,S,C,T,D,q,U,E,O,P,L,V,R,A,z;const t={"dss-datepicker-range--sm":this._inputSize==="sm"},a={"dss-datepicker-range-help--invalid":this._invalid||!((p=this._inputRangeStart)!=null&&p.validity.valid)&&((b=this._inputRangeStart)==null?void 0:b.value)!==""||!((g=this._inputRangeEnd)!=null&&g.validity.valid)&&((m=this._inputRangeEnd)==null?void 0:m.value)!=="","dss-datepicker-range-help--disabled":((w=this._inputRangeStart)==null?void 0:w.disabled)&&((v=this._inputRangeEnd)==null?void 0:v.disabled)},c={"dss-input-group--focused":((f=this._inputRangeStart)==null?void 0:f.value)||this._isStartFocused||this._copyInputRangeStartPlaceholder,"dss-input-group--lg":this._inputSize==="md","dss-input-group--md":this._inputSize==="sm","dss-input-group--invalid":this._invalid||!((y=this._inputRangeStart)!=null&&y.validity.valid)&&((k=this._inputRangeStart)==null?void 0:k.value)!=="","dss-input-group--disabled":($=this._inputRangeStart)==null?void 0:$.disabled,"dss-input-group--read-only":(_=this._inputRangeStart)==null?void 0:_.readOnly,"dss-input-group--required":(S=this._inputRangeStart)==null?void 0:S.required},l={"dss-input-group--focused":((C=this._inputRangeEnd)==null?void 0:C.value)||this._isEndFocused||this._copyInputRangeEndPlaceholder,"dss-input-group--lg":this._inputSize==="md","dss-input-group--md":this._inputSize==="sm","dss-input-group--invalid":this._invalid||!((T=this._inputRangeEnd)!=null&&T.validity.valid)&&((D=this._inputRangeEnd)==null?void 0:D.value)!=="","dss-input-group--disabled":(q=this._inputRangeEnd)==null?void 0:q.disabled,"dss-input-group--read-only":(U=this._inputRangeEnd)==null?void 0:U.readOnly,"dss-input-group--required":(E=this._inputRangeEnd)==null?void 0:E.required},h={"dss-calendar":!0,"dss-calendar--disabled":((O=this._inputRangeStart)==null?void 0:O.disabled)&&((P=this._inputRangeEnd)==null?void 0:P.disabled),"dss-calendar--sm":this._inputSize==="sm"};return u` -
    -
    -
    - ${this._iconRangeStart} - - -
    - -
    - ${this._iconRangeEnd} - - -
    -
    - - ${this._helpText?u` -
    - ${this._helpText} -
    - `:null} - ${this._showCalendar&&!((L=this._inputRangeStart)!=null&&L.readOnly)&&!((V=this._inputRangeEnd)!=null&&V.readOnly)?u` - <${dssCalendar} - range - .isRangeStartFocused=${this._isStartFocused} - .isRangeEndFocused=${this._isEndFocused} - role="listbox" - aria-label="Datepicker Range Calendar" - id="datepicker-range-calendar" - class="${e(h)}" - .selectedDate="${(R=this._inputRangeStart)==null?void 0:R.value}" - .rangeStartDate="${(A=this._inputRangeStart)==null?void 0:A.value}" - .rangeEndDate="${(z=this._inputRangeEnd)==null?void 0:z.value}" - .showButtons=${this._calendarShowButtons} - .leftLabel=${this._calendarLeftButtonLabel} - .rightLabel=${this._calendarRightButtonLabel} - .minDate=${this._minDate} - .maxDate=${this._maxDate} - @onRangeChange=${this._onCalendarChange} - @onCancel=${this._onCalendarCancel} - > - `:null} -
    - `}}__decorateClass$S([n({type:String})],DatepickerRange.prototype,"iconRangeStart");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"iconRangeEnd");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"minDate");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"maxDate");__decorateClass$S([n(booleanType)],DatepickerRange.prototype,"invalid");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"inputSize");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"helpText");__decorateClass$S([n(booleanType)],DatepickerRange.prototype,"showButtons");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"calendarLeftButtonLabel");__decorateClass$S([n({type:String})],DatepickerRange.prototype,"calendarRightButtonLabel");const drawerStyles=':host{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;visibility:hidden;opacity:0;display:flex;justify-content:flex-end;align-items:center;transition:opacity .25s;z-index:999}:host([open]){visibility:visible}:host(.show){opacity:1}:host(.hide){opacity:0}.drawer{position:relative;box-sizing:border-box;width:-moz-fit-content;width:fit-content;width:45%;height:100%;overflow-y:auto;background:var(--color-white);visibility:hidden;transform:translate(100%);transition:transform .25s ease-in-out;display:flex;flex-direction:column}:host(.show) .drawer{visibility:visible;transform:translate(0)}.drawer-header{position:sticky;top:0;left:0;height:84px;background-color:var(--color-white);padding:var(--dss-spacing-lg);display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);border-bottom:var(--color-white) solid var(--dss-border-width-sm);transition:all .25s ease-in-out;z-index:900}.drawer-header--scrolled{border-bottom-color:var(--color-neutral-100);box-shadow:0 1px 3px 1px #0000001a,0 1px 2px #0000000d}.drawer--sm .drawer-header{height:62px;padding:var(--dss-spacing-md)}.drawer--lg .drawer-header{height:100px;padding:var(--dss-spacing-xl)}.drawer-header-title{font-size:24px;font-weight:var(--font-bold);line-height:30px}.drawer--sm .drawer-header-title{font-size:20px}.drawer-body{padding:0 var(--dss-spacing-lg);flex:1}.drawer--sm .drawer-body{padding:0 var(--dss-spacing-md)}.drawer--lg .drawer-body{padding:0 var(--dss-spacing-xl)}.drawer-footer{position:sticky;bottom:0;left:0;height:80px;min-height:80px;background-color:var(--color-white);padding:var(--dss-spacing-lg);display:flex;justify-content:flex-end;gap:var(--dss-spacing-md);align-items:center;border-top:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out;z-index:900}.drawer-footer--scrolled{border-top-color:var(--color-neutral-100)}.drawer--sm .drawer-footer{height:56px;min-height:56px;padding:var(--dss-spacing-md)}.drawer--lg .drawer-footer{height:104px;min-height:104px;padding:var(--dss-spacing-xl)}::slotted(div[slot="drawer-footer"]){display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-md)}@media screen and (min-width: 1440px) and (max-width: 1919px){.drawer{width:50%}}@media only screen and (min-width: 1024px) and (max-width: 1439px){.drawer{width:60%}}@media only screen and (max-width: 1023px){.drawer{width:80%}}';var __defProp$R=Object.defineProperty,__getOwnPropDesc$R=Object.getOwnPropertyDescriptor,__decorateClass$R=(d,t,a,c)=>{for(var l=__getOwnPropDesc$R(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$R(t,a,l),l};const ANIMATION_DURATION$1=250;class Drawer extends r$1{constructor(){super(),this._open=!1,this._title="",this._size="md",this._drawerHeader=null,this._drawerFooter=null,this._handleKeydown=this._handleKeydown.bind(this),this._handleOutsideClick=this._handleOutsideClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),r$2(drawerStyles)]}set open(t){const a=this._open;this._open=t,this.requestUpdate("open",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("who",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}get open(){return this._open}get title(){return this._title}get size(){return this._size}_showDrawer(){this.classList.add("show"),this.classList.remove("hide"),setTimeout(()=>{this.classList.add("show"),this.style.visibility="visible"},0),document.body.style.overflow="hidden"}_hideDrawer(){this.classList.add("hide"),this.classList.remove("show"),setTimeout(()=>{this.classList.remove("hide"),this.style.visibility="hidden"},ANIMATION_DURATION$1),document.body.style.overflow=""}_closeDrawer(){this.open=!1,this._hideDrawer(),this.requestUpdate();const t=new Event("onDrawerClosed");this.dispatchEvent(t)}_handleKeydown(t){t.key==="Escape"&&this._closeDrawer()}_handleOutsideClick(t){var a;if(this._open){const c=(a=this.shadowRoot)==null?void 0:a.querySelector(".drawer"),l=t.composedPath();c&&l.includes(this)&&!l.includes(c)&&this._closeDrawer()}}_handleScroll(t){var c,l,h,p;const a=t.target;a&&(a.scrollTop>0?(c=this._drawerHeader)==null||c.classList.add("drawer-header--scrolled"):(l=this._drawerHeader)==null||l.classList.remove("drawer-header--scrolled"),a.scrollHeight-a.scrollTop!==a.clientHeight?(h=this._drawerFooter)==null||h.classList.add("drawer-footer--scrolled"):(p=this._drawerFooter)==null||p.classList.remove("drawer-footer--scrolled"))}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleOutsideClick)}updated(t){t.has("open")&&(this._open?this._showDrawer():this._hideDrawer())}firstUpdated(){var a,c,l;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".drawer");t&&(t.addEventListener("scroll",this._handleScroll.bind(this)),this._drawerHeader=(c=this.shadowRoot)==null?void 0:c.querySelector(".drawer-header"),this._drawerFooter=(l=this.shadowRoot)==null?void 0:l.querySelector(".drawer-footer"),t.scrollHeight>t.clientHeight&&this._drawerFooter.classList.add("drawer-footer--scrolled"))}render(){const t={"drawer--sm":this._size==="sm","drawer--md":this._size==="md","drawer--lg":this._size==="lg"},a={"dss-icon-button--md":this._size==="sm","dss-icon-button--lg":this._size!=="sm"};return x` -
    -
    -
    ${this._title}
    - -
    -
    - -
    - -
    - `}}__decorateClass$R([n(booleanType)],Drawer.prototype,"open");__decorateClass$R([n({type:String})],Drawer.prototype,"title");__decorateClass$R([n({type:String})],Drawer.prototype,"size");const headerStyles=':host{display:block}.dss-header{height:72px;display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);flex-shrink:0;background-color:var(--color-white);padding:var(--dss-spacing-sm) var(--dss-spacing-lg);box-shadow:0 1px 2px #0000000d,0 1px 3px 1px #0000001a}.dss-header-left{display:flex;align-items:center;gap:var(--dss-spacing-xl)}.dss-header-right{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xl)}.dss-header-brand{display:flex;align-items:center;gap:var(--dss-spacing-md)}.dss-header-title{display:flex;align-items:center;gap:var(--dss-spacing-md);font-family:var(--font-family);font-size:20px;font-style:normal;font-weight:700;line-height:30px;color:var(--color-neutral-900)}.dss-header-title__area{position:relative}.dss-header-title__area:after{position:absolute;content:"";height:var(--dss-spacing-md);width:var(--dss-border-width-sm);background-color:var(--color-neutral-900);top:50%;right:calc(var(--dss-spacing-xs) * -1);transform:translateY(-50%)}.dss-header-section{position:relative;height:48px;display:flex;align-items:center}::slotted(dss-header-menu-patient){position:relative}::slotted(dss-header-menu-patient):before{content:"";position:absolute;top:0;left:calc(var(--dss-spacing-md) * -1);height:100%;border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-header-logo{height:24px}',headerTemplate=d=>x` -
    -
    -
    - - ${d._title?x` -

    - ${d._area?x` - ${d._area} - `:null} - ${d._title} -

    - `:null} -
    - - -
    -
    - - -
    -
    -`;var __defProp$Q=Object.defineProperty,__getOwnPropDesc$Q=Object.getOwnPropertyDescriptor,__decorateClass$Q=(d,t,a,c)=>{for(var l=__getOwnPropDesc$Q(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$Q(t,a,l),l};class Header extends r$1{constructor(){super(...arguments),this._title=void 0,this._area=void 0,this._logoSrc=""}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerStyles)]}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set area(t){const a=this._area;this._area=t,this.requestUpdate("area",a)}set logoSrc(t){const a=this._logoSrc;this._logoSrc=t,this.requestUpdate("logoSrc",a)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return headerTemplate(this)}}__decorateClass$Q([n({type:String})],Header.prototype,"title");__decorateClass$Q([n({type:String})],Header.prototype,"area");__decorateClass$Q([n({type:String})],Header.prototype,"logoSrc");const headerLinksStyles=":host{display:block}.dss-header-links{display:flex;align-items:center;gap:var(--dss-spacing-md)}.dss-header-links__button-link{all:unset;cursor:pointer;display:flex;align-items:center;gap:var(--dss-spacing-xs);vertical-align:middle;color:var(--color-primary-700);font-size:14px;font-style:normal;font-weight:600;line-height:24px;font-family:var(--font-family)}.dss-header-links__button-link:hover{color:var(--color-primary-900)}.dss-header-links__button-link:active{color:var(--color-primary-800)}.dss-header-links__button-link:disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-header-links__button-link:focus-visible{border-radius:var(--dss-radius-xs, 4px);outline:2px solid var(--system-feedback-blue-blue-200, #8ec7e5)}@media only screen and (max-width: 1024px){.dss-header-links__button-link__label{display:none}}",headerLinksTemplate=d=>x` - -`;var __defProp$P=Object.defineProperty,__getOwnPropDesc$P=Object.getOwnPropertyDescriptor,__decorateClass$P=(d,t,a,c)=>{for(var l=__getOwnPropDesc$P(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$P(t,a,l),l};class HeaderLinks extends r$1{constructor(){super(...arguments),this._hideHelp=!1,this._disableHelp=!1,this._helpLabel="Ajuda",this._items=[]}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerLinksStyles)]}set hideHelp(t){const a=this._hideHelp;this._hideHelp=t,this.requestUpdate("hideHelp",a)}set disableHelp(t){const a=this._disableHelp;this._disableHelp=t,this.requestUpdate("disableHelp",a)}set helpLabel(t){const a=this._helpLabel;this._helpLabel=t,this.requestUpdate("helpLabel",a)}set items(t){const a=this._items;this._items=t,this.requestUpdate("items",a)}_dispatchItemAction(t){const a={detail:t,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onClickLink",a))}_handleHelp(){this.dispatchEvent(new CustomEvent("onHelp",{bubbles:!0,composed:!0}))}render(){return headerLinksTemplate(this)}}__decorateClass$P([n(booleanType)],HeaderLinks.prototype,"hideHelp");__decorateClass$P([n(booleanType)],HeaderLinks.prototype,"disableHelp");__decorateClass$P([n({type:String})],HeaderLinks.prototype,"helpLabel");__decorateClass$P([n({type:Array})],HeaderLinks.prototype,"items");const headerMenuPatientStyles=":host{display:block}.dss-header-menu-patient{position:relative;display:flex;align-items:center;gap:var(--dss-spacing-md);width:-moz-max-content;width:max-content}.dss-header-menu-patient--lg{max-width:360px}.dss-header-menu-patient--md{max-width:320px}.dss-header-menu-patient--sm{max-width:280px}.dss-header-menu-patient-details__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500, #656565);text-overflow:ellipsis;font-size:14px;font-weight:var(--font-semibold);line-height:24px;font-family:var(--font-family)}.dss-header-menu-patient-details__info{display:flex;align-items:center;gap:var(--dss-spacing-xs)}.dss-header-menu-patient-details__info-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regular);line-height:24px}.dss-header-menu-patient-dropdown{position:absolute;top:calc(100% + var(--dss-spacing-lg));right:0;width:240px;z-index:900}.breakpoint-small-only{display:none}.divider-v{width:var(--dss-border-width-sm);height:14px;background-color:var(--color-neutral-500)}@media only screen and (max-width: 1024px){.dss-header-menu-patient-details__info-label--cip,.divider-v--cip{display:none}.breakpoint-small-only{display:block}}",headerMenuPatientTemplate=d=>x` -
    -
    - -
    -
    -

    ${d._name}

    -
    - ${d._cip?x` - ${d._cip} - - `:null} - ${d._age?x` - ${d._age} - - `:null} - ${d._gender?x` - ${d._gender} - `:null} -
    -
    - - ${d._showDropdown?x` -
    - - - - - - -
    - `:null} -
    -`;var __defProp$O=Object.defineProperty,__getOwnPropDesc$O=Object.getOwnPropertyDescriptor,__decorateClass$O=(d,t,a,c)=>{for(var l=__getOwnPropDesc$O(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$O(t,a,l),l};class HeaderMenuPatient extends r$1{constructor(){super(),this._size="lg",this._name=void 0,this._cip=void 0,this._age=void 0,this._gender=void 0,this._disabled=!1,this._showDropdown=!1,this._toggleIcon="expand_more",this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerMenuPatientStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}set size(t){const a=this._size;this._size=t==="md"||t==="sm"?t:"lg",this.requestUpdate("size",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set name(t){const a=this._name;this._name=t,this.requestUpdate("name",a)}set cip(t){const a=this._cip;this._cip=t,this.requestUpdate("cip",a)}set age(t){const a=this._age;this._age=t,this.requestUpdate("age",a)}set gender(t){const a=this._gender;this._gender=t,this.requestUpdate("gender",a)}_toggleDropdown(){this._showDropdown=!this._showDropdown,this._toggleIcon=this._showDropdown?"expand_less":"expand_more",this.requestUpdate()}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}_handleActionClick(t){this.dispatchEvent(new CustomEvent("onActionPatientClick",{detail:{action:t},bubbles:!0,composed:!0}))}_handleCopyCIP(){this._cip&&(navigator.clipboard.writeText(this._cip),this.dispatchEvent(new CustomEvent("onCopyCIP",{detail:{text:this._cip},bubbles:!0,composed:!0})))}_handleDocumentClick(t){this._clickedOutside(this,t)}_clickedOutside(t,a){a.composedPath().includes(t)||this._showDropdown&&this._toggleDropdown()}render(){return headerMenuPatientTemplate(this)}}__decorateClass$O([n({type:String})],HeaderMenuPatient.prototype,"size");__decorateClass$O([n(booleanType)],HeaderMenuPatient.prototype,"disabled");__decorateClass$O([n({type:String})],HeaderMenuPatient.prototype,"name");__decorateClass$O([n({type:String})],HeaderMenuPatient.prototype,"cip");__decorateClass$O([n({type:String})],HeaderMenuPatient.prototype,"age");__decorateClass$O([n({type:String})],HeaderMenuPatient.prototype,"gender");const headerMenuProfessionalStyles=":host{display:block}.dss-header-menu-professional{position:relative;display:flex;align-items:center;gap:var(--dss-spacing-md);width:-moz-max-content;width:max-content}.dss-header-menu-professional--lg{max-width:360px}.dss-header-menu-professional--md{max-width:320px}.dss-header-menu-professional--sm{max-width:280px}.dss-header-menu-professional-details__name,.dss-header-menu-professional-dropdown__details-title,.dss-header-menu-professional-dropdown__details-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500, #656565);text-overflow:ellipsis;font-size:14px;font-weight:var(--font-semibold);line-height:24px;font-family:var(--font-family)}.dss-header-menu-professional-dropdown__details-title{color:var(--color-neutral-900)}.dss-header-menu-professional-details__info{display:flex;align-items:center}.dss-header-menu-professional-details__info-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regular);line-height:24px}.dss-header-menu-professional-details__info-label:not(:last-child){border-right:var(--dss-border-width-sm) solid var(--color-neutral-100);padding-right:var(--dss-spacing-xxs);margin-right:var(--dss-spacing-xxs)}.dss-header-menu-professional-dropdown{position:absolute;top:calc(100% + var(--dss-spacing-lg));right:0;width:280px;z-index:900;display:flex;padding:var(--dss-spacing-md);flex-direction:column;gap:var(--dss-spacing-lg);background-color:var(--color-white);border-radius:var(--dss-radius-sm);box-shadow:0 8px 12px 6px #0000000d,0 4px 4px #0000001a}.dss-header-menu-professional-dropdown__details{display:flex;flex-direction:column;align-items:flex-start;gap:var(--dss-spacing-xs);align-self:stretch}.dss-header-menu-professional-dropdown__info{display:flex;flex-direction:column;align-items:flex-start;gap:var(--dss-spacing-md);align-self:stretch}.dss-header-menu-professional-dropdown__details-content{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}.dss-header-menu-professional-dropdown__details-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regultar);line-height:24px}.dss-header-menu-professional__divider{width:100%;height:var(--dss-border-width-sm);background-color:var(--color-neutral-200)}.dss-header-menu-professional-dropdown__preferences__options{display:flex;flex-direction:column;gap:var(--dss-spacing-xs)}.breakpoint-only-sm{display:none}@media only screen and (max-width: 1024px){.dss-header-menu-professional-details{display:none}.breakpoint-only-sm{display:block}}@media only screen and (min-width: 1025px){.dss-header-menu-professional-dropdown--hide-details .dss-header-menu-professional-dropdown__info,.dss-header-menu-professional-dropdown--hide-details .dss-header-menu-professional__divider{display:none}}",headerMenuProfessionalTemplate=d=>x` -
    -
    - -
    -
    -

    - ${d._name} -

    -
    - ${d._center?x` - ${d._center} - `:null} -
    -
    - - ${d._showDropdown?x` -
    -
    -
    -

    - ${d._infoLabel} -

    - -
    -

    - ${d._name} -

    - - ${d._center?x` -

    - ${d._center} -

    - `:null} - ${d._collegiate?x` -

    - ${d._collegiateLabel} ${d._collegiate} -

    - `:null} -
    - - ${d._detailsHref?x` - ${d._detailsIcon?x` - - `:x` - - `} - `:null} -
    - -
    - - ${d._hideDropdownPreferences?null:x` -
    -

    - ${d._preferencesLabel} -

    -
    - -
    -
    - `} -
    - - -
    - `:null} -
    -`;var __defProp$N=Object.defineProperty,__getOwnPropDesc$N=Object.getOwnPropertyDescriptor,__decorateClass$N=(d,t,a,c)=>{for(var l=__getOwnPropDesc$N(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$N(t,a,l),l};class HeaderMenuProfessional extends r$1{constructor(){super(),this._hideDropdownDetails=!1,this._hideDropdownPreferences=!1,this._size="lg",this._name=void 0,this._center=void 0,this._collegiate=void 0,this._disabled=!1,this._showDropdown=!1,this._toggleIcon="expand_more",this._infoLabel="Les meves dades",this._collegiateLabel="Col·legiat nº",this._preferencesLabel="Preferences de treball",this._detailsLabel="Veure més detalls",this._detailsHref=void 0,this._detailsIconPosition="left",this._logoutLabel="Tancar sessió",this._logoutIcon="logout",this._logoutIconPosition="left",this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerMenuProfessionalStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}set size(t){const a=this._size;this._size=t==="md"||t==="sm"?t:"lg",this.requestUpdate("size",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set name(t){const a=this._name;this._name=t,this.requestUpdate("name",a)}set center(t){const a=this._center;this._center=t,this.requestUpdate("center",a)}set collegiate(t){const a=this._collegiate;this._collegiate=t,this.requestUpdate("collegiate",a)}set infoLabel(t){const a=this._infoLabel;this._infoLabel=t,this.requestUpdate("infoLabel",a)}set collegiateLabel(t){const a=this._collegiateLabel;this._collegiateLabel=t,this.requestUpdate("collegiateLabel",a)}set preferencesLabel(t){const a=this._preferencesLabel;this._preferencesLabel=t,this.requestUpdate("preferencesLabel",a)}set detailsLabel(t){const a=this._detailsLabel;this._detailsLabel=t,this.requestUpdate("detailsLabel",a)}set detailsHref(t){const a=this._detailsHref;this._detailsHref=t,this.requestUpdate("detailsHref",a)}set detailsIcon(t){const a=this._detailsIcon;this._detailsIcon=t,this.requestUpdate("detailsIcon",a)}set detailsIconPosition(t){const a=this._detailsIconPosition;this._detailsIconPosition=t,this.requestUpdate("detailsIconPosition",a)}set logoutLabel(t){const a=this._logoutLabel;this._logoutLabel=t,this.requestUpdate("logoutLabel",a)}set logoutIcon(t){const a=this._logoutIcon;this._logoutIcon=t,this.requestUpdate("logoutIcon",a)}set logoutIconPosition(t){const a=this._logoutIconPosition;this._logoutIconPosition=t,this.requestUpdate("logoutIconPosition",a)}set hideDropdownDetails(t){const a=this._hideDropdownDetails;this._hideDropdownDetails=t,this.requestUpdate("hideDropdownDetails",a)}set hideDropdownPreferences(t){const a=this._hideDropdownPreferences;this._hideDropdownPreferences=t,this.requestUpdate("hideDropdownPreferences",a)}_toggleDropdown(){this._showDropdown=!this._showDropdown,this._toggleIcon=this._showDropdown?"expand_less":"expand_more",this.requestUpdate()}_handleLogout(){this.dispatchEvent(new CustomEvent("onLogout",{bubbles:!0,composed:!0}))}_handleDocumentClick(t){this._clickedOutside(this,t)}_clickedOutside(t,a){a.composedPath().includes(t)||this._showDropdown&&this._toggleDropdown()}render(){return headerMenuProfessionalTemplate(this)}}__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"size");__decorateClass$N([n(booleanType)],HeaderMenuProfessional.prototype,"disabled");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"name");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"center");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"collegiate");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"infoLabel");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"collegiateLabel");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"preferencesLabel");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"detailsLabel");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"detailsHref");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"detailsIcon");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"detailsIconPosition");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"logoutLabel");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"logoutIcon");__decorateClass$N([n({type:String})],HeaderMenuProfessional.prototype,"logoutIconPosition");__decorateClass$N([n(booleanType)],HeaderMenuProfessional.prototype,"hideDropdownDetails");__decorateClass$N([n(booleanType)],HeaderMenuProfessional.prototype,"hideDropdownPreferences");const styles$f=".dss-wrapper{position:relative}.dss-icon-badge{cursor:default;box-sizing:border-box;display:flex;justify-content:center;align-items:center;height:20px;width:20px;border:var(--dss-border-width-sm) solid var(--color-neutral-500);padding:var(--dss-spacing-tiny);border-radius:var(--dss-radius-xs);font-size:16px;color:var(--color-neutral-500);background-color:var(--color-white)}.dss-icon-badge--bubble{border-radius:var(--dss-radius-full)}.dss-icon-badge--md{height:24px;width:32px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs)}.dss-icon-badge--lg{height:32px;width:40px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-sm);font-size:24px}.dss-icon-badge--xl{height:40px;width:40px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-sm);font-size:24px}::slotted(dss-tooltip){display:none}.dss-icon-badge:hover+::slotted(dss-tooltip){display:block}";var __defProp$M=Object.defineProperty,__getOwnPropDesc$M=Object.getOwnPropertyDescriptor,__decorateClass$M=(d,t,a,c)=>{for(var l=__getOwnPropDesc$M(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$M(t,a,l),l};class IconBadge extends r$1{constructor(){super(...arguments),this._icon="warning",this._size="sm",this._state="",this._disabled=!1,this._isIconDefined=!1,this._outlined=!1,this._bubble=!1}static get styles(){return[r$2(iconStyles),r$2(styles$f),r$2(badgeStates)]}set icon(t){const a=this._icon;this._icon=t,this._isIconDefined=!0,this.requestUpdate("icon",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set state(t){const a=this._state;this._state=t,t&&!this._isIconDefined&&(t.includes("danger")?this._icon="warning":t.includes("moderate")?this._icon="emergency_home":t.includes("slight")?this._icon="error":t.includes("correct")?this._icon="check_circle":t.includes("undeterminated")?this._icon="circle":t.includes("critic")?this._icon="cancel":t.includes("alert")?this._icon="report":t.includes("ideal")?this._icon="check_circle":t.includes("info")?this._icon="info":t.includes("neutral")&&(this._icon="circle")),this.requestUpdate("state",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set outlined(t){const a=this._outlined;this._outlined=t,this.requestUpdate("outlined",a)}set bubble(t){const a=this._bubble;this._bubble=t,this.requestUpdate("bubble",a)}render(){const t={"dss-icon-badge--xl":this._size==="xl","dss-icon-badge--lg":this._size==="lg","dss-icon-badge--md":this._size==="md","dss-icon-badge--sm":this._size==="sm","dss-badge--danger":this._state==="danger","dss-badge--danger-low":this._state==="danger-low","dss-badge--danger-high":this._state==="danger-high","dss-badge--moderate":this._state==="moderate","dss-badge--moderate-low":this._state==="moderate-low","dss-badge--moderate-high":this._state==="moderate-high","dss-badge--slight":this._state==="slight","dss-badge--slight-low":this._state==="slight-low","dss-badge--slight-high":this._state==="slight-high","dss-badge--correct":this._state==="correct","dss-badge--undeterminated":this._state==="undeterminated","dss-badge--critic":this._state==="critic"&&!this._outlined,"dss-badge--critic-outlined":this._state==="critic"&&this._outlined,"dss-badge--alert":this._state==="alert"&&!this._outlined,"dss-badge--alert-outlined":this._state==="alert"&&this._outlined,"dss-badge--ideal":this._state==="ideal"&&!this._outlined,"dss-badge--ideal-outlined":this._state==="ideal"&&this._outlined,"dss-badge--info":this._state==="info"&&!this._outlined,"dss-badge--info-outlined":this._state==="info"&&this._outlined,"dss-badge--info-alt":this._state==="info-alt"&&!this._outlined,"dss-badge--info-alt-outlined":this._state==="info-alt"&&this._outlined,"dss-badge--neutral":this._state==="neutral"&&!this._outlined,"dss-badge--neutral-outlined":this._state==="neutral"&&this._outlined,"dss-badge--disabled":this._disabled,"dss-icon-badge--bubble":this._bubble};return x` -
    - - ${this._icon} - - -
    - `}}__decorateClass$M([n({type:String})],IconBadge.prototype,"icon");__decorateClass$M([n({type:String})],IconBadge.prototype,"size");__decorateClass$M([n({type:String})],IconBadge.prototype,"state");__decorateClass$M([n(booleanType)],IconBadge.prototype,"disabled");__decorateClass$M([n(booleanType)],IconBadge.prototype,"outlined");__decorateClass$M([n(booleanType)],IconBadge.prototype,"bubble");const dssIcon$1=i`dss-icon${s(getCustomElementSuffix())}`,template=d=>u` - -`;var __defProp$L=Object.defineProperty,__getOwnPropDesc$L=Object.getOwnPropertyDescriptor,__decorateClass$L=(d,t,a,c)=>{for(var l=__getOwnPropDesc$L(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$L(t,a,l),l};class IconButton extends r$1{constructor(){super(...arguments),this._type="default",this._size="md",this._icon=void 0,this._iconFill=!1,this._disabled=!1,this._hidden=!1}static get styles(){return[r$2(resetStyles),r$2(iconButtonStyles)]}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set iconFill(t){const a=this._iconFill;this._iconFill=t,this.requestUpdate("iconFill",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hidden(t){const a=this._hidden;this._hidden=t,this.requestUpdate("hidden",a)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return template(this)}}__decorateClass$L([n({type:String})],IconButton.prototype,"type");__decorateClass$L([n({type:String})],IconButton.prototype,"size");__decorateClass$L([n({type:String})],IconButton.prototype,"icon");__decorateClass$L([n(booleanType)],IconButton.prototype,"iconFill");__decorateClass$L([n(booleanType)],IconButton.prototype,"disabled");__decorateClass$L([n(booleanType)],IconButton.prototype,"hidden");var __defProp$K=Object.defineProperty,__getOwnPropDesc$K=Object.getOwnPropertyDescriptor,__decorateClass$K=(d,t,a,c)=>{for(var l=__getOwnPropDesc$K(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$K(t,a,l),l};class Input extends r$1{constructor(){super(...arguments),this._label="Label",this._icon="add_box",this._placeholder="",this._inputSize="lg",this._maxLength=void 0,this._invalid=!1,this._helpText="",this._isFocused=!1,this._isTypeNumeric=!1,this._inputValidity=!0,this._removeMinWidth=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(inputStyles),r$2(iconButtonStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set removeMinWidth(t){const a=this._removeMinWidth;this._removeMinWidth=t,this.requestUpdate("removeMinWidth",a)}set value(t){t!==void 0&&this.requestUpdate()}disconnectedCallback(){this.observer.disconnect()}_handleClick(){this.requestUpdate()}_handleInput(){this._isTypeNumeric&&this._maxLength&&this._input&&(this._input.value=this._input.value.slice(0,this._maxLength)),this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_stepUp(){var t;(t=this._input)==null||t.stepUp(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t;(t=this._input)==null||t.stepDown(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputChange",t))}}_checkInputAttributes(){var c,l,h,p,b;const t=(c=this._input)==null?void 0:c.getAttribute("placeholder");t&&(this._placeholder=t),((l=this._input)==null?void 0:l.getAttribute("type"))==="number"&&(this._isTypeNumeric=!0);const a=(h=this._input)==null?void 0:h.getAttribute("maxlength");this._maxLength=a?+a:void 0,(p=this._input)!=null&&p.value&&((b=this._input)==null?void 0:b.value)!==""&&this._handleValidity()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){var c,l,h,p,b,g,m;const t={"dss-input-group--invalid":this._invalid||!this._inputValidity,"dss-input-group--disabled":(c=this._input)==null?void 0:c.disabled,"dss-input-group--required":(l=this._input)==null?void 0:l.required,"dss-input-group--read-only":(h=this._input)==null?void 0:h.readOnly,"dss-input-group--focused":((p=this._input)==null?void 0:p.value)||this._placeholder||this._isFocused,"dss-input-group--lg":this._inputSize==="lg","dss-input-group--md":this._inputSize==="md","dss-input-group--numeric":this._isTypeNumeric,"dss-input-group--has-icon":this._icon&&this._icon!=="","dss-input-group--no-min-width":this._removeMinWidth,"dss-input-group--no-label":!this._labelSlot},a={"dss-input-help--invalid":this._invalid,"dss-input-help--disabled":(b=this._input)==null?void 0:b.disabled};return x` -
    -
    - ${this._icon?x` - - ${this._icon} - - `:null} - - - - - - ${this._isTypeNumeric?x` -
    - - -
    - `:null} -
    - ${this._helpText?x` -
    - ${this._helpText} - ${this._maxLength?x` - ${(m=(g=this._input)==null?void 0:g.value)==null?void 0:m.length}/${this._maxLength} - `:null} -
    - `:null} -
    - `}}__decorateClass$K([n({type:String})],Input.prototype,"label");__decorateClass$K([n({type:String})],Input.prototype,"icon");__decorateClass$K([n({type:String})],Input.prototype,"inputSize");__decorateClass$K([n({type:String})],Input.prototype,"helpText");__decorateClass$K([n(booleanType)],Input.prototype,"invalid");__decorateClass$K([n(booleanType)],Input.prototype,"removeMinWidth");__decorateClass$K([n({type:String})],Input.prototype,"value");const inputActionTemplate=d=>{var c,l,h,p,b,g,m;const t={"dss-input-group--invalid":d._invalid||!d._inputValidity,"dss-input-group--disabled":(c=d._input)==null?void 0:c.disabled,"dss-input-group--required":(l=d._input)==null?void 0:l.required,"dss-input-group--read-only":(h=d._input)==null?void 0:h.readOnly,"dss-input-group--focused":((p=d._input)==null?void 0:p.value)||d._placeholder||d._isFocused,"dss-input-group--lg":d._inputSize==="lg","dss-input-group--md":d._inputSize==="md","dss-input-group--numeric":d._isTypeNumeric,"dss-input-group--has-icon":d._icon&&d._icon!=="","dss-input-group--no-min-width":d._removeMinWidth,"dss-input-group--actions":!0,"dss-input-group--has-secondary-action":!!d._action&&!!d._secondaryAction,"dss-input-group--no-label":!d._labelSlot},a={"dss-input-help--invalid":d._invalid,"dss-input-help--disabled":(b=d._input)==null?void 0:b.disabled};return x` -
    -
    - ${d._icon?x` - - ${d._icon} - - `:null} - - - - - -
    - - -
    - - ${d._isTypeNumeric?x` -
    - - -
    - `:null} -
    - ${d._helpText?x` -
    - ${d._helpText} - ${d._maxLength?x` - ${(m=(g=d._input)==null?void 0:g.value)==null?void 0:m.length}/${d._maxLength} - `:null} -
    - `:null} -
    - `},inputActionStyles='.dss-input-group ::slotted(input){padding-right:calc(var(--dss-spacing-lg) + var(--dss-spacing-md) + var(--dss-spacing-sm))!important}.dss-input-group ::slotted(input[type="number"]){padding-right:calc(var(--dss-spacing-lg) + var(--dss-spacing-lg) + var(--dss-spacing-lg))!important}.dss-input-group--actions .dss-input__numeric-buttons{right:calc(var(--dss-spacing-lg) + var(--dss-spacing-sm))}.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(input){padding-right:var(--dss-spacing-xxhg)!important}.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(input[type="number"]){padding-right:calc(var(--dss-spacing-xxhg) + var(--dss-spacing-md))!important}.dss-input-group--actions.dss-input-group--has-secondary-action .dss-input__numeric-buttons{right:var(--dss-spacing-xhg)}.dss-input-actions{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:900;padding-right:var(--dss-spacing-sm);padding-left:var(--dss-spacing-xs);border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}';var __defProp$J=Object.defineProperty,__getOwnPropDesc$J=Object.getOwnPropertyDescriptor,__decorateClass$J=(d,t,a,c)=>{for(var l=__getOwnPropDesc$J(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$J(t,a,l),l};class InputAction extends r$1{constructor(){super(...arguments),this._label="Label",this._icon="add_box",this._placeholder="",this._inputSize="lg",this._maxLength=void 0,this._invalid=!1,this._helpText="",this._isFocused=!1,this._isTypeNumeric=!1,this._inputValidity=!0,this._removeMinWidth=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(inputStyles),r$2(inputActionStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _action(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="action"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _secondaryAction(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="secondaryAction"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set removeMinWidth(t){const a=this._removeMinWidth;this._removeMinWidth=t,this.requestUpdate("removeMinWidth",a)}set value(t){t!==void 0&&this.requestUpdate()}disconnectedCallback(){this.observer.disconnect()}_handleClick(){this.requestUpdate()}_handleInput(){this._isTypeNumeric&&this._maxLength&&this._input&&(this._input.value=this._input.value.slice(0,this._maxLength)),this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_stepUp(){var t;(t=this._input)==null||t.stepUp(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t;(t=this._input)==null||t.stepDown(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputChange",t))}}_checkInputAttributes(){var c,l,h,p,b;const t=(c=this._input)==null?void 0:c.getAttribute("placeholder");t&&(this._placeholder=t),((l=this._input)==null?void 0:l.getAttribute("type"))==="number"&&(this._isTypeNumeric=!0);const a=(h=this._input)==null?void 0:h.getAttribute("maxlength");this._maxLength=a?+a:void 0,(p=this._input)!=null&&p.value&&((b=this._input)==null?void 0:b.value)!==""&&this._handleValidity()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){return inputActionTemplate(this)}}__decorateClass$J([n({type:String})],InputAction.prototype,"label");__decorateClass$J([n({type:String})],InputAction.prototype,"icon");__decorateClass$J([n({type:String})],InputAction.prototype,"inputSize");__decorateClass$J([n({type:String})],InputAction.prototype,"helpText");__decorateClass$J([n(booleanType)],InputAction.prototype,"invalid");__decorateClass$J([n(booleanType)],InputAction.prototype,"removeMinWidth");__decorateClass$J([n({type:String})],InputAction.prototype,"value");const styles$e=".dss-wrapper{position:relative}.dss-icon-button{position:absolute;top:8px;right:var(--dss-spacing-xxs);z-index:800}.dss-selector{position:absolute;top:52px;z-index:900;width:100%}.dss-selector--md{top:44px}.dss-input-group__action-button--sm{top:var(--dss-spacing-sm)}";var __defProp$I=Object.defineProperty,__getOwnPropDesc$I=Object.getOwnPropertyDescriptor,__decorateClass$I=(d,t,a,c)=>{for(var l=__getOwnPropDesc$I(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$I(t,a,l),l};const dssSelector=i`dss-selector${s(getCustomElementSuffix())}`;class InputDropdown extends r$1{constructor(){super(...arguments),this._elements=null,this._copyElements=null,this._tick=!0,this._type="default",this._boxStyle=null,this._selectedValue=null,this._multiple=!1,this._openWithSearch=!1,this._deselectable=!1,this._icon="search",this._placeHolder="",this._showDropdown=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._selectElements=0,this._isFocused=!1,this._helpText="",this._invalid=!1,this._inputSize="lg",this._inputValidity=!0,this._filteredElements=[],this._dropdownPlaceholder="Seleccionar",this._selectorStyle="",this._isFiltering=!1,this._placeholderEmpty="Escriu per cercar",this._filterThreshold=1,this._unorder=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._input&&this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(inputStyles),r$2(styles$e)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set unorder(t){const a=this._unorder;this._unorder=t,this.requestUpdate("unorder",a)}set elements(t){const a=this._elements;if(this._unorder)this._elements=t;else{const c=sort(t,"label","asc","string");this._elements=c}t&&(this._input&&!this._isFiltering&&(this._input.value=""),this._filteredElements=this._getFilteredElements(),this._copyElements=[...this._elements],this._initElementsSelected(),this.requestUpdate()),this.requestUpdate("elements",a)}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set openWithSearch(t){const a=this._openWithSearch;this._openWithSearch=t,t&&(this._showDropdown=t,this._isFocused=!0),this.requestUpdate("openWithSearch",a)}set showDropdown(t){const a=this._showDropdown;this._showDropdown=t,this.requestUpdate("showDropdown",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set selectedValue(t){const a=this._selectedValue;t&&(this._selectedValue=t),this._elements&&this._selectedValue&&(this._selectedValue.length>0&&(this._isFocused=!0),this._initElementsSelected()),this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._boxStyle;this._boxStyle=t,this.requestUpdate("boxStyle",a)}set selectorStyle(t){const a=this._selectorStyle;this._selectorStyle=t,this.requestUpdate("selectorStyle",a)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set selectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set dropdownPlaceholder(t){const a=this._dropdownPlaceholder;this._dropdownPlaceholder=t,this.requestUpdate("dropdownPlaceholder",a)}set placeholderEmpty(t){const a=this._placeholderEmpty;this._placeholderEmpty=t,this.requestUpdate("placeholderEmpty",a)}set filterThreshold(t){const a=this._filterThreshold;this._filterThreshold=t,this.requestUpdate("filterThreshold",a)}disconnectedCallback(){this.observer.disconnect()}_getFilteredElements(){var a,c,l;const t=((a=this._elements)==null?void 0:a.filter(h=>{var p;return(p=this._selectedValue)==null?void 0:p.includes(h.value)}))||[];if(this._input&&this._input.value){const h=(c=this._input)==null?void 0:c.value.toLowerCase();if(h){const p=((l=this._elements)==null?void 0:l.filter(b=>{var g;return!((g=this._selectedValue)!=null&&g.includes(b.value))&&b.label.toLowerCase().includes(h)}))||[];return[...t,...p]}}else return this._elements}async firstUpdated(){var t;try{await this.updateComplete,this._input&&(this.observer.observe(this._input,this.observerConfig),this._checkInputAttributes()),this._elements&&(this._filteredElements=this._getFilteredElements(),this._initElementsSelected()),this._openWithSearch&&this._input&&(this._input.value="",(t=this._input)!=null&&t.getAttribute("placeholder")||this._input.setAttribute("placeholder",this._dropdownPlaceholder)),!this._openWithSearch&&!this._disabled&&document.addEventListener("click",a=>{this._clickedOutsideDropdown(this,a)}),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_initElementsSelected(){this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}_clickedOutsideDropdown(t,a){var c,l,h;this._showDropdown&&(a.composedPath().includes(t)||(this._input&&(this._input.value=""),(c=this._elements)!=null&&c.length&&(this._initElementsSelected(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())),(l=this._elements)!=null&&l.length||((h=this._input)==null||h.removeAttribute("placeholder"),this._placeHolder=""),this._hidePlaceholder(),this._showDropdown=!1,this._isFiltering=!1,this._isFocused=!1,this.requestUpdate()))}_handleInput(){this._isFiltering=!0,this._filteredElements=this._getFilteredElements(),this.requestUpdate()}_handleBlurEsc(){this._readonly||this._openWithSearch||(this._isFocused=!0,this._showDropdown=!1,this._isFiltering=!1,this.requestUpdate())}_handleBlurSelector(t,a){var c;if(t!==a.target){if(this._openWithSearch)return;(c=this._input)==null||c.focus(),this._handleBlurEsc(),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}}_toggleDropdown(){var t,a,c,l,h;(t=this._elements)!=null&&t.length&&this._showDropdown&&this._input?(this._initElementsSelected(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())):(a=this._elements)!=null&&a.length&&!this._showDropdown&&this._input&&(this._input.value="",this._showPlaceholder(),(c=this._input)==null||c.focus()),this._showDropdown=!this._showDropdown,!((l=this._elements)!=null&&l.length)&&!this._showDropdown&&((h=this._input)==null||h.removeAttribute("placeholder"),this._placeHolder="",this._isFiltering=!1,this._isFocused=!1),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:{inputValue:this._input.value,selectedValue:this._selectedValue},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputDropdownChange",t))}}_onSelectorChanges(t){this._isFiltering=!1;const a=t.detail;this._selectedValue=typeof a=="string"?[t.detail]:t.detail,!this._multiple&&!this._disabled&&(this._openWithSearch||(this._showDropdown=!1,this._initElementsSelected()),this._handleValidity()),this._dispatchValueChange(),this.requestUpdate()}_showSelectValuesInInput(t){var l,h;!this._multiple&&Array.isArray(t)&&t.length>1&&t.splice(1);const a=(l=this._elements)==null?void 0:l.filter(p=>t.includes(p.value));if(this._elements=[...this._copyElements],this._openWithSearch?this._selectElements=0:this._selectElements=a!=null&&a.length?a.length:0,a&&a.length>0){const p=this._elements.filter(b=>a.includes(b));p.push(...this._elements.filter(b=>!a.includes(b))),this._elements=[...p],this._filteredElements=this._elements}if(!this._multiple&&this._input&&!this._isFiltering){this._input.value=((h=a==null?void 0:a[0])==null?void 0:h.label)??"",this._deselectable&&this._input.value===""&&(this._filteredElements=[...this._copyElements]);return}const c=a==null?void 0:a.map(p=>p.label);this._input&&!this._isFiltering&&(this._input.value=(c==null?void 0:c.join(", "))??"")}_checkInputAttributes(){var h,p,b,g,m,w;const t=(h=this._input)==null?void 0:h.getAttribute("placeholder");t&&(this._placeHolder=t);const a=(p=this._input)==null?void 0:p.getAttribute("readonly");this._readonly=a!==null;const c=(b=this._input)==null?void 0:b.getAttribute("disabled");this._disabled=c!==null;const l=(g=this._input)==null?void 0:g.getAttribute("required");this._required=l!==null,(m=this._input)!=null&&m.value&&((w=this._input)==null?void 0:w.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(t){var h,p;const a=t.relatedTarget;if(a instanceof HTMLElement&&a.contains(this))return;const c=(h=this.shadowRoot)==null?void 0:h.querySelector("dss-selector"),l=(p=this.shadowRoot)==null?void 0:p.querySelector(".dss-input-group__action-button");a!==null&&a!==this._input&&a!==c&&a!==l&&(this._selectedValue&&this._initElementsSelected(),this._showDropdown=!1,this._isFocused=!1,this._isFiltering=!1,this._hidePlaceholder()),this.requestUpdate()}_handleKeyDown(t){(t==null?void 0:t.key)==="Enter"?this._handleClick():(t==null?void 0:t.key)==="Escape"?(this._isFiltering=!1,this._showDropdown=!1,this._initElementsSelected(),this._hidePlaceholder(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())):this._showDropdown||this._handleClick(),this.requestUpdate()}_handleClick(){!this._disabled&&!this._readonly&&(this._input&&(!this._openWithSearch&&!this._isFiltering&&(this._input.value=""),this._showPlaceholder()),this._isFocused=!0,this._showDropdown=!0,this.requestUpdate())}_focusInput(){var t;(t=this._input)==null||t.focus(),this._handleClick()}_showPlaceholder(){var t,a,c,l;!this._placeHolder&&!((t=this._elements)!=null&&t.length)?(a=this._input)==null||a.setAttribute("placeholder",this._placeholderEmpty):!this._placeHolder&&((c=this._elements)!=null&&c.length)&&((l=this._input)==null||l.setAttribute("placeholder",this._dropdownPlaceholder))}_hidePlaceholder(){var t;this._placeHolder||(t=this._input)==null||t.removeAttribute("placeholder")}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_cleanInput(){this._input&&(this._isFiltering=!1,this._input.value="",this._filteredElements=this._getFilteredElements(),this.requestUpdate())}render(){var l,h;const t={"dss-selector":!this._openWithSearch,"dss-selector--disabled":this._disabled,"dss-selector-dropdown":!0,"dss-selector--md":!this._openWithSearch&&this._inputSize==="md"},a={"dss-input-group--invalid":this._invalid||!this._inputValidity,"dss-input-group--required":this._required,"dss-input-group--disabled":this._disabled,"dss-input-group--focused":((l=this._input)==null?void 0:l.value)||this._placeHolder||this._isFocused,"dss-input-group--lg":this._inputSize==="lg","dss-input-group--md":this._inputSize==="md","dss-input-group--dropdown":!0,"dss-input-group--read-only":this._readonly,"dss-input-group--has-icon":this._icon&&this._icon!=="","dss-input-group--no-label":!this._label},c={"dss-input-help--invalid":this._invalid,"dss-input-help--disabled":this._disabled};return u` -
    -
    - ${this._icon!==""?u` - ${this._icon} - `:null} - - - - - - ${!this._openWithSearch&&!this._readonly?u` - - `:this._openWithSearch?u` - - `:u``} -
    - - ${this._helpText&&!this._openWithSearch?u` -
    - ${this._helpText} -
    - `:null} - ${this._showDropdown?u` - <${dssSelector} - ariaLabel="Llista d'elements" - class="${e(t)}" - .multiple=${this._multiple} - .tick=${this._tick} - .deselectable=${this._deselectable} - .disabled=${this._disabled} - .elements=${this._filteredElements} - .filtre=${(h=this._input)==null?void 0:h.value} - .filterThreshold=${this._filterThreshold} - .selectedValue=${this._selectedValue} - .type=${this._type} - .labelSelectAll=${this._labelSelectAll} - .labelDeselectAll=${this._labelDeselectAll} - .selectAll=${this._selectAll} - elementsSelected=${this._selectElements} - boxStyle=${this._selectorStyle} - @onValueChange="${this._onSelectorChanges}" - @keydown="${p=>{p.key==="Escape"&&this._handleBlurSelector(this,p)}}" - @focusout=${this._handleFocusOut} - > - - `:null} -
    `}}__decorateClass$I([n({type:String})],InputDropdown.prototype,"icon");__decorateClass$I([n({type:String})],InputDropdown.prototype,"placeHolder");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"unorder");__decorateClass$I([n({type:Array})],InputDropdown.prototype,"elements");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"multiple");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"tick");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"openWithSearch");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"showDropdown");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"deselectable");__decorateClass$I([n({type:Array})],InputDropdown.prototype,"selectedValue");__decorateClass$I([n({type:String})],InputDropdown.prototype,"type");__decorateClass$I([n({type:String})],InputDropdown.prototype,"boxStyle");__decorateClass$I([n({type:String})],InputDropdown.prototype,"selectorStyle");__decorateClass$I([n({type:String})],InputDropdown.prototype,"labelSelectAll");__decorateClass$I([n({type:String})],InputDropdown.prototype,"labelDeselectAll");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"selectAll");__decorateClass$I([n(booleanType)],InputDropdown.prototype,"invalid");__decorateClass$I([n({type:String})],InputDropdown.prototype,"inputSize");__decorateClass$I([n({type:String})],InputDropdown.prototype,"helpText");__decorateClass$I([n({type:String})],InputDropdown.prototype,"dropdownPlaceholder");__decorateClass$I([n({type:String})],InputDropdown.prototype,"placeholderEmpty");__decorateClass$I([n({type:Number})],InputDropdown.prototype,"filterThreshold");const inputSwitchStyles=':host{display:inline-block;width:-moz-fit-content;width:fit-content}.dss-switch{display:flex;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;gap:.5rem;align-items:center;position:relative;transition:.3s all ease-in}.dss-switch--sm .dss-switch__slider{width:26px;height:16px}.dss-switch--md .dss-switch__slider{width:39px;height:24px}.dss-switch--lg .dss-switch__slider{width:52px;height:32px}::slotted(input[type="checkbox"]){display:none}.dss-switch .dss-switch__slider{position:relative;cursor:pointer;background-color:var(--color-neutral-500);border-radius:100px;transition:.3s all ease-in}.dss-switch .dss-switch__slider:focus-visible{outline:4px solid var(--color-blue-200)}.dss-switch .dss-switch__slider:before{position:absolute;content:"";display:flex;justify-content:center;align-items:center;background-color:#fff;border-radius:100%;box-shadow:0 1px 2px #0000000d,0 1px 3px 1px #0000001a;transition:.3s all ease-in}.dss-switch__slider:hover{background-color:var(--color-neutral-600)}.dss-switch__slider:active{background-color:var(--color-neutral-500);transition:none}.dss-switch--checked .dss-switch__slider{background-color:var(--color-primary-500)}.dss-switch--checked .dss-switch__slider:hover{background-color:var(--color-primary-600)}.dss-switch--checked .dss-switch__slider:active{background-color:var(--color-primary-400);transition:none}.dss-switch__slider:active:before{color:var(--color-neutral-500);transition:none}.dss-switch--checked .dss-switch__slider:active:before{color:var(--color-primary-400);transition:none}.dss-switch--disabled .dss-switch__slider{cursor:not-allowed;background-color:var(--color-neutral-200)}.dss-switch--disabled .dss-switch__slider:before{color:var(--color-neutral-500)}.dss-switch--disabled:not(.dss-switch--checked) .dss-switch__slider:before{background-color:var(--color-neutral-400);color:var(--color-neutral-100)}.dss-switch--disabled.dss-switch--checked .dss-switch__slider{background-color:var(--color-neutral-200)}.dss-switch--disabled.dss-switch--checked .dss-switch__slider:before{background-color:var(--color-neutral-400);color:var(--color-neutral-900)}.dss-switch--lg.dss-switch--disabled.dss-switch--checked .dss-switch__slider:before{background-color:var(--color-neutral-100)}.dss-switch--lg .dss-switch__slider:before{font-family:var(--font-icons);content:"close";color:var(--color-primary-500);font-size:16px;height:24px;width:24px;left:4px;bottom:4px}.dss-switch--md .dss-switch__slider:before{height:18px;width:18px;left:3px;bottom:3px}.dss-switch--sm .dss-switch__slider:before{height:12px;width:12px;left:2px;bottom:2px}.dss-switch--lg.dss-switch--checked .dss-switch__slider:before{transform:translate(20px);content:"done";color:var(--color-primary-500)}.dss-switch--md.dss-switch--checked .dss-switch__slider:before{transform:translate(15px)}.dss-switch--sm.dss-switch--checked .dss-switch__slider:before{transform:translate(10px)}::slotted(label){font-family:var(--font-family);font-style:normal;font-weight:400;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.dss-switch--lg ::slotted(label){font-weight:600;font-size:16px}';var __defProp$H=Object.defineProperty,__getOwnPropDesc$H=Object.getOwnPropertyDescriptor,__decorateClass$H=(d,t,a,c)=>{for(var l=__getOwnPropDesc$H(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$H(t,a,l),l};class InputSwitch extends r$1{constructor(){super(...arguments),this._checked=!1,this._isCheckedPropDefined=!1,this._isFirstUpdate=!0,this._disabled=!1,this._readonly=!1,this._size="md",this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(inputSwitchStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set checked(t){const a=this._checked;this._checked=t,this._isCheckedPropDefined=!0,this._isFirstUpdate||this._dispatchChange(),this.requestUpdate("checked",a)}disconnectedCallback(){this.observer.disconnect()}_checkInputAttributes(){var c,l,h;if(!this._isCheckedPropDefined){const p=(c=this._input)==null?void 0:c.getAttribute("checked");this._checked=p!==null}const t=(l=this._input)==null?void 0:l.getAttribute("disabled");this._disabled=t!==null;const a=(h=this._input)==null?void 0:h.getAttribute("readonly");this._readonly=a!==null}_handleClick(){!this._disabled&&!this._readonly&&this._input&&(this._checked=!this._checked,this._checked?this._input.setAttribute("checked","true"):this._input.removeAttribute("checked"),this._dispatchChange())}_handleKeydown(t){(t.key==="Enter"||t.key===" ")&&this._handleClick()}_dispatchChange(){this.dispatchEvent(new CustomEvent("onChangeValue",{detail:this._checked,bubbles:!0,composed:!0}))}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._isFirstUpdate=!1,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){const t={"dss-switch--sm":this._size==="sm","dss-switch--md":this._size==="md","dss-switch--lg":this._size==="lg","dss-switch--checked":this._checked,"dss-switch--disabled":this._disabled};return x` -
    -
    - - -
    - `}}__decorateClass$H([n({type:String})],InputSwitch.prototype,"size");__decorateClass$H([n(booleanType)],InputSwitch.prototype,"checked");const dssBadge=i`dss-badge${s(getCustomElementSuffix())}`,itemListTemplate=d=>u` -
    - ${d._items.map(t=>u` -
    -
    -
    - ${t.decorativeIcon?u` -
    - ${t.decorativeIcon} -
    - `:null} - ${t.title} -
    -
    ${t.subtitle}
    -
    - - ${t.badgeText?t.badgeIcon?u` -
    - <${dssBadge} - text="${t.badgeText}" - icon="${t.badgeIcon}" - size="${t.badgeSize?t.badgeSize:"sm"}" - state="${t.badgeState?t.badgeState:"undeterminated"}" - > - -
    - `:u` -
    - <${dssBadge} - text="${t.badgeText}" - size="${t.badgeSize?t.badgeSize:"sm"}" - state="${t.badgeState?t.badgeState:"undeterminated"}" - > - -
    - `:null} - ${t.actionIcon?u` -
    - -
    - `:null} -
    - `)} -
    -`,itemListStyles=":host{display:block;width:100%;font-family:var(--font-family)}.dss-item-list{padding:0 var(--dss-spacing-md)}.dss-item-list__item{display:flex;align-items:center;gap:var(--dss-spacing-md);padding:var(--dss-spacing-xs) 0}.dss-item-list__item+.dss-item-list__item{border-top:var(--dss-border-width-sm) solid var(--color-neutral-200)}.item-details{flex:1;display:flex;flex-direction:column;gap:var(--dss-spacing-xxs)}.item-details__title{display:flex;align-items:center;gap:var(--dss-spacing-xs);font-size:14px;line-height:24px;color:var(--color-neutral-900);font-weight:var(--font-semibold)}.item-details__subtitle{font-size:14px;line-height:24px;color:var(--color-neutral-700);font-weight:var(--font-regular)}";var __defProp$G=Object.defineProperty,__getOwnPropDesc$G=Object.getOwnPropertyDescriptor,__decorateClass$G=(d,t,a,c)=>{for(var l=__getOwnPropDesc$G(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$G(t,a,l),l};class ItemList extends r$1{constructor(){super(...arguments),this._items=[]}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(decorativeIconStyles),r$2(itemListStyles)]}set items(t){const a=this._items;this._items=t,this.requestUpdate("items",a)}_dispatchItemAction(t){const a={detail:t,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onClickItem",a))}render(){return itemListTemplate(this)}}__decorateClass$G([n({type:Array})],ItemList.prototype,"items");const modalStyles=":host{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;visibility:hidden;opacity:0;display:flex;justify-content:center;align-items:center;transition:opacity .25s;z-index:999}:host([open]){visibility:visible}:host(.show){opacity:1}:host(.hide){opacity:0}.dss-dialog{display:flex;flex-direction:column;box-sizing:border-box;width:-moz-fit-content;width:fit-content;min-width:400px;max-width:45%;max-height:80vh;background:var(--color-white);border-radius:var(--dss-radius-lg);box-shadow:0 8px 12px 6px #0000000d,0 4px 4px #0000001a;visibility:hidden}:host(.show) .dss-dialog{visibility:visible}.dss-dialog-header{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:var(--dss-spacing-lg);border-top-left-radius:var(--dss-radius-lg);border-top-right-radius:var(--dss-radius-lg)}.dss-dialog--sm .dss-dialog-header{padding:var(--dss-spacing-md)}.dss-dialog--has-header-slot .dss-dialog-header{gap:var(--dss-spacing-xs)}.dss-dialog-body{flex:1;padding:0 var(--dss-spacing-lg)}.dss-dialog.dss-dialog--has-scroll .dss-dialog-body{overflow-y:auto}.dss-dialog--footer-empty .dss-dialog-body{padding-bottom:var(--dss-spacing-lg)}.dss-dialog--sm .dss-dialog-body{padding:0 var(--dss-spacing-md)}.dss-dialog--sm.dss-dialog--footer-empty .dss-dialog-body{padding-bottom:var(--dss-spacing-md)}.dss-dialog-footer{display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md);padding:var(--dss-spacing-lg);border-bottom-left-radius:var(--dss-radius-lg);border-bottom-right-radius:var(--dss-radius-lg)}.dss-dialog--sm .dss-dialog-footer{padding:var(--dss-spacing-md)}.dss-dialog--footer-empty .dss-dialog-footer{padding:0;border-top:0!important}::slotted(div.dss-modal-footer){display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md)}.dss-dialog-header-state--success{color:var(--color-green-800)}.dss-dialog-header-state--error{color:var(--color-red-800)}.dss-dialog-header-state--alert{color:var(--color-yellow-800)}.dss-dialog-header-state--info{color:var(--color-blue-800)}.dss-dialog-header-title{font-size:20px;line-height:30px;font-weight:var(--font-bold)}.dss-dialog-header-close{position:absolute;top:50%;transform:translateY(-50%);right:calc(var(--dss-spacing-lg) - 4px)}.dss-dialog--sm .dss-dialog-header-close{right:calc(var(--dss-spacing-md) - 4px)}.dialog-header--extra{margin-top:var(--dss-spacing-sm)}.dss-dialog.dss-dialog--has-scroll .dss-dialog-header{background-color:var(--color-white);border-bottom:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out}.dss-dialog.dss-dialog--has-scroll .dss-dialog-header.dss-dialog-header--scrolled{border-bottom-color:var(--color-neutral-100);box-shadow:0 1px 3px 1px #0000001a,0 1px 2px #0000000d}.dss-dialog.dss-dialog--has-scroll .dss-dialog-footer{background-color:var(--color-white);border-top:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out;z-index:900}.dss-dialog.dss-dialog--has-scroll .dss-dialog-footer.dss-dialog-footer--scrolled{border-top-color:var(--color-neutral-100)}@media screen and (min-width: 1440px) and (max-width: 1919px){.dialog{max-width:50%}}@media only screen and (min-width: 1024px) and (max-width: 1439px){.dialog{max-width:60%}}@media only screen and (max-width: 1023px){.dialog{max-width:80%;min-width:300px}}",modalTemplate=d=>{const t={[`dss-dialog--${d._size}`]:!!d._size,"dss-dialog--has-header-slot":!!d._headerSlot,"dss-dialog--footer-empty":!d._footerSlot,"dss-dialog--has-scroll":d._hasScroll},a={"dss-dialog-header-state--success":d._state==="success","dss-dialog-header-state--error":d._state==="error","dss-dialog-header-state--alert":d._state==="alert","dss-dialog-header-state--info":d._state==="info"};return x` - - `};var __defProp$F=Object.defineProperty,__getOwnPropDesc$F=Object.getOwnPropertyDescriptor,__decorateClass$F=(d,t,a,c)=>{for(var l=__getOwnPropDesc$F(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$F(t,a,l),l};const ANIMATION_DURATION=250;class Modal extends r$1{constructor(){super(),this._size="lg",this._open=!0,this._modalTitle="Title",this._state="",this._hasDivider=!1,this._hideCloseIcon=!1,this._hasScroll=!1,this._modalStyle=void 0,this._modalHeader=null,this._modalFooter=null,this._handleKeydown=this._handleKeydown.bind(this),this._handleOutsideClick=this._handleOutsideClick.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(modalStyles)]}set size(t){const a=this._size;this._size=t==="sm"?t:"lg",this.requestUpdate("size",a)}set open(t){const a=this._open;this._open=t,this.requestUpdate("open",a)}set modalTitle(t){const a=this._modalTitle;this._modalTitle=t,this.requestUpdate("modalTitle",a)}set state(t){const a=this._state;this._state=t,this.requestUpdate("state",a)}set hideCloseIcon(t){const a=this._hideCloseIcon;this._hideCloseIcon=t,this.requestUpdate("hideCloseIcon",a)}set hasScroll(t){const a=this._hasScroll;this._hasScroll=t,this.requestUpdate("hasScroll",a)}set modalStyle(t){const a=this._modalStyle;this._modalStyle=t,this.requestUpdate("modalStyle",a)}get _headerSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="header"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _footerSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="footer"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleOutsideClick)}updated(t){t.has("open")&&(this._open?this._showDialog():this._hideDialog())}_showDialog(){this.classList.add("show"),this.classList.remove("hide"),setTimeout(()=>{this.classList.add("show"),this.style.visibility="visible"},0),document.addEventListener("keydown",this._handleKeydown),document.body.style.overflow="hidden"}_hideDialog(){this.classList.add("hide"),this.classList.remove("show"),setTimeout(()=>{this.classList.remove("hide"),this.style.visibility="hidden",document.removeEventListener("keydown",this._handleKeydown)},ANIMATION_DURATION),document.body.style.overflow=""}_close(){this.open=!1,this._hideDialog(),this.requestUpdate();const t=new Event("onModalClosed");this.dispatchEvent(t)}_getStateIcon(){let t="";switch(this._state){case"success":t="check_circle";break;case"error":t="cancel";break;case"alert":t="report";break;case"info":t="info";break;default:t=""}return t}_handleKeydown(t){t.key==="Escape"&&this._close()}_handleOutsideClick(t){var a;if(this._open){const c=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog"),l=t.composedPath();c&&l.includes(this)&&!l.includes(c)&&this._close()}}fixEmptyFooter(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog");t!=null&&t.classList.contains("dss-dialog--footer-empty")&&this.requestUpdate()}_handleScroll(t){var c,l,h,p;const a=t.target;a&&(a.scrollTop>0?(c=this._modalHeader)==null||c.classList.add("dss-dialog-header--scrolled"):(l=this._modalHeader)==null||l.classList.remove("dss-dialog-header--scrolled"),a.scrollHeight-a.scrollTop!==a.clientHeight?(h=this._modalFooter)==null||h.classList.add("dss-dialog-footer--scrolled"):(p=this._modalFooter)==null||p.classList.remove("dss-dialog-footer--scrolled"))}async firstUpdated(){var a,c,l,h,p;await this.updateComplete,this._footerSlot&&this.fixEmptyFooter();const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog-body");if(this._hasScroll&&t){t.addEventListener("scroll",this._handleScroll.bind(this)),this._modalHeader=(c=this.shadowRoot)==null?void 0:c.querySelector(".dss-dialog-header"),this._modalFooter=(l=this.shadowRoot)==null?void 0:l.querySelector(".dss-dialog-footer");const b=this._modalHeader?this._modalHeader.clientHeight:0,g=this._modalFooter?this._modalFooter.clientHeight:0,w=(((p=(h=this.shadowRoot)==null?void 0:h.querySelector(".dss-dialog"))==null?void 0:p.clientHeight)||0)-b-g;t.scrollHeight>w&&this._modalFooter.classList.add("dss-dialog-footer--scrolled")}}render(){return modalTemplate(this)}}__decorateClass$F([n({type:String})],Modal.prototype,"size");__decorateClass$F([n(booleanType)],Modal.prototype,"open");__decorateClass$F([n({type:String})],Modal.prototype,"modalTitle");__decorateClass$F([n({type:String})],Modal.prototype,"state");__decorateClass$F([n(booleanType)],Modal.prototype,"hideCloseIcon");__decorateClass$F([n(booleanType)],Modal.prototype,"hasScroll");__decorateClass$F([n({type:String})],Modal.prototype,"modalStyle");const styles$d=".dss-notification-badge{height:20px;width:20px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:var(--font-semibold);color:var(--color-white);background-color:var(--color-red-500);transition:border-color .3s ease-in}.dss-notification-badge--dot{height:14px;width:14px}.dss-notification-badge--border-white{border:var(--dss-border-width-md) solid var(--color-white)}.dss-notification-badge--border-menu{border:var(--dss-border-width-md) solid var(--color-primary-700)}.dss-notification-badge--success{background-color:var(--color-green-500)}.dss-notification-badge--error{background-color:var(--color-red-500)}.dss-notification-badge--alert{background-color:var(--color-yellow-500);color:var(--color-neutral-900)}.dss-notification-badge--info{background-color:var(--color-blue-500)}.dss-notification-badge--brand{background-color:var(--color-primary-200);color:var(--color-neutral-900)}.dss-notification-badge--hover{border-color:var(--color-primary-900)}.dss-notification-badge--active{border-color:var(--color-primary-800)}";var __defProp$E=Object.defineProperty,__getOwnPropDesc$E=Object.getOwnPropertyDescriptor,__decorateClass$E=(d,t,a,c)=>{for(var l=__getOwnPropDesc$E(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$E(t,a,l),l};const dssIcon=i`dss-icon${s(getCustomElementSuffix())}`;class NotificationBadge extends r$1{constructor(){super(...arguments),this._icon=void 0,this._value="",this._state="default",this._type="default",this._dot=!1,this._borderMenu=!1,this._borderWhite=!1,this._isHover=!1,this._isActive=!1}static get styles(){return[r$2(styles$d)]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set value(t){const a=this._value;this._value=t,this.requestUpdate("value",a)}set state(t){const a=this._state;this._state=t,this.requestUpdate("state",a)}set dot(t){const a=this._dot;this._dot=t,this.requestUpdate("dot",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set menu(t){const a=this._borderMenu;this._borderMenu=t,this.requestUpdate("menu",a)}set borderMenu(t){const a=this._borderMenu;this._borderMenu=t,this.requestUpdate("borderMenu",a)}set borderWhite(t){const a=this._borderWhite;this._borderWhite=t,this.requestUpdate("borderWhite",a)}set isHover(t){const a=this._isHover;this._isHover=t,this.requestUpdate("isHover",a)}set isActive(t){const a=this._isActive;this._isActive=t,this.requestUpdate("isActive",a)}render(){const t={"dss-notification-badge--border-white":this._borderWhite,"dss-notification-badge--dot":this._dot,"dss-notification-badge--info":this._state==="info","dss-notification-badge--error":this._state==="error","dss-notification-badge--alert":this._state==="alert","dss-notification-badge--success":this._state==="success","dss-notification-badge--border-menu":this._borderMenu,"dss-notification-badge--hover":(this._borderMenu||this._borderWhite)&&this._isHover,"dss-notification-badge--active":(this._borderMenu||this._borderWhite)&&this._isActive,"dss-notification-badge--brand":this._type==="brand"};let a;return!this._dot&&this._icon?a=u`<${dssIcon} size="sm" icon="${this._icon}">`:!this._dot&&this._value?a=u`${this._value}`:a=null,u` -
    - ${a} -
    - `}}__decorateClass$E([n({type:String})],NotificationBadge.prototype,"icon");__decorateClass$E([n({type:String})],NotificationBadge.prototype,"value");__decorateClass$E([n({type:String})],NotificationBadge.prototype,"state");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"dot");__decorateClass$E([n({type:String})],NotificationBadge.prototype,"type");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"menu");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"borderMenu");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"borderWhite");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"isHover");__decorateClass$E([n(booleanType)],NotificationBadge.prototype,"isActive");const styles$c=":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;box-shadow:0 -1px #d8d8d8}.pagination__container{display:flex;align-items:center;padding:.25rem .75rem;gap:.5rem}.pagination__container--md{padding:.25rem .75rem}.pagination__container--lg{padding:.5rem .75rem}.pagination__button{color:#0073e6;font-size:1rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--font-icons);width:1.5rem;height:1.5rem}.pagination__container--md .pagination__button{font-size:1rem;width:1.5rem;height:1.5rem}.pagination__container--lg .pagination__button{font-size:1.5rem;width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__item{display:flex;justify-content:center;align-items:center;background-color:transparent;border-radius:6.25rem;border:none;cursor:pointer;font-weight:600;color:#656565;font-family:var(--font-family);height:1.5rem;width:1.5rem;font-size:.75rem;line-height:1rem}.pagination__container--md .pagination__item{height:1.5rem;width:1.5rem;font-size:.75rem;line-height:1rem}.pagination__container--lg .pagination__item{height:2rem;width:2rem;font-size:1rem;line-height:1.5rem}.pagination__container--md .pagination__item--large{width:2rem}.pagination__container--lg .pagination__item--large{width:2.563rem}.pagination__item:hover:enabled,.pagination__item--selected{background:#bfddfa;color:#00356a}.pagination__item:hover:enabled{transition:all .3s ease-in}.pagination__item:active:enabled{background:#eff7ff;transition:none}.pagination__item:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__item--dot{pointer-events:none}";var __defProp$D=Object.defineProperty,__getOwnPropDesc$D=Object.getOwnPropertyDescriptor,__decorateClass$D=(d,t,a,c)=>{for(var l=__getOwnPropDesc$D(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$D(t,a,l),l};class Pagination extends r$1{constructor(){super(...arguments),this._length=0,this._pageSize=0,this._totalPages=0,this._currentIndex=1,this._size="md",this._buttons=[]}static get styles(){return r$2(styles$c)}set length(t){const a=this._length;this._length=t,this.requestUpdate("length",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}_next(){this._currentIndex++,this._updateButtons(),this._emitCurrentPage()}_prev(){this._currentIndex--,this._updateButtons(),this._emitCurrentPage()}_emitCurrentPage(){this.dispatchEvent(new CustomEvent("onChangePage",{detail:this._currentIndex,bubbles:!0,composed:!0}))}_updateButtons(){this._buttons=[];const t=1,a=Math.max(this._currentIndex-1,1),c=Math.min(this._currentIndex+1,this._totalPages),l=a>2,h=c - ... - - `;if(this._totalPages<=6){this._buttons=this._getButtons(t,this._totalPages),this.requestUpdate();return}if(!l&&h){const w=this._getButtons(t,4);this._buttons=[...w,g,b]}if(l&&!h){const w=this._getButtons(this._totalPages-3,this._totalPages);this._buttons=[p,g,...w]}if(l&&h){const m=this._getButtons(a+1,c);this._buttons=[p,g,...m,g,b]}this.requestUpdate()}_getButtons(t,a){const c=a-t+1;return Array(c).fill(0).map((l,h)=>{if(l){const p=h+t,b={"pagination__item--selected":this._currentIndex===p,"pagination__item--large":p>=10};return x` - - `}})}_selectItem(t){this._currentIndex=t,this._updateButtons()}async firstUpdated(){try{await this.updateComplete,this._totalPages=Math.ceil(this._length/this._pageSize),this._updateButtons()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("length"),c=t.has("pageSize");(a||c)&&(this._totalPages=Math.ceil(this._length/this._pageSize),this._updateButtons())}render(){return x` -
    - - ${this._buttons} - -
    - `}}__decorateClass$D([n({type:Number})],Pagination.prototype,"length");__decorateClass$D([n({type:Number})],Pagination.prototype,"pageSize");__decorateClass$D([n({type:String})],Pagination.prototype,"size");__decorateClass$D([n({type:Number})],Pagination.prototype,"currentIndex");const styles$b=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-progress-indicator{display:flex;flex-direction:column;gap:8px;width:100%;font-family:var(--font-family)}.dss-progress-indicator.dss-progress-indicator--error .dss-progress-indicator__progress{background:#b60000}.dss-progress-indicator.dss-progress-indicator--error .dss-progress-indicator__description{color:#b60000}.dss-progress-indicator.dss-progress-indicator--success .dss-progress-indicator__progress{background:#00893d}.dss-progress-indicator.dss-progress-indicator--success .dss-progress-indicator__description{color:#00893d}.dss-progress-indicator__title{font-size:14px;font-weight:600;line-height:24px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-progress-indicator__bar{background:#f5f5f5;border-radius:100px;height:2px}.dss-progress-indicator__progress{height:100%;background:#007cbe;transition:all .3s}.dss-progress-indicator__content{display:flex;font-size:14px;line-height:24px;font-style:normal}.dss-progress-indicator__description{font-weight:400;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .3s}.dss-progress-indicator__percentage{font-weight:600;margin-left:8px}";var __defProp$C=Object.defineProperty,__getOwnPropDesc$C=Object.getOwnPropertyDescriptor,__decorateClass$C=(d,t,a,c)=>{for(var l=__getOwnPropDesc$C(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$C(t,a,l),l};class ProgressIndicator extends r$1{constructor(){super(...arguments),this._hasFailed=!1,this._title="",this._description="",this._percentage=0}static get styles(){return r$2(styles$b)}set hasFailed(t){const a=this._hasFailed;this._hasFailed=t,this.requestUpdate("hasFailed",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set percentage(t){const a=Math.min(100,Math.max(0,t)),c=this._percentage;this._percentage=a,this.requestUpdate("percentage",c)}render(){const t={"dss-progress-indicator--error":this._hasFailed,"dss-progress-indicator--success":!this._hasFailed&&this._percentage===100};return x` -
    - ${this._title?x`

    ${this._title}

    `:null} -
    -
    -
    -
    - - ${this._description} - - - ${this._percentage}% - -
    -
    - `}}__decorateClass$C([n(booleanType)],ProgressIndicator.prototype,"hasFailed");__decorateClass$C([n({type:String})],ProgressIndicator.prototype,"title");__decorateClass$C([n({type:String})],ProgressIndicator.prototype,"description");__decorateClass$C([n({type:Number})],ProgressIndicator.prototype,"percentage");const chipStyles=".dss-chip{box-sizing:border-box;padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:14px;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-primary-700);color:var(--color-primary-700);display:flex;align-items:center;line-height:var(--line-24);background-color:var(--color-white);transition:.3s all ease-in;gap:var(--dss-spacing-xxs);cursor:default;width:-moz-fit-content;width:fit-content;height:32px;overflow:hidden;text-wrap:nowrap}.dss-chip__icon{font-size:16px}.dss-chip.disabled{cursor:not-allowed;outline:none;border-color:var(--color-neutral-500);color:var(--color-neutral-500);background-color:var(--color-white)}.dss-chip.disabled .dss-chip__icon-button{pointer-events:none;color:var(--color-neutral-500)}.dss-chip.dss-chip--sm{height:24px;font-size:12px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16);gap:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon){padding-left:var(--dss-spacing-xxs)}.dss-chip.dss-chip--selected,.dss-chip.dss-chip--active{box-shadow:none;background-color:var(--color-primary-100)}.dss-chip.dss-chip--selected.disabled,.dss-chip.dss-chip--active.disabled{background-color:var(--color-white)}.dss-chip:not(.disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200);transition:none;box-shadow:none}.dss-chip:not(.disabled):hover{box-shadow:none;background-color:var(--color-primary-50)}.dss-chip:not(.disabled):active{background-color:var(--color-primary-50);transition:none}.dss-chip:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xs)}.dss-chip:has(.dss-chip__icon){padding-left:var(--dss-spacing-sm)}",styles$a=':host{width:100%}.dss-search{position:relative}.dss-search-bar{position:relative;display:grid;grid-template-columns:30px 1fr;min-height:48px;height:auto;width:100%;box-sizing:border-box;padding:var(--dss-spacing-sm);padding-right:calc((var(--dss-spacing-sm) * 2) + var(--icon-size-md));background-color:var(--color-white);border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);font-size:14px;font-family:inherit}.dss-search-bar--md{min-height:40px;padding-top:var(--dss-spacing-tiny);padding-bottom:var(--dss-spacing-tiny)}.dss-search-bar--focused{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-search-bar--read-only{border-top:0;border-left:0;border-right:0;border-radius:0}.dss-search-bar--invalid{background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-search-bar--disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-search-bar__icon{color:var(--color-neutral-700);box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center}.dss-search-bar--default .dss-search-bar__container{display:block}.dss-search-bar--md.dss-search-bar--default .dss-search-bar__container ::slotted(input){min-height:40px}.dss-search-bar--multiple .dss-search-bar__container{display:grid;grid-template-columns:auto minmax(min-content,1fr);gap:var(--dss-spacing-xs)}.dss-search-bar--multiple .dss-search-bar__chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--dss-spacing-xs)}.dss-search-bar__chips .dss-chip{display:inline-flex}.dss-search-bar__input{min-width:200px}::slotted(label){display:none;visibility:hidden;width:0}::slotted(input){height:100%;width:100%;margin:0;border:0;border-radius:0;color:var(--color-neutral-900);box-sizing:border-box;background-color:transparent}::slotted(input:focus-visible){outline:0}.dss-search-bar__clear{display:none;position:absolute;top:0;right:var(--dss-spacing-sm);height:100%;justify-content:center;align-items:center;box-sizing:border-box}.dss-search-bar--has-value:not(.dss-search-bar--disabled):not(.dss-search-bar--read-only) .dss-search-bar__clear{display:flex}.dss-search-help{display:flex;justify-content:space-between;font-family:var(--font-family);font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-search-bar--invalid+.dss-search-help{color:var(--color-red-500)}.dss-search-dropdown{margin-top:8px;position:absolute;top:52px;left:0;background-color:var(--color-white);width:100%;border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;z-index:800;overflow:hidden}.dss-search-catalog--empty{height:150px;display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-xs);color:var(--color-blue-800)}.dss-search-catalog--empty .text{font-size:14px}.dss-catalog-item{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);cursor:pointer}.dss-catalog-item:hover{background-color:var(--color-neutral-50)}.dss-catalog-item--selected{background-color:var(--color-primary-50)}.dss-catalog-item:focus-visible{border:var(--dss-border-width-lg) solid var(--color-blue-200);outline:0}.dss-search-title{padding:var(--dss-spacing-sm) var(--dss-spacing-md) 0;font-weight:var(--font-semibold);font-size:14px;color:var(--color-black)}.dss-catalog-item__icon{color:var(--color-neutral-900)}.dss-catalog-item__text{color:var(--color-neutral-900);font-size:16px}.dss-search-bar:not(.dss-search-bar--show-chips) .dss-search-bar__chips .dss-chip.dss-chip--hide{display:none}.dss-search-bar__chips .dss-chip__counter{cursor:pointer;position:relative;box-sizing:border-box;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-primary-700);box-shadow:none;background-color:var(--color-primary-100);transition:.3s all ease-in;height:24px;font-size:12px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16)}.dss-search-bar__chips .dss-chip__counter:hover{background-color:var(--color-primary-50)}.dss-chip__tooltip{display:none}.dss-chip__tooltip-item{margin-right:var(--dss-spacing-xxs)}.dss-chip__tooltip-item:not(:last-child):after{content:","}.dss-search-bar__chips .dss-chip__counter:hover .dss-chip__tooltip{display:block}';var __defProp$B=Object.defineProperty,__getOwnPropDesc$B=Object.getOwnPropertyDescriptor,__decorateClass$B=(d,t,a,c)=>{for(var l=__getOwnPropDesc$B(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$B(t,a,l),l};class SearchBar extends r$1{constructor(){super(...arguments),this._multiple=!1,this._icon="search",this._placeholder="Escriu per cercar",this._inputSize="lg",this._invalid=!1,this._helpText="",this._isFocused=!1,this._showClearButton=!1,this._threshold=3,this._searchTerms=[],this._catalog=[],this._filteredCatalog=[],this._showDropdown=!1,this._isCatalogLoading=!1,this._emptyDropdownText="Sense resultats per",this._recentSearches=!1,this._recentSearchesText="Últimes cerques",this._dropdownStyle="",this._searchboxStyle="",this._showAllChips=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&this.requestUpdate()},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(styles$a)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;t?this._invalid=t:this._invalid=this._inputValidity?t:!0,this.requestUpdate("invalid",a)}set threshold(t){const a=this._threshold;this._threshold=t,this.requestUpdate("threshold",a)}set searchTerms(t){const a=this._searchTerms;this._searchTerms=t,this.requestUpdate("searchTerms",a)}set catalog(t){const a=this._catalog;this._catalog=t,this.requestUpdate("catalog",a)}set emptyDropdownText(t){const a=this._emptyDropdownText;this._emptyDropdownText=t,this.requestUpdate("emptyDropdownText",a)}set recentSearchesText(t){const a=this._recentSearchesText;this._recentSearchesText=t,this.requestUpdate("recentSearchesText",a)}set recentSearches(t){const a=this._recentSearches;this._recentSearches=t,this.requestUpdate("recentSearches",a)}set isCatalogLoading(t){const a=this._isCatalogLoading;this._isCatalogLoading=t,this.requestUpdate("isCatalogLoading",a)}set dropdownStyle(t){const a=this._dropdownStyle;this._dropdownStyle=t,this.requestUpdate("dropdownStyle",a)}_getSearchStyle(){return`top: ${this.renderRoot.querySelectorAll(".dss-search-bar")[0].offsetHeight+4}px; ${this._dropdownStyle}`}get _inputValidity(){var t;return this._input&&this._input.value!==""?(t=this._input)==null?void 0:t.checkValidity():!0}_handleClick(){this.requestUpdate()}_handleInput(){let t=this._input.value;t.length>=this._threshold?(this._showDropdown=!0,this._filteredCatalog=this._getFilterCatalog(t),this._multiple&&t.endsWith(",")&&(t=t.slice(0,-1),this._searchTerms.push(t),this._input.value="",this._searchTerms.length&&this._dispatchSearchChange()),this._searchboxStyle=this._getSearchStyle(),this.requestUpdate()):this._hideDropdown(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this._showClearButton=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this._showClearButton=!1,this.requestUpdate()}_handleKeyDown(t){(t==null?void 0:t.key)==="Enter"?(this._showDropdown=!0,!this._multiple&&this._input.value!==""&&(this._searchTerms=[],this._searchTerms.push(this._input.value),this._dispatchSearchChange(),this._showDropdown=!1),this._searchboxStyle=this._getSearchStyle()):(t==null?void 0:t.key)==="Escape"&&(this._showDropdown=!1),this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_clearSearch(){this._input&&(this._input.value="",this._input.focus()),this._searchTerms=[],this._dispatchSearchChange(),this._hideDropdown(),this.requestUpdate()}_hideDropdown(){this._showDropdown=!1,this._filteredCatalog=[]}_getFilterCatalog(t){return this._catalog.filter(a=>a.value.toLowerCase().includes(t.toLowerCase()))}_generateSearchChips(){let t=0;return this._searchTerms.map(c=>{var b,g,m,w,v;const l=f=>{const y=f.target.getAttribute("term");this._searchTerms=this._searchTerms.filter(k=>k!==y),this._dispatchSearchChange(),this.requestUpdate()};t+=1;const h={disabled:((b=this._input)==null?void 0:b.disabled)||((g=this._input)==null?void 0:g.readOnly),"dss-chip--selected":!((m=this._input)!=null&&m.disabled)&&!((w=this._input)!=null&&w.readOnly),"dss-chip--hide":t>5};return x` - - ${c} - - - `})}_generateFilterCatalog(){let t=!0;return this._filteredCatalog.map(c=>{const l=v=>{const f=v.target.getAttribute("value");f&&(this._multiple?this._searchTerms.includes(f)?this._searchTerms=this._searchTerms.filter(k=>k!==f):this._searchTerms.push(f):(this._input.value=f,this._showDropdown=!1,this._searchTerms=[],this._searchTerms.push(f)),this.requestUpdate(),this._dispatchSearchChange())},h=v=>{v&&v.focus()},p=v=>{let f=0;const y=this.renderRoot.querySelectorAll(".dss-catalog-item"),k=y.length-1;v===y[0]?h(y[k]):(y.forEach(($,_)=>{$===v&&(f=_)}),h(y[f-1]))},b=v=>{let f=0;const y=this.renderRoot.querySelectorAll(".dss-catalog-item"),k=y.length-1;v===y[k]?h(y[0]):(y.forEach(($,_)=>{$===v&&(f=_)}),h(y[f+1]))},g=v=>{const f=v.currentTarget,y=v;let k=!1;switch(y.key){case"ArrowUp":p(f),k=!0;break;case"ArrowDown":b(f),k=!0;break;case"Enter":const $=v.target,_=this.renderRoot.querySelector('.dss-catalog-item[tabindex="0"]');_==null||_.setAttribute("tabindex","-1"),v.target.setAttribute("tabindex","0"),$.click(),k=!0;break}k&&(v.stopPropagation(),v.preventDefault())},m={"dss-catalog-item--selected":this._searchTerms.includes(c.value)},w=x` -
    - ${c.icon?x` - ${c.icon} - `:null} - ${c.value} -
    - `;return t=!1,w})}_dispatchSearchChange(){const t={detail:this._searchTerms,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSearchChange",t))}_closeDropdown(){document.addEventListener("click",t=>{t.target!==this&&t.target!==this._input&&(this._showDropdown=!1,this.requestUpdate())}),document.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._input&&(this._showDropdown=!1,this.requestUpdate())})}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){var t,a;try{await this.updateComplete,this._input&&(this.observer.observe(this._input,this.observerConfig),(t=this._input)!=null&&t.getAttribute("placeholder")||(a=this._input)==null||a.setAttribute("placeholder",this._placeholder),this._closeDropdown(),this._searchboxStyle=this._getSearchStyle(),this.requestUpdate())}catch{console.error("ERROR OCURRED")}}render(){var l,h,p,b;const t={"dss-search-bar--invalid":this._invalid||!this._inputValidity,"dss-search-bar--disabled":(l=this._input)==null?void 0:l.disabled,"dss-search-bar--required":(h=this._input)==null?void 0:h.required,"dss-search-bar--read-only":(p=this._input)==null?void 0:p.readOnly,"dss-search-bar--focused":this._isFocused,"dss-search-bar--default":!this._multiple,"dss-search-bar--multiple":this._multiple,"dss-search-bar--show-chips":this._showAllChips,"dss-search-bar--md":this._inputSize==="md","dss-search-bar--has-value":this._showClearButton||((b=this._input)==null?void 0:b.value)||this._searchTerms.length>0},a={},c={};return x` - - `}}__decorateClass$B([n(booleanType)],SearchBar.prototype,"multiple");__decorateClass$B([n({type:String})],SearchBar.prototype,"icon");__decorateClass$B([n({type:String})],SearchBar.prototype,"inputSize");__decorateClass$B([n({type:String})],SearchBar.prototype,"helpText");__decorateClass$B([n(booleanType)],SearchBar.prototype,"invalid");__decorateClass$B([n({type:Number})],SearchBar.prototype,"threshold");__decorateClass$B([n({type:Array})],SearchBar.prototype,"searchTerms");__decorateClass$B([n({type:Array})],SearchBar.prototype,"catalog");__decorateClass$B([n({type:String})],SearchBar.prototype,"emptyDropdownText");__decorateClass$B([n({type:String})],SearchBar.prototype,"recentSearchesText");__decorateClass$B([n(booleanType)],SearchBar.prototype,"recentSearches");__decorateClass$B([n(booleanType)],SearchBar.prototype,"isCatalogLoading");__decorateClass$B([n({type:String})],SearchBar.prototype,"dropdownStyle");const styles$9='.dss-icon--checked:before{content:"done";font-family:var(--font-icons);font-weight:400;color:var(--color-white);font-size:24px;vertical-align:middle}.dss-type--default.dss-selected{background-color:var(--color-primary-500)}.dss-type--green.dss-selected{background-color:var(--color-green-500)}.dss-selected label{color:var(--color-white)!important}.list{width:auto;border-radius:8px;margin-top:1px;background-color:#fff;color:var(--color-neutral-900);box-shadow:0 0 0 .063rem #d8d8d8,0 0 0 .063rem #d8d8d8}.list .dss-form-field:first-child{border-radius:8px 8px 0 0}.list .dss-form-field:last-child{border-radius:0 0 8px 8px}.list *{cursor:pointer}.list .disabled,.list .disabled *{cursor:inherit!important;color:var(--color-neutral-500)}.dss-disabled{opacity:.4;cursor:not-allowed}.hidden{opacity:0;position:absolute}.dss-checkbox,.dss-table .dss-table__checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:.0625rem solid var(--color-neutral-500);border-radius:.125rem;cursor:pointer;flex-shrink:0;height:1.25rem!important;margin:.125rem;overflow:hidden;position:relative;transition:all .3s linear;width:1.25rem!important}.dss-checkbox:hover{border:.0625rem solid var(--color-neutral-600);transition:all .3s linear}.dss-checkbox:checked{background-color:var(--color-primary-500);border:.0625rem solid var(--color-primary-500)}.dss-checkbox:checked:before{position:absolute;top:-4px;left:-2px;color:var(--color-white);content:"check";font-family:var(--font-icons);font-size:1.375rem;text-align:center}.dss-checkbox:checked:hover{background-color:var(--color-primary-600);border:.0625rem solid var(--color-primary-600);transition:all .3s linear}.dss-checkbox:indeterminate:before{color:var(--color-white);content:"remove";font-family:var(--font-icons);font-size:1.125rem}.dss-checkbox:disabled{cursor:not-allowed;opacity:.4}.dss-form-field__focus{outline:.25rem solid var(--color-blue-200);outline-offset:-4px;transition:none}.dss-radio:focus-visible:enabled,.dss-checkbox:focus-visible:enabled{outline:none}.dss-radio,.dss-table .dss-table__radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);border:.0625rem solid var(--color-neutral-500);border-radius:50%;color:var(--color-primary-500);cursor:pointer;display:grid;flex-shrink:0;height:1.25rem;margin:4px .125rem 0;place-content:center;transform:translateY(-.075em);transition:all .3s linear;width:1.25rem}.dss-radio:before{background-color:var(--color-white);border-radius:50%;box-shadow:inset 1rem 1rem var(--color-primary-500);content:"";height:.625rem;transform:scale(0);transition:transform .3s ease-in-out;width:.625rem}.dss-radio:checked{border:.0625rem solid var(--color-primary-500)}.dss-radio:checked:before{box-shadow:inset 1rem 1rem var(--color-primary-500);transform:scale(1)}.dss-radio:checked:hover{border:.0625rem solid var(--color-primary-600);transition:all .3s linear}.dss-radio:checked:hover:before{box-shadow:inset 1rem 1rem var(--color-primary-600);transform:scale(1);transition:all .3s linear}.dss-radio:checked:disabled{cursor:not-allowed;opacity:.4}.dss-radio:hover{border:.0625rem solid var(--color-neutral-600);transition:all .3s linear}.dss-radio:disabled{cursor:not-allowed;opacity:.4}.dss-form-field{align-items:center;display:flex;gap:8px;cursor:pointer;min-height:24px;min-width:136px;padding:8px 12px;position:relative;word-break:break-word}.dss-form-field.dss-ticked{justify-content:space-between}.dss-form-field.dss-selectAll{background-color:var(--color-white);border-bottom:.8px solid #b1b1b1;position:sticky;top:0;z-index:1}.dss-form-field.dss-first-unselected{border-top:.8px solid #b1b1b1}.dss-type--default:hover{background-color:var(--color-primary-100)}.dss-type--green:hover{background-color:var(--color-green-100)}.dss-type--default.dss-selected:hover{background-color:var(--color-primary-400)}.dss-type--green.dss-selected:hover{background-color:var(--color-green-400)}.dss-form-field label{font-size:.875rem;line-height:var(--line-24)}.dss-form-field:not(.dss-form-field--selected) label span.bold{font-weight:var(--font-bold)}.dss-form-field .dss-check-overlay{width:24px;height:24px;position:absolute}.dss-selector-list-wrapper{overflow-y:auto;margin-bottom:var(--dss-spacing-xxs);width:100%}.dss-selector-empty{box-sizing:border-box;min-height:150px;width:100%;max-width:100%;display:flex;justify-content:center;align-items:center;padding:var(--dss-spacing-xs);gap:var(--dss-spacing-xs)}.dss-selector-empty .text{font-size:14px;color:var(--color-blue-800)}';var __defProp$A=Object.defineProperty,__getOwnPropDesc$A=Object.getOwnPropertyDescriptor,__decorateClass$A=(d,t,a,c)=>{for(var l=__getOwnPropDesc$A(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$A(t,a,l),l};class Selector extends r$1{constructor(){super(...arguments),this._elementId=`dss-selector-${new Date().getTime()}`,this._elements=null,this._elementSelectAll=[],this._selectedValue=null,this._multiple=!1,this._deselectable=!1,this._disabled=!1,this._tick=!0,this._type="default",this._style=null,this._filtre=null,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._isAllSelected=!1,this._elementsSelected=0,this._emptySelectorLabel="Sense resultats per",this._emptyFilterLabel="Escriu per cercar.",this._filterThreshold=1,this._ariaLabel=void 0}static get styles(){return[r$2(iconStyles),r$2(styles$9)]}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set elements(t){const a=this._elements;this._elements=t,this.requestUpdate("elements",a)}set selectedValue(t){var l,h;const a=this._selectedValue;if(!t||t.length===0){this._selectedValue=null,this.requestUpdate("selectedValue",a);return}if(this._multiple){this._selectedValue=((l=this._elements)==null?void 0:l.filter(p=>t.includes(p.value)))||null,this.requestUpdate("selectedValue",a);return}const c=(h=this._elements)==null?void 0:h.find(p=>p.value===t[0]);this._selectedValue=c?[c]:null,this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._style;this._style=t,this.requestUpdate("style",a)}set filtre(t){if(t){const a=this._filtre;this._filtre=t.toLowerCase(),this.requestUpdate("filtre",a)}else t===""&&(this._filtre=null)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set selectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}set filterThreshold(t){const a=this._filterThreshold;this._filterThreshold=t,this.requestUpdate("filterThreshold",a)}set elementsSelected(t){const a=this._elementsSelected;this._elementsSelected=t,this.requestUpdate("elementsSelected",a)}set ariaLabel(t){const a=this._ariaLabel;this._ariaLabel=t,this.requestUpdate("ariaLabel",a)}_valueIsSelected(t){var a;return((a=this._selectedValue)==null?void 0:a.some(c=>c.value===t))||!1}_manuallySelect(t,a){if(t.preventDefault(),t.stopPropagation(),this._disabled)return;const c=this._valueIsSelected(a);if(!this._multiple&&!this._deselectable&&c)return;const l=t.target,h=l.className.includes("bold")?l.parentElement:l;h&&h.className.includes("dss-form-field")?h.querySelector("input").checked=!c:h&&(h.parentElement.querySelector("input").checked=!c),this._returnSelectedValues(a),this._areAllElementsSelected()}_manuallySelectAll(t){if(t.preventDefault(),t.stopPropagation(),this._disabled||!this._multiple&&!this._deselectable&&this._isAllSelected)return;const a=t.target;a.className.includes("dss-form-field")?(a.querySelector("input").checked=!a.querySelector("input").checked,this._returnSelecteAllValues(a.querySelector("input").checked)):(a.parentElement.querySelector("input").checked=!a.parentElement.querySelector("input").checked,this._returnSelecteAllValues(a.parentElement.querySelector("input").checked)),this._areAllElementsSelected()}_returnSelecteAllValues(t){var l,h;t?this._selectedValue=((l=this._elements)==null?void 0:l.filter(p=>p.value))||[]:this._selectedValue=[];const c={detail:((h=this._selectedValue)==null?void 0:h.map(p=>p.value))||null,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",c)),this.requestUpdate()}_returnSelectedValues(t){var p,b;const a=Array.from(((p=this.shadowRoot)==null?void 0:p.querySelectorAll("input:checked"))||[]).map(g=>g.getAttribute("value")).filter(g=>g==null?!1:this._multiple?!0:g===t),c=a.indexOf(this._elementSelectAll[0]);c!==-1&&a.splice(c,1),this._selectedValue=((b=this._elements)==null?void 0:b.filter(g=>a.includes(g.value)))||[];let l;this._multiple?l=a:l=a[0]||null;const h={detail:l,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",h)),this.requestUpdate()}_getIndexSubtext(t){if(!this._filtre)return[-1,-1];const a=t.toLowerCase();return[a.indexOf(this._filtre),a.indexOf(this._filtre)+this._filtre.length]}_focusEvent(t){const c=t.target.closest(".dss-form-field");c==null||c.classList.add("dss-form-field__focus")}_blurEvent(t){const c=t.target.closest(".dss-form-field");c==null||c.classList.remove("dss-form-field__focus")}async firstUpdated(){try{await this.updateComplete,this._elementSelectAll=[this._labelSelectAll],this._areAllElementsSelected(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_areAllElementsSelected(){if(!this._elements||!this._selectedValue){this._elementSelectAll=[this._labelSelectAll],this._isAllSelected=!1;return}const t=this._selectedValue.map(c=>c.value),a=this._elements.map(c=>c.value);this._isAllSelected=t.length===a.length&&t.every(c=>a.includes(c)),this._isAllSelected?this._elementSelectAll=[this._labelDeselectAll]:this._elementSelectAll=[this._labelSelectAll],this.requestUpdate()}generateListInputsElements(){var a;return(a=this._elements)==null?void 0:a.map((c,l)=>{const h=c.label.trim().replace(/\s+/g,"-"),p=c.value.trim().replace(/\s+/g,"-"),b=`selector-${h}-${p}`,g=this._valueIsSelected(c.value),m=this._tick&&!this._multiple,w=e({disabled:this._disabled,"dss-disabled":this._disabled,"dss-form-field":!0,"dss-type--default":this._type==="default","dss-type--green":this._type==="green","dss-ticked":m,"dss-selected":g&&m,"dss-form-field--selected":g,"dss-first-unselected":l&&l>0&&l===this._elementsSelected}),v=e({"dss-checkbox":this._multiple,"dss-radio":!this._multiple,"dss-disabled":this._disabled,hidden:m}),f=m&&g?"visible":"hidden",y=x` - -
    - `,k=x``,$=D=>{this._manuallySelect(D,c.value)},_=D=>{var q,U,E,O;if(D.key==="Enter"||D.key===" ")this._manuallySelect(D,c.value);else if(D.key==="ArrowUp"){const P=D.target,L=(U=(q=P==null?void 0:P.closest(".dss-form-field"))==null?void 0:q.previousElementSibling)==null?void 0:U.querySelector("input");L==null||L.focus()}else if(D.key==="ArrowDown"){const P=D.target,L=(O=(E=P==null?void 0:P.closest(".dss-form-field"))==null?void 0:E.nextElementSibling)==null?void 0:O.querySelector("input");L==null||L.focus()}},[S,C]=this._getIndexSubtext(c.label);let T=x`${c.label}`;if(S!==-1&&C!==-1){const D=c.label.slice(0,S),q=c.label.slice(S,C),U=c.label.slice(C);T=x`${D}${q}${U}`}return x` -
    - ${y} - - ${k} -
    - `})}generatElementSelectAll(){var a;return(a=this._elementSelectAll)==null?void 0:a.map(c=>{const l=e({disabled:this._disabled,"dss-form-field":!0,"dss-type--default":this._type==="default","dss-type--green":this._type==="green","dss-selectAll":!0,"dss-disabled":this._disabled}),h=e({"dss-checkbox":this._multiple}),p=x` - -
    - `;return x` -
    - ${p} - -
    - `})}render(){let t=this.generateListInputsElements();const a=this.generatElementSelectAll();this._multiple&&this._selectAll&&(t==null||t.unshift(a[0]),t=(t==null?void 0:t.length)===1?[]:t);const c=l=>{(l.key==="ArrowDown"||l.key==="ArrowUp")&&l.preventDefault()};return x` - ${this._elements&&this._elements.length>0?x` -
    - ${t} -
    - `:x` -
    - ${this._filtre&&this._filtre.length>=this._filterThreshold?x` -
    - info - - ${this._filtre||this._filtre===""?x` ${this._emptySelectorLabel}: ${this._filtre} `:x`${this._emptyFilterLabel}`} - -
    - `:x` -
    - -
    - `} -
    - `} - `}}__decorateClass$A([n(booleanType)],Selector.prototype,"multiple");__decorateClass$A([n(booleanType)],Selector.prototype,"tick");__decorateClass$A([n(booleanType)],Selector.prototype,"deselectable");__decorateClass$A([n(booleanType)],Selector.prototype,"disabled");__decorateClass$A([n({type:Array})],Selector.prototype,"elements");__decorateClass$A([n(selectedType)],Selector.prototype,"selectedValue");__decorateClass$A([n({type:String})],Selector.prototype,"type");__decorateClass$A([n({type:String})],Selector.prototype,"boxStyle");__decorateClass$A([n({type:String})],Selector.prototype,"filtre");__decorateClass$A([n({type:String})],Selector.prototype,"labelSelectAll");__decorateClass$A([n({type:String})],Selector.prototype,"labelDeselectAll");__decorateClass$A([n(booleanType)],Selector.prototype,"selectAll");__decorateClass$A([n({type:Number})],Selector.prototype,"filterThreshold");__decorateClass$A([n({type:Number})],Selector.prototype,"elementsSelected");__decorateClass$A([n({type:String})],Selector.prototype,"ariaLabel");const styles$8='.dss-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;cursor:pointer;outline:none;border-radius:3px;height:4px;background:linear-gradient(to right,var(--color-primary-500) var(--progress),var(--color-neutral-100) var(--progress))}.dss-slider--vertical{transform:rotate(-90deg);transform-origin:center center}.dss-slider::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:20px;width:20px;background-color:var(--color-primary-500);border-radius:50%;border:var(--dss-border-width-md) solid var(--color-white);-moz-transition:.3s ease-in-out;transition:.3s ease-in-out;box-sizing:border-box}.dss-slider::-webkit-slider-thumb:hover{background-color:var(--color-primary-600);-webkit-transition:all .3s linear;transition:all .3s linear}.dss-slider::-moz-range-thumb:hover{background-color:var(--color-primary-600);-moz-transition:all .3s linear;transition:all .3s linear}.dss-slider:active::-webkit-slider-thumb{background-color:var(--color-primary-400);-webkit-transition:none;transition:none}.dss-slider:active::-moz-range-thumb{background-color:var(--color-primary-400);-moz-transition:none;transition:none}.dss-slider:focus-visible::-webkit-slider-thumb{background-color:var(--color-primary-500);border-color:var(--color-blue-200);outline:2px solid var(--color-blue-200);-webkit-transition:none;transition:none}.dss-slider:focus-visible::-moz-range-thumb{background-color:var(--color-primary-500);border-color:var(--color-blue-200);outline:2px solid var(--color-blue-200);-moz-transition:none;transition:none}.dss-slider:disabled{cursor:not-allowed;background:linear-gradient(to right,var(--color-neutral-400) var(--progress),var(--color-neutral-100) var(--progress))}.dss-slider:disabled::-webkit-slider-thumb{background-color:var(--color-neutral-500);-webkit-transition:none;transition:none}.dss-slider:disabled::-moz-range-thumb{background-color:var(--color-neutral-500);-moz-transition:none;transition:none}.dss-slider:disabled+.dss-slider-tooltip{display:none!important}.dss-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:20px;width:20px;background-color:var(--color-primary-500);border-radius:50%;border:var(--dss-border-width-md) solid var(--color-white);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;box-sizing:border-box}.dss-slider:hover+.dss-slider-tooltip{display:block}.dss-slider:focus-visible+.dss-slider-tooltip{display:block}.dss-slider-wrapper{min-width:200px;width:100%;position:relative}.dss-slider-tooltip{display:none;position:absolute;top:-50%}.dss-slider-tooltip--active{display:block}.dss-slider-tooltip .tooltip-wrapper{width:var(--dss-spacing-hg);height:var(--dss-spacing-hg);line-height:24px;text-align:center;background:var(--color-black);color:var(--color-white);font-size:16px;display:flex;align-items:center;justify-content:center;position:absolute;top:-45px;left:calc(50% + 1px);transform:translate(-50%);border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a}.dss-slider-tooltip .tooltip-wrapper:before{content:"";position:absolute;width:0;height:0;border-top:24px solid var(--color-black);border-left:24px solid transparent;border-right:24px solid transparent;top:100%;left:50%;margin-left:-24px;margin-top:-15px}.dss-slider-info{position:absolute;top:calc(100% + 6px);font-size:12px;line-height:16px;color:var(--color-neutral-700)}.dss-slider-info--min{left:0}.dss-slider-info--medium{left:calc(50% - 5px)}.dss-slider-info--max{right:0}.dss-slider--vertical>.dss-slider-tooltip .tooltip-value{transform:rotate(90deg)}.dss-slider--vertical>.dss-slider-info{transform:rotate(90deg);transform-origin:center center;margin-right:-10px}';var __defProp$z=Object.defineProperty,__getOwnPropDesc$z=Object.getOwnPropertyDescriptor,__decorateClass$z=(d,t,a,c)=>{for(var l=__getOwnPropDesc$z(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$z(t,a,l),l};class Slider extends r$1{constructor(){super(...arguments),this._label="Input range",this._min=0,this._max=0,this._step=1,this._orient="horizontal",this._vertical=!1,this._value=0,this._progress=0,this._disabled=!1,this._isTooltipTouched=!1}static get styles(){return r$2(styles$8)}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}get _tooltip(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("#dss-slider-tooltip")}set min(t){const a=this._min;this._min=t,this.requestUpdate("min",a)}set max(t){const a=this._max;t>=this._value&&(this._max=t,this._setProgress(),this.requestUpdate("max",a))}set step(t){const a=this._step;this._step=t,this.requestUpdate("step",a)}set orient(t){const a=this._orient;this._orient=t,t==="vertical"?this._vertical=!0:this._vertical=!1,this.requestUpdate("orient",a)}set value(t){const a=this._value;this._max>=t&&(this._value=t,this._setProgress(),this.requestUpdate("value",a))}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}render(){var c;const t={"dss-slider--vertical":this._vertical},a={"dss-slider-tooltip--active":this._isTooltipTouched};return x` -
    - -
    -
    ${this._min}
    -
    - ${Math.round((this._max+this._min)/2)} -
    -
    ${this._max}
    -
    -
    - `}async firstUpdated(){try{await this.updateComplete,this._setProgress(),this.requestUpdate(),document.addEventListener("DOMContentLoaded",this._updateTooltip.bind(this)),this._input.addEventListener("input",this._updateTooltip.bind(this)),this._input.addEventListener("mouseup",this._dispatchValue.bind(this)),this._input.addEventListener("keyup",this._dispatchValue.bind(this)),this._input.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._input.addEventListener("touchmove",this._handleTouchMove.bind(this)),this._input.addEventListener("touchend",this._handleTouchEnd.bind(this))}catch{console.error("ERROR OCURRED")}}_handleTouchStart(t){this._vertical&&t.preventDefault(),this._isTooltipTouched=!0}_handleTouchEnd(t){this._vertical&&t.preventDefault(),this._isTooltipTouched=!1,this.requestUpdate(),this._dispatchValue()}_handleTouchMove(t){if(this._vertical){if(!t.target)return;const a=t.target,c=Number.parseInt(a.max,10),l=Number.parseInt(a.min,10),h=t.touches[0],p=a.getBoundingClientRect(),b=(h.clientY-p.top)/p.height,g=Math.round(b*(c-l)+l);a.value=String(c-g+l),a.dispatchEvent(new Event("input"))}}_handleInput(){if(this._input){const t=Number.parseFloat(this._input.value);this._progress=Math.round((t-this._min)/(this._max-this._min)*100),this.requestUpdate()}}_setProgress(){this._input&&(this._input.value=this._value.toString()),this._progress=Math.round((this._value-this._min)/(this._max-this._min)*100),this.requestUpdate()}_updateTooltip(){if(this._tooltip){const t=Number((+this._input.value-+this._min)*100/(+this._max-+this._min)),a=10-t*.2;this._tooltip.innerHTML=`${this._input.value}`,this._tooltip.style.left=`calc(${t}% + (${a}px))`}}_dispatchValue(){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onDssSliderValueChange",t))}}__decorateClass$z([n({type:Number})],Slider.prototype,"min");__decorateClass$z([n({type:Number})],Slider.prototype,"max");__decorateClass$z([n({type:Number})],Slider.prototype,"step");__decorateClass$z([n({type:String})],Slider.prototype,"orient");__decorateClass$z([n({type:Number})],Slider.prototype,"value");__decorateClass$z([n(booleanType)],Slider.prototype,"disabled");__decorateClass$z([n({type:String})],Slider.prototype,"label");const styles$7=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-spinner{width:48px;height:48px;animation:rotate-animation 1s linear infinite;position:relative}.dss-spinner__item{width:100%;height:100%;left:0;top:0;position:absolute;transform:rotate(-90deg)}.dss-spinner__item:nth-child(1) circle{stroke:#eff7ff;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .2s ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(2) circle{stroke:#bfddfa;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .4s ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(3) circle{stroke:#60a8f0;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s calc(.2s * (3)) ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(4) circle{stroke:#0073e6;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .8s ease infinite;transform-origin:center center}.dss-spinner__item circle{fill:none;stroke-linecap:round;stroke-width:8px}.dss-spinner.dss-spinner--sm{width:24px;height:24px}.dss-spinner.dss-spinner--md{width:48px;height:48px}.dss-spinner.dss-spinner--lg{width:72px;height:72px}@keyframes stroke-animation{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:120,300;stroke-dashoffset:-59}to{stroke-dasharray:120,300;stroke-dashoffset:-175}}@keyframes rotate-animation{to{transform:rotate(360deg)}}";var __defProp$y=Object.defineProperty,__getOwnPropDesc$y=Object.getOwnPropertyDescriptor,__decorateClass$y=(d,t,a,c)=>{for(var l=__getOwnPropDesc$y(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$y(t,a,l),l};class Spinner extends r$1{constructor(){super(...arguments),this._size="md"}static get styles(){return r$2(styles$7)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}render(){return x` -
    - - - - - - - - - - - - -
    - `}}__decorateClass$y([n({type:String})],Spinner.prototype,"size");const styles$6=':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--font-icons);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--font-icons);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';var __defProp$x=Object.defineProperty,__getOwnPropDesc$x=Object.getOwnPropertyDescriptor,__decorateClass$x=(d,t,a,c)=>{for(var l=__getOwnPropDesc$x(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$x(t,a,l),l};class Stepper extends r$1{constructor(){super(...arguments),this._steps=[],this._currentStep=1,this._column=!1,this._circular=!1,this._hideLabel=!1,this._size="md",this._activeBarWidth="0",this._isFirstUpdate=!0}static get styles(){return r$2(styles$6)}set steps(steps){const oldValue=this._steps;this._steps=steps,typeof steps=="string"&&(this._steps=eval(`(${steps})`)),this.requestUpdate("steps",oldValue)}set currentStep(d){const t=this._currentStep;this._currentStep=d,this.requestUpdate("currentStep",t)}set column(d){const t=this._column;this._column=d,this.requestUpdate("column",t)}set circular(d){const t=this._circular;this._circular=d,this.requestUpdate("circular",t)}set hideLabel(d){const t=this._hideLabel;this._hideLabel=d,this.requestUpdate("hideLabel",t)}set size(d){const t=this._size;this._size=d,this.requestUpdate("size",t)}async firstUpdated(){await this.updateComplete,this._setActiveBarWidth(),this._isFirstUpdate=!1,this.requestUpdate()}willUpdate(d){this._isFirstUpdate||(d.has("currentStep")||d.has("steps")||d.has("column"))&&(this._setActiveBarWidth(),this.requestUpdate())}_setActiveBarWidth(){var l;const d=this._steps.length,t=(l=this.shadowRoot)==null?void 0:l.querySelector(".dss-stepper"),a=t==null?void 0:t.getBoundingClientRect(),c=this._column?a==null?void 0:a.height:a==null?void 0:a.width;if(c){const h=Math.floor(c/(d-1));this._activeBarWidth=`${h}px`}}_onStepClick(d,t){if(!(d.state==="disabled")){const c={detail:{step:d,stepNumber:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onStepClick",c))}}render(){var c,l;const d=(c=this._steps)==null?void 0:c.length,t=Math.round(this._currentStep/d*100),a={"dss-stepper--vertical":this._column,"dss-stepper--sm":this._size==="sm","dss-stepper--md":this._size==="md"};return x` - ${this._circular?x` -
    -
    - - - - - - ${this._currentStep}/${d} - -
    - - ${this._steps[this._currentStep-1].label} - -
    - `:x` - -
      - ${(l=this._steps)==null?void 0:l.map((h,p)=>{const b=p+1,g=f=>{f.key==="Enter"&&this._onStepClick(h,b)},m=h.state==="disabled",w={"dss-bubble--active":b===this._currentStep,"dss-bubble--completed":bthis._onStepClick(h,b)} - @keydown=${g} - > - ${h.label} - - `})} -
    - `} - `}}__decorateClass$x([n({type:[]})],Stepper.prototype,"steps");__decorateClass$x([n({type:Number})],Stepper.prototype,"currentStep");__decorateClass$x([n(booleanType)],Stepper.prototype,"column");__decorateClass$x([n(booleanType)],Stepper.prototype,"circular");__decorateClass$x([n(booleanType)],Stepper.prototype,"hideLabel");__decorateClass$x([n({type:String})],Stepper.prototype,"size");const tabsListStyles=':host{width:100%;height:-moz-fit-content;height:fit-content}:not(:defined){display:none}.dss-tabs{width:100%;height:-moz-fit-content;height:fit-content}.dss-tabs-header{display:flex;align-items:center;position:relative;width:100%;overflow:hidden}.dss-tabs-scroll-button{all:unset;cursor:pointer;display:none;position:absolute;top:0;bottom:0;padding:0 var(--dss-spacing-sm);z-index:900}.dss-tabs-scroll-button:before{content:"";display:block;position:absolute;top:0;bottom:2px;width:220px;background-color:red;z-index:-1;pointer-events:none}.dss-tabs-scroll-button--prev{left:0;padding-right:var(--dss-spacing-lg)}.dss-tabs-scroll-button.dss-tabs-scroll-button--prev:before{left:0;background:linear-gradient(to right,white,transparent)}.dss-tabs-scroll-button--next{right:0;padding-left:var(--dss-spacing-lg)}.dss-tabs-scroll-button.dss-tabs-scroll-button--next:before{right:0;background:linear-gradient(to left,white,transparent)}.dss-tabs-menu{box-sizing:border-box;min-height:48px;min-width:100%;display:flex;overflow-x:auto;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-tabs-menu::-webkit-scrollbar{display:none}.dss-tabs-item{position:relative;white-space:nowrap;box-sizing:border-box;min-height:48px;display:flex;align-items:center;font-family:var(--font-family);font-size:14px;font-weight:600;line-height:24px;background-color:transparent;border:0;cursor:pointer;padding:var(--dss-spacing-sm);transition:color .3s ease-in-out}.dss-tabs-item:focus-visible{outline:var(--color-primary-200) solid var(--dss-border-width-lg);border-radius:var(--dss-radius-xs)}.dss-tabs-item:not(.dss-tabs-item--selected):not(:disabled):hover{color:var(--color-primary-600)}.dss-tabs-item:active{color:var(--color-primary-700)}.dss-tabs-item:disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-tabs-item:before{position:absolute;content:"";display:block;width:100%;height:var(--dss-border-width-md);background-color:transparent;left:0;bottom:-1px;transition:background-color .3s ease-in-out;border-radius:var(--dss-border-width-md)}.dss-tabs-item.dss-tabs-item--selected:before{background-color:var(--color-primary-500)}.dss-tabs-button{margin:0}::slotted(dss-icon-badge),::slotted(dss-notification-badge),::slotted(dss-badge){display:inline;margin-right:var(--dss-spacing-xs)!important}',tabsListTemplate=d=>x` -
    -
    - - -
    - ${d._tabs.map(t=>x` - - `)} - ${d._addTabEnabled?x` -
    - -
    - `:null} -
    - - -
    - -
    - -
    -
    -`;var __defProp$w=Object.defineProperty,__getOwnPropDesc$w=Object.getOwnPropertyDescriptor,__decorateClass$w=(d,t,a,c)=>{for(var l=__getOwnPropDesc$w(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$w(t,a,l),l};class TabsList extends r$1{constructor(){super(),this._dssTabsId="",this._label="Tabs component name",this._tabs=[],this._tabsElements=window.document.querySelectorAll("[role='tab']"),this._firstTab=document.createElement("div"),this._lastTab=document.createElement("div"),this._addTabEnabled=!1,this._addTabText="Afegir Tab",this._handleUpdateArrowsBound=this._updateArrows.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(tabsListStyles)]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._handleUpdateArrowsBound)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._menu)==null||t.removeEventListener("scroll",this._handleUpdateArrowsBound),window.removeEventListener("resize",this._handleUpdateArrowsBound)}set dssTabsId(t){const a=this._dssTabsId;this._dssTabsId=t,this.requestUpdate("dssTabsId",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("selectedTab",a)}set tabs(t){const a=this._tabs;this._tabs=t,this.requestUpdate("tabs",a)}set addTabText(t){const a=this._addTabText;this._addTabText=t,this.requestUpdate("addTabText",a)}set addTabEnabled(t){const a=this._addTabEnabled;this._addTabEnabled=t,this.requestUpdate("addTabEnabled",a)}get _header(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-header"))||void 0}get _menu(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-menu"))||void 0}get _prevScroll(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-scroll-button--prev"))||void 0}get _nextScroll(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-scroll-button--next"))||void 0}updated(t){t.has("tabs")&&this.changeTabWatch()}async changeTabWatch(){this._tabsElements=this.renderRoot.querySelectorAll("[role='tab']"),this._tabsElements.forEach(t=>{t.addEventListener("keydown",a=>{this._handleKeydown(a)}),t.addEventListener("click",a=>{this.setSelectedTab(a.currentTarget)})}),this.setFirstAndLastTabs()}setFirstAndLastTabs(){let t=!1;this._tabsElements.forEach(a=>{t||(this._firstTab=a,t=!0),this._lastTab=a})}changeTab(t){const a={detail:{selectedPanel:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeDssTab",a)),this.updatePanels(t)}updatePanels(t){window.document.querySelectorAll("dss-tabs-panel").forEach(c=>{const l=c.getAttribute("panelId");c.getAttribute("linkedTo")===this._dssTabsId&&(l===t?c.setAttribute("selected","true"):c.removeAttribute("selected"))})}_handleKeydown(t){const a=t,c=t.currentTarget;let l=!1;switch(a.key){case"ArrowLeft":this.moveFocusToPreviousTab(c),l=!0;break;case"ArrowRight":this.moveFocusToNextTab(c),l=!0;break;case"Home":this.moveFocusToTab(this._firstTab),l=!0;break;case"End":this.moveFocusToTab(this._lastTab),l=!0;break}l&&(t.stopPropagation(),t.preventDefault())}moveFocusToTab(t){t&&t.focus()}moveFocusToPreviousTab(t){let a=0;t===this._firstTab?this.moveFocusToTab(this._lastTab):(this._tabsElements.forEach((c,l)=>{c===t&&(a=l)}),this.moveFocusToTab(this._tabsElements[a-1]))}moveFocusToNextTab(t){let a=0;t===this._lastTab?this.moveFocusToTab(this._firstTab):(this._tabsElements.forEach((c,l)=>{c===t&&(a=l)}),this.moveFocusToTab(this._tabsElements[a+1]))}setSelectedTab(t){for(let a=0;a0?"block":"none",this._nextScroll.style.display=t{const t={selected:d._selected,"is-hidden":!d._selected,"has-scroll":d._hasScroll};return x` -
    - -
    - `};var __defProp$v=Object.defineProperty,__getOwnPropDesc$v=Object.getOwnPropertyDescriptor,__decorateClass$v=(d,t,a,c)=>{for(var l=__getOwnPropDesc$v(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$v(t,a,l),l};class TabsPanel extends r$1{constructor(){super(...arguments),this._panelId="",this._label="",this._linkedTo="",this._selected=!1,this._hasScroll=!1}static get styles(){return r$2(tabsPanelStyles)}set panelId(t){const a=this._panelId;this._panelId=t,this.requestUpdate("panelId",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set linkedTo(t){const a=this._linkedTo;this._linkedTo=t,this.requestUpdate("linkedTo",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set hasScroll(t){const a=this._hasScroll;this._hasScroll=t,this.requestUpdate("hasScroll",a)}render(){return tabsPanelTemplate(this)}}__decorateClass$v([n({type:String})],TabsPanel.prototype,"panelId");__decorateClass$v([n({type:String})],TabsPanel.prototype,"label");__decorateClass$v([n({type:String})],TabsPanel.prototype,"linkedTo");__decorateClass$v([n(booleanType)],TabsPanel.prototype,"selected");__decorateClass$v([n(booleanType)],TabsPanel.prototype,"hasScroll");const radioStyles='.dss-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);margin:0;color:var(--color-primary-500);width:20px;height:20px;border:var(--dss-border-width-sm) solid var(--color-primary-500);border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-radio:before{content:"";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:.3s transform ease-in-out;box-shadow:inset 1rem 1rem var(--color-primary-500);background-color:var(--color-white)}.dss-radio:checked{border:var(--dss-border-width-sm) solid var(--color-primary-500)}.dss-radio:checked:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-500)}.dss-radio:checked:hover{border:var(--dss-border-width-sm) solid var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:hover:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:disabled{cursor:not-allowed}.dss-radio:checked:disabled:before{box-shadow:inset 1rem 1rem var(--color-neutral-400)}.dss-radio:hover{border:var(--dss-border-width-sm) solid var(--color-neutral-600);transition:.3s all linear}.dss-radio:disabled{cursor:not-allowed;border:var(--dss-border-width-sm) solid var(--color-neutral-400)}.dss-radio:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}',styles$5=":host{display:block;width:100%}.dss-table-header{padding:var(--dss-spacing-md) 0}.dss-table-header-title{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);margin-bottom:var(--dss-spacing-md)}.dss-table-header-title__text{color:var(--color-neutral-900);font-weight:var(--font-bold);font-size:20px}.dss-table-header-title__action{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;color:var(--color-primary-700);cursor:pointer;border-radius:var(--dss-radius-xs);font-weight:var(--font-semibold)}.dss-table-header-title__action:hover{color:var(--color-primary-600)}.dss-table-header-title__action:active{color:var(--color-primary-400)}.dss-table-header-title__action:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-table-header-filters{display:flex;justify-content:space-between;align-items:center}.dss-table-header-filters__filters{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-md);width:70%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__filters{width:80%}.filters-label{font-size:14px;font-weight:var(--font-bold);color:var(--color-neutral-600)}.filters-list{display:flex;flex-wrap:wrap;max-width:60%;gap:var(--dss-spacing-xs)}.filters-list-empty{font-size:14px;color:var(--color-neutral-600)}.filters-clean{padding-left:var(--dss-spacing-md);border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-table-header-filters__actions{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-md);width:30%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__actions{width:20%}::slotted(div.dss-table-filters){width:100%;display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}";var __defProp$u=Object.defineProperty,__getOwnPropDesc$u=Object.getOwnPropertyDescriptor,__decorateClass$u=(d,t,a,c)=>{for(var l=__getOwnPropDesc$u(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$u(t,a,l),l};class TableHeader extends r$1{constructor(){super(...arguments),this._filters=[],this._headerTitle="",this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._rowsOnCollapsed=5,this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._openFiltersLabel="Filtres",this._noFiltersLabel="No hi ha filtres seleccionats",this._hideHeaderTitleAndExpand=!1}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(checkboxStyles),r$2(radioStyles),r$2(styles$5),r$2(badgeStates)]}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set headerTitle(t){const a=this._headerTitle;this._headerTitle=t,this.requestUpdate("headerTitle",a)}set hideHeaderTitleAndExpand(t){const a=this._hideHeaderTitleAndExpand;this._hideHeaderTitleAndExpand=t,this.requestUpdate("hideHeaderTitleAndExpand",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set rowsOnCollapsed(t){const a=this._rowsOnCollapsed;this._rowsOnCollapsed=t,this.requestUpdate("rowsOnCollapsed",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set noFiltersLabel(t){const a=this._noFiltersLabel;this._noFiltersLabel=t,this.requestUpdate("noFiltersLabel",a)}_generateFilterChips(){let t;return this._filters&&(t=this._filters.map(a=>{const c=p=>{const b=p.target.getAttribute("term");typeof a=="string"?this._filters=this._filters.filter(g=>g!==b):this._filters=this._filters.filter(g=>g.value.trim()!==(b==null?void 0:b.trim())),this._emitChangeFilters(),this.requestUpdate()};return x` - - ${typeof a==="string"?x` - ${a} - - `:x` - ${a.icon} - ${a.value} - - `} - - `})),t}_clearFilters(){this._filters=[],this._emitChangeFilters(),this.requestUpdate()}_emitExpandAction(){this._expandTable=!this._expandTable;const t={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpand",t)),this.requestUpdate()}_emitOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenFilters",t)),this.requestUpdate()}_emitChangeFilters(){const t={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeFilters",t)),this.requestUpdate()}render(){return x` -
    - ${this._hideHeaderTitleAndExpand?null:x` -
    -
    - ${this._headerTitle} -
    -
    - ${this._expandTable?x` - fullscreen_exit - ${this._collapseLabel} - `:x` - fullscreen - ${this._expandLabel} - `} -
    -
    - `} - ${this._innerFilters?x` -
    -
    - -
    -
    -
    - `:x` -
    -
    -
    ${this._filtersLabel}:
    -
    - ${this._filters.length>0?x` ${this._generateFilterChips()} `:x` - - ${this._noFiltersLabel} - - `} -
    -
    - ${this._filters.length>0?x` - - `:null} -
    -
    - -
    - -
    -
    - `} -
    - `}}__decorateClass$u([n({type:Array})],TableHeader.prototype,"filters");__decorateClass$u([n({type:String})],TableHeader.prototype,"headerTitle");__decorateClass$u([n(booleanType)],TableHeader.prototype,"hideHeaderTitleAndExpand");__decorateClass$u([n(booleanType)],TableHeader.prototype,"innerFilters");__decorateClass$u([n(booleanType)],TableHeader.prototype,"expandTable");__decorateClass$u([n({type:String})],TableHeader.prototype,"expandLabel");__decorateClass$u([n({type:String})],TableHeader.prototype,"collapseLabel");__decorateClass$u([n({type:Number})],TableHeader.prototype,"rowsOnCollapsed");__decorateClass$u([n({type:String})],TableHeader.prototype,"filtersLabel");__decorateClass$u([n({type:String})],TableHeader.prototype,"cleanFiltersLabel");__decorateClass$u([n({type:String})],TableHeader.prototype,"noFiltersLabel");const styles$4=":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;border-top:2px solid var(--color-neutral-700)}.pagination__container{display:flex;align-items:center;padding:.5rem .75rem;gap:1rem}.pagination__results{font-weight:600;font-size:.875rem;line-height:1.5rem;color:#0073e6}.pagination__divider{height:1rem;border-left:1px solid rgb(216,216,216)}.pagination__text{font-weight:400;font-size:12px;line-height:1rem;color:#656565}.pagination__button{color:#0073e6;font-size:1.5rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--font-icons);width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__row-page{display:flex;align-items:center;gap:1rem}.pagination__buttons{display:flex;align-items:center}.pagination__select{background:#eff7ff;border-radius:4px;position:relative}.pagination__select select{border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:7px 32px 7px 12px;color:#00356a;font-weight:400;font-size:12px;line-height:1rem;position:inherit;z-index:1;font-family:var(--font-family)}.pagination__select select:active,.pagination__select select:focus-visible{outline:none}.pagination__arrow-down{position:absolute;height:100%;display:flex;align-items:center;top:0;right:12px;color:#00356a}.pagination-select-options:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}";var __defProp$t=Object.defineProperty,__getOwnPropDesc$t=Object.getOwnPropertyDescriptor,__decorateClass$t=(d,t,a,c)=>{for(var l=__getOwnPropDesc$t(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$t(t,a,l),l};class TablePagination extends r$1{constructor(){super(...arguments),this._length=0,this._pageSizeOptions=[],this._pageSize=10,this._totalPages=0,this._currentIndex=1,this._startIndex=1,this._endIndex=this._pageSize,this._rowsPerPageText="Files per pàgina",this._resultsText="Resultats",this._pageSizeOptionsDisabled=!1,this._hidePaginationResults=!1}static get styles(){return[r$2(iconStyles),r$2(styles$4)]}set length(t){const a=this._length;this._length=t,this.requestUpdate("length",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set pageSizeOptionsDisabled(t){const a=this._pageSizeOptionsDisabled;this._pageSizeOptionsDisabled=t,this.requestUpdate("pageSizeOptionsDisabled",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set rowsPerPageText(t){const a=this._rowsPerPageText;this._rowsPerPageText=t,this.requestUpdate("rowsPerPageText",a)}set resultsText(t){const a=this._resultsText;this._resultsText=t,this.requestUpdate("resultsText",a)}set hidePaginationResults(t){const a=this._hidePaginationResults;this._hidePaginationResults=t,this.requestUpdate("hidePaginationResults",a)}_next(){this._currentIndex++,this._startIndex+=this._pageSize,this._endIndex+=this._pageSize,this._currentIndex===this._totalPages&&(this._endIndex=this._length),this._emitCurrentPage(),this.requestUpdate()}_prev(){const t=Math.abs(this._startIndex-this._endIndex)+1;this._startIndex-=this._pageSize,this._endIndex-=this._currentIndex===this._totalPages?t:this._pageSize,this._currentIndex--,this._emitCurrentPage(),this.requestUpdate()}_handleChange(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("#pagination-select");this._pageSize=Number(t.value),this._reload(this._startIndex),this._emitCurrentPage(),this.requestUpdate()}_emitCurrentPage(){this.dispatchEvent(new CustomEvent("onChangePage",{detail:{currentIndex:this._currentIndex,startIndex:this._startIndex,endIndex:this._endIndex,pageSize:this._pageSize},bubbles:!0,composed:!0}))}_reload(t){this._currentIndex=Math.ceil(t/this._pageSize),this._reset(!0)}_reset(t){this._totalPages=Math.ceil(this._length/this._pageSize),t||(this._currentIndex<1?this._currentIndex=1:this._currentIndex>this._totalPages&&(this._currentIndex=this._totalPages)),this._startIndex=(this._currentIndex-1)*this._pageSize+1,this._endIndex=this._startIndex-1+this._pageSize,this._endIndex>this._length&&(this._endIndex=this._length)}_getDefaultPageSize(){var a;const t=this._pageSizeOptions.includes(this._pageSize);return(a=this._pageSizeOptions)!=null&&a.length?t?this._pageSize:this._pageSizeOptions[0]:this._pageSize}_printStartIndex(){return this._startIndex<=0||this._length<=0?"0":this._startIndex.toString()}async firstUpdated(){try{await this.updateComplete,this._pageSize=this._getDefaultPageSize(),this._reset(),this._emitCurrentPage(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("length"),c=t.has("pageSize"),l=t.has("pageSizeOptions");(a||c||l)&&(this._pageSize=this._getDefaultPageSize(),this._reset(),this.requestUpdate())}render(){var t;return x` -
    - ${this._hidePaginationResults?null:x` - ${this._length} ${this._resultsText} -
    - `} - ${(t=this._pageSizeOptions)!=null&&t.length?x` -
    - ${this._rowsPerPageText} -
    - - - keyboard_arrow_down - -
    -
    - - ${this._printStartIndex()}-${this._endIndex.toString()} de - ${this._length} - -
    - - -
    - `:x` - - - ${this._printStartIndex()} - ${this._endIndex.toString()} de - ${this._length.toString()} - - - `} -
    - `}}__decorateClass$t([n({type:Number})],TablePagination.prototype,"length");__decorateClass$t([n({type:Number})],TablePagination.prototype,"pageSize");__decorateClass$t([n({type:Array})],TablePagination.prototype,"pageSizeOptions");__decorateClass$t([n(booleanType)],TablePagination.prototype,"pageSizeOptionsDisabled");__decorateClass$t([n({type:String})],TablePagination.prototype,"currentIndex");__decorateClass$t([n({type:String})],TablePagination.prototype,"rowsPerPageText");__decorateClass$t([n({type:String})],TablePagination.prototype,"resultsText");__decorateClass$t([n(booleanType)],TablePagination.prototype,"hidePaginationResults");const styles$3='::slotted(label){font-style:normal;font-weight:400;font-size:14px;line-height:24px;cursor:text;position:absolute}::slotted(textarea){resize:vertical;outline:none;border:0;font-size:14px;line-height:24px;font-style:normal;color:#1d1d1d;width:100%;text-overflow:ellipsis;font-family:var(--font-family)}::slotted(textarea)::-moz-placeholder{color:#9f9f9f}::slotted(textarea)::placeholder{color:#9f9f9f}.dss-textarea{display:flex;flex-direction:column;color:#656565}.dss-textarea--disabled{opacity:.6}.dss-textarea--disabled .dss-textarea__group:after{background:#f5f5f5}.dss-textarea--gap{gap:4px}.dss-textarea__content{display:flex;align-items:flex-start;flex:1}.dss-textarea--disabled .dss-textarea__group,.dss-textarea--disabled ::slotted(textarea){background-color:#f5f5f5;cursor:not-allowed}.dss-textarea--disabled ::slotted(label),.dss-textarea--disabled ::slotted(textarea){cursor:not-allowed}.dss-textarea__group{position:relative;background:#fff;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:8px;padding:12px;display:flex;gap:8px;min-height:24px}.dss-textarea__group:after{pointer-events:none;content:"height";font-family:var(--font-icons);font-size:0px;position:absolute;height:0px;width:0px;text-align:center;bottom:4px;right:3px;z-index:2;border-radius:8px;background:transparent}.dss-textarea__group--required ::slotted(label):before{content:"*"}.dss-textarea__group:focus-visible,.dss-textarea__group--focused-visible,.dss-textarea--invalid .dss-textarea__group:focus-visible{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200);box-shadow:none;background-color:#fff}.dss-textarea__group--readOnly{border-top:0;border-left:0;border-right:0;border-radius:0}.dss-textarea--invalid .dss-textarea__group:focus-visible ::slotted(textarea){background-color:#fff}.dss-textarea__group--focused{padding:4px 12px}.dss-textarea__group--focused .dss-textarea__content ::slotted(label){font-size:12px;line-height:16px;transition:.3s;top:4px}.dss-textarea__group--focused .dss-textarea__content ::slotted(textarea){margin-top:16px!important}.dss-textarea--invalid ::slotted(textarea){background-color:#fff6f6;color:#1d1d1d}.dss-textarea--invalid ::slotted(textarea)::-moz-placeholder{color:#d36262}.dss-textarea--invalid ::slotted(textarea)::placeholder{color:#d36262}.dss-textarea--invalid .dss-textarea__group{box-shadow:inset 0 0 0 1px #b60000}.dss-textarea--invalid .dss-textarea__group,.dss-textarea--invalid .dss-textarea__group:after{background-color:#fff6f6;color:#b60000}.dss-textarea__help{font-style:normal;font-weight:400;font-size:12px;line-height:16px;display:flex;padding:0 12px;gap:8px}.dss-textarea__help .dss-textarea__description{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-textarea--invalid .dss-textarea__help,.dss-textarea--invalid .dss-textarea__help:after{color:#b60000}';var __defProp$s=Object.defineProperty,__getOwnPropDesc$s=Object.getOwnPropertyDescriptor,__decorateClass$s=(d,t,a,c)=>{for(var l=__getOwnPropDesc$s(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$s(t,a,l),l};class Textarea extends r$1{constructor(){super(...arguments),this._maxLength=0,this._isTextareaFocused=!1,this._isGroupFocusedVisible=!1,this._showError=!1}static get styles(){return r$2(styles$3)}set value(t){t!==void 0&&this.requestUpdate()}set showError(t){const a=this._showError;this._showError=t,this.requestUpdate("showError",a)}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _textarea(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="textarea"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _description(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="description"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}async firstUpdated(){try{await this.updateComplete;const{maxLength:t}=this._textarea;this._maxLength=t>0?t:0,this._addEventListeners(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_addEventListeners(){this._textarea.addEventListener("input",this._handleInput.bind(this)),this._textarea.addEventListener("focus",this._handleFocus.bind(this)),this._textarea.addEventListener("focusout",this._handleFocusOut.bind(this)),this._textarea.addEventListener("blur",this._handleBlur.bind(this)),this._label.addEventListener("click",this._handelLabelClick.bind(this)),this._textarea.addEventListener("keyup",this._handleKeyup.bind(this))}_handleInput(){this.requestUpdate()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&this._handleFocus()}_handleFocus(){this._isGroupFocusedVisible=!0,this._isTextareaFocused=!0,this.requestUpdate()}_handleFocusOut(){this._handleBlur(),this._isGroupFocusedVisible=!1,this._isTextareaFocused=!1,this.requestUpdate()}_handleBlur(){this._isTextareaFocused=!1,this.requestUpdate()}_handelLabelClick(){this._textarea.focus(),this.requestUpdate()}_handleSlotChange(){this.requestUpdate()}render(){var c,l,h,p,b,g,m;const t={"dss-textarea--invalid":this._showError,"dss-textarea--disabled":(c=this._textarea)==null?void 0:c.disabled,"dss-textarea--gap":this._maxLength||!!this._description},a={"dss-textarea__group--focused":((l=this._textarea)==null?void 0:l.value)||this._isTextareaFocused||((h=this._textarea)==null?void 0:h.placeholder),"dss-textarea__group--focused-visible":this._isGroupFocusedVisible,"dss-textarea__group--required":(p=this._textarea)==null?void 0:p.required,"dss-textarea__group--readOnly":(b=this._textarea)==null?void 0:b.readOnly};return x` -
    -
    -
    - - -
    -
    -
    -
    - -
    - ${this._maxLength?x`${(m=(g=this._textarea)==null?void 0:g.value)==null?void 0:m.length}/${this._maxLength}`:null} -
    -
    - `}}__decorateClass$s([n({type:String})],Textarea.prototype,"value");__decorateClass$s([n(booleanType)],Textarea.prototype,"showError");const styles$2=":host{display:block;height:104px;min-width:240px;width:100%}.dss-tile{box-sizing:border-box;height:104px;width:100%;overflow:hidden;background-color:var(--color-white);border-radius:var(--dss-radius-md);padding:var(--dss-spacing-md);display:flex;align-items:center;justify-content:flex-start;gap:var(--dss-spacing-md);border:var(--dss-border-width-sm) solid var(--color-neutral-100);transition:background-color .3s ease-in}.dss-tile-logo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:48px;width:48px;height:48px;margin:0;padding:0;overflow:hidden;border-radius:var(--dss-radius-xs)}.dss-tile-logo__image{width:100%;max-width:100%;margin:0;padding:0}.dss-tile-content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:var(--dss-spacing-md);flex:1 1 100%;min-width:0}.dss-tile-content .dss-tile-content__text{overflow:hidden}.dss-tile-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;max-height:24px;line-height:24px;font-size:14px;font-weight:var(--font-semibold);color:var(--color-neutral-900);margin:0;overflow:hidden}.dss-tile--disabled .dss-tile-title{color:var(--color-neutral-600)}.dss-tile-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:48px;line-height:24px;font-size:14px;color:var(--color-neutral-600);margin:0}.dss-tile--button:not(.dss-tile--disabled){cursor:pointer;border-color:var(--color-primary-600)}.dss-tile--selected:not(.dss-tile--disabled),.dss-tile--button:not(.dss-tile--disabled):hover,.dss-tile--selector:not(.dss-tile--disabled):hover{border:var(--dss-border-width-md) solid var(--color-primary-500)}.dss-tile--button:not(.dss-tile--disabled):active,.dss-tile--selector:not(.dss-tile--disabled):active{background-color:var(--color-primary-50)}.dss-tile--button:not(.dss-tile--disabled):focus-visible,.dss-tile--selector:not(.dss-tile--disabled):focus-visible{border-color:transparent;outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-tile--disabled{cursor:not-allowed;background-color:var(--color-neutral-50)}.dss-tile--disabled .dss-tile__title{color:var(--color-neutral-500)}::slotted(.dss-tile-action-group){display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md)}";var __defProp$r=Object.defineProperty,__getOwnPropDesc$r=Object.getOwnPropertyDescriptor,__decorateClass$r=(d,t,a,c)=>{for(var l=__getOwnPropDesc$r(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$r(t,a,l),l};class Tile extends r$1{constructor(){super(...arguments),this._type="default",this._icon="",this._tileTitle="Title",this._description="Lorem ipsum.",this._selected=!1,this._disabled=!1,this._hasLogo=!1,this._logoURL=""}static get styles(){return[r$2(iconStyles),r$2(decorativeIconStyles),r$2(styles$2)]}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set tileTitle(t){const a=this._tileTitle;this._tileTitle=t,this.requestUpdate("tileTitle",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasLogo(t){const a=this._hasLogo;this._hasLogo=t,this.requestUpdate("hasLogo",a)}set logoURL(t){const a=this._logoURL;this._logoURL=t,this.requestUpdate("logoURL",a)}_generateTileIconHTML(){const t={"dss-decorative-icon--disabled":this._disabled};return x` -
    - ${this._icon} -
    - `}_generateTileLogoHTML(){return x` - - `}_generateTileContentHTML(){return x` -
    -
    -

    ${this._tileTitle}

    -

    ${this._description}

    -
    - ${this._type==="action"?x` `:null} -
    - `}_onClick(){this._type==="selector"&&(this._selected=!this._selected,this.requestUpdate());const t={detail:{title:this._tileTitle},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onTileClick",t))}render(){const t={"dss-tile--button":this._type==="button","dss-tile--selector":this._type==="selector","dss-tile--selected":this._type==="selector"&&this._selected,"dss-tile--action":this._type==="action","dss-tile--disabled":this._disabled};let a=x``;return this._type==="button"||this._type==="selector"?a=x` -
    - ${this._icon&&!this._hasLogo?this._generateTileIconHTML():null} - ${this._hasLogo?this._generateTileLogoHTML():null} - ${this._generateTileContentHTML()} -
    - `:a=x` -
    - ${this._icon&&!this._hasLogo?this._generateTileIconHTML():null} - ${this._hasLogo?this._generateTileLogoHTML():null} - ${this._generateTileContentHTML()} -
    - `,a}}__decorateClass$r([n({type:String})],Tile.prototype,"type");__decorateClass$r([n({type:String})],Tile.prototype,"icon");__decorateClass$r([n({type:String})],Tile.prototype,"tileTitle");__decorateClass$r([n({type:String})],Tile.prototype,"description");__decorateClass$r([n(booleanType)],Tile.prototype,"selected");__decorateClass$r([n(booleanType)],Tile.prototype,"disabled");__decorateClass$r([n(booleanType)],Tile.prototype,"hasLogo");__decorateClass$r([n({type:String})],Tile.prototype,"logoURL");const styles$1=".dss-timepicker{position:relative}.dss-timepicker-help{font-family:var(--font-family)}.dss-timepicker-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-timepicker-help--disabled{color:var(--color-neutral-500)}.dss-timepicker-help--invalid{color:var(--color-red-500)}.dss-timepicker-dropdown{display:none;margin-top:8px;position:absolute;top:52px;left:0;background-color:var(--color-white);width:100%;border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;z-index:900;overflow:hidden}.dss-input-group--dropdown input{min-width:289px}.dss-timepicker-dropdown--manual{min-width:289px;left:50%;transform:translate(-50%)}.dss-timepicker-dropdown--open{display:block}.dss-timepicker-dropdown--md{top:44px}.dss-timepicker-dropdown--lg{top:52px}.dss-timepicker-dropdown__container{overflow:auto;min-height:70px;max-height:280px;width:100%}.dss-timepicker-dropdown__option{cursor:pointer;position:relative;width:100%}.dss-timepicker-dropdown__label{width:100%;height:40px;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--dss-spacing-xs) var(--dss-spacing-sm);font-size:14px;color:var(--color-neutral-900);cursor:pointer;background-color:var(--color-white)}.dss-timepicker-dropdown__label:hover{background-color:var(--color-primary-600);color:var(--color-white)}.dss-timepicker-dropdown__label:active{background-color:var(--color-primary-400);color:var(--color-white);transition:background-color .3s}.option--busy .dss-timepicker-dropdown__label{background-color:var(--color-red-50)}.option--busy .dss-timepicker-dropdown__label:hover{background-color:var(--color-red-600)}.option--busy .dss-timepicker-dropdown__label:active{background-color:var(--color-red-400)}.option--busy .dss-timepicker-dropdown__label .dss-timepicker-dropdown__icon{color:var(--color-neutral-900)}.dss-timepicker-dropdown__label:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-timepicker-dropdown__label:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}.dss-timepicker-dropdown__input-radio{display:none}.dss-timepicker-dropdown__input-radio:checked+.dss-timepicker-dropdown__icon{display:block}.dss-timepicker-dropdown__icon{display:none;color:var(--color-primary-500)}.dss-timepicker-dropdown__label:hover .dss-timepicker-dropdown__icon{color:var(--color-white)}.dss-timepicker-dropdown__label:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-primary-200);border-radius:var(--dss-radius-xs);outline:none}.dss-timepicker-dropdown__manual{height:calc(220px - var(--dss-spacing-xs) - var(--dss-spacing-xs));display:flex;justify-content:center;gap:var(--dss-spacing-xs);overflow:hidden;padding:var(--dss-spacing-xs) 0}.dss-timepicker-dropdown__items{box-sizing:border-box;height:100%;width:55px;overflow-y:auto;scrollbar-width:none}.dss-timepicker-dropdown__items:hover{scrollbar-width:thin}.dss-timepicker-dropdown__actions{display:flex;justify-content:center;align-items:center;height:64px;gap:17px;border-top:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-timepicker-manual-item__label{display:flex;justify-content:center;align-items:center;height:40px;width:40px;font-weight:var(--font-semibold);font-size:16px;color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);background-color:var(--color-white);cursor:pointer}.dss-timepicker-manual-item__label:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-primary-200);border-radius:var(--dss-radius-xs);outline:none}.dss-timepicker-manual-item__label:hover{color:var(--color-white);background-color:var(--color-primary-600)}.dss-timepicker-manual-item__label:active{color:var(--color-white);background-color:var(--color-primary-400);transition:background-color .3s}.dss-timepicker-manual-item__input-radio{display:none}.dss-timepicker-manual-item__input-radio:checked+.dss-timepicker-manual-item__label{color:var(--color-white);background-color:var(--color-primary-500)}";var __defProp$q=Object.defineProperty,__getOwnPropDesc$q=Object.getOwnPropertyDescriptor,__decorateClass$q=(d,t,a,c)=>{for(var l=__getOwnPropDesc$q(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$q(t,a,l),l};class Timepicker extends r$1{constructor(){super(...arguments),this._value="",this._placeholder="",this._inputSize="lg",this._dropdown="",this._required=!1,this._disabled=!1,this._readonly=!1,this._invalid=!1,this._showDropdown=!1,this._helpText="",this._oldHelpText="",this._errorTimeFormatText="Format d'hora no vàlid",this._errorTimeOptionText="Opció de temps no disponible",this._manualHourSelector="",this._manualMinuteSelector="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._timeListOptions=[],this._customTimeListOptions=[],this._timeManualHourOptions=[],this._timeManualMinutesOptions=[],this._icon="schedule",this._inputValidity=!0,this._isFirstUpdated=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback),this._timePattern=/^\d{0,4}$/g,this._timeSeparator=":",this._timeInputOldValue=""}static get styles(){return[r$2(iconStyles),r$2(inputStyles),r$2(scrollbarStyles),r$2(buttonStyles),r$2(styles$1)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set value(t){const a=this._value;this._value=t,this._input&&(this._input.value=t),this.requestUpdate("value",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this._oldHelpText=t,this.requestUpdate("helpText",a)}set errorTimeFormatText(t){const a=this._errorTimeFormatText;this._errorTimeFormatText=t,this.requestUpdate("errorTimeFormatText",a)}set errorTimeOptionText(t){const a=this._errorTimeOptionText;this._errorTimeOptionText=t,this.requestUpdate("errorTimeOptionText",a)}set dropdown(t){const a=this._dropdown;this._dropdown=t,this.requestUpdate("dropdown",a)}set showDropdown(t){const a=this._showDropdown;this._showDropdown=t,this.requestUpdate("showDropdown",a)}set minutesRange(t){const a=this._minutesRange;this._minutesRange=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("minutesRange",a)}set minHour(t){const a=this._minHour;this._minHour=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("minHour",a)}set maxHour(t){const a=this._maxHour;this._maxHour=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("maxHour",a)}set customTimeListOptions(t){const a=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._closeDropdown(),this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._updateTimeOptions(),this._isFirstUpdated=!1,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_updateTimeOptions(){this._dropdown&&(this._timeListOptions=this._generateTimeListOptions(),this._timeManualHourOptions=this._generateTimeManualHoursOptions(),this._timeManualMinutesOptions=this._generateTimeManualMinutesOptions())}_checkInputAttributes(){var p,b,g,m,w,v,f;const t=(p=this._input)==null?void 0:p.getAttribute("placeholder");t&&(this._placeholder=t),((b=this._input)==null?void 0:b.getAttribute("readonly"))!==null&&(this._readonly=!0),((g=this._input)==null?void 0:g.getAttribute("disabled"))!==null&&(this._disabled=!0),((m=this._input)==null?void 0:m.getAttribute("required"))!==null&&(this._required=!0);const h=(w=this._input)==null?void 0:w.getAttribute("value");h!==null&&(this._value=h),(v=this._input)!=null&&v.value&&((f=this._input)==null?void 0:f.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_closeDropdown(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._showDropdown&&(this._showDropdown=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._input&&a!==this._label&&(this._showDropdown&&(this._showDropdown=!1),this.requestUpdate())})}_timeMask(t,a,c){const l=[];for(let h=0;h=0&&+a<=23&&+c>=0&&+c<=59?(this._invalid=!1,this._helpText=this._oldHelpText,this._dropdown&&this._dropdown==="list"&&!this._timeListOptions.includes(this._input.value)?(this._helpText=this._errorTimeOptionText,this._invalid=!0):this._dropdown&&this._dropdown==="manual"&&(!this._timeManualHourOptions.includes(a)||!this._timeManualMinutesOptions.includes(c))?(this._helpText=this._errorTimeOptionText,this._invalid=!0):this._showDropdown=!1):(this._helpText=this._errorTimeFormatText,this._invalid=!0),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:{value:this._input.value,status:this._invalid?"INVALID":"VALID"},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onTimepickerChange",t))}}_handleClick(){if(this._showDropdown=!0,this._value&&(this._dropdown&&this._dropdown==="list"&&this._timeListOptionsScrollTo(),this._dropdown&&this._dropdown==="manual")){const t=this._value.slice(0,2);this._timeManualOptionsScrollTo(t),setTimeout(()=>{this._timeManualOptionsScrollTo()},500)}this.requestUpdate()}_handleInput(){if(this._input){let t=this._input.value;t=this._timeUnmask(t),t.match(this._timePattern)?(t=this._timeMask(t,2,this._timeSeparator),this._input.value=t):this._input.value=this._timeInputOldValue,this._input.value.length===5&&(this._timeValidate(this._input.value),this._handleValidity()),this._dropdown&&this._dropdown==="list"&&this._timeListOptionsScrollTo(),this._dropdown&&this._dropdown==="manual"&&this._timeManualOptionsScrollTo()}}_handleKeyDown(t){this._input&&(this._timeInputOldValue=this._input.value,(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showDropdown=!0,this.requestUpdate()):(t==null?void 0:t.key)==="Escape"&&(this._showDropdown=!1,this.requestUpdate()))}_handleFocus(){this._placeholder="00:00",this._input&&this._input.setAttribute("placeholder",this._placeholder),this.requestUpdate()}_handleBlur(){this._placeholder="",this._input&&this._input.removeAttribute("placeholder"),this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus(),this._handleClick()}_generateTimeListOptions(){const t=[];for(let a=this._minHour;a0;return(l?a:t).map(b=>{const g=$=>{$&&$.focus()},m=$=>{let _=0;const S=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__label"),C=S.length-1;$===S[0]?g(S[C]):(S.forEach((T,D)=>{T===$&&(_=D)}),g(S[_-1]))},w=$=>{let _=0;const S=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__label"),C=S.length-1;$===S[C]?g(S[0]):(S.forEach((T,D)=>{T===$&&(_=D)}),g(S[_+1]))},v=$=>{if(this._input){const _=$.target.getAttribute("value");_&&(this._input.value=_,this._helpText=this._oldHelpText,this._invalid=!1,this._showDropdown=!1,this._handleValidity(),this.requestUpdate(),this._dispatchValueChange())}},f=$=>{const _=$.currentTarget,S=$;let C=!1;switch(S.key){case"ArrowUp":m(_),C=!0;break;case"ArrowDown":w(_),C=!0;break;case"Enter":const T=$.target.querySelector("input"),D=this.renderRoot.querySelector('.dss-timepicker-dropdown__label[tabindex="0"]');D==null||D.setAttribute("tabindex","-1"),$.target.setAttribute("tabindex","0"),T==null||T.click(),C=!0;break}C&&($.stopPropagation(),$.preventDefault())},y={"option--busy":typeof b=="object"&&b.state==="ocupat"},k=x` -
    - -
    - `;return c=!1,k})}_generateTimeManualHoursOptions(){const t=[];for(let a=this._minHour;a{const p=m=>{const w=m.target.getAttribute("value");w&&(t==="timepickerManualHour"?this._manualHourSelector=w:t==="timepickerManualMinutes"&&(this._manualMinuteSelector=w),this.requestUpdate())},b=m=>{const w=m.currentTarget,v=m;let f=!1;const y=_=>{_&&_.focus()},k=_=>{let S=0;const C=this.renderRoot.querySelectorAll(`.dss-timepicker-manual-item__label.${t}`),T=C.length-1;_===C[0]?y(C[T]):(C.forEach((D,q)=>{D===_&&(S=q)}),y(C[S-1]))},$=_=>{let S=0;const C=this.renderRoot.querySelectorAll(`.dss-timepicker-manual-item__label.${t}`),T=C.length-1;_===C[T]?y(C[0]):(C.forEach((D,q)=>{D===_&&(S=q)}),y(C[S+1]))};switch(v.key){case"ArrowUp":k(w),f=!0;break;case"ArrowDown":$(w),f=!0;break;case"Enter":const _=m.target.parentElement,S=_==null?void 0:_.querySelector("input"),C=this.renderRoot.querySelector(`.dss-timepicker-manual-item__label[tabindex="0"].${t}`);if(C==null||C.setAttribute("tabindex","-1"),m.target.setAttribute("tabindex","0"),S==null||S.click(),t==="timepickerManualHour"){const T=this.renderRoot.querySelector('.dss-timepicker-manual-item__label[tabindex="0"].timepickerManualMinutes');y(T)}else if(t==="timepickerManualMinutes"){const T=this.renderRoot.querySelector(".dss-timepicker-dropdown__actions-select");setTimeout(()=>{T.focus()},0)}f=!0;break}f&&(m.stopPropagation(),m.preventDefault())},g=x` -
    - - -
    - `;return c=!1,g})}_checkDisableTimeManualSelector(){return this._manualHourSelector===""||this._manualMinuteSelector===""}_timeManualSelectorCancel(){const t=this.renderRoot.querySelectorAll(".dss-timepicker-manual-item__input-radio:checked");t.length&&t.forEach(a=>{a.checked=!1}),this._manualHourSelector="",this._manualMinuteSelector="",this._showDropdown=!1,this._handleValidity(),this.requestUpdate()}_timeManualSelectorAccept(){this._input&&(this._input.value=`${this._manualHourSelector}:${this._manualMinuteSelector}`,this._helpText=this._oldHelpText,this._invalid=!1,this._showDropdown=!1,this._handleValidity(),this.requestUpdate(),this._dispatchValueChange())}_timeListOptionsScrollTo(){if(this._input){const t=this._input.value.trim(),a=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__input-radio");let c=!1;a.forEach(l=>{const h=l.value;if(!c&&h.startsWith(t)){const p=l.closest("label");c=!0,p&&(setTimeout(()=>{p.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},0),h===t&&(l.checked=!0))}})}}_timeManualOptionsScrollTo(t){if(this._input){const a=t?t.trim():this._input.value.trim();if(a.length<=2){const c=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__items--hour .dss-timepicker-manual-item__label");let l=!1;c.forEach(h=>{const p=h.innerHTML.replace(//g,"").trim();!l&&p.startsWith(a)&&(l=!0,setTimeout(()=>{h.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},0),p===a&&h.click())})}else{const c=a.slice(3),l=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__items--minute .dss-timepicker-manual-item__label");let h=!1;l.forEach(p=>{const b=p.innerHTML.replace(//g,"").trim();!h&&b.startsWith(c)&&(h=!0,p.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),b===c&&p.click())})}}}render(){var l;const t={"dss-input-group--focused":((l=this._input)==null?void 0:l.value)||this._placeholder,"dss-input-group--lg":this._inputSize==="lg","dss-input-group--md":this._inputSize==="md","dss-input-group--dropdown":this._dropdown==="manual","dss-input-group--invalid":this._invalid||!this._inputValidity,"dss-input-group--required":this._required,"dss-input-group--disabled":this._disabled,"dss-input-group--read-only":this._readonly,"dss-input-group--no-label":!this._label},a={"dss-timepicker-help--invalid":this._invalid||!this._inputValidity,"dss-timepicker-help--disabled":this._disabled},c={"dss-timepicker-dropdown--open":this._showDropdown,"dss-timepicker-dropdown--lg":this._inputSize==="lg","dss-timepicker-dropdown--md":this._inputSize==="md"};return x` -
    - ${this._dropdown===""?x` -
    - ${this._icon} - - - -
    - `:x` -
    - ${this._icon} - - - -
    - `} - ${this._helpText?x` -
    - ${this._helpText} -
    - `:null} - ${this._dropdown&&this._dropdown==="list"?x` -
    -
    - ${x`${this._generateTimeListOptionsHTML(this._timeListOptions,this._customTimeListOptions)}`} -
    -
    - `:null} - ${this._dropdown&&this._dropdown==="manual"?x` -
    -
    -
    - ${this._generateTimeManualOptionsHTML("timepickerManualHour",this._timeManualHourOptions)} -
    -
    - ${this._generateTimeManualOptionsHTML("timepickerManualMinutes",this._timeManualMinutesOptions)} -
    -
    -
    - - -
    -
    - `:null} -
    -
    - `}}__decorateClass$q([n({type:String,attribute:!0})],Timepicker.prototype,"value");__decorateClass$q([n(booleanType)],Timepicker.prototype,"invalid");__decorateClass$q([n({type:String})],Timepicker.prototype,"inputSize");__decorateClass$q([n({type:String})],Timepicker.prototype,"helpText");__decorateClass$q([n({type:String})],Timepicker.prototype,"errorTimeFormatText");__decorateClass$q([n({type:String})],Timepicker.prototype,"errorTimeOptionText");__decorateClass$q([n({type:String})],Timepicker.prototype,"dropdown");__decorateClass$q([n(booleanType)],Timepicker.prototype,"showDropdown");__decorateClass$q([n({type:Number})],Timepicker.prototype,"minutesRange");__decorateClass$q([n({type:Number})],Timepicker.prototype,"minHour");__decorateClass$q([n({type:Number})],Timepicker.prototype,"maxHour");__decorateClass$q([n({type:Array})],Timepicker.prototype,"customTimeListOptions");__decorateClass$q([n({type:String})],Timepicker.prototype,"icon");const styles='.dss-tooltip{position:absolute;display:flex;width:264px;z-index:900}.dss-tooltip-box{position:relative;box-sizing:border-box;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:var(--dss-spacing-xs) var(--dss-spacing-md);background-color:var(--color-neutral-800);border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;font-size:14px;color:var(--color-white)}.dss-tooltip--top{justify-content:center;bottom:calc(100% + var(--dss-spacing-md));left:50%;transform:translate(-50%)}.dss-tooltip--right{justify-content:flex-start;left:calc(100% + var(--dss-spacing-md));top:50%;transform:translateY(-50%)}.dss-tooltip--bottom{justify-content:center;top:calc(100% + var(--dss-spacing-md));left:50%;transform:translate(-50%)}.dss-tooltip--left{justify-content:flex-end;right:calc(100% + var(--dss-spacing-md));top:50%;transform:translateY(-50%)}.dss-tooltip--right>.dss-tooltip-box:before{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:8px solid transparent;border-left:0;border-right:8px solid var(--color-neutral-800);transform:translate(-100%,-50%)}.dss-tooltip--bottom>.dss-tooltip-box:before{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:8px solid transparent;border-top:0;border-bottom:8px solid var(--color-neutral-800);transform:translate(-50%,-100%)}.dss-tooltip--left>.dss-tooltip-box:before{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:8px solid transparent;border-right:0;border-left:8px solid var(--color-neutral-800);transform:translate(100%,-50%)}.dss-tooltip--top>.dss-tooltip-box:before{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:8px solid transparent;border-bottom:0;border-top:8px solid var(--color-neutral-800);transform:translate(-50%,100%)}.dss-tooltip-container{max-width:232px;max-height:96px;overflow:hidden}.dss-tooltip--no-height-limit .dss-tooltip-container{max-height:-moz-max-content;max-height:max-content}.dss-tooltip--align-left{text-align:left}.dss-tooltip--align-right{text-align:right}.dss-tooltip--align-center{text-align:center}.dss-tooltip--align-justify{text-align:justify}.dss-tooltip--hidden{display:none}';var __defProp$p=Object.defineProperty,__getOwnPropDesc$p=Object.getOwnPropertyDescriptor,__decorateClass$p=(d,t,a,c)=>{for(var l=__getOwnPropDesc$p(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$p(t,a,l),l};class Tooltip extends r$1{constructor(){super(...arguments),this._position="top",this._align="left",this._hide=!1,this._noHeightLimit=!1}static get styles(){return[r$2(iconStyles),r$2(styles)]}set position(t){const a=this._position;this._position=t,this.requestUpdate("position",a)}set align(t){const a=this._align;this._align=t,this.requestUpdate("align",a)}set hide(t){const a=this._hide;this._hide=t,this.requestUpdate("hide",a)}set noHeightLimit(t){const a=this._noHeightLimit;this._noHeightLimit=t,this.requestUpdate("noHeightLimit",a)}render(){const t={"dss-tooltip--top":this._position==="top","dss-tooltip--right":this._position==="right","dss-tooltip--bottom":this._position==="bottom","dss-tooltip--left":this._position==="left","dss-tooltip--align-left":this._align==="left","dss-tooltip--align-right":this._align==="right","dss-tooltip--align-center":this._align==="center","dss-tooltip--align-justify":this._align==="justify","dss-tooltip--hidden":this._hide,"dss-tooltip--no-height-limit":this._noHeightLimit};return x` -
    -
    -
    - -
    -
    -
    - `}}__decorateClass$p([n({type:String})],Tooltip.prototype,"position");__decorateClass$p([n({type:String})],Tooltip.prototype,"align");__decorateClass$p([n(booleanType)],Tooltip.prototype,"hide");__decorateClass$p([n(booleanType)],Tooltip.prototype,"noHeightLimit");const popoverStyles=':host{display:block}.dss-popover{position:absolute;display:none;z-index:900;min-width:356px;width:-moz-max-content;width:max-content;max-width:500px}.dss-popover--open{display:flex}.dss-popover-box{position:relative;box-sizing:border-box;min-width:356px;width:-moz-fit-content;width:fit-content;max-width:500px;height:-moz-fit-content;height:fit-content;background-color:var(--color-white);border-radius:var(--dss-radius-sm);box-shadow:0 1px 3px #0000001a,0 4px 8px 3px #0000000d;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.dss-popover--top{justify-content:center;bottom:calc(100% + var(--dss-spacing-md));left:50%;transform:translate(-50%)}.dss-popover--right{justify-content:flex-start;left:calc(100% + var(--dss-spacing-md));top:50%;transform:translateY(-50%)}.dss-popover--bottom{justify-content:center;top:calc(100% + var(--dss-spacing-md));left:50%;transform:translate(-50%)}.dss-popover--left{justify-content:flex-end;right:calc(100% + var(--dss-spacing-md));top:50%;transform:translateY(-50%)}.dss-popover--right>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:10px solid transparent;border-left:0;border-right:10px solid #efefef;transform:translate(-100%,-50%)}.dss-popover--right>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:8px solid transparent;border-left:0;border-right:8px solid var(--color-white);transform:translate(-100%,-50%)}.dss-popover--bottom>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:10px solid transparent;border-top:0;border-bottom:10px solid #efefef;transform:translate(-50%,-100%)}.dss-popover--bottom>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:8px solid transparent;border-top:0;border-bottom:8px solid var(--color-white);transform:translate(-50%,-100%)}.dss-popover--left>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:10px solid transparent;border-right:0;border-left:10px solid #efefef;transform:translate(100%,-50%)}.dss-popover--left>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:8px solid transparent;border-right:0;border-left:8px solid var(--color-white);transform:translate(100%,-50%)}.dss-popover--top>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:10px solid transparent;border-bottom:0;border-top:10px solid #efefef;transform:translate(-50%,100%)}.dss-popover--top>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:8px solid transparent;border-bottom:0;border-top:8px solid var(--color-white);transform:translate(-50%,100%)}.dss-popover-header{display:flex;align-items:center;padding:var(--dss-spacing-md) 0 var(--dss-spacing-xs) 0;gap:var(--dss-spacing-xs);width:100%}.dss-popover--has-divider .dss-popover-header{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200);margin-bottom:var(--dss-spacing-xs)}.dss-popover-header-box{display:flex;justify-content:space-between;align-items:center;padding:0 var(--dss-spacing-md);gap:var(--dss-spacing-md);width:100%}.dss-popover-header__title{flex:1;font-size:18px;line-height:28px;font-weight:var(--font-semibold);color:var(--color-neutral-900)}::slotted(dss-popover-body),::slotted(dss-item-list){display:block;max-height:428px;overflow-y:auto}',dssIconButton=i`dss-icon-button${s(getCustomElementSuffix())}`,popoverTemplate=d=>u` -
    -
    -
    -
    -
    ${d._title}
    - ${d._actionIcon?u` - <${dssIconButton} - icon="${d._actionIcon}" - size="md" - type="primary" - @onClick="${d._handleAction}" - > - `:null} - ${d._hideCloseIcon?null:u` - <${dssIconButton} - icon="close" - size="md" - type="default" - @onClick="${d._handleClose}" - > - `} -
    -
    - - -
    -
    -`;var __defProp$o=Object.defineProperty,__getOwnPropDesc$o=Object.getOwnPropertyDescriptor,__decorateClass$o=(d,t,a,c)=>{for(var l=__getOwnPropDesc$o(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$o(t,a,l),l};class Popover extends r$1{constructor(){super(...arguments),this._open=!1,this._hasDivider=!1,this._hideCloseIcon=!1,this._title="",this._position="top",this._actionIcon=void 0}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(popoverStyles)]}set open(t){const a=this._open;this._open=t,this.requestUpdate("open",a)}set hasDivider(t){const a=this._hasDivider;this._hasDivider=t,this.requestUpdate("hasDivider",a)}set hideCloseIcon(t){const a=this._hideCloseIcon;this._hideCloseIcon=t,this.requestUpdate("hideCloseIcon",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set actionIcon(t){const a=this._actionIcon;this._actionIcon=t,this.requestUpdate("actionIcon",a)}set position(t){const a=this._position;this._position=t,this.requestUpdate("position",a)}_handleAction(){this.dispatchEvent(new CustomEvent("onAction",{bubbles:!0,composed:!0}))}_handleClose(){this._open=!1,this.requestUpdate(),this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0,composed:!0}))}render(){return popoverTemplate(this)}}__decorateClass$o([n(booleanType)],Popover.prototype,"open");__decorateClass$o([n(booleanType)],Popover.prototype,"hasDivider");__decorateClass$o([n(booleanType)],Popover.prototype,"hideCloseIcon");__decorateClass$o([n({type:String})],Popover.prototype,"title");__decorateClass$o([n({type:String})],Popover.prototype,"actionIcon");__decorateClass$o([n({type:String})],Popover.prototype,"position");class PopoverBody extends r$1{static get styles(){return[i$1` - .dss-popover-body { - display: flex; - flex-direction: column; - padding: 0 var(--dss-spacing-md) var(--dss-spacing-md) - var(--dss-spacing-md); - gap: var(--dss-spacing-xs); - font-size: 14px; - line-height: 24px; - font-weight: var(--font-regular); - color: var(--color-neutral-900); - } - - ::slotted(p) { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-regular); - color: var(--color-neutral-900); - } - `]}render(){return x` -
    - -
    - `}}const sidemenuStyles=":host{display:block;min-height:100%;height:100%;width:auto}.dss-sidemenu{min-height:100%;width:72px;display:flex;justify-content:flex-start;align-items:center;flex-direction:column;background-color:var(--color-primary-700);padding:var(--dss-spacing-lg) var(--dss-spacing-md);color:var(--color-white);gap:var(--dss-spacing-lg)}.dss-sidemenu--expanded{width:252px;align-items:flex-start}.dss-sidemenu-top-menu{width:100%;flex:1}.dss-sidemenu-bottom-menu{width:100%}.dss-sidemenu-create{width:100%;position:relative}.dss-sidemenu-create__button__content{display:flex;align-items:center;justify-content:center;position:relative}.dss-sidemenu-create__notification{position:absolute;top:-4px;right:-4px;display:block}.dss-sidemenu-create__notification--expanded{top:-8px;right:-8px}.dss-sidemenu-create__dropdown{position:fixed;opacity:0;visibility:hidden}.dss-sidemenu-create__dropdown--open{opacity:1;visibility:visible}.dss-sidemenu-create__button{all:unset;cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-white);color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in}.dss-sidemenu-create__button:not(:disabled):hover{background-color:var(--color-primary-900);color:var(--color-white)}.dss-sidemenu-create__button:not(:disabled):active{background-color:var(--color-primary-800);color:var(--color-white)}.dss-sidemenu-create__button:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-create__button:disabled{color:var(--color-neutral-600);background-color:var(--color-neutral-100);cursor:not-allowed}.dss-sidemenu-toggle{all:unset;cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in-out}.dss-sidemenu-toggle:not(:disabled):hover{background-color:var(--color-primary-900)}.dss-sidemenu-toggle:not(:disabled):active{background-color:var(--color-primary-800)}.dss-sidemenu-toggle:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-toggle:disabled{color:var(--color-primary-200);cursor:not-allowed}.dss-sidemenu-toggle__icon{border-radius:100%;background-color:var(--color-white);color:var(--color-primary-700)}.dss-sidemenu--expanded button.dss-sidemenu-create__button,.dss-sidemenu--expanded button.dss-sidemenu-toggle{width:100%}.dss-sidemenu-toggle:disabled .dss-sidemenu-toggle__icon{background-color:var(--color-primary-200)}.dss-sidemenu-top-menu,.dss-sidemenu-bottom-menu{width:100%}.dss-sidemenu-bottom{width:100%;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;border-top:var(--dss-border-width-sm) solid var(--color-white);padding-top:var(--dss-spacing-md);gap:var(--dss-spacing-lg)}",sidemenuTemplate=d=>x` - -`;var __defProp$n=Object.defineProperty,__getOwnPropDesc$n=Object.getOwnPropertyDescriptor,__decorateClass$n=(d,t,a,c)=>{for(var l=__getOwnPropDesc$n(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$n(t,a,l),l};class Sidemenu extends r$1{constructor(){super(),this._disabled=!1,this._expanded=!1,this._toggleDisabled=!1,this._toggleLabel="Tancar Menu",this._hideCreateMenu=!1,this._createDisabled=!1,this._createLabel="Crear",this._createMenuPosition="top",this._createNotifications=0,this._showCreateDropdown=!1,this._scrollContainerClass="dss-layout-sidebar",this._dropdown=null,this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleResizeBound=this._handleResize.bind(this),this._handleContainerScrollBound=this._handleContainerScroll.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuStyles)]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._handleResizeBound),document.addEventListener("click",this._handleDocumentClickBound),this._handleResize()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._handleResizeBound),document.removeEventListener("click",this._handleDocumentClickBound),this._scrollContainer&&this._scrollContainer.removeEventListener("scroll",this._handleContainerScrollBound)}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set toggleLabel(t){const a=this._toggleLabel;this._toggleLabel=t,this.requestUpdate("toggleLabel",a)}set createLabel(t){const a=this._createLabel;this._createLabel=t,this.requestUpdate("createLabel",a)}set createMenuPosition(t){const a=this._createMenuPosition;this._createMenuPosition=t,this.requestUpdate("createMenuPosition",a)}set createNotifications(t){const a=this._createNotifications;this._createNotifications=t,this.requestUpdate("createNotifications",a)}set createDisabled(t){const a=this._createDisabled;this._createDisabled=t,this.requestUpdate("createDisabled",a)}set hideCreateMenu(t){const a=this._hideCreateMenu;this._hideCreateMenu=t,this.requestUpdate("hideCreateMenu",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}get _createNotification(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector("dss-notification-badge"))||void 0}get _createSection(){var a;return(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-create")}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._expanded?h.setAttribute("expanded","true"):h.removeAttribute("expanded"),this._scrollContainerClass?h.setAttribute("scrollContainerClass",this._scrollContainerClass):h.removeAttribute("scrollContainerClass")})})}_handleResize(){window.innerWidth<1024?(this.removeAttribute("expanded"),this._toggleDisabled=!0):this._toggleDisabled=!1,this.requestUpdate()}_clickedOutsideCreateMenu(t,a){a.composedPath().includes(t)||this._closeCreateDropdown()}_closeCreateDropdown(){this._showCreateDropdown&&(this._showCreateDropdown=!1,this.requestUpdate())}_handleDocumentClick(t){this._createSection&&this._clickedOutsideCreateMenu(this._createSection,t)}_toggleCreateMenu(){this._showCreateDropdown=!this._showCreateDropdown,this.requestUpdate()}_toggleSidemenu(){this._expanded?this.removeAttribute("expanded"):this.setAttribute("expanded","true")}_handleCreateMouseEnter(){this._createNotification&&this._createNotification.setAttribute("isHover","true")}_handleCreateMouseLeave(){this._createNotification&&this._createNotification.removeAttribute("isHover")}_handleCreateMouseDown(){this._createNotification&&this._createNotification.setAttribute("isActive","true")}_handleCreateFocusout(t){if(this._showCreateDropdown){const a=t.relatedTarget;a===null&&this._closeCreateDropdown(),a&&!this._createSection.contains(a)&&a.tagName!=="DSS-ACTION-MENU-ITEM"&&this._closeCreateDropdown()}}_handleCreateMouseUp(){this._createNotification&&this._createNotification.removeAttribute("isActive")}get _scrollContainer(){return document.querySelector(`.${this._scrollContainerClass}`)}_getCreateDropdownFixedPosition(){var c;const a=((c=this.shadowRoot)==null?void 0:c.querySelector(".dss-sidemenu-create")).getBoundingClientRect();this._dropdown&&(this._dropdown.style.left=`${a.right+8}px`,this._dropdown.classList.contains("dss-sidemenu-create__dropdown--top")?this._dropdown.style.top=`${a.top}px`:this._dropdown.style.top=`${a.bottom-this._dropdown.offsetHeight}px`)}_handleContainerScroll(){this._getCreateDropdownFixedPosition()}async firstUpdated(){var a;await this.updateComplete,this._propagateProperties();const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-create__dropdown");t&&(this._dropdown=t,this._getCreateDropdownFixedPosition()),this._scrollContainer&&this._scrollContainer.addEventListener("scroll",this._handleContainerScrollBound)}updated(t){super.updated(t),(t.has("expanded")||t.has("disabled"))&&(this._propagateProperties(),this._getCreateDropdownFixedPosition())}render(){return sidemenuTemplate(this)}}__decorateClass$n([n(booleanType)],Sidemenu.prototype,"expanded");__decorateClass$n([n(booleanType)],Sidemenu.prototype,"disabled");__decorateClass$n([n({type:String})],Sidemenu.prototype,"toggleLabel");__decorateClass$n([n({type:String})],Sidemenu.prototype,"createLabel");__decorateClass$n([n({type:String})],Sidemenu.prototype,"createMenuPosition");__decorateClass$n([n({type:Number})],Sidemenu.prototype,"createNotifications");__decorateClass$n([n(booleanType)],Sidemenu.prototype,"createDisabled");__decorateClass$n([n(booleanType)],Sidemenu.prototype,"hideCreateMenu");__decorateClass$n([n({type:String})],Sidemenu.prototype,"scrollContainerClass");const sidemenuListStyles=":host{display:block;width:100%}.dss-sidemenu-list{display:flex;align-items:center;flex-direction:column;gap:var(--dss-spacing-xxs)}.dss-sidemenu-list--expanded{width:100%}",sidemenuListTemplate=d=>x` - -`;var __defProp$m=Object.defineProperty,__getOwnPropDesc$m=Object.getOwnPropertyDescriptor,__decorateClass$m=(d,t,a,c)=>{for(var l=__getOwnPropDesc$m(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$m(t,a,l),l};class SidemenuList extends r$1{constructor(){super(...arguments),this._disabled=!1,this._expanded=!1,this._scrollContainerClass="dss-layout-sidebar"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuListStyles)]}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._expanded?h.setAttribute("expanded","true"):h.removeAttribute("expanded"),this._scrollContainerClass?h.setAttribute("scrollContainerClass",this._scrollContainerClass):h.removeAttribute("scrollContainerClass")})})}_handleItemFocus(t){var l;const a=t.target,c=(l=this.shadowRoot)==null?void 0:l.querySelector("slot");if(c){const h=c.assignedElements({flatten:!0}).filter(b=>!b._disabled),p=h.findIndex(b=>b._focusEnabled);h[p]!==a&&(a.setAttribute("focusEnabled","true"),h[p].removeAttribute("focusEnabled"))}}_handleNavigate(t){var c;const a=(c=this.shadowRoot)==null?void 0:c.querySelector("slot");if(a){const l=a.assignedElements({flatten:!0}).filter(b=>!b._disabled),h=l.findIndex(b=>b._focusEnabled);let p=h;t.detail.direction==="next"?p=(h+1)%l.length:t.detail.direction==="previous"&&(p=(h-1+l.length)%l.length),h!==p&&(l[h].blurItem(),l[h].removeAttribute("focusEnabled"),l[p].focusItem(),l[p].setAttribute("focusEnabled","true"),this.dispatchEvent(new CustomEvent("onSlotFocus",{bubbles:!0,composed:!0})))}}async firstUpdated(){var a;await this.updateComplete;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(t){const l=t.assignedElements({flatten:!0}).find(h=>h.tagName.toLowerCase()==="dss-sidemenu-list-item");l&&l.setAttribute("focusEnabled","true"),this._propagateProperties()}}updated(t){super.updated(t),(t.has("expanded")||t.has("disabled"))&&this._propagateProperties()}render(){return sidemenuListTemplate(this)}}__decorateClass$m([n(booleanType)],SidemenuList.prototype,"expanded");__decorateClass$m([n(booleanType)],SidemenuList.prototype,"disabled");__decorateClass$m([n({type:String})],SidemenuList.prototype,"scrollContainerClass");const sidemenuListItemStyles=":host{display:block;width:100%}.dss-sidemenu-list-item{position:relative;cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in-out}.dss-sidemenu-list-item:not(:disabled):not(.dss-sidemenu-list-item--disabled):hover{background-color:var(--color-primary-900)}.dss-sidemenu-list-item:not(:disabled):not(.dss-sidemenu-list-item--disabled):active{background-color:var(--color-primary-800)}.dss-sidemenu-list-item:not(.dss-sidemenu-list-item--disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-list-item:disabled{color:var(--color-neutral-100);cursor:not-allowed}.dss-sidemenu-list-item--selected:not(.dss-sidemenu-list-item--disabled):not(:hover){box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-white)}.dss-sidemenu-list-item--disabled{cursor:not-allowed;color:var(--color-neutral-100)}.dss-sidemenu-list-item--expanded{width:100%}.dss-sidemenu-list-item__icon{position:relative;display:flex;align-items:center;justify-content:center}.dss-sidemenu-list-item__notification{position:absolute;top:-4px;right:-4px;display:block;z-index:999}.dss-sidemenu-list-item__notification--expanded{top:-8px;right:-8px}.dss-sidemenu-list-item__label{flex:1}.dss-sidemenu-list-item__dropdown{position:fixed;opacity:0;visibility:hidden;z-index:9999}.dss-sidemenu-list-item__dropdown--open{opacity:1;visibility:visible}.dss-sidemenu-list-item__tooltip{position:fixed;opacity:0;visibility:hidden;z-index:9999;transition:opacity .5s ease-in,visibility .5s ease-in}.dss-sidemenu-list-item--collapsed:focus-visible .dss-sidemenu-list-item__tooltip,.dss-sidemenu-list-item--collapsed:hover .dss-sidemenu-list-item__tooltip{animation:show-tooltip 1s forwards}@keyframes show-tooltip{0%{opacity:0;visibility:hidden}99%{visibility:hidden}to{opacity:1;visibility:visible}}",sidemenuListItemTemplate=d=>x` - -`;var __defProp$l=Object.defineProperty,__getOwnPropDesc$l=Object.getOwnPropertyDescriptor,__decorateClass$l=(d,t,a,c)=>{for(var l=__getOwnPropDesc$l(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$l(t,a,l),l};class SidemenuListItem extends r$1{constructor(){super(),this._label="Menu",this._icon="add_box",this._selected=!1,this._disabled=!1,this._expanded=!1,this._hasNestedMenu=!1,this._nestedMenuPosition="top",this._notifications=0,this._notificationsState="error",this._isHover=!1,this._isActive=!1,this._showItemDropdown=!1,this._isFocused=!1,this._focusEnabled=!1,this._scrollContainerClass="dss-layout-sidebar",this._tooltip=null,this._dropdown=null,this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleContainerScrollBound=this._handleContainerScroll.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuListItemStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound),this._scrollContainer&&this._scrollContainer.removeEventListener("scroll",this._handleContainerScrollBound)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasNestedMenu(t){const a=this._hasNestedMenu;this._hasNestedMenu=t,this.requestUpdate("hasNestedMenu",a)}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set notifications(t){const a=this._notifications;this._notifications=t,this.requestUpdate("notifications",a)}set notificationsState(t){const a=this._notificationsState;this._notificationsState=t,this.requestUpdate("notificationsState",a)}set nestedMenuPosition(t){const a=this._nestedMenuPosition;this._nestedMenuPosition=t,this.requestUpdate("nestedMenuPosition",a)}set focusEnabled(t){const a=this._focusEnabled;this._focusEnabled=t,this.requestUpdate("focusEnabled",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}get _notificationBadge(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector("dss-notification-badge"))||void 0}_clickedOutsideItem(t,a){a.composedPath().includes(t)||this._showItemDropdown&&(this._showItemDropdown=!1,this.requestUpdate())}_handleDocumentClick(t){this._clickedOutsideItem(this,t)}_handleContainerScroll(){this._expanded||this._getTooltipFixedPosition(),this._showItemDropdown&&this._getDropdownFixedPosition()}_handleClick(){this._disabled||(this._hasNestedMenu?(this._showItemDropdown=!0,this.requestUpdate()):this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("updateItemFocus",{detail:!0,bubbles:!0,composed:!0})))}_handleMouseEnter(){this._notificationBadge&&!this._disabled&&this._notificationBadge.setAttribute("isHover","true"),!this._expanded&&!this._disabled&&this._getTooltipFixedPosition(),this._hasNestedMenu&&this._getDropdownFixedPosition()}_handleMouseLeave(){this._notificationBadge&&!this._disabled&&this._notificationBadge.removeAttribute("isHover")}_handleMouseDown(){this._notificationBadge&&!this._disabled&&this._notificationBadge.setAttribute("isActive","true")}_handleMouseUp(){this._notificationBadge&&!this._disabled&&this._notificationBadge.removeAttribute("isActive")}_handleKeyDown(t){(t.key==="ArrowDown"||t.key==="ArrowUp")&&(t.preventDefault(),this.dispatchEvent(new CustomEvent("navigate",{detail:{direction:t.key==="ArrowDown"?"next":"previous"},bubbles:!0,composed:!0}))),(t.key==="Enter"||t.key===" ")&&this._handleClick(),t.key==="Escape"&&this._closeItemDropdown()}_handleActionMenuClick(){this._closeItemDropdown()}_handleFocusout(t){const a=t.relatedTarget;a===null&&this._closeItemDropdown(),a&&!this.contains(a)&&this._closeItemDropdown()}_closeItemDropdown(){this._showItemDropdown&&setTimeout(()=>{this._showItemDropdown=!1,this.requestUpdate()},0)}focusItem(){var t,a;this._isFocused=!0,(a=(t=this.shadowRoot)==null?void 0:t.querySelector("li"))==null||a.focus()}blurItem(){var t,a;this._isFocused=!1,(a=(t=this.shadowRoot)==null?void 0:t.querySelector("li"))==null||a.blur()}get _scrollContainer(){return document.querySelector(`.${this._scrollContainerClass}`)}_getDropdownFixedPosition(){const t=this.getBoundingClientRect();this._dropdown&&(this._dropdown.style.left=`${t.right+8}px`,this._dropdown.classList.contains("dss-sidemenu-list-item__dropdown--top")?this._dropdown.style.top=`${t.top}px`:this._dropdown.style.top=`${t.bottom-this._dropdown.offsetHeight}px`)}_getTooltipFixedPosition(){if(this._tooltip){const t=this.getBoundingClientRect();this._tooltip.style.top=`${t.top+t.height/2}px`,this._tooltip.style.left=`${t.right-4}px`}}async firstUpdated(){var a,c;await this.updateComplete;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-list-item__tooltip");if(t&&(this._tooltip=t,this._getTooltipFixedPosition()),this._hasNestedMenu){const l=(c=this.shadowRoot)==null?void 0:c.querySelector(".dss-sidemenu-list-item__dropdown");l&&(this._dropdown=l,this._getDropdownFixedPosition())}this._scrollContainer&&this._scrollContainer.addEventListener("scroll",this._handleContainerScrollBound)}updated(t){super.updated(t),t.has("expanded")&&(this._getTooltipFixedPosition(),this._getDropdownFixedPosition())}render(){return sidemenuListItemTemplate(this)}}__decorateClass$l([n({type:String})],SidemenuListItem.prototype,"label");__decorateClass$l([n({type:String})],SidemenuListItem.prototype,"icon");__decorateClass$l([n(booleanType)],SidemenuListItem.prototype,"selected");__decorateClass$l([n(booleanType)],SidemenuListItem.prototype,"disabled");__decorateClass$l([n(booleanType)],SidemenuListItem.prototype,"hasNestedMenu");__decorateClass$l([n(booleanType)],SidemenuListItem.prototype,"expanded");__decorateClass$l([n({type:Number})],SidemenuListItem.prototype,"notifications");__decorateClass$l([n({type:String})],SidemenuListItem.prototype,"notificationsState");__decorateClass$l([n({type:String})],SidemenuListItem.prototype,"nestedMenuPosition");__decorateClass$l([n(booleanType)],SidemenuListItem.prototype,"focusEnabled");__decorateClass$l([n({type:String})],SidemenuListItem.prototype,"scrollContainerClass");const splitButtonStyles=".dss-split-button{position:relative;display:flex;justify-content:center;align-items:center;width:-moz-fit-content;width:fit-content;font-family:var(--font-family)}.dss-split-button .dss-split-button-main:focus-visible,.dss-split-button .dss-split-button-icon:focus-visible{z-index:900}.dss-split-button-main{height:40px;padding-top:var(--dss-spacing-xs);padding-right:var(--dss-spacing-sm);padding-bottom:var(--dss-spacing-xs);padding-left:var(--dss-spacing-lg);box-sizing:border-box;border-radius:0;border-top-left-radius:var(--dss-radius-xl);border-bottom-left-radius:var(--dss-radius-xl);font-size:16px;line-height:24px;font-weight:var(--font-semibold)}.dss-split-button--primary .dss-split-button-main{border-right:var(--dss-border-width-sm) solid var(--color-white)}.dss-split-button--primary .dss-split-button-main:focus-visible{border-right:transparent}.dss-split-button--primary.dss-split-button--disabled .dss-split-button-main{border-right:var(--dss-border-width-sm) solid var(--color-neutral-500)}.dss-split-button-icon{height:40px;padding-top:var(--dss-spacing-xs);padding-right:var(--dss-spacing-md);padding-bottom:var(--dss-spacing-xs);padding-left:var(--dss-spacing-xs);box-sizing:border-box;border-radius:0;border-top-right-radius:var(--dss-radius-xl);border-bottom-right-radius:var(--dss-radius-xl);border-left:0}.dss-split-button-icon:hover:enabled{border-left:0}.dss-split-button--open.dss-split-button--primary .dss-split-button-icon:not(:disabled){background-color:var(--color-primary-700)}.dss-split-button--open.dss-split-button--secondary .dss-split-button-icon:not(:disabled){background-color:var(--color-primary-100)}.dss-split-button--md .dss-split-button-main{height:32px;font-size:14px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-md, 16px)}.dss-split-button--md .dss-split-button-icon{height:32px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-xxs, 4px)}.dss-split-button--sm .dss-split-button-main{height:24px;font-size:12px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-sm, 12px);line-height:16px}.dss-split-button--sm .dss-split-button-icon{height:24px;padding:0px var(--dds-spacing-xxs, 4px) 0px var(--dss-spacing-tiny, 2px)}.dss-split-button-icon:disabled .dss-icon{color:var(--color-neutral-500)}.dss-split-button-action{position:relative}.dss-split-button-dropdown{position:absolute;display:none;z-index:900}.dss-split-button-dropdown--open{display:block}.dss-split-button-dropdown--bottom-right{top:calc(100% + var(--dss-spacing-xxs));left:0}.dss-split-button-dropdown--bottom-left{top:calc(100% + var(--dss-spacing-xxs));right:0}.dss-split-button-dropdown--top-right{bottom:calc(100% + var(--dss-spacing-xxs));left:0}.dss-split-button-dropdown--top-left{bottom:calc(100% + var(--dss-spacing-xxs));right:0}",splitButtonTemplate=d=>{const t={"dss-split-button--primary":d._type==="primary","dss-split-button--secondary":d._type==="secondary","dss-split-button--open":d._isOpen,"dss-split-button--disabled":d._disabled,[`dss-split-button--${d._size}`]:!!d._size},a={"dss-button--primary":d._type==="primary","dss-button--secondary":d._type==="secondary"},c={"dss-split-button-dropdown":!0,"dss-split-button-dropdown--open":d._isOpen,[`dss-split-button-dropdown--${d._dropdownPosition}`]:!!d._dropdownPosition};return x` -
    - -
    - -
    - -
    -
    -
    - `};var __defProp$k=Object.defineProperty,__getOwnPropDesc$k=Object.getOwnPropertyDescriptor,__decorateClass$k=(d,t,a,c)=>{for(var l=__getOwnPropDesc$k(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$k(t,a,l),l};class SplitButton extends r$1{constructor(){super(),this._size="lg",this._iconClose="expand_more",this._iconOpen="expand_less",this._type="primary",this._text="",this._disabled=!1,this._isOpen=!1,this._dropdownPosition="bottom-right",this._hasMenu=!1,this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleActionMenuClickBound=this._handleActionMenuClick.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(splitButtonStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound),this.addEventListener("onActionMenuItemClick",this._handleActionMenuClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound),this.removeEventListener("onActionMenuItemClick",this._handleActionMenuClickBound)}set iconClose(t){const a=this._iconClose;this._iconClose=t,this.requestUpdate("iconClose",a)}set iconOpen(t){const a=this._iconOpen;this._iconOpen=t,this.requestUpdate("iconOpen",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set isOpen(t){const a=this._isOpen;this._isOpen=t,this.requestUpdate("disabled",a)}set size(t){const a=this._size;t==="md"||t==="sm"?this._size=t:this._size="lg",this.requestUpdate("size",a)}set dropdownPosition(t){const a=this._dropdownPosition;this._dropdownPosition=t,this.requestUpdate("dropdownPosition",a)}set hasMenu(t){const a=this._hasMenu;this._hasMenu=t,this.requestUpdate("hasMenu",a)}_dispatchMainClick(){const t={bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSplitButtonMainClick",t))}_dispatchIconClick(){this._hasMenu&&this._toggleMenu();const t={bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSplitButtonIconClick",t))}_toggleMenu(){this._isOpen=!this._isOpen,this.requestUpdate()}_handleActionMenuClick(){this._isOpen&&(this._isOpen=!1),this.requestUpdate()}_handleDocumentClick(t){this._clickedOutsideItem(this,t)}_clickedOutsideItem(t,a){a.composedPath().includes(t)||this._isOpen&&(this._isOpen=!1,this.requestUpdate())}render(){return splitButtonTemplate(this)}}__decorateClass$k([n({type:String})],SplitButton.prototype,"iconClose");__decorateClass$k([n({type:String})],SplitButton.prototype,"iconOpen");__decorateClass$k([n({type:String})],SplitButton.prototype,"type");__decorateClass$k([n({type:String})],SplitButton.prototype,"text");__decorateClass$k([n(booleanType)],SplitButton.prototype,"disabled");__decorateClass$k([n(booleanType)],SplitButton.prototype,"isOpen");__decorateClass$k([n({type:String})],SplitButton.prototype,"size");__decorateClass$k([n({type:String})],SplitButton.prototype,"dropdownPosition");__decorateClass$k([n(booleanType)],SplitButton.prototype,"hasMenu");const uploadBoxStyles=':host{display:grid;min-width:380px;width:100%;gap:var(--dss-spacing-xs)}.upload-box{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-md);border:var(--dss-border-width-sm) dashed var(--color-neutral-100);transition:all .25s ease-in-out}.upload-box.dragover{background-color:var(--color-primary-50);border-color:var(--color-prim-salut)}::slotted(input),input[type=file]{display:none}.dss-decorative-icon{transition:all .25s ease-in-out}.upload-box-cta{flex:1;display:grid;gap:var(--dss-spacing-xs)}.upload-box-cta__message{font-size:16px;line-height:24px;color:var(--color-neutral-900)}.upload-box-cta__message .action{color:var(--color-primary-500);font-weight:var(--font-semibold);cursor:pointer}.upload-box-cta__requirements,.upload-box-message{font-size:12px;line-height:16px;color:var(--color-neutral-600)}.upload-box-message{padding:0 var(--dss-spacing-sm)}.upload-box-files .file-list{display:grid;gap:var(--dss-spacing-xs)}.upload-box--has-files .upload-box-files .file-list{width:100%}.upload-box-files .file{display:flex;min-height:40px;box-sizing:border-box;gap:var(--dss-spacing-sm);justify-content:space-between;align-items:center;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);padding:0 var(--dss-spacing-sm);padding-top:0;padding-bottom:0;padding-left:var(--dss-spacing-xs);padding-right:var(--dss-spacing-sm);width:100%}.upload-box-files .file-actions{display:flex;gap:var(--dss-spacing-xs)}.upload-box-files .file-description{flex:1;padding-top:var(--dss-spacing-xs);padding-bottom:var(--dss-spacing-xs)}.upload-box-files .file-description__name{height:24px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.file-description__error{font-size:12px;line-height:16px;color:var(--color-red-500)}.upload-box-button{text-wrap:nowrap}.upload-box--md{display:flex;justify-content:space-between;padding:var(--dss-spacing-xs) var(--dss-spacing-sm);min-height:56px}.upload-box--md .upload-box-cta{display:flex;justify-content:flex-start;align-items:center;height:100%}.upload-box--md .upload-box-cta__message{font-size:14px}.upload-box--md .upload-box-button{margin-top:var(--dss-spacing-xxs)}.upload-box--error{background-color:var(--color-red-50);border-color:var(--color-red-500)}.upload-box--error .upload-box-cta__requirements,.upload-box-message--error{color:var(--color-red-500)}.upload-box--md .upload-box-files{padding:var(--dss-spacing-xxs) 0}.upload-box--md .upload-box-files .file-list{display:grid;gap:var(--dss-spacing-xs)}.upload-box--md.upload-box--has-files .upload-box-files .file-list{grid-template-columns:1fr}.upload-box--md .upload-box-files .file{display:flex;justify-content:flex-start;align-items:center}.upload-box--disabled{cursor:not-allowed;background-color:var(--color-neutral-50)}.upload-box--disabled .upload-box-cta__requirements,.upload-box--disabled .upload-box-message{color:var(--color-neutral-500)!important}.upload-box--disabled .upload-box-cta__message,.upload-box--disabled .upload-box-cta__message .action{color:var(--color-neutral-400)!important;cursor:not-allowed}.dot-flashing{display:inline-block;position:relative;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite linear alternate;animation-delay:.5s;margin-left:var(--dss-spacing-xs)}.dot-flashing:before,.dot-flashing:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing:before{left:-6px;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite alternate;animation-delay:0s}.dot-flashing:after{left:6px;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite alternate;animation-delay:1s}@keyframes dot-flashing{0%{background-color:var(--color-neutral-900)}50%,to{background-color:var(--color-neutral-50)}}';var __defProp$j=Object.defineProperty,__getOwnPropDesc$j=Object.getOwnPropertyDescriptor,__decorateClass$j=(d,t,a,c)=>{for(var l=__getOwnPropDesc$j(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$j(t,a,l),l};class UploadBox extends r$1{constructor(){super(...arguments),this._dragOver=!1,this._files=[],this._disabled=!1,this._dragAndDropIcon="file_upload",this._fileExplorerMessage="Clica per pujar",this._dragAndDropMessage="o arrossega arxius aquí",this._filesFormatMessage="PDF, JPEG o PNG de menys de 5MB",this._buttonLabel="Buscar arxius",this._filesFormat=["pdf","jpeg","png"],this._fileFormatErrorMessage="Format d’arxiu incorrecte",this._fileSizeErrorMessage="Mida d’arxiu incorrecte",this._fileFormatAndSizeErrorMessage="Format i mida d’arxiu incorrecte",this._maxFileSize=5242880,this._fileErrors={},this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._input&&this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(decorativeIconStyles),r$2(uploadBoxStyles)]}set dragAndDropIcon(t){const a=this._dragAndDropIcon;this._dragAndDropIcon=t,this.requestUpdate("dragAndDropIcon",a)}set dragAndDropMessage(t){const a=this._dragAndDropMessage;this._dragAndDropMessage=t,this.requestUpdate("dragAndDropMessage",a)}set fileExplorerMessage(t){const a=this._fileExplorerMessage;this._fileExplorerMessage=t,this.requestUpdate("fileExplorerMessage",a)}set filesFormatMessage(t){const a=this._filesFormatMessage;this._filesFormatMessage=t,this.requestUpdate("filesFormatMessage",a)}set buttonLabel(t){const a=this._buttonLabel;this._buttonLabel=t,this.requestUpdate("buttonLabel",a)}set filesFormat(t){const a=this._filesFormat;this._filesFormat=t,this.requestUpdate("filesFormat",a)}set maxFileSize(t){const a=this._maxFileSize;this._maxFileSize=t,this.requestUpdate("maxFileSize",a)}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}disconnectedCallback(){this.observer.disconnect()}_checkInputAttributes(){var a;const t=(a=this._input)==null?void 0:a.getAttribute("disabled");this._disabled=t!==null,this.requestUpdate()}_onDragOver(t){t.preventDefault(),!this._dragOver&&!this._disabled&&(this._dragOver=!0,this.requestUpdate())}_onDragLeave(t){t.preventDefault(),this._dragOver&&!this._disabled&&(this._dragOver=!1,this.requestUpdate())}_onDrop(t){var a;if(t.preventDefault(),!this._disabled){this._dragOver&&(this._dragOver=!1,this.requestUpdate());const c=(a=t.dataTransfer)==null?void 0:a.files;c&&this._handleUploadedFiles(c)}}_onClick(){this._input&&!this._disabled&&this._input.click()}_onSlotInputChange(){this._input&&this._input.addEventListener("change",this._handleInputFileChange.bind(this))}_isValidFileFormat(t){var c;const a=(c=t.name.split(".").pop())==null?void 0:c.toLowerCase();return this._filesFormat.includes(a||"")}_isValidFileSize(t){return t.size<=this._maxFileSize}_validateFile(t){let a=!0,c="";return!this._isValidFileSize(t)&&!this._isValidFileFormat(t)?(a=!1,c=this._fileFormatAndSizeErrorMessage):this._isValidFileSize(t)&&!this._isValidFileFormat(t)?(a=!1,c=this._fileFormatErrorMessage):!this._isValidFileSize(t)&&this._isValidFileFormat(t)&&(a=!1,c=this._fileSizeErrorMessage),a||(this._fileErrors[t.name]=c),a}_isAlreadyUploaded(t){return this._files.some(a=>a.name===t.name)}_handleInputFileChange(t){const a=t.target;a.files&&this._handleUploadedFiles(a.files)}_handleUploadedFiles(t){if(t&&t.length>0){for(const a of Array.from(t))if(!this._isAlreadyUploaded(a)){const c=this._validateFile(a),l=a;l.status=c?"loading":"invalid",this._files.push(l),this.requestUpdate(),this._readFile(a,c)}}}_readFile(t,a){const c=new FileReader;c.onload=()=>{this._files.find(l=>l.name===t.name).status=a?"ready":"invalid",this.requestUpdate(),this._dispatchUploadFiles()},c.onerror=()=>{this._files.find(l=>l.name===t.name).status="error",c.error&&(this._fileErrors[t.name]=c.error.message),this.requestUpdate()},c.readAsDataURL(t)}_removeFile(t){this._files.splice(t,1),this._dispatchUploadFiles(),this._input&&(this._input.value=""),this.requestUpdate()}_reloadFile(t){this._files.find(a=>a.name===t.name).status="loading",this._fileErrors[t.name]="",this.requestUpdate(),this._readFile(t)}_dispatchUploadFiles(){const t={detail:this._files,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onUploadFiles",t))}async firstUpdated(){try{await this.updateComplete,this._input&&(this.observer.observe(this._input,this.observerConfig),this._checkInputAttributes(),this._onSlotInputChange())}catch{console.error("ERROR OCURRED")}}render(){const t={dragover:this._dragOver,"upload-box--disabled":this._disabled},a={"dss-decorative-icon--disabled":this._disabled};return x` - -
    -
    - ${this._dragAndDropIcon} -
    -
    -
    - ${this._fileExplorerMessage} - ${this._dragAndDropMessage} -
    -
    - ${this._filesFormatMessage} -
    -
    - -
    - - -
    -
      - ${this._files.map((c,l)=>x` -
    • - ${this._fileErrors[c.name]?x` -
      - error_outline -
      - `:c.status==="loading"?x` -
      - downloading -
      - `:x` -
      - check -
      - `} -
      -

      - ${c.name} - ${c.status==="loading"?x` `:x``} -

      - ${this._fileErrors[c.name]?x` -

      - ${this._fileErrors[c.name]} -

      - `:""} -
      -
      - ${c.status==="loading"?x` - - `:x` - ${c.status==="error"?x` - - `:x``} - - `} -
      -
    • - `)} -
    -
    - `}}__decorateClass$j([n({type:String})],UploadBox.prototype,"dragAndDropIcon");__decorateClass$j([n({type:String})],UploadBox.prototype,"dragAndDropMessage");__decorateClass$j([n({type:String})],UploadBox.prototype,"fileExplorerMessage");__decorateClass$j([n({type:String})],UploadBox.prototype,"filesFormatMessage");__decorateClass$j([n({type:String})],UploadBox.prototype,"buttonLabel");__decorateClass$j([n({type:Array})],UploadBox.prototype,"filesFormat");__decorateClass$j([n({type:Number})],UploadBox.prototype,"maxFileSize");const userFeedbackStyles=":host{display:block;width:-moz-fit-content;width:fit-content}.dss-user-feedback{display:flex;align-items:center;flex-direction:column;gap:var(--dss-spacing-md);min-width:220px;width:-moz-fit-content;width:fit-content;max-width:100%;text-align:center}.dss-user-feedback__image{width:100%;max-width:220px;margin:auto;text-align:center}.dss-user-feedback__body{display:flex;flex-direction:column;gap:var(--dss-spacing-xxs);max-width:220px}.dss-user-feedback__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:20px;line-height:var(--line-30)}.dss-user-feedback__description{font-size:14px;line-height:var(--line-24)}.dss-user-feedback__button-group{display:flex;align-items:center;justify-content:center;gap:var(--dss-spacing-md)}.dss-user-feedback__details-action{text-align:center}.dss-user-feedback__details-button{all:unset;display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in;vertical-align:middle;cursor:pointer}.dss-user-feedback__details-button:hover{color:var(--color-primary-600)}.dss-user-feedback__details-button:active{color:var(--color-primary-400)}.dss-user-feedback__details-button:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-user-feedback__details-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-user-feedback__details-button-text{text-decoration:underline}.dss-user-feedback__details-content ::slotted(div){font-size:14px;line-height:var(--line-24)}",userFeedbackTemplate=d=>x` -
    - ${d._imageAlt} -
    -

    ${d._title}

    -

    ${d._description}

    - ${d._hasDetails?x` -
    - -
    - - ${d._detailsExpanded?x` -
    - -
    - `:null} - `:null} -
    - ${d._hideFooter?null:x` -
    - -
    - `} -
    -`;var __defProp$i=Object.defineProperty,__getOwnPropDesc$i=Object.getOwnPropertyDescriptor,__decorateClass$i=(d,t,a,c)=>{for(var l=__getOwnPropDesc$i(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$i(t,a,l),l};class UserFeedback extends r$1{constructor(){super(...arguments),this._imageSrc="",this._imageAlt="",this._title="Title",this._description="Lorem ipsum.",this._hasDetails=!1,this._detailsLabel="Veure detalls",this._detailsExpanded=!1,this._hideFooter=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(userFeedbackStyles)]}set imageSrc(t){const a=this._imageSrc;this._imageSrc=t,this.requestUpdate("imageSrc",a)}set imageAlt(t){const a=this._imageAlt;this._imageAlt=t,this.requestUpdate("imageAlt",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set hasDetails(t){const a=this._hasDetails;this._hasDetails=t,this.requestUpdate("hasDetails",a)}set detailsLabel(t){const a=this._detailsLabel;this._detailsLabel=t,this.requestUpdate("detailsLabel",a)}set hideFooter(t){const a=this._hideFooter;this._hideFooter=t,this.requestUpdate("hideFooter",a)}_handleDetailsClick(){this._detailsExpanded=!this._detailsExpanded,this.requestUpdate()}render(){return userFeedbackTemplate(this)}}__decorateClass$i([n({type:String})],UserFeedback.prototype,"imageSrc");__decorateClass$i([n({type:String})],UserFeedback.prototype,"imageAlt");__decorateClass$i([n({type:String})],UserFeedback.prototype,"title");__decorateClass$i([n({type:String})],UserFeedback.prototype,"description");__decorateClass$i([n(booleanType)],UserFeedback.prototype,"hasDetails");__decorateClass$i([n({type:String})],UserFeedback.prototype,"detailsLabel");__decorateClass$i([n(booleanType)],UserFeedback.prototype,"hideFooter");const cardStyles=i$1` - :host { - display: block; - width: 100%; - } - - .dss-card { - display: flex; - flex-direction: column; - gap: var(--dss-spacing-xs); - background-color: var(--color-white); - border: var(--dss-border-width-sm) solid var(--color-neutral-100); - border-radius: var(--dss-radius-lg); - padding: var(--dss-spacing-md); - transition: all 0.3s ease-in-out; - - &:hover:not(.dss-card--dragged):not(.dss-card--deleted):not( - .dss-card--disabled - ) { - /* background-color: var(--color-primary-100); */ - border-color: var(--color-primary-500); - } - - &:active:not(.dss-card--dragged):not(.dss-card--deleted):not( - .dss-card--disabled - ) { - background-color: var(--color-primary-50); - } - - &:focus-visible { - border-color: var(--color-blue-200); - outline: var(--dss-border-width-lg) solid var(--color-blue-200); - } - } - - .dss-card--selected { - border-color: var(--color-primary-500); - border-width: var(--dss-border-width-md); - } - - .dss-card--dragged { - /* border-color: var(--color-primary-500); */ - border-color: transparent !important; - /* border-width: var(--dss-border-width-md); */ - box-shadow: 0px 4px 4px 0px #0000001a; - box-shadow: 0px 8px 12px 6px #0000000d; - } - - .dss-card--deleted { - border-color: var(--color-red-500); - border-width: var(--dss-border-width-md); - } - - .dss-card--disabled { - background-color: var(--color-neutral-50); - } - - .dss-card-top { - display: flex; - align-items: center; - gap: var(--dss-spacing-xs); - padding-bottom: var(--dss-spacing-sm); - border-bottom: var(--dss-border-width-sm) solid var(--color-neutral-50); - } - - .dss-card-top__details { - display: grid; - grid-template-columns: auto minmax(min-content, 1fr); - align-items: center; - gap: var(--dss-spacing-lg); - flex: 1; - } -`;var __defProp$h=Object.defineProperty,__getOwnPropDesc$h=Object.getOwnPropertyDescriptor,__decorateClass$h=(d,t,a,c)=>{for(var l=__getOwnPropDesc$h(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$h(t,a,l),l};class Card extends r$1{constructor(){super(...arguments),this._dragged=!1,this._deleted=!1,this._selected=!1,this._disabled=!1,this._hasClose=!1,this._hasDetails=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),cardStyles]}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set dragged(t){const a=this._dragged;this._dragged=t,this.requestUpdate("dragged",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasClose(t){const a=this._hasClose;this._hasClose=t,this.requestUpdate("hasClose",a)}set hasDetails(t){const a=this._hasDetails;this._hasDetails=t,this.requestUpdate("hasDetails",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}_dispatchClose(){this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0}))}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){const t={"dss-card--selected":this._selected,"dss-card--dragged":this._dragged,"dss-card--deleted":this._deleted,"dss-card--disabled":this._disabled};return x` -
    - ${this._hasClose||this._hasDetails?x` -
    -
    - - -
    - ${this._hasClose?x` -
    - -
    - `:x``} -
    - `:x``} - - - - - - - -
    - `}}__decorateClass$h([n(booleanType)],Card.prototype,"selected");__decorateClass$h([n(booleanType)],Card.prototype,"dragged");__decorateClass$h([n(booleanType)],Card.prototype,"deleted");__decorateClass$h([n(booleanType)],Card.prototype,"disabled");__decorateClass$h([n(booleanType)],Card.prototype,"hasClose");__decorateClass$h([n(booleanType)],Card.prototype,"hasDetails");var __defProp$g=Object.defineProperty,__getOwnPropDesc$g=Object.getOwnPropertyDescriptor,__decorateClass$g=(d,t,a,c)=>{for(var l=__getOwnPropDesc$g(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$g(t,a,l),l};class CardBody extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: flex; - flex-direction: column; - gap: var(--dss-spacing-xxs); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$g([n(booleanType)],CardBody.prototype,"deleted");__decorateClass$g([n(booleanType)],CardBody.prototype,"disabled");var __defProp$f=Object.defineProperty,__getOwnPropDesc$f=Object.getOwnPropertyDescriptor,__decorateClass$f=(d,t,a,c)=>{for(var l=__getOwnPropDesc$f(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$f(t,a,l),l};class CardDescription extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),i$1` - .dss-card-description { - font-size: 14px; - line-height: 24px; - color: var(--color-neutral-600); - } - - .dss-card-description.deleted { - color: var(--color-red-500); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - -

    - `}}__decorateClass$f([n(booleanType)],CardDescription.prototype,"deleted");__decorateClass$f([n(booleanType)],CardDescription.prototype,"disabled");var __defProp$e=Object.defineProperty,__getOwnPropDesc$e=Object.getOwnPropertyDescriptor,__decorateClass$e=(d,t,a,c)=>{for(var l=__getOwnPropDesc$e(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$e(t,a,l),l};class CardFooter extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return i$1` - :host { - display: flex; - justify-content: flex-end; - align-items: center; - width: 100%; - gap: var(--dss-spacing-sm); - padding-top: var(--dss-spacing-sm) !important; - border-top: var(--dss-border-width-sm) solid var(--color-neutral-50); - } - `}get _footerContent(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector("slot"))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){if(this._footerContent)for(const t of this._footerContent)this._disabled?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),this._deleted?t.classList.contains("dss-button--primary")&&(t.classList.remove("dss-button--primary"),t.classList.add("dss-button--error")):t.classList.contains("dss-button--error")&&(t.classList.add("dss-button--primary"),t.classList.remove("dss-button--error"))}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$e([n(booleanType)],CardFooter.prototype,"deleted");__decorateClass$e([n(booleanType)],CardFooter.prototype,"disabled");var __defProp$d=Object.defineProperty,__getOwnPropDesc$d=Object.getOwnPropertyDescriptor,__decorateClass$d=(d,t,a,c)=>{for(var l=__getOwnPropDesc$d(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$d(t,a,l),l};class CardForm extends r$1{constructor(){super(...arguments),this._disabled=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: var(--dss-spacing-xxs); - width: 100%; - } - - ::slotted(*) { - width: 100%; - } - `]}get _formContent(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector("slot"))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){if(this._formContent)for(const t of this._formContent)t.querySelectorAll("input").forEach(c=>{this._disabled?c.setAttribute("disabled","true"):c.removeAttribute("disabled")})}updated(t){super.updated(t),t.has("disabled")&&this._propagateProperties()}render(){return x` `}}__decorateClass$d([n(booleanType)],CardForm.prototype,"disabled");var __defProp$c=Object.defineProperty,__getOwnPropDesc$c=Object.getOwnPropertyDescriptor,__decorateClass$c=(d,t,a,c)=>{for(var l=__getOwnPropDesc$c(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$c(t,a,l),l};class CardHeader extends r$1{constructor(){super(...arguments),this._flag=!1,this._hasMenu=!1,this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - .dss-card-header { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-lg); - width: 100%; - } - - .dss-card-header-title { - flex: 1; - } - - .dss-card-header-actions { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .dss-card-header-actions__flag { - color: var(--color-red-500); - } - `]}set flag(t){const a=this._flag;this._flag=t,this.requestUpdate("flag",a)}set hasMenu(t){const a=this._hasMenu;this._hasMenu=t,this.requestUpdate("hasMenu",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -
    -
    - -
    - ${this._flag||this._hasMenu?x` -
    - ${this._flag?x` flag`:""} - ${this._hasMenu?x` `:x``} -
    - `:x``} -
    - `}}__decorateClass$c([n(booleanType)],CardHeader.prototype,"flag");__decorateClass$c([n(booleanType)],CardHeader.prototype,"hasMenu");__decorateClass$c([n(booleanType)],CardHeader.prototype,"deleted");__decorateClass$c([n(booleanType)],CardHeader.prototype,"disabled");var __defProp$b=Object.defineProperty,__getOwnPropDesc$b=Object.getOwnPropertyDescriptor,__decorateClass$b=(d,t,a,c)=>{for(var l=__getOwnPropDesc$b(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$b(t,a,l),l};class CardHighlightsItem extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1,this._title="Title",this._icon="",this._text="Item"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - .dss-card-highligth { - width: 100%; - background-color: var(--color-blue-50); - padding: var(--dss-spacing-xxs) var(--dss-spacing-xs); - border-radius: var(--dss-radius-sm); - } - - .dss-card-highligth__title { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-blue-700); - } - - .dss-card-highligth__item { - display: flex; - align-items: center; - gap: var(--dss-spacing-xxs); - font-size: 14px; - line-height: 24px; - color: var(--color-blue-700); - } - - .dss-card-highligth.deleted { - background-color: var(--color-red-50); - } - - .dss-card-highligth.deleted .dss-card-highligth__title, - .dss-card-highligth.deleted .dss-card-highligth__item { - color: var(--color-red-700); - } - - .dss-card-highligth.disabled { - background-color: var(--color-neutral-50); - } - - .dss-card-highligth.disabled .dss-card-highligth__title, - .dss-card-highligth.disabled .dss-card-highligth__item { - color: var(--color-neutral-700); - } - `]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -
    -
    ${this._title}
    -

    - ${this._icon?x`${this._icon}`:""} - ${this._text} -

    -
    - `}}__decorateClass$b([n({type:String})],CardHighlightsItem.prototype,"icon");__decorateClass$b([n({type:String})],CardHighlightsItem.prototype,"title");__decorateClass$b([n({type:String})],CardHighlightsItem.prototype,"text");__decorateClass$b([n(booleanType)],CardHighlightsItem.prototype,"deleted");__decorateClass$b([n(booleanType)],CardHighlightsItem.prototype,"disabled");var __defProp$a=Object.defineProperty,__getOwnPropDesc$a=Object.getOwnPropertyDescriptor,__decorateClass$a=(d,t,a,c)=>{for(var l=__getOwnPropDesc$a(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$a(t,a,l),l};class CardHighlights extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return i$1` - :host { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(10px, 1fr)); - gap: var(--dss-spacing-sm); - } - `}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$a([n(booleanType)],CardHighlights.prototype,"deleted");__decorateClass$a([n(booleanType)],CardHighlights.prototype,"disabled");var __defProp$9=Object.defineProperty,__getOwnPropDesc$9=Object.getOwnPropertyDescriptor,__decorateClass$9=(d,t,a,c)=>{for(var l=__getOwnPropDesc$9(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$9(t,a,l),l};class CardImage extends r$1{constructor(){super(...arguments),this._source="",this._alt=""}static get styles(){return[i$1` - :host { - display: flex; - justify-content: center; - align-items: center; - max-height: 124px; - overflow: hidden; - border-radius: var(--dss-radius-sm); - } - - img { - width: 100%; - max-width: 100%; - height: 100%; - object-fit: cover; - object-position: center; - border-radius: var(--dss-radius-sm); - } - `]}set source(t){const a=this._source;this._source=t,this.requestUpdate("source",a)}set alt(t){const a=this._alt;this._alt=t,this.requestUpdate("alt",a)}render(){return x` ${this._alt} `}}__decorateClass$9([n({type:String})],CardImage.prototype,"source");__decorateClass$9([n({type:String})],CardImage.prototype,"alt");var __defProp$8=Object.defineProperty,__getOwnPropDesc$8=Object.getOwnPropertyDescriptor,__decorateClass$8=(d,t,a,c)=>{for(var l=__getOwnPropDesc$8(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$8(t,a,l),l};class CardInfoItem extends r$1{constructor(){super(...arguments),this._icon="add_box",this._text="Info",this._critic=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: inline-block; - } - - .info { - display: flex; - align-items: center; - gap: var(--dss-spacing-tiny); - font-size: 12px; - line-height: 16px; - font-weight: var(--font-regular); - } - - .info--critic { - color: var(--color-red-500); - } - `]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set critic(t){const a=this._critic;this._critic=t,this.requestUpdate("text",a)}render(){const t={"info--critic":this._critic};return x` -
    - ${this._icon?x`${this._icon}`:""} - ${this._text} -
    - `}}__decorateClass$8([n({type:String})],CardInfoItem.prototype,"icon");__decorateClass$8([n({type:String})],CardInfoItem.prototype,"text");__decorateClass$8([n(booleanType)],CardInfoItem.prototype,"critic");class CardInfo extends r$1{static get styles(){return i$1` - :host { - display: flex; - justify-content: flex-end; - align-items: center; - width: 100%; - gap: var(--dss-spacing-sm); - flex-wrap: wrap; - min-width: 150px; - } - `}render(){return x` `}}var __defProp$7=Object.defineProperty,__getOwnPropDesc$7=Object.getOwnPropertyDescriptor,__decorateClass$7=(d,t,a,c)=>{for(var l=__getOwnPropDesc$7(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$7(t,a,l),l};class CardMenu extends r$1{constructor(){super(...arguments),this._position="right",this._disabled=!1,this._showMenu=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),i$1` - :host { - display: block; - } - - .dss-card-menu { - position: relative; - } - - .dss-card-menu-dropdown { - position: absolute; - top: 0; - z-index: 900; - } - - .dss-card-menu-dropdown--right { - left: calc(100% + var(--dss-spacing-sm)); - } - - .dss-card-menu-dropdown--left { - right: calc(100% + var(--dss-spacing-sm)); - } - - .dss-card-menu-dropdown.hidden { - display: none; - } - `]}set position(t){const a=this._position;this._position=t,this.requestUpdate("position",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_clickedOutsideDropdown(t,a){a.composedPath().includes(t)||this._showMenu&&(this._showMenu=!1,this.requestUpdate())}_openMenu(){this._showMenu=!0,this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._disabled||document.addEventListener("click",t=>{this._clickedOutsideDropdown(this,t)}),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){const t={hidden:!this._showMenu,"dss-card-menu-dropdown--left":this._position==="left","dss-card-menu-dropdown--right":this._position!=="left"};return x` -
    - -
    - -
    -
    - `}}__decorateClass$7([n({type:String})],CardMenu.prototype,"position");__decorateClass$7([n(booleanType)],CardMenu.prototype,"disabled");var __defProp$6=Object.defineProperty,__getOwnPropDesc$6=Object.getOwnPropertyDescriptor,__decorateClass$6=(d,t,a,c)=>{for(var l=__getOwnPropDesc$6(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$6(t,a,l),l};class CardSubitle extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1,this._hasLink=!1,this._linkHref="#",this._hasIcon=!1,this._icon="add_box"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - :host { - width: 100%; - display: block; - } - .dss-card-subtitle { - display: flex; - align-items: center; - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-neutral-900); - gap: var(--dss-spacing-xxs); - } - - .dss-card-subtitle.deleted { - color: var(--color-red-500); - } - - .dss-card-subtitle__link { - color: var(--color-primary-500); - - &:visited { - color: var(--color-purple-700); - } - - &:hover { - color: var(--color-primary-600); - } - - &:active { - color: var(--color-primary-400); - } - - &:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - } - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasLink(t){const a=this._hasLink;this._hasLink=t,this.requestUpdate("hasLink",a)}set linkHref(t){const a=this._linkHref;this._linkHref=t,this.requestUpdate("linkHref",a)}set hasIcon(t){const a=this._hasIcon;this._hasIcon=t,this.requestUpdate("hasLhasIconink",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - ${this._hasIcon?x` ${this._icon} `:null} - ${this._hasLink?x` - - - - `:x` `} -

    - `}}__decorateClass$6([n(booleanType)],CardSubitle.prototype,"deleted");__decorateClass$6([n(booleanType)],CardSubitle.prototype,"disabled");__decorateClass$6([n(booleanType)],CardSubitle.prototype,"hasLink");__decorateClass$6([n({type:String})],CardSubitle.prototype,"linkHref");__decorateClass$6([n(booleanType)],CardSubitle.prototype,"hasIcon");__decorateClass$6([n({type:String})],CardSubitle.prototype,"icon");class CardTags extends r$1{static get styles(){return i$1` - :host { - display: flex; - align-items: center; - width: 100%; - gap: var(--dss-spacing-xxs); - flex-wrap: wrap; - min-width: 150px; - } - `}render(){return x` `}}var __defProp$5=Object.defineProperty,__getOwnPropDesc$5=Object.getOwnPropertyDescriptor,__decorateClass$5=(d,t,a,c)=>{for(var l=__getOwnPropDesc$5(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$5(t,a,l),l};class CardTitle extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),i$1` - :host { - display: block; - } - .dss-card-title { - font-size: 18px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-neutral-900); - } - - .dss-card-title.deleted { - color: var(--color-red-500); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - -

    - `}}__decorateClass$5([n(booleanType)],CardTitle.prototype,"deleted");__decorateClass$5([n(booleanType)],CardTitle.prototype,"disabled");var __defProp$4=Object.defineProperty,__getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$4=(d,t,a,c)=>{for(var l=__getOwnPropDesc$4(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$4(t,a,l),l};const I=class I extends r$1{constructor(){super(...arguments),this._value="",this._label="",this._placeHolder="",this._previousDate="",this._minDate="",this._maxDate="",this._showCalendar=!1,this._showTime=!1,this._invalid=!1,this._showButtons=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._leftLabel="Cancel·lar",this._rightLabel="Acceptar",this._isFocused=!1,this._internals=this.attachInternals()}static get styles(){return i$1` - :host { - display: flex; - width: fit-content; - height: fit-content; - position: relative; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - cursor: text; - position: absolute; - } - - input { - outline: none; - border: 0; - font-size: 14px; - line-height: 24px; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - position: relative; - width: 100%; - } - - .dss-input--disabled { - opacity: 0.6; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input--disabled label, - .dss-input--disabled input { - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 1px #d8d8d8; - border-radius: 8px; - padding: 12px; - display: flex; - gap: 8px; - } - - :host([small]) .dss-input__group { - padding: 8px 12px; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input__group--focused { - padding: 4px 12px; - } - - :host([small]) .dss-input__group--focused { - padding: 1px 12px; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 12px; - line-height: 16px; - transition: 0.3s; - top: 4px; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 2px; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 16px !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 14px !important; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 1px #b60000; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group input, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: #fff6f6; - color: #b60000; - } - - .dss-input--invalid .dss-input__group input { - color: #1d1d1d; - } - - .dss-input__group:focus-visible, - .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - background-color: #ffffff; - outline: none; - } - - .dss-input--invalid .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 24px; - } - - dss-calendar { - position: absolute; - top: 56px; - z-index: 900; - } - - :host([small]) dss-Calendar { - top: 48px; - } - `}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}set value(t){const a=this._value;this._value=t,this._input&&(this._input.value=t),this.requestUpdate("value",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set showTime(t){const a=this._showTime;this._showTime=t,this.requestUpdate("showTime",a)}set showButtons(t){const a=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",a)}set leftLabel(t){const a=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",a)}set rightLabel(t){const a=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",a)}set minDate(t){const a=this._minDate;this._minDate=t,this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}get value(){let t="";return this._input?t=this._input.value:t=this._value,t}get form(){return this._internals.form}get name(){return this.getAttribute("name")}get type(){return this.localName}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}formResetCallback(){this._input.value="",this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._value&&(this._input.value=this._value),this._closeDropdown(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_closeDropdown(){document.addEventListener("click",t=>{t.target!==this&&(this._showCalendar=!1,this._isFocused=!1,this.requestUpdate())}),document.addEventListener("focusout",t=>{t.target===this&&(this._showCalendar=!1,this._isFocused=!1,this.requestUpdate())})}_handleKeyUp(t){var a,c,l,h,p;if((t==null?void 0:t.key)==="Tab"?(this._isFocused=!0,this._handleBlur()):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this._handleBlur()):(t==null?void 0:t.key)==="Escape"&&(this._isFocused=!0,this._showCalendar=!1,this._handleBlur()),t.key==="Enter"&&((a=this._input.value)==null?void 0:a.length)>7){const b=(c=this._input.value)==null?void 0:c.replace(/(\d+[/])(\d+[/])/,"$2$1"),g=new Date(b),m=(l=g.getDate())==null?void 0:l.toString().padStart(2,"0"),w=(g.getMonth()+1).toString().padStart(2,"0"),v=g.getFullYear(),f=(h=g.getHours())==null?void 0:h.toString().padStart(2,"0"),y=(p=g.getMinutes())==null?void 0:p.toString().padStart(2,"0");let k=`${m}/${w}/${v}`;this._showTime&&(k+=` ${f}:${y}`),this._input.value=k,this._dispatchValueChange(),this.requestUpdate()}}_handleInput(t){var c;const a=(c=t.target.value)==null?void 0:c.replace(/\D/g,"");this._input.value=this._formatDate(a),this._dispatchValueChange(),this.requestUpdate()}_formatDate(t){let a=t.substring(0,2),c=t.substring(2,4);const l=t.substring(4,8);let h=t.substring(8,10),p=t.substring(10,12);Number(a)>3&&(a=a==null?void 0:a.padStart(2,"0")),Number(c)>1&&(c=c==null?void 0:c.padStart(2,"0")),Number(a)>31&&(a="31"),Number(c)>12&&(c="12"),c==="02"&&Number(a)>28&&(l==null?void 0:l.length)===4&&(a=new Date(Number(l),1,29).getMonth()===1?"29":"28");let b=`${a}${c?`/${c}`:""}${l?`/${l}`:""}`;return this._showTime&&(Number(h)>2&&(h=h==null?void 0:h.padStart(2,"0")),Number(h)>23&&(h="23"),Number(p)>5&&(p=p==null?void 0:p.padStart(2,"0")),b=`${b}${h?` ${h}`:""}${p?`:${p}`:""}`),b}_handleFocus(){this._readonly||(this._placeHolder=this._showTime?"DD/MM/YYYY HH:MM":"DD/MM/YYYY",this.requestUpdate())}_handleBlur(){this.requestUpdate()}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}_onDateChange(t){const a=t.detail;this._input.value=a,this._showCalendar=!1,this._dispatchValueChange(),this.requestUpdate()}_onCancel(){this._showCalendar=!1,this._input.value=this._previousDate||"",this.placeHolder="",this.requestUpdate()}_onclick(){var t,a;this._disabled||this._readonly||(this._showCalendar=!this._showCalendar,this._previousDate=this._input.value,this._showCalendar?(t=this._input)==null||t.focus():((a=this._input)==null||a.blur(),this._onCancel()),this.requestUpdate())}_dispatchValueChange(){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}render(){var c;const t={"dss-input--invalid":this._invalid,"dss-input--disabled":this._disabled},a={"dss-input__group--focused":((c=this._input)==null?void 0:c.value)||this._placeHolder||this._showCalendar||this._isFocused,"dss-input__group--required":this._required,"dss-input__group--active":this._showCalendar||this._isFocused};return x` -
    -
    - calendar_today -
    - - -
    -
    -
    - ${this._showCalendar?x` - - `:null} - `}};I.formAssociated=!0,I.shadowRootOptions={...r$1.shadowRootOptions,delegatesFocus:!0};let DatePicker=I;__decorateClass$4([n({type:String,attribute:!0})],DatePicker.prototype,"value");__decorateClass$4([n({type:String})],DatePicker.prototype,"label");__decorateClass$4([n({type:String})],DatePicker.prototype,"placeHolder");__decorateClass$4([n(booleanType)],DatePicker.prototype,"required");__decorateClass$4([n(booleanType)],DatePicker.prototype,"disabled");__decorateClass$4([n(booleanType)],DatePicker.prototype,"readonly");__decorateClass$4([n(booleanType)],DatePicker.prototype,"showTime");__decorateClass$4([n(booleanType)],DatePicker.prototype,"showButtons");__decorateClass$4([n({type:String})],DatePicker.prototype,"leftLabel");__decorateClass$4([n({type:String})],DatePicker.prototype,"rightLabel");__decorateClass$4([n({type:String})],DatePicker.prototype,"minDate");__decorateClass$4([n({type:String})],DatePicker.prototype,"maxDate");__decorateClass$4([n(booleanType)],DatePicker.prototype,"invalid");var __defProp$3=Object.defineProperty,__getOwnPropDesc$3=Object.getOwnPropertyDescriptor,__decorateClass$3=(d,t,a,c)=>{for(var l=__getOwnPropDesc$3(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$3(t,a,l),l};class DropDownList extends r$1{constructor(){super(...arguments),this._elements=null,this._copyElements=null,this._tick=!0,this._type="default",this._style=null,this._boxStyle=null,this._inputStyle=null,this._selectedValue=null,this._multiple=!1,this._openWithSearch=!1,this._deselectable=!1,this._icon="search",this._label="",this._placeHolder="",this._showSelector=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._selectElements=0,this._isFocused=!1,this._isGroupFocusedVisible=!1}static get styles(){return i$1` - :host { - width: fit-content; - height: fit-content; - position: relative; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - cursor: text; - position: absolute; - } - - input { - outline: none; - border: 0; - font-size: 14px; - line-height: 24px; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - position: relative; - } - - .dss-input--disabled { - opacity: 0.4; - cursor: not-allowed; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - overflow: hidden; - position: relative; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input--disabled label, - .dss-input--disabled input { - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 1px #d8d8d8; - border-radius: 8px; - padding: 12px; - display: flex; - gap: 8px; - } - - :host([small]) .dss-input__group { - padding: 8px 12px; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input__group--focused { - padding: 4px 12px; - } - - :host([small]) .dss-input__group--focused { - padding: 1px 12px; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 12px; - line-height: 16px; - transition: 0.3s; - top: 4px; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 2px; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 16px !important; - font-family: var(--font-family); - padding-left: 0 !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 14px !important; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 1px #b60000; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group input, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: transparent; - color: #b60000; - } - - .dss-input--invalid .dss-input__group input { - color: #1d1d1d; - } - - .dss-input__group:focus-visible, - .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - background-color: #ffffff; - outline: none; - } - - .dss-input--invalid .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 24px; - } - - .dss-selector { - position: absolute; - top: 50px; - z-index: 100; - display: contents; - } - - .dss-input__group--disabled .dss-icon-button { - pointer-events: none; - } - - :host([small]) dss-selector { - top: 40px; - } - - .dss-icon-button { - font-size: 1rem; - font-family: 'Material Symbols Rounded'; - align-items: center; - border: none; - cursor: pointer; - display: flex; - background-color: transparent; - color: #0073e6; - padding: 0; - height: fit-content; - margin: auto; - border-radius: 100%; - } - - .dss-icon-button span { - padding: 0.25rem; - background-color: transparent; - border-radius: 100%; - transition: all 0.3s ease-in; - } - - .dss-icon-button:hover:enabled span { - background-color: #bfddfa; - } - - .dss-icon-button:active:enabled span { - background-color: #eff7ff; - transition: none; - } - - .dss-icon-button:disabled { - cursor: not-allowed; - } - - .dss-input__group--readOnly .dss-icon-button { - pointer-events: none; - } - - .dss-input__group--disabled .dss-icon-button { - pointer-events: none; - } - - .dss-icon-button:focus-visible:enabled { - outline: none; - } - `}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}get _DSSinput(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(".dss-input")}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("label",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set elements(t){const a=this._elements;this._elements=t,this.requestUpdate("elements",a)}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set openWithSearch(t){const a=this._openWithSearch;this._openWithSearch=t,this.requestUpdate("openWithSearch",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set selectedValue(t){const a=this._selectedValue;this._selectedValue=t,this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._boxStyle;this._boxStyle=t,this.requestUpdate("boxStyle",a)}set inputStyle(t){const a=this._inputStyle;this._inputStyle=t,this._inputStyle=`${this._inputStyle} box-sizing: border-box;`,this.requestUpdate("inputStyle",a)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set SelectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}get _filteredElements(){var a;const t=this._input.value.toLowerCase();return(a=this._elements)==null?void 0:a.filter(c=>c.label.toLowerCase().includes(t))}get _showPlaceHolder(){return o(this._placeHolder)&&!this._showSelector?void 0:this._placeHolder}async firstUpdated(){try{await this.updateComplete,this._copyElements=JSON.parse(JSON.stringify(this._elements)),this._initElementsSelected(),!this._openWithSearch&&!this._disabled&&document.addEventListener("click",t=>{this._clickedOutsideDropdown(this,t)}),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),this._openWithSearch&&this._onclick(!0),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_initElementsSelected(){this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}_clickedOutsideDropdown(t,a){t!==a.target&&(this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),this._showSelector=!1,this.requestUpdate())}_handleInput(){this.requestUpdate()}_handleFocus(){this._readonly||(this._isFocused=!0,this._isGroupFocusedVisible=!0,this.requestUpdate())}_handleBlurEsc(){this._readonly||this._openWithSearch||(this._isFocused=!0,this._showSelector=!1,this.requestUpdate())}_handleBlur(){this._isFocused=!1,this._isGroupFocusedVisible=!1,this.requestUpdate()}_handleBlurComponent(t,a){var c;if(t!==a.target){if(this._openWithSearch)return;(c=this._input)==null||c.focus(),this._handleBlurEsc(),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}}_onCancel(){this._showSelector=!1,this._isFocused=!1,this.requestUpdate()}_cleanInput(){this._input.value="",this.requestUpdate()}_onclick(t,a){var l,h;t||(this._isFocused=!0);let c="";this._boxStyle&&(c+=this._boxStyle,c.endsWith(";")||(c+=";")),this._style=`${c} overflow: auto;${this._openWithSearch?"":"box-shadow: 0 1px 3px 0 #0000001a, 0 4px 8px 3px #0000000d;"}`,this._openWithSearch?this._showSelector=!0:this._handleKeyInput(a),this._showSelector?(this._input.value="",t||(l=this._input)==null||l.focus()):(this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),(!a||a.key!=="Enter"&&a.key!==" "&&a.key!=="Escape")&&((h=this._input)==null||h.blur(),this._onCancel())),this.requestUpdate()}_handleKeyInput(t){(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?this._showSelector=!0:(t==null?void 0:t.key)==="Escape"?this._handleBlurEsc():this._showSelector=!this._showSelector}_dispatchValueChange(){if(this._input.value){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}}_onSelectorChanges(t){this._selectedValue=t.detail,this._dispatchValueChange(),!this._multiple&&!this._openWithSearch&&!this._disabled&&this._clickedOutsideDropdown(this,t),this.requestUpdate()}_showSelectValuesInInput(t){var l,h;!this._multiple&&Array.isArray(t)&&t.length>1&&t.splice(1);const a=(l=this._elements)==null?void 0:l.filter(p=>t.includes(p.value));if(this._elements=[...this._copyElements],this._openWithSearch?this._selectElements=0:this._selectElements=a!=null&&a.length?a.length:0,a&&a.length>0){const p=this._elements.filter(b=>a.includes(b));p.push(...this._elements.filter(b=>!a.includes(b))),this._elements=[...p]}if(!this._multiple){this._input.value=((h=a==null?void 0:a[0])==null?void 0:h.label)??"";return}const c=a==null?void 0:a.map(p=>p.label);this._input.value=(c==null?void 0:c.join(", "))??""}_evalueFocus(t){var a;((a=t.target)==null?void 0:a.id)!=="dss-dropdownlist"&&this._showSelector&&this._handleFocus()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&(this._isGroupFocusedVisible=!0,this._isFocused=!0,this._handelLabelClick())}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}render(){var l,h,p,b;const t={"dss-input--disabled":this._disabled},a={"dss-selector":!this._openWithSearch,"dss-selector--disabled":this._disabled,"dss-selector-dropdown":!0},c={"dss-input__group--focused":((l=this._input)==null?void 0:l.value)||this._showPlaceHolder||this._showSelector,"dss-input__group--focused-visible":this._isGroupFocusedVisible,"dss-input__group--required":this._required,"dss-input__group--active":this._isFocused,"dss-input__group--readOnly":this._readonly,"dss-input__group--disabled":this._disabled};return x`
    -
    - ${this._icon} -
    - - -
    - ${this._openWithSearch?x` - - `:x` - - `} -
    - ${this._showSelector&&this._filteredElements&&((b=this._filteredElements)==null?void 0:b.length)>0?x` - - - `:null} -
    `}}__decorateClass$3([n({type:String})],DropDownList.prototype,"icon");__decorateClass$3([n({type:String})],DropDownList.prototype,"label");__decorateClass$3([n({type:String})],DropDownList.prototype,"placeHolder");__decorateClass$3([n(booleanType)],DropDownList.prototype,"required");__decorateClass$3([n(booleanType)],DropDownList.prototype,"disabled");__decorateClass$3([n(booleanType)],DropDownList.prototype,"readonly");__decorateClass$3([n({type:Array})],DropDownList.prototype,"elements");__decorateClass$3([n(booleanType)],DropDownList.prototype,"multiple");__decorateClass$3([n(booleanType)],DropDownList.prototype,"openWithSearch");__decorateClass$3([n(booleanType)],DropDownList.prototype,"tick");__decorateClass$3([n(booleanType)],DropDownList.prototype,"deselectable");__decorateClass$3([n({type:Array})],DropDownList.prototype,"selectedValue");__decorateClass$3([n({type:String})],DropDownList.prototype,"type");__decorateClass$3([n({type:String})],DropDownList.prototype,"boxStyle");__decorateClass$3([n({type:String})],DropDownList.prototype,"inputStyle");__decorateClass$3([n({type:String})],DropDownList.prototype,"labelSelectAll");__decorateClass$3([n({type:String})],DropDownList.prototype,"labelDeselectAll");__decorateClass$3([n(booleanType)],DropDownList.prototype,"SelectAll");var __defProp$2=Object.defineProperty,__getOwnPropDesc$2=Object.getOwnPropertyDescriptor,__decorateClass$2=(d,t,a,c)=>{for(var l=__getOwnPropDesc$2(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$2(t,a,l),l};const INPUT_TYPE_NUMBER="number";class InputField extends r$1{constructor(){super(...arguments),this._type="text",this._value="",this._label="",this._description="",this._placeHolder="",this._icon="",this._maxLength=void 0,this._minLength=void 0,this._max=void 0,this._min=void 0,this._step=void 0,this._isInputFocused=!1,this._isGroupFocusedVisible=!1,this._isTypeNumeric=!1,this._clearable=!1,this._showError=!1,this._required=!1,this._disabled=!1,this._readonly=!1}static get styles(){return i$1` - :host { - width: 100%; - height: fit-content; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 0.875rem; - line-height: 1.5rem; - cursor: text; - position: absolute; - white-space: nowrap; - background-color: #ffffff; - width: 100%; - } - - input { - outline: none; - border: 0; - font-size: 0.875rem; - line-height: 1.5rem; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - margin: 0; - padding: 0; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input--invalid label { - background-color: #fff6f6; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - width: 100%; - } - - .dss-input--disabled { - opacity: 0.6; - } - - .dss-input--gap { - gap: 0.25rem; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - overflow: hidden; - position: relative; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input, - .dss-input--disabled label { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 0.063rem #d8d8d8; - border-radius: 0.5rem; - padding: 0.75rem; - display: flex; - gap: 0.5rem; - } - - :host([small]) .dss-input__group { - padding: 0.5rem 0.75rem; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input__group--readOnly .dss-icon-button { - pointer-events: none; - } - - .dss-input__group:focus-visible, - .dss-input__group--focused-visible, - .dss-input--invalid .dss-input__group:focus-visible { - outline: 0.25rem solid #8ec7e5; - box-shadow: none; - background-color: #ffffff; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input--invalid .dss-input__group:focus-visible .dss-icon-button { - background-color: transparent; - } - - .dss-input__group--focused { - padding: 0.25rem 0.75rem; - } - - :host([small]) .dss-input__group--focused { - padding: 0.063rem 0.75rem; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 0.75rem; - line-height: 1rem; - transition: 0.3s; - top: 0.25rem; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 0.125rem; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 1rem !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 0.875rem !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 0.875rem !important; - } - - .dss-input--invalid .dss-input__group .dss-icon-button { - color: #b60000; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 0.063rem #b60000; - } - - .dss-input--invalid .dss-input__group input { - background-color: #fff6f6; - color: #1d1d1d; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: #fff6f6; - color: #b60000; - } - - .dss-input__help { - font-style: normal; - font-weight: 400; - font-size: 0.75rem; - line-height: 1rem; - display: flex; - padding: 0 0.75rem; - gap: 0.5rem; - } - - .dss-input__help .dss-input__description { - flex: 1; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - - .dss-input--invalid .dss-input__help, - .dss-input--invalid .dss-input__help::after { - color: #b60000; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 1.5rem; - } - - :host([small]) .dss-input__group.dss-input__group--icon, - :host([small]) .dss-input__group--focused.dss-input__group--icon, - .dss-input__group.dss-input__group--icon, - .dss-input__group--focused.dss-input__group--icon { - padding-right: 0.375rem; - } - - .dss-input__group.dss-input__group--numeric { - padding: 0.25rem 0.5rem 0.25rem 0.75rem; - } - - :host([small]) .dss-input__group.dss-input__group--numeric { - padding: 0.063rem 0.625rem 0.063rem 0.75rem; - } - - .dss-icon-button { - font-size: 1rem; - font-family: 'Material Symbols Rounded'; - align-items: center; - border: none; - cursor: pointer; - display: flex; - background-color: transparent; - color: #0073e6; - padding: 0; - height: fit-content; - margin: auto; - border-radius: 100%; - } - - .dss-icon-button span { - padding: 0.25rem; - background-color: transparent; - border-radius: 100%; - transition: all 0.3s ease-in; - } - - .dss-icon-button:hover:enabled span { - background-color: #bfddfa; - } - - .dss-icon-button:active:enabled span { - background-color: #eff7ff; - transition: none; - } - - .dss-icon-button:disabled { - cursor: not-allowed; - } - - .dss-icon-button:focus-visible:enabled { - outline: none; - } - - .dss-input__numeric-buttons { - display: flex; - flex-direction: column; - justify-content: space-between; - transition: all 0.3s ease-in; - height: 40px; - } - - .dss-input__numeric-buttons .dss-icon-button span { - padding: 0.063rem; - display: flex; - justify-content: center; - text-align: center; - width: 18px; - height: 18px; - align-items: center; - } - - :host([small]) .dss-input__numeric-buttons { - height: 38px; - } - - :host([small]) - .dss-input__group.dss-input__group--numeric - .dss-icon-button - span { - width: 16px; - height: 16px; - } - - input::-webkit-outer-spin-button, - input::-webkit-inner-spin-button { - -webkit-appearance: none; - } - - input[type='number'] { - -moz-appearance: textfield; - } - `}set value(t){const a=this._value;this._value=t,this.requestUpdate("value",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set clearable(t){const a=this._clearable;this._clearable=t,this.requestUpdate("clearable",a)}set showError(t){const a=this._showError;this._showError=t,this.requestUpdate("showError",a)}set maxLength(t){const a=this._maxLength;this._maxLength=t,this.requestUpdate("maxLength",a)}set minLength(t){const a=this._minLength;this._minLength=t,this.requestUpdate("minLength",a)}set max(t){const a=this._max;this._max=t,this.requestUpdate("max",a)}set min(t){const a=this._min;this._min=t,this.requestUpdate("min",a)}set step(t){const a=this._step;this._step=t,this.requestUpdate("step",a)}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}_handleInput(){this._dispatchValueChange(),this.requestUpdate()}_handleKeypress(t){t.keyCode<32&&t.preventDefault(),this._maxLength&&t.target.value.length>=this._maxLength&&t.preventDefault()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&(this._isGroupFocusedVisible=!0,this._isInputFocused=!0,this._handelLabelClick())}_handleFocus(){this._readonly||(this._isGroupFocusedVisible=!0,this._isInputFocused=!0,this.requestUpdate())}_handleFocusOut(){var t,a;this._handleBlur(),this._isGroupFocusedVisible=!1,this._isInputFocused=!1,((a=(t=this._input)==null?void 0:t.value)==null?void 0:a.length)===0&&(this._value="",this._input.value=this._value),this.requestUpdate()}_handleBlur(){this._isInputFocused=!1,this.requestUpdate()}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}_cleanInput(){var t,a;(a=(t=this._input)==null?void 0:t.value)!=null&&a.length&&(this._value="",this._input.value=this._value),this._dispatchValueChange(),this.requestUpdate()}_stepUp(){var t,a;(t=this._input)==null||t.stepUp(),this._value=((a=this._input)==null?void 0:a.value)||"",this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t,a;(t=this._input)==null||t.stepDown(),this._value=((a=this._input)==null?void 0:a.value)||"",this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){var a,c;const t={detail:this._isTypeNumeric?Number((a=this._input)==null?void 0:a.value):(c=this._input)==null?void 0:c.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}async firstUpdated(){try{await this.updateComplete,this._isTypeNumeric=this._type===INPUT_TYPE_NUMBER,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){var c,l,h,p,b,g;const t={"dss-input--invalid":this._showError,"dss-input--disabled":this._disabled,"dss-input--gap":this._maxLength||!!this._description},a={"dss-input__group--focused":((c=this._input)==null?void 0:c.value)||this._isInputFocused||this._placeHolder,"dss-input__group--focused-visible":this._isGroupFocusedVisible,"dss-input__group--required":this._required,"dss-input__group--readOnly":this._readonly,"dss-input__group--numeric":this._isTypeNumeric,"dss-input__group--icon":this._clearable};return x` -
    -
    - ${this._icon?x`${this._icon}`:null} -
    - - -
    - ${this._clearable&&!this._isTypeNumeric?x` - - `:null} - ${this._isTypeNumeric?x` -
    - - -
    - `:null} -
    -
    -
    - ${this._description} -
    - ${this._maxLength?x` - ${(g=(b=this._input)==null?void 0:b.value)==null?void 0:g.length}/${this._maxLength} - `:null} -
    -
    - `}}__decorateClass$2([n({type:String})],InputField.prototype,"value");__decorateClass$2([n({type:String})],InputField.prototype,"type");__decorateClass$2([n({type:String})],InputField.prototype,"label");__decorateClass$2([n({type:String})],InputField.prototype,"description");__decorateClass$2([n({type:String})],InputField.prototype,"placeHolder");__decorateClass$2([n(booleanType)],InputField.prototype,"required");__decorateClass$2([n(booleanType)],InputField.prototype,"disabled");__decorateClass$2([n(booleanType)],InputField.prototype,"readonly");__decorateClass$2([n({type:String})],InputField.prototype,"icon");__decorateClass$2([n(booleanType)],InputField.prototype,"clearable");__decorateClass$2([n(booleanType)],InputField.prototype,"showError");__decorateClass$2([n({type:Number})],InputField.prototype,"maxLength");__decorateClass$2([n({type:Number})],InputField.prototype,"minLength");__decorateClass$2([n({type:Number})],InputField.prototype,"max");__decorateClass$2([n({type:Number})],InputField.prototype,"min");__decorateClass$2([n({type:Number})],InputField.prototype,"step");var __defProp$1=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__decorateClass$1=(d,t,a,c)=>{for(var l=__getOwnPropDesc$1(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp$1(t,a,l),l};class Table extends r$1{constructor(){super(...arguments),this._valueMaxLength=60,this._data=[],this._customData=void 0,this._pipeData=[],this._customTableHeader=void 0,this._filters=[],this._tableHeader=[],this._tableHeaderSort={},this._hasPaginator=!1,this._currentIndex=1,this._pageSize=10,this._pageSizeOptions="[5,10,20]",this._resultstext="Resultats",this._rowsperpagetext="Files per pàgina",this._textAlign="left",this._headerTitle="",this._hideHeader=!1,this._hideColumnHeader=!1,this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._rowsOnCollapsed=5,this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._openFiltersLabel="Filtres",this._selectedRowsLabel="files seleccionades",this._selectAllRows=!0,this._noFiltersLabel="No hi ha filtres seleccionats",this._footerButtons=3,this._maxContentWidth=!1,this._stickyColumns=!1,this._multiselect=!1,this._radioselect=!1,this._hasRowButton=!1,this._rowButtonLabel="Button",this._hasRowActions=!1,this._rowActionsIcons=["add_box","add_box","add_box"],this._footerButtonPrimaryLabel="Primary",this._footerButtonSecondaryLabel="Secondary",this._footerButtonAlternativeLabel="Alternative",this._enableRowActionsOnDeleted=!1,this._enableRowActionsOnDisabled=!1,this._currentSortColumn="",this._currentSortType="",this._copyPipeData=[],this._isFirstUpdate=!0}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(checkboxStyles),r$2(radioStyles),i$1` - :host { - display: block; - width: 100%; - } - - .dss-table-header { - padding: var(--dss-spacing-md) 0; - } - - .dss-table-header-title { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - margin-bottom: var(--dss-spacing-md); - } - - .dss-table-header-title__text { - color: var(--color-neutral-900); - font-weight: var(--font-bold); - font-size: 20px; - } - - .dss-table-header-title__action { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-xxs); - font-size: 14px; - color: var(--color-primary-700); - cursor: pointer; - border-radius: var(--dss-radius-xs); - font-weight: var(--font-semibold); - } - - .dss-table-header-title__action:hover { - color: var(--color-primary-600); - } - - .dss-table-header-title__action:active { - color: var(--color-primary-400); - } - - .dss-table-header-title__action:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - } - - .dss-table-header-filters { - display: flex; - justify-content: space-between; - align-items: center; - } - - .dss-table-header-filters__filters { - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-md); - width: 70%; - box-sizing: border-box; - } - - .dss-table-header-filters--inner .dss-table-header-filters__filters { - width: 80%; - } - - .filters-label { - font-size: 14px; - font-weight: var(--font-bold); - color: var(--color-neutral-600); - } - - .filters-list { - display: flex; - flex-wrap: wrap; - max-width: 60%; - gap: var(--dss-spacing-xs); - } - - .filters-list-empty { - font-size: 14px; - color: var(--color-neutral-600); - } - - .filters-clean { - padding-left: var(--dss-spacing-md); - border-left: var(--dss-border-width-sm) solid var(--color-neutral-100); - } - - .dss-table-header-filters__actions { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-md); - width: 30%; - box-sizing: border-box; - } - - .dss-table-header-filters--inner .dss-table-header-filters__actions { - width: 20%; - } - - .dss-table-main { - background-color: var(--color-white); - width: 100%; - overflow-x: auto; - } - - .dss-table-container { - max-width: 100%; - overflow: auto; - } - - .dss-table-main .table { - min-width: 100%; - margin: 0; - padding: 0; - border-collapse: collapse; - border-spacing: 0; - table-layout: fixed; - } - - .dss-table-main .table.table--max-content-width { - width: max-content; - } - - .dss-table-main .table.table--sticky-columns { - } - - .dss-table-main .table-header { - width: 100%; - position: sticky; - top: 0; - background-color: var(--color-white); - z-index: 100; - } - - .dss-table-main .table.table--sticky-columns .table-header { - position: relative; - } - - .dss-table-main - .table.table--sticky-columns - .table-header - .table-th:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-td:first-child { - position: sticky; - left: 0; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:first-child { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:last-child, - .dss-table-main - .table.table--sticky-columns - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:last-child { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-header - .table-th:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-td:nth-child(2) { - position: sticky; - left: 52px; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:nth-child(2) { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:nth-child(2) { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-body-row--deleted - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:nth-child(2) { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-header - .table-th:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-td:nth-child(2) { - position: sticky; - left: 52px; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:nth-child(2) { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:nth-child(2) { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-body-row--deleted - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:nth-child(2) { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:last-child { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:last-child { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-header - .table-th:last-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-td:last-child { - position: sticky; - right: 0; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main .table-header-row { - width: 100%; - } - - .dss-table-main .table-th { - box-sizing: border-box; - height: 56px; - } - - .dss-table-main .table-th--checkbox { - width: 52px; - } - - .dss-table-main .table-th--radio { - width: 52px; - } - - .dss-table-main .table-th--review { - width: 52px; - } - - .dss-table-main .table-th--button { - } - - .dss-table-main .table-th--actions { - width: 140px; - max-width: 140px; - } - - .dss-table-main .table-th--icons-1 { - width: 64px; - max-width: 64px; - } - - .dss-table-main .table-th--icons-2 { - width: 100px; - max-width: 100px; - } - - .dss-table-main .table-header-column { - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-xs); - margin: 0; - padding: 0 var(--dss-spacing-md); - border-bottom: var(--dss-border-width-md) solid - var(--color-neutral-700); - box-sizing: border-box; - height: 100%; - } - - .dss-table-main .table-header-column--clickable { - cursor: pointer; - } - - .dss-table-main .table-header-column--not-clickable { - cursor: default; - } - - .dss-table-main - .table-header-column--clickable - .table-header-column__icon { - box-sizing: border-box; - padding: var(--dss-spacing-tiny); - background-color: transparent; - border-radius: var(--dss-radius-xs); - transition: all 0.3s ease-in; - } - - .dss-table-main .table-header-column--clickable:focus-visible { - box-shadow: inset 0 0 0 var(--dss-border-width-lg) - var(--color-blue-200); - outline: 0; - } - - .dss-table-main - .table-header-column--clickable:focus-visible - .table-header-column__icon, - .dss-table-main - .table-header-column--clickable:hover - .table-header-column__icon { - color: var(--color-white); - background-color: var(--color-primary-500); - } - - .dss-table-main .table-header-column__title { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - text-transform: capitalize; - } - - .dss-table-main .table-header-column--checkbox { - justify-content: center; - max-width: 52px; - } - - .dss-table-main .table-header-column--radio { - max-width: 52px; - } - - .dss-table-main .table-header-column--review { - justify-content: center; - } - - .dss-table-main .table-header-column--button { - } - - .dss-table-main .table-header-column--actions { - } - - .dss-table-main .table-header-column--number { - justify-content: flex-end; - } - - .dss-table-main .table-body { - } - - .dss-table-main .table-body-row { - // display: grid; - } - - .dss-table-main .table-body-row + .table-body-row { - border-top: var(--dss-border-width-sm) solid var(--color-neutral-100); - } - - .dss-table-main - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover, - .dss-table-main - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) { - background-color: var(--color-primary-50); - } - - .dss-table-main .table-body-row--disabled { - background-color: var(--color-neutral-50); - } - - .dss-table-main .table-body-row--disabled .table-body-column { - color: var(--color-neutral-500); - } - - .dss-table-main .table-body-row--deleted { - background-color: var(--color-red-50); - } - - .dss-table-main .table-td { - box-sizing: border-box; - height: 56px; - margin: 0; - padding: 0; - } - - .dss-table-main .table-body-column { - margin: 0; - padding: auto var(--dss-spacing-md); - font-size: 14px; - color: var(--color-neutral-700); - height: 56px; - box-sizing: border-box; - } - - .dss-table-main .table-body-column--custom { - display: flex; - justify-content: flex-start; - align-items: center; - padding: 0 var(--dss-spacing-md); - gap: var(--dss-spacing-xs); - gap: var(--dss-spacing-xs); - } - - .dss-table-main .table-body-column--text { - justify-content: flex-start; - } - - .dss-table-main .table-body-column--number { - justify-content: flex-end; - } - - .dss-table-main .table-td--actions { - box-sizing: border-box; - max-width: 140px; - } - - .dss-table-main .table-body-column--actions { - justify-content: flex-end; - max-width: 140px; - box-sizing: border-box; - } - - .dss-table-main .table-body-column--result { - font-weight: var(--font-bold); - } - - .dss-table-main .table-body-column--checkbox { - max-width: 52px; - padding-left: 0; - padding-right: 0; - justify-content: center; - } - - .dss-table-main .table-body-column--radio { - max-width: 52px; - padding-left: 0; - padding-right: 0; - justify-content: center; - } - - .dss-table-main .table-body-column--button { - justify-content: flex-end; - } - - .dss-table-main .table-body-column--review { - justify-content: center; - } - - .dss-table-main .table-body-column--font-bold { - font-weight: var(--font-bold); - } - - .dss-table-main .table-body-column--font-black { - font-weight: var(--font-bold); - color: var(--color-neutral-900); - } - - .dss-table-main .table-body-column--icon-right { - flex-direction: row-reverse; - } - - .dss-table-main .table-body-column--text.table-body-column--icon-right { - justify-content: flex-end; - } - - .dss-table-main - .table-body-column--number.table-body-column--icon-right { - justify-content: flex-start; - } - - .table-body--align-center .table-body-column { - text-align: center; - } - - .table-body--align-right .table-body-column { - text-align: right; - } - - .table-body--align-justify .table-body-column { - text-align: justify; - } - - ::slotted(div.dss-table-filters) { - width: 100%; - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .table-footer { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - padding: var(--dss-spacing-md); - border-top: var(--dss-border-width-sm) solid var(--color-neutral-100); - margin-top: var(--dss-spacing-md); - } - - .table-footer-description { - color: var(--color-neutral-900); - font-size: 16px; - font-weight: var(--font-bold); - } - - .table-footer-actions { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .column-value { - position: relative; - } - - .column-value > .value { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - } - - .table-body-column--custom dss-tooltip { - font-weight: var(--font-regular); - } - - .column-value dss-tooltip { - visibility: hidden; - } - - .column-value:hover dss-tooltip { - visibility: visible; - } - - .column-value { - position: relative; - } - - .column-value > .value { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - } - - .table-body-column--custom dss-tooltip { - font-weight: var(--font-regular); - } - - .column-value dss-tooltip { - visibility: hidden; - } - - .column-value:hover dss-tooltip { - visibility: visible; - } - - .column-value--link { - color: var(--color-primary-700); - font-weight: 600; - text-decoration: none; - } - - .column-value--link:hover { - color: var(--color-primary-900); - } - - .column-value--link:active { - color: var(--color-primary-800); - } - - .column-value--link:disabled { - color: var(--color-neutral-500); - cursor: not-allowed; - } - - .column-value--link:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - border-radius: var(--dss-radius-xs); - } - - .dss-table-main .table .table-body-row:focus-visible { - box-shadow: inset 0 0 0 var(--dss-border-width-lg) - var(--color-blue-200); - outline: 0; - } - - .table-header-row--hide, - .table-header-row--hide .table-th, - .table-header-row--hide .table-th * { - height: 0; - visibility: hidden; - } - `,r$2(badgeStates)]}set hasPaginator(t){const a=this._hasPaginator;this._hasPaginator=t,this.requestUpdate("hasPaginator",a)}set data(t){const a=this._data;this._data=t,this._createTableHeader(t),this._pipeData=this._data,this._copyPipeData=[...this._data],this.requestUpdate("data",a)}set customData(t){const a=this._customData;this._customData=t,this._createTableHeader(t),this._pipeData=this._customData,this._copyPipeData=[...this._customData],this.requestUpdate("data",a)}set customTableHeader(t){const a=this._customTableHeader;this._customTableHeader=t,this.requestUpdate("customTableHeader",a)}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set resultstext(t){const a=this._resultstext;this._resultstext=t,this.requestUpdate("resultstext",a)}set rowsperpagetext(t){const a=this._rowsperpagetext;this._rowsperpagetext=t,this.requestUpdate("rowsperpagetext",a)}set textAlign(t){const a=this._textAlign;this._textAlign=t,this.requestUpdate("textAlign",a)}set headerTitle(t){const a=this._headerTitle;this._headerTitle=t,this.requestUpdate("headerTitle",a)}set hideHeader(t){const a=this._hideHeader;this._hideHeader=t,this.requestUpdate("hideHeader",a)}set hideColumnHeader(t){const a=this._hideColumnHeader;this._hideColumnHeader=t,this.requestUpdate("hideColumnHeader",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set rowsOnCollapsed(t){const a=this._rowsOnCollapsed;this._rowsOnCollapsed=t,this.requestUpdate("rowsOnCollapsed",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set selectedRowsLabel(t){const a=this._selectedRowsLabel;this._selectedRowsLabel=t,this.requestUpdate("selectedRowsLabel",a)}set footerButtons(t){const a=this._footerButtons;this._footerButtons=t,this.requestUpdate("footerButtons",a)}set maxContentWidth(t){const a=this._maxContentWidth;this._maxContentWidth=t,this.requestUpdate("maxContentWidth",a)}set stickyColumns(t){const a=this._stickyColumns;this._stickyColumns=t,this.requestUpdate("stickyColumns",a)}set multiselect(t){const a=this._multiselect;this._multiselect=t,this.requestUpdate("multiselect",a)}set radioselect(t){const a=this._radioselect;this._radioselect=t,this.requestUpdate("radioselect",a)}set hasRowButton(t){const a=this._hasRowButton;this._hasRowButton=t,this.requestUpdate("hasRowButton",a)}set rowButtonLabel(t){const a=this._rowButtonLabel;this._rowButtonLabel=t,this.requestUpdate("rowButtonLabel",a)}set hasRowActions(t){const a=this._hasRowActions;this._hasRowActions=t,this.requestUpdate("hasRowActions",a)}set rowActionsIcons(t){const a=this._rowActionsIcons;this._rowActionsIcons=t,this.requestUpdate("rowActionsIcons",a)}set footerButtonPrimaryLabel(t){const a=this._footerButtonPrimaryLabel;this._footerButtonPrimaryLabel=t,this.requestUpdate("footerButtonPrimaryLabel",a)}set footerButtonSecondaryLabel(t){const a=this._footerButtonSecondaryLabel;this._footerButtonSecondaryLabel=t,this.requestUpdate("footerButtonSecondaryLabel",a)}set footerButtonAlternativeLabel(t){const a=this._footerButtonAlternativeLabel;this._footerButtonAlternativeLabel=t,this.requestUpdate("footerButtonAlternativeLabel",a)}set enableRowActionsOnDisabled(t){const a=this._enableRowActionsOnDisabled;this._enableRowActionsOnDisabled=t,this.requestUpdate("enableRowActionsOnDisabled",a)}set enableRowActionsOnDeleted(t){const a=this._enableRowActionsOnDeleted;this._enableRowActionsOnDeleted=t,this.requestUpdate("enableRowActionsOnDeleted",a)}set valueMaxLength(t){const a=this._valueMaxLength;this._valueMaxLength=t,this.requestUpdate("valueMaxLength",a)}get _tableGridStyle(){return`grid-template-columns: repeat(${this._tableHeader.length}, 1fr)`}get _tableHeight(){let t="height:auto;";if(!this._expandTable){let a=this._rowsOnCollapsed*56;a+=56,t=`height:${a}px;`}return t}async firstUpdated(){try{await this.updateComplete,this._clickOutside()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("data"),c=t.has("customData");if(!this._isFirstUpdate&&(a||c)){const l={detail:{startIndex:1,endIndex:this._pageSize}};this._paginateTable(l)}this._isFirstUpdate=!1}_clickOutside(){document.addEventListener("click",t=>{t.composedPath().includes(this)?t.composedPath().find(l=>l instanceof HTMLElement&&l.classList.contains("table-body"))||this._resetRowsTabIndex():this._resetRowsTabIndex()})}_createTableHeader(t){const a=Object.keys(t[0]);if(a.includes("disabled")){const c=a.indexOf("disabled");a.splice(c,1)}if(a.includes("deleted")){const c=a.indexOf("deleted");a.splice(c,1)}this._tableHeader=a,this._tableHeader.forEach(c=>{this._tableHeaderSort[c]="none"})}_sortBy(t,a){this._currentSortColumn=t,a==="none"?this._currentSortType="ASC":a==="ASC"?this._currentSortType="DSC":a==="DSC"&&(this._currentSortType="none"),this._currentSortType==="none"?this._pipeData=[...this._copyPipeData]:this._pipeData=this._pipeData.sort((l,h)=>{let p,b;return this._customData?(p=l[t].value,b=h[t].value):(p=l[t],b=h[t]),pb?this._currentSortType==="ASC"?1:-1:0}),this._tableHeaderSort[t]=this._currentSortType,Object.keys(this._tableHeaderSort).forEach(l=>{l!==t&&(this._tableHeaderSort[l]="none")}),this.requestUpdate()}_paginateTable(t){const a=t.detail.startIndex,c=t.detail.endIndex;if(this._customData&&c<=this._customData.length?this._pipeData=this._customData.slice(a-1,c):this._data&&c<=this._data.length&&(this._pipeData=this._data.slice(a-1,c)),t.detail.pageSize&&(this._pageSize=t.detail.pageSize),this._copyPipeData=[...this._pipeData],this._currentSortColumn&&this._currentSortType){let l="";this._currentSortType==="ASC"?l="none":this._currentSortType==="DSC"?l="ASC":l="DSC",this._sortBy(this._currentSortColumn,l)}this.requestUpdate()}_generateTableHeaderHTML(){let t=x``,a=x``,c=x``,l=x``;this._multiselect&&(t=x` - -
    - -
    - - `),this._radioselect&&(a=x` - -
    - - `),this._hasRowButton&&(c=x` - -
    - - `),this._hasRowActions&&(l=x` - -
    - - `);let h=!0;const p=this._tableHeader.map((g,m)=>{const w=()=>{this._customTableHeader?this._customTableHeader[m].sort&&this._sortBy(g,this._tableHeaderSort[g]):this._sortBy(g,this._tableHeaderSort[g]),this.requestUpdate()},v=C=>{const T=C.currentTarget,D=C;let q=!1;switch(D.key){case"ArrowLeft":moveFocusToPreviousTarget(this.renderRoot,T,".table-header-column--clickable"),q=!0;break;case"ArrowRight":moveFocusToNextTarget(this.renderRoot,T,".table-header-column--clickable"),q=!0;break;case"Enter":const U=C.target;onKeyboardEnter(this.renderRoot,U,".table-header-column--clickable"),q=!0;break}q&&(C.stopPropagation(),C.preventDefault())};let f="";this._customData&&this._customData.length>0?f=this._pipeData[0][g].type:this._data&&this._data.length>0&&(f=typeof this._pipeData[0][g]);const y={"table-th--review":f==="review","table-th--link":f==="link"};let k=!1;this._customTableHeader&&(this._customTableHeader[m].sort||(k=!0));const $={"table-header-column--review":f==="review","table-header-column--number":f==="number","table-header-column--link":f==="link","table-header-column--clickable":!k,"table-header-column--not-clickable":k},_=x` - - ${g===this._currentSortColumn?this._currentSortType==="ASC"?x`arrow_upward`:this._currentSortType==="DSC"?x`arrow_downward`:x`swap_vert`:x`swap_vert`} - - `,S=x` - -
    - - ${this._customTableHeader?x`${this._customTableHeader[m].title}`:x`${g}`} - - ${this._customTableHeader?this._customTableHeader[m].sort?x`${_}`:null:x`${_}`} -
    - - `;return h=!1,S}),b={"table-header-row--hide":this._hideColumnHeader};return x` - ${t} ${a} ${p} - ${c} ${l} - `}_onRowCheckboxChange(t){this._radioselect&&this._uncheckRadioRows(),t.checked?t.checked=!t.checked:t.checked=!0,this.requestUpdate()}_onSelectAllRows(){this._pipeData.forEach(t=>{t.disabled?this._enableRowActionsOnDisabled&&(t.checked=this._selectAllRows):t.deleted?this._enableRowActionsOnDeleted&&(t.checked=this._selectAllRows):t.checked=this._selectAllRows}),this._selectAllRows=!this._selectAllRows,this.requestUpdate()}_onRowAction(t,a){const c={detail:{action:t,row:a},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onRowAction",c)),this.requestUpdate()}_onRowActionKeydown(t,a,c){t.key==="Enter"&&this._onRowAction(a,c)}_generateTableTdCheckbox(t,a,c,l){return this._enableRowActionsOnDeleted&&(l=!1),this._enableRowActionsOnDisabled&&(c=!1),x` - -
    - -
    - - `}_generateTableTdRadio(t,a,c,l){return this._enableRowActionsOnDeleted&&(l=!1),this._enableRowActionsOnDisabled&&(c=!1),x` - -
    - -
    - - `}_generateTableTdButton(t,a,c){return this._enableRowActionsOnDeleted&&(c=!1),this._enableRowActionsOnDisabled&&(a=!1),x` - -
    - -
    - - `}_generateTableTdActions(t,a,c){return this._enableRowActionsOnDeleted&&(c=!1),this._enableRowActionsOnDisabled&&(a=!1),x` - -
    - ${this._rowActionsIcons.map((l,h)=>x` - - `)} -
    - - `}_generateTableTdSelfActions(t,a,c,l,h){return this._enableRowActionsOnDeleted&&(h=!1),this._enableRowActionsOnDisabled&&(l=!1),x` - -
    - ${c.icons.map((p,b)=>x` - - `)} -
    - - `}_resetRowsTabIndex(){const t=this.renderRoot.querySelector('.table-body-row[tabindex="0"]');t==null||t.setAttribute("tabindex","-1"),this.renderRoot.querySelectorAll(".table-body-row")[0].setAttribute("tabindex","0")}_uncheckRadioRows(){this._data&&this._data.length>0&&this._pipeData.forEach(t=>{t.checked=!1})}_generateDefaultTableBody(){let t,a=!0;return this._data&&this._data.length>0&&(t=this._pipeData.map(c=>{const l=c.checked?c.checked:!1,h=c.deleted?c.deleted:!1,p=c.disabled?c.disabled:!1,b=_=>{const S=_.relatedTarget;S&&!S.className.includes("table-body-row")&&!S.className.includes("table-body-row__action")&&this._resetRowsTabIndex()},g=_=>{const S=_.currentTarget,C=_;let T=!1;switch(C.key){case"ArrowUp":moveFocusToPreviousTarget(this.renderRoot,S,".table-body-row"),T=!0;break;case"ArrowDown":moveFocusToNextTarget(this.renderRoot,S,".table-body-row"),T=!0;break;case"Enter":const D=_.target;D.tagName==="TR"&&(onKeyboardEnter(this.renderRoot,D,".table-body-row"),(this._multiselect||this._radioselect)&&(!h&&!p?(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0):this._enableRowActionsOnDeleted&&h?(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0):this._enableRowActionsOnDisabled&&p&&(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0),this.requestUpdate()),T=!0);break;case"Escape":const U=_.composedPath().find(E=>E instanceof HTMLElement&&E.classList.contains("table-body-row"));U&&U.focus();break}T&&(_.stopPropagation(),_.preventDefault())},m=this._multiselect?this._generateTableTdCheckbox(c,l,p,h):x``,w=this._radioselect?this._generateTableTdRadio(c,l,p,h):x``,v=this._hasRowButton?this._generateTableTdButton(c,p,h):x``,f=this._hasRowActions?this._generateTableTdActions(c,p,h):x``,y=this._tableHeader.map(_=>{const S={"table-body-column--number":typeof c[_]=="number"};return x` - -
    - ${c[_]===""?x`remove`:null} - ${c[_]===""?x`remove`:null} - ${typeof c[_]=="number"?x` ${c[_]} `:c[_].length<=this._valueMaxLength?x`${c[_]}`:x`${c[_]}...`} -
    - - `}),$=x` - ${m} ${w} ${y} - ${v} ${f} - `;return a=!1,$})),t}_generateCustomTableBody(){let t,a=!0;return this._customData&&(t=this._pipeData.map(c=>{let l=c.checked?c.checked:!1;const h=c.deleted?c.deleted:!1,p=c.disabled?c.disabled:!1,b=_=>{const S=_.relatedTarget;S&&!S.className.includes("table-body-row")&&!S.className.includes("table-body-row__action")&&this._resetRowsTabIndex()},g=_=>{const S=_.currentTarget,C=_;let T=!1;switch(C.key){case"ArrowUp":moveFocusToPreviousTarget(this.renderRoot,S,".table-body-row"),T=!0;break;case"ArrowDown":moveFocusToNextTarget(this.renderRoot,S,".table-body-row"),T=!0;break;case"Enter":const D=_.target;D.tagName==="TR"&&(onKeyboardEnter(this.renderRoot,D,".table-body-row"),(this._multiselect||this._radioselect)&&((!h&&!p||this._enableRowActionsOnDeleted&&h||this._enableRowActionsOnDisabled&&p)&&(c.checked?(c.checked=!c.checked,l=c.checked):(c.checked=!0,l=c.checked)),this.requestUpdate())),T=!0;break;case"Escape":const U=_.composedPath().find(E=>E instanceof HTMLElement&&E.classList.contains("table-body-row"));U&&U.focus();break}T&&(_.stopPropagation(),_.preventDefault())},m=this._multiselect?this._generateTableTdCheckbox(c,l,p,h):x``,w=this._radioselect?this._generateTableTdRadio(c,l,p,h):x``,v=this._hasRowButton?this._generateTableTdButton(c,p,h):x``,f=this._hasRowActions?this._generateTableTdActions(c,p,h):x``,y=this._tableHeader.map(_=>{const S=T=>{c[T].value=!c[T].value;const D={detail:{action:"review",row:c},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onRowAction",D)),this.requestUpdate()},C={"table-body-column--text":c[_].type==="text","table-body-column--number":c[_].type==="number","table-body-column--link":c[_].type==="link","table-body-column--badge":c[_].type==="badge","table-body-column--result":c[_].type==="result","table-body-column--review":c[_].type==="review","table-body-column--progress":c[_].type==="progress","table-body-column--font-bold":c[_].fontType==="bold","table-body-column--font-black":c[_].fontType==="black","table-body-column--icon-right":c[_].iconRight};return x` - -
    - ${c[_].type==="text"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${c[_].badgeBefore?x` - - ${c[_].badgeTooltip?x` - - ${c[_].badgeTooltip} - - `:null} - - `:null} - - - - ${c[_].value===""?x`remove`:null} - ${c[_].value.length<=this._valueMaxLength?x`${c[_].value}`:x`${c[_].value.slice(0,this._valueMaxLength)}...`} - - ${c[_].valueTooltip?x` - - ${c[_].valueTooltip} - - `:null} - - `:c[_].type==="number"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${c[_].value} - `:c[_].type==="link"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${p?x` - ${c[_].value} - `:x` - - - ${c[_].value.length<=this._valueMaxLength?x`${c[_].value}`:x`${c[_].value.slice(0,this._valueMaxLength)}...`} - - ${c[_].valueTooltip?x` - - ${c[_].valueTooltip} - - `:null} - - `} - `:c[_].type==="badge"?x` - - `:c[_].type==="result"?x` - - ${c[_].value} - `:c[_].type==="actions"?this._generateTableTdSelfActions(c,_,c[_],p,h):c[_].type==="review"?x` - - `:c[_].type==="progress"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - - `:null} -
    - - `}),$=x` - ${m} ${w} ${y} - ${v} ${f} - `;return a=!1,$})),t}_generateFilterChips(){let t;return this._filters&&(t=this._filters.map(a=>{const c=p=>{const b=p.target.getAttribute("term");typeof a=="string"?this._filters=this._filters.filter(g=>g!==b):this._filters=this._filters.filter(g=>g.value.trim()!==(b==null?void 0:b.trim())),this._emitChangeFilters(),this.requestUpdate()};return x` - - ${typeof a==="string"?x` - ${a} - - `:x` - ${a.icon} - ${a.value} - - `} - - `})),t}_clearFilters(){this._filters=[],this._emitChangeFilters(),this.requestUpdate()}_countRowsChecked(){let t=0;for(const a of this._pipeData)a.checked&&(t+=1);return t}_getRowsSelected(){const t=[];return this._pipeData.forEach(a=>{if(a.checked){const c={...a};c.checked=void 0,t.push(c)}}),t}_emitExpandAction(){const t={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpandTable",t)),this._expandTable=!this._expandTable,this.requestUpdate()}_emitOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenFilters",t)),this.requestUpdate()}_emitChangeFilters(){const t={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeFilters",t)),this.requestUpdate()}_emitFooterAction(t){const a=this._getRowsSelected(),c={detail:{action:t,selectedRows:a},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onFooterAction",c)),this.requestUpdate()}render(){const t={"table--max-content-width":this._maxContentWidth,"table--sticky-columns":this._maxContentWidth&&this._stickyColumns,"table--sticky-columns--multiselect":this._maxContentWidth&&this._stickyColumns&&this._multiselect,"table--sticky-columns--radioselect":this._maxContentWidth&&this._stickyColumns&&this._radioselect},a={"table-body--align-left":this._data.length>0&&this._textAlign==="left","table-body--align-center":this._data.length>0&&this._textAlign==="center","table-body--align-right":this._data.length>0&&this._textAlign==="right","table-body--align-justify":this._data.length>0&&this._textAlign==="justify"};return x` -
    - ${this._hideHeader?null:x` -
    -
    -
    - ${this._headerTitle} -
    -
    - ${this._expandTable?x` - fullscreen - ${this._collapseLabel} - `:x` - fullscreen - ${this._expandLabel} - `} -
    -
    - - ${this._innerFilters?x` -
    -
    - -
    -
    -
    - `:x` -
    -
    -
    - ${this._filtersLabel}: -
    -
    - ${this._filters.length>0?x` ${this._generateFilterChips()} `:x` - - ${this._noFiltersLabel} - - `} -
    -
    - ${this._filters.length>0?x` - - `:null} -
    -
    - -
    - -
    -
    - `} -
    - `} - -
    -
    - - - ${this._generateTableHeaderHTML()} - - - ${this._customData?this._generateCustomTableBody():this._generateDefaultTableBody()} - -
    -
    - ${this._hasPaginator?x` - - `:null} -
    - - ${this._multiselect?x` - - `:null} -
    - `}}__decorateClass$1([n(booleanType)],Table.prototype,"hasPaginator");__decorateClass$1([n({type:Array})],Table.prototype,"data");__decorateClass$1([n({type:Array})],Table.prototype,"customData");__decorateClass$1([n({type:Array})],Table.prototype,"customTableHeader");__decorateClass$1([n({type:Array})],Table.prototype,"filters");__decorateClass$1([n({type:Number})],Table.prototype,"currentIndex");__decorateClass$1([n({type:Number})],Table.prototype,"pageSize");__decorateClass$1([n({type:String})],Table.prototype,"pageSizeOptions");__decorateClass$1([n({type:String})],Table.prototype,"resultstext");__decorateClass$1([n({type:String})],Table.prototype,"rowsperpagetext");__decorateClass$1([n({type:String})],Table.prototype,"textAlign");__decorateClass$1([n({type:String})],Table.prototype,"headerTitle");__decorateClass$1([n(booleanType)],Table.prototype,"hideHeader");__decorateClass$1([n(booleanType)],Table.prototype,"hideColumnHeader");__decorateClass$1([n(booleanType)],Table.prototype,"innerFilters");__decorateClass$1([n(booleanType)],Table.prototype,"expandTable");__decorateClass$1([n({type:String})],Table.prototype,"expandLabel");__decorateClass$1([n({type:String})],Table.prototype,"collapseLabel");__decorateClass$1([n({type:Number})],Table.prototype,"rowsOnCollapsed");__decorateClass$1([n({type:String})],Table.prototype,"filtersLabel");__decorateClass$1([n({type:String})],Table.prototype,"cleanFiltersLabel");__decorateClass$1([n({type:String})],Table.prototype,"selectedRowsLabel");__decorateClass$1([n({type:Number})],Table.prototype,"footerButtons");__decorateClass$1([n(booleanType)],Table.prototype,"maxContentWidth");__decorateClass$1([n(booleanType)],Table.prototype,"stickyColumns");__decorateClass$1([n(booleanType)],Table.prototype,"multiselect");__decorateClass$1([n(booleanType)],Table.prototype,"radioselect");__decorateClass$1([n(booleanType)],Table.prototype,"hasRowButton");__decorateClass$1([n({type:String})],Table.prototype,"rowButtonLabel");__decorateClass$1([n(booleanType)],Table.prototype,"hasRowActions");__decorateClass$1([n({type:Array})],Table.prototype,"rowActionsIcons");__decorateClass$1([n({type:String})],Table.prototype,"footerButtonPrimaryLabel");__decorateClass$1([n({type:String})],Table.prototype,"footerButtonSecondaryLabel");__decorateClass$1([n({type:String})],Table.prototype,"footerButtonAlternativeLabel");__decorateClass$1([n(booleanType)],Table.prototype,"enableRowActionsOnDisabled");__decorateClass$1([n(booleanType)],Table.prototype,"enableRowActionsOnDeleted");__decorateClass$1([n({type:Number})],Table.prototype,"valueMaxLength");var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__decorateClass=(d,t,a,c)=>{for(var l=__getOwnPropDesc(t,a),h=d.length-1,p;h>=0;h--)(p=d[h])&&(l=p(t,a,l)||l);return l&&__defProp(t,a,l),l};class Switch extends r$1{constructor(){super(...arguments),this._checked=!1,this._disabled=!1,this._label=null,this._size="md"}static get styles(){return i$1` - :host { - display: flex; - width: fit-content; - height: fit-content; - gap: 0.5rem; - align-items: center; - } - - .dss-switch input[type='checkbox'] { - opacity: 0; - } - - .dss-switch { - position: relative; - display: flex; - transition: 0.3s all ease-in; - } - - .dss-switch .dss-switch__slider { - position: absolute; - cursor: pointer; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: #656565; - border-radius: 100px; - transition: 0.3s all ease-in; - } - - .dss-switch .dss-switch__slider:before { - position: absolute; - background-color: white; - border-radius: 100%; - content: ''; - box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05), - 0px 1px 3px 1px rgba(0, 0, 0, 0.1); - transition: 0.3s all ease-in; - } - - .dss-switch input[type='checkbox']:hover:enabled + .dss-switch__slider { - background-color: #535353; - } - - .dss-switch input[type='checkbox']:enabled + .dss-switch__slider:active { - background-color: #828282; - transition: none; - } - - .dss-switch input[type='checkbox']:checked + .dss-switch__slider { - background-color: #0073e6; - } - - .dss-switch - input[type='checkbox']:checked:hover:enabled - + .dss-switch__slider { - background-color: #0064c7; - } - - .dss-switch - input[type='checkbox']:checked:enabled - + .dss-switch__slider:active { - background-color: #308deb; - transition: none; - } - - .dss-switch - input[type='checkbox']:checked:enabled - + .dss-switch__slider:active:before { - color: #308deb; - transition: none; - } - - .dss-switch - input[type='checkbox']:enabled - + .dss-switch__slider:active:before { - color: #828282; - transition: none; - } - - .dss-switch input[type='checkbox']:disabled + .dss-switch__slider { - cursor: not-allowed; - } - - .dss-switch input[type='checkbox']:disabled + .dss-switch__slider:before { - color: #828282 !important; - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider { - background-color: #308deb; - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider:before { - color: #308deb !important; - } - - .dss-switch input[type='checkbox']:focus { - outline: none; - transition: none; - } - - .dss-switch - input[type='checkbox']:focus-visible:enabled - + .dss-switch__slider { - outline: 4px solid #8ec7e5; - transition: none; - } - - .dss-switch.dss-switch--lg { - width: 52px; - height: 32px; - } - - .dss-switch.dss-switch--lg .dss-switch__slider:before { - font-family: 'Material Symbols Rounded'; - content: 'close'; - color: var(--color-primary-500); - font-size: 16px; - height: 24px; - width: 24px; - left: 4px; - bottom: 4px; - display: flex; - justify-content: center; - align-items: center; - } - - .dss-switch.dss-switch--lg - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(20px); - -ms-transform: translateX(20px); - transform: translateX(20px); - content: 'done'; - color: var(--color-primary-500); - } - - .dss-switch.dss-switch--md { - width: 39px; - height: 24px; - } - - .dss-switch.dss-switch--md .dss-switch__slider:before { - height: 18px; - width: 18px; - left: 3px; - bottom: 3px; - } - - .dss-switch.dss-switch--md - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(15px); - -ms-transform: translateX(15px); - transform: translateX(15px); - } - - .dss-switch.dss-switch--sm { - width: 26px; - height: 16px; - } - - .dss-switch.dss-switch--sm .dss-switch__slider:before { - height: 12px; - width: 12px; - left: 2px; - bottom: 2px; - } - - .dss-switch.dss-switch--sm - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(10px); - -ms-transform: translateX(10px); - transform: translateX(10px); - } - - .dss-switch__label { - font-family: var(--font-family); - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - color: #1d1d1d; - } - - .dss-switch.dss-switch--lg + .dss-switch__label { - font-weight: 600; - font-size: 16px; - } - - .dss-switch--disabled .dss-switch__slider { - background-color: var(--color-neutral-200); - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider { - background-color: var(--color-neutral-200); - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-400); - color: var(--color-neutral-900) !important; - } - - .dss-switch.dss-switch--lg - input[type='checkbox']:checked:disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-100); - } - - .dss-switch - input[type='checkbox']:not(:checked):disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-400); - color: var(--color-neutral-100) !important; - } - `}set checked(t){const a=this._checked;this._checked=t,this.requestUpdate("checked",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}handleClick(){this._checked=!this._checked,this.dispatchEvent(new CustomEvent("onChangeValue",{detail:this._checked,bubbles:!0,composed:!0}))}render(){const t={"dss-switch--sm":this._size==="sm","dss-switch--md":this._size==="md","dss-switch--lg":this._size==="lg","dss-switch--disabled":this._disabled};return x` - - ${this._label?x`${this._label}`:null} - `}}__decorateClass([n(booleanType)],Switch.prototype,"checked");__decorateClass([n(booleanType)],Switch.prototype,"disabled");__decorateClass([n({type:String})],Switch.prototype,"label");__decorateClass([n({type:String})],Switch.prototype,"size");registerCustomElement("dss-accordion",Accordion);registerCustomElement("dss-action-menu",ActionMenu);registerCustomElement("dss-action-menu-item",ActionMenuItem);registerCustomElement("dss-alert",Alert);registerCustomElement("dss-avatar",Avatar);registerCustomElement("dss-badge",Badge);registerCustomElement("dss-button",Button);registerCustomElement("dss-button-link",ButtonLink);registerCustomElement("dss-calendar",Calendar);registerCustomElement("dss-chat-message",ChatMessage);registerCustomElement("dss-custom-table",CustomTable);registerCustomElement("dss-datepicker",Datepicker_);registerCustomElement("dss-datepicker-range",DatepickerRange);registerCustomElement("dss-drawer",Drawer);registerCustomElement("dss-header",Header);registerCustomElement("dss-header-links",HeaderLinks);registerCustomElement("dss-header-menu-patient",HeaderMenuPatient);registerCustomElement("dss-header-menu-professional",HeaderMenuProfessional);registerCustomElement("dss-icon",Icon);registerCustomElement("dss-icon-badge",IconBadge);registerCustomElement("dss-icon-button",IconButton);registerCustomElement("dss-input",Input);registerCustomElement("dss-input-action",InputAction);registerCustomElement("dss-input-dropdown",InputDropdown);registerCustomElement("dss-input-switch",InputSwitch);registerCustomElement("dss-item-list",ItemList);registerCustomElement("dss-modal",Modal);registerCustomElement("dss-notification-badge",NotificationBadge);registerCustomElement("dss-pagination",Pagination);registerCustomElement("dss-progress-indicator",ProgressIndicator);registerCustomElement("dss-search-bar",SearchBar);registerCustomElement("dss-selector",Selector);registerCustomElement("dss-slider",Slider);registerCustomElement("dss-spinner",Spinner);registerCustomElement("dss-stepper",Stepper);registerCustomElement("dss-tabs-list",TabsList);registerCustomElement("dss-tabs-panel",TabsPanel);registerCustomElement("dss-table-header",TableHeader);registerCustomElement("dss-table-pagination",TablePagination);registerCustomElement("dss-textarea",Textarea);registerCustomElement("dss-tile",Tile);registerCustomElement("dss-timepicker",Timepicker);registerCustomElement("dss-tooltip",Tooltip);registerCustomElement("dss-popover",Popover);registerCustomElement("dss-popover-body",PopoverBody);registerCustomElement("dss-sidemenu",Sidemenu);registerCustomElement("dss-sidemenu-list",SidemenuList);registerCustomElement("dss-sidemenu-list-item",SidemenuListItem);registerCustomElement("dss-split-button",SplitButton);registerCustomElement("dss-user-feedback",UserFeedback);registerCustomElement("dss-upload-box",UploadBox);registerCustomElement("dss-card",Card);registerCustomElement("dss-card-body",CardBody);registerCustomElement("dss-card-description",CardDescription);registerCustomElement("dss-card-footer",CardFooter);registerCustomElement("dss-card-form",CardForm);registerCustomElement("dss-card-header",CardHeader);registerCustomElement("dss-card-highlights-item",CardHighlightsItem);registerCustomElement("dss-card-highlights",CardHighlights);registerCustomElement("dss-card-image",CardImage);registerCustomElement("dss-card-info-item",CardInfoItem);registerCustomElement("dss-card-info",CardInfo);registerCustomElement("dss-card-menu",CardMenu);registerCustomElement("dss-card-subtitle",CardSubitle);registerCustomElement("dss-card-tags",CardTags);registerCustomElement("dss-card-title",CardTitle);registerCustomElement("dss-date-picker",DatePicker);registerCustomElement("dss-dropdownlist",DropDownList);registerCustomElement("dss-input-field",InputField);registerCustomElement("dss-table",Table);registerCustomElement("dss-switch",Switch);const preview={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},options:{storySort:{order:["Introducció","Versions","Foundations","Components","Collections","Discontinued"]}}}};export{preview as default}; diff --git a/rc/assets/preview-BrC6VnWQ.js b/rc/assets/preview-BrC6VnWQ.js deleted file mode 100644 index d4cc314..0000000 --- a/rc/assets/preview-BrC6VnWQ.js +++ /dev/null @@ -1,4852 +0,0 @@ -import{g as getCustomElementSuffix,i,s,u}from"./custom-element-scope-KJWplpvx.js";import{r as r$1,a as r$2,i as i$1}from"./lit-element-vV9fql9z.js";import{x,E,B}from"./lit-html-paDGiEfB.js";import{n as n$1}from"./property-CzN8u98o.js";import{r as resetStyles}from"./reset.style-B0CQ8619.js";import{i as iconStyles}from"./icon.style-DPTab5RN.js";import{e}from"./class-map-2iHk_WiG.js";import{d as decorativeIconStyles,A as Accordion}from"./accordion-D8Cicuuk.js";import{b as booleanType,s as selectedType}from"./property-types-CkH-zh1n.js";import{c as createPopper,A as ActionMenu}from"./action-menu-i5ox-tYM.js";import{A as Alert}from"./alert-DctZgQKX.js";import{A as Avatar}from"./avatar-Bb5T61dP.js";import{b as badgeStates,B as Badge}from"./badge-yWdXoMyt.js";import{B as ButtonLink}from"./button-link-AVTPQ2S6.js";import{B as Button}from"./button-DbpOJUcP.js";import{b as buttonStyles}from"./button.style-2dqsCQot.js";import{s as scrollbarStyles,o,i as inputStyles,D as Datepicker_}from"./datepicker-Bsbzzuym.js";/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function r(l){return n$1({...l,state:!0,attribute:!1})}function registerCustomElement(l,t){const a=getCustomElementSuffix(),c=`${l}${a}`;customElements.define(c,t)}const template$k=l=>x` - - ${l.fontLoaded?x` - - `:x` - - - `} -`;var __defProp$Y=Object.defineProperty,__decorateClass$Y=(l,t,a,c)=>{for(var d=void 0,h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$Y(t,a,d),d};class Icon extends r$1{constructor(){super(...arguments),this.size="md",this.icon="",this.fontLoaded=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles)]}firstUpdated(){document.fonts.load('1em "Material Symbols Rounded"').then(()=>{this.fontLoaded=!0,console.log("Font loaded")})}render(){return template$k(this)}}__decorateClass$Y([n$1({type:String})],Icon.prototype,"size");__decorateClass$Y([n$1({type:String})],Icon.prototype,"icon");__decorateClass$Y([r()],Icon.prototype,"fontLoaded");const styles$h=".dss-action-menu-item{display:flex;align-items:center;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);background-color:var(--color-white);transition:all .3s ease-in-out;color:var(--color-neutral-900);cursor:pointer}.dss-action-menu-item:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200)}.dss-action-menu-item:not(.dss-action-menu-item--disabled):hover{background-color:var(--color-primary-100)}.dss-action-menu-item:not(.dss-action-menu-item--disabled):active,.dss-action-menu-item:not(.dss-action-menu-item--disabled).dss-action-menu-item--selected{background-color:var(--color-primary-50)}.dss-action-menu-item.dss-action-menu-item--first{border-top-left-radius:var(--dss-radius-sm);border-top-right-radius:var(--dss-radius-sm)}.dss-action-menu-item.dss-action-menu-item--last{border-bottom-left-radius:var(--dss-radius-sm);border-bottom-right-radius:var(--dss-radius-sm)}.dss-action-menu-item .dss-icon{color:var(--color-neutral-900)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled){color:var(--color-red-500)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled):hover{background-color:var(--color-red-50)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled):active{background-color:var(--color-red-100)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled).dss-action-menu-item--selected{background-color:var(--color-primary-50)}.dss-action-menu-item--error:not(.dss-action-menu-item--disabled) .dss-action-menu-item-label,.dss-action-menu-item--error:not(.dss-action-menu-item--disabled) .dss-icon{color:var(--color-red-500)}.dss-action-menu-item-label{flex:1;font-size:16px;line-height:24px;font-weight:var(--font-regular);color:var(--color-neutral-900);min-width:92px}.dss-action-menu-item--disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-action-menu-item--disabled .dss-action-menu-item-label{color:var(--color-neutral-500)}",dssIcon$3=i`dss-icon${s(getCustomElementSuffix())}`,dssIconButton$2=i`dss-icon-button${s(getCustomElementSuffix())}`,dssNotificationBadge$1=i`dss-notification-badge${s(getCustomElementSuffix())}`,actionMenuItemTemplate=l=>u` -
  • - ${l._leftIcon?u`<${dssIcon$3} size="md" icon="${l._leftIcon}">`:null} - ${l._label} - ${!l._selected&&l._notifications>0?u` - <${dssNotificationBadge$1} - state="${l._notificationsState}" - value="${l._notifications}" - > - `:null} - ${l._rightIcon?u`<${dssIcon$3} size="md" icon="${l._rightIcon}">`:null} - ${l._actionIcon?u` - <${dssIconButton$2} - icon="${l._actionIcon}" - type="${l._actionState}" - @onClick="${l._handleAction}" - ?disabled=${l._disabled} - > - `:null} - ${l._hasNestedMenu?u` - <${dssIcon$3} size="md" icon="chevron_right"> - - `:null} -
  • -`;var __defProp$X=Object.defineProperty,__getOwnPropDesc$U=Object.getOwnPropertyDescriptor,__decorateClass$X=(l,t,a,c)=>{for(var d=__getOwnPropDesc$U(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$X(t,a,d),d};class ActionMenuItem extends r$1{constructor(){super(...arguments),this._state="primary",this._label="Label",this._leftIcon=void 0,this._rightIcon=void 0,this._actionIcon=void 0,this._actionState="primary",this._notifications=0,this._notificationsState="error",this._selected=!1,this._disabled=!1,this._hasNestedMenu=!1,this._nestedMenuPosition="top",this._first=!1,this._last=!1}static get styles(){return[r$2(resetStyles),r$2(styles$h)]}set state(t){const a=this._state;this._state=t==="error"?t:"primary",this.requestUpdate("state",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set leftIcon(t){const a=this._leftIcon;this._leftIcon=t,this.requestUpdate("leftIcon",a)}set rightIcon(t){const a=this._rightIcon;this._rightIcon=t,this.requestUpdate("rightIcon",a)}set actionIcon(t){const a=this._actionIcon;this._actionIcon=t,this.requestUpdate("actionIcon",a)}set actionState(t){const a=this._actionState;this._actionState=t,this.requestUpdate("actionState",a)}set notifications(t){const a=this._notifications;this._notifications=t,this.requestUpdate("notifications",a)}set notificationsState(t){const a=this._notificationsState;this._notificationsState=t,this.requestUpdate("notificationsState",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasNestedMenu(t){const a=this._hasNestedMenu;this._hasNestedMenu=t,this.requestUpdate("hasNestedMenu",a)}set nestedMenuPosition(t){const a=this._nestedMenuPosition;this._nestedMenuPosition=t,this.requestUpdate("nestedMenuPosition",a)}set first(t){const a=this._first;this._first=t,this.requestUpdate("first",a)}set last(t){const a=this._last;this._last=t,this.requestUpdate("last",a)}_handleItemClick(){this._hasNestedMenu?(this._selected=!0,this.requestUpdate()):(this.dispatchEvent(new CustomEvent("onClick",{bubbles:!1,composed:!1})),this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0,composed:!0})))}_handleKeydown(t){const a=t.key;a==="Enter"||a==="Space"?this._handleItemClick():a==="Escape"&&this._selected&&this._unselectItem()}_handleAction(){this.dispatchEvent(new CustomEvent("onAction",{bubbles:!0,composed:!0}))}_clickOutside(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._selected&&this._unselectItem()})}_unselectItem(){this._selected=!1,this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._clickOutside()}catch{console.error("ERROR OCURRED")}}render(){return actionMenuItemTemplate(this)}}__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"state");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"label");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"leftIcon");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"rightIcon");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"actionIcon");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"actionState");__decorateClass$X([n$1({type:Number})],ActionMenuItem.prototype,"notifications");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"notificationsState");__decorateClass$X([n$1(booleanType)],ActionMenuItem.prototype,"selected");__decorateClass$X([n$1(booleanType)],ActionMenuItem.prototype,"disabled");__decorateClass$X([n$1(booleanType)],ActionMenuItem.prototype,"hasNestedMenu");__decorateClass$X([n$1({type:String})],ActionMenuItem.prototype,"nestedMenuPosition");__decorateClass$X([n$1(booleanType)],ActionMenuItem.prototype,"first");__decorateClass$X([n$1(booleanType)],ActionMenuItem.prototype,"last");function toDate(l){const t=Object.prototype.toString.call(l);return l instanceof Date||typeof l=="object"&&t==="[object Date]"?new l.constructor(+l):typeof l=="number"||t==="[object Number]"||typeof l=="string"||t==="[object String]"?new Date(l):new Date(NaN)}function endOfMonth(l){const t=toDate(l),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function eachDayOfInterval(l,t){const a=toDate(l.start),c=toDate(l.end);let d=+a>+c;const h=d?+a:+c,p=d?c:a;p.setHours(0,0,0,0);let b=1;const g=[];for(;+p<=h;)g.push(toDate(p)),p.setDate(p.getDate()+b),p.setHours(0,0,0,0);return d?g.reverse():g}function startOfMonth(l){const t=toDate(l);return t.setDate(1),t.setHours(0,0,0,0),t}function getDay(l){return toDate(l).getDay()}const iconButtonStyles=':host{display:inline-block;vertical-align:middle}.dss-icon-button{position:relative;background-color:transparent;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:24px;height:24px;font-size:var(--icon-size-md)}.dss-icon-button .dss-icon{z-index:1}.dss-icon-button:before{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;background-color:transparent;border-radius:100%;transform:translate(-50%,-50%);transition:.3s all ease-in;z-index:0}.dss-icon-button--sm{height:16px;width:16px;font-size:var(--icon-size-sm)}.dss-icon-button.dss-icon-button--sm:before{width:24px;height:24px}.dss-icon-button--lg{height:32px;width:32px;font-size:var(--icon-size-lg)}.dss-icon-button.dss-icon-button--lg:before{width:40px;height:40px}.dss-icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-400)}.dss-icon-button[hidden]{display:none}.dss-icon-button:focus-visible:enabled{outline:0}.dss-icon-button:focus-visible:enabled:before{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--default{color:var(--color-neutral-700)}.dss-icon-button--default:hover:enabled:before{background-color:var(--color-neutral-100)}.dss-icon-button--default:active:enabled:before{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default{color:var(--color-white)}.dss-icon-button--white-default:hover:enabled:before{background-color:var(--color-neutral-100)}.dss-icon-button--white-default:active:enabled:before{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default:disabled{opacity:.4;color:var(--color-white)}.dss-icon-button--primary{color:var(--color-primary-700)}.dss-icon-button--primary:hover:enabled:before{background-color:var(--color-primary-100)}.dss-icon-button--primary:active:enabled:before{background-color:var(--color-primary-50);transition:none}.dss-icon-button--error{color:var(--color-red-700)}.dss-icon-button--error:hover:enabled:before{background-color:var(--color-red-100)}.dss-icon-button--error:active:enabled:before{background-color:var(--color-red-50)}.dss-icon-button--warning{color:var(--color-yellow-800)}.dss-icon-button--warning:hover:enabled:before{background-color:var(--color-yellow-100)}.dss-icon-button--warning:active:enabled:before{background-color:var(--color-yellow-50)}.dss-icon-button--success{color:var(--color-green-700)}.dss-icon-button--success:hover:enabled:before{background-color:var(--color-green-100)}.dss-icon-button--success:active:enabled:before{background-color:var(--color-green-50)}.dss-icon-button--info{color:var(--color-blue-700)}.dss-icon-button--info:hover:enabled:before{background-color:var(--color-blue-100)}.dss-icon-button--info:active:enabled:before{background-color:var(--color-blue-50)}.dss-icon-button dss-icon{z-index:100}',styles$g=':host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.calendar__container{position:relative;background:#fff;box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;margin-bottom:var(--dss-spacing-xxs);border-radius:var(--dss-radius-sm)}.calendar__content{padding:var(--dss-spacing-md);border-radius:8px 8px 0 0}.calendar__content--buttons{border-top:var(--dss-border-width-sm) solid var(--color-neutral-100)}.calendar__content:last-child{border-radius:0 0 8px 8px;box-shadow:none}.calendar__header{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);margin-bottom:16px}.calendar__header-item{display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-xxs)}.calendar__header-item--click{font-weight:var(--font-semibold);color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);padding:var(--dss-spacing-xxs);cursor:pointer}.calendar__header-item--click:hover{background-color:var(--color-primary-50)}.calendar__header-item--click:active{background-color:var(--color-primary-100)}.calendar__header-item--click:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.calendar__header-item--click:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.calendar__header-buttons .dss-icon-button.dss-icon-button--lg,.calendar-selector--year .dss-icon-button.dss-icon-button--lg{width:32px;height:32px;box-sizing:border-box}.calendar__header-title{margin:auto;font-family:var(--font-family);font-style:normal;font-weight:600;font-size:16px;line-height:24px;color:#414141}.calendar__days-content{display:flex;flex-direction:column;gap:6px}.calendar__week-names,.calendar__days{list-style-type:none;padding:0;margin:0;gap:8px 6px;display:grid;grid-template-columns:repeat(7,1fr)}.calendar__week-names>li{text-align:center}.calendar__day-item{position:relative;height:32px;width:32px;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;z-index:999;border-radius:100%;cursor:pointer;font-size:14px;font-family:var(--font-family);font-weight:var(--font-semibold);line-height:24px;color:var(--color-neutral-900)}.calendar__day-item--weekend{font-weight:var(--font-regular)}.calendar__day-item--range:before{position:absolute;content:"";top:0;bottom:0;left:-6px;right:-6px;background:var(--color-primary-100);z-index:-2}.calendar__day-item--range:hover{color:#fff!important}.calendar__day-item--range:hover:after{position:absolute;content:"";width:100%;height:100%;border-radius:100%;background:var(--color-primary-500);color:#fff;z-index:-1}.calendar__day-item--active{color:#0073e6;box-shadow:inset 0 0 0 2px #0073e6}.calendar__day-item:hover:enabled,.calendar__day-item--selected{background:#0073e6!important;color:#fff}.calendar__day-item--selected-range-start,.calendar__day-item--selected-range-end{color:#fff}.calendar__day-item--selected-range-start:before,.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):before{position:absolute;content:"";top:0;bottom:0;background:var(--color-primary-100);z-index:-2}.calendar__day-item--selected-range-start:after,.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):after{position:absolute;content:"";width:100%;height:100%;border-radius:100%;background:var(--color-primary-500);color:#fff;z-index:-1}.calendar__day-item--selected-range-start:before{left:50%;right:-6px}.calendar__day-item--selected-range-end:not(.calendar__day-item--selected-range-start):before{left:-6px;right:50%}.calendar__day-item:not(.calendar__day-item--range-enabled):hover:enabled{transition:all .3s ease-in}.calendar__day-item.calendar__day-item--range-enabled:hover:enabled{transition:background .3s ease-in}.calendar__day-item:active:enabled{background:#308deb;transition:none}.calendar__day-item:disabled{pointer-events:none;opacity:.5}.calendar__time-container{display:flex;margin:auto;justify-content:center;align-items:center;gap:12px;font-weight:600;font-size:14px;line-height:24px;color:#1d1d1d}.calendar__time-content{display:flex;flex-direction:column;gap:8px;align-items:center}.calendar__buttons{display:flex;justify-content:center;align-items:center;gap:16px}.dss-datepicker__timepicker{position:relative;box-sizing:border-box;padding:var(--dss-spacing-xs) var(--dss-spacing-md) var(--dss-spacing-md)}.calendar-selector{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;padding:var(--dss-spacing-md);background-color:var(--color-white);z-index:1000;border-radius:var(--dss-radius-sm)}.calendar-selector-title{font-size:16px;line-height:24px;font-weight:var(--font-semibold);margin-bottom:var(--dss-spacing-md)}.calendar-selector-title__actions{display:flex;justify-content:flex-end;align-items:center;gap:0}.calendar-selector-title--years{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs)}.calendar-selector-options{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--dss-spacing-xs)}.calendar-selector-options--4col{grid-template-columns:repeat(4,1fr)}.calendar-selector-options__item{height:32px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;font-size:14px;font-weight:var(--font-semibold);text-transform:lowercase;text-align:center;color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);overflow:hidden;cursor:pointer}.calendar-selector-options__item--current{color:var(--color-primary-700)}.calendar-selector-options__item--selected{background-color:var(--color-primary-500);color:var(--color-white)}.calendar-selector-options__item:hover{background-color:var(--color-primary-600);color:var(--color-white)}.calendar-selector-options__item:active{background-color:var(--color-primary-400);color:var(--color-white)}.calendar-selector-options__item:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.calendar-selector-options__item:disabled{cursor:not-allowed;color:var(--color-neutral-500)}',dssTimepicker=i`dss-timepicker${s(getCustomElementSuffix())}`,template$j=l=>{var t,a,c,d;return u` -
    -
    -
    -
    -
    - ${MONTH[l._currMonth]} - expand_more -
    -
    - ${l._currYear} - expand_more -
    -
    -
    - - -
    -
    - -
    -
      - ${WEEK.map(h=>u`
    • ${h}
    • `)} -
    -
    - ${l._days.map(h=>{const p={"calendar__day-item--active":l._isToday(h),"calendar__day-item--weekend":l._isWeekend(h),"calendar__day-item--selected":l._isSelected(h),"calendar__day-item--range":l._isBetweenRange(h)||l._isBetweenRangeOnMouseOver(h),"calendar__day-item--selected-range-start":l._isSelectedRangeStart(h),"calendar__day-item--selected-range-end":l._isSelectedRangeEnd(h)||l._isOverRangeDate(h),"calendar__day-item--range-enabled":l._range};return u` - - `})} -
    -
    -
    - ${l._showMonthSelector?u` -
    -
    Selecciona un mes
    -
    - ${l._generateMonthsOptions()} -
    -
    - `:null} - ${l._showYearSelector?u` -
    -
    -
    - ${l._yearsRangeStart} - ${l._yearsRangeEnd} -
    -
    - - -
    -
    -
    - ${l._generateYearsRangeOptions()} -
    -
    - `:null} - ${l._showTime?u` -
    - <${dssTimepicker} - .dropdown="${l._timepicker}" - .customTimeListOptions=${l._customTimeListOptions} - .minutesRange=${l._minutesRange} - .minHour=${l._minHour} - .maxHour=${l._maxHour} - @onTimepickerChange=${l._onSelectTime} - > - - - -
    - `:null} - ${l._showButtons||l._showTime?u` -
    -
    - - -
    -
    - `:null} -
    - -`};var __defProp$W=Object.defineProperty,__getOwnPropDesc$T=Object.getOwnPropertyDescriptor,__decorateClass$W=(l,t,a,c)=>{for(var d=__getOwnPropDesc$T(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$W(t,a,d),d};const MONTH=["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],WEEK=["dl","dm","dc","dj","dv","ds","dg"];class Calendar extends r$1{constructor(){super(),this._range=!1,this._isRangeStartFocused=!1,this._isRangeEndFocused=!1,this._rangeStartDate=null,this._rangeEndDate=null,this._rangeOverDate=null,this._timepicker="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._customTimeListOptions=[],this._timepickerLabel="",this._date=new Date,this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth(),this._currHour=void 0,this._currMin=void 0,this._days=this._getDays(),this._selectedDate=null,this._showTime=!1,this._showButtons=!0,this._leftLabel="Cancel·lar",this._rightLabel="Seleccionar",this._minDate=null,this._maxDate=null,this._timepickerValue="",this._showMonthSelector=!1,this._showYearSelector=!1,this._yearsRangeStart=new Date().getFullYear()-18,this._yearsRangeEnd=new Date().getFullYear()+1,this._isTimeFormatValid=!1,this._focusFirstElementHandler=this._focusFirstElement.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(styles$g)]}set range(t){const a=this._range;this._range=t,this.requestUpdate("range",a)}set isRangeStartFocused(t){const a=this._isRangeStartFocused;this._isRangeStartFocused=t,this.requestUpdate("isRangeStartFocused",a)}set isRangeEndFocused(t){const a=this._isRangeEndFocused;this._isRangeEndFocused=t,this.requestUpdate("isRangeStartFocused",a)}set selectedDate(t){const a=this._selectedDate;this._selectedDate=this._getDateString(t),this._updateCurrentDate(),this.requestUpdate("selectedDate",a)}set minDate(t){const a=this._minDate;this._minDate=this._getDateString(t),this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=this._getDateString(t),this.requestUpdate("maxDate",a)}set showTime(t){const a=this._showTime;this._showTime=t,this.requestUpdate("showTime",a)}set showButtons(t){const a=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",a)}set leftLabel(t){const a=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",a)}set rightLabel(t){const a=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",a)}set timepicker(t){const a=this._timepicker;this._timepicker=t,this.requestUpdate("timepicker",a)}set minutesRange(t){const a=this._minutesRange;this._minutesRange=t,this.requestUpdate("minutesRange",a)}set minHour(t){const a=this._minHour;this._minHour=t,this.requestUpdate("minHour",a)}set maxHour(t){const a=this._maxHour;this._maxHour=t,this.requestUpdate("maxHour",a)}set customTimeListOptions(t){const a=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",a)}set timepickerLabel(t){const a=this._timepickerLabel;this._timepickerLabel=t,this.requestUpdate("timepickerLabel",a)}set rangeStartDate(t){const a=this._rangeStartDate;this._rangeStartDate=this._getDateString(t),this.requestUpdate("rangeStartDate",a)}set rangeEndDate(t){const a=this._rangeEndDate;this._rangeEndDate=this._getDateString(t),this.requestUpdate("rangeEndDate",a)}connectedCallback(){super.connectedCallback(),this._range&&window.addEventListener("range-focus-calendar",this._focusFirstElementHandler)}disconnectedCallback(){super.disconnectedCallback(),this._range&&window.removeEventListener("range-focus-calendar",this._focusFirstElementHandler)}_focusFirstElement(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("#firstCalendarElement");t==null||t.focus()}_prev(){this._currMonth-=1,this._update()}_next(){this._currMonth+=1,this._update()}_update(){(this._currMonth<0||this._currMonth>11)&&(this._date=new Date(this._currYear,this._currMonth,new Date().getDate()),this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth()),this._days=this._getDays(),this.requestUpdate()}_getDays(){const t=[],a=startOfMonth(new Date(this._currYear,this._currMonth)),c=endOfMonth(new Date(this._currYear,this._currMonth)),d=eachDayOfInterval({start:a,end:c}),h=getDay(a);for(let p=h===0?6:h-1;p>0;p-=1)t.push(0);for(const p of d)t.push(p.getDate());return t}_isToday(t){const a=new Date;return t===a.getDate()&&this._currMonth===a.getMonth()&&this._currYear===a.getFullYear()}_isWeekend(t){const a=new Date(this._currYear,this._currMonth,t);return a.getDay()===0||a.getDay()===6}_isInactive(t){const a=new Date(this._currYear,this._currMonth,t);return t?this._minDate&&this._maxDate?!(a>=this._minDate&&a<=this._maxDate):this._minDate?!(a>=this._minDate):this._maxDate?!(a<=this._maxDate):!1:!0}_isSelected(t){var a,c,d,h,p,b;return this._range?t===((a=this._rangeStartDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeStartDate)==null?void 0:c.getMonth())&&this._currYear===((d=this._rangeStartDate)==null?void 0:d.getFullYear())||this._isSelectedRangeEnd(t):t===((h=this._selectedDate)==null?void 0:h.getDate())&&this._currMonth===((p=this._selectedDate)==null?void 0:p.getMonth())&&this._currYear===((b=this._selectedDate)==null?void 0:b.getFullYear())}_isSelectedRangeStart(t){var a,c,d,h,p,b,g,f;return this._range&&this._rangeStartDate&&this._rangeEndDate?!this._compareSelectedRangeDates()&&t===((a=this._rangeStartDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeStartDate)==null?void 0:c.getMonth())&&this._currYear===((d=this._rangeStartDate)==null?void 0:d.getFullYear()):this._range&&this._rangeStartDate&&!this._rangeEndDate?this._rangeOverDate!==null&&((h=this._rangeStartDate)==null?void 0:h.getTime())<((p=this._rangeOverDate)==null?void 0:p.getTime())&&t===((b=this._rangeStartDate)==null?void 0:b.getDate())&&this._currMonth===((g=this._rangeStartDate)==null?void 0:g.getMonth())&&this._currYear===((f=this._rangeStartDate)==null?void 0:f.getFullYear())&&(!this._isRangeStartFocused||this._showButtons)&&(this._isRangeEndFocused||this._rangeStartDate!==null):(this._range&&this._rangeStartDate===this._rangeEndDate,!1)}_isSelectedRangeEnd(t){var a,c,d;return!this._compareSelectedRangeDates()&&t===((a=this._rangeEndDate)==null?void 0:a.getDate())&&this._currMonth===((c=this._rangeEndDate)==null?void 0:c.getMonth())&&this._currYear===((d=this._rangeEndDate)==null?void 0:d.getFullYear())}_isOverRangeDate(t){var c,d,h;const a=t===((c=this._rangeOverDate)==null?void 0:c.getDate())&&this._currMonth===((d=this._rangeOverDate)==null?void 0:d.getMonth())&&this._currYear===((h=this._rangeOverDate)==null?void 0:h.getFullYear());return this._range&&this._rangeOverDate&&this._rangeStartDate&&!this._rangeEndDate?a&&this._rangeOverDate.getTime()>this._rangeStartDate.getTime()&&(!this._isRangeStartFocused||this._showButtons)&&(this._isRangeEndFocused||this._rangeStartDate!==null):!1}_compareSelectedRangeDates(){return this._rangeStartDate&&this._rangeEndDate?this._rangeStartDate.getFullYear()===this._rangeEndDate.getFullYear()&&this._rangeStartDate.getMonth()===this._rangeEndDate.getMonth()&&this._rangeStartDate.getDate()===this._rangeEndDate.getDate():!0}_isBetweenRange(t){const a=new Date(this._currYear,this._currMonth,t);return!this._isInactive(t)&&this._rangeStartDate&&this._rangeEndDate?a.getTime()>this._rangeStartDate.getTime()&&a.getTime()this._rangeStartDate.getTime()&&a.getTime()this._rangeStartDate.getTime()&&a.getTime()=this._rangeEndDate.getTime()&&(this._rangeStartDate=null,this._rangeEndDate=null),this._isRangeStartFocused||!this._rangeStartDate||this._rangeStartDate.getTime()>this._selectedDate.getTime()?this._rangeStartDate=this._selectedDate:this._rangeEndDate=this._selectedDate),this._range&&this._showButtons&&(this._rangeStartDate&&this._rangeEndDate&&(this._rangeStartDate=null,this._rangeEndDate=null),!this._rangeStartDate||this._rangeStartDate.getTime()>this._selectedDate.getTime()?this._rangeStartDate=this._selectedDate:this._rangeEndDate=this._selectedDate),this.requestUpdate(),!this._showButtons&&(this._range?this._emitRange():this._emitDate())}_selectRangeOverDate(t){this._range&&(this._rangeOverDate=new Date(this._currYear,this._currMonth,t),this.requestUpdate())}_removeRangeOverDate(){this._rangeOverDate=null,this.requestUpdate()}_onCancel(){const t=new CustomEvent("onCancel",{bubbles:!0,composed:!0});this.dispatchEvent(t)}_onAccept(){this._range?this._emitRange():this._emitDate()}_emitDate(){var h,p,b,g;const t=(p=(h=this._selectedDate)==null?void 0:h.getDate())==null?void 0:p.toString().padStart(2,"0"),a=(this._currMonth+1).toString().padStart(2,"0");let c=`${t}/${a}/${this._currYear}`;if(this._showTime){const f=(b=this._currHour)==null?void 0:b.toString().padStart(2,"0"),$=(g=this._currMin)==null?void 0:g.toString().padStart(2,"0");c+=` ${f}:${$}`}const d=new CustomEvent("onDateChange",{detail:c,bubbles:!0,composed:!0});this.dispatchEvent(d)}_emitRange(){var d,h,p,b,g,f,$,v,m,y,k,w;let t=null;if((d=this._rangeStartDate)!=null&&d.getDate()&&((h=this._rangeStartDate)!=null&&h.getMonth())&&((p=this._rangeStartDate)!=null&&p.getFullYear())){const _=(b=this._rangeStartDate.getDate())==null?void 0:b.toString().padStart(2,"0"),S=(((g=this._rangeStartDate)==null?void 0:g.getMonth())+1).toString().padStart(2,"0");t=`${_}/${S}/${(f=this._rangeStartDate)==null?void 0:f.getFullYear()}`}let a=null;if(($=this._rangeEndDate)!=null&&$.getDate()&&((v=this._rangeEndDate)!=null&&v.getMonth())&&((m=this._rangeEndDate)!=null&&m.getFullYear())){const _=(y=this._rangeEndDate.getDate())==null?void 0:y.toString().padStart(2,"0"),S=(((k=this._rangeEndDate)==null?void 0:k.getMonth())+1).toString().padStart(2,"0");a=`${_}/${S}/${(w=this._rangeEndDate)==null?void 0:w.getFullYear()}`}const c=new CustomEvent("onRangeChange",{detail:{rangeStart:t,rangeEnd:a},bubbles:!0,composed:!0});this.dispatchEvent(c)}_updateCurrentDate(){if(!this._selectedDate){this._currYear=this._date.getFullYear(),this._currMonth=this._date.getMonth();return}this._currMonth=this._selectedDate.getMonth(),this._currYear=this._selectedDate.getFullYear(),this._currHour=this._selectedDate.getHours(),this._currMin=this._selectedDate.getMinutes(),this._days=this._getDays(),this._currHour>=10?this._timepickerValue=`${this._currHour}:`:this._timepickerValue=`0${this._currHour}:`,this._currMin>=10?this._timepickerValue+=this._currMin:this._timepickerValue+=`0${this._currMin}`}_getDateString(t){const a=t==null?void 0:t.replace(/(\d+[/])(\d+[/])/,"$2$1"),c=this._showTime?14:8;return(a==null?void 0:a.length)>c?new Date(a):null}_onSelectTime(t){if(this._isTimeFormatValid=!1,t.detail.status==="VALID"){this._isTimeFormatValid=!0;const a=t.detail.value;this._currHour=+a.substring(0,2),this._currMin=+a.substring(3,5)}this.requestUpdate()}_toggleMonthSelector(){this._showMonthSelector=!0,this.requestUpdate()}_onMonthSelectorClick(t){const a=MONTH.indexOf(t);this._currMonth=a,this._update(),this._showMonthSelector=!1,this.requestUpdate()}_toggleYearSelector(){this._showYearSelector=!0,this.requestUpdate()}_onYearSelectorClick(t){this._currYear=t,this._update(),this._showYearSelector=!1,this.requestUpdate()}_generateYearsRangeOptions(){const t=[];for(let c=this._yearsRangeStart;c<=this._yearsRangeEnd;c+=1)t.push(c);return t.map(c=>{const d=v=>{v&&v.focus()},h=v=>{let m=0;const y=this.renderRoot.querySelectorAll(".calendar-selector-options__item--year"),k=y.length-1;v===y[0]?d(y[k]):(y.forEach((w,_)=>{w===v&&(m=_)}),d(y[m-1]))},p=v=>{let m=0;const y=this.renderRoot.querySelectorAll(".calendar-selector-options__item--year"),k=y.length-1;v===y[k]?d(y[0]):(y.forEach((w,_)=>{w===v&&(m=_)}),d(y[m+1]))},b=v=>{const m=v.currentTarget,y=v;let k=!1;switch(y.key){case"ArrowUp":case"ArrowLeft":h(m),k=!0;break;case"ArrowDown":case"ArrowRight":p(m),k=!0;break;case"Enter":const w=v.target,_=this.renderRoot.querySelector('.calendar-selector-options__item--year[tabindex="0"]');_==null||_.setAttribute("tabindex","-1"),v.target.setAttribute("tabindex","0"),w.click(),k=!0;break;case"Escape":this.renderRoot.querySelector(".calendar-selector-options__item--selected").click(),k=!0;break}k&&(v.stopPropagation(),v.preventDefault())},f=new Date().getFullYear(),$={"calendar-selector-options__item--current":c===f,"calendar-selector-options__item--selected":c===this._currYear};return u` -
    this._onYearSelectorClick(c)} - > - ${c} -
    - `})}_generateMonthsOptions(){return MONTH.map(a=>{const c=$=>{$&&$.focus()},d=$=>{let v=0;const m=this.renderRoot.querySelectorAll(".calendar-selector-options__item--month"),y=m.length-1;$===m[0]?c(m[y]):(m.forEach((k,w)=>{k===$&&(v=w)}),c(m[v-1]))},h=$=>{let v=0;const m=this.renderRoot.querySelectorAll(".calendar-selector-options__item--month"),y=m.length-1;$===m[y]?c(m[0]):(m.forEach((k,w)=>{k===$&&(v=w)}),c(m[v+1]))},p=$=>{const v=$.currentTarget,m=$;let y=!1;switch(m.key){case"ArrowUp":case"ArrowLeft":d(v),y=!0;break;case"ArrowDown":case"ArrowRight":h(v),y=!0;break;case"Enter":const k=$.target,w=this.renderRoot.querySelector('.calendar-selector-options__item--month[tabindex="0"]');w==null||w.setAttribute("tabindex","-1"),$.target.setAttribute("tabindex","0"),k.click(),y=!0;break;case"Escape":this.renderRoot.querySelector(".calendar-selector-options__item--selected").click(),y=!0;break}y&&($.stopPropagation(),$.preventDefault())},g=new Date().getMonth(),f={"calendar-selector-options__item--current":MONTH.indexOf(a)===g,"calendar-selector-options__item--selected":MONTH.indexOf(a)===this._currMonth};return u` -
    this._onMonthSelectorClick(a)} - > - ${a.length<=4?u`${a}`:u`${a.slice(0,3)}.`} -
    - `})}_onYearRangeStepUp(){this._yearsRangeStart+=20,this._yearsRangeEnd+=20,this.requestUpdate()}_onYearRangeStepDown(){this._yearsRangeStart-=20,this._yearsRangeEnd-=20,this.requestUpdate()}_onHeaderMonthKeyDown(t){t.key==="Enter"&&(t.target.click(),setTimeout(()=>{this.renderRoot.querySelector('.calendar-selector-options__item--month[tabindex="0"]').focus()},50))}_onHeaderYearKeyDown(t){t.key==="Enter"&&(t.target.click(),setTimeout(()=>{this.renderRoot.querySelector('.calendar-selector-options__item--year[tabindex="0"]').focus()},50))}_validateSelectedDate(){return!!(!this._range&&!this._selectedDate||!this._range&&this._showTime&&!this._isTimeFormatValid||this._range&&(!this._rangeStartDate||!this._rangeEndDate))}_handleCalendarKeydown(t){(t==null?void 0:t.key)==="Escape"&&this._onCancel()}render(){return template$j(this)}}__decorateClass$W([n$1(booleanType)],Calendar.prototype,"range");__decorateClass$W([n$1(booleanType)],Calendar.prototype,"isRangeStartFocused");__decorateClass$W([n$1(booleanType)],Calendar.prototype,"isRangeEndFocused");__decorateClass$W([n$1({type:String})],Calendar.prototype,"selectedDate");__decorateClass$W([n$1({type:String})],Calendar.prototype,"minDate");__decorateClass$W([n$1({type:String})],Calendar.prototype,"maxDate");__decorateClass$W([n$1(booleanType)],Calendar.prototype,"showTime");__decorateClass$W([n$1(booleanType)],Calendar.prototype,"showButtons");__decorateClass$W([n$1({type:String})],Calendar.prototype,"leftLabel");__decorateClass$W([n$1({type:String})],Calendar.prototype,"rightLabel");__decorateClass$W([n$1({type:String})],Calendar.prototype,"timepicker");__decorateClass$W([n$1({type:Number})],Calendar.prototype,"minutesRange");__decorateClass$W([n$1({type:Number})],Calendar.prototype,"minHour");__decorateClass$W([n$1({type:Number})],Calendar.prototype,"maxHour");__decorateClass$W([n$1({type:Array})],Calendar.prototype,"customTimeListOptions");__decorateClass$W([n$1({type:String})],Calendar.prototype,"timepickerLabel");__decorateClass$W([n$1({type:String})],Calendar.prototype,"rangeStartDate");__decorateClass$W([n$1({type:String})],Calendar.prototype,"rangeEndDate");const chatMessageStyles=":host{display:block;width:100%}.chat-message{display:grid;grid-template-columns:40px 1fr 40px;gap:var(--dss-spacing-xs);padding:0 0 0 var(--dss-spacing-hg)}.chat-message-wrapper{display:grid;gap:var(--dss-spacing-xs)}.chat-message-wrapper__message{color:var(--color-neutral-900);display:grid;padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);background-color:var(--color-white);border-radius:var(--dss-radius-sm)}.dss-chat-message--patient .chat-message-wrapper__message{border:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-chat-message--doctor .chat-message-wrapper__message{background-color:var(--color-primary-50)}.message-username{font-size:12px;line-height:16px;font-weight:var(--font-semibold)}.message-text{font-size:14px;line-height:24px}.chat-message-wrapper__date{color:var(--color-neutral-500);font-size:12px;line-height:16px;padding:0 var(--dss-spacing-sm)}::slotted(div){display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:var(--dss-spacing-md)}",dssAvatar=i`dss-avatar${s(getCustomElementSuffix())}`,template$i=l=>{const t={"dss-chat-message--patient":l._who==="patient","dss-chat-message--doctor":l._who==="doctor"},a=()=>u` - <${dssAvatar} - .size="${l._avatarSize}" - .imageUrl="${l._avatarImageUrl}" - > - - `,c=()=>u` - <${dssAvatar} - .size="${l._avatarSize}" - .name="${l._avatarName}" - .surname="${l._avatarSurname}" - > - - `,d=()=>u` ${l._avatarImageUrl?u`${a()}`:u`${c()}`}`;return u` -
    -
    - ${l._who==="patient"?u`${d()}`:null} -
    - -
    -
    -
    ${l._username}
    -
    ${l._message}
    -
    - -
    -
    -
    ${l._date}
    -
    - -
    - ${l._who==="doctor"?u`${d()}`:null} -
    -
    - `};var __defProp$V=Object.defineProperty,__getOwnPropDesc$S=Object.getOwnPropertyDescriptor,__decorateClass$V=(l,t,a,c)=>{for(var d=__getOwnPropDesc$S(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$V(t,a,d),d};class ChatMessage extends r$1{constructor(){super(...arguments),this._username="",this._message="",this._date="",this._who="",this._avatarName="",this._avatarSurname="",this._avatarImageUrl="",this._avatarSize="md"}static get styles(){return[r$2(iconStyles),r$2(chatMessageStyles)]}set username(t){const a=this._username;this._username=t,this.requestUpdate("username",a)}set message(t){const a=this._message;this._message=t,this.requestUpdate("message",a)}set date(t){const a=this._date;this._date=t,this.requestUpdate("date",a)}set who(t){const a=this._who;this._who=t,this.requestUpdate("who",a)}set avatarName(t){const a=this._avatarName;this._avatarName=t,this.requestUpdate("avatarName",a)}set avatarSurname(t){const a=this._avatarSurname;this._avatarSurname=t,this.requestUpdate("avatarSurname",a)}set avatarImageUrl(t){const a=this._avatarImageUrl;this._avatarImageUrl=t,this.requestUpdate("avatarImageUrl",a)}set avatarSize(t){const a=this._avatarSize;this._avatarSize=t,this.requestUpdate("avatarSize",a)}render(){return template$i(this)}}__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"username");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"message");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"date");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"who");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"avatarName");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"avatarSurname");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"avatarImageUrl");__decorateClass$V([n$1({type:String})],ChatMessage.prototype,"avatarSize");const chipStyles=".dss-chip{display:inline-flex;align-items:center;box-sizing:border-box;padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:14px;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-blue-700);color:var(--color-blue-700);line-height:var(--line-24);background-color:var(--color-white);transition:.3s all ease-in;gap:var(--dss-spacing-xxs);cursor:default;width:-moz-fit-content;width:fit-content;max-width:240px;height:32px;overflow:hidden}.dss-chip__icon{font-size:16px}.dss-chip--has-icons:not(.dss-chip--sm):not(.dss-chip--only-icon){padding:var(--dss-spacing-xxs) var(--dss-spacing-xs) var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-chip--disabled{cursor:not-allowed;outline:none;border-color:var(--color-neutral-500);color:var(--color-neutral-500);background-color:var(--color-white)}.dss-chip:not(.dss-chip--disabled):not(.dss-chip--not-clickable):hover{cursor:pointer;box-shadow:none;background-color:var(--color-blue-50)}.dss-chip:not(.dss-chip--disabled):not(.dss-chip--not-clickable):active{background-color:var(--color-blue-100);transition:none}.dss-chip.dss-chip--sm{height:24px;font-size:12px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16);gap:var(--dss-spacing-xxs)}.dss-chip.dss-chip--selected{box-shadow:none;background-color:var(--color-blue-100)}.dss-chip.dss-chip--selected.dss-chip--disabled{background-color:var(--color-white)}.dss-chip:not(.dss-chip--disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200);transition:none;box-shadow:none}.dss-chip__icon{flex-shrink:0}.dss-chip__label{flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dss-chip__delete{flex-shrink:0}";/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function n(l,t,a){return l?t(l):a==null?void 0:a(l)}const dssIcon$2=i`dss-icon${s(getCustomElementSuffix())}`,dssIconButton$1=i`dss-icon-button${s(getCustomElementSuffix())}`,dssTooltip$1=i`dss-tooltip${s(getCustomElementSuffix())}`,template$h=l=>u` -
    - - ${n(l.icon,()=>u` -
    - <${dssIcon$2} - icon="${l.icon}" - size="${l.size==="sm"?"sm":"md"}"> - -
    - `,()=>E)} - - ${n(l.label,()=>u` -
    - ${l.label} -
    - `,()=>E)} - - ${n(l.hasDelete,()=>u` -
    - <${dssIconButton$1} - type="info" - icon="cancel" - size="${l.size==="sm"?"sm":"md"}" - ?disabled=${l.disabled} - @click=${l.handleDelete}> - -
    - `,()=>E)} - - ${n(l._isLabelTruncated,()=>u` - <${dssTooltip$1}> - ${l.label} - - `,()=>E)} -
    -`;var __defProp$U=Object.defineProperty,__decorateClass$U=(l,t,a,c)=>{for(var d=void 0,h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$U(t,a,d),d};class Chip extends r$1{constructor(){super(...arguments),this.size="lg",this.icon="",this.label="",this.hasDelete=!1,this.disabled=!1,this.selected=!1,this.disableSelect=!1,this._isLabelTruncated=!1}static get styles(){return[r$2(resetStyles),r$2(chipStyles)]}handleToggle(){this.disableSelect||this.disabled||(this.selected=!this.selected,this.dispatchEvent(new CustomEvent("onToggle",{detail:{text:this.label,selected:this.selected}})))}handleDelete(t){t.stopPropagation(),this.dispatchEvent(new CustomEvent("onDelete",{detail:{text:this.label}}))}async firstUpdated(){var a;await this.updateComplete;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-chip__label");t&&(this._isLabelTruncated=t.scrollWidth>t.offsetWidth,this._isLabelTruncated&&this.requestUpdate())}render(){return template$h(this)}}__decorateClass$U([n$1({type:String})],Chip.prototype,"size");__decorateClass$U([n$1({type:String})],Chip.prototype,"icon");__decorateClass$U([n$1({type:String})],Chip.prototype,"label");__decorateClass$U([n$1(booleanType)],Chip.prototype,"hasDelete");__decorateClass$U([n$1(booleanType)],Chip.prototype,"disabled");__decorateClass$U([n$1(booleanType)],Chip.prototype,"selected");__decorateClass$U([n$1(booleanType)],Chip.prototype,"disableSelect");function moveFocusToTarget(l){l&&l.focus()}function moveFocusToPreviousTarget(l,t,a){let c=0;const d=l.querySelectorAll(a),h=d.length-1;t===d[0]?moveFocusToTarget(d[h]):(d.forEach((p,b)=>{p===t&&(c=b)}),moveFocusToTarget(d[c-1]))}function moveFocusToNextTarget(l,t,a){let c=0;const d=l.querySelectorAll(a),h=d.length-1;t===d[h]?moveFocusToTarget(d[0]):(d.forEach((p,b)=>{p===t&&(c=b)}),moveFocusToTarget(d[c+1]))}function onKeyboardEnter(l,t,a){const c=l.querySelector(`${a}[tabindex="0"]`);c==null||c.setAttribute("tabindex","-1"),t.setAttribute("tabindex","0"),t.click()}function compareNumbers(l,t,a){return l||(l=0),t||(t=0),a==="asc"?l-t:t-l}function compareDates(l,t,a){return l||(l=new Date("1900-01-01")),t||(t=new Date("1900-01-01")),a==="asc"?l.getTime()-t.getTime():t.getTime()-l.getTime()}function compareStrings(l,t,a){return l||(l=""),t||(t=""),a==="asc"?l.localeCompare(t):t.localeCompare(l)}function sort(l,t,a="asc",c){return[...l].sort((d,h)=>{switch(c){case"number":return compareNumbers(d[t],h[t],a);case"date":return compareDates(new Date(d[t]),new Date(h[t]),a);case"string":return compareStrings(d[t],h[t],a);default:return 0}})}const checkboxStyles='.dss-checkbox{border-radius:2px;width:20px!important;height:20px!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--dss-border-width-sm) solid var(--color-primary-500);position:relative;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-checkbox:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-checkbox.dss-checkbox--validate{border-color:var(--color-neutral-700)}.dss-checkbox:hover{border-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:hover.dss-checkbox--validate{border-color:var(--color-neutral-800)}.dss-checkbox:active{border-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:active.dss-checkbox--validate{border-color:var(--color-neutral-500)}.dss-checkbox:checked{background-color:var(--color-primary-500)}.dss-checkbox:checked.dss-checkbox--validate{border-color:var(--color-green-500);background-color:var(--color-green-500)}.dss-checkbox:checked:before{font-family:var(--font-icons);content:"check";position:absolute;font-size:22px;color:var(--color-white);text-align:center;top:-4px;left:-2px}.dss-checkbox:checked:hover{border-color:var(--color-primary-600);background-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:checked:hover.dss-checkbox--validate{border-color:var(--color-green-600);background-color:var(--color-green-600)}.dss-checkbox:checked:active{background-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:checked:active.dss-checkbox--validate{border-color:var(--color-green-400);background-color:var(--color-green-400)}.dss-checkbox:indeterminate{background-color:var(--color-primary-500)}.dss-checkbox:indeterminate:before{font-family:var(--font-icons);font-size:18px;content:"remove";color:var(--color-white);position:absolute;top:-1px}.dss-checkbox:indeterminate.dss-checkbox--validate{background-color:var(--color-green-500)}.dss-checkbox:disabled{cursor:not-allowed;color:var(--color-neutral-900);border-color:var(--color-neutral-400)}.dss-checkbox:disabled:checked{background-color:var(--color-neutral-300)}.dss-checkbox:disabled:checked:before{color:var(--color-neutral-900)}.dss-checkbox.dss-checkbox--validate:disabled:checked:hover{background-color:var(--color-neutral-300)}.dss-checkbox-label{cursor:pointer}',customTableStyles=":host{display:block;width:100%;height:100%}.dss-custom-table{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.dss-custom-table-header,.dss-custom-table-footer{flex:0 1 auto}.dss-custom-table-body{flex:1 1 auto;overflow:auto;position:relative}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-md);border-top:var(--dss-border-width-sm) solid var(--color-neutral-100);margin-top:var(--dss-spacing-md)}.table-footer-description{color:var(--color-neutral-900);font-size:16px;font-weight:var(--font-bold)}::slotted(.table-footer-actions){display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xs)}";var __defProp$T=Object.defineProperty,__getOwnPropDesc$R=Object.getOwnPropertyDescriptor,__decorateClass$T=(l,t,a,c)=>{for(var d=c>1?void 0:c?__getOwnPropDesc$R(t,a):t,h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=(c?p(t,a,d):p(d))||d);return c&&d&&__defProp$T(t,a,d),d};const dssTableHeader=i`dss-table-header${s(getCustomElementSuffix())}`,dssTablePaginator=i`dss-table-pagination${s(getCustomElementSuffix())}`;class CustomTable extends r$1{constructor(){super(...arguments),this.internalSelectedCounter=0,this._hideHeader=!1,this._hidePaginator=!1,this._columnsHeader=[],this._data=void 0,this._paginatedData=void 0,this._currentSortColumn="",this._currentSortType="string",this._currentSortOrder="none",this._multiselect=!1,this._radioselect=!1,this._allRowsSelected=!1,this._selectedRowsLabel="files seleccionades",this._isFirstUpdate=!0,this._shouldUpdate=!1,this._table=void 0,this._currentRowsChecked=0,this._selectedRowsCounter=void 0,this._tableTitle="",this._filters=[],this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._noFiltersLabel="No hi ha filtres seleccionats",this._isTableHeaderCreated=!1,this._hideHeaderTitleAndExpand=!1,this._disableSorting=!1,this._isPaginationStarted=!1,this._totalResults=void 0,this._currentIndex=1,this._pageSize=10,this._pageSizeOptions=[5,10,20],this._resultstext="Resultats",this._rowsperpagetext="Files per pàgina",this._paginationState=void 0,this._pageSizeOptionsDisabled=!1,this._hidePaginationResults=!1,this._hideFooter=!1}static get styles(){return[r$2(iconStyles),r$2(scrollbarStyles),r$2(checkboxStyles),r$2(customTableStyles)]}set hideHeader(t){const a=this._hideHeader;this._hideHeader=t,this.requestUpdate("hideHeader",a)}set hidePaginator(t){const a=this._hidePaginator;this._hidePaginator=t,this.requestUpdate("hidePaginator",a)}set columnsHeader(t){const a=this._columnsHeader;this._columnsHeader=t,this.requestUpdate("columnsHeader",a)}set data(t){const a=this._data;this._data=t,this.requestUpdate("data",a)}set multiselect(t){const a=this._multiselect;this._multiselect=t,this.requestUpdate("multiselect",a)}set radioselect(t){const a=this._radioselect;this._radioselect=t,this.requestUpdate("radioselect",a)}set selectedRowsLabel(t){const a=this._selectedRowsLabel;this._selectedRowsLabel=t,this.requestUpdate("selectedRowsLabel",a)}set selectedRowsCounter(t){const a=this._selectedRowsCounter;this._selectedRowsCounter=t,this.requestUpdate("selectedRowsCounter",a)}set tableTitle(t){const a=this._tableTitle;this._tableTitle=t,this.requestUpdate("tableTitle",a)}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set noFiltersLabel(t){const a=this._noFiltersLabel;this._noFiltersLabel=t,this.requestUpdate("noFiltersLabel",a)}set hideHeaderTitleAndExpand(t){const a=this._hideHeaderTitleAndExpand;this._hideHeaderTitleAndExpand=t,this.requestUpdate("hideHeaderTitleAndExpand",a)}set disableSorting(t){const a=this._disableSorting;this._disableSorting=t,this.requestUpdate("disableSorting",a)}set totalResults(t){const a=this._totalResults;this._totalResults=t,this.requestUpdate("totalResults",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set resultsLabel(t){const a=this._resultstext;this._resultstext=t,this.requestUpdate("resultsLabel",a)}set rowsPerPageLabel(t){const a=this._rowsperpagetext;this._rowsperpagetext=t,this.requestUpdate("rowsperpageLabel",a)}set hidePaginationResults(t){const a=this._hidePaginationResults;this._hidePaginationResults=t,this.requestUpdate("hidePaginationResults",a)}set pageSizeOptionsDisabled(t){const a=this._pageSizeOptionsDisabled;this._pageSizeOptionsDisabled=t,this.requestUpdate("pageSizeOptionsDisabled",a)}set hideFooter(t){const a=this._hideFooter;this._hideFooter=t,this.requestUpdate("hideFooter",a)}_getDataLength(){let t=0;return this._totalResults!==void 0&&this._totalResults>=0?t=this._totalResults:this._data&&(t=this._data.length),t}_sortBy(t,a,c,d,h){this._currentSortColumn=a,this._currentSortType=c,d?d==="none"?this._currentSortOrder="asc":d==="asc"?this._currentSortOrder="desc":d==="desc"&&(this._currentSortOrder="none"):this._currentSortOrder="asc",this._updateColumnSortState();let p;return this._currentSortOrder==="none"?p=t:p=sort(t,this._currentSortColumn,this._currentSortOrder,c),p&&!h&&this._dispatchSort(p),p}_updateColumnSortState(){this._columnsHeader.forEach(t=>{t.column===this._currentSortColumn?t.sortOrder=this._currentSortOrder:t.sortOrder&&(t.sortOrder="none")})}_onSelectAll(){if(this._table){this._allRowsSelected=!this._allRowsSelected;let t=0,a=0;const c=this._table.querySelectorAll(".dss-checkbox--multiselect");c.forEach(d=>{d.disabled?a+=1:(d.checked||(t+=1),d.checked=this._allRowsSelected)}),this._allRowsSelected?this._currentRowsChecked+=t:this._currentRowsChecked-=c.length-a,this._updateTableFooterRowsChecked(),this._dispatchMultiselect()}}_rowsCheckedListener(t){this._table&&t.tagName==="INPUT"&&t.type==="checkbox"&&t.classList.contains("dss-checkbox")&&!t.classList.contains("dss-checkbox--thead")&&(t.checked?this._currentRowsChecked+=1:this._currentRowsChecked-=1,this._updateTableFooterRowsChecked())}_updateTableFooterRowsChecked(){this._selectedRowsCounter===void 0&&(this.internalSelectedCounter=this._currentRowsChecked)}_updateTableHeader(){if(this._table){const t=this._table.querySelector(".dss-custom-table");let a=t.querySelector("thead");a||(a=document.createElement("thead"),a.classList.add("dss-thead"),t.insertBefore(a,t.firstChild)),B(this._generateTableHeaderHTML(),a)}}_generateTableHeaderHTML(){let t=!0,a=u``,c=u``;this._multiselect&&(a=u` - -
    - -
    - - `),this._radioselect&&(c=u` - -
    - - `);const d=this._columnsHeader.map(p=>{const b=()=>{p.sortType&&!this._disableSorting&&(this._paginatedData?this._sortBy(this._paginatedData,p.column,p.sortType,p==null?void 0:p.sortOrder):this._sortBy(this._data,p.column,p.sortType,p==null?void 0:p.sortOrder),this._updateTableHeaderIcons())},g=y=>{const k=y.currentTarget,w=y;let _=!1;switch(w.key){case"ArrowLeft":this._table&&moveFocusToPreviousTarget(this._table,k,".dss-th-content--clickable"),_=!0;break;case"ArrowRight":this._table&&moveFocusToNextTarget(this._table,k,".dss-th-content--clickable"),_=!0;break;case"Enter":const C=y.target;this._table&&onKeyboardEnter(this._table,C,".dss-th-content--clickable"),_=!0;break}_&&(y.stopPropagation(),y.preventDefault())},f={"dss-th--align-center":p.align==="center","dss-th--align-right":p.align==="right"};let $=!1;p.sortType&&!this._disableSorting&&($=!0);const v={"dss-th-content--clickable":$},m=u` - -
    - - - ${p.sortType&&!this._disableSorting?u`${this._getTableHeaderSortIconHTML(p.column)}`:null} -
    - - `;return t=!1,m});return u` - ${a} ${c} ${d} - `}_getTableHeaderSortIconHTML(t){let a=u``;if(this._currentSortColumn===t)switch(this._currentSortOrder){case"asc":a=u`arrow_upward`;break;case"desc":a=u`arrow_downward`;break;default:a=u`swap_vert`;break}else a=u`swap_vert`;return u` - - ${a} - - `}_updateTableHeaderIcons(){this._table&&this._table.querySelectorAll(".dss-th-content--clickable > .dss-icon").forEach(a=>{const c=a.getAttribute("column");let d="swap_vert";if(this._currentSortColumn===c)switch(this._currentSortOrder){case"asc":d="arrow_upward";break;case"desc":d="arrow_downward";break;default:d="swap_vert";break}a.innerHTML=d})}_paginate(t){const a=t.startIndex,c=t.endIndex;if(this._data){const d=c<=this._data.length?c:this._data.length;this._paginatedData=[...this._data.slice(a-1,d)]}if(t.pageSize&&(this._pageSize=t.pageSize),this._currentSortColumn&&this._currentSortOrder){let d="";this._currentSortOrder==="asc"?d="none":this._currentSortOrder==="desc"?d="asc":d="dsc",this._paginatedData=this._sortBy(this._paginatedData,this._currentSortColumn,this._currentSortType,d,!0)}return this._paginatedData}_rowKeydownListener(){if(this._table){let t=!0;this._table.querySelectorAll(".dss-tbody-row").forEach(c=>{t?c.setAttribute("tabindex","0"):c.setAttribute("tabindex","-1"),t=!1,c.addEventListener("keydown",d=>{let h=!1;switch(d.key){case"ArrowUp":this._table&&moveFocusToPreviousTarget(this._table,c,".dss-tbody-row"),h=!0;break;case"ArrowDown":this._table&&moveFocusToNextTarget(this._table,c,".dss-tbody-row"),h=!0;break;case"Enter":if(this._multiselect){const p=c.querySelector(".dss-checkbox--multiselect");p&&(p.checked=!(p!=null&&p.checked),this.requestUpdate()),h=!0}if(this._radioselect){const p=c.querySelector(".dss-radio");p&&(p.checked=!(p!=null&&p.checked),this.requestUpdate()),h=!0}break}h&&(d.stopPropagation(),d.preventDefault())})})}}_dispatchChangeFilters(t){this._filters=t.detail;const a={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onUpdateFilters",a))}_dispatchExpandTable(t){this._expandTable=t.detail;const a={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpandTable",a))}_dispatchOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenDrawer",t))}_dispatchPagination(t){var a;if(!this._totalResults||this._isPaginationStarted){const c={detail:t.detail,bubbles:!0,composed:!0};if(this._paginationState=c.detail,this._data&&!this._totalResults&&(c.detail.data=this._paginate(this._paginationState)),this._totalResults&&(this._shouldUpdate=!0),this._allRowsSelected){this._allRowsSelected=!1;const d=(a=this._table)==null?void 0:a.querySelector(".dss-checkbox--thead");d&&(d.checked=!1)}this.dispatchEvent(new CustomEvent("onPaginate",c))}this._isPaginationStarted=!0}_dispatchSort(t){const a={detail:{currentSortColumn:this._currentSortColumn,currentSortOrder:this._currentSortOrder,currentSortType:this._currentSortType,columnsHeader:this._columnsHeader,data:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSort",a))}_dispatchMultiselect(){const t={detail:this._allRowsSelected,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onMultiselect",t))}_initTable(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="table"]'))||void 0;this._table=t==null?void 0:t.assignedElements()[0],this._table&&(this._columnsHeader.length&&!this._isTableHeaderCreated&&(this._updateTableHeader(),this._isTableHeaderCreated=!0),this._rowKeydownListener(),new MutationObserver(d=>{d.forEach(h=>{h.type==="childList"&&h.addedNodes.length>0&&this._rowKeydownListener()}),this._checkAllRowsSelected()}).observe(this._table,{childList:!0,subtree:!0}))}_checkAllRowsSelected(){var t;if(this._table){const a=this._table.querySelectorAll(".dss-checkbox--multiselect");let c=!0;if(a.length===0&&(c=!1),a.forEach(d=>{!d.checked&&!d.disabled&&(c=!1)}),this._allRowsSelected!==c){this._allRowsSelected=c;const d=(t=this._table)==null?void 0:t.querySelector(".dss-checkbox--thead");d.checked=this._allRowsSelected}}}async firstUpdated(){await this.updateComplete,this._isFirstUpdate&&!this._table&&(this._initTable(),this.addEventListener("change",t=>{this._rowsCheckedListener(t.target),this._checkAllRowsSelected()})),this._isFirstUpdate=!1}willUpdate(t){const a=t.has("columnsHeader"),c=t.has("disableSorting"),d=t.has("data");if(c&&this._updateTableHeader(),a&&(this._columnsHeader.forEach(h=>{h.sortOrder&&(this._currentSortColumn=h.column,this._currentSortOrder=h.sortOrder,h.sortType&&(this._currentSortType=h.sortType))}),!this._isTableHeaderCreated&&this._table&&(this._updateTableHeader(),this._isTableHeaderCreated=!0)),d&&!this._isFirstUpdate)if(this._totalResults){if(this.internalSelectedCounter>this._totalResults&&(this.internalSelectedCounter=this._totalResults),this._shouldUpdate){if(this._currentSortColumn&&this._currentSortType&&this._currentSortOrder&&this._currentSortOrder!=="none"){const h=sort(this._data,this._currentSortColumn,this._currentSortOrder,this._currentSortType);this._dispatchSort(h)}this._shouldUpdate=!1}}else{const h=this._getDataLength();if(this.internalSelectedCounter>h&&(this.internalSelectedCounter=h,this._currentRowsChecked=h),this._paginationState){this._paginationState.endIndex -
    - ${this._hideHeader?null:u` - <${dssTableHeader} - .headerTitle=${this._tableTitle} - .filters=${this._filters} - .innerFilters=${this._innerFilters} - .expandTable=${this._expandTable} - .expandLabel=${this._expandLabel} - .collapseLabel=${this._collapseLabel} - .filtersLabel=${this._filtersLabel} - .cleanFiltersLabel=${this._cleanFiltersLabel} - .noFiltersLabel=${this._noFiltersLabel} - .hideHeaderTitleAndExpand=${this._hideHeaderTitleAndExpand} - @onChangeFilters=${this._dispatchChangeFilters} - @onExpand=${this._dispatchExpandTable} - @onOpenFilters=${this._dispatchOpenFilters} - > - - - `} -
    - -
    - -
    - - ${this._hideFooter?null:u` - - `} - - `}}__decorateClass$T([n$1({type:Number})],CustomTable.prototype,"internalSelectedCounter",2);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"hideHeader",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"hidePaginator",1);__decorateClass$T([n$1({type:Array})],CustomTable.prototype,"columnsHeader",1);__decorateClass$T([n$1({type:Array})],CustomTable.prototype,"data",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"multiselect",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"radioselect",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"selectedRowsLabel",1);__decorateClass$T([n$1({type:Number})],CustomTable.prototype,"selectedRowsCounter",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"tableTitle",1);__decorateClass$T([n$1({type:Array})],CustomTable.prototype,"filters",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"innerFilters",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"expandTable",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"expandLabel",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"collapseLabel",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"filtersLabel",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"cleanFiltersLabel",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"noFiltersLabel",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"hideHeaderTitleAndExpand",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"disableSorting",1);__decorateClass$T([n$1({type:Number})],CustomTable.prototype,"totalResults",1);__decorateClass$T([n$1({type:Number})],CustomTable.prototype,"currentIndex",1);__decorateClass$T([n$1({type:Number})],CustomTable.prototype,"pageSize",1);__decorateClass$T([n$1({type:Array})],CustomTable.prototype,"pageSizeOptions",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"resultsLabel",1);__decorateClass$T([n$1({type:String})],CustomTable.prototype,"rowsPerPageLabel",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"hidePaginationResults",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"pageSizeOptionsDisabled",1);__decorateClass$T([n$1(booleanType)],CustomTable.prototype,"hideFooter",1);const datepickerRangeStyles=":host{display:block;width:100%;min-width:257px}.dss-datepicker-range{position:relative;font-family:var(--font-family);height:48px}.dss-datepicker-range--sm{height:40px}.dss-datepicker-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:var(--dss-spacing-md)}.dss-datepicker-range-help{font-family:var(--font-family)}.dss-datepicker-range-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-datepicker-range-help--disabled{color:var(--color-neutral-500)}.dss-datepicker-range-help--invalid{color:var(--color-red-500)}.dss-calendar{position:absolute;margin-top:var(--dss-spacing-xxs);top:48px;z-index:900;width:-moz-fit-content;width:fit-content}.dss-calendar--sm{margin-top:var(--dss-spacing-xxs);top:40px}",dssCalendar=i`dss-calendar${s(getCustomElementSuffix())}`,template$g=l=>{var p,b,g,f,$,v,m,y,k,w,_,C,S,T,D,q,U,P,I,L,O,R,A,z,F;const t={"dss-datepicker-range--sm":l._inputSize==="sm"},a={"dss-datepicker-range-help--invalid":l._invalid||!((p=l._inputRangeStart)!=null&&p.validity.valid)&&((b=l._inputRangeStart)==null?void 0:b.value)!==""||!((g=l._inputRangeEnd)!=null&&g.validity.valid)&&((f=l._inputRangeEnd)==null?void 0:f.value)!=="","dss-datepicker-range-help--disabled":(($=l._inputRangeStart)==null?void 0:$.disabled)&&((v=l._inputRangeEnd)==null?void 0:v.disabled)},c={"dss-input-group--focused":((m=l._inputRangeStart)==null?void 0:m.value)||l._isStartFocused||l._copyInputRangeStartPlaceholder,"dss-input-group--lg":l._inputSize==="md","dss-input-group--md":l._inputSize==="sm","dss-input-group--invalid":l._invalid||!((y=l._inputRangeStart)!=null&&y.validity.valid)&&((k=l._inputRangeStart)==null?void 0:k.value)!=="","dss-input-group--disabled":(w=l._inputRangeStart)==null?void 0:w.disabled,"dss-input-group--read-only":(_=l._inputRangeStart)==null?void 0:_.readOnly,"dss-input-group--required":(C=l._inputRangeStart)==null?void 0:C.required},d={"dss-input-group--focused":((S=l._inputRangeEnd)==null?void 0:S.value)||l._isEndFocused||l._copyInputRangeEndPlaceholder,"dss-input-group--lg":l._inputSize==="md","dss-input-group--md":l._inputSize==="sm","dss-input-group--invalid":l._invalid||!((T=l._inputRangeEnd)!=null&&T.validity.valid)&&((D=l._inputRangeEnd)==null?void 0:D.value)!=="","dss-input-group--disabled":(q=l._inputRangeEnd)==null?void 0:q.disabled,"dss-input-group--read-only":(U=l._inputRangeEnd)==null?void 0:U.readOnly,"dss-input-group--required":(P=l._inputRangeEnd)==null?void 0:P.required},h={"dss-calendar":!0,"dss-calendar--disabled":((I=l._inputRangeStart)==null?void 0:I.disabled)&&((L=l._inputRangeEnd)==null?void 0:L.disabled),"dss-calendar--sm":l._inputSize==="sm"};return u` -
    -
    -
    - ${l._iconRangeStart} - - -
    - -
    - ${l._iconRangeEnd} - - -
    -
    - - ${l._helpText?u` -
    - ${l._helpText} -
    - `:null} - ${l._showCalendar&&!((O=l._inputRangeStart)!=null&&O.readOnly)&&!((R=l._inputRangeEnd)!=null&&R.readOnly)?u` - <${dssCalendar} - range - .isRangeStartFocused=${l._isStartFocused} - .isRangeEndFocused=${l._isEndFocused} - role="listbox" - aria-label="Datepicker Range Calendar" - id="datepicker-range-calendar" - class="${e(h)}" - .selectedDate="${(A=l._inputRangeStart)==null?void 0:A.value}" - .rangeStartDate="${(z=l._inputRangeStart)==null?void 0:z.value}" - .rangeEndDate="${(F=l._inputRangeEnd)==null?void 0:F.value}" - .showButtons=${l._calendarShowButtons} - .leftLabel=${l._calendarLeftButtonLabel} - .rightLabel=${l._calendarRightButtonLabel} - .minDate=${l._minDate} - .maxDate=${l._maxDate} - @onRangeChange=${l._onCalendarChange} - @onCancel=${l._onCalendarCancel} - > - `:null} -
    - `};var __defProp$S=Object.defineProperty,__getOwnPropDesc$Q=Object.getOwnPropertyDescriptor,__decorateClass$S=(l,t,a,c)=>{for(var d=__getOwnPropDesc$Q(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$S(t,a,d),d};class DatepickerRange extends r$1{constructor(){super(...arguments),this._iconRangeStart="calendar_month",this._iconRangeEnd="calendar_month",this._dateformatPlaceholder="dd/mm/yyyy",this._isStartFocused=!1,this._isEndFocused=!1,this._invalid=!1,this._showCalendar=!1,this._helpText="",this._minDate="",this._maxDate="",this._inputSize="md",this._calendarShowButtons=!1,this._calendarLeftButtonLabel="Cancel·lar",this._calendarRightButtonLabel="Seleccionar",this._copyInputRangeStartPlaceholder="",this._copyInputRangeEndPlaceholder="",this._isFirstInputsCheck=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&this._checkInputAttributes()},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(resetStyles),r$2(inputStyles),r$2(datepickerRangeStyles)]}get _inputRangeStart(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input-range-start"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _inputRangeEnd(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input-range-end"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set iconRangeStart(t){const a=this._iconRangeStart;this._iconRangeStart=t,this.requestUpdate("iconRangeStart",a)}set iconRangeEnd(t){const a=this._iconRangeEnd;this._iconRangeEnd=t,this.requestUpdate("iconRangeEnd",a)}set minDate(t){const a=this._minDate;this._minDate=t,this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="sm"?this._inputSize=t:this._inputSize="md",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set showButtons(t){const a=this._calendarShowButtons;this._calendarShowButtons=t,this.requestUpdate("calendarShowButtons",a)}set calendarLeftButtonLabel(t){const a=this._calendarLeftButtonLabel;this._calendarLeftButtonLabel=t,this.requestUpdate("calendarLeftButtonLabel",a)}set calendarRightButtonLabel(t){const a=this._calendarRightButtonLabel;this._calendarRightButtonLabel=t,this.requestUpdate("calendarRightButtonLabel",a)}_checkInputAttributes(){this._isFirstInputsCheck&&this._inputRangeStart&&(this._copyInputRangeStartPlaceholder=this._inputRangeStart.placeholder),this._isFirstInputsCheck&&this._inputRangeEnd&&(this._copyInputRangeEndPlaceholder=this._inputRangeEnd.placeholder),this._isFirstInputsCheck=!1}_updatePlaceholders(){this._isStartFocused&&!this._copyInputRangeStartPlaceholder&&(this._inputRangeStart.setAttribute("placeholder",this._dateformatPlaceholder),this.requestUpdate()),this._isEndFocused&&!this._copyInputRangeEndPlaceholder&&(this._inputRangeEnd.setAttribute("placeholder",this._dateformatPlaceholder),this.requestUpdate())}_removePlaceholders(){this._copyInputRangeStartPlaceholder||this._inputRangeStart.removeAttribute("placeholder"),this._copyInputRangeEndPlaceholder||this._inputRangeEnd.removeAttribute("placeholder")}_handleRangeStartInput(t){if(t.target){const c=t.target.value.replace(/\D/g,"");this._inputRangeStart.value=this._formatDate(c)}}_handleRangeEndInput(t){if(t.target){const c=t.target.value.replace(/\D/g,"");this._inputRangeEnd.value=this._formatDate(c)}}_handleRangeStartClick(){this._showCalendar=!0,this.requestUpdate()}_handleRangeEndClick(){this._showCalendar=!0,this.requestUpdate()}_handleRangeStartFocusIn(){this._isStartFocused||(this._isStartFocused=!0,this._isEndFocused=!1,this._copyInputRangeEndPlaceholder||this._inputRangeEnd.removeAttribute("placeholder"),this._updatePlaceholders(),this.requestUpdate())}_handleRangeEndFocusIn(){this._isEndFocused||(this._isStartFocused=!1,this._copyInputRangeStartPlaceholder||this._inputRangeStart.removeAttribute("placeholder"),this._isEndFocused=!0,this._updatePlaceholders(),this.requestUpdate())}_handleRangeKeydown(t){(t==null?void 0:t.key)==="Tab"?this._showCalendar&&this._isStartFocused&&(t.preventDefault(),this.dispatchEvent(new CustomEvent("range-focus-calendar",{bubbles:!0,composed:!0}))):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this.requestUpdate()):(t==null?void 0:t.key)==="Escape"&&(this._showCalendar=!1,this.requestUpdate())}_onCalendarChange(t){const a=t.detail;a.rangeStart&&(this._inputRangeStart.value=t.detail.rangeStart),a.rangeEnd?this._inputRangeEnd.value=t.detail.rangeEnd:this._inputRangeEnd.value="",this._inputRangeEnd.value||(this._inputRangeEnd.focus(),this._isStartFocused=!1,this._isEndFocused=!0),this._inputRangeStart.value&&this._inputRangeEnd.value&&(this._showCalendar=!1,this._isStartFocused=!1,this._isEndFocused=!1),this.requestUpdate()}_onCalendarCancel(){this._showCalendar=!1,this.requestUpdate()}_closeCalendar(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._showCalendar&&(this._removePlaceholders(),this._isStartFocused=!1,this._isEndFocused=!1,this._showCalendar=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._inputRangeStart&&a!==this._inputRangeEnd&&this._showCalendar&&(this._removePlaceholders(),this._isStartFocused=!1,this._isEndFocused=!1,this._showCalendar=!1,this.requestUpdate())})}_formatDate(t){let a=t.substring(0,2),c=t.substring(2,4);const d=t.substring(4,8);return Number(a)>3&&(a=a==null?void 0:a.padStart(2,"0")),Number(c)>1&&(c=c==null?void 0:c.padStart(2,"0")),Number(a)>31&&(a="31"),Number(c)>12&&(c="12"),c==="02"&&Number(a)>28&&(d==null?void 0:d.length)===4&&(a=new Date(Number(d),1,29).getMonth()===1?"29":"28"),`${a}${c?`/${c}`:""}${d?`/${d}`:""}`}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._inputRangeStart&&this._inputRangeEnd&&(this._checkInputAttributes(),this.observer.observe(this._inputRangeStart,this.observerConfig),this.observer.observe(this._inputRangeEnd,this.observerConfig)),this._closeCalendar()}catch{console.error("ERROR OCURRED")}}render(){return template$g(this)}}__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"iconRangeStart");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"iconRangeEnd");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"minDate");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"maxDate");__decorateClass$S([n$1(booleanType)],DatepickerRange.prototype,"invalid");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"inputSize");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"helpText");__decorateClass$S([n$1(booleanType)],DatepickerRange.prototype,"showButtons");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"calendarLeftButtonLabel");__decorateClass$S([n$1({type:String})],DatepickerRange.prototype,"calendarRightButtonLabel");const drawerStyles=':host{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;visibility:hidden;opacity:0;display:flex;justify-content:flex-end;align-items:center;transition:opacity .25s;z-index:999}:host([open]){visibility:visible}:host(.show){opacity:1}:host(.hide){opacity:0}.drawer{position:relative;box-sizing:border-box;width:-moz-fit-content;width:fit-content;width:45%;height:100%;overflow-y:auto;background:var(--color-white);visibility:hidden;transform:translate(100%);transition:transform .25s ease-in-out;display:flex;flex-direction:column}:host(.show) .drawer{visibility:visible;transform:translate(0)}.drawer-header{position:sticky;top:0;left:0;height:84px;background-color:var(--color-white);padding:var(--dss-spacing-lg);display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);border-bottom:var(--color-white) solid var(--dss-border-width-sm);transition:all .25s ease-in-out;z-index:900}.drawer-header--scrolled{border-bottom-color:var(--color-neutral-100);box-shadow:0 1px 3px 1px #0000001a,0 1px 2px #0000000d}.drawer--sm .drawer-header{height:62px;padding:var(--dss-spacing-md)}.drawer--lg .drawer-header{height:100px;padding:var(--dss-spacing-xl)}.drawer-header-title{font-size:24px;font-weight:var(--font-bold);line-height:30px}.drawer--sm .drawer-header-title{font-size:20px}.drawer-body{padding:0 var(--dss-spacing-lg);flex:1}.drawer--sm .drawer-body{padding:0 var(--dss-spacing-md)}.drawer--lg .drawer-body{padding:0 var(--dss-spacing-xl)}.drawer-footer{position:sticky;bottom:0;left:0;height:80px;min-height:80px;background-color:var(--color-white);padding:var(--dss-spacing-lg);display:flex;justify-content:flex-end;gap:var(--dss-spacing-md);align-items:center;border-top:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out;z-index:900}.drawer-footer--scrolled{border-top-color:var(--color-neutral-100)}.drawer--sm .drawer-footer{height:56px;min-height:56px;padding:var(--dss-spacing-md)}.drawer--lg .drawer-footer{height:104px;min-height:104px;padding:var(--dss-spacing-xl)}::slotted(div[slot="drawer-footer"]){display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-md)}@media screen and (min-width: 1440px) and (max-width: 1919px){.drawer{width:50%}}@media only screen and (min-width: 1024px) and (max-width: 1439px){.drawer{width:60%}}@media only screen and (max-width: 1023px){.drawer{width:80%}}',template$f=l=>{const t={"drawer--sm":l._size==="sm","drawer--md":l._size==="md","drawer--lg":l._size==="lg"},a={"dss-icon-button--md":l._size==="sm","dss-icon-button--lg":l._size!=="sm"};return u` -
    -
    -
    ${l._title}
    - -
    -
    - -
    - -
    - `};var __defProp$R=Object.defineProperty,__getOwnPropDesc$P=Object.getOwnPropertyDescriptor,__decorateClass$R=(l,t,a,c)=>{for(var d=__getOwnPropDesc$P(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$R(t,a,d),d};const ANIMATION_DURATION$1=250;class Drawer extends r$1{constructor(){super(),this._open=!1,this._title="",this._size="md",this._drawerHeader=null,this._drawerFooter=null,this._handleKeydown=this._handleKeydown.bind(this),this._handleOutsideClick=this._handleOutsideClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),r$2(drawerStyles)]}set open(t){const a=this._open;this._open=t,this.requestUpdate("open",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("who",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}get open(){return this._open}get title(){return this._title}get size(){return this._size}_showDrawer(){this.classList.add("show"),this.classList.remove("hide"),setTimeout(()=>{this.classList.add("show"),this.style.visibility="visible"},0),document.body.style.overflow="hidden"}_hideDrawer(){this.classList.add("hide"),this.classList.remove("show"),setTimeout(()=>{this.classList.remove("hide"),this.style.visibility="hidden"},ANIMATION_DURATION$1),document.body.style.overflow=""}_closeDrawer(){this.open=!1,this._hideDrawer(),this.requestUpdate();const t=new Event("onDrawerClosed");this.dispatchEvent(t)}_handleKeydown(t){t.key==="Escape"&&this._closeDrawer()}_handleOutsideClick(t){var a;if(this._open){const c=(a=this.shadowRoot)==null?void 0:a.querySelector(".drawer"),d=t.composedPath();c&&d.includes(this)&&!d.includes(c)&&this._closeDrawer()}}_handleScroll(t){var c,d,h,p;const a=t.target;a&&(a.scrollTop>0?(c=this._drawerHeader)==null||c.classList.add("drawer-header--scrolled"):(d=this._drawerHeader)==null||d.classList.remove("drawer-header--scrolled"),a.scrollHeight-a.scrollTop!==a.clientHeight?(h=this._drawerFooter)==null||h.classList.add("drawer-footer--scrolled"):(p=this._drawerFooter)==null||p.classList.remove("drawer-footer--scrolled"))}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleOutsideClick)}updated(t){t.has("open")&&(this._open?this._showDrawer():this._hideDrawer())}firstUpdated(){var a,c,d;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".drawer");t&&(t.addEventListener("scroll",this._handleScroll.bind(this)),this._drawerHeader=(c=this.shadowRoot)==null?void 0:c.querySelector(".drawer-header"),this._drawerFooter=(d=this.shadowRoot)==null?void 0:d.querySelector(".drawer-footer"),t.scrollHeight>t.clientHeight&&this._drawerFooter.classList.add("drawer-footer--scrolled"))}render(){return template$f(this)}}__decorateClass$R([n$1(booleanType)],Drawer.prototype,"open");__decorateClass$R([n$1({type:String})],Drawer.prototype,"title");__decorateClass$R([n$1({type:String})],Drawer.prototype,"size");const headerLinksStyles=":host{display:block}.dss-header-links{display:flex;align-items:center;gap:var(--dss-spacing-md)}.dss-header-links__button-link{all:unset;cursor:pointer;display:flex;align-items:center;gap:var(--dss-spacing-xs);vertical-align:middle;color:var(--color-primary-700);font-size:14px;font-style:normal;font-weight:600;line-height:24px;font-family:var(--font-family)}.dss-header-links__button-link:hover{color:var(--color-primary-900)}.dss-header-links__button-link:active{color:var(--color-primary-800)}.dss-header-links__button-link:disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-header-links__button-link:focus-visible{border-radius:var(--dss-radius-xs, 4px);outline:2px solid var(--system-feedback-blue-blue-200, #8ec7e5)}@media only screen and (max-width: 1024px){.dss-header-links__button-link__label{display:none}}",headerLinksTemplate=l=>x` - -`;var __defProp$Q=Object.defineProperty,__getOwnPropDesc$O=Object.getOwnPropertyDescriptor,__decorateClass$Q=(l,t,a,c)=>{for(var d=__getOwnPropDesc$O(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$Q(t,a,d),d};class HeaderLinks extends r$1{constructor(){super(...arguments),this._hideHelp=!1,this._disableHelp=!1,this._helpLabel="Ajuda",this._items=[]}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerLinksStyles)]}set hideHelp(t){const a=this._hideHelp;this._hideHelp=t,this.requestUpdate("hideHelp",a)}set disableHelp(t){const a=this._disableHelp;this._disableHelp=t,this.requestUpdate("disableHelp",a)}set helpLabel(t){const a=this._helpLabel;this._helpLabel=t,this.requestUpdate("helpLabel",a)}set items(t){const a=this._items;this._items=t,this.requestUpdate("items",a)}_dispatchItemAction(t){const a={detail:t,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onClickLink",a))}_handleHelp(){this.dispatchEvent(new CustomEvent("onHelp",{bubbles:!0,composed:!0}))}render(){return headerLinksTemplate(this)}}__decorateClass$Q([n$1(booleanType)],HeaderLinks.prototype,"hideHelp");__decorateClass$Q([n$1(booleanType)],HeaderLinks.prototype,"disableHelp");__decorateClass$Q([n$1({type:String})],HeaderLinks.prototype,"helpLabel");__decorateClass$Q([n$1({type:Array})],HeaderLinks.prototype,"items");const headerMenuPatientStyles=":host{display:block}.dss-header-menu-patient{position:relative;display:flex;align-items:center;gap:var(--dss-spacing-md);width:-moz-max-content;width:max-content}.dss-header-menu-patient--lg{max-width:360px}.dss-header-menu-patient--md{max-width:320px}.dss-header-menu-patient--sm{max-width:280px}.dss-header-menu-patient-details__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500, #656565);text-overflow:ellipsis;font-size:14px;font-weight:var(--font-semibold);line-height:24px;font-family:var(--font-family)}.dss-header-menu-patient-details__info{display:flex;align-items:center;gap:var(--dss-spacing-xs)}.dss-header-menu-patient-details__info-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regular);line-height:24px}.dss-header-menu-patient-dropdown{position:absolute;top:calc(100% + var(--dss-spacing-lg));right:0;width:240px;z-index:900}.breakpoint-small-only{display:none}.divider-v{width:var(--dss-border-width-sm);height:14px;background-color:var(--color-neutral-500)}@media only screen and (max-width: 1024px){.dss-header-menu-patient-details__info-label--cip,.divider-v--cip{display:none}.breakpoint-small-only{display:block}}",headerMenuPatientTemplate=l=>x` -
    -
    - -
    -
    -

    ${l._name}

    -
    - ${l._cip?x` - ${l._cip} - - `:null} - ${l._age?x` - ${l._age} - - `:null} - ${l._gender?x` - ${l._gender} - `:null} -
    -
    - - ${l._showDropdown?x` -
    - - - - - - -
    - `:null} -
    -`;var __defProp$P=Object.defineProperty,__getOwnPropDesc$N=Object.getOwnPropertyDescriptor,__decorateClass$P=(l,t,a,c)=>{for(var d=__getOwnPropDesc$N(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$P(t,a,d),d};class HeaderMenuPatient extends r$1{constructor(){super(),this._size="lg",this._name=void 0,this._cip=void 0,this._age=void 0,this._gender=void 0,this._disabled=!1,this._showDropdown=!1,this._toggleIcon="expand_more",this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerMenuPatientStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}set size(t){const a=this._size;this._size=t==="md"||t==="sm"?t:"lg",this.requestUpdate("size",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set name(t){const a=this._name;this._name=t,this.requestUpdate("name",a)}set cip(t){const a=this._cip;this._cip=t,this.requestUpdate("cip",a)}set age(t){const a=this._age;this._age=t,this.requestUpdate("age",a)}set gender(t){const a=this._gender;this._gender=t,this.requestUpdate("gender",a)}_toggleDropdown(){this._showDropdown=!this._showDropdown,this._toggleIcon=this._showDropdown?"expand_less":"expand_more",this.requestUpdate()}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}_handleActionClick(t){this.dispatchEvent(new CustomEvent("onActionPatientClick",{detail:{action:t},bubbles:!0,composed:!0}))}_handleCopyCIP(){this._cip&&(navigator.clipboard.writeText(this._cip),this.dispatchEvent(new CustomEvent("onCopyCIP",{detail:{text:this._cip},bubbles:!0,composed:!0})))}_handleDocumentClick(t){this._clickedOutside(this,t)}_clickedOutside(t,a){a.composedPath().includes(t)||this._showDropdown&&this._toggleDropdown()}render(){return headerMenuPatientTemplate(this)}}__decorateClass$P([n$1({type:String})],HeaderMenuPatient.prototype,"size");__decorateClass$P([n$1(booleanType)],HeaderMenuPatient.prototype,"disabled");__decorateClass$P([n$1({type:String})],HeaderMenuPatient.prototype,"name");__decorateClass$P([n$1({type:String})],HeaderMenuPatient.prototype,"cip");__decorateClass$P([n$1({type:String})],HeaderMenuPatient.prototype,"age");__decorateClass$P([n$1({type:String})],HeaderMenuPatient.prototype,"gender");const headerMenuProfessionalStyles=":host{display:block}.dss-header-menu-professional{position:relative;display:flex;align-items:center;gap:var(--dss-spacing-md);width:-moz-max-content;width:max-content}.dss-header-menu-professional--lg{max-width:360px}.dss-header-menu-professional--md{max-width:320px}.dss-header-menu-professional--sm{max-width:280px}.dss-header-menu-professional-details__name,.dss-header-menu-professional-dropdown__details-title,.dss-header-menu-professional-dropdown__details-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500, #656565);text-overflow:ellipsis;font-size:14px;font-weight:var(--font-semibold);line-height:24px;font-family:var(--font-family)}.dss-header-menu-professional-dropdown__details-title{color:var(--color-neutral-900)}.dss-header-menu-professional-details__info{display:flex;align-items:center}.dss-header-menu-professional-details__info-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regular);line-height:24px}.dss-header-menu-professional-details__info-label:not(:last-child){border-right:var(--dss-border-width-sm) solid var(--color-neutral-100);padding-right:var(--dss-spacing-xxs);margin-right:var(--dss-spacing-xxs)}.dss-header-menu-professional-dropdown{position:absolute;top:calc(100% + var(--dss-spacing-lg));right:0;width:280px;z-index:900;display:flex;padding:var(--dss-spacing-md);flex-direction:column;gap:var(--dss-spacing-lg);background-color:var(--color-white);border-radius:var(--dss-radius-sm);box-shadow:0 8px 12px 6px #0000000d,0 4px 4px #0000001a}.dss-header-menu-professional-dropdown__details{display:flex;flex-direction:column;align-items:flex-start;gap:var(--dss-spacing-xs);align-self:stretch}.dss-header-menu-professional-dropdown__info{display:flex;flex-direction:column;align-items:flex-start;gap:var(--dss-spacing-md);align-self:stretch}.dss-header-menu-professional-dropdown__details-content{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}.dss-header-menu-professional-dropdown__details-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;color:var(--neutral-neutral-500);text-overflow:ellipsis;font-family:var(--font-family);font-size:14px;font-weight:var(--font-regultar);line-height:24px}.dss-header-menu-professional__divider{width:100%;height:var(--dss-border-width-sm);background-color:var(--color-neutral-200)}.dss-header-menu-professional-dropdown__preferences__options{display:flex;flex-direction:column;gap:var(--dss-spacing-xs)}.breakpoint-only-sm{display:none}@media only screen and (max-width: 1024px){.dss-header-menu-professional-details{display:none}.breakpoint-only-sm{display:block}}@media only screen and (min-width: 1025px){.dss-header-menu-professional-dropdown--hide-details .dss-header-menu-professional-dropdown__info,.dss-header-menu-professional-dropdown--hide-details .dss-header-menu-professional__divider{display:none}}",headerMenuProfessionalTemplate=l=>x` -
    -
    - -
    -
    -

    - ${l._name} -

    -
    - ${l._center?x` - ${l._center} - `:null} -
    -
    - - ${l._showDropdown?x` -
    -
    -
    -

    - ${l._infoLabel} -

    - -
    -

    - ${l._name} -

    - - ${l._center?x` -

    - ${l._center} -

    - `:null} - ${l._collegiate?x` -

    - ${l._collegiateLabel} ${l._collegiate} -

    - `:null} -
    - - ${l._detailsHref?x` - ${l._detailsIcon?x` - - `:x` - - `} - `:null} -
    - -
    - - ${l._hideDropdownPreferences?null:x` -
    -

    - ${l._preferencesLabel} -

    -
    - -
    -
    - `} -
    - - -
    - `:null} -
    -`;var __defProp$O=Object.defineProperty,__getOwnPropDesc$M=Object.getOwnPropertyDescriptor,__decorateClass$O=(l,t,a,c)=>{for(var d=__getOwnPropDesc$M(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$O(t,a,d),d};class HeaderMenuProfessional extends r$1{constructor(){super(),this._hideDropdownDetails=!1,this._hideDropdownPreferences=!1,this._size="lg",this._name=void 0,this._center=void 0,this._collegiate=void 0,this._disabled=!1,this._showDropdown=!1,this._toggleIcon="expand_more",this._infoLabel="Les meves dades",this._collegiateLabel="Col·legiat nº",this._preferencesLabel="Preferences de treball",this._detailsLabel="Veure més detalls",this._detailsHref=void 0,this._detailsIconPosition="left",this._logoutLabel="Tancar sessió",this._logoutIcon="logout",this._logoutIconPosition="left",this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerMenuProfessionalStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}set size(t){const a=this._size;this._size=t==="md"||t==="sm"?t:"lg",this.requestUpdate("size",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set name(t){const a=this._name;this._name=t,this.requestUpdate("name",a)}set center(t){const a=this._center;this._center=t,this.requestUpdate("center",a)}set collegiate(t){const a=this._collegiate;this._collegiate=t,this.requestUpdate("collegiate",a)}set infoLabel(t){const a=this._infoLabel;this._infoLabel=t,this.requestUpdate("infoLabel",a)}set collegiateLabel(t){const a=this._collegiateLabel;this._collegiateLabel=t,this.requestUpdate("collegiateLabel",a)}set preferencesLabel(t){const a=this._preferencesLabel;this._preferencesLabel=t,this.requestUpdate("preferencesLabel",a)}set detailsLabel(t){const a=this._detailsLabel;this._detailsLabel=t,this.requestUpdate("detailsLabel",a)}set detailsHref(t){const a=this._detailsHref;this._detailsHref=t,this.requestUpdate("detailsHref",a)}set detailsIcon(t){const a=this._detailsIcon;this._detailsIcon=t,this.requestUpdate("detailsIcon",a)}set detailsIconPosition(t){const a=this._detailsIconPosition;this._detailsIconPosition=t,this.requestUpdate("detailsIconPosition",a)}set logoutLabel(t){const a=this._logoutLabel;this._logoutLabel=t,this.requestUpdate("logoutLabel",a)}set logoutIcon(t){const a=this._logoutIcon;this._logoutIcon=t,this.requestUpdate("logoutIcon",a)}set logoutIconPosition(t){const a=this._logoutIconPosition;this._logoutIconPosition=t,this.requestUpdate("logoutIconPosition",a)}set hideDropdownDetails(t){const a=this._hideDropdownDetails;this._hideDropdownDetails=t,this.requestUpdate("hideDropdownDetails",a)}set hideDropdownPreferences(t){const a=this._hideDropdownPreferences;this._hideDropdownPreferences=t,this.requestUpdate("hideDropdownPreferences",a)}_toggleDropdown(){this._showDropdown=!this._showDropdown,this._toggleIcon=this._showDropdown?"expand_less":"expand_more",this.requestUpdate()}_handleLogout(){this.dispatchEvent(new CustomEvent("onLogout",{bubbles:!0,composed:!0}))}_handleDocumentClick(t){this._clickedOutside(this,t)}_clickedOutside(t,a){a.composedPath().includes(t)||this._showDropdown&&this._toggleDropdown()}render(){return headerMenuProfessionalTemplate(this)}}__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"size");__decorateClass$O([n$1(booleanType)],HeaderMenuProfessional.prototype,"disabled");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"name");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"center");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"collegiate");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"infoLabel");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"collegiateLabel");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"preferencesLabel");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"detailsLabel");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"detailsHref");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"detailsIcon");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"detailsIconPosition");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"logoutLabel");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"logoutIcon");__decorateClass$O([n$1({type:String})],HeaderMenuProfessional.prototype,"logoutIconPosition");__decorateClass$O([n$1(booleanType)],HeaderMenuProfessional.prototype,"hideDropdownDetails");__decorateClass$O([n$1(booleanType)],HeaderMenuProfessional.prototype,"hideDropdownPreferences");const headerStyles=':host{display:block}.dss-header{height:72px;display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);flex-shrink:0;background-color:var(--color-white);padding:var(--dss-spacing-sm) var(--dss-spacing-lg);box-shadow:0 1px 2px #0000000d,0 1px 3px 1px #0000001a}.dss-header-left{display:flex;align-items:center;gap:var(--dss-spacing-xl)}.dss-header-right{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xl)}.dss-header-brand{display:flex;align-items:center;gap:var(--dss-spacing-md)}.dss-header-title{display:flex;align-items:center;gap:var(--dss-spacing-md);font-family:var(--font-family);font-size:20px;font-style:normal;font-weight:700;line-height:30px;color:var(--color-neutral-900)}.dss-header-title__area{position:relative}.dss-header-title__area:after{position:absolute;content:"";height:var(--dss-spacing-md);width:var(--dss-border-width-sm);background-color:var(--color-neutral-900);top:50%;right:calc(var(--dss-spacing-xs) * -1);transform:translateY(-50%)}.dss-header-section{position:relative;height:48px;display:flex;align-items:center}::slotted(dss-header-menu-patient){position:relative}::slotted(dss-header-menu-patient):before{content:"";position:absolute;top:0;left:calc(var(--dss-spacing-md) * -1);height:100%;border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-header-logo{height:24px}',headerTemplate=l=>x` -
    -
    -
    - - ${l._title?x` -

    - ${l._area?x` - ${l._area} - `:null} - ${l._title} -

    - `:null} -
    - - -
    -
    - - -
    -
    -`;var __defProp$N=Object.defineProperty,__getOwnPropDesc$L=Object.getOwnPropertyDescriptor,__decorateClass$N=(l,t,a,c)=>{for(var d=__getOwnPropDesc$L(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$N(t,a,d),d};class Header extends r$1{constructor(){super(...arguments),this._title=void 0,this._area=void 0,this._logoSrc=""}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(headerStyles)]}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set area(t){const a=this._area;this._area=t,this.requestUpdate("area",a)}set logoSrc(t){const a=this._logoSrc;this._logoSrc=t,this.requestUpdate("logoSrc",a)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return headerTemplate(this)}}__decorateClass$N([n$1({type:String})],Header.prototype,"title");__decorateClass$N([n$1({type:String})],Header.prototype,"area");__decorateClass$N([n$1({type:String})],Header.prototype,"logoSrc");const template$e=l=>{const t={"dss-icon-badge--xl":l._size==="xl","dss-icon-badge--lg":l._size==="lg","dss-icon-badge--md":l._size==="md","dss-icon-badge--sm":l._size==="sm","dss-badge--danger":l._state==="danger","dss-badge--danger-low":l._state==="danger-low","dss-badge--danger-high":l._state==="danger-high","dss-badge--moderate":l._state==="moderate","dss-badge--moderate-low":l._state==="moderate-low","dss-badge--moderate-high":l._state==="moderate-high","dss-badge--slight":l._state==="slight","dss-badge--slight-low":l._state==="slight-low","dss-badge--slight-high":l._state==="slight-high","dss-badge--correct":l._state==="correct","dss-badge--undeterminated":l._state==="undeterminated","dss-badge--critic":l._state==="critic"&&!l._outlined,"dss-badge--critic-outlined":l._state==="critic"&&l._outlined,"dss-badge--alert":l._state==="alert"&&!l._outlined,"dss-badge--alert-outlined":l._state==="alert"&&l._outlined,"dss-badge--ideal":l._state==="ideal"&&!l._outlined,"dss-badge--ideal-outlined":l._state==="ideal"&&l._outlined,"dss-badge--info":l._state==="info"&&!l._outlined,"dss-badge--info-outlined":l._state==="info"&&l._outlined,"dss-badge--info-alt":l._state==="info-alt"&&!l._outlined,"dss-badge--info-alt-outlined":l._state==="info-alt"&&l._outlined,"dss-badge--neutral":l._state==="neutral"&&!l._outlined,"dss-badge--neutral-outlined":l._state==="neutral"&&l._outlined,"dss-badge--disabled":l._disabled,"dss-icon-badge--bubble":l._bubble};return u` -
    - - ${l._icon} - - -
    - `},styles$f=".dss-wrapper{position:relative}.dss-icon-badge{cursor:default;box-sizing:border-box;display:flex;justify-content:center;align-items:center;height:20px;width:20px;border:var(--dss-border-width-sm) solid var(--color-neutral-500);padding:var(--dss-spacing-tiny);border-radius:var(--dss-radius-xs);font-size:16px;color:var(--color-neutral-500);background-color:var(--color-white)}.dss-icon-badge--bubble{border-radius:var(--dss-radius-full)}.dss-icon-badge--md{height:24px;width:32px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs)}.dss-icon-badge--lg{height:32px;width:40px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-sm);font-size:24px}.dss-icon-badge--xl{height:40px;width:40px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);border-radius:var(--dss-radius-sm);font-size:24px}::slotted(dss-tooltip){display:none}.dss-icon-badge:hover+::slotted(dss-tooltip){display:block}";var __defProp$M=Object.defineProperty,__getOwnPropDesc$K=Object.getOwnPropertyDescriptor,__decorateClass$M=(l,t,a,c)=>{for(var d=__getOwnPropDesc$K(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$M(t,a,d),d};class IconBadge extends r$1{constructor(){super(...arguments),this._icon="warning",this._size="sm",this._state="",this._disabled=!1,this._isIconDefined=!1,this._outlined=!1,this._bubble=!1}static get styles(){return[r$2(iconStyles),r$2(styles$f),r$2(badgeStates)]}set icon(t){const a=this._icon;this._icon=t,this._isIconDefined=!0,this.requestUpdate("icon",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set state(t){const a=this._state;this._state=t,t&&!this._isIconDefined&&(t.includes("danger")?this._icon="warning":t.includes("moderate")?this._icon="emergency_home":t.includes("slight")?this._icon="error":t.includes("correct")?this._icon="check_circle":t.includes("undeterminated")?this._icon="circle":t.includes("critic")?this._icon="cancel":t.includes("alert")?this._icon="report":t.includes("ideal")?this._icon="check_circle":t.includes("info")?this._icon="info":t.includes("neutral")&&(this._icon="circle")),this.requestUpdate("state",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set outlined(t){const a=this._outlined;this._outlined=t,this.requestUpdate("outlined",a)}set bubble(t){const a=this._bubble;this._bubble=t,this.requestUpdate("bubble",a)}render(){return template$e(this)}}__decorateClass$M([n$1({type:String})],IconBadge.prototype,"icon");__decorateClass$M([n$1({type:String})],IconBadge.prototype,"size");__decorateClass$M([n$1({type:String})],IconBadge.prototype,"state");__decorateClass$M([n$1(booleanType)],IconBadge.prototype,"disabled");__decorateClass$M([n$1(booleanType)],IconBadge.prototype,"outlined");__decorateClass$M([n$1(booleanType)],IconBadge.prototype,"bubble");const dssIcon$1=i`dss-icon${s(getCustomElementSuffix())}`,template$d=l=>u` - -`;var __defProp$L=Object.defineProperty,__getOwnPropDesc$J=Object.getOwnPropertyDescriptor,__decorateClass$L=(l,t,a,c)=>{for(var d=__getOwnPropDesc$J(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$L(t,a,d),d};class IconButton extends r$1{constructor(){super(...arguments),this._type="default",this._size="md",this._icon=void 0,this._iconFill=!1,this._disabled=!1,this._hidden=!1}static get styles(){return[r$2(resetStyles),r$2(iconButtonStyles)]}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set iconFill(t){const a=this._iconFill;this._iconFill=t,this.requestUpdate("iconFill",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hidden(t){const a=this._hidden;this._hidden=t,this.requestUpdate("hidden",a)}_handleClick(){this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0}))}render(){return template$d(this)}}__decorateClass$L([n$1({type:String})],IconButton.prototype,"type");__decorateClass$L([n$1({type:String})],IconButton.prototype,"size");__decorateClass$L([n$1({type:String})],IconButton.prototype,"icon");__decorateClass$L([n$1(booleanType)],IconButton.prototype,"iconFill");__decorateClass$L([n$1(booleanType)],IconButton.prototype,"disabled");__decorateClass$L([n$1(booleanType)],IconButton.prototype,"hidden");const inputActionTemplate=l=>{var c,d,h,p,b,g,f;const t={"dss-input-group--invalid":l._invalid||!l._inputValidity,"dss-input-group--disabled":(c=l._input)==null?void 0:c.disabled,"dss-input-group--required":(d=l._input)==null?void 0:d.required,"dss-input-group--read-only":(h=l._input)==null?void 0:h.readOnly,"dss-input-group--focused":((p=l._input)==null?void 0:p.value)||l._placeholder||l._isFocused,"dss-input-group--lg":l._inputSize==="lg","dss-input-group--md":l._inputSize==="md","dss-input-group--numeric":l._isTypeNumeric,"dss-input-group--has-icon":l._icon&&l._icon!=="","dss-input-group--no-min-width":l._removeMinWidth,"dss-input-group--actions":!0,"dss-input-group--has-secondary-action":!!l._action&&!!l._secondaryAction,"dss-input-group--no-label":!l._labelSlot},a={"dss-input-help--invalid":l._invalid,"dss-input-help--disabled":(b=l._input)==null?void 0:b.disabled};return x` -
    -
    - ${l._icon?x` - - ${l._icon} - - `:null} - - - - - -
    - - -
    - - ${l._isTypeNumeric?x` -
    - - -
    - `:null} -
    - ${l._helpText?x` -
    - ${l._helpText} - ${l._maxLength?x` - ${(f=(g=l._input)==null?void 0:g.value)==null?void 0:f.length}/${l._maxLength} - `:null} -
    - `:null} -
    - `},inputActionStyles='.dss-input-group ::slotted(input){padding-right:calc(var(--dss-spacing-lg) + var(--dss-spacing-md) + var(--dss-spacing-sm))!important}.dss-input-group ::slotted(input[type="number"]){padding-right:calc(var(--dss-spacing-lg) + var(--dss-spacing-lg) + var(--dss-spacing-lg))!important}.dss-input-group--actions .dss-input__numeric-buttons{right:calc(var(--dss-spacing-lg) + var(--dss-spacing-sm))}.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(input){padding-right:var(--dss-spacing-xxhg)!important}.dss-input-group--actions.dss-input-group--has-secondary-action ::slotted(input[type="number"]){padding-right:calc(var(--dss-spacing-xxhg) + var(--dss-spacing-md))!important}.dss-input-group--actions.dss-input-group--has-secondary-action .dss-input__numeric-buttons{right:var(--dss-spacing-xhg)}.dss-input-actions{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:800;padding-right:var(--dss-spacing-sm);padding-left:var(--dss-spacing-xs);border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}';var __defProp$K=Object.defineProperty,__getOwnPropDesc$I=Object.getOwnPropertyDescriptor,__decorateClass$K=(l,t,a,c)=>{for(var d=__getOwnPropDesc$I(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$K(t,a,d),d};class InputAction extends r$1{constructor(){super(...arguments),this._label="Label",this._icon="add_box",this._placeholder="",this._inputSize="lg",this._maxLength=void 0,this._invalid=!1,this._helpText="",this._isFocused=!1,this._isTypeNumeric=!1,this._inputValidity=!0,this._removeMinWidth=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(inputStyles),r$2(inputActionStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _action(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="action"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _secondaryAction(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="secondaryAction"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set removeMinWidth(t){const a=this._removeMinWidth;this._removeMinWidth=t,this.requestUpdate("removeMinWidth",a)}set value(t){t!==void 0&&this.requestUpdate()}disconnectedCallback(){this.observer.disconnect()}_handleClick(){this.requestUpdate()}_handleInput(){this._isTypeNumeric&&this._maxLength&&this._input&&(this._input.value=this._input.value.slice(0,this._maxLength)),this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_stepUp(){var t;(t=this._input)==null||t.stepUp(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t;(t=this._input)==null||t.stepDown(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputChange",t))}}_checkInputAttributes(){var c,d,h,p,b;const t=(c=this._input)==null?void 0:c.getAttribute("placeholder");t&&(this._placeholder=t),((d=this._input)==null?void 0:d.getAttribute("type"))==="number"&&(this._isTypeNumeric=!0);const a=(h=this._input)==null?void 0:h.getAttribute("maxlength");this._maxLength=a?+a:void 0,(p=this._input)!=null&&p.value&&((b=this._input)==null?void 0:b.value)!==""&&this._handleValidity()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){return inputActionTemplate(this)}}__decorateClass$K([n$1({type:String})],InputAction.prototype,"label");__decorateClass$K([n$1({type:String})],InputAction.prototype,"icon");__decorateClass$K([n$1({type:String})],InputAction.prototype,"inputSize");__decorateClass$K([n$1({type:String})],InputAction.prototype,"helpText");__decorateClass$K([n$1(booleanType)],InputAction.prototype,"invalid");__decorateClass$K([n$1(booleanType)],InputAction.prototype,"removeMinWidth");__decorateClass$K([n$1({type:String})],InputAction.prototype,"value");const styles$e=".dss-wrapper{position:relative}.dss-icon-button{position:absolute;top:50%;transform:translateY(-50%);right:var(--dss-spacing-sm);z-index:800}.dss-selector{opacity:0;visibility:hidden;z-index:999;width:100%}.dss-selector--visible{opacity:1;visibility:visible}.dss-selector--open-with-search{display:block;margin-top:var(--dss-spacing-xxs)}.dss-selector--md{top:44px}.dss-input-group__action-button--sm{top:var(--dss-spacing-sm)}";var __defProp$J=Object.defineProperty,__getOwnPropDesc$H=Object.getOwnPropertyDescriptor,__decorateClass$J=(l,t,a,c)=>{for(var d=__getOwnPropDesc$H(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$J(t,a,d),d};const dssSelector=i`dss-selector${s(getCustomElementSuffix())}`;class InputDropdown extends r$1{constructor(){super(...arguments),this._elements=null,this._copyElements=null,this._tick=!0,this._type="default",this._boxStyle=null,this._selectedValue=null,this._multiple=!1,this._openWithSearch=!1,this._deselectable=!1,this._icon="search",this._placeHolder="",this._showDropdown=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._selectElements=0,this._isFocused=!1,this._helpText="",this._invalid=!1,this._inputSize="lg",this._inputValidity=!0,this._filteredElements=[],this._dropdownPlaceholder="Seleccionar",this._selectorStyle="",this._isFiltering=!1,this._placeholderEmpty="Escriu per cercar",this._filterThreshold=1,this._unorder=!1,this._popperInstance=null,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._input&&this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(inputStyles),r$2(styles$e)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set unorder(t){const a=this._unorder;this._unorder=t,this.requestUpdate("unorder",a)}set elements(t){const a=this._elements;if(this._unorder)this._elements=t;else{const c=sort(t,"label","asc","string");this._elements=c}t&&(this._input&&!this._isFiltering&&(this._input.value=""),this._filteredElements=this._getFilteredElements(),this._copyElements=[...this._elements],this._initElementsSelected(),this.requestUpdate()),this.requestUpdate("elements",a)}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set openWithSearch(t){const a=this._openWithSearch;this._openWithSearch=t,t&&(this._showDropdown=t,this._isFocused=!0),this.requestUpdate("openWithSearch",a)}set showDropdown(t){const a=this._showDropdown;this._showDropdown=t,this.requestUpdate("showDropdown",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set selectedValue(t){const a=this._selectedValue;t&&(this._selectedValue=t),this._elements&&this._selectedValue&&(this._selectedValue.length>0&&(this._isFocused=!0),this._initElementsSelected()),this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._boxStyle;this._boxStyle=t,this.requestUpdate("boxStyle",a)}set selectorStyle(t){const a=this._selectorStyle;this._selectorStyle=t,this.requestUpdate("selectorStyle",a)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set selectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set dropdownPlaceholder(t){const a=this._dropdownPlaceholder;this._dropdownPlaceholder=t,this.requestUpdate("dropdownPlaceholder",a)}set placeholderEmpty(t){const a=this._placeholderEmpty;this._placeholderEmpty=t,this.requestUpdate("placeholderEmpty",a)}set filterThreshold(t){const a=this._filterThreshold;this._filterThreshold=t,this.requestUpdate("filterThreshold",a)}set value(t){t!==void 0&&this.requestUpdate()}disconnectedCallback(){this.observer.disconnect()}_getFilteredElements(){var a,c,d;const t=((a=this._elements)==null?void 0:a.filter(h=>{var p;return(p=this._selectedValue)==null?void 0:p.includes(h.value)}))||[];if(this._input&&this._input.value){const h=(c=this._input)==null?void 0:c.value.toLowerCase();if(h){const p=((d=this._elements)==null?void 0:d.filter(b=>{var g;return!((g=this._selectedValue)!=null&&g.includes(b.value))&&b.label.toLowerCase().includes(h)}))||[];return[...t,...p]}}else return this._elements}async firstUpdated(){var t;try{await this.updateComplete,this._createPopperDropdown(),this._input&&(this.observer.observe(this._input,this.observerConfig),this._checkInputAttributes()),this._elements&&(this._filteredElements=this._getFilteredElements(),this._initElementsSelected()),this._openWithSearch&&this._input&&(this._input.value="",(t=this._input)!=null&&t.getAttribute("placeholder")||this._input.setAttribute("placeholder",this._dropdownPlaceholder)),!this._openWithSearch&&!this._disabled&&document.addEventListener("click",a=>{this._clickedOutsideDropdown(this,a)}),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_initElementsSelected(){this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}_clickedOutsideDropdown(t,a){var c,d,h;this._showDropdown&&(a.composedPath().includes(t)||(this._input&&(this._input.value=""),(c=this._elements)!=null&&c.length&&(this._initElementsSelected(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())),(d=this._elements)!=null&&d.length||((h=this._input)==null||h.removeAttribute("placeholder"),this._placeHolder=""),this._hidePlaceholder(),this._showDropdown=!1,this._isFiltering=!1,this._isFocused=!1,this.requestUpdate()))}_handleInput(){this._isFiltering=!0,this._filteredElements=this._getFilteredElements(),this.requestUpdate()}_handleBlurEsc(){this._readonly||this._openWithSearch||(this._isFocused=!0,this._showDropdown=!1,this._isFiltering=!1,this.requestUpdate())}_handleBlurSelector(t,a){var c;if(t!==a.target){if(this._openWithSearch)return;(c=this._input)==null||c.focus(),this._handleBlurEsc(),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}}_toggleDropdown(){var t,a,c,d,h;(t=this._elements)!=null&&t.length&&this._showDropdown&&this._input?(this._initElementsSelected(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())):(a=this._elements)!=null&&a.length&&!this._showDropdown&&this._input&&(this._input.value="",this._showPlaceholder(),(c=this._input)==null||c.focus()),this._showDropdown=!this._showDropdown,!((d=this._elements)!=null&&d.length)&&!this._showDropdown&&((h=this._input)==null||h.removeAttribute("placeholder"),this._placeHolder="",this._isFiltering=!1,this._isFocused=!1),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:{inputValue:this._input.value,selectedValue:this._selectedValue},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputDropdownChange",t))}}_onSelectorChanges(t){this._isFiltering=!1;const a=t.detail;this._selectedValue=typeof a=="string"?[t.detail]:t.detail,!this._multiple&&!this._disabled&&(this._openWithSearch||(this._showDropdown=!1,this._initElementsSelected()),this._handleValidity()),this._dispatchValueChange(),this.requestUpdate()}_showSelectValuesInInput(t){var d,h;!this._multiple&&Array.isArray(t)&&t.length>1&&t.splice(1);const a=(d=this._elements)==null?void 0:d.filter(p=>t.includes(p.value));if(this._elements=[...this._copyElements],this._openWithSearch?this._selectElements=0:this._selectElements=a!=null&&a.length?a.length:0,a&&a.length>0){const p=this._elements.filter(b=>a.includes(b));p.push(...this._elements.filter(b=>!a.includes(b))),this._elements=[...p],this._filteredElements=this._elements}if(!this._multiple&&this._input&&!this._isFiltering){this._input.value=((h=a==null?void 0:a[0])==null?void 0:h.label)??"",this._deselectable&&this._input.value===""&&(this._filteredElements=[...this._copyElements]);return}const c=a==null?void 0:a.map(p=>p.label);this._input&&!this._isFiltering&&(this._input.value=(c==null?void 0:c.join(", "))??"")}_checkInputAttributes(){var h,p,b,g,f,$;const t=(h=this._input)==null?void 0:h.getAttribute("placeholder");t&&(this._placeHolder=t);const a=(p=this._input)==null?void 0:p.getAttribute("readonly");this._readonly=a!==null;const c=(b=this._input)==null?void 0:b.getAttribute("disabled");this._disabled=c!==null;const d=(g=this._input)==null?void 0:g.getAttribute("required");this._required=d!==null,(f=this._input)!=null&&f.value&&(($=this._input)==null?void 0:$.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(t){var h,p;const a=t.relatedTarget;if(a instanceof HTMLElement&&a.contains(this))return;const c=(h=this.shadowRoot)==null?void 0:h.querySelector("dss-selector"),d=(p=this.shadowRoot)==null?void 0:p.querySelector(".dss-input-group__action-button");a!==null&&a!==this._input&&a!==c&&a!==d&&(this._selectedValue&&this._initElementsSelected(),this._showDropdown=!1,this._isFocused=!1,this._isFiltering=!1,this._hidePlaceholder()),this.requestUpdate()}_handleKeyDown(t){(t==null?void 0:t.key)==="Enter"?this._handleClick():(t==null?void 0:t.key)==="Escape"?(this._isFiltering=!1,this._showDropdown=!1,this._initElementsSelected(),this._hidePlaceholder(),(!this._selectedValue||this._selectedValue.length<=0)&&(this._filteredElements=this._getFilteredElements())):this._showDropdown||this._handleClick(),this.requestUpdate()}_handleClick(){!this._disabled&&!this._readonly&&(this._input&&(!this._openWithSearch&&!this._isFiltering&&(this._input.value=""),this._showPlaceholder()),this._isFocused=!0,this._showDropdown=!0,this.requestUpdate())}_focusInput(){var t;(t=this._input)==null||t.focus(),this._handleClick()}_showPlaceholder(){var t,a,c,d;!this._placeHolder&&!((t=this._elements)!=null&&t.length)?(a=this._input)==null||a.setAttribute("placeholder",this._placeholderEmpty):!this._placeHolder&&((c=this._elements)!=null&&c.length)&&((d=this._input)==null||d.setAttribute("placeholder",this._dropdownPlaceholder))}_hidePlaceholder(){var t;this._placeHolder||(t=this._input)==null||t.removeAttribute("placeholder")}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_cleanInput(){this._input&&(this._isFiltering=!1,this._input.value="",this._filteredElements=this._getFilteredElements(),this.requestUpdate())}_createPopperDropdown(){var c,d;if(this._openWithSearch)return;const t=(c=this.shadowRoot)==null?void 0:c.querySelector(".dss-input-group"),a=(d=this.shadowRoot)==null?void 0:d.querySelector(".dss-selector");t&&a&&(this._popperInstance=createPopper(t,a,{placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,4]}}]}))}render(){var d,h;const t={"dss-selector":!this._openWithSearch,"dss-selector--visible":this._showDropdown,"dss-selector--open-with-search":this._openWithSearch,"dss-selector--disabled":this._disabled,"dss-selector-dropdown":!0,"dss-selector--md":!this._openWithSearch&&this._inputSize==="md"},a={"dss-input-group--invalid":this._invalid||!this._inputValidity,"dss-input-group--required":this._required,"dss-input-group--disabled":this._disabled,"dss-input-group--focused":((d=this._input)==null?void 0:d.value)||this._placeHolder||this._isFocused,"dss-input-group--lg":this._inputSize==="lg","dss-input-group--md":this._inputSize==="md","dss-input-group--dropdown":!0,"dss-input-group--read-only":this._readonly,"dss-input-group--has-icon":this._icon&&this._icon!=="","dss-input-group--no-label":!this._label},c={"dss-input-help--invalid":this._invalid,"dss-input-help--disabled":this._disabled};return u` -
    -
    - ${this._icon!==""?u` - ${this._icon} - `:null} - - - - - - ${!this._openWithSearch&&!this._readonly?u` - - `:this._openWithSearch?u` - - `:u``} -
    - - ${this._helpText&&!this._openWithSearch?u` -
    - ${this._helpText} -
    - `:null} - <${dssSelector} - ariaLabel="Llista d'elements" - class="${e(t)}" - .multiple=${this._multiple} - .tick=${this._tick} - .deselectable=${this._deselectable} - .disabled=${this._disabled} - .elements=${this._filteredElements} - .filtre=${(h=this._input)==null?void 0:h.value} - .filterThreshold=${this._filterThreshold} - .selectedValue=${this._selectedValue} - .type=${this._type} - .labelSelectAll=${this._labelSelectAll} - .labelDeselectAll=${this._labelDeselectAll} - .selectAll=${this._selectAll} - elementsSelected=${this._selectElements} - boxStyle=${this._selectorStyle} - @onValueChange="${this._onSelectorChanges}" - @keydown="${p=>{p.key==="Escape"&&this._handleBlurSelector(this,p)}}" - @focusout=${this._handleFocusOut} - > - -
    `}}__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"icon");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"placeHolder");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"unorder");__decorateClass$J([n$1({type:Array})],InputDropdown.prototype,"elements");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"multiple");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"tick");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"openWithSearch");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"showDropdown");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"deselectable");__decorateClass$J([n$1({type:Array})],InputDropdown.prototype,"selectedValue");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"type");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"boxStyle");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"selectorStyle");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"labelSelectAll");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"labelDeselectAll");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"selectAll");__decorateClass$J([n$1(booleanType)],InputDropdown.prototype,"invalid");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"inputSize");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"helpText");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"dropdownPlaceholder");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"placeholderEmpty");__decorateClass$J([n$1({type:Number})],InputDropdown.prototype,"filterThreshold");__decorateClass$J([n$1({type:String})],InputDropdown.prototype,"value");const inputSwitchStyles=':host{display:inline-block;width:-moz-fit-content;width:fit-content}.dss-switch{display:flex;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;gap:.5rem;align-items:center;position:relative;transition:.3s all ease-in}.dss-switch--sm .dss-switch__slider{width:26px;height:16px}.dss-switch--md .dss-switch__slider{width:39px;height:24px}.dss-switch--lg .dss-switch__slider{width:52px;height:32px}::slotted(input[type="checkbox"]){display:none}.dss-switch .dss-switch__slider{position:relative;cursor:pointer;background-color:var(--color-neutral-500);border-radius:100px;transition:.3s all ease-in}.dss-switch .dss-switch__slider:focus-visible{outline:4px solid var(--color-blue-200)}.dss-switch .dss-switch__slider:before{position:absolute;content:"";display:flex;justify-content:center;align-items:center;background-color:#fff;border-radius:100%;box-shadow:0 1px 2px #0000000d,0 1px 3px 1px #0000001a;transition:.3s all ease-in}.dss-switch__slider:hover{background-color:var(--color-neutral-600)}.dss-switch__slider:active{background-color:var(--color-neutral-500);transition:none}.dss-switch--checked .dss-switch__slider{background-color:var(--color-primary-500)}.dss-switch--checked .dss-switch__slider:hover{background-color:var(--color-primary-600)}.dss-switch--checked .dss-switch__slider:active{background-color:var(--color-primary-400);transition:none}.dss-switch__slider:active:before{color:var(--color-neutral-500);transition:none}.dss-switch--checked .dss-switch__slider:active:before{color:var(--color-primary-400);transition:none}.dss-switch--disabled .dss-switch__slider{cursor:not-allowed;background-color:var(--color-neutral-200)}.dss-switch--disabled .dss-switch__slider:before{color:var(--color-neutral-500)}.dss-switch--disabled:not(.dss-switch--checked) .dss-switch__slider:before{background-color:var(--color-neutral-400);color:var(--color-neutral-100)}.dss-switch--disabled.dss-switch--checked .dss-switch__slider{background-color:var(--color-neutral-200)}.dss-switch--disabled.dss-switch--checked .dss-switch__slider:before{background-color:var(--color-neutral-400);color:var(--color-neutral-900)}.dss-switch--lg.dss-switch--disabled.dss-switch--checked .dss-switch__slider:before{background-color:var(--color-neutral-100)}.dss-switch--lg .dss-switch__slider:before{font-family:var(--font-icons);content:"close";color:var(--color-primary-500);font-size:16px;height:24px;width:24px;left:4px;bottom:4px}.dss-switch--md .dss-switch__slider:before{height:18px;width:18px;left:3px;bottom:3px}.dss-switch--sm .dss-switch__slider:before{height:12px;width:12px;left:2px;bottom:2px}.dss-switch--lg.dss-switch--checked .dss-switch__slider:before{transform:translate(20px);content:"done";color:var(--color-primary-500)}.dss-switch--md.dss-switch--checked .dss-switch__slider:before{transform:translate(15px)}.dss-switch--sm.dss-switch--checked .dss-switch__slider:before{transform:translate(10px)}::slotted(label){font-family:var(--font-family);font-style:normal;font-weight:400;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.dss-switch--lg ::slotted(label){font-weight:600;font-size:16px}',template$c=l=>{const t={"dss-switch--sm":l._size==="sm","dss-switch--md":l._size==="md","dss-switch--lg":l._size==="lg","dss-switch--checked":l._checked,"dss-switch--disabled":l._disabled};return u` -
    -
    - - -
    - `};var __defProp$I=Object.defineProperty,__getOwnPropDesc$G=Object.getOwnPropertyDescriptor,__decorateClass$I=(l,t,a,c)=>{for(var d=__getOwnPropDesc$G(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$I(t,a,d),d};class InputSwitch extends r$1{constructor(){super(...arguments),this._checked=!1,this._isCheckedPropDefined=!1,this._isFirstUpdate=!0,this._disabled=!1,this._readonly=!1,this._size="md",this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(inputSwitchStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set checked(t){const a=this._checked;this._checked=t,this._isCheckedPropDefined=!0,this._isFirstUpdate||this._dispatchChange(),this.requestUpdate("checked",a)}disconnectedCallback(){this.observer.disconnect()}_checkInputAttributes(){var c,d,h;if(!this._isCheckedPropDefined){const p=(c=this._input)==null?void 0:c.getAttribute("checked");this._checked=p!==null}const t=(d=this._input)==null?void 0:d.getAttribute("disabled");this._disabled=t!==null;const a=(h=this._input)==null?void 0:h.getAttribute("readonly");this._readonly=a!==null}_handleClick(){!this._disabled&&!this._readonly&&this._input&&(this._checked=!this._checked,this._checked?this._input.setAttribute("checked","true"):this._input.removeAttribute("checked"),this._dispatchChange())}_handleKeydown(t){(t.key==="Enter"||t.key===" ")&&this._handleClick()}_dispatchChange(){this.dispatchEvent(new CustomEvent("onChangeValue",{detail:this._checked,bubbles:!0,composed:!0}))}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._isFirstUpdate=!1,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){return template$c(this)}}__decorateClass$I([n$1({type:String})],InputSwitch.prototype,"size");__decorateClass$I([n$1(booleanType)],InputSwitch.prototype,"checked");const template$b=l=>{var c,d,h,p,b,g,f;const t={"dss-input-group--invalid":l._invalid||!l._inputValidity,"dss-input-group--disabled":(c=l._input)==null?void 0:c.disabled,"dss-input-group--required":(d=l._input)==null?void 0:d.required,"dss-input-group--read-only":(h=l._input)==null?void 0:h.readOnly,"dss-input-group--focused":((p=l._input)==null?void 0:p.value)||l._placeholder||l._isFocused,"dss-input-group--lg":l._inputSize==="lg","dss-input-group--md":l._inputSize==="md","dss-input-group--numeric":l._isTypeNumeric,"dss-input-group--has-icon":l._icon&&l._icon!=="","dss-input-group--no-min-width":l._removeMinWidth,"dss-input-group--no-label":!l._labelSlot},a={"dss-input-help--invalid":l._invalid,"dss-input-help--disabled":(b=l._input)==null?void 0:b.disabled};return u` -
    -
    - ${l._icon?u` - - ${l._icon} - - `:null} - - - - - - ${l._isTypeNumeric?u` -
    - - -
    - `:null} -
    - ${l._helpText?u` -
    - ${l._helpText} - ${l._maxLength?u` - ${(f=(g=l._input)==null?void 0:g.value)==null?void 0:f.length}/${l._maxLength} - `:null} -
    - `:null} -
    - `};var __defProp$H=Object.defineProperty,__getOwnPropDesc$F=Object.getOwnPropertyDescriptor,__decorateClass$H=(l,t,a,c)=>{for(var d=__getOwnPropDesc$F(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$H(t,a,d),d};class Input extends r$1{constructor(){super(...arguments),this._label="Label",this._icon="add_box",this._placeholder="",this._inputSize="lg",this._maxLength=void 0,this._invalid=!1,this._helpText="",this._isFocused=!1,this._isTypeNumeric=!1,this._inputValidity=!0,this._removeMinWidth=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(inputStyles),r$2(iconButtonStyles)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _labelSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set removeMinWidth(t){const a=this._removeMinWidth;this._removeMinWidth=t,this.requestUpdate("removeMinWidth",a)}set value(t){t!==void 0&&this.requestUpdate()}disconnectedCallback(){this.observer.disconnect()}_handleClick(){this.requestUpdate()}_handleInput(){this._isTypeNumeric&&this._maxLength&&this._input&&(this._input.value=this._input.value.slice(0,this._maxLength)),this._handleValidity(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_stepUp(){var t;(t=this._input)==null||t.stepUp(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t;(t=this._input)==null||t.stepDown(),this._handleValidity(),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onInputChange",t))}}_checkInputAttributes(){var c,d,h,p,b;const t=(c=this._input)==null?void 0:c.getAttribute("placeholder");t&&(this._placeholder=t),((d=this._input)==null?void 0:d.getAttribute("type"))==="number"&&(this._isTypeNumeric=!0);const a=(h=this._input)==null?void 0:h.getAttribute("maxlength");this._maxLength=a?+a:void 0,(p=this._input)!=null&&p.value&&((b=this._input)==null?void 0:b.value)!==""&&this._handleValidity()}async firstUpdated(){try{await this.updateComplete,this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){return template$b(this)}}__decorateClass$H([n$1({type:String})],Input.prototype,"label");__decorateClass$H([n$1({type:String})],Input.prototype,"icon");__decorateClass$H([n$1({type:String})],Input.prototype,"inputSize");__decorateClass$H([n$1({type:String})],Input.prototype,"helpText");__decorateClass$H([n$1(booleanType)],Input.prototype,"invalid");__decorateClass$H([n$1(booleanType)],Input.prototype,"removeMinWidth");__decorateClass$H([n$1({type:String})],Input.prototype,"value");const dssBadge=i`dss-badge${s(getCustomElementSuffix())}`,itemListTemplate=l=>u` -
    - ${l._items.map(t=>{var a,c;return u` -
    - ${l._widget?u` -
    - -
    - `:null} - -
    - ${l._widget&&t.date?u` -
    - ${t.date} -
    - `:null} -
    - ${t.decorativeIcon&&!l._widget?u` -
    - ${t.decorativeIcon} -
    - `:null} - ${t.title} -
    -
    ${t.subtitle}
    -
    - - ${t.badgeText&&!l._widget?t.badgeIcon?u` -
    - <${dssBadge} - text="${t.badgeText}" - icon="${t.badgeIcon}" - size="${t.badgeSize?t.badgeSize:"sm"}" - state="${t.badgeState?t.badgeState:"undeterminated"}" - > - -
    - `:u` -
    - <${dssBadge} - text="${t.badgeText}" - size="${t.badgeSize?t.badgeSize:"sm"}" - state="${t.badgeState?t.badgeState:"undeterminated"}" - > - -
    - `:null} - ${t.actionIcon&&!l._widget?u` -
    - -
    - `:null} - ${l._widget?u` -
    - ${t.description?u` -
    - ${t.description} -
    - `:null} - ${(a=t.icons)!=null&&a.length?u` - ${t.icons.map(d=>u` - ${d.icon} - `)} - `:null} - ${t.iconBadgeRightState?u` - - `:null} - ${(c=t.actions)!=null&&c.length?u` - ${t.actions.map(d=>u` - l._dispatchWidgetAction(t,d.action)} - > - `)} - `:null} -
    - `:null} -
    - `})} -
    -`,itemListStyles=":host{display:block;width:100%;font-family:var(--font-family)}.dss-item-list{padding:0 var(--dss-spacing-md)}.dss-item-list__item{display:flex;align-items:center;gap:var(--dss-spacing-md);padding:var(--dss-spacing-xs) 0}.dss-item-list__item+.dss-item-list__item{border-top:var(--dss-border-width-sm) solid var(--color-neutral-200)}.item-details{flex:1;display:flex;flex-direction:column;gap:var(--dss-spacing-xxs)}.item-details__date,.item-widget-description{font-size:14px;line-height:24px;color:var(--color-neutral-500);font-weight:var(--font-regular)}.item-details__title{display:flex;align-items:center;gap:var(--dss-spacing-xs);font-size:14px;line-height:24px;color:var(--color-neutral-900);font-weight:var(--font-semibold)}.item-details__subtitle{font-size:14px;line-height:24px;color:var(--color-neutral-700);font-weight:var(--font-regular)}.item-widget{display:flex;align-items:center;gap:var(--dss-spacing-xs)}.dss-item-list--widget{padding:0}.dss-item-list--widget .item-details{gap:0}.dss-item-list--widget .dss-item-list__item{border-top:none!important;border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}";var __defProp$G=Object.defineProperty,__getOwnPropDesc$E=Object.getOwnPropertyDescriptor,__decorateClass$G=(l,t,a,c)=>{for(var d=__getOwnPropDesc$E(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$G(t,a,d),d};class ItemList extends r$1{constructor(){super(...arguments),this._items=[],this._widget=!1,this._widgetActions=[],this._widgetIcons=[]}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(decorativeIconStyles),r$2(itemListStyles)]}set items(t){const a=this._items;this._items=t,this.requestUpdate("items",a)}set widget(t){const a=this._widget;this._widget=t,this.requestUpdate("widget",a)}set widgetActions(t){const a=this._widgetActions;this._widgetActions=t,this.requestUpdate("widgetActions",a)}set widgetIcons(t){const a=this._widgetIcons;this._widgetIcons=t,this.requestUpdate("widgetIcons",a)}_dispatchItemAction(t){const a={detail:t,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onClickItem",a))}_dispatchWidgetAction(t,a){const c={detail:{item:t,action:a},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onClickWidgetAction",c))}render(){return itemListTemplate(this)}}__decorateClass$G([n$1({type:Array})],ItemList.prototype,"items");__decorateClass$G([n$1({type:Boolean})],ItemList.prototype,"widget");__decorateClass$G([n$1({type:Array})],ItemList.prototype,"widgetActions");__decorateClass$G([n$1({type:Array})],ItemList.prototype,"widgetIcons");const modalStyles=":host{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;visibility:hidden;opacity:0;display:flex;justify-content:center;align-items:center;transition:opacity .25s;z-index:999}:host([open]){visibility:visible}:host(.show){opacity:1}:host(.hide){opacity:0}.dss-dialog{display:flex;flex-direction:column;box-sizing:border-box;width:-moz-fit-content;width:fit-content;min-width:400px;max-width:45%;max-height:80vh;background:var(--color-white);border-radius:var(--dss-radius-lg);box-shadow:0 8px 12px 6px #0000000d,0 4px 4px #0000001a;visibility:hidden}:host(.show) .dss-dialog{visibility:visible}.dss-dialog-header{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:var(--dss-spacing-lg);border-top-left-radius:var(--dss-radius-lg);border-top-right-radius:var(--dss-radius-lg)}.dss-dialog--sm .dss-dialog-header{padding:var(--dss-spacing-md)}.dss-dialog--has-header-slot .dss-dialog-header{gap:var(--dss-spacing-xs)}.dss-dialog-body{flex:1;padding:0 var(--dss-spacing-lg)}.dss-dialog.dss-dialog--has-scroll .dss-dialog-body{overflow-y:auto}.dss-dialog--footer-empty .dss-dialog-body{padding-bottom:var(--dss-spacing-lg)}.dss-dialog--sm .dss-dialog-body{padding:0 var(--dss-spacing-md)}.dss-dialog--sm.dss-dialog--footer-empty .dss-dialog-body{padding-bottom:var(--dss-spacing-md)}.dss-dialog-footer{display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md);padding:var(--dss-spacing-lg);border-bottom-left-radius:var(--dss-radius-lg);border-bottom-right-radius:var(--dss-radius-lg)}.dss-dialog--sm .dss-dialog-footer{padding:var(--dss-spacing-md)}.dss-dialog--footer-empty .dss-dialog-footer{padding:0;border-top:0!important}::slotted(div.dss-modal-footer){display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md)}.dss-dialog-header-state--success{color:var(--color-green-800)}.dss-dialog-header-state--error{color:var(--color-red-800)}.dss-dialog-header-state--alert{color:var(--color-yellow-800)}.dss-dialog-header-state--info{color:var(--color-blue-800)}.dss-dialog-header-title{font-size:20px;line-height:30px;font-weight:var(--font-bold)}.dss-dialog-header-close{position:absolute;top:50%;transform:translateY(-50%);right:calc(var(--dss-spacing-lg) - 4px)}.dss-dialog--sm .dss-dialog-header-close{right:calc(var(--dss-spacing-md) - 4px)}.dialog-header--extra{margin-top:var(--dss-spacing-sm)}.dss-dialog.dss-dialog--has-scroll .dss-dialog-header{background-color:var(--color-white);border-bottom:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out}.dss-dialog.dss-dialog--has-scroll .dss-dialog-header.dss-dialog-header--scrolled{border-bottom-color:var(--color-neutral-100);box-shadow:0 1px 3px 1px #0000001a,0 1px 2px #0000000d}.dss-dialog.dss-dialog--has-scroll .dss-dialog-footer{background-color:var(--color-white);border-top:var(--color-white) solid var(--dss-border-width-sm);transition:border-top-color .25s ease-in-out;z-index:900}.dss-dialog.dss-dialog--has-scroll .dss-dialog-footer.dss-dialog-footer--scrolled{border-top-color:var(--color-neutral-100)}@media screen and (min-width: 1440px) and (max-width: 1919px){.dialog{max-width:50%}}@media only screen and (min-width: 1024px) and (max-width: 1439px){.dialog{max-width:60%}}@media only screen and (max-width: 1023px){.dialog{max-width:80%;min-width:300px}}",modalTemplate=l=>{const t={[`dss-dialog--${l._size}`]:!!l._size,"dss-dialog--has-header-slot":!!l._headerSlot,"dss-dialog--footer-empty":!l._footerSlot,"dss-dialog--has-scroll":l._hasScroll},a={"dss-dialog-header-state--success":l._state==="success","dss-dialog-header-state--error":l._state==="error","dss-dialog-header-state--alert":l._state==="alert","dss-dialog-header-state--info":l._state==="info"};return x` - - `};var __defProp$F=Object.defineProperty,__getOwnPropDesc$D=Object.getOwnPropertyDescriptor,__decorateClass$F=(l,t,a,c)=>{for(var d=__getOwnPropDesc$D(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$F(t,a,d),d};const ANIMATION_DURATION=250;class Modal extends r$1{constructor(){super(),this._size="lg",this._open=!0,this._modalTitle="Title",this._state="",this._hasDivider=!1,this._hideCloseIcon=!1,this._hasScroll=!1,this._modalStyle=void 0,this._modalHeader=null,this._modalFooter=null,this._handleKeydown=this._handleKeydown.bind(this),this._handleOutsideClick=this._handleOutsideClick.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(modalStyles)]}set size(t){const a=this._size;this._size=t==="sm"?t:"lg",this.requestUpdate("size",a)}set open(t){const a=this._open;this._open=t,this.requestUpdate("open",a)}set modalTitle(t){const a=this._modalTitle;this._modalTitle=t,this.requestUpdate("modalTitle",a)}set state(t){const a=this._state;this._state=t,this.requestUpdate("state",a)}set hideCloseIcon(t){const a=this._hideCloseIcon;this._hideCloseIcon=t,this.requestUpdate("hideCloseIcon",a)}set hasScroll(t){const a=this._hasScroll;this._hasScroll=t,this.requestUpdate("hasScroll",a)}set modalStyle(t){const a=this._modalStyle;this._modalStyle=t,this.requestUpdate("modalStyle",a)}get _headerSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="header"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _footerSlot(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="footer"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleOutsideClick)}updated(t){t.has("open")&&(this._open?this._showDialog():this._hideDialog())}_showDialog(){this.classList.add("show"),this.classList.remove("hide"),setTimeout(()=>{this.classList.add("show"),this.style.visibility="visible"},0),document.addEventListener("keydown",this._handleKeydown),document.body.style.overflow="hidden"}_hideDialog(){this.classList.add("hide"),this.classList.remove("show"),setTimeout(()=>{this.classList.remove("hide"),this.style.visibility="hidden",document.removeEventListener("keydown",this._handleKeydown)},ANIMATION_DURATION),document.body.style.overflow=""}_close(){this.open=!1,this._hideDialog(),this.requestUpdate();const t=new Event("onModalClosed");this.dispatchEvent(t)}_getStateIcon(){let t="";switch(this._state){case"success":t="check_circle";break;case"error":t="cancel";break;case"alert":t="report";break;case"info":t="info";break;default:t=""}return t}_handleKeydown(t){t.key==="Escape"&&this._close()}_handleOutsideClick(t){var a;if(this._open){const c=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog"),d=t.composedPath();c&&d.includes(this)&&!d.includes(c)&&this._close()}}fixEmptyFooter(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog");t!=null&&t.classList.contains("dss-dialog--footer-empty")&&this.requestUpdate()}_handleScroll(t){var c,d,h,p;const a=t.target;a&&(a.scrollTop>0?(c=this._modalHeader)==null||c.classList.add("dss-dialog-header--scrolled"):(d=this._modalHeader)==null||d.classList.remove("dss-dialog-header--scrolled"),a.scrollHeight-a.scrollTop!==a.clientHeight?(h=this._modalFooter)==null||h.classList.add("dss-dialog-footer--scrolled"):(p=this._modalFooter)==null||p.classList.remove("dss-dialog-footer--scrolled"))}async firstUpdated(){var a,c,d,h,p;await this.updateComplete,this._footerSlot&&this.fixEmptyFooter();const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-dialog-body");if(this._hasScroll&&t){t.addEventListener("scroll",this._handleScroll.bind(this)),this._modalHeader=(c=this.shadowRoot)==null?void 0:c.querySelector(".dss-dialog-header"),this._modalFooter=(d=this.shadowRoot)==null?void 0:d.querySelector(".dss-dialog-footer");const b=this._modalHeader?this._modalHeader.clientHeight:0,g=this._modalFooter?this._modalFooter.clientHeight:0,$=(((p=(h=this.shadowRoot)==null?void 0:h.querySelector(".dss-dialog"))==null?void 0:p.clientHeight)||0)-b-g;t.scrollHeight>$&&this._modalFooter.classList.add("dss-dialog-footer--scrolled")}}render(){return modalTemplate(this)}}__decorateClass$F([n$1({type:String})],Modal.prototype,"size");__decorateClass$F([n$1(booleanType)],Modal.prototype,"open");__decorateClass$F([n$1({type:String})],Modal.prototype,"modalTitle");__decorateClass$F([n$1({type:String})],Modal.prototype,"state");__decorateClass$F([n$1(booleanType)],Modal.prototype,"hideCloseIcon");__decorateClass$F([n$1(booleanType)],Modal.prototype,"hasScroll");__decorateClass$F([n$1({type:String})],Modal.prototype,"modalStyle");const styles$d=".dss-notification-badge{height:20px;width:20px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:var(--font-semibold);color:var(--color-white);background-color:var(--color-red-500);transition:border-color .3s ease-in}.dss-notification-badge--dot{height:14px;width:14px}.dss-notification-badge--border-white{border:var(--dss-border-width-md) solid var(--color-white)}.dss-notification-badge--border-menu{border:var(--dss-border-width-md) solid var(--color-primary-700)}.dss-notification-badge--success{background-color:var(--color-green-500)}.dss-notification-badge--error{background-color:var(--color-red-500)}.dss-notification-badge--alert{background-color:var(--color-yellow-500);color:var(--color-neutral-900)}.dss-notification-badge--info{background-color:var(--color-blue-500)}.dss-notification-badge--brand{background-color:var(--color-primary-200);color:var(--color-neutral-900)}.dss-notification-badge--hover{border-color:var(--color-primary-900)}.dss-notification-badge--active{border-color:var(--color-primary-800)}",dssIcon=i`dss-icon${s(getCustomElementSuffix())}`,template$a=l=>{const t={"dss-notification-badge--border-white":l._borderWhite,"dss-notification-badge--dot":l._dot,"dss-notification-badge--info":l._state==="info","dss-notification-badge--error":l._state==="error","dss-notification-badge--alert":l._state==="alert","dss-notification-badge--success":l._state==="success","dss-notification-badge--border-menu":l._borderMenu,"dss-notification-badge--hover":(l._borderMenu||l._borderWhite)&&l._isHover,"dss-notification-badge--active":(l._borderMenu||l._borderWhite)&&l._isActive,"dss-notification-badge--brand":l._type==="brand"};let a;return!l._dot&&l._icon?a=u`<${dssIcon} size="sm" icon="${l._icon}">`:!l._dot&&l._value?a=u`${l._value}`:a=null,u` -
    - ${a} -
    - `};var __defProp$E=Object.defineProperty,__getOwnPropDesc$C=Object.getOwnPropertyDescriptor,__decorateClass$E=(l,t,a,c)=>{for(var d=__getOwnPropDesc$C(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$E(t,a,d),d};class NotificationBadge extends r$1{constructor(){super(...arguments),this._icon=void 0,this._value="",this._state="default",this._type="default",this._dot=!1,this._borderMenu=!1,this._borderWhite=!1,this._isHover=!1,this._isActive=!1}static get styles(){return[r$2(styles$d)]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set value(t){const a=this._value;this._value=t,this.requestUpdate("value",a)}set state(t){const a=this._state;this._state=t,this.requestUpdate("state",a)}set dot(t){const a=this._dot;this._dot=t,this.requestUpdate("dot",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set menu(t){const a=this._borderMenu;this._borderMenu=t,this.requestUpdate("menu",a)}set borderMenu(t){const a=this._borderMenu;this._borderMenu=t,this.requestUpdate("borderMenu",a)}set borderWhite(t){const a=this._borderWhite;this._borderWhite=t,this.requestUpdate("borderWhite",a)}set isHover(t){const a=this._isHover;this._isHover=t,this.requestUpdate("isHover",a)}set isActive(t){const a=this._isActive;this._isActive=t,this.requestUpdate("isActive",a)}render(){return template$a(this)}}__decorateClass$E([n$1({type:String})],NotificationBadge.prototype,"icon");__decorateClass$E([n$1({type:String})],NotificationBadge.prototype,"value");__decorateClass$E([n$1({type:String})],NotificationBadge.prototype,"state");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"dot");__decorateClass$E([n$1({type:String})],NotificationBadge.prototype,"type");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"menu");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"borderMenu");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"borderWhite");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"isHover");__decorateClass$E([n$1(booleanType)],NotificationBadge.prototype,"isActive");const styles$c=":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;box-shadow:0 -1px #d8d8d8}.pagination__container{display:flex;align-items:center;padding:.25rem .75rem;gap:.5rem}.pagination__container--md{padding:.25rem .75rem}.pagination__container--lg{padding:.5rem .75rem}.pagination__button{color:#0073e6;font-size:1rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--font-icons);width:1.5rem;height:1.5rem}.pagination__container--md .pagination__button{font-size:1rem;width:1.5rem;height:1.5rem}.pagination__container--lg .pagination__button{font-size:1.5rem;width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__item{display:flex;justify-content:center;align-items:center;background-color:transparent;border-radius:6.25rem;border:none;cursor:pointer;font-weight:600;color:#656565;font-family:var(--font-family);height:1.5rem;width:1.5rem;font-size:.75rem;line-height:1rem}.pagination__container--md .pagination__item{height:1.5rem;width:1.5rem;font-size:.75rem;line-height:1rem}.pagination__container--lg .pagination__item{height:2rem;width:2rem;font-size:1rem;line-height:1.5rem}.pagination__container--md .pagination__item--large{width:2rem}.pagination__container--lg .pagination__item--large{width:2.563rem}.pagination__item:hover:enabled,.pagination__item--selected{background:#bfddfa;color:#00356a}.pagination__item:hover:enabled{transition:all .3s ease-in}.pagination__item:active:enabled{background:#eff7ff;transition:none}.pagination__item:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__item--dot{pointer-events:none}",template$9=l=>u` -
    - - ${l._buttons} - -
    - -`;var __defProp$D=Object.defineProperty,__getOwnPropDesc$B=Object.getOwnPropertyDescriptor,__decorateClass$D=(l,t,a,c)=>{for(var d=__getOwnPropDesc$B(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$D(t,a,d),d};class Pagination extends r$1{constructor(){super(...arguments),this._length=0,this._pageSize=0,this._totalPages=0,this._currentIndex=1,this._size="md",this._buttons=[]}static get styles(){return r$2(styles$c)}set length(t){const a=this._length;this._length=t,this.requestUpdate("length",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}_next(){this._currentIndex++,this._updateButtons(),this._emitCurrentPage()}_prev(){this._currentIndex--,this._updateButtons(),this._emitCurrentPage()}_emitCurrentPage(){this.dispatchEvent(new CustomEvent("onChangePage",{detail:this._currentIndex,bubbles:!0,composed:!0}))}_updateButtons(){this._buttons=[];const t=1,a=Math.max(this._currentIndex-1,1),c=Math.min(this._currentIndex+1,this._totalPages),d=a>2,h=c - ... - - `;if(this._totalPages<=6){this._buttons=this._getButtons(t,this._totalPages),this.requestUpdate();return}if(!d&&h){const $=this._getButtons(t,4);this._buttons=[...$,g,b]}if(d&&!h){const $=this._getButtons(this._totalPages-3,this._totalPages);this._buttons=[p,g,...$]}if(d&&h){const f=this._getButtons(a+1,c);this._buttons=[p,g,...f,g,b]}this.requestUpdate()}_getButtons(t,a){const c=a-t+1;return Array(c).fill(0).map((d,h)=>{if(d){const p=h+t,b={"pagination__item--selected":this._currentIndex===p,"pagination__item--large":p>=10};return x` - - `}})}_selectItem(t){this._currentIndex=t,this._updateButtons()}async firstUpdated(){try{await this.updateComplete,this._totalPages=Math.ceil(this._length/this._pageSize),this._updateButtons()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("length"),c=t.has("pageSize");(a||c)&&(this._totalPages=Math.ceil(this._length/this._pageSize),this._updateButtons())}render(){return template$9(this)}}__decorateClass$D([n$1({type:Number})],Pagination.prototype,"length");__decorateClass$D([n$1({type:Number})],Pagination.prototype,"pageSize");__decorateClass$D([n$1({type:String})],Pagination.prototype,"size");__decorateClass$D([n$1({type:Number})],Pagination.prototype,"currentIndex");const popoverStyles=':host{display:block;width:auto;opacity:0;visibility:hidden;z-index:999}:host(.visible){opacity:1;visibility:visible}.dss-popover{display:flex;min-width:356px;width:-moz-max-content;width:max-content;max-width:500px}.dss-popover--open{opacity:1;visibility:visible}.dss-popover-box{position:relative;box-sizing:border-box;min-width:356px;width:-moz-fit-content;width:fit-content;max-width:500px;height:-moz-fit-content;height:fit-content;background-color:var(--color-white);border-radius:var(--dss-radius-sm);box-shadow:0 1px 3px #0000001a,0 4px 8px 3px #0000000d;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.dss-popover[data-popper-placement=right]>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:10px solid transparent;border-left:0;border-right:10px solid #efefef;transform:translate(-100%,-50%)}.dss-popover[data-popper-placement=right]>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:8px solid transparent;border-left:0;border-right:8px solid var(--color-white);transform:translate(-100%,-50%)}.dss-popover[data-popper-placement=bottom]>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:10px solid transparent;border-top:0;border-bottom:10px solid #efefef;transform:translate(-50%,-100%)}.dss-popover[data-popper-placement=bottom]>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:8px solid transparent;border-top:0;border-bottom:8px solid var(--color-white);transform:translate(-50%,-100%)}.dss-popover[data-popper-placement=left]>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:10px solid transparent;border-right:0;border-left:10px solid #efefef;transform:translate(100%,-50%)}.dss-popover[data-popper-placement=left]>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:8px solid transparent;border-right:0;border-left:8px solid var(--color-white);transform:translate(100%,-50%)}.dss-popover[data-popper-placement=top]>.dss-popover-box:before{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:10px solid transparent;border-bottom:0;border-top:10px solid #efefef;transform:translate(-50%,100%)}.dss-popover[data-popper-placement=top]>.dss-popover-box:after{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:8px solid transparent;border-bottom:0;border-top:8px solid var(--color-white);transform:translate(-50%,100%)}.dss-popover-header{display:flex;align-items:center;padding:var(--dss-spacing-md) 0 var(--dss-spacing-xs) 0;gap:var(--dss-spacing-xs);width:100%}.dss-popover--has-divider .dss-popover-header{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200);margin-bottom:var(--dss-spacing-xs)}.dss-popover-header-box{display:flex;justify-content:space-between;align-items:center;padding:0 var(--dss-spacing-md);gap:var(--dss-spacing-md);width:100%}.dss-popover-header__title{flex:1;font-size:18px;line-height:28px;font-weight:var(--font-semibold);color:var(--color-neutral-900)}::slotted(dss-popover-body),::slotted(dss-item-list){display:block;max-height:428px;overflow-y:auto}.dss-popover--header-empty .dss-popover-header{padding-bottom:0}',dssIconButton=i`dss-icon-button${s(getCustomElementSuffix())}`,popoverTemplate=l=>u` -
    -
    -
    -
    -
    ${l.title}
    - ${l.actionIcon?u` - <${dssIconButton} - icon="${l.actionIcon}" - size="md" - type="primary" - @onClick="${l._handleAction}" - > - `:null} - ${l.hideCloseIcon?null:u` - <${dssIconButton} - icon="close" - size="md" - type="default" - @onClick="${l._handleClose}" - > - `} -
    -
    - - -
    -
    -`;var __defProp$C=Object.defineProperty,__decorateClass$C=(l,t,a,c)=>{for(var d=void 0,h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$C(t,a,d),d};class Popover extends r$1{constructor(){super(...arguments),this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)if(a.type==="attributes"&&a.attributeName==="data-popper-placement"){const c=this.getAttribute("data-popper-placement");c&&this._propagatePlacement(c)}},this.observer=new MutationObserver(this.callback),this.open=!1,this.hasDivider=!1,this.hideCloseIcon=!1,this.title="",this.actionIcon=void 0,this.position="top",this._popperInstance=null,this._parent=null}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(popoverStyles)]}disconnectedCallback(){this.observer.disconnect(),this._popperInstance&&(this._popperInstance.destroy(),this._popperInstance=null)}_handleAction(){this.dispatchEvent(new CustomEvent("onAction",{bubbles:!0,composed:!0}))}_handleClose(){this._closeMenu(),this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0,composed:!0}))}_clickOutside(){document.addEventListener("click",t=>{const a=t.composedPath(),c=a.includes(this._parent);!a.includes(this)&&!c&&this._closeMenu()})}_closeMenu(){setTimeout(()=>{this.classList.contains("visible")&&(this.classList.remove("visible"),this.open=!1)},0)}createPopperInstance(t){this._popperInstance=createPopper(t,this,{placement:this.position,modifiers:[{name:"offset",options:{offset:[0,12]}}],onFirstUpdate:a=>{this._propagatePlacement(a.placement)}}),t.addEventListener("click",()=>{this.open||(this.open=!0,this.classList.add("visible"))})}_propagatePlacement(t){const a=this.renderRoot.querySelector(".dss-popover");a&&a.setAttribute("data-popper-placement",t)}async firstUpdated(){await this.updateComplete;const t=this.assignedSlot;this._parent=t?t.parentElement:this.parentElement,this._parent&&this.createPopperInstance(this._parent),this.observer.observe(this,this.observerConfig),setTimeout(()=>{this._clickOutside(),this.open&&(this.classList.add("visible"),this.requestUpdate())},0)}updated(t){super.updated(t),t.has("position")&&this._popperInstance&&this._popperInstance.setOptions({placement:this.position}),t.has("open")&&(this.open?this.classList.add("visible"):this.classList.remove("visible"))}render(){return popoverTemplate(this)}}__decorateClass$C([n$1(booleanType)],Popover.prototype,"open");__decorateClass$C([n$1(booleanType)],Popover.prototype,"hasDivider");__decorateClass$C([n$1(booleanType)],Popover.prototype,"hideCloseIcon");__decorateClass$C([n$1({type:String})],Popover.prototype,"title");__decorateClass$C([n$1({type:String})],Popover.prototype,"actionIcon");__decorateClass$C([n$1({type:String})],Popover.prototype,"position");class PopoverBody extends r$1{static get styles(){return[i$1` - .dss-popover-body { - display: flex; - flex-direction: column; - padding: 0 var(--dss-spacing-md) var(--dss-spacing-md) - var(--dss-spacing-md); - gap: var(--dss-spacing-xs); - font-size: 14px; - line-height: 24px; - font-weight: var(--font-regular); - color: var(--color-neutral-900); - } - - ::slotted(p) { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-regular); - color: var(--color-neutral-900); - } - `]}render(){return x` -
    - -
    - `}}const styles$b=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-progress-indicator{display:flex;flex-direction:column;gap:8px;width:100%;font-family:var(--font-family)}.dss-progress-indicator.dss-progress-indicator--error .dss-progress-indicator__progress{background:#b60000}.dss-progress-indicator.dss-progress-indicator--error .dss-progress-indicator__description{color:#b60000}.dss-progress-indicator.dss-progress-indicator--success .dss-progress-indicator__progress{background:#00893d}.dss-progress-indicator.dss-progress-indicator--success .dss-progress-indicator__description{color:#00893d}.dss-progress-indicator__title{font-size:14px;font-weight:600;line-height:24px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-progress-indicator__bar{background:#f5f5f5;border-radius:100px;height:2px}.dss-progress-indicator__progress{height:100%;background:#007cbe;transition:all .3s}.dss-progress-indicator__content{display:flex;font-size:14px;line-height:24px;font-style:normal}.dss-progress-indicator__description{font-weight:400;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .3s}.dss-progress-indicator__percentage{font-weight:600;margin-left:8px}",template$8=l=>{const t={"dss-progress-indicator--error":l._hasFailed,"dss-progress-indicator--success":!l._hasFailed&&l._percentage===100};return u` -
    - ${l._title?u`

    ${l._title}

    `:null} -
    -
    -
    -
    - - ${l._description} - - - ${l._percentage}% - -
    -
    - `};var __defProp$B=Object.defineProperty,__getOwnPropDesc$A=Object.getOwnPropertyDescriptor,__decorateClass$B=(l,t,a,c)=>{for(var d=__getOwnPropDesc$A(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$B(t,a,d),d};class ProgressIndicator extends r$1{constructor(){super(...arguments),this._hasFailed=!1,this._title="",this._description="",this._percentage=0}static get styles(){return r$2(styles$b)}set hasFailed(t){const a=this._hasFailed;this._hasFailed=t,this.requestUpdate("hasFailed",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set percentage(t){const a=Math.min(100,Math.max(0,t)),c=this._percentage;this._percentage=a,this.requestUpdate("percentage",c)}render(){return template$8(this)}}__decorateClass$B([n$1(booleanType)],ProgressIndicator.prototype,"hasFailed");__decorateClass$B([n$1({type:String})],ProgressIndicator.prototype,"title");__decorateClass$B([n$1({type:String})],ProgressIndicator.prototype,"description");__decorateClass$B([n$1({type:Number})],ProgressIndicator.prototype,"percentage");const styles$a=':host{width:100%}.dss-search{position:relative}.dss-search-bar{position:relative;display:grid;grid-template-columns:30px 1fr;min-height:48px;height:auto;width:100%;box-sizing:border-box;padding:var(--dss-spacing-sm);padding-right:calc((var(--dss-spacing-sm) * 2) + var(--icon-size-md));background-color:var(--color-white);border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);font-size:14px;font-family:inherit}.dss-search-bar--md{min-height:40px;padding-top:var(--dss-spacing-tiny);padding-bottom:var(--dss-spacing-tiny)}.dss-search-bar--focused{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-search-bar--read-only{border-top:0;border-left:0;border-right:0;border-radius:0}.dss-search-bar--invalid{background-color:var(--color-red-50);border-color:var(--color-red-500)}.dss-search-bar--disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-search-bar__icon{color:var(--color-neutral-700);box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center}.dss-search-bar--default .dss-search-bar__container{display:block}.dss-search-bar--md.dss-search-bar--default .dss-search-bar__container ::slotted(input){min-height:40px}.dss-search-bar--multiple .dss-search-bar__container{display:grid;grid-template-columns:auto minmax(min-content,1fr);gap:var(--dss-spacing-xs)}.dss-search-bar--multiple .dss-search-bar__chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--dss-spacing-xs)}.dss-search-bar__chips .dss-chip{display:inline-flex}.dss-search-bar__input{min-width:200px}::slotted(label){display:none;visibility:hidden;width:0}::slotted(input){height:100%;width:100%;margin:0;border:0;border-radius:0;color:var(--color-neutral-900);box-sizing:border-box;background-color:transparent}::slotted(input:focus-visible){outline:0}.dss-search-bar__clear{display:none;position:absolute;top:0;right:var(--dss-spacing-sm);height:100%;justify-content:center;align-items:center;box-sizing:border-box}.dss-search-bar--has-value:not(.dss-search-bar--disabled):not(.dss-search-bar--read-only) .dss-search-bar__clear{display:flex}.dss-search-help{display:flex;justify-content:space-between;font-family:var(--font-family);font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-search-bar--invalid+.dss-search-help{color:var(--color-red-500)}.dss-search-dropdown{margin-top:8px;position:absolute;top:52px;left:0;background-color:var(--color-white);width:100%;border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;z-index:800;overflow:hidden}.dss-search-catalog--empty{height:150px;display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-xs);color:var(--color-blue-800)}.dss-search-catalog--empty .text{font-size:14px}.dss-catalog-item{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);cursor:pointer}.dss-catalog-item:hover{background-color:var(--color-neutral-50)}.dss-catalog-item--selected{background-color:var(--color-primary-50)}.dss-catalog-item:focus-visible{border:var(--dss-border-width-lg) solid var(--color-blue-200);outline:0}.dss-search-title{padding:var(--dss-spacing-sm) var(--dss-spacing-md) 0;font-weight:var(--font-semibold);font-size:14px;color:var(--color-black)}.dss-catalog-item__icon{color:var(--color-neutral-900)}.dss-catalog-item__text{color:var(--color-neutral-900);font-size:16px}.dss-search-bar:not(.dss-search-bar--show-chips) .dss-search-bar__chips .dss-chip.dss-chip--hide{display:none}.dss-search-bar__chips .dss-chip__counter{cursor:pointer;position:relative;box-sizing:border-box;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-primary-700);box-shadow:none;background-color:var(--color-primary-100);transition:.3s all ease-in;height:24px;font-size:12px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16)}.dss-search-bar__chips .dss-chip__counter:hover{background-color:var(--color-primary-50)}.dss-chip__tooltip{display:none}.dss-chip__tooltip-item{margin-right:var(--dss-spacing-xxs)}.dss-chip__tooltip-item:not(:last-child):after{content:","}.dss-search-bar__chips .dss-chip__counter:hover .dss-chip__tooltip{display:block}',template$7=l=>{var d,h,p,b;const t={"dss-search-bar--invalid":l._invalid||!l._inputValidity,"dss-search-bar--disabled":(d=l._input)==null?void 0:d.disabled,"dss-search-bar--required":(h=l._input)==null?void 0:h.required,"dss-search-bar--read-only":(p=l._input)==null?void 0:p.readOnly,"dss-search-bar--focused":l._isFocused,"dss-search-bar--default":!l._multiple,"dss-search-bar--multiple":l._multiple,"dss-search-bar--show-chips":l._showAllChips,"dss-search-bar--md":l._inputSize==="md","dss-search-bar--has-value":l._showClearButton||((b=l._input)==null?void 0:b.value)||l._searchTerms.length>0},a={},c={};return u` - - `};var __defProp$A=Object.defineProperty,__getOwnPropDesc$z=Object.getOwnPropertyDescriptor,__decorateClass$A=(l,t,a,c)=>{for(var d=__getOwnPropDesc$z(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$A(t,a,d),d};class SearchBar extends r$1{constructor(){super(...arguments),this._multiple=!1,this._icon="search",this._placeholder="Escriu per cercar",this._inputSize="lg",this._invalid=!1,this._helpText="",this._isFocused=!1,this._showClearButton=!1,this._threshold=3,this._searchTerms=[],this._catalog=[],this._filteredCatalog=[],this._showDropdown=!1,this._isCatalogLoading=!1,this._emptyDropdownText="Sense resultats per",this._recentSearches=!1,this._recentSearchesText="Últimes cerques",this._dropdownStyle="",this._searchboxStyle="",this._showAllChips=!1,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&this.requestUpdate()},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(iconStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(styles$a)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this.requestUpdate("helpText",a)}set invalid(t){const a=this._invalid;t?this._invalid=t:this._invalid=this._inputValidity?t:!0,this.requestUpdate("invalid",a)}set threshold(t){const a=this._threshold;this._threshold=t,this.requestUpdate("threshold",a)}set searchTerms(t){const a=this._searchTerms;this._searchTerms=t,this.requestUpdate("searchTerms",a)}set catalog(t){const a=this._catalog;this._catalog=t,this.requestUpdate("catalog",a)}set emptyDropdownText(t){const a=this._emptyDropdownText;this._emptyDropdownText=t,this.requestUpdate("emptyDropdownText",a)}set recentSearchesText(t){const a=this._recentSearchesText;this._recentSearchesText=t,this.requestUpdate("recentSearchesText",a)}set recentSearches(t){const a=this._recentSearches;this._recentSearches=t,this.requestUpdate("recentSearches",a)}set isCatalogLoading(t){const a=this._isCatalogLoading;this._isCatalogLoading=t,this.requestUpdate("isCatalogLoading",a)}set dropdownStyle(t){const a=this._dropdownStyle;this._dropdownStyle=t,this.requestUpdate("dropdownStyle",a)}_getSearchStyle(){return`top: ${this.renderRoot.querySelectorAll(".dss-search-bar")[0].offsetHeight+4}px; ${this._dropdownStyle}`}get _inputValidity(){var t;return this._input&&this._input.value!==""?(t=this._input)==null?void 0:t.checkValidity():!0}_handleClick(){this.requestUpdate()}_handleInput(){let t=this._input.value;t.length>=this._threshold?(this._showDropdown=!0,this._filteredCatalog=this._getFilterCatalog(t),this._multiple&&t.endsWith(",")&&(t=t.slice(0,-1),this._searchTerms.push(t),this._input.value="",this._searchTerms.length&&this._dispatchSearchChange()),this._searchboxStyle=this._getSearchStyle(),this.requestUpdate()):this._hideDropdown(),this.requestUpdate()}_handleFocusIn(){this._isFocused=!0,this._showClearButton=!0,this.requestUpdate()}_handleFocusOut(){this._isFocused=!1,this._showClearButton=!1,this.requestUpdate()}_handleKeyDown(t){(t==null?void 0:t.key)==="Enter"?(this._showDropdown=!0,!this._multiple&&this._input.value!==""&&(this._searchTerms=[],this._searchTerms.push(this._input.value),this._dispatchSearchChange(),this._showDropdown=!1),this._searchboxStyle=this._getSearchStyle()):(t==null?void 0:t.key)==="Escape"&&(this._showDropdown=!1),this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus()}_clearSearch(){this._input&&(this._input.value="",this._input.focus()),this._searchTerms=[],this._dispatchSearchChange(),this._hideDropdown(),this.requestUpdate()}_hideDropdown(){this._showDropdown=!1,this._filteredCatalog=[]}_getFilterCatalog(t){return this._catalog.filter(a=>a.value.toLowerCase().includes(t.toLowerCase()))}_generateSearchChips(){let t=0;return this._searchTerms.map(c=>{var b,g,f,$,v;const d=m=>{const y=m.target.getAttribute("term");this._searchTerms=this._searchTerms.filter(k=>k!==y),this._dispatchSearchChange(),this.requestUpdate()};t+=1;const h={disabled:((b=this._input)==null?void 0:b.disabled)||((g=this._input)==null?void 0:g.readOnly),"dss-chip--selected":!((f=this._input)!=null&&f.disabled)&&!(($=this._input)!=null&&$.readOnly),"dss-chip--hide":t>5};return x` - - ${c} - - - `})}_generateFilterCatalog(){let t=!0;return this._filteredCatalog.map(c=>{const d=v=>{const m=v.target.getAttribute("value");m&&(this._multiple?this._searchTerms.includes(m)?this._searchTerms=this._searchTerms.filter(k=>k!==m):this._searchTerms.push(m):(this._input.value=m,this._showDropdown=!1,this._searchTerms=[],this._searchTerms.push(m)),this.requestUpdate(),this._dispatchSearchChange())},h=v=>{v&&v.focus()},p=v=>{let m=0;const y=this.renderRoot.querySelectorAll(".dss-catalog-item"),k=y.length-1;v===y[0]?h(y[k]):(y.forEach((w,_)=>{w===v&&(m=_)}),h(y[m-1]))},b=v=>{let m=0;const y=this.renderRoot.querySelectorAll(".dss-catalog-item"),k=y.length-1;v===y[k]?h(y[0]):(y.forEach((w,_)=>{w===v&&(m=_)}),h(y[m+1]))},g=v=>{const m=v.currentTarget,y=v;let k=!1;switch(y.key){case"ArrowUp":p(m),k=!0;break;case"ArrowDown":b(m),k=!0;break;case"Enter":const w=v.target,_=this.renderRoot.querySelector('.dss-catalog-item[tabindex="0"]');_==null||_.setAttribute("tabindex","-1"),v.target.setAttribute("tabindex","0"),w.click(),k=!0;break}k&&(v.stopPropagation(),v.preventDefault())},f={"dss-catalog-item--selected":this._searchTerms.includes(c.value)},$=x` -
    - ${c.icon?x` - ${c.icon} - `:null} - ${c.value} -
    - `;return t=!1,$})}_dispatchSearchChange(){const t={detail:this._searchTerms,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onSearchChange",t))}_closeDropdown(){document.addEventListener("click",t=>{t.target!==this&&t.target!==this._input&&(this._showDropdown=!1,this.requestUpdate())}),document.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._input&&(this._showDropdown=!1,this.requestUpdate())})}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){var t,a;try{await this.updateComplete,this._input&&(this.observer.observe(this._input,this.observerConfig),(t=this._input)!=null&&t.getAttribute("placeholder")||(a=this._input)==null||a.setAttribute("placeholder",this._placeholder),this._closeDropdown(),this._searchboxStyle=this._getSearchStyle(),this.requestUpdate())}catch{console.error("ERROR OCURRED")}}render(){return template$7(this)}}__decorateClass$A([n$1(booleanType)],SearchBar.prototype,"multiple");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"icon");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"inputSize");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"helpText");__decorateClass$A([n$1(booleanType)],SearchBar.prototype,"invalid");__decorateClass$A([n$1({type:Number})],SearchBar.prototype,"threshold");__decorateClass$A([n$1({type:Array})],SearchBar.prototype,"searchTerms");__decorateClass$A([n$1({type:Array})],SearchBar.prototype,"catalog");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"emptyDropdownText");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"recentSearchesText");__decorateClass$A([n$1(booleanType)],SearchBar.prototype,"recentSearches");__decorateClass$A([n$1(booleanType)],SearchBar.prototype,"isCatalogLoading");__decorateClass$A([n$1({type:String})],SearchBar.prototype,"dropdownStyle");const styles$9='.dss-icon--checked:before{content:"done";font-family:var(--font-icons);font-weight:400;color:var(--color-white);font-size:24px;vertical-align:middle}.dss-type--default.dss-selected{background-color:var(--color-primary-500)}.dss-type--green.dss-selected{background-color:var(--color-green-500)}.dss-selected label{color:var(--color-white)!important}.list{width:auto;border-radius:8px;margin-top:1px;background-color:#fff;color:var(--color-neutral-900);box-shadow:0 0 0 .063rem #d8d8d8,0 0 0 .063rem #d8d8d8}.list .dss-form-field:first-child{border-radius:8px 8px 0 0}.list .dss-form-field:last-child{border-radius:0 0 8px 8px}.list *{cursor:pointer}.list .disabled,.list .disabled *{cursor:inherit!important;color:var(--color-neutral-500)}.dss-disabled{opacity:.4;cursor:not-allowed}.hidden{opacity:0;position:absolute}.dss-checkbox,.dss-table .dss-table__checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:.0625rem solid var(--color-neutral-500);border-radius:.125rem;cursor:pointer;flex-shrink:0;height:1.25rem!important;margin:.125rem;overflow:hidden;position:relative;transition:all .3s linear;width:1.25rem!important}.dss-checkbox:hover{border:.0625rem solid var(--color-neutral-600);transition:all .3s linear}.dss-checkbox:checked{background-color:var(--color-primary-500);border:.0625rem solid var(--color-primary-500)}.dss-checkbox:checked:before{position:absolute;top:-4px;left:-2px;color:var(--color-white);content:"check";font-family:var(--font-icons);font-size:1.375rem;text-align:center}.dss-checkbox:checked:hover{background-color:var(--color-primary-600);border:.0625rem solid var(--color-primary-600);transition:all .3s linear}.dss-checkbox:indeterminate:before{color:var(--color-white);content:"remove";font-family:var(--font-icons);font-size:1.125rem}.dss-checkbox:disabled{cursor:not-allowed;opacity:.4}.dss-form-field__focus{outline:.25rem solid var(--color-blue-200);outline-offset:-4px;transition:none}.dss-radio:focus-visible:enabled,.dss-checkbox:focus-visible:enabled{outline:none}.dss-radio,.dss-table .dss-table__radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);border:.0625rem solid var(--color-neutral-500);border-radius:50%;color:var(--color-primary-500);cursor:pointer;display:grid;flex-shrink:0;height:1.25rem;margin:4px .125rem 0;place-content:center;transform:translateY(-.075em);transition:all .3s linear;width:1.25rem}.dss-radio:before{background-color:var(--color-white);border-radius:50%;box-shadow:inset 1rem 1rem var(--color-primary-500);content:"";height:.625rem;transform:scale(0);transition:transform .3s ease-in-out;width:.625rem}.dss-radio:checked{border:.0625rem solid var(--color-primary-500)}.dss-radio:checked:before{box-shadow:inset 1rem 1rem var(--color-primary-500);transform:scale(1)}.dss-radio:checked:hover{border:.0625rem solid var(--color-primary-600);transition:all .3s linear}.dss-radio:checked:hover:before{box-shadow:inset 1rem 1rem var(--color-primary-600);transform:scale(1);transition:all .3s linear}.dss-radio:checked:disabled{cursor:not-allowed;opacity:.4}.dss-radio:hover{border:.0625rem solid var(--color-neutral-600);transition:all .3s linear}.dss-radio:disabled{cursor:not-allowed;opacity:.4}.dss-form-field{align-items:center;display:flex;gap:8px;cursor:pointer;min-height:24px;min-width:136px;padding:8px 12px;position:relative;word-break:break-word}.dss-form-field.dss-ticked{justify-content:space-between}.dss-form-field.dss-selectAll{background-color:var(--color-white);border-bottom:.8px solid #b1b1b1;position:sticky;top:0;z-index:1}.dss-form-field.dss-first-unselected{border-top:.8px solid #b1b1b1}.dss-type--default:hover{background-color:var(--color-primary-100)}.dss-type--green:hover{background-color:var(--color-green-100)}.dss-type--default.dss-selected:hover{background-color:var(--color-primary-400)}.dss-type--green.dss-selected:hover{background-color:var(--color-green-400)}.dss-form-field label{font-size:.875rem;line-height:var(--line-24)}.dss-form-field:not(.dss-form-field--selected) label span.bold{font-weight:var(--font-bold)}.dss-form-field .dss-check-overlay{width:24px;height:24px;position:absolute}.dss-selector-list-wrapper{overflow-y:auto;margin-bottom:var(--dss-spacing-xxs);width:100%}.dss-selector-empty{box-sizing:border-box;min-height:150px;width:100%;max-width:100%;display:flex;justify-content:center;align-items:center;padding:var(--dss-spacing-xs);gap:var(--dss-spacing-xs)}.dss-selector-empty .text{font-size:14px;color:var(--color-blue-800)}';var __defProp$z=Object.defineProperty,__getOwnPropDesc$y=Object.getOwnPropertyDescriptor,__decorateClass$z=(l,t,a,c)=>{for(var d=__getOwnPropDesc$y(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$z(t,a,d),d};class Selector extends r$1{constructor(){super(...arguments),this._elementId=`dss-selector-${new Date().getTime()}`,this._elements=null,this._elementSelectAll=[],this._selectedValue=null,this._multiple=!1,this._deselectable=!1,this._disabled=!1,this._tick=!0,this._type="default",this._style=null,this._filtre=null,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._isAllSelected=!1,this._elementsSelected=0,this._emptySelectorLabel="Sense resultats per",this._emptyFilterLabel="Escriu per cercar.",this._filterThreshold=1,this._ariaLabel=void 0}static get styles(){return[r$2(iconStyles),r$2(styles$9)]}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set elements(t){const a=this._elements;this._elements=t,this.requestUpdate("elements",a)}set selectedValue(t){var d,h;const a=this._selectedValue;if(!t||t.length===0){this._selectedValue=null,this.requestUpdate("selectedValue",a);return}if(this._multiple){this._selectedValue=((d=this._elements)==null?void 0:d.filter(p=>t.includes(p.value)))||null,this.requestUpdate("selectedValue",a);return}const c=(h=this._elements)==null?void 0:h.find(p=>p.value===t[0]);this._selectedValue=c?[c]:null,this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._style;this._style=t,this.requestUpdate("style",a)}set filtre(t){if(t){const a=this._filtre;this._filtre=t.toLowerCase(),this.requestUpdate("filtre",a)}else t===""&&(this._filtre=null)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set selectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}set filterThreshold(t){const a=this._filterThreshold;this._filterThreshold=t,this.requestUpdate("filterThreshold",a)}set elementsSelected(t){const a=this._elementsSelected;this._elementsSelected=t,this.requestUpdate("elementsSelected",a)}set ariaLabel(t){const a=this._ariaLabel;this._ariaLabel=t,this.requestUpdate("ariaLabel",a)}_valueIsSelected(t){var a;return((a=this._selectedValue)==null?void 0:a.some(c=>c.value===t))||!1}_manuallySelect(t,a){if(t.preventDefault(),t.stopPropagation(),this._disabled)return;const c=this._valueIsSelected(a);if(!this._multiple&&!this._deselectable&&c)return;const d=t.target,h=d.className.includes("bold")?d.parentElement:d;h&&h.className.includes("dss-form-field")?h.querySelector("input").checked=!c:h&&(h.parentElement.querySelector("input").checked=!c),this._returnSelectedValues(a),this._areAllElementsSelected()}_manuallySelectAll(t){if(t.preventDefault(),t.stopPropagation(),this._disabled||!this._multiple&&!this._deselectable&&this._isAllSelected)return;const a=t.target;a.className.includes("dss-form-field")?(a.querySelector("input").checked=!a.querySelector("input").checked,this._returnSelecteAllValues(a.querySelector("input").checked)):(a.parentElement.querySelector("input").checked=!a.parentElement.querySelector("input").checked,this._returnSelecteAllValues(a.parentElement.querySelector("input").checked)),this._areAllElementsSelected()}_returnSelecteAllValues(t){var d,h;t?this._selectedValue=((d=this._elements)==null?void 0:d.filter(p=>p.value))||[]:this._selectedValue=[];const c={detail:((h=this._selectedValue)==null?void 0:h.map(p=>p.value))||null,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",c)),this.requestUpdate()}_returnSelectedValues(t){var p,b;const a=Array.from(((p=this.shadowRoot)==null?void 0:p.querySelectorAll("input:checked"))||[]).map(g=>g.getAttribute("value")).filter(g=>g==null?!1:this._multiple?!0:g===t),c=a.indexOf(this._elementSelectAll[0]);c!==-1&&a.splice(c,1),this._selectedValue=((b=this._elements)==null?void 0:b.filter(g=>a.includes(g.value)))||[];let d;this._multiple?d=a:d=a[0]||null;const h={detail:d,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",h)),this.requestUpdate()}_getIndexSubtext(t){if(!this._filtre)return[-1,-1];const a=t.toLowerCase();return[a.indexOf(this._filtre),a.indexOf(this._filtre)+this._filtre.length]}_focusEvent(t){const c=t.target.closest(".dss-form-field");c==null||c.classList.add("dss-form-field__focus")}_blurEvent(t){const c=t.target.closest(".dss-form-field");c==null||c.classList.remove("dss-form-field__focus")}async firstUpdated(){try{await this.updateComplete,this._elementSelectAll=[this._labelSelectAll],this._areAllElementsSelected(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_areAllElementsSelected(){if(!this._elements||!this._selectedValue){this._elementSelectAll=[this._labelSelectAll],this._isAllSelected=!1;return}const t=this._selectedValue.map(c=>c.value),a=this._elements.map(c=>c.value);this._isAllSelected=t.length===a.length&&t.every(c=>a.includes(c)),this._isAllSelected?this._elementSelectAll=[this._labelDeselectAll]:this._elementSelectAll=[this._labelSelectAll],this.requestUpdate()}generateListInputsElements(){var a;return(a=this._elements)==null?void 0:a.map((c,d)=>{const h=c.label.trim().replace(/\s+/g,"-"),p=c.value.trim().replace(/\s+/g,"-"),b=`selector-${h}-${p}`,g=this._valueIsSelected(c.value),f=this._tick&&!this._multiple,$=e({disabled:this._disabled,"dss-disabled":this._disabled,"dss-form-field":!0,"dss-type--default":this._type==="default","dss-type--green":this._type==="green","dss-ticked":f,"dss-selected":g&&f,"dss-form-field--selected":g,"dss-first-unselected":d&&d>0&&d===this._elementsSelected}),v=e({"dss-checkbox":this._multiple,"dss-radio":!this._multiple,"dss-disabled":this._disabled,hidden:f}),m=f&&g?"visible":"hidden",y=x` - -
    - `,k=x``,w=D=>{this._manuallySelect(D,c.value)},_=D=>{var q,U,P,I;if(D.key==="Enter"||D.key===" ")this._manuallySelect(D,c.value);else if(D.key==="ArrowUp"){const L=D.target,O=(U=(q=L==null?void 0:L.closest(".dss-form-field"))==null?void 0:q.previousElementSibling)==null?void 0:U.querySelector("input");O==null||O.focus()}else if(D.key==="ArrowDown"){const L=D.target,O=(I=(P=L==null?void 0:L.closest(".dss-form-field"))==null?void 0:P.nextElementSibling)==null?void 0:I.querySelector("input");O==null||O.focus()}},[C,S]=this._getIndexSubtext(c.label);let T=x`${c.label}`;if(C!==-1&&S!==-1){const D=c.label.slice(0,C),q=c.label.slice(C,S),U=c.label.slice(S);T=x`${D}${q}${U}`}return x` -
    - ${y} - - ${k} -
    - `})}generatElementSelectAll(){var a;return(a=this._elementSelectAll)==null?void 0:a.map(c=>{const d=e({disabled:this._disabled,"dss-form-field":!0,"dss-type--default":this._type==="default","dss-type--green":this._type==="green","dss-selectAll":!0,"dss-disabled":this._disabled}),h=e({"dss-checkbox":this._multiple}),p=x` - -
    - `;return x` -
    - ${p} - -
    - `})}render(){let t=this.generateListInputsElements();const a=this.generatElementSelectAll();this._multiple&&this._selectAll&&(t==null||t.unshift(a[0]),t=(t==null?void 0:t.length)===1?[]:t);const c=d=>{(d.key==="ArrowDown"||d.key==="ArrowUp")&&d.preventDefault()};return x` - ${this._elements&&this._elements.length>0?x` -
    - ${t} -
    - `:x` -
    - ${this._filtre&&this._filtre.length>=this._filterThreshold?x` -
    - info - - ${this._filtre||this._filtre===""?x` ${this._emptySelectorLabel}: ${this._filtre} `:x`${this._emptyFilterLabel}`} - -
    - `:x` -
    - -
    - `} -
    - `} - `}}__decorateClass$z([n$1(booleanType)],Selector.prototype,"multiple");__decorateClass$z([n$1(booleanType)],Selector.prototype,"tick");__decorateClass$z([n$1(booleanType)],Selector.prototype,"deselectable");__decorateClass$z([n$1(booleanType)],Selector.prototype,"disabled");__decorateClass$z([n$1({type:Array})],Selector.prototype,"elements");__decorateClass$z([n$1(selectedType)],Selector.prototype,"selectedValue");__decorateClass$z([n$1({type:String})],Selector.prototype,"type");__decorateClass$z([n$1({type:String})],Selector.prototype,"boxStyle");__decorateClass$z([n$1({type:String})],Selector.prototype,"filtre");__decorateClass$z([n$1({type:String})],Selector.prototype,"labelSelectAll");__decorateClass$z([n$1({type:String})],Selector.prototype,"labelDeselectAll");__decorateClass$z([n$1(booleanType)],Selector.prototype,"selectAll");__decorateClass$z([n$1({type:Number})],Selector.prototype,"filterThreshold");__decorateClass$z([n$1({type:Number})],Selector.prototype,"elementsSelected");__decorateClass$z([n$1({type:String})],Selector.prototype,"ariaLabel");const sidemenuListItemStyles=":host{display:block;width:100%}.dss-sidemenu-list-item{cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in-out}.dss-sidemenu-list-item:not(:disabled):not(.dss-sidemenu-list-item--disabled):hover{background-color:var(--color-primary-900)}.dss-sidemenu-list-item:not(:disabled):not(.dss-sidemenu-list-item--disabled):active{background-color:var(--color-primary-800)}.dss-sidemenu-list-item:not(.dss-sidemenu-list-item--disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-list-item:disabled{color:var(--color-neutral-100);cursor:not-allowed}.dss-sidemenu-list-item--selected:not(.dss-sidemenu-list-item--disabled):not(:hover){box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-white)}.dss-sidemenu-list-item--disabled{cursor:not-allowed;color:var(--color-neutral-100)}.dss-sidemenu-list-item--expanded{width:100%}.dss-sidemenu-list-item__icon{position:relative;display:flex;align-items:center;justify-content:center}.dss-sidemenu-list-item__notification{position:absolute;top:-4px;right:-4px;display:block;z-index:800}.dss-sidemenu-list-item__notification--expanded{top:-8px;right:-8px}.dss-sidemenu-list-item__label{flex:1}.dss-sidemenu-list-item__tooltip{opacity:0;visibility:hidden;transition:opacity .5s ease-in,visibility .5s ease-in}.dss-sidemenu-list-item--collapsed:focus-visible .dss-sidemenu-list-item__tooltip,.dss-sidemenu-list-item--collapsed:hover .dss-sidemenu-list-item__tooltip{animation:show-tooltip 1s forwards}@keyframes show-tooltip{0%{opacity:0;visibility:hidden}99%{visibility:hidden}to{opacity:1;visibility:visible}}",dssTooltip=i`dss-tooltip${s(getCustomElementSuffix())}`,dssNotificationBadge=i`dss-notification-badge${s(getCustomElementSuffix())}`,sidemenuListItemTemplate=l=>u` - -`;var __defProp$y=Object.defineProperty,__getOwnPropDesc$x=Object.getOwnPropertyDescriptor,__decorateClass$y=(l,t,a,c)=>{for(var d=__getOwnPropDesc$x(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$y(t,a,d),d};class SidemenuListItem extends r$1{constructor(){super(),this._label="Menu",this._icon="add_box",this._selected=!1,this._disabled=!1,this._expanded=!1,this._hasNestedMenu=!1,this._nestedMenuPosition="top",this._notifications=0,this._notificationsState="error",this._isHover=!1,this._isActive=!1,this._showItemDropdown=!1,this._isFocused=!1,this._focusEnabled=!1,this._scrollContainerClass="dss-layout-sidebar",this._tooltip=null,this._dropdown=null,this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleContainerScrollBound=this._handleContainerScroll.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuListItemStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound),this._scrollContainer&&this._scrollContainer.removeEventListener("scroll",this._handleContainerScrollBound)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasNestedMenu(t){const a=this._hasNestedMenu;this._hasNestedMenu=t,this.requestUpdate("hasNestedMenu",a)}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set notifications(t){const a=this._notifications;this._notifications=t,this.requestUpdate("notifications",a)}set notificationsState(t){const a=this._notificationsState;this._notificationsState=t,this.requestUpdate("notificationsState",a)}set nestedMenuPosition(t){const a=this._nestedMenuPosition;this._nestedMenuPosition=t,this.requestUpdate("nestedMenuPosition",a)}set focusEnabled(t){const a=this._focusEnabled;this._focusEnabled=t,this.requestUpdate("focusEnabled",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}get _notificationBadge(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector("dss-notification-badge"))||void 0}_clickedOutsideItem(t,a){a.composedPath().includes(t)||this._showItemDropdown&&(this._showItemDropdown=!1,this.requestUpdate())}_handleDocumentClick(t){this._clickedOutsideItem(this,t)}_handleContainerScroll(){}_handleClick(){this._disabled||(this._hasNestedMenu?(this._showItemDropdown=!0,this.requestUpdate()):this.dispatchEvent(new CustomEvent("onClick",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("updateItemFocus",{detail:!0,bubbles:!0,composed:!0})))}_handleMouseEnter(){this._notificationBadge&&!this._disabled&&this._notificationBadge.setAttribute("isHover","true")}_handleMouseLeave(){this._notificationBadge&&!this._disabled&&this._notificationBadge.removeAttribute("isHover")}_handleMouseDown(){this._notificationBadge&&!this._disabled&&this._notificationBadge.setAttribute("isActive","true")}_handleMouseUp(){this._notificationBadge&&!this._disabled&&this._notificationBadge.removeAttribute("isActive")}_handleKeyDown(t){(t.key==="ArrowDown"||t.key==="ArrowUp")&&(t.preventDefault(),this.dispatchEvent(new CustomEvent("navigate",{detail:{direction:t.key==="ArrowDown"?"next":"previous"},bubbles:!0,composed:!0}))),(t.key==="Enter"||t.key===" ")&&this._handleClick(),t.key==="Escape"&&this._closeItemDropdown()}_handleFocusout(t){const a=t.relatedTarget;a===null&&this._closeItemDropdown(),a&&!this.contains(a)&&this._closeItemDropdown()}_closeItemDropdown(){this._showItemDropdown&&setTimeout(()=>{this._showItemDropdown=!1,this.requestUpdate()},0)}focusItem(){var t,a;this._isFocused=!0,(a=(t=this.shadowRoot)==null?void 0:t.querySelector("li"))==null||a.focus()}blurItem(){var t,a;this._isFocused=!1,(a=(t=this.shadowRoot)==null?void 0:t.querySelector("li"))==null||a.blur()}get _scrollContainer(){return document.querySelector(`.${this._scrollContainerClass}`)}_getDropdownFixedPosition(){const t=this.getBoundingClientRect();this._dropdown&&(this._dropdown.style.left=`${t.right+8}px`,this._dropdown.classList.contains("dss-sidemenu-list-item__dropdown--top")?this._dropdown.style.top=`${t.top}px`:this._dropdown.style.top=`${t.bottom-this._dropdown.offsetHeight}px`)}_getTooltipFixedPosition(){if(this._tooltip){const t=this.getBoundingClientRect();this._tooltip.style.top=`${t.top+t.height/2}px`,this._tooltip.style.left=`${t.right-4}px`}}async firstUpdated(){var a,c;await this.updateComplete;const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-list-item__tooltip");if(t&&(this._tooltip=t),this._hasNestedMenu){const d=(c=this.shadowRoot)==null?void 0:c.querySelector(".dss-sidemenu-list-item__dropdown");d&&(this._dropdown=d)}this._scrollContainer&&this._scrollContainer.addEventListener("scroll",this._handleContainerScrollBound)}updated(t){super.updated(t),t.has("expanded")}render(){return sidemenuListItemTemplate(this)}}__decorateClass$y([n$1({type:String})],SidemenuListItem.prototype,"label");__decorateClass$y([n$1({type:String})],SidemenuListItem.prototype,"icon");__decorateClass$y([n$1(booleanType)],SidemenuListItem.prototype,"selected");__decorateClass$y([n$1(booleanType)],SidemenuListItem.prototype,"disabled");__decorateClass$y([n$1(booleanType)],SidemenuListItem.prototype,"hasNestedMenu");__decorateClass$y([n$1(booleanType)],SidemenuListItem.prototype,"expanded");__decorateClass$y([n$1({type:Number})],SidemenuListItem.prototype,"notifications");__decorateClass$y([n$1({type:String})],SidemenuListItem.prototype,"notificationsState");__decorateClass$y([n$1({type:String})],SidemenuListItem.prototype,"nestedMenuPosition");__decorateClass$y([n$1(booleanType)],SidemenuListItem.prototype,"focusEnabled");__decorateClass$y([n$1({type:String})],SidemenuListItem.prototype,"scrollContainerClass");const sidemenuListStyles=":host{display:block;width:100%}.dss-sidemenu-list{display:flex;align-items:center;flex-direction:column;gap:var(--dss-spacing-xxs)}.dss-sidemenu-list--expanded{width:100%}",sidemenuListTemplate=l=>x` - -`;var __defProp$x=Object.defineProperty,__getOwnPropDesc$w=Object.getOwnPropertyDescriptor,__decorateClass$x=(l,t,a,c)=>{for(var d=__getOwnPropDesc$w(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$x(t,a,d),d};class SidemenuList extends r$1{constructor(){super(...arguments),this._disabled=!1,this._expanded=!1,this._scrollContainerClass="dss-layout-sidebar"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuListStyles)]}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._expanded?h.setAttribute("expanded","true"):h.removeAttribute("expanded"),this._scrollContainerClass?h.setAttribute("scrollContainerClass",this._scrollContainerClass):h.removeAttribute("scrollContainerClass")})})}_handleItemFocus(t){var d;const a=t.target,c=(d=this.shadowRoot)==null?void 0:d.querySelector("slot");if(c){const h=c.assignedElements({flatten:!0}).filter(b=>!b._disabled),p=h.findIndex(b=>b._focusEnabled);h[p]!==a&&(a.setAttribute("focusEnabled","true"),h[p].removeAttribute("focusEnabled"))}}_handleNavigate(t){var c;const a=(c=this.shadowRoot)==null?void 0:c.querySelector("slot");if(a){const d=a.assignedElements({flatten:!0}).filter(b=>!b._disabled),h=d.findIndex(b=>b._focusEnabled);let p=h;t.detail.direction==="next"?p=(h+1)%d.length:t.detail.direction==="previous"&&(p=(h-1+d.length)%d.length),h!==p&&(d[h].blurItem(),d[h].removeAttribute("focusEnabled"),d[p].focusItem(),d[p].setAttribute("focusEnabled","true"),this.dispatchEvent(new CustomEvent("onSlotFocus",{bubbles:!0,composed:!0})))}}async firstUpdated(){var a;await this.updateComplete;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(t){const d=t.assignedElements({flatten:!0}).find(h=>h.tagName.toLowerCase()==="dss-sidemenu-list-item");d&&d.setAttribute("focusEnabled","true"),this._propagateProperties()}}updated(t){super.updated(t),(t.has("expanded")||t.has("disabled"))&&this._propagateProperties()}render(){return sidemenuListTemplate(this)}}__decorateClass$x([n$1(booleanType)],SidemenuList.prototype,"expanded");__decorateClass$x([n$1(booleanType)],SidemenuList.prototype,"disabled");__decorateClass$x([n$1({type:String})],SidemenuList.prototype,"scrollContainerClass");const sidemenuStyles=":host{display:block;min-height:100%;height:100%;width:auto}.dss-sidemenu{min-height:100%;width:72px;display:flex;justify-content:flex-start;align-items:center;flex-direction:column;background-color:var(--color-primary-700);padding:var(--dss-spacing-lg) var(--dss-spacing-md);color:var(--color-white);gap:var(--dss-spacing-lg)}.dss-sidemenu--expanded{width:252px;align-items:flex-start}.dss-sidemenu-top-menu{width:100%;flex:1}.dss-sidemenu-bottom-menu,.dss-sidemenu-create{width:100%}.dss-sidemenu-create__button__content{display:flex;align-items:center;justify-content:center;position:relative}.dss-sidemenu-create__notification{position:absolute;top:-4px;right:-4px;display:block}.dss-sidemenu-create__notification--expanded{top:-8px;right:-8px}.dss-sidemenu-create__button{all:unset;cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-white);color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in}.dss-sidemenu-create__button:not(:disabled):hover{background-color:var(--color-primary-900);color:var(--color-white)}.dss-sidemenu-create__button:not(:disabled):active{background-color:var(--color-primary-800);color:var(--color-white)}.dss-sidemenu-create__button:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-create__button:disabled{color:var(--color-neutral-600);background-color:var(--color-neutral-100);cursor:not-allowed}.dss-sidemenu-toggle{all:unset;cursor:pointer;box-sizing:border-box;height:40px;width:40px;display:flex;align-items:center;gap:var(--dss-spacing-xs);padding:var(--dss-spacing-xs);background-color:var(--color-primary-700);border-radius:var(--dss-radius-sm);font-size:14px;line-height:24px;font-weight:var(--font-semibold);transition:background-color .3s ease-in-out}.dss-sidemenu-toggle:not(:disabled):hover{background-color:var(--color-primary-900)}.dss-sidemenu-toggle:not(:disabled):active{background-color:var(--color-primary-800)}.dss-sidemenu-toggle:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-sidemenu-toggle:disabled{color:var(--color-primary-200);cursor:not-allowed}.dss-sidemenu-toggle__icon{border-radius:100%;background-color:var(--color-white);color:var(--color-primary-700)}.dss-sidemenu--expanded button.dss-sidemenu-create__button,.dss-sidemenu--expanded button.dss-sidemenu-toggle{width:100%}.dss-sidemenu-toggle:disabled .dss-sidemenu-toggle__icon{background-color:var(--color-primary-200)}.dss-sidemenu-top-menu,.dss-sidemenu-bottom-menu{width:100%}.dss-sidemenu-bottom{width:100%;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;border-top:var(--dss-border-width-sm) solid var(--color-white);padding-top:var(--dss-spacing-md);gap:var(--dss-spacing-lg)}",sidemenuTemplate=l=>x` - -`;var __defProp$w=Object.defineProperty,__getOwnPropDesc$v=Object.getOwnPropertyDescriptor,__decorateClass$w=(l,t,a,c)=>{for(var d=__getOwnPropDesc$v(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$w(t,a,d),d};class Sidemenu extends r$1{constructor(){super(),this._disabled=!1,this._expanded=!1,this._toggleDisabled=!1,this._toggleLabel="Tancar Menu",this._hideCreateMenu=!1,this._createDisabled=!1,this._createLabel="Crear",this._createMenuPosition="top",this._createNotifications=0,this._showCreateDropdown=!1,this._scrollContainerClass="dss-layout-sidebar",this._dropdown=null,this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleResizeBound=this._handleResize.bind(this),this._handleContainerScrollBound=this._handleContainerScroll.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(sidemenuStyles)]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._handleResizeBound),document.addEventListener("click",this._handleDocumentClickBound),this._handleResize()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._handleResizeBound),document.removeEventListener("click",this._handleDocumentClickBound),this._scrollContainer&&this._scrollContainer.removeEventListener("scroll",this._handleContainerScrollBound)}set expanded(t){const a=this._expanded;this._expanded=t,this.requestUpdate("expanded",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set toggleLabel(t){const a=this._toggleLabel;this._toggleLabel=t,this.requestUpdate("toggleLabel",a)}set createLabel(t){const a=this._createLabel;this._createLabel=t,this.requestUpdate("createLabel",a)}set createMenuPosition(t){const a=this._createMenuPosition;this._createMenuPosition=t,this.requestUpdate("createMenuPosition",a)}set createNotifications(t){const a=this._createNotifications;this._createNotifications=t,this.requestUpdate("createNotifications",a)}set createDisabled(t){const a=this._createDisabled;this._createDisabled=t,this.requestUpdate("createDisabled",a)}set hideCreateMenu(t){const a=this._hideCreateMenu;this._hideCreateMenu=t,this.requestUpdate("hideCreateMenu",a)}set scrollContainerClass(t){const a=this._scrollContainerClass;this._scrollContainerClass=t,this.requestUpdate("scrollContainerClass",a)}get _createNotification(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector("dss-notification-badge"))||void 0}get _createSection(){var a;return(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-create")}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._expanded?h.setAttribute("expanded","true"):h.removeAttribute("expanded"),this._scrollContainerClass?h.setAttribute("scrollContainerClass",this._scrollContainerClass):h.removeAttribute("scrollContainerClass")})})}_handleResize(){window.innerWidth<1024?(this.removeAttribute("expanded"),this._toggleDisabled=!0):this._toggleDisabled=!1,this.requestUpdate()}_clickedOutsideCreateMenu(t,a){a.composedPath().includes(t)||this._closeCreateDropdown()}_closeCreateDropdown(){this._showCreateDropdown&&(this._showCreateDropdown=!1,this.requestUpdate())}_handleDocumentClick(t){this._createSection&&this._clickedOutsideCreateMenu(this._createSection,t)}_toggleCreateMenu(){this._showCreateDropdown=!this._showCreateDropdown,this.requestUpdate()}_toggleSidemenu(){this._expanded?this.removeAttribute("expanded"):this.setAttribute("expanded","true")}_handleCreateMouseEnter(){this._createNotification&&this._createNotification.setAttribute("isHover","true")}_handleCreateMouseLeave(){this._createNotification&&this._createNotification.removeAttribute("isHover")}_handleCreateMouseDown(){this._createNotification&&this._createNotification.setAttribute("isActive","true")}_handleCreateFocusout(t){if(this._showCreateDropdown){const a=t.relatedTarget;a===null&&this._closeCreateDropdown(),a&&!this._createSection.contains(a)&&a.tagName!=="DSS-ACTION-MENU-ITEM"&&this._closeCreateDropdown()}}_handleCreateMouseUp(){this._createNotification&&this._createNotification.removeAttribute("isActive")}get _scrollContainer(){return document.querySelector(`.${this._scrollContainerClass}`)}_getCreateDropdownFixedPosition(){var c;const a=((c=this.shadowRoot)==null?void 0:c.querySelector(".dss-sidemenu-create")).getBoundingClientRect();this._dropdown&&(this._dropdown.style.left=`${a.right+8}px`,this._dropdown.classList.contains("dss-sidemenu-create__dropdown--top")?this._dropdown.style.top=`${a.top}px`:this._dropdown.style.top=`${a.bottom-this._dropdown.offsetHeight}px`)}_handleContainerScroll(){this._getCreateDropdownFixedPosition()}async firstUpdated(){var a;await this.updateComplete,this._propagateProperties();const t=(a=this.shadowRoot)==null?void 0:a.querySelector(".dss-sidemenu-create__dropdown");t&&(this._dropdown=t,this._getCreateDropdownFixedPosition()),this._scrollContainer&&this._scrollContainer.addEventListener("scroll",this._handleContainerScrollBound)}updated(t){super.updated(t),(t.has("expanded")||t.has("disabled"))&&(this._propagateProperties(),this._getCreateDropdownFixedPosition())}render(){return sidemenuTemplate(this)}}__decorateClass$w([n$1(booleanType)],Sidemenu.prototype,"expanded");__decorateClass$w([n$1(booleanType)],Sidemenu.prototype,"disabled");__decorateClass$w([n$1({type:String})],Sidemenu.prototype,"toggleLabel");__decorateClass$w([n$1({type:String})],Sidemenu.prototype,"createLabel");__decorateClass$w([n$1({type:String})],Sidemenu.prototype,"createMenuPosition");__decorateClass$w([n$1({type:Number})],Sidemenu.prototype,"createNotifications");__decorateClass$w([n$1(booleanType)],Sidemenu.prototype,"createDisabled");__decorateClass$w([n$1(booleanType)],Sidemenu.prototype,"hideCreateMenu");__decorateClass$w([n$1({type:String})],Sidemenu.prototype,"scrollContainerClass");const styles$8='.dss-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;cursor:pointer;outline:none;border-radius:3px;height:4px;background:linear-gradient(to right,var(--color-primary-500) var(--progress),var(--color-neutral-100) var(--progress))}.dss-slider--vertical{transform:rotate(-90deg);transform-origin:center center}.dss-slider::-moz-range-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:20px;width:20px;background-color:var(--color-primary-500);border-radius:50%;border:var(--dss-border-width-md) solid var(--color-white);-moz-transition:.3s ease-in-out;transition:.3s ease-in-out;box-sizing:border-box}.dss-slider::-webkit-slider-thumb:hover{background-color:var(--color-primary-600);-webkit-transition:all .3s linear;transition:all .3s linear}.dss-slider::-moz-range-thumb:hover{background-color:var(--color-primary-600);-moz-transition:all .3s linear;transition:all .3s linear}.dss-slider:active::-webkit-slider-thumb{background-color:var(--color-primary-400);-webkit-transition:none;transition:none}.dss-slider:active::-moz-range-thumb{background-color:var(--color-primary-400);-moz-transition:none;transition:none}.dss-slider:focus-visible::-webkit-slider-thumb{background-color:var(--color-primary-500);border-color:var(--color-blue-200);outline:2px solid var(--color-blue-200);-webkit-transition:none;transition:none}.dss-slider:focus-visible::-moz-range-thumb{background-color:var(--color-primary-500);border-color:var(--color-blue-200);outline:2px solid var(--color-blue-200);-moz-transition:none;transition:none}.dss-slider:disabled{cursor:not-allowed;background:linear-gradient(to right,var(--color-neutral-400) var(--progress),var(--color-neutral-100) var(--progress))}.dss-slider:disabled::-webkit-slider-thumb{background-color:var(--color-neutral-500);-webkit-transition:none;transition:none}.dss-slider:disabled::-moz-range-thumb{background-color:var(--color-neutral-500);-moz-transition:none;transition:none}.dss-slider:disabled+.dss-slider-tooltip{display:none!important}.dss-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:20px;width:20px;background-color:var(--color-primary-500);border-radius:50%;border:var(--dss-border-width-md) solid var(--color-white);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;box-sizing:border-box}.dss-slider:hover+.dss-slider-tooltip{display:block}.dss-slider:focus-visible+.dss-slider-tooltip{display:block}.dss-slider-wrapper{min-width:200px;width:100%;position:relative}.dss-slider-tooltip{display:none;position:absolute;top:-50%}.dss-slider-tooltip--active{display:block}.dss-slider-tooltip .tooltip-wrapper{width:var(--dss-spacing-hg);height:var(--dss-spacing-hg);line-height:24px;text-align:center;background:var(--color-black);color:var(--color-white);font-size:16px;display:flex;align-items:center;justify-content:center;position:absolute;top:-45px;left:calc(50% + 1px);transform:translate(-50%);border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a}.dss-slider-tooltip .tooltip-wrapper:before{content:"";position:absolute;width:0;height:0;border-top:24px solid var(--color-black);border-left:24px solid transparent;border-right:24px solid transparent;top:100%;left:50%;margin-left:-24px;margin-top:-15px}.dss-slider-info{position:absolute;top:calc(100% + 6px);font-size:12px;line-height:16px;color:var(--color-neutral-700)}.dss-slider-info--min{left:0}.dss-slider-info--medium{left:calc(50% - 5px)}.dss-slider-info--max{right:0}.dss-slider--vertical>.dss-slider-tooltip .tooltip-value{transform:rotate(90deg)}.dss-slider--vertical>.dss-slider-info{transform:rotate(90deg);transform-origin:center center;margin-right:-10px}',template$6=l=>{var c;const t={"dss-slider--vertical":l._vertical},a={"dss-slider-tooltip--active":l._isTooltipTouched};return u` -
    - -
    -
    ${l._min}
    -
    - ${Math.round((l._max+l._min)/2)} -
    -
    ${l._max}
    -
    -
    - `};var __defProp$v=Object.defineProperty,__getOwnPropDesc$u=Object.getOwnPropertyDescriptor,__decorateClass$v=(l,t,a,c)=>{for(var d=__getOwnPropDesc$u(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$v(t,a,d),d};class Slider extends r$1{constructor(){super(...arguments),this._label="Input range",this._min=0,this._max=0,this._step=1,this._orient="horizontal",this._vertical=!1,this._value=0,this._progress=0,this._disabled=!1,this._isTooltipTouched=!1}static get styles(){return r$2(styles$8)}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}get _tooltip(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("#dss-slider-tooltip")}set min(t){const a=this._min;this._min=t,this.requestUpdate("min",a)}set max(t){const a=this._max;t>=this._value&&(this._max=t,this._setProgress(),this.requestUpdate("max",a))}set step(t){const a=this._step;this._step=t,this.requestUpdate("step",a)}set orient(t){const a=this._orient;this._orient=t,t==="vertical"?this._vertical=!0:this._vertical=!1,this.requestUpdate("orient",a)}set value(t){const a=this._value;this._max>=t&&(this._value=t,this._setProgress(),this.requestUpdate("value",a))}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}async firstUpdated(){try{await this.updateComplete,this._setProgress(),this.requestUpdate(),document.addEventListener("DOMContentLoaded",this._updateTooltip.bind(this)),this._input.addEventListener("input",this._updateTooltip.bind(this)),this._input.addEventListener("mouseup",this._dispatchValue.bind(this)),this._input.addEventListener("keyup",this._dispatchValue.bind(this)),this._input.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._input.addEventListener("touchmove",this._handleTouchMove.bind(this)),this._input.addEventListener("touchend",this._handleTouchEnd.bind(this))}catch{console.error("ERROR OCURRED")}}_handleTouchStart(t){this._vertical&&t.preventDefault(),this._isTooltipTouched=!0}_handleTouchEnd(t){this._vertical&&t.preventDefault(),this._isTooltipTouched=!1,this.requestUpdate(),this._dispatchValue()}_handleTouchMove(t){if(this._vertical){if(!t.target)return;const a=t.target,c=Number.parseInt(a.max,10),d=Number.parseInt(a.min,10),h=t.touches[0],p=a.getBoundingClientRect(),b=(h.clientY-p.top)/p.height,g=Math.round(b*(c-d)+d);a.value=String(c-g+d),a.dispatchEvent(new Event("input"))}}_handleInput(){if(this._input){const t=Number.parseFloat(this._input.value);this._progress=Math.round((t-this._min)/(this._max-this._min)*100),this.requestUpdate()}}_setProgress(){this._input&&(this._input.value=this._value.toString()),this._progress=Math.round((this._value-this._min)/(this._max-this._min)*100),this.requestUpdate()}_updateTooltip(){if(this._tooltip){const t=Number((+this._input.value-+this._min)*100/(+this._max-+this._min)),a=10-t*.2;this._tooltip.innerHTML=`${this._input.value}`,this._tooltip.style.left=`calc(${t}% + (${a}px))`}}_dispatchValue(){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onDssSliderValueChange",t))}render(){return template$6(this)}}__decorateClass$v([n$1({type:Number})],Slider.prototype,"min");__decorateClass$v([n$1({type:Number})],Slider.prototype,"max");__decorateClass$v([n$1({type:Number})],Slider.prototype,"step");__decorateClass$v([n$1({type:String})],Slider.prototype,"orient");__decorateClass$v([n$1({type:Number})],Slider.prototype,"value");__decorateClass$v([n$1(booleanType)],Slider.prototype,"disabled");__decorateClass$v([n$1({type:String})],Slider.prototype,"label");const styles$7=":host{display:inline-block;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-spinner{width:48px;height:48px;animation:rotate-animation 1s linear infinite;position:relative}.dss-spinner__item{width:100%;height:100%;left:0;top:0;position:absolute;transform:rotate(-90deg)}.dss-spinner__item:nth-child(1) circle{stroke:#eff7ff;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .2s ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(2) circle{stroke:#bfddfa;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .4s ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(3) circle{stroke:#60a8f0;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s calc(.2s * (3)) ease infinite;transform-origin:center center}.dss-spinner__item:nth-child(4) circle{stroke:#0073e6;stroke-dasharray:1,300;stroke-dashoffset:0;animation:stroke-animation 4s .8s ease infinite;transform-origin:center center}.dss-spinner__item circle{fill:none;stroke-linecap:round;stroke-width:8px}.dss-spinner.dss-spinner--sm{width:24px;height:24px}.dss-spinner.dss-spinner--md{width:48px;height:48px}.dss-spinner.dss-spinner--lg{width:72px;height:72px}@keyframes stroke-animation{0%{stroke-dasharray:1,300;stroke-dashoffset:0}50%{stroke-dasharray:120,300;stroke-dashoffset:-59}to{stroke-dasharray:120,300;stroke-dashoffset:-175}}@keyframes rotate-animation{to{transform:rotate(360deg)}}",template$5=l=>u` -
    - - - - - - - - - - - - -
    -`;var __defProp$u=Object.defineProperty,__getOwnPropDesc$t=Object.getOwnPropertyDescriptor,__decorateClass$u=(l,t,a,c)=>{for(var d=__getOwnPropDesc$t(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$u(t,a,d),d};class Spinner extends r$1{constructor(){super(...arguments),this._size="md"}static get styles(){return r$2(styles$7)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}render(){return template$5(this)}}__decorateClass$u([n$1({type:String})],Spinner.prototype,"size");const splitButtonStyles=".dss-split-button{display:flex;justify-content:center;align-items:center;width:-moz-fit-content;width:fit-content;font-family:var(--font-family)}.dss-split-button .dss-split-button-main:focus-visible,.dss-split-button .dss-split-button-icon:focus-visible{z-index:900}.dss-split-button-main{height:40px;padding-top:var(--dss-spacing-xs);padding-right:var(--dss-spacing-sm);padding-bottom:var(--dss-spacing-xs);padding-left:var(--dss-spacing-lg);box-sizing:border-box;border-radius:0;border-top-left-radius:var(--dss-radius-xl);border-bottom-left-radius:var(--dss-radius-xl);font-size:16px;line-height:24px;font-weight:var(--font-semibold)}.dss-split-button--primary .dss-split-button-main{border-right:var(--dss-border-width-sm) solid var(--color-white)}.dss-split-button--primary .dss-split-button-main:focus-visible{border-right:transparent}.dss-split-button--primary.dss-split-button--disabled .dss-split-button-main{border-right:var(--dss-border-width-sm) solid var(--color-neutral-500)}.dss-split-button-icon{height:40px;padding-top:var(--dss-spacing-xs);padding-right:var(--dss-spacing-md);padding-bottom:var(--dss-spacing-xs);padding-left:var(--dss-spacing-xs);box-sizing:border-box;border-radius:0;border-top-right-radius:var(--dss-radius-xl);border-bottom-right-radius:var(--dss-radius-xl);border-left:0}.dss-split-button-icon:hover:enabled{border-left:0}.dss-split-button--open.dss-split-button--primary .dss-split-button-icon:not(:disabled){background-color:var(--color-primary-700)}.dss-split-button--open.dss-split-button--secondary .dss-split-button-icon:not(:disabled){background-color:var(--color-primary-100)}.dss-split-button--md .dss-split-button-main{height:32px;font-size:14px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-md, 16px)}.dss-split-button--md .dss-split-button-icon{height:32px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-xxs, 4px)}.dss-split-button--sm .dss-split-button-main{height:24px;font-size:12px;padding:var(--dds-spacing-xxs, 4px) var(--dds-spacing-xs, 8px) var(--dds-spacing-xxs, 4px) var(--dds-spacing-sm, 12px);line-height:16px}.dss-split-button--sm .dss-split-button-icon{height:24px;padding:0px var(--dds-spacing-xxs, 4px) 0px var(--dss-spacing-tiny, 2px)}.dss-split-button-icon:disabled .dss-icon{color:var(--color-neutral-500)}",splitButtonTemplate=l=>{const t={"dss-split-button--primary":l._type==="primary","dss-split-button--secondary":l._type==="secondary","dss-split-button--open":l._isOpen,"dss-split-button--disabled":l._disabled,[`dss-split-button--${l._size}`]:!!l._size},a={"dss-button--primary":l._type==="primary","dss-button--secondary":l._type==="secondary"};return x` -
    - -
    - - -
    -
    - `};var __defProp$t=Object.defineProperty,__getOwnPropDesc$s=Object.getOwnPropertyDescriptor,__decorateClass$t=(l,t,a,c)=>{for(var d=__getOwnPropDesc$s(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$t(t,a,d),d};class SplitButton extends r$1{constructor(){super(),this._size="lg",this._iconClose="expand_more",this._iconOpen="expand_less",this._type="primary",this._text="",this._disabled=!1,this._isOpen=!1,this._dropdownPosition="bottom-right",this._hasMenu=!1,this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(splitButtonStyles)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}set iconClose(t){const a=this._iconClose;this._iconClose=t,this.requestUpdate("iconClose",a)}set iconOpen(t){const a=this._iconOpen;this._iconOpen=t,this.requestUpdate("iconOpen",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set isOpen(t){const a=this._isOpen;this._isOpen=t,this.requestUpdate("disabled",a)}set size(t){const a=this._size;t==="md"||t==="sm"?this._size=t:this._size="lg",this.requestUpdate("size",a)}set dropdownPosition(t){const a=this._dropdownPosition;this._dropdownPosition=t,this.requestUpdate("dropdownPosition",a)}set hasMenu(t){const a=this._hasMenu;this._hasMenu=t,this.requestUpdate("hasMenu",a)}_dispatchMainClick(){const t={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onClick",t))}_dispatchIconClick(){this._hasMenu&&this._toggleMenu();const t={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onSecondaryClick",t))}_toggleMenu(){this._isOpen=!this._isOpen,this.requestUpdate()}_handleDocumentClick(t){this._clickedOutsideItem(this,t)}_clickedOutsideItem(t,a){a.composedPath().includes(t)||this._isOpen&&(this._isOpen=!1,this.requestUpdate())}render(){return splitButtonTemplate(this)}}__decorateClass$t([n$1({type:String})],SplitButton.prototype,"iconClose");__decorateClass$t([n$1({type:String})],SplitButton.prototype,"iconOpen");__decorateClass$t([n$1({type:String})],SplitButton.prototype,"type");__decorateClass$t([n$1({type:String})],SplitButton.prototype,"text");__decorateClass$t([n$1(booleanType)],SplitButton.prototype,"disabled");__decorateClass$t([n$1(booleanType)],SplitButton.prototype,"isOpen");__decorateClass$t([n$1({type:String})],SplitButton.prototype,"size");__decorateClass$t([n$1({type:String})],SplitButton.prototype,"dropdownPosition");__decorateClass$t([n$1(booleanType)],SplitButton.prototype,"hasMenu");const styles$6=':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--font-icons);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--font-icons);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';var __defProp$s=Object.defineProperty,__getOwnPropDesc$r=Object.getOwnPropertyDescriptor,__decorateClass$s=(l,t,a,c)=>{for(var d=__getOwnPropDesc$r(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$s(t,a,d),d};class Stepper extends r$1{constructor(){super(...arguments),this._steps=[],this._currentStep=1,this._column=!1,this._circular=!1,this._hideLabel=!1,this._size="md",this._activeBarWidth="0",this._isFirstUpdate=!0}static get styles(){return r$2(styles$6)}set steps(steps){const oldValue=this._steps;this._steps=steps,typeof steps=="string"&&(this._steps=eval(`(${steps})`)),this.requestUpdate("steps",oldValue)}set currentStep(l){const t=this._currentStep;this._currentStep=l,this.requestUpdate("currentStep",t)}set column(l){const t=this._column;this._column=l,this.requestUpdate("column",t)}set circular(l){const t=this._circular;this._circular=l,this.requestUpdate("circular",t)}set hideLabel(l){const t=this._hideLabel;this._hideLabel=l,this.requestUpdate("hideLabel",t)}set size(l){const t=this._size;this._size=l,this.requestUpdate("size",t)}async firstUpdated(){await this.updateComplete,this._setActiveBarWidth(),this._isFirstUpdate=!1,this.requestUpdate()}willUpdate(l){this._isFirstUpdate||(l.has("currentStep")||l.has("steps")||l.has("column"))&&(this._setActiveBarWidth(),this.requestUpdate())}_setActiveBarWidth(){var d;const l=this._steps.length,t=(d=this.shadowRoot)==null?void 0:d.querySelector(".dss-stepper"),a=t==null?void 0:t.getBoundingClientRect(),c=this._column?a==null?void 0:a.height:a==null?void 0:a.width;if(c){const h=Math.floor(c/(l-1));this._activeBarWidth=`${h}px`}}_onStepClick(l,t){if(!(l.state==="disabled")){const c={detail:{step:l,stepNumber:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onStepClick",c))}}render(){var c,d;const l=(c=this._steps)==null?void 0:c.length,t=Math.round(this._currentStep/l*100),a={"dss-stepper--vertical":this._column,"dss-stepper--sm":this._size==="sm","dss-stepper--md":this._size==="md"};return x` - ${this._circular?x` -
    -
    - - - - - - ${this._currentStep}/${l} - -
    - - ${this._steps[this._currentStep-1].label} - -
    - `:x` - -
      - ${(d=this._steps)==null?void 0:d.map((h,p)=>{const b=p+1,g=m=>{m.key==="Enter"&&this._onStepClick(h,b)},f=h.state==="disabled",$={"dss-bubble--active":b===this._currentStep,"dss-bubble--completed":bthis._onStepClick(h,b)} - @keydown=${g} - > - ${h.label} - - `})} -
    - `} - `}}__decorateClass$s([n$1({type:[]})],Stepper.prototype,"steps");__decorateClass$s([n$1({type:Number})],Stepper.prototype,"currentStep");__decorateClass$s([n$1(booleanType)],Stepper.prototype,"column");__decorateClass$s([n$1(booleanType)],Stepper.prototype,"circular");__decorateClass$s([n$1(booleanType)],Stepper.prototype,"hideLabel");__decorateClass$s([n$1({type:String})],Stepper.prototype,"size");const radioStyles='.dss-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);margin:0;color:var(--color-primary-500);width:20px;height:20px;border:var(--dss-border-width-sm) solid var(--color-primary-500);border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-radio:before{content:"";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:.3s transform ease-in-out;box-shadow:inset 1rem 1rem var(--color-primary-500);background-color:var(--color-white)}.dss-radio:checked{border:var(--dss-border-width-sm) solid var(--color-primary-500)}.dss-radio:checked:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-500)}.dss-radio:checked:hover{border:var(--dss-border-width-sm) solid var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:hover:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:disabled{cursor:not-allowed}.dss-radio:checked:disabled:before{box-shadow:inset 1rem 1rem var(--color-neutral-400)}.dss-radio:hover{border:var(--dss-border-width-sm) solid var(--color-neutral-600);transition:.3s all linear}.dss-radio:disabled{cursor:not-allowed;border:var(--dss-border-width-sm) solid var(--color-neutral-400)}.dss-radio:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}',styles$5=":host{display:block;width:100%}.dss-table-header{padding:var(--dss-spacing-md) 0}.dss-table-header-title{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);margin-bottom:var(--dss-spacing-md)}.dss-table-header-title__text{color:var(--color-neutral-900);font-weight:var(--font-bold);font-size:20px}.dss-table-header-title__action{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;color:var(--color-primary-700);cursor:pointer;border-radius:var(--dss-radius-xs);font-weight:var(--font-semibold)}.dss-table-header-title__action:hover{color:var(--color-primary-600)}.dss-table-header-title__action:active{color:var(--color-primary-400)}.dss-table-header-title__action:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-table-header-filters{display:flex;justify-content:space-between;align-items:center}.dss-table-header-filters__filters{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-md);width:70%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__filters{width:80%}.filters-label{font-size:14px;font-weight:var(--font-bold);color:var(--color-neutral-600)}.filters-list{display:flex;flex-wrap:wrap;max-width:60%;gap:var(--dss-spacing-xs)}.filters-list-empty{font-size:14px;color:var(--color-neutral-600)}.filters-clean{padding-left:var(--dss-spacing-md);border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-table-header-filters__actions{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-md);width:30%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__actions{width:20%}::slotted(div.dss-table-filters){width:100%;display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}";var __defProp$r=Object.defineProperty,__getOwnPropDesc$q=Object.getOwnPropertyDescriptor,__decorateClass$r=(l,t,a,c)=>{for(var d=__getOwnPropDesc$q(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$r(t,a,d),d};class TableHeader extends r$1{constructor(){super(...arguments),this._filters=[],this._headerTitle="",this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._rowsOnCollapsed=5,this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._openFiltersLabel="Filtres",this._noFiltersLabel="No hi ha filtres seleccionats",this._hideHeaderTitleAndExpand=!1}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(checkboxStyles),r$2(radioStyles),r$2(styles$5),r$2(badgeStates)]}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set headerTitle(t){const a=this._headerTitle;this._headerTitle=t,this.requestUpdate("headerTitle",a)}set hideHeaderTitleAndExpand(t){const a=this._hideHeaderTitleAndExpand;this._hideHeaderTitleAndExpand=t,this.requestUpdate("hideHeaderTitleAndExpand",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set rowsOnCollapsed(t){const a=this._rowsOnCollapsed;this._rowsOnCollapsed=t,this.requestUpdate("rowsOnCollapsed",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set noFiltersLabel(t){const a=this._noFiltersLabel;this._noFiltersLabel=t,this.requestUpdate("noFiltersLabel",a)}_generateFilterChips(){let t;return this._filters&&(t=this._filters.map(a=>{const c=p=>{const b=p.target.getAttribute("term");typeof a=="string"?this._filters=this._filters.filter(g=>g!==b):this._filters=this._filters.filter(g=>g.value.trim()!==(b==null?void 0:b.trim())),this._emitChangeFilters(),this.requestUpdate()};return x` - - ${typeof a==="string"?x` - ${a} - - `:x` - ${a.icon} - ${a.value} - - `} - - `})),t}_clearFilters(){this._filters=[],this._emitChangeFilters(),this.requestUpdate()}_emitExpandAction(){this._expandTable=!this._expandTable;const t={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpand",t)),this.requestUpdate()}_emitOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenFilters",t)),this.requestUpdate()}_emitChangeFilters(){const t={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeFilters",t)),this.requestUpdate()}render(){return x` -
    - ${this._hideHeaderTitleAndExpand?null:x` -
    -
    - ${this._headerTitle} -
    -
    - ${this._expandTable?x` - fullscreen_exit - ${this._collapseLabel} - `:x` - fullscreen - ${this._expandLabel} - `} -
    -
    - `} - ${this._innerFilters?x` -
    -
    - -
    -
    -
    - `:x` -
    -
    -
    ${this._filtersLabel}:
    -
    - ${this._filters.length>0?x` ${this._generateFilterChips()} `:x` - - ${this._noFiltersLabel} - - `} -
    -
    - ${this._filters.length>0?x` - - `:null} -
    -
    - -
    - -
    -
    - `} -
    - `}}__decorateClass$r([n$1({type:Array})],TableHeader.prototype,"filters");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"headerTitle");__decorateClass$r([n$1(booleanType)],TableHeader.prototype,"hideHeaderTitleAndExpand");__decorateClass$r([n$1(booleanType)],TableHeader.prototype,"innerFilters");__decorateClass$r([n$1(booleanType)],TableHeader.prototype,"expandTable");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"expandLabel");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"collapseLabel");__decorateClass$r([n$1({type:Number})],TableHeader.prototype,"rowsOnCollapsed");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"filtersLabel");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"cleanFiltersLabel");__decorateClass$r([n$1({type:String})],TableHeader.prototype,"noFiltersLabel");const styles$4=":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;border-top:2px solid var(--color-neutral-700)}.pagination__container{display:flex;align-items:center;padding:.5rem .75rem;gap:1rem}.pagination__results{font-weight:600;font-size:.875rem;line-height:1.5rem;color:#0073e6}.pagination__divider{height:1rem;border-left:1px solid rgb(216,216,216)}.pagination__text{font-weight:400;font-size:12px;line-height:1rem;color:#656565}.pagination__button{color:#0073e6;font-size:1.5rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--font-icons);width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__row-page{display:flex;align-items:center;gap:1rem}.pagination__buttons{display:flex;align-items:center}.pagination__select{background:#eff7ff;border-radius:4px;position:relative}.pagination__select select{border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:7px 32px 7px 12px;color:#00356a;font-weight:400;font-size:12px;line-height:1rem;position:inherit;z-index:1;font-family:var(--font-family)}.pagination__select select:active,.pagination__select select:focus-visible{outline:none}.pagination__arrow-down{position:absolute;height:100%;display:flex;align-items:center;top:0;right:12px;color:#00356a}.pagination-select-options:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}";var __defProp$q=Object.defineProperty,__getOwnPropDesc$p=Object.getOwnPropertyDescriptor,__decorateClass$q=(l,t,a,c)=>{for(var d=__getOwnPropDesc$p(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$q(t,a,d),d};class TablePagination extends r$1{constructor(){super(...arguments),this._length=0,this._pageSizeOptions=[],this._pageSize=10,this._totalPages=0,this._currentIndex=1,this._startIndex=1,this._endIndex=this._pageSize,this._rowsPerPageText="Files per pàgina",this._resultsText="Resultats",this._pageSizeOptionsDisabled=!1,this._hidePaginationResults=!1}static get styles(){return[r$2(iconStyles),r$2(styles$4)]}set length(t){const a=this._length;this._length=t,this.requestUpdate("length",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set pageSizeOptionsDisabled(t){const a=this._pageSizeOptionsDisabled;this._pageSizeOptionsDisabled=t,this.requestUpdate("pageSizeOptionsDisabled",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set rowsPerPageText(t){const a=this._rowsPerPageText;this._rowsPerPageText=t,this.requestUpdate("rowsPerPageText",a)}set resultsText(t){const a=this._resultsText;this._resultsText=t,this.requestUpdate("resultsText",a)}set hidePaginationResults(t){const a=this._hidePaginationResults;this._hidePaginationResults=t,this.requestUpdate("hidePaginationResults",a)}_next(){this._currentIndex++,this._startIndex+=this._pageSize,this._endIndex+=this._pageSize,this._currentIndex===this._totalPages&&(this._endIndex=this._length),this._emitCurrentPage(),this.requestUpdate()}_prev(){const t=Math.abs(this._startIndex-this._endIndex)+1;this._startIndex-=this._pageSize,this._endIndex-=this._currentIndex===this._totalPages?t:this._pageSize,this._currentIndex--,this._emitCurrentPage(),this.requestUpdate()}_handleChange(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelector("#pagination-select");this._pageSize=Number(t.value),this._reload(this._startIndex),this._emitCurrentPage(),this.requestUpdate()}_emitCurrentPage(){this.dispatchEvent(new CustomEvent("onChangePage",{detail:{currentIndex:this._currentIndex,startIndex:this._startIndex,endIndex:this._endIndex,pageSize:this._pageSize},bubbles:!0,composed:!0}))}_reload(t){this._currentIndex=Math.ceil(t/this._pageSize),this._reset(!0)}_reset(t){this._totalPages=Math.ceil(this._length/this._pageSize),t||(this._currentIndex<1?this._currentIndex=1:this._currentIndex>this._totalPages&&(this._currentIndex=this._totalPages)),this._startIndex=(this._currentIndex-1)*this._pageSize+1,this._endIndex=this._startIndex-1+this._pageSize,this._endIndex>this._length&&(this._endIndex=this._length)}_getDefaultPageSize(){var a;const t=this._pageSizeOptions.includes(this._pageSize);return(a=this._pageSizeOptions)!=null&&a.length?t?this._pageSize:this._pageSizeOptions[0]:this._pageSize}_printStartIndex(){return this._startIndex<=0||this._length<=0?"0":this._startIndex.toString()}async firstUpdated(){try{await this.updateComplete,this._pageSize=this._getDefaultPageSize(),this._reset(),this._emitCurrentPage(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("length"),c=t.has("pageSize"),d=t.has("pageSizeOptions");(a||c||d)&&(this._pageSize=this._getDefaultPageSize(),this._reset(),this.requestUpdate())}render(){var t;return x` -
    - ${this._hidePaginationResults?null:x` - ${this._length} ${this._resultsText} -
    - `} - ${(t=this._pageSizeOptions)!=null&&t.length?x` -
    - ${this._rowsPerPageText} -
    - - - keyboard_arrow_down - -
    -
    - - ${this._printStartIndex()}-${this._endIndex.toString()} de - ${this._length} - -
    - - -
    - `:x` - - - ${this._printStartIndex()} - ${this._endIndex.toString()} de - ${this._length.toString()} - - - `} -
    - `}}__decorateClass$q([n$1({type:Number})],TablePagination.prototype,"length");__decorateClass$q([n$1({type:Number})],TablePagination.prototype,"pageSize");__decorateClass$q([n$1({type:Array})],TablePagination.prototype,"pageSizeOptions");__decorateClass$q([n$1(booleanType)],TablePagination.prototype,"pageSizeOptionsDisabled");__decorateClass$q([n$1({type:String})],TablePagination.prototype,"currentIndex");__decorateClass$q([n$1({type:String})],TablePagination.prototype,"rowsPerPageText");__decorateClass$q([n$1({type:String})],TablePagination.prototype,"resultsText");__decorateClass$q([n$1(booleanType)],TablePagination.prototype,"hidePaginationResults");const tabsListStyles=':host{width:100%;height:-moz-fit-content;height:fit-content}:not(:defined){display:none}.dss-tabs{width:100%;height:-moz-fit-content;height:fit-content}.dss-tabs-header{display:flex;align-items:center;position:relative;width:100%;overflow:hidden}.dss-tabs-scroll-button{all:unset;cursor:pointer;display:none;position:absolute;top:0;bottom:0;padding:0 var(--dss-spacing-sm);z-index:900}.dss-tabs-scroll-button:before{content:"";display:block;position:absolute;top:0;bottom:2px;width:220px;z-index:-1;pointer-events:none}.dss-tabs-scroll-button--prev{left:0;padding-right:var(--dss-spacing-lg)}.dss-tabs-scroll-button.dss-tabs-scroll-button--prev:before{left:0;background:linear-gradient(to right,white,transparent)}.dss-tabs-scroll-button--next{right:0;padding-left:var(--dss-spacing-lg)}.dss-tabs-scroll-button.dss-tabs-scroll-button--next:before{right:0;background:linear-gradient(to left,white,transparent)}.dss-tabs-menu{box-sizing:border-box;min-height:48px;min-width:100%;display:flex;overflow-x:auto;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-tabs-menu::-webkit-scrollbar{display:none}.dss-tabs-item{position:relative;white-space:nowrap;box-sizing:border-box;min-height:48px;display:flex;align-items:center;font-family:var(--font-family);font-size:14px;font-weight:600;line-height:24px;background-color:transparent;border:0;cursor:pointer;padding:var(--dss-spacing-sm);transition:color .3s ease-in-out}.dss-tabs-item:focus-visible{outline:var(--color-primary-200) solid var(--dss-border-width-lg);border-radius:var(--dss-radius-xs)}.dss-tabs-item:not(.dss-tabs-item--selected):not(:disabled):hover{color:var(--color-primary-600)}.dss-tabs-item:active{color:var(--color-primary-700)}.dss-tabs-item:disabled{color:var(--color-neutral-500);cursor:not-allowed}.dss-tabs-item:before{position:absolute;content:"";display:block;width:100%;height:var(--dss-border-width-md);background-color:transparent;left:0;bottom:-1px;transition:background-color .3s ease-in-out;border-radius:var(--dss-border-width-md)}.dss-tabs-item.dss-tabs-item--selected:before{background-color:var(--color-primary-500)}.dss-tabs-button{margin:0}::slotted(dss-icon-badge),::slotted(dss-notification-badge),::slotted(dss-badge){display:inline;margin-right:var(--dss-spacing-xs)!important}',tabsListTemplate=l=>x` -
    -
    - - -
    - ${l._tabs.map(t=>x` - - `)} - ${l._addTabEnabled?x` -
    - -
    - `:null} -
    - - -
    - -
    - -
    -
    -`;var __defProp$p=Object.defineProperty,__getOwnPropDesc$o=Object.getOwnPropertyDescriptor,__decorateClass$p=(l,t,a,c)=>{for(var d=__getOwnPropDesc$o(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$p(t,a,d),d};class TabsList extends r$1{constructor(){super(),this._dssTabsId="",this._label="Tabs component name",this._tabs=[],this._tabsElements=window.document.querySelectorAll("[role='tab']"),this._firstTab=document.createElement("div"),this._lastTab=document.createElement("div"),this._addTabEnabled=!1,this._addTabText="Afegir Tab",this._handleUpdateArrowsBound=this._updateArrows.bind(this)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(tabsListStyles)]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._handleUpdateArrowsBound)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._menu)==null||t.removeEventListener("scroll",this._handleUpdateArrowsBound),window.removeEventListener("resize",this._handleUpdateArrowsBound)}set dssTabsId(t){const a=this._dssTabsId;this._dssTabsId=t,this.requestUpdate("dssTabsId",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("selectedTab",a)}set tabs(t){const a=this._tabs;this._tabs=t,this.requestUpdate("tabs",a)}set addTabText(t){const a=this._addTabText;this._addTabText=t,this.requestUpdate("addTabText",a)}set addTabEnabled(t){const a=this._addTabEnabled;this._addTabEnabled=t,this.requestUpdate("addTabEnabled",a)}get _header(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-header"))||void 0}get _menu(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-menu"))||void 0}get _prevScroll(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-scroll-button--prev"))||void 0}get _nextScroll(){var t;return((t=this.shadowRoot)==null?void 0:t.querySelector(".dss-tabs-scroll-button--next"))||void 0}updated(t){t.has("tabs")&&this.changeTabWatch()}async changeTabWatch(){this._tabsElements=this.renderRoot.querySelectorAll("[role='tab']"),this._tabsElements.forEach(t=>{t.addEventListener("keydown",a=>{this._handleKeydown(a)}),t.addEventListener("click",a=>{this.setSelectedTab(a.currentTarget)})}),this.setFirstAndLastTabs()}setFirstAndLastTabs(){let t=!1;this._tabsElements.forEach(a=>{t||(this._firstTab=a,t=!0),this._lastTab=a})}changeTab(t){const a={detail:{selectedPanel:t},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeDssTab",a)),this.updatePanels(t)}updatePanels(t){window.document.querySelectorAll("dss-tabs-panel").forEach(c=>{const d=c.getAttribute("panelId");c.getAttribute("linkedTo")===this._dssTabsId&&(d===t?c.setAttribute("selected","true"):c.removeAttribute("selected"))})}_handleKeydown(t){const a=t,c=t.currentTarget;let d=!1;switch(a.key){case"ArrowLeft":this.moveFocusToPreviousTab(c),d=!0;break;case"ArrowRight":this.moveFocusToNextTab(c),d=!0;break;case"Home":this.moveFocusToTab(this._firstTab),d=!0;break;case"End":this.moveFocusToTab(this._lastTab),d=!0;break}d&&(t.stopPropagation(),t.preventDefault())}moveFocusToTab(t){t&&t.focus()}moveFocusToPreviousTab(t){let a=0;t===this._firstTab?this.moveFocusToTab(this._lastTab):(this._tabsElements.forEach((c,d)=>{c===t&&(a=d)}),this.moveFocusToTab(this._tabsElements[a-1]))}moveFocusToNextTab(t){let a=0;t===this._lastTab?this.moveFocusToTab(this._firstTab):(this._tabsElements.forEach((c,d)=>{c===t&&(a=d)}),this.moveFocusToTab(this._tabsElements[a+1]))}setSelectedTab(t){for(let a=0;a0?"block":"none",this._nextScroll.style.display=t{const t={selected:l._selected,"is-hidden":!l._selected,"has-scroll":l._hasScroll};return x` -
    - -
    - `};var __defProp$o=Object.defineProperty,__getOwnPropDesc$n=Object.getOwnPropertyDescriptor,__decorateClass$o=(l,t,a,c)=>{for(var d=__getOwnPropDesc$n(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$o(t,a,d),d};class TabsPanel extends r$1{constructor(){super(...arguments),this._panelId="",this._label="",this._linkedTo="",this._selected=!1,this._hasScroll=!1}static get styles(){return r$2(tabsPanelStyles)}set panelId(t){const a=this._panelId;this._panelId=t,this.requestUpdate("panelId",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set linkedTo(t){const a=this._linkedTo;this._linkedTo=t,this.requestUpdate("linkedTo",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set hasScroll(t){const a=this._hasScroll;this._hasScroll=t,this.requestUpdate("hasScroll",a)}render(){return tabsPanelTemplate(this)}}__decorateClass$o([n$1({type:String})],TabsPanel.prototype,"panelId");__decorateClass$o([n$1({type:String})],TabsPanel.prototype,"label");__decorateClass$o([n$1({type:String})],TabsPanel.prototype,"linkedTo");__decorateClass$o([n$1(booleanType)],TabsPanel.prototype,"selected");__decorateClass$o([n$1(booleanType)],TabsPanel.prototype,"hasScroll");const styles$3='::slotted(label){font-style:normal;font-weight:400;font-size:14px;line-height:24px;cursor:text;position:absolute;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;width:calc(100% - 24px)}::slotted(textarea){resize:vertical;outline:none;border:0;font-size:14px;line-height:24px;font-style:normal;color:#1d1d1d;width:100%;text-overflow:ellipsis;font-family:var(--font-family)}::slotted(textarea)::-moz-placeholder{color:#9f9f9f}::slotted(textarea)::placeholder{color:#9f9f9f}.dss-textarea{display:flex;flex-direction:column;color:#656565}.dss-textarea--disabled{opacity:.6}.dss-textarea--disabled .dss-textarea__group:after{background:#f5f5f5}.dss-textarea--gap{gap:4px}.dss-textarea__content{display:flex;align-items:flex-start;flex:1}.dss-textarea--disabled .dss-textarea__group,.dss-textarea--disabled ::slotted(textarea){background-color:#f5f5f5;cursor:not-allowed}.dss-textarea--disabled ::slotted(label),.dss-textarea--disabled ::slotted(textarea){cursor:not-allowed}.dss-textarea__group{position:relative;background:#fff;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:8px;padding:12px;display:flex;gap:8px;min-height:24px}.dss-textarea__group:after{pointer-events:none;content:"height";font-family:var(--font-icons);font-size:0px;position:absolute;height:0px;width:0px;text-align:center;bottom:4px;right:3px;z-index:2;border-radius:8px;background:transparent}.dss-textarea__group--required ::slotted(label):before{content:"*"}.dss-textarea__group:focus-visible,.dss-textarea__group--focused-visible,.dss-textarea--invalid .dss-textarea__group:focus-visible{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200);box-shadow:none;background-color:#fff}.dss-textarea__group--readOnly{border-top:0;border-left:0;border-right:0;border-radius:0}.dss-textarea--invalid .dss-textarea__group:focus-visible ::slotted(textarea){background-color:#fff}.dss-textarea__group--focused{padding:4px 12px}.dss-textarea__group--focused .dss-textarea__content ::slotted(label){font-size:12px;line-height:16px;transition:.3s;top:4px}.dss-textarea__group--focused .dss-textarea__content ::slotted(textarea){margin-top:16px!important}.dss-textarea--invalid ::slotted(textarea){background-color:#fff6f6;color:#1d1d1d}.dss-textarea--invalid ::slotted(textarea)::-moz-placeholder{color:#d36262}.dss-textarea--invalid ::slotted(textarea)::placeholder{color:#d36262}.dss-textarea--invalid .dss-textarea__group{box-shadow:inset 0 0 0 1px #b60000}.dss-textarea--invalid .dss-textarea__group,.dss-textarea--invalid .dss-textarea__group:after{background-color:#fff6f6;color:#b60000}.dss-textarea__help{font-style:normal;font-weight:400;font-size:12px;line-height:16px;display:flex;padding:0 12px;gap:8px}.dss-textarea__help .dss-textarea__description{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-textarea--invalid .dss-textarea__help,.dss-textarea--invalid .dss-textarea__help:after{color:#b60000}',template$4=l=>{var c,d,h,p,b,g,f;const t={"dss-textarea--invalid":l._showError,"dss-textarea--disabled":(c=l._textarea)==null?void 0:c.disabled,"dss-textarea--gap":l._maxLength||!!l._description},a={"dss-textarea__group--focused":((d=l._textarea)==null?void 0:d.value)||l._isTextareaFocused||((h=l._textarea)==null?void 0:h.placeholder),"dss-textarea__group--focused-visible":l._isGroupFocusedVisible,"dss-textarea__group--required":(p=l._textarea)==null?void 0:p.required,"dss-textarea__group--readOnly":(b=l._textarea)==null?void 0:b.readOnly};return u` -
    -
    -
    - - -
    -
    -
    -
    - -
    - ${l._maxLength?u`${(f=(g=l._textarea)==null?void 0:g.value)==null?void 0:f.length}/${l._maxLength}`:null} -
    -
    - `};var __defProp$n=Object.defineProperty,__getOwnPropDesc$m=Object.getOwnPropertyDescriptor,__decorateClass$n=(l,t,a,c)=>{for(var d=__getOwnPropDesc$m(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$n(t,a,d),d};class Textarea extends r$1{constructor(){super(...arguments),this._maxLength=0,this._isTextareaFocused=!1,this._isGroupFocusedVisible=!1,this._showError=!1}static get styles(){return r$2(styles$3)}set value(t){t!==void 0&&this.requestUpdate()}set showError(t){const a=this._showError;this._showError=t,this.requestUpdate("showError",a)}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _textarea(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="textarea"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}get _description(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="description"]'))||void 0;return t==null?void 0:t.assignedElements()[0]}async firstUpdated(){try{await this.updateComplete;const{maxLength:t}=this._textarea;this._maxLength=t>0?t:0,this._addEventListeners(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_addEventListeners(){this._textarea.addEventListener("input",this._handleInput.bind(this)),this._textarea.addEventListener("focus",this._handleFocus.bind(this)),this._textarea.addEventListener("focusout",this._handleFocusOut.bind(this)),this._textarea.addEventListener("blur",this._handleBlur.bind(this)),this._label.addEventListener("click",this._handelLabelClick.bind(this)),this._textarea.addEventListener("keyup",this._handleKeyup.bind(this))}_handleInput(){this.requestUpdate()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&this._handleFocus()}_handleFocus(){this._isGroupFocusedVisible=!0,this._isTextareaFocused=!0,this.requestUpdate()}_handleFocusOut(){this._handleBlur(),this._isGroupFocusedVisible=!1,this._isTextareaFocused=!1,this.requestUpdate()}_handleBlur(){this._isTextareaFocused=!1,this.requestUpdate()}_handelLabelClick(){this._textarea.focus(),this.requestUpdate()}_handleSlotChange(){this.requestUpdate()}render(){return template$4(this)}}__decorateClass$n([n$1({type:String})],Textarea.prototype,"value");__decorateClass$n([n$1(booleanType)],Textarea.prototype,"showError");const styles$2=":host{display:block;height:-moz-fit-content;height:fit-content;min-width:240px;width:100%}.dss-tile{box-sizing:border-box;height:104px;width:100%;overflow:hidden;background-color:var(--color-white);border-radius:var(--dss-radius-md);padding:var(--dss-spacing-md);display:flex;align-items:center;justify-content:flex-start;gap:var(--dss-spacing-md);border:var(--dss-border-width-sm) solid var(--color-neutral-100);transition:background-color .3s ease-in}.dss-tile-logo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:48px;width:48px;height:48px;margin:0;padding:0;overflow:hidden;border-radius:var(--dss-radius-xs)}.dss-tile-logo__image{width:100%;max-width:100%;margin:0;padding:0}.dss-tile-content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:var(--dss-spacing-md);flex:1 1 100%;min-width:0}.dss-tile-content .dss-tile-content__text{overflow:hidden}.dss-tile-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;max-height:24px;line-height:24px;font-size:14px;font-weight:var(--font-semibold);color:var(--color-neutral-900);margin:0;overflow:hidden}.dss-tile--disabled .dss-tile-title{color:var(--color-neutral-600)}.dss-tile-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:48px;line-height:24px;font-size:14px;color:var(--color-neutral-600);margin:0}.dss-tile--button:not(.dss-tile--disabled){cursor:pointer;border-color:var(--color-primary-600)}.dss-tile--selected:not(.dss-tile--disabled),.dss-tile--button:not(.dss-tile--disabled):hover,.dss-tile--selector:not(.dss-tile--disabled):hover{border:var(--dss-border-width-md) solid var(--color-primary-500)}.dss-tile--button:not(.dss-tile--disabled):active,.dss-tile--selector:not(.dss-tile--disabled):active{background-color:var(--color-primary-50)}.dss-tile--button:not(.dss-tile--disabled):focus-visible,.dss-tile--selector:not(.dss-tile--disabled):focus-visible{border-color:transparent;outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-tile--disabled{cursor:not-allowed;background-color:var(--color-neutral-50)}.dss-tile--disabled .dss-tile__title{color:var(--color-neutral-500)}::slotted(.dss-tile-action-group){display:flex;justify-content:center;align-items:center;gap:var(--dss-spacing-md)}.dss-tile--height-auto{height:auto}.dss-tile--widget{margin-top:var(--dss-spacing-xs)}",template$3=l=>{const t={"dss-tile--button":l._type==="button","dss-tile--selector":l._type==="selector","dss-tile--selected":l._type==="selector"&&l._selected,"dss-tile--action":l._type==="action","dss-tile--disabled":l._disabled,"dss-tile--height-auto":l._heightAuto,"dss-tile--widget":l._widget},a=()=>{const p={"dss-decorative-icon--disabled":l._disabled};return u` -
    - ${l._icon} -
    - `},c=()=>u` - - `,d=()=>u` -
    -
    -

    ${l._tileTitle}

    -

    ${l._description}

    -
    - ${l._type==="action"?u` `:null} -
    - `;let h=u``;return l._type==="button"||l._type==="selector"?h=u` -
    - ${l._icon&&!l._hasLogo?a():null} - ${l._hasLogo?c():null} - ${d()} -
    - `:h=u` -
    - ${l._icon&&!l._hasLogo?a():null} - ${l._hasLogo?c():null} - ${d()} -
    - `,h};var __defProp$m=Object.defineProperty,__getOwnPropDesc$l=Object.getOwnPropertyDescriptor,__decorateClass$m=(l,t,a,c)=>{for(var d=__getOwnPropDesc$l(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$m(t,a,d),d};class Tile extends r$1{constructor(){super(...arguments),this._type="default",this._icon="",this._tileTitle="",this._description="Lorem ipsum.",this._selected=!1,this._disabled=!1,this._hasLogo=!1,this._logoURL="",this._heightAuto=!1,this._widget=!1}static get styles(){return[r$2(iconStyles),r$2(decorativeIconStyles),r$2(styles$2)]}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set tileTitle(t){const a=this._tileTitle;this._tileTitle=t,this.requestUpdate("tileTitle",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasLogo(t){const a=this._hasLogo;this._hasLogo=t,this.requestUpdate("hasLogo",a)}set logoURL(t){const a=this._logoURL;this._logoURL=t,this.requestUpdate("logoURL",a)}set heightAuto(t){const a=this._heightAuto;this._heightAuto=t,this.requestUpdate("heightAuto",a)}set widget(t){const a=this._widget;this._widget=t,this.requestUpdate("widget",a)}_onClick(){this._type==="selector"&&(this._selected=!this._selected,this.requestUpdate());const t={detail:{title:this._tileTitle},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onTileClick",t))}render(){return template$3(this)}}__decorateClass$m([n$1({type:String})],Tile.prototype,"type");__decorateClass$m([n$1({type:String})],Tile.prototype,"icon");__decorateClass$m([n$1({type:String})],Tile.prototype,"tileTitle");__decorateClass$m([n$1({type:String})],Tile.prototype,"description");__decorateClass$m([n$1(booleanType)],Tile.prototype,"selected");__decorateClass$m([n$1(booleanType)],Tile.prototype,"disabled");__decorateClass$m([n$1(booleanType)],Tile.prototype,"hasLogo");__decorateClass$m([n$1({type:String})],Tile.prototype,"logoURL");__decorateClass$m([n$1({type:Boolean})],Tile.prototype,"heightAuto");__decorateClass$m([n$1({type:Boolean})],Tile.prototype,"widget");const styles$1=".dss-timepicker{position:relative}.dss-timepicker-help{font-family:var(--font-family)}.dss-timepicker-help{font-family:inherit;font-size:12px;color:var(--color-neutral-700);padding:var(--dss-spacing-xxs) var(--dss-spacing-sm)}.dss-timepicker-help--disabled{color:var(--color-neutral-500)}.dss-timepicker-help--invalid{color:var(--color-red-500)}.dss-timepicker-dropdown{display:none;margin-top:8px;position:absolute;top:52px;left:0;background-color:var(--color-white);width:100%;border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;z-index:900;overflow:hidden}.dss-input-group--dropdown input{min-width:289px}.dss-timepicker-dropdown--manual{min-width:289px;left:50%;transform:translate(-50%)}.dss-timepicker-dropdown--open{display:block}.dss-timepicker-dropdown--md{top:44px}.dss-timepicker-dropdown--lg{top:52px}.dss-timepicker-dropdown__container{overflow:auto;min-height:70px;max-height:280px;width:100%}.dss-timepicker-dropdown__option{cursor:pointer;position:relative;width:100%}.dss-timepicker-dropdown__label{width:100%;height:40px;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--dss-spacing-xs) var(--dss-spacing-sm);font-size:14px;color:var(--color-neutral-900);cursor:pointer;background-color:var(--color-white)}.dss-timepicker-dropdown__label:hover{background-color:var(--color-primary-600);color:var(--color-white)}.dss-timepicker-dropdown__label:active{background-color:var(--color-primary-400);color:var(--color-white);transition:background-color .3s}.option--busy .dss-timepicker-dropdown__label{background-color:var(--color-red-50)}.option--busy .dss-timepicker-dropdown__label:hover{background-color:var(--color-red-600)}.option--busy .dss-timepicker-dropdown__label:active{background-color:var(--color-red-400)}.option--busy .dss-timepicker-dropdown__label .dss-timepicker-dropdown__icon{color:var(--color-neutral-900)}.dss-timepicker-dropdown__label:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-timepicker-dropdown__label:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}.dss-timepicker-dropdown__input-radio{display:none}.dss-timepicker-dropdown__input-radio:checked+.dss-timepicker-dropdown__icon{display:block}.dss-timepicker-dropdown__icon{display:none;color:var(--color-primary-500)}.dss-timepicker-dropdown__label:hover .dss-timepicker-dropdown__icon{color:var(--color-white)}.dss-timepicker-dropdown__label:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-primary-200);border-radius:var(--dss-radius-xs);outline:none}.dss-timepicker-dropdown__manual{height:calc(220px - var(--dss-spacing-xs) - var(--dss-spacing-xs));display:flex;justify-content:center;gap:var(--dss-spacing-xs);overflow:hidden;padding:var(--dss-spacing-xs) 0}.dss-timepicker-dropdown__items{box-sizing:border-box;height:100%;width:55px;overflow-y:auto;scrollbar-width:none}.dss-timepicker-dropdown__items:hover{scrollbar-width:thin}.dss-timepicker-dropdown__actions{display:flex;justify-content:center;align-items:center;height:64px;gap:17px;border-top:var(--dss-border-width-sm) solid var(--color-neutral-200)}.dss-timepicker-manual-item__label{display:flex;justify-content:center;align-items:center;height:40px;width:40px;font-weight:var(--font-semibold);font-size:16px;color:var(--color-neutral-900);border-radius:var(--dss-radius-xs);background-color:var(--color-white);cursor:pointer}.dss-timepicker-manual-item__label:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-primary-200);border-radius:var(--dss-radius-xs);outline:none}.dss-timepicker-manual-item__label:hover{color:var(--color-white);background-color:var(--color-primary-600)}.dss-timepicker-manual-item__label:active{color:var(--color-white);background-color:var(--color-primary-400);transition:background-color .3s}.dss-timepicker-manual-item__input-radio{display:none}.dss-timepicker-manual-item__input-radio:checked+.dss-timepicker-manual-item__label{color:var(--color-white);background-color:var(--color-primary-500)}",template$2=l=>{var d;const t={"dss-input-group--focused":((d=l._input)==null?void 0:d.value)||l._placeholder,"dss-input-group--lg":l._inputSize==="lg","dss-input-group--md":l._inputSize==="md","dss-input-group--dropdown":l._dropdown==="manual","dss-input-group--invalid":l._invalid||!l._inputValidity,"dss-input-group--required":l._required,"dss-input-group--disabled":l._disabled,"dss-input-group--read-only":l._readonly,"dss-input-group--no-label":!l._label},a={"dss-timepicker-help--invalid":l._invalid||!l._inputValidity,"dss-timepicker-help--disabled":l._disabled},c={"dss-timepicker-dropdown--open":l._showDropdown,"dss-timepicker-dropdown--lg":l._inputSize==="lg","dss-timepicker-dropdown--md":l._inputSize==="md"};return u` -
    - ${l._dropdown===""?u` -
    - ${l._icon} - - - -
    - `:u` -
    - ${l._icon} - - - -
    - `} - ${l._helpText?u` -
    - ${l._helpText} -
    - `:null} - ${l._dropdown&&l._dropdown==="list"?u` -
    -
    - ${u`${l._generateTimeListOptionsHTML(l._timeListOptions,l._customTimeListOptions)}`} -
    -
    - `:null} - ${l._dropdown&&l._dropdown==="manual"?u` -
    -
    -
    - ${l._generateTimeManualOptionsHTML("timepickerManualHour",l._timeManualHourOptions)} -
    -
    - ${l._generateTimeManualOptionsHTML("timepickerManualMinutes",l._timeManualMinutesOptions)} -
    -
    -
    - - -
    -
    - `:null} -
    -
    - `};var __defProp$l=Object.defineProperty,__getOwnPropDesc$k=Object.getOwnPropertyDescriptor,__decorateClass$l=(l,t,a,c)=>{for(var d=__getOwnPropDesc$k(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$l(t,a,d),d};class Timepicker extends r$1{constructor(){super(...arguments),this._value="",this._placeholder="",this._inputSize="lg",this._dropdown="",this._required=!1,this._disabled=!1,this._readonly=!1,this._invalid=!1,this._showDropdown=!1,this._helpText="",this._oldHelpText="",this._errorTimeFormatText="Format d'hora no vàlid",this._errorTimeOptionText="Opció de temps no disponible",this._manualHourSelector="",this._manualMinuteSelector="",this._minutesRange=1,this._minHour=0,this._maxHour=24,this._timeListOptions=[],this._customTimeListOptions=[],this._timeManualHourOptions=[],this._timeManualMinutesOptions=[],this._icon="schedule",this._inputValidity=!0,this._isFirstUpdated=!0,this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback),this._timePattern=/^\d{0,4}$/g,this._timeSeparator=":",this._timeInputOldValue=""}static get styles(){return[r$2(iconStyles),r$2(inputStyles),r$2(scrollbarStyles),r$2(buttonStyles),r$2(styles$1)]}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}get _label(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="label"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}set value(t){const a=this._value;this._value=t,this._input&&(this._input.value=t),this.requestUpdate("value",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}set inputSize(t){const a=this._inputSize;t==="md"?this._inputSize=t:this._inputSize="lg",this.requestUpdate("inputSize",a)}set helpText(t){const a=this._helpText;this._helpText=t,this._oldHelpText=t,this.requestUpdate("helpText",a)}set errorTimeFormatText(t){const a=this._errorTimeFormatText;this._errorTimeFormatText=t,this.requestUpdate("errorTimeFormatText",a)}set errorTimeOptionText(t){const a=this._errorTimeOptionText;this._errorTimeOptionText=t,this.requestUpdate("errorTimeOptionText",a)}set dropdown(t){const a=this._dropdown;this._dropdown=t,this.requestUpdate("dropdown",a)}set showDropdown(t){const a=this._showDropdown;this._showDropdown=t,this.requestUpdate("showDropdown",a)}set minutesRange(t){const a=this._minutesRange;this._minutesRange=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("minutesRange",a)}set minHour(t){const a=this._minHour;this._minHour=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("minHour",a)}set maxHour(t){const a=this._maxHour;this._maxHour=t,this._isFirstUpdated||this._updateTimeOptions(),this.requestUpdate("maxHour",a)}set customTimeListOptions(t){const a=this._customTimeListOptions;this._customTimeListOptions=t,this.requestUpdate("customTimeListOptions",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}disconnectedCallback(){this.observer.disconnect()}async firstUpdated(){try{await this.updateComplete,this._closeDropdown(),this._input&&(this._checkInputAttributes(),this.observer.observe(this._input,this.observerConfig)),this._updateTimeOptions(),this._isFirstUpdated=!1,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_updateTimeOptions(){this._dropdown&&(this._timeListOptions=this._generateTimeListOptions(),this._timeManualHourOptions=this._generateTimeManualHoursOptions(),this._timeManualMinutesOptions=this._generateTimeManualMinutesOptions())}_checkInputAttributes(){var p,b,g,f,$,v,m;const t=(p=this._input)==null?void 0:p.getAttribute("placeholder");t&&(this._placeholder=t),((b=this._input)==null?void 0:b.getAttribute("readonly"))!==null&&(this._readonly=!0),((g=this._input)==null?void 0:g.getAttribute("disabled"))!==null&&(this._disabled=!0),((f=this._input)==null?void 0:f.getAttribute("required"))!==null&&(this._required=!0);const h=($=this._input)==null?void 0:$.getAttribute("value");h!==null&&(this._value=h),(v=this._input)!=null&&v.value&&((m=this._input)==null?void 0:m.value)!==""&&this._handleValidity(),this.requestUpdate()}_handleValidity(){var a;const t=(a=this._input)==null?void 0:a.checkValidity();t!==void 0&&(this._inputValidity=t)}_closeDropdown(){document.addEventListener("click",t=>{t.composedPath().includes(this)||this._showDropdown&&(this._showDropdown=!1,this.requestUpdate())}),this.addEventListener("focusout",t=>{const a=t.relatedTarget;a!==null&&a!==this&&a!==this._input&&a!==this._label&&(this._showDropdown&&(this._showDropdown=!1),this.requestUpdate())})}_timeMask(t,a,c){const d=[];for(let h=0;h=0&&+a<=23&&+c>=0&&+c<=59?(this._invalid=!1,this._helpText=this._oldHelpText,this._dropdown&&this._dropdown==="list"&&!this._timeListOptions.includes(this._input.value)?(this._helpText=this._errorTimeOptionText,this._invalid=!0):this._dropdown&&this._dropdown==="manual"&&(!this._timeManualHourOptions.includes(a)||!this._timeManualMinutesOptions.includes(c))?(this._helpText=this._errorTimeOptionText,this._invalid=!0):this._showDropdown=!1):(this._helpText=this._errorTimeFormatText,this._invalid=!0),this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){if(this._input){const t={detail:{value:this._input.value,status:this._invalid?"INVALID":"VALID"},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onTimepickerChange",t))}}_handleClick(){if(this._showDropdown=!0,this._value&&(this._dropdown&&this._dropdown==="list"&&this._timeListOptionsScrollTo(),this._dropdown&&this._dropdown==="manual")){const t=this._value.slice(0,2);this._timeManualOptionsScrollTo(t),setTimeout(()=>{this._timeManualOptionsScrollTo()},500)}this.requestUpdate()}_handleInput(){if(this._input){let t=this._input.value;t=this._timeUnmask(t),t.match(this._timePattern)?(t=this._timeMask(t,2,this._timeSeparator),this._input.value=t):this._input.value=this._timeInputOldValue,this._input.value.length===5&&(this._timeValidate(this._input.value),this._handleValidity()),this._dropdown&&this._dropdown==="list"&&this._timeListOptionsScrollTo(),this._dropdown&&this._dropdown==="manual"&&this._timeManualOptionsScrollTo()}}_handleKeyDown(t){this._input&&(this._timeInputOldValue=this._input.value,(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showDropdown=!0,this.requestUpdate()):(t==null?void 0:t.key)==="Escape"&&(this._showDropdown=!1,this.requestUpdate()))}_handleFocus(){this._placeholder="00:00",this._input&&this._input.setAttribute("placeholder",this._placeholder),this.requestUpdate()}_handleBlur(){this._placeholder="",this._input&&this._input.removeAttribute("placeholder"),this.requestUpdate()}_focusInput(){var t;(t=this._input)==null||t.focus(),this._handleClick()}_generateTimeListOptions(){const t=[];for(let a=this._minHour;a0;return(d?a:t).map(b=>{const g=w=>{w&&w.focus()},f=w=>{let _=0;const C=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__label"),S=C.length-1;w===C[0]?g(C[S]):(C.forEach((T,D)=>{T===w&&(_=D)}),g(C[_-1]))},$=w=>{let _=0;const C=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__label"),S=C.length-1;w===C[S]?g(C[0]):(C.forEach((T,D)=>{T===w&&(_=D)}),g(C[_+1]))},v=w=>{if(this._input){const _=w.target.getAttribute("value");_&&(this._input.value=_,this._helpText=this._oldHelpText,this._invalid=!1,this._showDropdown=!1,this._handleValidity(),this.requestUpdate(),this._dispatchValueChange())}},m=w=>{const _=w.currentTarget,C=w;let S=!1;switch(C.key){case"ArrowUp":f(_),S=!0;break;case"ArrowDown":$(_),S=!0;break;case"Enter":const T=w.target.querySelector("input"),D=this.renderRoot.querySelector('.dss-timepicker-dropdown__label[tabindex="0"]');D==null||D.setAttribute("tabindex","-1"),w.target.setAttribute("tabindex","0"),T==null||T.click(),S=!0;break}S&&(w.stopPropagation(),w.preventDefault())},y={"option--busy":typeof b=="object"&&b.state==="ocupat"},k=x` -
    - -
    - `;return c=!1,k})}_generateTimeManualHoursOptions(){const t=[];for(let a=this._minHour;a{const p=f=>{const $=f.target.getAttribute("value");$&&(t==="timepickerManualHour"?this._manualHourSelector=$:t==="timepickerManualMinutes"&&(this._manualMinuteSelector=$),this.requestUpdate())},b=f=>{const $=f.currentTarget,v=f;let m=!1;const y=_=>{_&&_.focus()},k=_=>{let C=0;const S=this.renderRoot.querySelectorAll(`.dss-timepicker-manual-item__label.${t}`),T=S.length-1;_===S[0]?y(S[T]):(S.forEach((D,q)=>{D===_&&(C=q)}),y(S[C-1]))},w=_=>{let C=0;const S=this.renderRoot.querySelectorAll(`.dss-timepicker-manual-item__label.${t}`),T=S.length-1;_===S[T]?y(S[0]):(S.forEach((D,q)=>{D===_&&(C=q)}),y(S[C+1]))};switch(v.key){case"ArrowUp":k($),m=!0;break;case"ArrowDown":w($),m=!0;break;case"Enter":const _=f.target.parentElement,C=_==null?void 0:_.querySelector("input"),S=this.renderRoot.querySelector(`.dss-timepicker-manual-item__label[tabindex="0"].${t}`);if(S==null||S.setAttribute("tabindex","-1"),f.target.setAttribute("tabindex","0"),C==null||C.click(),t==="timepickerManualHour"){const T=this.renderRoot.querySelector('.dss-timepicker-manual-item__label[tabindex="0"].timepickerManualMinutes');y(T)}else if(t==="timepickerManualMinutes"){const T=this.renderRoot.querySelector(".dss-timepicker-dropdown__actions-select");setTimeout(()=>{T.focus()},0)}m=!0;break}m&&(f.stopPropagation(),f.preventDefault())},g=x` -
    - - -
    - `;return c=!1,g})}_checkDisableTimeManualSelector(){return this._manualHourSelector===""||this._manualMinuteSelector===""}_timeManualSelectorCancel(){const t=this.renderRoot.querySelectorAll(".dss-timepicker-manual-item__input-radio:checked");t.length&&t.forEach(a=>{a.checked=!1}),this._manualHourSelector="",this._manualMinuteSelector="",this._showDropdown=!1,this._handleValidity(),this.requestUpdate()}_timeManualSelectorAccept(){this._input&&(this._input.value=`${this._manualHourSelector}:${this._manualMinuteSelector}`,this._helpText=this._oldHelpText,this._invalid=!1,this._showDropdown=!1,this._handleValidity(),this.requestUpdate(),this._dispatchValueChange())}_timeListOptionsScrollTo(){if(this._input){const t=this._input.value.trim(),a=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__input-radio");let c=!1;a.forEach(d=>{const h=d.value;if(!c&&h.startsWith(t)){const p=d.closest("label");c=!0,p&&(setTimeout(()=>{p.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},0),h===t&&(d.checked=!0))}})}}_timeManualOptionsScrollTo(t){if(this._input){const a=t?t.trim():this._input.value.trim();if(a.length<=2){const c=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__items--hour .dss-timepicker-manual-item__label");let d=!1;c.forEach(h=>{const p=h.innerHTML.replace(//g,"").trim();!d&&p.startsWith(a)&&(d=!0,setTimeout(()=>{h.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},0),p===a&&h.click())})}else{const c=a.slice(3),d=this.renderRoot.querySelectorAll(".dss-timepicker-dropdown__items--minute .dss-timepicker-manual-item__label");let h=!1;d.forEach(p=>{const b=p.innerHTML.replace(//g,"").trim();!h&&b.startsWith(c)&&(h=!0,p.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),b===c&&p.click())})}}}render(){return template$2(this)}}__decorateClass$l([n$1({type:String,attribute:!0})],Timepicker.prototype,"value");__decorateClass$l([n$1(booleanType)],Timepicker.prototype,"invalid");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"inputSize");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"helpText");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"errorTimeFormatText");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"errorTimeOptionText");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"dropdown");__decorateClass$l([n$1(booleanType)],Timepicker.prototype,"showDropdown");__decorateClass$l([n$1({type:Number})],Timepicker.prototype,"minutesRange");__decorateClass$l([n$1({type:Number})],Timepicker.prototype,"minHour");__decorateClass$l([n$1({type:Number})],Timepicker.prototype,"maxHour");__decorateClass$l([n$1({type:Array})],Timepicker.prototype,"customTimeListOptions");__decorateClass$l([n$1({type:String})],Timepicker.prototype,"icon");const styles=':host{opacity:0;visibility:hidden}:host(.visible){opacity:1;visibility:visible}.dss-tooltip{max-width:264px}.dss-tooltip-box{position:relative;box-sizing:border-box;width:-moz-max-content;width:max-content;max-width:264px;height:-moz-fit-content;height:fit-content;padding:var(--dss-spacing-xs) var(--dss-spacing-md);background-color:var(--color-neutral-800);border-radius:var(--dss-radius-sm);box-shadow:0 4px 8px 3px #0000000d,0 1px 3px #0000001a;font-size:14px;color:var(--color-white)}.dss-tooltip--align-left{text-align:left}.dss-tooltip--align-right{text-align:right}.dss-tooltip--align-center{text-align:center}.dss-tooltip--align-justify{text-align:justify}.dss-tooltip-box[data-popper-placement=top]:before{content:"";position:absolute;display:block;width:0px;left:50%;bottom:0;border:8px solid transparent;border-bottom:0;border-top:8px solid var(--color-neutral-800);transform:translate(-50%,100%)}.dss-tooltip-box[data-popper-placement=bottom]:before{content:"";position:absolute;display:block;width:0px;left:50%;top:0;border:8px solid transparent;border-top:0;border-bottom:8px solid var(--color-neutral-800);transform:translate(-50%,-100%)}.dss-tooltip-box[data-popper-placement=left]:before{content:"";position:absolute;display:block;width:0px;right:0;top:50%;border:8px solid transparent;border-right:0;border-left:8px solid var(--color-neutral-800);transform:translate(100%,-50%)}.dss-tooltip-box[data-popper-placement=right]:before{content:"";position:absolute;display:block;width:0px;left:0;top:50%;border:8px solid transparent;border-left:0;border-right:8px solid var(--color-neutral-800);transform:translate(-100%,-50%)}.dss-tooltip--no-height-limit .dss-tooltip-container{max-height:-moz-max-content;max-height:max-content}.dss-tooltip--hidden{display:none}',template$1=l=>{const t={"dss-tooltip":!0,[`dss-tooltip--${l.position}`]:!!l.position,[`dss-tooltip--align-${l.align}`]:!!l.align,"dss-tooltip--hidden":l.hide,"dss-tooltip--no-height-limit":l.noHeightLimit};return u` -
    -
    -
    - -
    -
    -
    - `};var __defProp$k=Object.defineProperty,__decorateClass$k=(l,t,a,c)=>{for(var d=void 0,h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$k(t,a,d),d};class Tooltip extends r$1{constructor(){super(...arguments),this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)if(a.type==="attributes"&&a.attributeName==="data-popper-placement"){const c=this.getAttribute("data-popper-placement");c&&this._propagatePlacement(c)}},this.observer=new MutationObserver(this.callback),this.position="top",this.align="left",this.hide=!1,this.noHeightLimit=!1,this._popperInstance=null}static get styles(){return[r$2(iconStyles),r$2(styles)]}connectedCallback(){super.connectedCallback();const t=this.parentElement;t&&this.createPopperInstance(t)}disconnectedCallback(){this.observer.disconnect(),this._popperInstance&&(this._popperInstance.destroy(),this._popperInstance=null)}async firstUpdated(){try{await this.updateComplete,this.observer.observe(this,this.observerConfig)}catch{console.error("ERROR OCURRED")}}updated(t){super.updated(t),t.has("position")&&this._popperInstance&&this._popperInstance.setOptions({placement:this.position})}createPopperInstance(t){this._popperInstance=createPopper(t,this,{placement:this.position,modifiers:[{name:"arrow",options:{element:this.querySelector(".dss-tooltip-arrow")}},{name:"offset",options:{offset:[0,12]}}],onFirstUpdate:a=>{this._propagatePlacement(a.placement)}}),t.addEventListener("mouseenter",()=>{this._popperInstance.update(),this.classList.add("visible")}),t.addEventListener("mouseleave",()=>{this.classList.remove("visible")})}_propagatePlacement(t){const a=this.renderRoot.querySelector(".dss-tooltip-box");a&&a.setAttribute("data-popper-placement",t)}updateTooltip(){this._popperInstance.update()}render(){return template$1(this)}}__decorateClass$k([n$1({type:String})],Tooltip.prototype,"position");__decorateClass$k([n$1({type:String})],Tooltip.prototype,"align");__decorateClass$k([n$1(booleanType)],Tooltip.prototype,"hide");__decorateClass$k([n$1(booleanType)],Tooltip.prototype,"noHeightLimit");const uploadBoxStyles=':host{display:grid;min-width:380px;width:100%;gap:var(--dss-spacing-xs)}.upload-box{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-md);border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-md);border:var(--dss-border-width-sm) dashed var(--color-neutral-100);transition:all .25s ease-in-out}.upload-box.dragover{background-color:var(--color-primary-50);border-color:var(--color-prim-salut)}::slotted(input),input[type=file]{display:none}.dss-decorative-icon{transition:all .25s ease-in-out}.upload-box-cta{flex:1;display:grid;gap:var(--dss-spacing-xs)}.upload-box-cta__message{font-size:16px;line-height:24px;color:var(--color-neutral-900)}.upload-box-cta__message .action{color:var(--color-primary-500);font-weight:var(--font-semibold);cursor:pointer}.upload-box-cta__requirements,.upload-box-message{font-size:12px;line-height:16px;color:var(--color-neutral-600)}.upload-box-message{padding:0 var(--dss-spacing-sm)}.upload-box-files .file-list{display:grid;gap:var(--dss-spacing-xs)}.upload-box--has-files .upload-box-files .file-list{width:100%}.upload-box-files .file{display:flex;min-height:40px;box-sizing:border-box;gap:var(--dss-spacing-sm);justify-content:space-between;align-items:center;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm) solid var(--color-neutral-100);padding:0 var(--dss-spacing-sm);padding-top:0;padding-bottom:0;padding-left:var(--dss-spacing-xs);padding-right:var(--dss-spacing-sm);width:100%}.upload-box-files .file-actions{display:flex;gap:var(--dss-spacing-xs)}.upload-box-files .file-description{flex:1;padding-top:var(--dss-spacing-xs);padding-bottom:var(--dss-spacing-xs)}.upload-box-files .file-description__name{height:24px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:24px;color:var(--color-neutral-900)}.file-description__error{font-size:12px;line-height:16px;color:var(--color-red-500)}.upload-box-button{text-wrap:nowrap}.upload-box--md{display:flex;justify-content:space-between;padding:var(--dss-spacing-xs) var(--dss-spacing-sm);min-height:56px}.upload-box--md .upload-box-cta{display:flex;justify-content:flex-start;align-items:center;height:100%}.upload-box--md .upload-box-cta__message{font-size:14px}.upload-box--md .upload-box-button{margin-top:var(--dss-spacing-xxs)}.upload-box--error{background-color:var(--color-red-50);border-color:var(--color-red-500)}.upload-box--error .upload-box-cta__requirements,.upload-box-message--error{color:var(--color-red-500)}.upload-box--md .upload-box-files{padding:var(--dss-spacing-xxs) 0}.upload-box--md .upload-box-files .file-list{display:grid;gap:var(--dss-spacing-xs)}.upload-box--md.upload-box--has-files .upload-box-files .file-list{grid-template-columns:1fr}.upload-box--md .upload-box-files .file{display:flex;justify-content:flex-start;align-items:center}.upload-box--disabled{cursor:not-allowed;background-color:var(--color-neutral-50)}.upload-box--disabled .upload-box-cta__requirements,.upload-box--disabled .upload-box-message{color:var(--color-neutral-500)!important}.upload-box--disabled .upload-box-cta__message,.upload-box--disabled .upload-box-cta__message .action{color:var(--color-neutral-400)!important;cursor:not-allowed}.dot-flashing{display:inline-block;position:relative;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite linear alternate;animation-delay:.5s;margin-left:var(--dss-spacing-xs)}.dot-flashing:before,.dot-flashing:after{content:"";display:inline-block;position:absolute;top:0}.dot-flashing:before{left:-6px;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite alternate;animation-delay:0s}.dot-flashing:after{left:6px;width:4px;height:4px;border-radius:50%;background-color:var(--color-neutral-900);color:var(--color-neutral-900);animation:dot-flashing 1s infinite alternate;animation-delay:1s}@keyframes dot-flashing{0%{background-color:var(--color-neutral-900)}50%,to{background-color:var(--color-neutral-50)}}',template=l=>{const t={dragover:l._dragOver,"upload-box--disabled":l._disabled},a={"dss-decorative-icon--disabled":l._disabled};return u` - -
    -
    - ${l._dragAndDropIcon} -
    -
    -
    - ${l._fileExplorerMessage} - ${l._dragAndDropMessage} -
    -
    - ${l._filesFormatMessage} -
    -
    - -
    - - -
    -
      - ${l._files.map((c,d)=>u` -
    • - ${l._fileErrors[c.name]?u` -
      - error_outline -
      - `:c.status==="loading"?u` -
      - downloading -
      - `:u` -
      - check -
      - `} -
      -

      - ${c.name} - ${c.status==="loading"?u` `:u``} -

      - ${l._fileErrors[c.name]?u` -

      - ${l._fileErrors[c.name]} -

      - `:""} -
      -
      - ${c.status==="loading"?u` - - `:u` - ${c.status==="error"?u` - - `:u``} - - `} -
      -
    • - `)} -
    -
    - - `};var __defProp$j=Object.defineProperty,__getOwnPropDesc$j=Object.getOwnPropertyDescriptor,__decorateClass$j=(l,t,a,c)=>{for(var d=__getOwnPropDesc$j(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$j(t,a,d),d};class UploadBox extends r$1{constructor(){super(...arguments),this._dragOver=!1,this._files=[],this._disabled=!1,this._dragAndDropIcon="file_upload",this._fileExplorerMessage="Clica per pujar",this._dragAndDropMessage="o arrossega arxius aquí",this._filesFormatMessage="PDF, JPEG o PNG de menys de 5MB",this._buttonLabel="Buscar arxius",this._filesFormat=["pdf","jpeg","png"],this._fileFormatErrorMessage="Format d’arxiu incorrecte",this._fileSizeErrorMessage="Mida d’arxiu incorrecte",this._fileFormatAndSizeErrorMessage="Format i mida d’arxiu incorrecte",this._maxFileSize=5242880,this._fileErrors={},this.observerConfig={attributes:!0,childList:!0,subtree:!0},this.callback=t=>{for(const a of t)a.type==="attributes"&&(this._input&&this._checkInputAttributes(),this.requestUpdate())},this.observer=new MutationObserver(this.callback)}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(decorativeIconStyles),r$2(uploadBoxStyles)]}set dragAndDropIcon(t){const a=this._dragAndDropIcon;this._dragAndDropIcon=t,this.requestUpdate("dragAndDropIcon",a)}set dragAndDropMessage(t){const a=this._dragAndDropMessage;this._dragAndDropMessage=t,this.requestUpdate("dragAndDropMessage",a)}set fileExplorerMessage(t){const a=this._fileExplorerMessage;this._fileExplorerMessage=t,this.requestUpdate("fileExplorerMessage",a)}set filesFormatMessage(t){const a=this._filesFormatMessage;this._filesFormatMessage=t,this.requestUpdate("filesFormatMessage",a)}set buttonLabel(t){const a=this._buttonLabel;this._buttonLabel=t,this.requestUpdate("buttonLabel",a)}set filesFormat(t){const a=this._filesFormat;this._filesFormat=t,this.requestUpdate("filesFormat",a)}set maxFileSize(t){const a=this._maxFileSize;this._maxFileSize=t,this.requestUpdate("maxFileSize",a)}get _input(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector('slot[name="input"]'))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()[0]}disconnectedCallback(){this.observer.disconnect()}_checkInputAttributes(){var a;const t=(a=this._input)==null?void 0:a.getAttribute("disabled");this._disabled=t!==null,this.requestUpdate()}_onDragOver(t){t.preventDefault(),!this._dragOver&&!this._disabled&&(this._dragOver=!0,this.requestUpdate())}_onDragLeave(t){t.preventDefault(),this._dragOver&&!this._disabled&&(this._dragOver=!1,this.requestUpdate())}_onDrop(t){var a;if(t.preventDefault(),!this._disabled){this._dragOver&&(this._dragOver=!1,this.requestUpdate());const c=(a=t.dataTransfer)==null?void 0:a.files;c&&this._handleUploadedFiles(c)}}_onClick(){this._input&&!this._disabled&&this._input.click()}_onSlotInputChange(){this._input&&this._input.addEventListener("change",this._handleInputFileChange.bind(this))}_isValidFileFormat(t){var c;const a=(c=t.name.split(".").pop())==null?void 0:c.toLowerCase();return this._filesFormat.includes(a||"")}_isValidFileSize(t){return t.size<=this._maxFileSize}_validateFile(t){let a=!0,c="";return!this._isValidFileSize(t)&&!this._isValidFileFormat(t)?(a=!1,c=this._fileFormatAndSizeErrorMessage):this._isValidFileSize(t)&&!this._isValidFileFormat(t)?(a=!1,c=this._fileFormatErrorMessage):!this._isValidFileSize(t)&&this._isValidFileFormat(t)&&(a=!1,c=this._fileSizeErrorMessage),a||(this._fileErrors[t.name]=c),a}_isAlreadyUploaded(t){return this._files.some(a=>a.name===t.name)}_handleInputFileChange(t){const a=t.target;a.files&&this._handleUploadedFiles(a.files)}_handleUploadedFiles(t){if(t&&t.length>0){for(const a of Array.from(t))if(!this._isAlreadyUploaded(a)){const c=this._validateFile(a),d=a;d.status=c?"loading":"invalid",this._files.push(d),this.requestUpdate(),this._readFile(a,c)}}}_readFile(t,a){const c=new FileReader;c.onload=()=>{this._files.find(d=>d.name===t.name).status=a?"ready":"invalid",this.requestUpdate(),this._dispatchUploadFiles()},c.onerror=()=>{this._files.find(d=>d.name===t.name).status="error",c.error&&(this._fileErrors[t.name]=c.error.message),this.requestUpdate()},c.readAsDataURL(t)}_removeFile(t){this._files.splice(t,1),this._dispatchUploadFiles(),this._input&&(this._input.value=""),this.requestUpdate()}_reloadFile(t){this._files.find(a=>a.name===t.name).status="loading",this._fileErrors[t.name]="",this.requestUpdate(),this._readFile(t)}_dispatchUploadFiles(){const t={detail:this._files,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onUploadFiles",t))}async firstUpdated(){try{await this.updateComplete,this._input&&(this.observer.observe(this._input,this.observerConfig),this._checkInputAttributes(),this._onSlotInputChange())}catch{console.error("ERROR OCURRED")}}render(){return template(this)}}__decorateClass$j([n$1({type:String})],UploadBox.prototype,"dragAndDropIcon");__decorateClass$j([n$1({type:String})],UploadBox.prototype,"dragAndDropMessage");__decorateClass$j([n$1({type:String})],UploadBox.prototype,"fileExplorerMessage");__decorateClass$j([n$1({type:String})],UploadBox.prototype,"filesFormatMessage");__decorateClass$j([n$1({type:String})],UploadBox.prototype,"buttonLabel");__decorateClass$j([n$1({type:Array})],UploadBox.prototype,"filesFormat");__decorateClass$j([n$1({type:Number})],UploadBox.prototype,"maxFileSize");const userFeedbackStyles=":host{display:block;width:-moz-fit-content;width:fit-content}.dss-user-feedback{display:flex;align-items:center;flex-direction:column;gap:var(--dss-spacing-md);min-width:220px;width:-moz-fit-content;width:fit-content;max-width:100%;text-align:center}.dss-user-feedback__image{width:100%;max-width:220px;margin:auto;text-align:center}.dss-user-feedback__body{display:flex;flex-direction:column;gap:var(--dss-spacing-xxs);max-width:220px}.dss-user-feedback__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:20px;line-height:var(--line-30)}.dss-user-feedback__description{font-size:14px;line-height:var(--line-24)}.dss-user-feedback__button-group{display:flex;align-items:center;justify-content:center;gap:var(--dss-spacing-md)}.dss-user-feedback__details-action{text-align:center}.dss-user-feedback__details-button{all:unset;display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in;vertical-align:middle;cursor:pointer}.dss-user-feedback__details-button:hover{color:var(--color-primary-600)}.dss-user-feedback__details-button:active{color:var(--color-primary-400)}.dss-user-feedback__details-button:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-user-feedback__details-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-user-feedback__details-button-text{text-decoration:underline}.dss-user-feedback__details-content ::slotted(div){font-size:14px;line-height:var(--line-24)}",userFeedbackTemplate=l=>x` -
    - ${l._imageAlt} -
    -

    ${l._title}

    -

    ${l._description}

    - ${l._hasDetails?x` -
    - -
    - - ${l._detailsExpanded?x` -
    - -
    - `:null} - `:null} -
    - ${l._hideFooter?null:x` -
    - -
    - `} -
    -`;var __defProp$i=Object.defineProperty,__getOwnPropDesc$i=Object.getOwnPropertyDescriptor,__decorateClass$i=(l,t,a,c)=>{for(var d=__getOwnPropDesc$i(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$i(t,a,d),d};class UserFeedback extends r$1{constructor(){super(...arguments),this._imageSrc="",this._imageAlt="",this._title="Title",this._description="Lorem ipsum.",this._hasDetails=!1,this._detailsLabel="Veure detalls",this._detailsExpanded=!1,this._hideFooter=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(userFeedbackStyles)]}set imageSrc(t){const a=this._imageSrc;this._imageSrc=t,this.requestUpdate("imageSrc",a)}set imageAlt(t){const a=this._imageAlt;this._imageAlt=t,this.requestUpdate("imageAlt",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set hasDetails(t){const a=this._hasDetails;this._hasDetails=t,this.requestUpdate("hasDetails",a)}set detailsLabel(t){const a=this._detailsLabel;this._detailsLabel=t,this.requestUpdate("detailsLabel",a)}set hideFooter(t){const a=this._hideFooter;this._hideFooter=t,this.requestUpdate("hideFooter",a)}_handleDetailsClick(){this._detailsExpanded=!this._detailsExpanded,this.requestUpdate()}render(){return userFeedbackTemplate(this)}}__decorateClass$i([n$1({type:String})],UserFeedback.prototype,"imageSrc");__decorateClass$i([n$1({type:String})],UserFeedback.prototype,"imageAlt");__decorateClass$i([n$1({type:String})],UserFeedback.prototype,"title");__decorateClass$i([n$1({type:String})],UserFeedback.prototype,"description");__decorateClass$i([n$1(booleanType)],UserFeedback.prototype,"hasDetails");__decorateClass$i([n$1({type:String})],UserFeedback.prototype,"detailsLabel");__decorateClass$i([n$1(booleanType)],UserFeedback.prototype,"hideFooter");const cardStyles=i$1` - :host { - display: block; - width: 100%; - } - - .dss-card { - display: flex; - flex-direction: column; - gap: var(--dss-spacing-xs); - background-color: var(--color-white); - border: var(--dss-border-width-sm) solid var(--color-neutral-100); - border-radius: var(--dss-radius-lg); - padding: var(--dss-spacing-md); - transition: all 0.3s ease-in-out; - - &:hover:not(.dss-card--dragged):not(.dss-card--deleted):not( - .dss-card--disabled - ) { - /* background-color: var(--color-primary-100); */ - border-color: var(--color-primary-500); - } - - &:active:not(.dss-card--dragged):not(.dss-card--deleted):not( - .dss-card--disabled - ) { - background-color: var(--color-primary-50); - } - - &:focus-visible { - border-color: var(--color-blue-200); - outline: var(--dss-border-width-lg) solid var(--color-blue-200); - } - } - - .dss-card--selected { - border-color: var(--color-primary-500); - border-width: var(--dss-border-width-md); - } - - .dss-card--dragged { - /* border-color: var(--color-primary-500); */ - border-color: transparent !important; - /* border-width: var(--dss-border-width-md); */ - box-shadow: 0px 4px 4px 0px #0000001a; - box-shadow: 0px 8px 12px 6px #0000000d; - } - - .dss-card--deleted { - border-color: var(--color-red-500); - border-width: var(--dss-border-width-md); - } - - .dss-card--disabled { - background-color: var(--color-neutral-50); - } - - .dss-card-top { - display: flex; - align-items: center; - gap: var(--dss-spacing-xs); - padding-bottom: var(--dss-spacing-sm); - border-bottom: var(--dss-border-width-sm) solid var(--color-neutral-50); - } - - .dss-card-top__details { - display: grid; - grid-template-columns: auto minmax(min-content, 1fr); - align-items: center; - gap: var(--dss-spacing-lg); - flex: 1; - } -`;var __defProp$h=Object.defineProperty,__getOwnPropDesc$h=Object.getOwnPropertyDescriptor,__decorateClass$h=(l,t,a,c)=>{for(var d=__getOwnPropDesc$h(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$h(t,a,d),d};class Card extends r$1{constructor(){super(...arguments),this._dragged=!1,this._deleted=!1,this._selected=!1,this._disabled=!1,this._hasClose=!1,this._hasDetails=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),cardStyles]}set selected(t){const a=this._selected;this._selected=t,this.requestUpdate("selected",a)}set dragged(t){const a=this._dragged;this._dragged=t,this.requestUpdate("dragged",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasClose(t){const a=this._hasClose;this._hasClose=t,this.requestUpdate("hasClose",a)}set hasDetails(t){const a=this._hasDetails;this._hasDetails=t,this.requestUpdate("hasDetails",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}_dispatchClose(){this.dispatchEvent(new CustomEvent("onClose",{bubbles:!0}))}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){const t={"dss-card--selected":this._selected,"dss-card--dragged":this._dragged,"dss-card--deleted":this._deleted,"dss-card--disabled":this._disabled};return x` -
    - ${this._hasClose||this._hasDetails?x` -
    -
    - - -
    - ${this._hasClose?x` -
    - -
    - `:x``} -
    - `:x``} - - - - - - - -
    - `}}__decorateClass$h([n$1(booleanType)],Card.prototype,"selected");__decorateClass$h([n$1(booleanType)],Card.prototype,"dragged");__decorateClass$h([n$1(booleanType)],Card.prototype,"deleted");__decorateClass$h([n$1(booleanType)],Card.prototype,"disabled");__decorateClass$h([n$1(booleanType)],Card.prototype,"hasClose");__decorateClass$h([n$1(booleanType)],Card.prototype,"hasDetails");var __defProp$g=Object.defineProperty,__getOwnPropDesc$g=Object.getOwnPropertyDescriptor,__decorateClass$g=(l,t,a,c)=>{for(var d=__getOwnPropDesc$g(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$g(t,a,d),d};class CardBody extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: flex; - flex-direction: column; - gap: var(--dss-spacing-xxs); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$g([n$1(booleanType)],CardBody.prototype,"deleted");__decorateClass$g([n$1(booleanType)],CardBody.prototype,"disabled");var __defProp$f=Object.defineProperty,__getOwnPropDesc$f=Object.getOwnPropertyDescriptor,__decorateClass$f=(l,t,a,c)=>{for(var d=__getOwnPropDesc$f(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$f(t,a,d),d};class CardDescription extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),i$1` - .dss-card-description { - font-size: 14px; - line-height: 24px; - color: var(--color-neutral-600); - } - - .dss-card-description.deleted { - color: var(--color-red-500); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - -

    - `}}__decorateClass$f([n$1(booleanType)],CardDescription.prototype,"deleted");__decorateClass$f([n$1(booleanType)],CardDescription.prototype,"disabled");var __defProp$e=Object.defineProperty,__getOwnPropDesc$e=Object.getOwnPropertyDescriptor,__decorateClass$e=(l,t,a,c)=>{for(var d=__getOwnPropDesc$e(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$e(t,a,d),d};class CardFooter extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return i$1` - :host { - display: flex; - justify-content: flex-end; - align-items: center; - width: 100%; - gap: var(--dss-spacing-sm); - padding-top: var(--dss-spacing-sm) !important; - border-top: var(--dss-border-width-sm) solid var(--color-neutral-50); - } - `}get _footerContent(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector("slot"))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){if(this._footerContent)for(const t of this._footerContent)this._disabled?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),this._deleted?t.classList.contains("dss-button--primary")&&(t.classList.remove("dss-button--primary"),t.classList.add("dss-button--error")):t.classList.contains("dss-button--error")&&(t.classList.add("dss-button--primary"),t.classList.remove("dss-button--error"))}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$e([n$1(booleanType)],CardFooter.prototype,"deleted");__decorateClass$e([n$1(booleanType)],CardFooter.prototype,"disabled");var __defProp$d=Object.defineProperty,__getOwnPropDesc$d=Object.getOwnPropertyDescriptor,__decorateClass$d=(l,t,a,c)=>{for(var d=__getOwnPropDesc$d(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$d(t,a,d),d};class CardForm extends r$1{constructor(){super(...arguments),this._disabled=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: var(--dss-spacing-xxs); - width: 100%; - } - - ::slotted(*) { - width: 100%; - } - `]}get _formContent(){var a;const t=((a=this.shadowRoot)==null?void 0:a.querySelector("slot"))||void 0;return this.requestUpdate(),t==null?void 0:t.assignedElements()}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){if(this._formContent)for(const t of this._formContent)t.querySelectorAll("input").forEach(c=>{this._disabled?c.setAttribute("disabled","true"):c.removeAttribute("disabled")})}updated(t){super.updated(t),t.has("disabled")&&this._propagateProperties()}render(){return x` `}}__decorateClass$d([n$1(booleanType)],CardForm.prototype,"disabled");var __defProp$c=Object.defineProperty,__getOwnPropDesc$c=Object.getOwnPropertyDescriptor,__decorateClass$c=(l,t,a,c)=>{for(var d=__getOwnPropDesc$c(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$c(t,a,d),d};class CardHeader extends r$1{constructor(){super(...arguments),this._flag=!1,this._hasMenu=!1,this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - .dss-card-header { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-lg); - width: 100%; - } - - .dss-card-header-title { - flex: 1; - } - - .dss-card-header-actions { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .dss-card-header-actions__flag { - color: var(--color-red-500); - } - `]}set flag(t){const a=this._flag;this._flag=t,this.requestUpdate("flag",a)}set hasMenu(t){const a=this._hasMenu;this._hasMenu=t,this.requestUpdate("hasMenu",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -
    -
    - -
    - ${this._flag||this._hasMenu?x` -
    - ${this._flag?x` flag`:""} - ${this._hasMenu?x` `:x``} -
    - `:x``} -
    - `}}__decorateClass$c([n$1(booleanType)],CardHeader.prototype,"flag");__decorateClass$c([n$1(booleanType)],CardHeader.prototype,"hasMenu");__decorateClass$c([n$1(booleanType)],CardHeader.prototype,"deleted");__decorateClass$c([n$1(booleanType)],CardHeader.prototype,"disabled");var __defProp$b=Object.defineProperty,__getOwnPropDesc$b=Object.getOwnPropertyDescriptor,__decorateClass$b=(l,t,a,c)=>{for(var d=__getOwnPropDesc$b(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$b(t,a,d),d};class CardHighlights extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return i$1` - :host { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(10px, 1fr)); - gap: var(--dss-spacing-sm); - } - `}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_propagateProperties(){var a;const t=(a=this.shadowRoot)==null?void 0:a.querySelectorAll("slot");t&&t.forEach(c=>{c.assignedElements().forEach(h=>{this._deleted?h.setAttribute("deleted","true"):h.removeAttribute("deleted"),this._disabled?h.setAttribute("disabled","true"):h.removeAttribute("disabled")})})}updated(t){super.updated(t),(t.has("deleted")||t.has("disabled"))&&this._propagateProperties()}render(){return x` `}}__decorateClass$b([n$1(booleanType)],CardHighlights.prototype,"deleted");__decorateClass$b([n$1(booleanType)],CardHighlights.prototype,"disabled");var __defProp$a=Object.defineProperty,__getOwnPropDesc$a=Object.getOwnPropertyDescriptor,__decorateClass$a=(l,t,a,c)=>{for(var d=__getOwnPropDesc$a(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$a(t,a,d),d};class CardHighlightsItem extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1,this._title="Title",this._icon="",this._text="Item"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - .dss-card-highligth { - width: 100%; - background-color: var(--color-blue-50); - padding: var(--dss-spacing-xxs) var(--dss-spacing-xs); - border-radius: var(--dss-radius-sm); - } - - .dss-card-highligth__title { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-blue-700); - } - - .dss-card-highligth__item { - display: flex; - align-items: center; - gap: var(--dss-spacing-xxs); - font-size: 14px; - line-height: 24px; - color: var(--color-blue-700); - } - - .dss-card-highligth.deleted { - background-color: var(--color-red-50); - } - - .dss-card-highligth.deleted .dss-card-highligth__title, - .dss-card-highligth.deleted .dss-card-highligth__item { - color: var(--color-red-700); - } - - .dss-card-highligth.disabled { - background-color: var(--color-neutral-50); - } - - .dss-card-highligth.disabled .dss-card-highligth__title, - .dss-card-highligth.disabled .dss-card-highligth__item { - color: var(--color-neutral-700); - } - `]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set title(t){const a=this._title;this._title=t,this.requestUpdate("title",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -
    -
    ${this._title}
    -

    - ${this._icon?x`${this._icon}`:""} - ${this._text} -

    -
    - `}}__decorateClass$a([n$1({type:String})],CardHighlightsItem.prototype,"icon");__decorateClass$a([n$1({type:String})],CardHighlightsItem.prototype,"title");__decorateClass$a([n$1({type:String})],CardHighlightsItem.prototype,"text");__decorateClass$a([n$1(booleanType)],CardHighlightsItem.prototype,"deleted");__decorateClass$a([n$1(booleanType)],CardHighlightsItem.prototype,"disabled");var __defProp$9=Object.defineProperty,__getOwnPropDesc$9=Object.getOwnPropertyDescriptor,__decorateClass$9=(l,t,a,c)=>{for(var d=__getOwnPropDesc$9(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$9(t,a,d),d};class CardImage extends r$1{constructor(){super(...arguments),this._source="",this._alt=""}static get styles(){return[i$1` - :host { - display: flex; - justify-content: center; - align-items: center; - max-height: 124px; - overflow: hidden; - border-radius: var(--dss-radius-sm); - } - - img { - width: 100%; - max-width: 100%; - height: 100%; - object-fit: cover; - object-position: center; - border-radius: var(--dss-radius-sm); - } - `]}set source(t){const a=this._source;this._source=t,this.requestUpdate("source",a)}set alt(t){const a=this._alt;this._alt=t,this.requestUpdate("alt",a)}render(){return x` ${this._alt} `}}__decorateClass$9([n$1({type:String})],CardImage.prototype,"source");__decorateClass$9([n$1({type:String})],CardImage.prototype,"alt");class CardInfo extends r$1{static get styles(){return i$1` - :host { - display: flex; - justify-content: flex-end; - align-items: center; - width: 100%; - gap: var(--dss-spacing-sm); - flex-wrap: wrap; - min-width: 150px; - } - `}render(){return x` `}}var __defProp$8=Object.defineProperty,__getOwnPropDesc$8=Object.getOwnPropertyDescriptor,__decorateClass$8=(l,t,a,c)=>{for(var d=__getOwnPropDesc$8(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$8(t,a,d),d};class CardInfoItem extends r$1{constructor(){super(...arguments),this._icon="add_box",this._text="Info",this._critic=!1}static get styles(){return[r$2(iconStyles),i$1` - :host { - display: inline-block; - } - - .info { - display: flex; - align-items: center; - gap: var(--dss-spacing-tiny); - font-size: 12px; - line-height: 16px; - font-weight: var(--font-regular); - } - - .info--critic { - color: var(--color-red-500); - } - `]}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set text(t){const a=this._text;this._text=t,this.requestUpdate("text",a)}set critic(t){const a=this._critic;this._critic=t,this.requestUpdate("text",a)}render(){const t={"info--critic":this._critic};return x` -
    - ${this._icon?x`${this._icon}`:""} - ${this._text} -
    - `}}__decorateClass$8([n$1({type:String})],CardInfoItem.prototype,"icon");__decorateClass$8([n$1({type:String})],CardInfoItem.prototype,"text");__decorateClass$8([n$1(booleanType)],CardInfoItem.prototype,"critic");var __defProp$7=Object.defineProperty,__getOwnPropDesc$7=Object.getOwnPropertyDescriptor,__decorateClass$7=(l,t,a,c)=>{for(var d=__getOwnPropDesc$7(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$7(t,a,d),d};class CardMenu extends r$1{constructor(){super(...arguments),this._position="right",this._disabled=!1,this._showMenu=!1}static get styles(){return[r$2(resetStyles),r$2(iconStyles),r$2(iconButtonStyles),i$1` - :host { - display: block; - } - - .dss-card-menu { - position: relative; - } - - .dss-card-menu-dropdown { - position: absolute; - top: 0; - z-index: 900; - } - - .dss-card-menu-dropdown--right { - left: calc(100% + var(--dss-spacing-sm)); - } - - .dss-card-menu-dropdown--left { - right: calc(100% + var(--dss-spacing-sm)); - } - - .dss-card-menu-dropdown.hidden { - display: none; - } - `]}set position(t){const a=this._position;this._position=t,this.requestUpdate("position",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}_clickedOutsideDropdown(t,a){a.composedPath().includes(t)||this._showMenu&&(this._showMenu=!1,this.requestUpdate())}_openMenu(){this._showMenu=!0,this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._disabled||document.addEventListener("click",t=>{this._clickedOutsideDropdown(this,t)}),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){const t={hidden:!this._showMenu,"dss-card-menu-dropdown--left":this._position==="left","dss-card-menu-dropdown--right":this._position!=="left"};return x` -
    - -
    - -
    -
    - `}}__decorateClass$7([n$1({type:String})],CardMenu.prototype,"position");__decorateClass$7([n$1(booleanType)],CardMenu.prototype,"disabled");var __defProp$6=Object.defineProperty,__getOwnPropDesc$6=Object.getOwnPropertyDescriptor,__decorateClass$6=(l,t,a,c)=>{for(var d=__getOwnPropDesc$6(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$6(t,a,d),d};class CardSubitle extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1,this._hasLink=!1,this._linkHref="#",this._hasIcon=!1,this._icon="add_box"}static get styles(){return[r$2(resetStyles),r$2(iconStyles),i$1` - :host { - width: 100%; - display: block; - } - .dss-card-subtitle { - display: flex; - align-items: center; - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-neutral-900); - gap: var(--dss-spacing-xxs); - } - - .dss-card-subtitle.deleted { - color: var(--color-red-500); - } - - .dss-card-subtitle__link { - color: var(--color-primary-500); - - &:visited { - color: var(--color-purple-700); - } - - &:hover { - color: var(--color-primary-600); - } - - &:active { - color: var(--color-primary-400); - } - - &:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - } - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set hasLink(t){const a=this._hasLink;this._hasLink=t,this.requestUpdate("hasLink",a)}set linkHref(t){const a=this._linkHref;this._linkHref=t,this.requestUpdate("linkHref",a)}set hasIcon(t){const a=this._hasIcon;this._hasIcon=t,this.requestUpdate("hasLhasIconink",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - ${this._hasIcon?x` ${this._icon} `:null} - ${this._hasLink?x` - - - - `:x` `} -

    - `}}__decorateClass$6([n$1(booleanType)],CardSubitle.prototype,"deleted");__decorateClass$6([n$1(booleanType)],CardSubitle.prototype,"disabled");__decorateClass$6([n$1(booleanType)],CardSubitle.prototype,"hasLink");__decorateClass$6([n$1({type:String})],CardSubitle.prototype,"linkHref");__decorateClass$6([n$1(booleanType)],CardSubitle.prototype,"hasIcon");__decorateClass$6([n$1({type:String})],CardSubitle.prototype,"icon");class CardTags extends r$1{static get styles(){return i$1` - :host { - display: flex; - align-items: center; - width: 100%; - gap: var(--dss-spacing-xxs); - flex-wrap: wrap; - min-width: 150px; - } - `}render(){return x` `}}var __defProp$5=Object.defineProperty,__getOwnPropDesc$5=Object.getOwnPropertyDescriptor,__decorateClass$5=(l,t,a,c)=>{for(var d=__getOwnPropDesc$5(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$5(t,a,d),d};class CardTitle extends r$1{constructor(){super(...arguments),this._deleted=!1,this._disabled=!1}static get styles(){return[r$2(resetStyles),i$1` - :host { - display: block; - } - .dss-card-title { - font-size: 18px; - line-height: 24px; - font-weight: var(--font-semibold); - color: var(--color-neutral-900); - } - - .dss-card-title.deleted { - color: var(--color-red-500); - } - `]}set deleted(t){const a=this._deleted;this._deleted=t,this.requestUpdate("deleted",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}render(){const t={deleted:this._deleted,disabled:this._disabled};return x` -

    - -

    - `}}__decorateClass$5([n$1(booleanType)],CardTitle.prototype,"deleted");__decorateClass$5([n$1(booleanType)],CardTitle.prototype,"disabled");var __defProp$4=Object.defineProperty,__getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$4=(l,t,a,c)=>{for(var d=__getOwnPropDesc$4(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$4(t,a,d),d};const V=class V extends r$1{constructor(){super(...arguments),this._value="",this._label="",this._placeHolder="",this._previousDate="",this._minDate="",this._maxDate="",this._showCalendar=!1,this._showTime=!1,this._invalid=!1,this._showButtons=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._leftLabel="Cancel·lar",this._rightLabel="Acceptar",this._isFocused=!1,this._internals=this.attachInternals()}static get styles(){return i$1` - :host { - display: flex; - width: fit-content; - height: fit-content; - position: relative; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - cursor: text; - position: absolute; - } - - input { - outline: none; - border: 0; - font-size: 14px; - line-height: 24px; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - position: relative; - width: 100%; - } - - .dss-input--disabled { - opacity: 0.6; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input--disabled label, - .dss-input--disabled input { - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 1px #d8d8d8; - border-radius: 8px; - padding: 12px; - display: flex; - gap: 8px; - } - - :host([small]) .dss-input__group { - padding: 8px 12px; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input__group--focused { - padding: 4px 12px; - } - - :host([small]) .dss-input__group--focused { - padding: 1px 12px; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 12px; - line-height: 16px; - transition: 0.3s; - top: 4px; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 2px; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 16px !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 14px !important; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 1px #b60000; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group input, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: #fff6f6; - color: #b60000; - } - - .dss-input--invalid .dss-input__group input { - color: #1d1d1d; - } - - .dss-input__group:focus-visible, - .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - background-color: #ffffff; - outline: none; - } - - .dss-input--invalid .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 24px; - } - - dss-calendar { - position: absolute; - top: 56px; - z-index: 900; - } - - :host([small]) dss-Calendar { - top: 48px; - } - `}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}set value(t){const a=this._value;this._value=t,this._input&&(this._input.value=t),this.requestUpdate("value",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set showTime(t){const a=this._showTime;this._showTime=t,this.requestUpdate("showTime",a)}set showButtons(t){const a=this._showButtons;this._showButtons=t,this.requestUpdate("showButtons",a)}set leftLabel(t){const a=this._leftLabel;this._leftLabel=t,this.requestUpdate("leftLabel",a)}set rightLabel(t){const a=this._rightLabel;this._rightLabel=t,this.requestUpdate("rightLabel",a)}set minDate(t){const a=this._minDate;this._minDate=t,this.requestUpdate("minDate",a)}set maxDate(t){const a=this._maxDate;this._maxDate=t,this.requestUpdate("maxDate",a)}set invalid(t){const a=this._invalid;this._invalid=t,this.requestUpdate("invalid",a)}get value(){let t="";return this._input?t=this._input.value:t=this._value,t}get form(){return this._internals.form}get name(){return this.getAttribute("name")}get type(){return this.localName}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}formResetCallback(){this._input.value="",this.requestUpdate()}async firstUpdated(){try{await this.updateComplete,this._value&&(this._input.value=this._value),this._closeDropdown(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_closeDropdown(){document.addEventListener("click",t=>{t.target!==this&&(this._showCalendar=!1,this._isFocused=!1,this.requestUpdate())}),document.addEventListener("focusout",t=>{t.target===this&&(this._showCalendar=!1,this._isFocused=!1,this.requestUpdate())})}_handleKeyUp(t){var a,c,d,h,p;if((t==null?void 0:t.key)==="Tab"?(this._isFocused=!0,this._handleBlur()):(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?(this._showCalendar=!0,this._handleBlur()):(t==null?void 0:t.key)==="Escape"&&(this._isFocused=!0,this._showCalendar=!1,this._handleBlur()),t.key==="Enter"&&((a=this._input.value)==null?void 0:a.length)>7){const b=(c=this._input.value)==null?void 0:c.replace(/(\d+[/])(\d+[/])/,"$2$1"),g=new Date(b),f=(d=g.getDate())==null?void 0:d.toString().padStart(2,"0"),$=(g.getMonth()+1).toString().padStart(2,"0"),v=g.getFullYear(),m=(h=g.getHours())==null?void 0:h.toString().padStart(2,"0"),y=(p=g.getMinutes())==null?void 0:p.toString().padStart(2,"0");let k=`${f}/${$}/${v}`;this._showTime&&(k+=` ${m}:${y}`),this._input.value=k,this._dispatchValueChange(),this.requestUpdate()}}_handleInput(t){var c;const a=(c=t.target.value)==null?void 0:c.replace(/\D/g,"");this._input.value=this._formatDate(a),this._dispatchValueChange(),this.requestUpdate()}_formatDate(t){let a=t.substring(0,2),c=t.substring(2,4);const d=t.substring(4,8);let h=t.substring(8,10),p=t.substring(10,12);Number(a)>3&&(a=a==null?void 0:a.padStart(2,"0")),Number(c)>1&&(c=c==null?void 0:c.padStart(2,"0")),Number(a)>31&&(a="31"),Number(c)>12&&(c="12"),c==="02"&&Number(a)>28&&(d==null?void 0:d.length)===4&&(a=new Date(Number(d),1,29).getMonth()===1?"29":"28");let b=`${a}${c?`/${c}`:""}${d?`/${d}`:""}`;return this._showTime&&(Number(h)>2&&(h=h==null?void 0:h.padStart(2,"0")),Number(h)>23&&(h="23"),Number(p)>5&&(p=p==null?void 0:p.padStart(2,"0")),b=`${b}${h?` ${h}`:""}${p?`:${p}`:""}`),b}_handleFocus(){this._readonly||(this._placeHolder=this._showTime?"DD/MM/YYYY HH:MM":"DD/MM/YYYY",this.requestUpdate())}_handleBlur(){this.requestUpdate()}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}_onDateChange(t){const a=t.detail;this._input.value=a,this._showCalendar=!1,this._dispatchValueChange(),this.requestUpdate()}_onCancel(){this._showCalendar=!1,this._input.value=this._previousDate||"",this.placeHolder="",this.requestUpdate()}_onclick(){var t,a;this._disabled||this._readonly||(this._showCalendar=!this._showCalendar,this._previousDate=this._input.value,this._showCalendar?(t=this._input)==null||t.focus():((a=this._input)==null||a.blur(),this._onCancel()),this.requestUpdate())}_dispatchValueChange(){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}render(){var c;const t={"dss-input--invalid":this._invalid,"dss-input--disabled":this._disabled},a={"dss-input__group--focused":((c=this._input)==null?void 0:c.value)||this._placeHolder||this._showCalendar||this._isFocused,"dss-input__group--required":this._required,"dss-input__group--active":this._showCalendar||this._isFocused};return x` -
    -
    - calendar_today -
    - - -
    -
    -
    - ${this._showCalendar?x` - - `:null} - `}};V.formAssociated=!0,V.shadowRootOptions={...r$1.shadowRootOptions,delegatesFocus:!0};let DatePicker=V;__decorateClass$4([n$1({type:String,attribute:!0})],DatePicker.prototype,"value");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"label");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"placeHolder");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"required");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"disabled");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"readonly");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"showTime");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"showButtons");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"leftLabel");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"rightLabel");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"minDate");__decorateClass$4([n$1({type:String})],DatePicker.prototype,"maxDate");__decorateClass$4([n$1(booleanType)],DatePicker.prototype,"invalid");var __defProp$3=Object.defineProperty,__getOwnPropDesc$3=Object.getOwnPropertyDescriptor,__decorateClass$3=(l,t,a,c)=>{for(var d=__getOwnPropDesc$3(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$3(t,a,d),d};class DropDownList extends r$1{constructor(){super(...arguments),this._elements=null,this._copyElements=null,this._tick=!0,this._type="default",this._style=null,this._boxStyle=null,this._inputStyle=null,this._selectedValue=null,this._multiple=!1,this._openWithSearch=!1,this._deselectable=!1,this._icon="search",this._label="",this._placeHolder="",this._showSelector=!1,this._required=!1,this._disabled=!1,this._readonly=!1,this._labelSelectAll="Seleccionar-ho tot",this._labelDeselectAll="Deseleccionar-ho tot",this._selectAll=!1,this._selectElements=0,this._isFocused=!1,this._isGroupFocusedVisible=!1}static get styles(){return i$1` - :host { - width: fit-content; - height: fit-content; - position: relative; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - cursor: text; - position: absolute; - } - - input { - outline: none; - border: 0; - font-size: 14px; - line-height: 24px; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - position: relative; - } - - .dss-input--disabled { - opacity: 0.4; - cursor: not-allowed; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - overflow: hidden; - position: relative; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input--disabled label, - .dss-input--disabled input { - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 1px #d8d8d8; - border-radius: 8px; - padding: 12px; - display: flex; - gap: 8px; - } - - :host([small]) .dss-input__group { - padding: 8px 12px; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input__group--focused { - padding: 4px 12px; - } - - :host([small]) .dss-input__group--focused { - padding: 1px 12px; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 12px; - line-height: 16px; - transition: 0.3s; - top: 4px; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 2px; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 16px !important; - font-family: var(--font-family); - padding-left: 0 !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 14px !important; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 1px #b60000; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group input, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: transparent; - color: #b60000; - } - - .dss-input--invalid .dss-input__group input { - color: #1d1d1d; - } - - .dss-input__group:focus-visible, - .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - background-color: #ffffff; - outline: none; - } - - .dss-input--invalid .dss-input__group--active { - box-shadow: 0 0 0 4px #8ec7e5; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 24px; - } - - .dss-selector { - position: absolute; - top: 50px; - z-index: 100; - display: contents; - } - - .dss-input__group--disabled .dss-icon-button { - pointer-events: none; - } - - :host([small]) dss-selector { - top: 40px; - } - - .dss-icon-button { - font-size: 1rem; - font-family: 'Material Symbols Rounded'; - align-items: center; - border: none; - cursor: pointer; - display: flex; - background-color: transparent; - color: #0073e6; - padding: 0; - height: fit-content; - margin: auto; - border-radius: 100%; - } - - .dss-icon-button span { - padding: 0.25rem; - background-color: transparent; - border-radius: 100%; - transition: all 0.3s ease-in; - } - - .dss-icon-button:hover:enabled span { - background-color: #bfddfa; - } - - .dss-icon-button:active:enabled span { - background-color: #eff7ff; - transition: none; - } - - .dss-icon-button:disabled { - cursor: not-allowed; - } - - .dss-input__group--readOnly .dss-icon-button { - pointer-events: none; - } - - .dss-input__group--disabled .dss-icon-button { - pointer-events: none; - } - - .dss-icon-button:focus-visible:enabled { - outline: none; - } - `}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}get _DSSinput(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(".dss-input")}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("label",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set elements(t){const a=this._elements;this._elements=t,this.requestUpdate("elements",a)}set multiple(t){const a=this._multiple;this._multiple=t,this.requestUpdate("multiple",a)}set openWithSearch(t){const a=this._openWithSearch;this._openWithSearch=t,this.requestUpdate("openWithSearch",a)}set tick(t){const a=this._tick;this._tick=t,this.requestUpdate("tick",a)}set deselectable(t){const a=this._deselectable;this._deselectable=t,this.requestUpdate("deselectable",a)}set selectedValue(t){const a=this._selectedValue;this._selectedValue=t,this.requestUpdate("selectedValue",a)}set type(t){const a=this._type;t==="default"||t==="green"?this._type=t:this._type="default",this.requestUpdate("type",a)}set boxStyle(t){const a=this._boxStyle;this._boxStyle=t,this.requestUpdate("boxStyle",a)}set inputStyle(t){const a=this._inputStyle;this._inputStyle=t,this._inputStyle=`${this._inputStyle} box-sizing: border-box;`,this.requestUpdate("inputStyle",a)}set labelSelectAll(t){const a=this._labelSelectAll;t!==""&&(this._labelSelectAll=t),this.requestUpdate("labelSelectAll",a)}set labelDeselectAll(t){const a=this._labelDeselectAll;t!==""&&(this._labelDeselectAll=t),this.requestUpdate("labelDeselectAll",a)}set SelectAll(t){const a=this._selectAll;this._selectAll=t,this.requestUpdate("selectAll",a)}get _filteredElements(){var a;const t=this._input.value.toLowerCase();return(a=this._elements)==null?void 0:a.filter(c=>c.label.toLowerCase().includes(t))}get _showPlaceHolder(){return o(this._placeHolder)&&!this._showSelector?void 0:this._placeHolder}async firstUpdated(){try{await this.updateComplete,this._copyElements=JSON.parse(JSON.stringify(this._elements)),this._initElementsSelected(),!this._openWithSearch&&!this._disabled&&document.addEventListener("click",t=>{this._clickedOutsideDropdown(this,t)}),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),this._openWithSearch&&this._onclick(!0),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}_initElementsSelected(){this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}_clickedOutsideDropdown(t,a){t!==a.target&&(this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),this._showSelector=!1,this.requestUpdate())}_handleInput(){this.requestUpdate()}_handleFocus(){this._readonly||(this._isFocused=!0,this._isGroupFocusedVisible=!0,this.requestUpdate())}_handleBlurEsc(){this._readonly||this._openWithSearch||(this._isFocused=!0,this._showSelector=!1,this.requestUpdate())}_handleBlur(){this._isFocused=!1,this._isGroupFocusedVisible=!1,this.requestUpdate()}_handleBlurComponent(t,a){var c;if(t!==a.target){if(this._openWithSearch)return;(c=this._input)==null||c.focus(),this._handleBlurEsc(),this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[])}}_onCancel(){this._showSelector=!1,this._isFocused=!1,this.requestUpdate()}_cleanInput(){this._input.value="",this.requestUpdate()}_onclick(t,a){var d,h;t||(this._isFocused=!0);let c="";this._boxStyle&&(c+=this._boxStyle,c.endsWith(";")||(c+=";")),this._style=`${c} overflow: auto;${this._openWithSearch?"":"box-shadow: 0 1px 3px 0 #0000001a, 0 4px 8px 3px #0000000d;"}`,this._openWithSearch?this._showSelector=!0:this._handleKeyInput(a),this._showSelector?(this._input.value="",t||(d=this._input)==null||d.focus()):(this._showSelectValuesInInput(this._selectedValue?this._selectedValue:[]),(!a||a.key!=="Enter"&&a.key!==" "&&a.key!=="Escape")&&((h=this._input)==null||h.blur(),this._onCancel())),this.requestUpdate()}_handleKeyInput(t){(t==null?void 0:t.key)==="Enter"||(t==null?void 0:t.key)===" "?this._showSelector=!0:(t==null?void 0:t.key)==="Escape"?this._handleBlurEsc():this._showSelector=!this._showSelector}_dispatchValueChange(){if(this._input.value){const t={detail:this._input.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}}_onSelectorChanges(t){this._selectedValue=t.detail,this._dispatchValueChange(),!this._multiple&&!this._openWithSearch&&!this._disabled&&this._clickedOutsideDropdown(this,t),this.requestUpdate()}_showSelectValuesInInput(t){var d,h;!this._multiple&&Array.isArray(t)&&t.length>1&&t.splice(1);const a=(d=this._elements)==null?void 0:d.filter(p=>t.includes(p.value));if(this._elements=[...this._copyElements],this._openWithSearch?this._selectElements=0:this._selectElements=a!=null&&a.length?a.length:0,a&&a.length>0){const p=this._elements.filter(b=>a.includes(b));p.push(...this._elements.filter(b=>!a.includes(b))),this._elements=[...p]}if(!this._multiple){this._input.value=((h=a==null?void 0:a[0])==null?void 0:h.label)??"";return}const c=a==null?void 0:a.map(p=>p.label);this._input.value=(c==null?void 0:c.join(", "))??""}_evalueFocus(t){var a;((a=t.target)==null?void 0:a.id)!=="dss-dropdownlist"&&this._showSelector&&this._handleFocus()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&(this._isGroupFocusedVisible=!0,this._isFocused=!0,this._handelLabelClick())}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}render(){var d,h,p,b;const t={"dss-input--disabled":this._disabled},a={"dss-selector":!this._openWithSearch,"dss-selector--disabled":this._disabled,"dss-selector-dropdown":!0},c={"dss-input__group--focused":((d=this._input)==null?void 0:d.value)||this._showPlaceHolder||this._showSelector,"dss-input__group--focused-visible":this._isGroupFocusedVisible,"dss-input__group--required":this._required,"dss-input__group--active":this._isFocused,"dss-input__group--readOnly":this._readonly,"dss-input__group--disabled":this._disabled};return x`
    -
    - ${this._icon} -
    - - -
    - ${this._openWithSearch?x` - - `:x` - - `} -
    - ${this._showSelector&&this._filteredElements&&((b=this._filteredElements)==null?void 0:b.length)>0?x` - - - `:null} -
    `}}__decorateClass$3([n$1({type:String})],DropDownList.prototype,"icon");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"label");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"placeHolder");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"required");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"disabled");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"readonly");__decorateClass$3([n$1({type:Array})],DropDownList.prototype,"elements");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"multiple");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"openWithSearch");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"tick");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"deselectable");__decorateClass$3([n$1({type:Array})],DropDownList.prototype,"selectedValue");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"type");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"boxStyle");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"inputStyle");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"labelSelectAll");__decorateClass$3([n$1({type:String})],DropDownList.prototype,"labelDeselectAll");__decorateClass$3([n$1(booleanType)],DropDownList.prototype,"SelectAll");var __defProp$2=Object.defineProperty,__getOwnPropDesc$2=Object.getOwnPropertyDescriptor,__decorateClass$2=(l,t,a,c)=>{for(var d=__getOwnPropDesc$2(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$2(t,a,d),d};const INPUT_TYPE_NUMBER="number";class InputField extends r$1{constructor(){super(...arguments),this._type="text",this._value="",this._label="",this._description="",this._placeHolder="",this._icon="",this._maxLength=void 0,this._minLength=void 0,this._max=void 0,this._min=void 0,this._step=void 0,this._isInputFocused=!1,this._isGroupFocusedVisible=!1,this._isTypeNumeric=!1,this._clearable=!1,this._showError=!1,this._required=!1,this._disabled=!1,this._readonly=!1}static get styles(){return i$1` - :host { - width: 100%; - height: fit-content; - } - - label { - font-style: normal; - font-weight: 400; - font-size: 0.875rem; - line-height: 1.5rem; - cursor: text; - position: absolute; - white-space: nowrap; - background-color: #ffffff; - width: 100%; - } - - input { - outline: none; - border: 0; - font-size: 0.875rem; - line-height: 1.5rem; - font-style: normal; - color: #1d1d1d; - width: 100%; - text-overflow: ellipsis; - margin: 0; - padding: 0; - } - - input::placeholder { - color: #9f9f9f; - } - - .dss-input--invalid input::placeholder { - color: #d36262; - } - - .dss-input--invalid label { - background-color: #fff6f6; - } - - .dss-input { - display: flex; - flex-direction: column; - color: #656565; - width: 100%; - } - - .dss-input--disabled { - opacity: 0.6; - } - - .dss-input--gap { - gap: 0.25rem; - } - - .dss-input__content { - display: flex; - align-items: center; - flex: 1; - overflow: hidden; - position: relative; - } - - .dss-input--disabled .dss-input__group, - .dss-input--disabled input, - .dss-input--disabled label { - background-color: #f5f5f5; - cursor: not-allowed; - } - - .dss-input__group { - position: relative; - background: #ffffff; - box-shadow: inset 0 0 0 0.063rem #d8d8d8; - border-radius: 0.5rem; - padding: 0.75rem; - display: flex; - gap: 0.5rem; - } - - :host([small]) .dss-input__group { - padding: 0.5rem 0.75rem; - } - - .dss-input__group--required label::before { - content: '*'; - } - - .dss-input__group--readOnly .dss-icon-button { - pointer-events: none; - } - - .dss-input__group:focus-visible, - .dss-input__group--focused-visible, - .dss-input--invalid .dss-input__group:focus-visible { - outline: 0.25rem solid #8ec7e5; - box-shadow: none; - background-color: #ffffff; - } - - .dss-input--invalid .dss-input__group:focus-visible input { - background-color: #ffffff; - } - - .dss-input--invalid .dss-input__group:focus-visible .dss-icon-button { - background-color: transparent; - } - - .dss-input__group--focused { - padding: 0.25rem 0.75rem; - } - - :host([small]) .dss-input__group--focused { - padding: 0.063rem 0.75rem; - } - - .dss-input__group--focused .dss-input__content label { - font-size: 0.75rem; - line-height: 1rem; - transition: 0.3s; - top: 0.25rem; - } - - :host([small]) .dss-input__group--focused .dss-input__content label { - top: 0.125rem; - } - - .dss-input__group--focused .dss-input__content input, - .dss-input__group--focused .dss-input__content input { - margin-top: 1rem !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 0.875rem !important; - } - - :host([small]) .dss-input__group--focused .dss-input__content input { - margin-top: 0.875rem !important; - } - - .dss-input--invalid .dss-input__group .dss-icon-button { - color: #b60000; - } - - .dss-input--invalid .dss-input__group { - box-shadow: inset 0 0 0 0.063rem #b60000; - } - - .dss-input--invalid .dss-input__group input { - background-color: #fff6f6; - color: #1d1d1d; - } - - .dss-input--invalid .dss-input__group, - .dss-input--invalid .dss-icon-button, - .dss-input--invalid .dss-input__group .dss-icon-button:hover span { - background-color: #fff6f6; - color: #b60000; - } - - .dss-input__help { - font-style: normal; - font-weight: 400; - font-size: 0.75rem; - line-height: 1rem; - display: flex; - padding: 0 0.75rem; - gap: 0.5rem; - } - - .dss-input__help .dss-input__description { - flex: 1; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - - .dss-input--invalid .dss-input__help, - .dss-input--invalid .dss-input__help::after { - color: #b60000; - } - - .dss-input__icon { - font-family: 'Material Symbols Rounded'; - display: flex; - align-items: center; - font-size: 1.5rem; - } - - :host([small]) .dss-input__group.dss-input__group--icon, - :host([small]) .dss-input__group--focused.dss-input__group--icon, - .dss-input__group.dss-input__group--icon, - .dss-input__group--focused.dss-input__group--icon { - padding-right: 0.375rem; - } - - .dss-input__group.dss-input__group--numeric { - padding: 0.25rem 0.5rem 0.25rem 0.75rem; - } - - :host([small]) .dss-input__group.dss-input__group--numeric { - padding: 0.063rem 0.625rem 0.063rem 0.75rem; - } - - .dss-icon-button { - font-size: 1rem; - font-family: 'Material Symbols Rounded'; - align-items: center; - border: none; - cursor: pointer; - display: flex; - background-color: transparent; - color: #0073e6; - padding: 0; - height: fit-content; - margin: auto; - border-radius: 100%; - } - - .dss-icon-button span { - padding: 0.25rem; - background-color: transparent; - border-radius: 100%; - transition: all 0.3s ease-in; - } - - .dss-icon-button:hover:enabled span { - background-color: #bfddfa; - } - - .dss-icon-button:active:enabled span { - background-color: #eff7ff; - transition: none; - } - - .dss-icon-button:disabled { - cursor: not-allowed; - } - - .dss-icon-button:focus-visible:enabled { - outline: none; - } - - .dss-input__numeric-buttons { - display: flex; - flex-direction: column; - justify-content: space-between; - transition: all 0.3s ease-in; - height: 40px; - } - - .dss-input__numeric-buttons .dss-icon-button span { - padding: 0.063rem; - display: flex; - justify-content: center; - text-align: center; - width: 18px; - height: 18px; - align-items: center; - } - - :host([small]) .dss-input__numeric-buttons { - height: 38px; - } - - :host([small]) - .dss-input__group.dss-input__group--numeric - .dss-icon-button - span { - width: 16px; - height: 16px; - } - - input::-webkit-outer-spin-button, - input::-webkit-inner-spin-button { - -webkit-appearance: none; - } - - input[type='number'] { - -moz-appearance: textfield; - } - `}set value(t){const a=this._value;this._value=t,this.requestUpdate("value",a)}set type(t){const a=this._type;this._type=t,this.requestUpdate("type",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set description(t){const a=this._description;this._description=t,this.requestUpdate("description",a)}set placeHolder(t){const a=this._placeHolder;this._placeHolder=t,this.requestUpdate("placeHolder",a)}set required(t){const a=this._required;this._required=t,this.requestUpdate("required",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set readonly(t){const a=this._readonly;this._readonly=t,this.requestUpdate("readonly",a)}set icon(t){const a=this._icon;this._icon=t,this.requestUpdate("icon",a)}set clearable(t){const a=this._clearable;this._clearable=t,this.requestUpdate("clearable",a)}set showError(t){const a=this._showError;this._showError=t,this.requestUpdate("showError",a)}set maxLength(t){const a=this._maxLength;this._maxLength=t,this.requestUpdate("maxLength",a)}set minLength(t){const a=this._minLength;this._minLength=t,this.requestUpdate("minLength",a)}set max(t){const a=this._max;this._max=t,this.requestUpdate("max",a)}set min(t){const a=this._min;this._min=t,this.requestUpdate("min",a)}set step(t){const a=this._step;this._step=t,this.requestUpdate("step",a)}get _input(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("input")}_handleInput(){this._dispatchValueChange(),this.requestUpdate()}_handleKeypress(t){t.keyCode<32&&t.preventDefault(),this._maxLength&&t.target.value.length>=this._maxLength&&t.preventDefault()}_handleKeyup(t){(t.keyCode?t.keyCode:t.which)===9&&(this._isGroupFocusedVisible=!0,this._isInputFocused=!0,this._handelLabelClick())}_handleFocus(){this._readonly||(this._isGroupFocusedVisible=!0,this._isInputFocused=!0,this.requestUpdate())}_handleFocusOut(){var t,a;this._handleBlur(),this._isGroupFocusedVisible=!1,this._isInputFocused=!1,((a=(t=this._input)==null?void 0:t.value)==null?void 0:a.length)===0&&(this._value="",this._input.value=this._value),this.requestUpdate()}_handleBlur(){this._isInputFocused=!1,this.requestUpdate()}_handelLabelClick(){var t;(t=this._input)==null||t.focus(),this.requestUpdate()}_cleanInput(){var t,a;(a=(t=this._input)==null?void 0:t.value)!=null&&a.length&&(this._value="",this._input.value=this._value),this._dispatchValueChange(),this.requestUpdate()}_stepUp(){var t,a;(t=this._input)==null||t.stepUp(),this._value=((a=this._input)==null?void 0:a.value)||"",this._dispatchValueChange(),this.requestUpdate()}_stepDown(){var t,a;(t=this._input)==null||t.stepDown(),this._value=((a=this._input)==null?void 0:a.value)||"",this._dispatchValueChange(),this.requestUpdate()}_dispatchValueChange(){var a,c;const t={detail:this._isTypeNumeric?Number((a=this._input)==null?void 0:a.value):(c=this._input)==null?void 0:c.value,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onValueChange",t))}async firstUpdated(){try{await this.updateComplete,this._isTypeNumeric=this._type===INPUT_TYPE_NUMBER,this.requestUpdate()}catch{console.error("ERROR OCURRED")}}render(){var c,d,h,p,b,g;const t={"dss-input--invalid":this._showError,"dss-input--disabled":this._disabled,"dss-input--gap":this._maxLength||!!this._description},a={"dss-input__group--focused":((c=this._input)==null?void 0:c.value)||this._isInputFocused||this._placeHolder,"dss-input__group--focused-visible":this._isGroupFocusedVisible,"dss-input__group--required":this._required,"dss-input__group--readOnly":this._readonly,"dss-input__group--numeric":this._isTypeNumeric,"dss-input__group--icon":this._clearable};return x` -
    -
    - ${this._icon?x`${this._icon}`:null} -
    - - -
    - ${this._clearable&&!this._isTypeNumeric?x` - - `:null} - ${this._isTypeNumeric?x` -
    - - -
    - `:null} -
    -
    -
    - ${this._description} -
    - ${this._maxLength?x` - ${(g=(b=this._input)==null?void 0:b.value)==null?void 0:g.length}/${this._maxLength} - `:null} -
    -
    - `}}__decorateClass$2([n$1({type:String})],InputField.prototype,"value");__decorateClass$2([n$1({type:String})],InputField.prototype,"type");__decorateClass$2([n$1({type:String})],InputField.prototype,"label");__decorateClass$2([n$1({type:String})],InputField.prototype,"description");__decorateClass$2([n$1({type:String})],InputField.prototype,"placeHolder");__decorateClass$2([n$1(booleanType)],InputField.prototype,"required");__decorateClass$2([n$1(booleanType)],InputField.prototype,"disabled");__decorateClass$2([n$1(booleanType)],InputField.prototype,"readonly");__decorateClass$2([n$1({type:String})],InputField.prototype,"icon");__decorateClass$2([n$1(booleanType)],InputField.prototype,"clearable");__decorateClass$2([n$1(booleanType)],InputField.prototype,"showError");__decorateClass$2([n$1({type:Number})],InputField.prototype,"maxLength");__decorateClass$2([n$1({type:Number})],InputField.prototype,"minLength");__decorateClass$2([n$1({type:Number})],InputField.prototype,"max");__decorateClass$2([n$1({type:Number})],InputField.prototype,"min");__decorateClass$2([n$1({type:Number})],InputField.prototype,"step");var __defProp$1=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__decorateClass$1=(l,t,a,c)=>{for(var d=__getOwnPropDesc$1(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp$1(t,a,d),d};class Switch extends r$1{constructor(){super(...arguments),this._checked=!1,this._disabled=!1,this._label=null,this._size="md"}static get styles(){return i$1` - :host { - display: flex; - width: fit-content; - height: fit-content; - gap: 0.5rem; - align-items: center; - } - - .dss-switch input[type='checkbox'] { - opacity: 0; - } - - .dss-switch { - position: relative; - display: flex; - transition: 0.3s all ease-in; - } - - .dss-switch .dss-switch__slider { - position: absolute; - cursor: pointer; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: #656565; - border-radius: 100px; - transition: 0.3s all ease-in; - } - - .dss-switch .dss-switch__slider:before { - position: absolute; - background-color: white; - border-radius: 100%; - content: ''; - box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05), - 0px 1px 3px 1px rgba(0, 0, 0, 0.1); - transition: 0.3s all ease-in; - } - - .dss-switch input[type='checkbox']:hover:enabled + .dss-switch__slider { - background-color: #535353; - } - - .dss-switch input[type='checkbox']:enabled + .dss-switch__slider:active { - background-color: #828282; - transition: none; - } - - .dss-switch input[type='checkbox']:checked + .dss-switch__slider { - background-color: #0073e6; - } - - .dss-switch - input[type='checkbox']:checked:hover:enabled - + .dss-switch__slider { - background-color: #0064c7; - } - - .dss-switch - input[type='checkbox']:checked:enabled - + .dss-switch__slider:active { - background-color: #308deb; - transition: none; - } - - .dss-switch - input[type='checkbox']:checked:enabled - + .dss-switch__slider:active:before { - color: #308deb; - transition: none; - } - - .dss-switch - input[type='checkbox']:enabled - + .dss-switch__slider:active:before { - color: #828282; - transition: none; - } - - .dss-switch input[type='checkbox']:disabled + .dss-switch__slider { - cursor: not-allowed; - } - - .dss-switch input[type='checkbox']:disabled + .dss-switch__slider:before { - color: #828282 !important; - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider { - background-color: #308deb; - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider:before { - color: #308deb !important; - } - - .dss-switch input[type='checkbox']:focus { - outline: none; - transition: none; - } - - .dss-switch - input[type='checkbox']:focus-visible:enabled - + .dss-switch__slider { - outline: 4px solid #8ec7e5; - transition: none; - } - - .dss-switch.dss-switch--lg { - width: 52px; - height: 32px; - } - - .dss-switch.dss-switch--lg .dss-switch__slider:before { - font-family: 'Material Symbols Rounded'; - content: 'close'; - color: var(--color-primary-500); - font-size: 16px; - height: 24px; - width: 24px; - left: 4px; - bottom: 4px; - display: flex; - justify-content: center; - align-items: center; - } - - .dss-switch.dss-switch--lg - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(20px); - -ms-transform: translateX(20px); - transform: translateX(20px); - content: 'done'; - color: var(--color-primary-500); - } - - .dss-switch.dss-switch--md { - width: 39px; - height: 24px; - } - - .dss-switch.dss-switch--md .dss-switch__slider:before { - height: 18px; - width: 18px; - left: 3px; - bottom: 3px; - } - - .dss-switch.dss-switch--md - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(15px); - -ms-transform: translateX(15px); - transform: translateX(15px); - } - - .dss-switch.dss-switch--sm { - width: 26px; - height: 16px; - } - - .dss-switch.dss-switch--sm .dss-switch__slider:before { - height: 12px; - width: 12px; - left: 2px; - bottom: 2px; - } - - .dss-switch.dss-switch--sm - input[type='checkbox']:checked - + .dss-switch__slider:before { - -webkit-transform: translateX(10px); - -ms-transform: translateX(10px); - transform: translateX(10px); - } - - .dss-switch__label { - font-family: var(--font-family); - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 24px; - color: #1d1d1d; - } - - .dss-switch.dss-switch--lg + .dss-switch__label { - font-weight: 600; - font-size: 16px; - } - - .dss-switch--disabled .dss-switch__slider { - background-color: var(--color-neutral-200); - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider { - background-color: var(--color-neutral-200); - } - - .dss-switch - input[type='checkbox']:checked:disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-400); - color: var(--color-neutral-900) !important; - } - - .dss-switch.dss-switch--lg - input[type='checkbox']:checked:disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-100); - } - - .dss-switch - input[type='checkbox']:not(:checked):disabled - + .dss-switch__slider::before { - background-color: var(--color-neutral-400); - color: var(--color-neutral-100) !important; - } - `}set checked(t){const a=this._checked;this._checked=t,this.requestUpdate("checked",a)}set disabled(t){const a=this._disabled;this._disabled=t,this.requestUpdate("disabled",a)}set label(t){const a=this._label;this._label=t,this.requestUpdate("label",a)}set size(t){const a=this._size;this._size=t,this.requestUpdate("size",a)}handleClick(){this._checked=!this._checked,this.dispatchEvent(new CustomEvent("onChangeValue",{detail:this._checked,bubbles:!0,composed:!0}))}render(){const t={"dss-switch--sm":this._size==="sm","dss-switch--md":this._size==="md","dss-switch--lg":this._size==="lg","dss-switch--disabled":this._disabled};return x` - - ${this._label?x`${this._label}`:null} - `}}__decorateClass$1([n$1(booleanType)],Switch.prototype,"checked");__decorateClass$1([n$1(booleanType)],Switch.prototype,"disabled");__decorateClass$1([n$1({type:String})],Switch.prototype,"label");__decorateClass$1([n$1({type:String})],Switch.prototype,"size");var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__decorateClass=(l,t,a,c)=>{for(var d=__getOwnPropDesc(t,a),h=l.length-1,p;h>=0;h--)(p=l[h])&&(d=p(t,a,d)||d);return d&&__defProp(t,a,d),d};class Table extends r$1{constructor(){super(...arguments),this._valueMaxLength=60,this._data=[],this._customData=void 0,this._pipeData=[],this._customTableHeader=void 0,this._filters=[],this._tableHeader=[],this._tableHeaderSort={},this._hasPaginator=!1,this._currentIndex=1,this._pageSize=10,this._pageSizeOptions="[5,10,20]",this._resultstext="Resultats",this._rowsperpagetext="Files per pàgina",this._textAlign="left",this._headerTitle="",this._hideHeader=!1,this._hideColumnHeader=!1,this._innerFilters=!1,this._expandTable=!1,this._expandLabel="Ampliar",this._collapseLabel="Reduir",this._rowsOnCollapsed=5,this._filtersLabel="Selecció",this._cleanFiltersLabel="Netejar filtres",this._openFiltersLabel="Filtres",this._selectedRowsLabel="files seleccionades",this._selectAllRows=!0,this._noFiltersLabel="No hi ha filtres seleccionats",this._footerButtons=3,this._maxContentWidth=!1,this._stickyColumns=!1,this._multiselect=!1,this._radioselect=!1,this._hasRowButton=!1,this._rowButtonLabel="Button",this._hasRowActions=!1,this._rowActionsIcons=["add_box","add_box","add_box"],this._footerButtonPrimaryLabel="Primary",this._footerButtonSecondaryLabel="Secondary",this._footerButtonAlternativeLabel="Alternative",this._enableRowActionsOnDeleted=!1,this._enableRowActionsOnDisabled=!1,this._currentSortColumn="",this._currentSortType="",this._copyPipeData=[],this._isFirstUpdate=!0}static get styles(){return[r$2(iconStyles),r$2(buttonStyles),r$2(iconButtonStyles),r$2(chipStyles),r$2(checkboxStyles),r$2(radioStyles),i$1` - :host { - display: block; - width: 100%; - } - - .dss-table-header { - padding: var(--dss-spacing-md) 0; - } - - .dss-table-header-title { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - margin-bottom: var(--dss-spacing-md); - } - - .dss-table-header-title__text { - color: var(--color-neutral-900); - font-weight: var(--font-bold); - font-size: 20px; - } - - .dss-table-header-title__action { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-xxs); - font-size: 14px; - color: var(--color-primary-700); - cursor: pointer; - border-radius: var(--dss-radius-xs); - font-weight: var(--font-semibold); - } - - .dss-table-header-title__action:hover { - color: var(--color-primary-600); - } - - .dss-table-header-title__action:active { - color: var(--color-primary-400); - } - - .dss-table-header-title__action:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - } - - .dss-table-header-filters { - display: flex; - justify-content: space-between; - align-items: center; - } - - .dss-table-header-filters__filters { - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-md); - width: 70%; - box-sizing: border-box; - } - - .dss-table-header-filters--inner .dss-table-header-filters__filters { - width: 80%; - } - - .filters-label { - font-size: 14px; - font-weight: var(--font-bold); - color: var(--color-neutral-600); - } - - .filters-list { - display: flex; - flex-wrap: wrap; - max-width: 60%; - gap: var(--dss-spacing-xs); - } - - .filters-list-empty { - font-size: 14px; - color: var(--color-neutral-600); - } - - .filters-clean { - padding-left: var(--dss-spacing-md); - border-left: var(--dss-border-width-sm) solid var(--color-neutral-100); - } - - .dss-table-header-filters__actions { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-md); - width: 30%; - box-sizing: border-box; - } - - .dss-table-header-filters--inner .dss-table-header-filters__actions { - width: 20%; - } - - .dss-table-main { - background-color: var(--color-white); - width: 100%; - overflow-x: auto; - } - - .dss-table-container { - max-width: 100%; - overflow: auto; - } - - .dss-table-main .table { - min-width: 100%; - margin: 0; - padding: 0; - border-collapse: collapse; - border-spacing: 0; - table-layout: fixed; - } - - .dss-table-main .table.table--max-content-width { - width: max-content; - } - - .dss-table-main .table.table--sticky-columns { - } - - .dss-table-main .table-header { - width: 100%; - position: sticky; - top: 0; - background-color: var(--color-white); - z-index: 100; - } - - .dss-table-main .table.table--sticky-columns .table-header { - position: relative; - } - - .dss-table-main - .table.table--sticky-columns - .table-header - .table-th:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-td:first-child { - position: sticky; - left: 0; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:first-child { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:last-child, - .dss-table-main - .table.table--sticky-columns - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:last-child { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-header - .table-th:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-td:nth-child(2) { - position: sticky; - left: 52px; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:nth-child(2) { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:nth-child(2) { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--multiselect - .table-body - .table-body-row--deleted - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:nth-child(2) { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-header - .table-th:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-td:nth-child(2) { - position: sticky; - left: 52px; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) - .table-td:nth-child(2) { - background-color: var(--color-primary-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:nth-child(2) { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns.table--sticky-columns--radioselect - .table-body - .table-body-row--deleted - .table-td:nth-child(2), - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:nth-child(2) { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--deleted - .table-td:last-child { - background-color: var(--color-red-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:first-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-body-row--disabled - .table-td:last-child { - background-color: var(--color-neutral-50); - } - - .dss-table-main - .table.table--sticky-columns - .table-header - .table-th:last-child, - .dss-table-main - .table.table--sticky-columns - .table-body - .table-td:last-child { - position: sticky; - right: 0; - z-index: 100; - background-color: var(--color-white); - } - - .dss-table-main .table-header-row { - width: 100%; - } - - .dss-table-main .table-th { - box-sizing: border-box; - height: 56px; - } - - .dss-table-main .table-th--checkbox { - width: 52px; - } - - .dss-table-main .table-th--radio { - width: 52px; - } - - .dss-table-main .table-th--review { - width: 52px; - } - - .dss-table-main .table-th--button { - } - - .dss-table-main .table-th--actions { - width: 140px; - max-width: 140px; - } - - .dss-table-main .table-th--icons-1 { - width: 64px; - max-width: 64px; - } - - .dss-table-main .table-th--icons-2 { - width: 100px; - max-width: 100px; - } - - .dss-table-main .table-header-column { - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-xs); - margin: 0; - padding: 0 var(--dss-spacing-md); - border-bottom: var(--dss-border-width-md) solid - var(--color-neutral-700); - box-sizing: border-box; - height: 100%; - } - - .dss-table-main .table-header-column--clickable { - cursor: pointer; - } - - .dss-table-main .table-header-column--not-clickable { - cursor: default; - } - - .dss-table-main - .table-header-column--clickable - .table-header-column__icon { - box-sizing: border-box; - padding: var(--dss-spacing-tiny); - background-color: transparent; - border-radius: var(--dss-radius-xs); - transition: all 0.3s ease-in; - } - - .dss-table-main .table-header-column--clickable:focus-visible { - box-shadow: inset 0 0 0 var(--dss-border-width-lg) - var(--color-blue-200); - outline: 0; - } - - .dss-table-main - .table-header-column--clickable:focus-visible - .table-header-column__icon, - .dss-table-main - .table-header-column--clickable:hover - .table-header-column__icon { - color: var(--color-white); - background-color: var(--color-primary-500); - } - - .dss-table-main .table-header-column__title { - font-size: 14px; - line-height: 24px; - font-weight: var(--font-semibold); - text-transform: capitalize; - } - - .dss-table-main .table-header-column--checkbox { - justify-content: center; - max-width: 52px; - } - - .dss-table-main .table-header-column--radio { - max-width: 52px; - } - - .dss-table-main .table-header-column--review { - justify-content: center; - } - - .dss-table-main .table-header-column--button { - } - - .dss-table-main .table-header-column--actions { - } - - .dss-table-main .table-header-column--number { - justify-content: flex-end; - } - - .dss-table-main .table-body { - } - - .dss-table-main .table-body-row { - // display: grid; - } - - .dss-table-main .table-body-row + .table-body-row { - border-top: var(--dss-border-width-sm) solid var(--color-neutral-100); - } - - .dss-table-main - .table-body-row:not(.table-body-row--disabled):not( - .table-body-row--deleted - ):hover, - .dss-table-main - .table-body-row--selected:not(.table-body-row--disabled):not( - .table-body-row--deleted - ) { - background-color: var(--color-primary-50); - } - - .dss-table-main .table-body-row--disabled { - background-color: var(--color-neutral-50); - } - - .dss-table-main .table-body-row--disabled .table-body-column { - color: var(--color-neutral-500); - } - - .dss-table-main .table-body-row--deleted { - background-color: var(--color-red-50); - } - - .dss-table-main .table-td { - box-sizing: border-box; - height: 56px; - margin: 0; - padding: 0; - } - - .dss-table-main .table-body-column { - margin: 0; - padding: auto var(--dss-spacing-md); - font-size: 14px; - color: var(--color-neutral-700); - height: 56px; - box-sizing: border-box; - } - - .dss-table-main .table-body-column--custom { - display: flex; - justify-content: flex-start; - align-items: center; - padding: 0 var(--dss-spacing-md); - gap: var(--dss-spacing-xs); - gap: var(--dss-spacing-xs); - } - - .dss-table-main .table-body-column--text { - justify-content: flex-start; - } - - .dss-table-main .table-body-column--number { - justify-content: flex-end; - } - - .dss-table-main .table-td--actions { - box-sizing: border-box; - max-width: 140px; - } - - .dss-table-main .table-body-column--actions { - justify-content: flex-end; - max-width: 140px; - box-sizing: border-box; - } - - .dss-table-main .table-body-column--result { - font-weight: var(--font-bold); - } - - .dss-table-main .table-body-column--checkbox { - max-width: 52px; - padding-left: 0; - padding-right: 0; - justify-content: center; - } - - .dss-table-main .table-body-column--radio { - max-width: 52px; - padding-left: 0; - padding-right: 0; - justify-content: center; - } - - .dss-table-main .table-body-column--button { - justify-content: flex-end; - } - - .dss-table-main .table-body-column--review { - justify-content: center; - } - - .dss-table-main .table-body-column--font-bold { - font-weight: var(--font-bold); - } - - .dss-table-main .table-body-column--font-black { - font-weight: var(--font-bold); - color: var(--color-neutral-900); - } - - .dss-table-main .table-body-column--icon-right { - flex-direction: row-reverse; - } - - .dss-table-main .table-body-column--text.table-body-column--icon-right { - justify-content: flex-end; - } - - .dss-table-main - .table-body-column--number.table-body-column--icon-right { - justify-content: flex-start; - } - - .table-body--align-center .table-body-column { - text-align: center; - } - - .table-body--align-right .table-body-column { - text-align: right; - } - - .table-body--align-justify .table-body-column { - text-align: justify; - } - - ::slotted(div.dss-table-filters) { - width: 100%; - display: flex; - justify-content: flex-start; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .table-footer { - display: flex; - justify-content: space-between; - align-items: center; - gap: var(--dss-spacing-xs); - padding: var(--dss-spacing-md); - border-top: var(--dss-border-width-sm) solid var(--color-neutral-100); - margin-top: var(--dss-spacing-md); - } - - .table-footer-description { - color: var(--color-neutral-900); - font-size: 16px; - font-weight: var(--font-bold); - } - - .table-footer-actions { - display: flex; - justify-content: flex-end; - align-items: center; - gap: var(--dss-spacing-xs); - } - - .column-value { - position: relative; - } - - .column-value > .value { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - } - - .table-body-column--custom dss-tooltip { - font-weight: var(--font-regular); - } - - .column-value dss-tooltip { - visibility: hidden; - } - - .column-value:hover dss-tooltip { - visibility: visible; - } - - .column-value { - position: relative; - } - - .column-value > .value { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - } - - .table-body-column--custom dss-tooltip { - font-weight: var(--font-regular); - } - - .column-value dss-tooltip { - visibility: hidden; - } - - .column-value:hover dss-tooltip { - visibility: visible; - } - - .column-value--link { - color: var(--color-primary-700); - font-weight: 600; - text-decoration: none; - } - - .column-value--link:hover { - color: var(--color-primary-900); - } - - .column-value--link:active { - color: var(--color-primary-800); - } - - .column-value--link:disabled { - color: var(--color-neutral-500); - cursor: not-allowed; - } - - .column-value--link:focus-visible { - outline: var(--dss-border-width-md) solid var(--color-blue-200); - border-radius: var(--dss-radius-xs); - } - - .dss-table-main .table .table-body-row:focus-visible { - box-shadow: inset 0 0 0 var(--dss-border-width-lg) - var(--color-blue-200); - outline: 0; - } - - .table-header-row--hide, - .table-header-row--hide .table-th, - .table-header-row--hide .table-th * { - height: 0; - visibility: hidden; - } - `,r$2(badgeStates)]}set hasPaginator(t){const a=this._hasPaginator;this._hasPaginator=t,this.requestUpdate("hasPaginator",a)}set data(t){const a=this._data;this._data=t,this._createTableHeader(t),this._pipeData=this._data,this._copyPipeData=[...this._data],this.requestUpdate("data",a)}set customData(t){const a=this._customData;this._customData=t,this._createTableHeader(t),this._pipeData=this._customData,this._copyPipeData=[...this._customData],this.requestUpdate("data",a)}set customTableHeader(t){const a=this._customTableHeader;this._customTableHeader=t,this.requestUpdate("customTableHeader",a)}set filters(t){const a=this._filters;this._filters=t,this.requestUpdate("filters",a)}set currentIndex(t){const a=this._currentIndex;this._currentIndex=t,this.requestUpdate("currentIndex",a)}set pageSize(t){const a=this._pageSize;this._pageSize=t,this.requestUpdate("pageSize",a)}set pageSizeOptions(t){const a=this._pageSizeOptions;this._pageSizeOptions=t,this.requestUpdate("pageSizeOptions",a)}set resultstext(t){const a=this._resultstext;this._resultstext=t,this.requestUpdate("resultstext",a)}set rowsperpagetext(t){const a=this._rowsperpagetext;this._rowsperpagetext=t,this.requestUpdate("rowsperpagetext",a)}set textAlign(t){const a=this._textAlign;this._textAlign=t,this.requestUpdate("textAlign",a)}set headerTitle(t){const a=this._headerTitle;this._headerTitle=t,this.requestUpdate("headerTitle",a)}set hideHeader(t){const a=this._hideHeader;this._hideHeader=t,this.requestUpdate("hideHeader",a)}set hideColumnHeader(t){const a=this._hideColumnHeader;this._hideColumnHeader=t,this.requestUpdate("hideColumnHeader",a)}set innerFilters(t){const a=this._innerFilters;this._innerFilters=t,this.requestUpdate("innerFilters",a)}set expandTable(t){const a=this._expandTable;this._expandTable=t,this.requestUpdate("expandTable",a)}set expandLabel(t){const a=this._expandLabel;this._expandLabel=t,this.requestUpdate("expandLabel",a)}set collapseLabel(t){const a=this._collapseLabel;this._collapseLabel=t,this.requestUpdate("collapseLabel",a)}set rowsOnCollapsed(t){const a=this._rowsOnCollapsed;this._rowsOnCollapsed=t,this.requestUpdate("rowsOnCollapsed",a)}set filtersLabel(t){const a=this._filtersLabel;this._filtersLabel=t,this.requestUpdate("filtersLabel",a)}set cleanFiltersLabel(t){const a=this._cleanFiltersLabel;this._cleanFiltersLabel=t,this.requestUpdate("cleanFiltersLabel",a)}set selectedRowsLabel(t){const a=this._selectedRowsLabel;this._selectedRowsLabel=t,this.requestUpdate("selectedRowsLabel",a)}set footerButtons(t){const a=this._footerButtons;this._footerButtons=t,this.requestUpdate("footerButtons",a)}set maxContentWidth(t){const a=this._maxContentWidth;this._maxContentWidth=t,this.requestUpdate("maxContentWidth",a)}set stickyColumns(t){const a=this._stickyColumns;this._stickyColumns=t,this.requestUpdate("stickyColumns",a)}set multiselect(t){const a=this._multiselect;this._multiselect=t,this.requestUpdate("multiselect",a)}set radioselect(t){const a=this._radioselect;this._radioselect=t,this.requestUpdate("radioselect",a)}set hasRowButton(t){const a=this._hasRowButton;this._hasRowButton=t,this.requestUpdate("hasRowButton",a)}set rowButtonLabel(t){const a=this._rowButtonLabel;this._rowButtonLabel=t,this.requestUpdate("rowButtonLabel",a)}set hasRowActions(t){const a=this._hasRowActions;this._hasRowActions=t,this.requestUpdate("hasRowActions",a)}set rowActionsIcons(t){const a=this._rowActionsIcons;this._rowActionsIcons=t,this.requestUpdate("rowActionsIcons",a)}set footerButtonPrimaryLabel(t){const a=this._footerButtonPrimaryLabel;this._footerButtonPrimaryLabel=t,this.requestUpdate("footerButtonPrimaryLabel",a)}set footerButtonSecondaryLabel(t){const a=this._footerButtonSecondaryLabel;this._footerButtonSecondaryLabel=t,this.requestUpdate("footerButtonSecondaryLabel",a)}set footerButtonAlternativeLabel(t){const a=this._footerButtonAlternativeLabel;this._footerButtonAlternativeLabel=t,this.requestUpdate("footerButtonAlternativeLabel",a)}set enableRowActionsOnDisabled(t){const a=this._enableRowActionsOnDisabled;this._enableRowActionsOnDisabled=t,this.requestUpdate("enableRowActionsOnDisabled",a)}set enableRowActionsOnDeleted(t){const a=this._enableRowActionsOnDeleted;this._enableRowActionsOnDeleted=t,this.requestUpdate("enableRowActionsOnDeleted",a)}set valueMaxLength(t){const a=this._valueMaxLength;this._valueMaxLength=t,this.requestUpdate("valueMaxLength",a)}get _tableGridStyle(){return`grid-template-columns: repeat(${this._tableHeader.length}, 1fr)`}get _tableHeight(){let t="height:auto;";if(!this._expandTable){let a=this._rowsOnCollapsed*56;a+=56,t=`height:${a}px;`}return t}async firstUpdated(){try{await this.updateComplete,this._clickOutside()}catch{console.error("ERROR OCURRED")}}willUpdate(t){const a=t.has("data"),c=t.has("customData");if(!this._isFirstUpdate&&(a||c)){const d={detail:{startIndex:1,endIndex:this._pageSize}};this._paginateTable(d)}this._isFirstUpdate=!1}_clickOutside(){document.addEventListener("click",t=>{t.composedPath().includes(this)?t.composedPath().find(d=>d instanceof HTMLElement&&d.classList.contains("table-body"))||this._resetRowsTabIndex():this._resetRowsTabIndex()})}_createTableHeader(t){const a=Object.keys(t[0]);if(a.includes("disabled")){const c=a.indexOf("disabled");a.splice(c,1)}if(a.includes("deleted")){const c=a.indexOf("deleted");a.splice(c,1)}this._tableHeader=a,this._tableHeader.forEach(c=>{this._tableHeaderSort[c]="none"})}_sortBy(t,a){this._currentSortColumn=t,a==="none"?this._currentSortType="ASC":a==="ASC"?this._currentSortType="DSC":a==="DSC"&&(this._currentSortType="none"),this._currentSortType==="none"?this._pipeData=[...this._copyPipeData]:this._pipeData=this._pipeData.sort((d,h)=>{let p,b;return this._customData?(p=d[t].value,b=h[t].value):(p=d[t],b=h[t]),pb?this._currentSortType==="ASC"?1:-1:0}),this._tableHeaderSort[t]=this._currentSortType,Object.keys(this._tableHeaderSort).forEach(d=>{d!==t&&(this._tableHeaderSort[d]="none")}),this.requestUpdate()}_paginateTable(t){const a=t.detail.startIndex,c=t.detail.endIndex;if(this._customData&&c<=this._customData.length?this._pipeData=this._customData.slice(a-1,c):this._data&&c<=this._data.length&&(this._pipeData=this._data.slice(a-1,c)),t.detail.pageSize&&(this._pageSize=t.detail.pageSize),this._copyPipeData=[...this._pipeData],this._currentSortColumn&&this._currentSortType){let d="";this._currentSortType==="ASC"?d="none":this._currentSortType==="DSC"?d="ASC":d="DSC",this._sortBy(this._currentSortColumn,d)}this.requestUpdate()}_generateTableHeaderHTML(){let t=x``,a=x``,c=x``,d=x``;this._multiselect&&(t=x` - -
    - -
    - - `),this._radioselect&&(a=x` - -
    - - `),this._hasRowButton&&(c=x` - -
    - - `),this._hasRowActions&&(d=x` - -
    - - `);let h=!0;const p=this._tableHeader.map((g,f)=>{const $=()=>{this._customTableHeader?this._customTableHeader[f].sort&&this._sortBy(g,this._tableHeaderSort[g]):this._sortBy(g,this._tableHeaderSort[g]),this.requestUpdate()},v=S=>{const T=S.currentTarget,D=S;let q=!1;switch(D.key){case"ArrowLeft":moveFocusToPreviousTarget(this.renderRoot,T,".table-header-column--clickable"),q=!0;break;case"ArrowRight":moveFocusToNextTarget(this.renderRoot,T,".table-header-column--clickable"),q=!0;break;case"Enter":const U=S.target;onKeyboardEnter(this.renderRoot,U,".table-header-column--clickable"),q=!0;break}q&&(S.stopPropagation(),S.preventDefault())};let m="";this._customData&&this._customData.length>0?m=this._pipeData[0][g].type:this._data&&this._data.length>0&&(m=typeof this._pipeData[0][g]);const y={"table-th--review":m==="review","table-th--link":m==="link"};let k=!1;this._customTableHeader&&(this._customTableHeader[f].sort||(k=!0));const w={"table-header-column--review":m==="review","table-header-column--number":m==="number","table-header-column--link":m==="link","table-header-column--clickable":!k,"table-header-column--not-clickable":k},_=x` - - ${g===this._currentSortColumn?this._currentSortType==="ASC"?x`arrow_upward`:this._currentSortType==="DSC"?x`arrow_downward`:x`swap_vert`:x`swap_vert`} - - `,C=x` - -
    - - ${this._customTableHeader?x`${this._customTableHeader[f].title}`:x`${g}`} - - ${this._customTableHeader?this._customTableHeader[f].sort?x`${_}`:null:x`${_}`} -
    - - `;return h=!1,C}),b={"table-header-row--hide":this._hideColumnHeader};return x` - ${t} ${a} ${p} - ${c} ${d} - `}_onRowCheckboxChange(t){this._radioselect&&this._uncheckRadioRows(),t.checked?t.checked=!t.checked:t.checked=!0,this.requestUpdate()}_onSelectAllRows(){this._pipeData.forEach(t=>{t.disabled?this._enableRowActionsOnDisabled&&(t.checked=this._selectAllRows):t.deleted?this._enableRowActionsOnDeleted&&(t.checked=this._selectAllRows):t.checked=this._selectAllRows}),this._selectAllRows=!this._selectAllRows,this.requestUpdate()}_onRowAction(t,a){const c={detail:{action:t,row:a},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onRowAction",c)),this.requestUpdate()}_onRowActionKeydown(t,a,c){t.key==="Enter"&&this._onRowAction(a,c)}_generateTableTdCheckbox(t,a,c,d){return this._enableRowActionsOnDeleted&&(d=!1),this._enableRowActionsOnDisabled&&(c=!1),x` - -
    - -
    - - `}_generateTableTdRadio(t,a,c,d){return this._enableRowActionsOnDeleted&&(d=!1),this._enableRowActionsOnDisabled&&(c=!1),x` - -
    - -
    - - `}_generateTableTdButton(t,a,c){return this._enableRowActionsOnDeleted&&(c=!1),this._enableRowActionsOnDisabled&&(a=!1),x` - -
    - -
    - - `}_generateTableTdActions(t,a,c){return this._enableRowActionsOnDeleted&&(c=!1),this._enableRowActionsOnDisabled&&(a=!1),x` - -
    - ${this._rowActionsIcons.map((d,h)=>x` - - `)} -
    - - `}_generateTableTdSelfActions(t,a,c,d,h){return this._enableRowActionsOnDeleted&&(h=!1),this._enableRowActionsOnDisabled&&(d=!1),x` - -
    - ${c.icons.map((p,b)=>x` - - `)} -
    - - `}_resetRowsTabIndex(){const t=this.renderRoot.querySelector('.table-body-row[tabindex="0"]');t==null||t.setAttribute("tabindex","-1"),this.renderRoot.querySelectorAll(".table-body-row")[0].setAttribute("tabindex","0")}_uncheckRadioRows(){this._data&&this._data.length>0&&this._pipeData.forEach(t=>{t.checked=!1})}_generateDefaultTableBody(){let t,a=!0;return this._data&&this._data.length>0&&(t=this._pipeData.map(c=>{const d=c.checked?c.checked:!1,h=c.deleted?c.deleted:!1,p=c.disabled?c.disabled:!1,b=_=>{const C=_.relatedTarget;C&&!C.className.includes("table-body-row")&&!C.className.includes("table-body-row__action")&&this._resetRowsTabIndex()},g=_=>{const C=_.currentTarget,S=_;let T=!1;switch(S.key){case"ArrowUp":moveFocusToPreviousTarget(this.renderRoot,C,".table-body-row"),T=!0;break;case"ArrowDown":moveFocusToNextTarget(this.renderRoot,C,".table-body-row"),T=!0;break;case"Enter":const D=_.target;D.tagName==="TR"&&(onKeyboardEnter(this.renderRoot,D,".table-body-row"),(this._multiselect||this._radioselect)&&(!h&&!p?(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0):this._enableRowActionsOnDeleted&&h?(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0):this._enableRowActionsOnDisabled&&p&&(this._radioselect&&this._uncheckRadioRows(),c.checked?c.checked=!c.checked:c.checked=!0),this.requestUpdate()),T=!0);break;case"Escape":const U=_.composedPath().find(P=>P instanceof HTMLElement&&P.classList.contains("table-body-row"));U&&U.focus();break}T&&(_.stopPropagation(),_.preventDefault())},f=this._multiselect?this._generateTableTdCheckbox(c,d,p,h):x``,$=this._radioselect?this._generateTableTdRadio(c,d,p,h):x``,v=this._hasRowButton?this._generateTableTdButton(c,p,h):x``,m=this._hasRowActions?this._generateTableTdActions(c,p,h):x``,y=this._tableHeader.map(_=>{const C={"table-body-column--number":typeof c[_]=="number"};return x` - -
    - ${c[_]===""?x`remove`:null} - ${c[_]===""?x`remove`:null} - ${typeof c[_]=="number"?x` ${c[_]} `:c[_].length<=this._valueMaxLength?x`${c[_]}`:x`${c[_]}...`} -
    - - `}),w=x` - ${f} ${$} ${y} - ${v} ${m} - `;return a=!1,w})),t}_generateCustomTableBody(){let t,a=!0;return this._customData&&(t=this._pipeData.map(c=>{let d=c.checked?c.checked:!1;const h=c.deleted?c.deleted:!1,p=c.disabled?c.disabled:!1,b=_=>{const C=_.relatedTarget;C&&!C.className.includes("table-body-row")&&!C.className.includes("table-body-row__action")&&this._resetRowsTabIndex()},g=_=>{const C=_.currentTarget,S=_;let T=!1;switch(S.key){case"ArrowUp":moveFocusToPreviousTarget(this.renderRoot,C,".table-body-row"),T=!0;break;case"ArrowDown":moveFocusToNextTarget(this.renderRoot,C,".table-body-row"),T=!0;break;case"Enter":const D=_.target;D.tagName==="TR"&&(onKeyboardEnter(this.renderRoot,D,".table-body-row"),(this._multiselect||this._radioselect)&&((!h&&!p||this._enableRowActionsOnDeleted&&h||this._enableRowActionsOnDisabled&&p)&&(c.checked?(c.checked=!c.checked,d=c.checked):(c.checked=!0,d=c.checked)),this.requestUpdate())),T=!0;break;case"Escape":const U=_.composedPath().find(P=>P instanceof HTMLElement&&P.classList.contains("table-body-row"));U&&U.focus();break}T&&(_.stopPropagation(),_.preventDefault())},f=this._multiselect?this._generateTableTdCheckbox(c,d,p,h):x``,$=this._radioselect?this._generateTableTdRadio(c,d,p,h):x``,v=this._hasRowButton?this._generateTableTdButton(c,p,h):x``,m=this._hasRowActions?this._generateTableTdActions(c,p,h):x``,y=this._tableHeader.map(_=>{const C=T=>{c[T].value=!c[T].value;const D={detail:{action:"review",row:c},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onRowAction",D)),this.requestUpdate()},S={"table-body-column--text":c[_].type==="text","table-body-column--number":c[_].type==="number","table-body-column--link":c[_].type==="link","table-body-column--badge":c[_].type==="badge","table-body-column--result":c[_].type==="result","table-body-column--review":c[_].type==="review","table-body-column--progress":c[_].type==="progress","table-body-column--font-bold":c[_].fontType==="bold","table-body-column--font-black":c[_].fontType==="black","table-body-column--icon-right":c[_].iconRight};return x` - -
    - ${c[_].type==="text"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${c[_].badgeBefore?x` - - ${c[_].badgeTooltip?x` - - ${c[_].badgeTooltip} - - `:null} - - `:null} - - - - ${c[_].value===""?x`remove`:null} - ${c[_].value.length<=this._valueMaxLength?x`${c[_].value}`:x`${c[_].value.slice(0,this._valueMaxLength)}...`} - - ${c[_].valueTooltip?x` - - ${c[_].valueTooltip} - - `:null} - - `:c[_].type==="number"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${c[_].value} - `:c[_].type==="link"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - ${p?x` - ${c[_].value} - `:x` - - - ${c[_].value.length<=this._valueMaxLength?x`${c[_].value}`:x`${c[_].value.slice(0,this._valueMaxLength)}...`} - - ${c[_].valueTooltip?x` - - ${c[_].valueTooltip} - - `:null} - - `} - `:c[_].type==="badge"?x` - - `:c[_].type==="result"?x` - - ${c[_].value} - `:c[_].type==="actions"?this._generateTableTdSelfActions(c,_,c[_],p,h):c[_].type==="review"?x` - - `:c[_].type==="progress"?x` - ${c[_].icon?x` - ${c[_].icon} - `:null} - - `:null} -
    - - `}),w=x` - ${f} ${$} ${y} - ${v} ${m} - `;return a=!1,w})),t}_generateFilterChips(){let t;return this._filters&&(t=this._filters.map(a=>{const c=p=>{const b=p.target.getAttribute("term");typeof a=="string"?this._filters=this._filters.filter(g=>g!==b):this._filters=this._filters.filter(g=>g.value.trim()!==(b==null?void 0:b.trim())),this._emitChangeFilters(),this.requestUpdate()};return x` - - ${typeof a==="string"?x` - ${a} - - `:x` - ${a.icon} - ${a.value} - - `} - - `})),t}_clearFilters(){this._filters=[],this._emitChangeFilters(),this.requestUpdate()}_countRowsChecked(){let t=0;for(const a of this._pipeData)a.checked&&(t+=1);return t}_getRowsSelected(){const t=[];return this._pipeData.forEach(a=>{if(a.checked){const c={...a};c.checked=void 0,t.push(c)}}),t}_emitExpandAction(){const t={detail:this._expandTable,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onExpandTable",t)),this._expandTable=!this._expandTable,this.requestUpdate()}_emitOpenFilters(){const t={detail:!0,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onOpenFilters",t)),this.requestUpdate()}_emitChangeFilters(){const t={detail:this._filters,bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onChangeFilters",t)),this.requestUpdate()}_emitFooterAction(t){const a=this._getRowsSelected(),c={detail:{action:t,selectedRows:a},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onFooterAction",c)),this.requestUpdate()}render(){const t={"table--max-content-width":this._maxContentWidth,"table--sticky-columns":this._maxContentWidth&&this._stickyColumns,"table--sticky-columns--multiselect":this._maxContentWidth&&this._stickyColumns&&this._multiselect,"table--sticky-columns--radioselect":this._maxContentWidth&&this._stickyColumns&&this._radioselect},a={"table-body--align-left":this._data.length>0&&this._textAlign==="left","table-body--align-center":this._data.length>0&&this._textAlign==="center","table-body--align-right":this._data.length>0&&this._textAlign==="right","table-body--align-justify":this._data.length>0&&this._textAlign==="justify"};return x` -
    - ${this._hideHeader?null:x` -
    -
    -
    - ${this._headerTitle} -
    -
    - ${this._expandTable?x` - fullscreen - ${this._collapseLabel} - `:x` - fullscreen - ${this._expandLabel} - `} -
    -
    - - ${this._innerFilters?x` -
    -
    - -
    -
    -
    - `:x` -
    -
    -
    - ${this._filtersLabel}: -
    -
    - ${this._filters.length>0?x` ${this._generateFilterChips()} `:x` - - ${this._noFiltersLabel} - - `} -
    -
    - ${this._filters.length>0?x` - - `:null} -
    -
    - -
    - -
    -
    - `} -
    - `} - -
    -
    - - - ${this._generateTableHeaderHTML()} - - - ${this._customData?this._generateCustomTableBody():this._generateDefaultTableBody()} - -
    -
    - ${this._hasPaginator?x` - - `:null} -
    - - ${this._multiselect?x` - - `:null} -
    - `}}__decorateClass([n$1(booleanType)],Table.prototype,"hasPaginator");__decorateClass([n$1({type:Array})],Table.prototype,"data");__decorateClass([n$1({type:Array})],Table.prototype,"customData");__decorateClass([n$1({type:Array})],Table.prototype,"customTableHeader");__decorateClass([n$1({type:Array})],Table.prototype,"filters");__decorateClass([n$1({type:Number})],Table.prototype,"currentIndex");__decorateClass([n$1({type:Number})],Table.prototype,"pageSize");__decorateClass([n$1({type:String})],Table.prototype,"pageSizeOptions");__decorateClass([n$1({type:String})],Table.prototype,"resultstext");__decorateClass([n$1({type:String})],Table.prototype,"rowsperpagetext");__decorateClass([n$1({type:String})],Table.prototype,"textAlign");__decorateClass([n$1({type:String})],Table.prototype,"headerTitle");__decorateClass([n$1(booleanType)],Table.prototype,"hideHeader");__decorateClass([n$1(booleanType)],Table.prototype,"hideColumnHeader");__decorateClass([n$1(booleanType)],Table.prototype,"innerFilters");__decorateClass([n$1(booleanType)],Table.prototype,"expandTable");__decorateClass([n$1({type:String})],Table.prototype,"expandLabel");__decorateClass([n$1({type:String})],Table.prototype,"collapseLabel");__decorateClass([n$1({type:Number})],Table.prototype,"rowsOnCollapsed");__decorateClass([n$1({type:String})],Table.prototype,"filtersLabel");__decorateClass([n$1({type:String})],Table.prototype,"cleanFiltersLabel");__decorateClass([n$1({type:String})],Table.prototype,"selectedRowsLabel");__decorateClass([n$1({type:Number})],Table.prototype,"footerButtons");__decorateClass([n$1(booleanType)],Table.prototype,"maxContentWidth");__decorateClass([n$1(booleanType)],Table.prototype,"stickyColumns");__decorateClass([n$1(booleanType)],Table.prototype,"multiselect");__decorateClass([n$1(booleanType)],Table.prototype,"radioselect");__decorateClass([n$1(booleanType)],Table.prototype,"hasRowButton");__decorateClass([n$1({type:String})],Table.prototype,"rowButtonLabel");__decorateClass([n$1(booleanType)],Table.prototype,"hasRowActions");__decorateClass([n$1({type:Array})],Table.prototype,"rowActionsIcons");__decorateClass([n$1({type:String})],Table.prototype,"footerButtonPrimaryLabel");__decorateClass([n$1({type:String})],Table.prototype,"footerButtonSecondaryLabel");__decorateClass([n$1({type:String})],Table.prototype,"footerButtonAlternativeLabel");__decorateClass([n$1(booleanType)],Table.prototype,"enableRowActionsOnDisabled");__decorateClass([n$1(booleanType)],Table.prototype,"enableRowActionsOnDeleted");__decorateClass([n$1({type:Number})],Table.prototype,"valueMaxLength");registerCustomElement("dss-accordion",Accordion);registerCustomElement("dss-action-menu",ActionMenu);registerCustomElement("dss-action-menu-item",ActionMenuItem);registerCustomElement("dss-alert",Alert);registerCustomElement("dss-avatar",Avatar);registerCustomElement("dss-badge",Badge);registerCustomElement("dss-button",Button);registerCustomElement("dss-button-link",ButtonLink);registerCustomElement("dss-calendar",Calendar);registerCustomElement("dss-chat-message",ChatMessage);registerCustomElement("dss-chip",Chip);registerCustomElement("dss-custom-table",CustomTable);registerCustomElement("dss-datepicker",Datepicker_);registerCustomElement("dss-datepicker-range",DatepickerRange);registerCustomElement("dss-drawer",Drawer);registerCustomElement("dss-header",Header);registerCustomElement("dss-header-links",HeaderLinks);registerCustomElement("dss-header-menu-patient",HeaderMenuPatient);registerCustomElement("dss-header-menu-professional",HeaderMenuProfessional);registerCustomElement("dss-icon",Icon);registerCustomElement("dss-icon-badge",IconBadge);registerCustomElement("dss-icon-button",IconButton);registerCustomElement("dss-input",Input);registerCustomElement("dss-input-action",InputAction);registerCustomElement("dss-input-dropdown",InputDropdown);registerCustomElement("dss-input-switch",InputSwitch);registerCustomElement("dss-item-list",ItemList);registerCustomElement("dss-modal",Modal);registerCustomElement("dss-notification-badge",NotificationBadge);registerCustomElement("dss-pagination",Pagination);registerCustomElement("dss-progress-indicator",ProgressIndicator);registerCustomElement("dss-search-bar",SearchBar);registerCustomElement("dss-selector",Selector);registerCustomElement("dss-slider",Slider);registerCustomElement("dss-spinner",Spinner);registerCustomElement("dss-stepper",Stepper);registerCustomElement("dss-tabs-list",TabsList);registerCustomElement("dss-tabs-panel",TabsPanel);registerCustomElement("dss-table-header",TableHeader);registerCustomElement("dss-table-pagination",TablePagination);registerCustomElement("dss-textarea",Textarea);registerCustomElement("dss-tile",Tile);registerCustomElement("dss-timepicker",Timepicker);registerCustomElement("dss-tooltip",Tooltip);registerCustomElement("dss-popover",Popover);registerCustomElement("dss-popover-body",PopoverBody);registerCustomElement("dss-sidemenu",Sidemenu);registerCustomElement("dss-sidemenu-list",SidemenuList);registerCustomElement("dss-sidemenu-list-item",SidemenuListItem);registerCustomElement("dss-split-button",SplitButton);registerCustomElement("dss-user-feedback",UserFeedback);registerCustomElement("dss-upload-box",UploadBox);registerCustomElement("dss-card",Card);registerCustomElement("dss-card-body",CardBody);registerCustomElement("dss-card-description",CardDescription);registerCustomElement("dss-card-footer",CardFooter);registerCustomElement("dss-card-form",CardForm);registerCustomElement("dss-card-header",CardHeader);registerCustomElement("dss-card-highlights-item",CardHighlightsItem);registerCustomElement("dss-card-highlights",CardHighlights);registerCustomElement("dss-card-image",CardImage);registerCustomElement("dss-card-info-item",CardInfoItem);registerCustomElement("dss-card-info",CardInfo);registerCustomElement("dss-card-menu",CardMenu);registerCustomElement("dss-card-subtitle",CardSubitle);registerCustomElement("dss-card-tags",CardTags);registerCustomElement("dss-card-title",CardTitle);registerCustomElement("dss-date-picker",DatePicker);registerCustomElement("dss-dropdownlist",DropDownList);registerCustomElement("dss-input-field",InputField);registerCustomElement("dss-table",Table);registerCustomElement("dss-switch",Switch);const preview={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},options:{storySort:{order:["Introducció","Versions","Foundations","Components","Collections","Discontinued"]}}}};export{preview as default}; diff --git a/rc/assets/preview-C6tpAuDc.css b/rc/assets/preview-C6tpAuDc.css deleted file mode 100644 index 7711cbe..0000000 --- a/rc/assets/preview-C6tpAuDc.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.dss-sb-title{display:flex;align-items:center;gap:12px}.dss-sb-title>h1{margin:0!important;color:var(--color-neutral-900)}p{color:var(--color-neutral-900)!important}blockquote{border-left-color:var(--color-primary-500)!important}blockquote>p{color:var(--color-neutral-400)!important}code{font-size:12px!important;background-color:var(--color-primary-50)!important;border-color:var(--color-primary-100)!important}table{border-collapse:collapse;width:100%}table>thead>tr{border-top:0!important;border-bottom:2px solid var(--color-neutral-300)!important}table>thead>tr>th{border:0!important;font-size:12px;text-align:left}table>tbody>tr{border:0!important;font-size:12px;text-align:left;border-bottom:1px solid var(--color-neutral-50)!important}table>tbody>tr>td{border:0!important;font-size:12px;text-align:left}table>tbody>tr:nth-of-type(2n){background-color:transparent!important}.dss-sb-properties span{color:var(--color-orange-500)}.sb-table{text-align:left;border-collapse:collapse!important;text-indent:0;width:100%}.sb-table table,.sb-table tr,.sb-table td,.sb-table th{border:none!important}.sb-table tr{border:1px solid transparent;border-bottom:1px solid rgba(0,0,0,.1)!important;font-family:Fira Code VF,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.sb-table td:nth-child(2){font-size:90%}.sb-table tr:nth-of-type(2n){background-color:transparent!important}.sb-mb-2{margin-bottom:2rem!important}.innerZoomElementWrapper{display:flex;align-items:flex-end;flex-wrap:wrap}.elevations-box{width:250px;height:250px;background-color:#f5f5f5;border-radius:16px;display:flex;align-items:center;justify-content:center}.dss-module-header__container{min-width:500px}.exemple-container-toast-canvas{width:600px;height:100px;position:relative;overflow:hidden}.sb-landing p{font-size:16px!important}.sb-landing-links{display:flex!important;gap:24px!important;margin-top:32px!important}.sb-landing-links a{flex:1!important}dss-header:not(:defined),dss-sidemenu:not(:defined),dss-modal:not(:defined),dss-card:not(:defined),dss-popover:not(:defined),dss-datepicker-range:not(:defined){display:none}:root{--color-primary-50: #eff7ff;--color-primary-100: #bfddfa;--color-primary-200: #8fc2f5;--color-primary-300: #60a8f0;--color-primary-400: #308deb;--color-primary-500: #0073e6;--color-primary-600: #0064c7;--color-primary-700: #0054a8;--color-primary-800: #004589;--color-primary-900: #00356a;--color-red-50: #fff6f6;--color-red-100: #f0c5c5;--color-red-200: #e29494;--color-red-300: #d36262;--color-red-400: #c53131;--color-red-500: #b60000;--color-red-600: #a20707;--color-red-700: #8e0f0f;--color-red-800: #791616;--color-red-900: #651d1d;--color-orange-50: #ffecc7;--color-orange-100: #ffe1a6;--color-orange-200: #fed585;--color-orange-300: #feca64;--color-orange-400: #fdbe43;--color-orange-500: #fdb322;--color-orange-600: #cc8d1a;--color-orange-700: #9b6711;--color-orange-800: #6a4109;--color-orange-900: #391b00;--color-yellow-50: #FFFBE5;--color-yellow-100: #FFF5C0;--color-yellow-200: #FFEF9B;--color-yellow-300: #FFE976;--color-yellow-400: #FFE351;--color-yellow-500: #FFDD2C;--color-yellow-600: #D2B524;--color-yellow-700: #A48D1B;--color-yellow-800: #766512;--color-yellow-900: #483D09;--color-green-50: #f1fcf6;--color-green-100: #c1e5d1;--color-green-200: #91ceac;--color-green-300: #60b787;--color-green-400: #30a062;--color-green-500: #00893d;--color-green-600: #027937;--color-green-700: #046931;--color-green-800: #05592a;--color-green-900: #074924;--color-blue-50: #ecf9ff;--color-blue-100: #bde0f2;--color-blue-200: #8ec7e5;--color-blue-300: #5eaed8;--color-blue-400: #2f95cb;--color-blue-500: #007cbe;--color-blue-600: #006ba6;--color-blue-700: #005a8f;--color-blue-800: #004877;--color-blue-900: #00375f;--color-purple-50: #fcf2fd;--color-purple-100: #ebcaf7;--color-purple-200: #d9a1f1;--color-purple-300: #c879eb;--color-purple-400: #b651e4;--color-purple-500: #a528de;--color-purple-600: #8f1ec3;--color-purple-700: #7914a8;--color-purple-800: #630a8c;--color-purple-900: #4d0071;--color-neutral-50: #f5f5f5;--color-neutral-100: #d8d8d8;--color-neutral-200: #bbb;--color-neutral-300: #9f9f9f;--color-neutral-400: #828282;--color-neutral-500: #656565;--color-neutral-600: #535353;--color-neutral-700: #414141;--color-neutral-800: #2f2f2f;--color-neutral-900: #1d1d1d;--color-white: #fff;--color-black: #000;--color-salut: #6AAAE4;--color-prim-salut: #0073e6;--color-headline: var(--color-neutral-900);--color-subtitle: var(--color-neutral-700);--color-body: var(--color-neutral-500)}:root{--dss-spacing-tiny: .125rem;--dss-spacing-xxs: .25rem;--dss-spacing-xs: .5rem;--dss-spacing-sm: .75rem;--dss-spacing-md: 1rem;--dss-spacing-lg: 1.5rem;--dss-spacing-xl: 2rem;--dss-spacing-xxl: 2.5rem;--dss-spacing-hg: 3rem;--dss-spacing-xhg: 4rem;--dss-spacing-xxhg: 5rem}:root{--dss-border-width-sm: .0625rem;--dss-border-width-md: .125rem;--dss-border-width-lg: .25rem;--dss-radius-xs: .25rem;--dss-radius-sm: .5rem;--dss-radius-md:.75rem;--dss-radius-lg: 1rem;--dss-radius-xl: 1.5rem;--dss-radius-full: 50%}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}*,*:after,*:before{margin:0;padding:0;box-sizing:border-box;font-family:var(--font-family);scrollbar-width:thin;scrollbar-color:var(--color-neutral-100) var(--color-white)}*::-webkit-scrollbar{width:6px}*::-webkit-scrollbar-track{background:var(--color-white);border-radius:128px}*::-webkit-scrollbar-thumb{background-color:var(--color-neutral-100);border-radius:128px}img{width:auto;max-width:100%;height:auto}.dss-container{width:calc(100% - 3rem);max-width:90rem;margin:auto}.dss-grid{width:calc(100% - 3rem);max-width:90rem;margin:auto;display:grid;grid-template-columns:repeat(12,1fr);gap:1.5rem}.dss-grid__cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}@media screen and (min-width: 62rem){.dss-grid__cols--xl-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--xl-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--xl-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--xl-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--xl-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--xl-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--xl-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--xl-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols--xl-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols--xl-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols--xl-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols--xl-12{grid-template-columns:repeat(12,minmax(0,1fr))}}@media screen and (min-width: 48rem) and (max-width: 62rem){.dss-grid__cols--lg-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--lg-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--lg-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--lg-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--lg-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--lg-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--lg-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--lg-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols--lg-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols--lg-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols--lg-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols--lg-12{grid-template-columns:repeat(12,minmax(0,1fr))}}@media screen and (max-width: 48rem){.dss-grid{grid-template-columns:repeat(8,1fr)}.dss-grid__cols--md-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--md-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--md-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--md-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--md-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--md-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--md-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--md-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media screen and (max-width: 20rem){.dss-grid{grid-template-columns:repeat(4,1fr);gap:1rem}.dss-grid__cols--sm-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--sm-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--sm-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--sm-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--sm,.dss-user-feedback__title,h4,.dss-headline--md,.dss-modal__content .dss-modal__title,h3,.dss-headline--lg,h2,.dss-headline--xl,h1{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-breadcrumb{display:flex;align-items:center;width:100%;gap:.5rem;height:-moz-fit-content;height:fit-content}.dss-breadcrumb__item,.dss-breadcrumb__item:last-of-type{font-size:.875rem;cursor:pointer;color:var(--color-neutral-500);font-weight:var(--font-semibold);display:flex;align-self:center;text-decoration:none}.dss-breadcrumb__item:hover{transition:all .3s linear}.dss-breadcrumb__item:hover,.dss-breadcrumb__item:focus{color:var(--color-primary-500)}.dss-breadcrumb__item:active{color:var(--color-primary-400)}.dss-breadcrumb__item:not(:first-child):before{font-family:Material Symbols Rounded;content:"keyboard_arrow_right";text-align:center;font-size:1rem;margin-right:.5rem;font-weight:var(--font-semibold);color:var(--color-neutral-500)}.dss-breadcrumb__item:last-of-type{color:var(--color-neutral-900)}.dss-breadcrumb__item:last-of-type:hover,.dss-breadcrumb__item:last-of-type:focus{color:var(--color-primary-500)}.dss-breadcrumb__item:last-of-type:active{color:var(--color-primary-400)}button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-chip{box-sizing:border-box;padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:.875rem;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-primary-700);color:var(--color-primary-700);display:flex;align-items:center;line-height:var(--line-24);background-color:var(--color-white);transition:.3s all ease-in;gap:var(--dss-spacing-xxs);cursor:default;width:-moz-fit-content;width:fit-content;height:32px;overflow:hidden}.dss-chip__icon{font-size:1rem}.dss-chip__icon-button{box-sizing:border-box;color:var(--color-primary-700);font-size:1rem;padding:var(--dss-spacing-tiny)}.dss-chip__icon-button:hover{background-color:var(--color-primary-100)}.dss-chip__icon-button:focus,.dss-chip__icon-button:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-chip__icon-button:disabled{color:var(--color-neutral-500)}.dss-chip.disabled{cursor:not-allowed;outline:none;border-color:var(--color-neutral-500);color:var(--color-neutral-500);background-color:var(--color-white)}.dss-chip.disabled .dss-chip__icon-button{pointer-events:none}.dss-chip.dss-chip--sm{font-size:.75rem;height:24px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16);gap:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon){padding-left:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm .dss-chip__icon-button{padding:.0625rem}.dss-chip.dss-chip--selected,.dss-chip.dss-chip--active{box-shadow:none;background-color:var(--color-primary-100)}.dss-chip.dss-chip--selected:not(.disabled):active,.dss-chip.dss-chip--active:not(.disabled):active{background-color:var(--color-primary-50);transition:none}.dss-chip:not(.disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200);transition:none;box-shadow:none}.dss-chip:not(.disabled):hover{box-shadow:none;background-color:var(--color-primary-50)}.dss-chip:not(.disabled):active{background-color:var(--color-primary-50);transition:none}.dss-chip:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xs)}.dss-chip:has(.dss-chip__icon){padding-left:var(--dss-spacing-xs)}.dss-chip--selected.disabled,.dss-chip--active.disabled{background-color:var(--color-white)}.dss-content-switcher{border-radius:6.25rem;background-color:var(--color-neutral-50);display:flex;gap:.25rem;padding:.25rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-content-switcher__item{box-sizing:border-box;border-radius:6.25rem;position:relative;transition:.3s all ease-in;min-width:90px;width:-moz-fit-content;width:fit-content;display:flex}.dss-content-switcher__item input[type=radio]{height:100%;position:absolute;width:100%;opacity:0;cursor:pointer;border-radius:6.25rem}.dss-content-switcher__item input[type=radio]:checked+label{background-color:var(--color-white)}.dss-content-switcher__item input[type=radio]:hover:not(:checked):not(:disabled)+label{color:var(--color-primary-600)}.dss-content-switcher__item input[type=radio]:active+label{color:var(--color-neutral-900)}.dss-content-switcher__item input[type=radio]:disabled{cursor:not-allowed}.dss-content-switcher__item input[type=radio]:disabled label{color:var(--color-neutral-500);cursor:not-allowed}.dss-content-switcher__item input[type=radio]:focus-visible:enabled+label{outline:.25rem solid var(--color-blue-200);color:var(--color-neutral-700)}.dss-content-switcher__item label{box-sizing:border-box;font-size:.75rem;line-height:var(--line-16);font-weight:var(--font-semibold);border-radius:6.25rem;height:100%;min-width:90px;width:-moz-fit-content;width:fit-content;padding:var(--dss-spacing-xs);display:flex;justify-content:center;align-items:center;transition:.3s all ease-in;color:var(--color-neutral-700)}.dss-decorative-icon{height:24px;width:24px;min-width:24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;border-radius:var(--dss-radius-xs);background-color:var(--color-primary-50);color:var(--color-primary-500);font-size:var(--icon-size-sm)}.dss-decorative-icon--md{height:32px;width:32px;min-width:32px;font-size:var(--icon-size-md);border-radius:var(--dss-radius-xs)}.dss-decorative-icon--lg{height:40px;width:40px;min-width:40px;font-size:var(--icon-size-lg);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--xl{height:48px;width:48px;min-width:48px;font-size:var(--icon-size-xl);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-decorative-icon--success{background-color:var(--color-green-50);color:var(--color-green-500)}.dss-decorative-icon--error{background-color:var(--color-red-50);color:var(--color-red-500)}.dss-decorative-icon--info{background-color:var(--color-blue-50);color:var(--color-blue-500)}hr,.dss-divider--dashed,.dss-divider--bold,.dss-divider{margin-top:2rem;margin-bottom:2rem;border-width:.0625rem;border-style:solid;border-color:var(--color-neutral-100)}.dss-divider--bold{border-width:.125rem}.dss-divider--dashed{border-style:dashed}.dss-floating-button{display:flex;align-items:center;justify-content:space-between;background-color:var(--color-primary-100);color:var(--color-primary-700);border:none;font-weight:var(--font-semibold);cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-floating-button:hover:enabled{background-color:var(--color-primary-200)}.dss-floating-button:active:enabled{background-color:var(--color-primary-50);transition:none}.dss-floating-button:disabled{opacity:.4;cursor:not-allowed}.dss-floating-button:focus-visible:enabled{outline:.25rem solid var(--color-blue-200);transition:none}.dss-floating-button--sm{padding:.75rem;font-size:.875rem;line-height:1.5rem;gap:.5rem;border-radius:.75rem}.dss-floating-button--sm .dss-floating-button__icon{font-size:1rem}.dss-floating-button--sm:has(.dss-floating-button__text){padding-top:.5rem;padding-bottom:.5rem;padding-right:1rem}.dss-floating-button--md{padding:1rem;font-size:1rem;line-height:1.5rem;gap:.75rem;border-radius:1rem}.dss-floating-button--md .dss-floating-button__icon{font-size:1.5rem}.dss-floating-button--md:has(.dss-floating-button__text){padding-right:1.25rem}.dss-floating-button--lg{padding:1.25rem;font-size:1.25rem;line-height:2rem;gap:.75rem;border-radius:1.25rem}.dss-floating-button--lg .dss-floating-button__icon{font-size:2rem}.dss-footer__container{align-items:center;padding:1.5rem;display:flex;flex-direction:column;box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}@media (min-width: 48rem){.dss-footer__container{padding:1rem 1.5rem;flex-direction:row;width:100%}}.dss-footer__logo-content{height:1.5rem;display:flex;margin-bottom:1.5rem}@media (min-width: 48rem){.dss-footer__logo-content{margin-bottom:0}}.dss-footer__content{display:flex;align-items:center;justify-content:center;width:100%}@media (min-width: 48rem){.dss-footer__content{justify-content:space-between}}.dss-footer__content span{display:none}@media (min-width: 48rem){.dss-footer__content span{display:block;position:relative;margin-left:2rem}.dss-footer__content span:before{content:"";width:.0625rem;height:1.5rem;background-color:var(--color-neutral-100);position:absolute;left:-1rem;top:-.25rem;margin:auto}}.dss-footer__link-content{display:flex;flex-direction:column;align-items:center;gap:1rem;font-size:.875rem;font-weight:var(--font-semibold)}@media (min-width: 48rem){.dss-footer__link-content{flex-direction:row;margin-left:auto;margin-right:0;gap:1.5rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}:root{--legend-bg-color: var(--color-neutral-100)}.dss-legend{display:flex;flex-direction:row;gap:1.5rem;height:-moz-fit-content;height:fit-content}.dss-legend--column{flex-direction:column;gap:.75rem}.dss-legend__item{list-style:none;display:flex}.dss-legend__item:before{content:"";display:inline-block;background-color:var(--legend-bg-color);width:1rem;height:1rem;border-radius:.25rem;margin-right:.5rem}.dss-list{list-style:none;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;list-style-position:inside!important;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-list__item{font-size:.875rem;font-weight:var(--font-regular);line-height:var(--line-24)}.dss-list.dss-list--ordered{list-style:decimal}.dss-list.dss-list--unordered>.dss-list__item:before{content:"·";margin-right:.25rem}.dss-list-menu{display:flex;justify-content:flex-start;flex-direction:column;min-width:160px;width:100%;color:var(--color-neutral-900);gap:var(--dss-spacing-xxs)}.dss-list-menu-header{display:flex;justify-content:flex-start;flex-direction:column;padding:0 var(--dss-spacing-md) var(--dss-spacing-md) var(--dss-spacing-sm);gap:var(--dss-spacing-xxs)}.dss-list-menu-header-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);box-sizing:border-box;color:var(--color-neutral-900);font-size:1.25rem;line-height:1.875rem;font-weight:var(--font-bold);padding:0;overflow:hidden}.dss-list-menu-header-description{box-sizing:border-box;padding:0;font-size:.875rem;line-height:1.5rem}.dss-list-menu-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);box-sizing:border-box;font-size:1.25rem;line-height:1.875rem;font-weight:var(--font-bold);padding:var(--dss-spacing-sm) var(--dss-spacing-md);height:40px;overflow:hidden}.dss-list-menu-description{box-sizing:border-box;padding:0 var(--dss-spacing-md);font-size:.875rem;line-height:1.5rem}.dss-list-menu-nav{display:flex;justify-content:flex-start;flex-direction:column;gap:var(--dss-spacing-xxs);margin:0;padding:0;list-style:none}.dss-list-menu-item{position:relative;display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);min-width:10rem;box-sizing:border-box;width:100%;max-width:100%;height:40px;overflow:hidden;font-size:.875rem;line-height:1.5rem;font-weight:var(--font-semibold);color:var(--color-neutral-900);border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-sm) var(--dss-spacing-xs) var(--dss-spacing-sm) var(--dss-spacing-md);background-color:transparent;transition:background-color .3s ease-in-out,color .3s ease-in-out;cursor:pointer}.dss-list-menu-item:not(.dss-list-menu-item--disabled):hover{background-color:var(--color-primary-100)}.dss-list-menu-item:not(.dss-list-menu-item--disabled):active{background-color:var(--color-primary-50)}.dss-list-menu-item:not(.dss-list-menu-item--disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-list-menu-item.dss-list-menu-item--selected{background-color:var(--color-primary-50)}.dss-list-menu-item.dss-list-menu-item--disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500);font-weight:var(--font-regular)}.dss-list-menu-item__content{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-list-menu-item__content-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;height:24px;overflow:hidden}.dss-list-menu-item__action{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-module-header__container{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dss-module-header:first-child{width:100%}.dss-module-header__child-container{display:inline-flex;align-items:center;flex-wrap:wrap;flex-shrink:0;gap:1rem}.dss-module-header__child-container .dss-module-header__vertical-line{display:inline-block;height:1.5rem;width:.0625rem;background-color:var(--color-neutral-100);margin:auto}.dss-skeleton{display:block;width:100%;min-width:20rem}.dss-skeleton__item{display:inline-block;height:2rem;position:relative;overflow:hidden;background-color:#d8d8d8;border-radius:.5rem;width:100%}.dss-skeleton__item:not(:first-child){margin-top:1rem}.dss-skeleton__item:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0);animation:shimmer 2s infinite;content:""}@keyframes shimmer{to{transform:translate(100%)}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-task{display:flex;align-items:center;gap:1rem;height:-moz-fit-content;height:fit-content}.dss-task__item{position:relative}.dss-task__item .dss-task__selector{position:absolute;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;width:100%;height:100%;border-color:transparent;background-color:transparent;cursor:pointer}.dss-task__item .dss-task__selector:hover+.dss-task__content,.dss-task__item .dss-task__selector:checked+.dss-task__content{box-shadow:inset 0 0 0 .125rem var(--color-primary-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a;animation:.3s linear fadein}.dss-task__item .dss-task__selector:active+.dss-task__content{box-shadow:inset 0 0 0 .125rem var(--color-primary-200),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-task__item .dss-task__selector:disabled+.dss-task__content{opacity:.4;cursor:not-allowed}.dss-task__item .dss-task__selector:focus-visible:enabled+.dss-task__content{box-shadow:inset 0 0 0 .25rem var(--color-blue-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-task__item .dss-task__content{width:7.5rem;min-height:4.5rem;overflow:hidden;background-color:var(--color-white);border-radius:.5rem;padding:.5rem 1rem;display:flex;flex-direction:column}.dss-task__item .dss-task__content .dss-task__title{text-align:center;margin-bottom:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-task__item .dss-task__content .dss-badge,.dss-task__item .dss-task__content .dss-table__badge{margin:0 auto;min-width:-moz-fit-content;min-width:fit-content}@keyframes fadein{0%{box-shadow:inset 0 0 0 .125rem transparent,0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}to{box-shadow:inset 0 0 0 .125rem var(--color-primary-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-elevation--md,.dss-tooltip:after,.dss-tooltip:before,.dss-toast,.dss-task__item .dss-task__content{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.dss-toast{width:-moz-fit-content;width:fit-content;border-radius:.5rem;padding:1rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;position:absolute;bottom:1.875rem;left:1.875rem;transform:translate(calc(-100% - 2.5rem));transition:all .5s cubic-bezier(.68,-.55,.25,1.35)}.dss-toast .dss-toast__content{display:flex;gap:.5rem}.dss-toast .dss-toast__content .dss-toast__text,.dss-toast .dss-toast__content .dss-toast__icon{color:var(--color-white)}.dss-toast .dss-toast__content .dss-toast__icon{font-weight:var(--font-regular)!important}.dss-toast:has(.dss-toast__icon-button){padding-top:.75rem;padding-bottom:.75rem;padding-right:.75rem}.dss-toast--open{transform:translate(0)}.dss-toast--error{background-color:var(--color-red-500)}.dss-toast--warning{background-color:var(--color-yellow-500)}.dss-toast--warning .dss-toast__content .dss-toast__text,.dss-toast--warning .dss-toast__content .dss-toast__icon{color:var(--color-yellow-900)}.dss-toast--success{background-color:var(--color-green-500)}.dss-toast--info{background-color:var(--color-blue-500)}.dss-action-menu{min-width:160px;max-width:280px;box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a;border-radius:.5rem;list-style-type:none;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-action-menu:has(.disabled){cursor:not-allowed}.dss-action-menu__item{padding:.75rem 2rem .75rem 1rem;cursor:pointer;font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-24);color:var(--color-neutral-500);transition:.3s all ease-in;display:flex;align-items:center;background-color:var(--color-white);box-shadow:0 .0625rem 0 0 var(--color-neutral-100),0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item.disabled{color:#c1c1c1;pointer-events:none}.dss-action-menu__item.disabled:focus-visible{color:#c1c1c1;outline:none}.dss-action-menu__item>[class^=material-]{margin-right:.625rem;font-size:1.5rem}.dss-action-menu__item:first-child{border-radius:.5rem .5rem 0 0;box-shadow:0 .0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:first-child:active{box-shadow:0 .0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:last-child{border-radius:0 0 .5rem .5rem;box-shadow:0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:last-child:active{box-shadow:0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:only-child{box-shadow:none;border-radius:.5rem}.dss-action-menu__item:hover{color:var(--color-neutral-700);background-color:var(--color-neutral-100)}.dss-action-menu__item:active{background-color:var(--color-neutral-50);color:var(--color-neutral-700);transition:none;box-shadow:0 .0625rem 0 0 var(--color-neutral-100),0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:focus-visible{color:var(--color-neutral-700);outline:.25rem solid var(--color-blue-200);transition:none}.dss-action-menu__item--error{color:var(--color-red-500)}.dss-action-menu__item--error:focus-visible{color:var(--color-red-500)}.dss-action-menu__item--error:hover{color:var(--color-white);background-color:var(--color-red-500)}.dss-action-menu__item--error:active{color:var(--color-white);background-color:var(--color-red-400);transition:none}.dss-action-menu__item--error.disabled{color:#ee9597}.dss-action-menu__item--error.disabled:focus-visible{color:#ee9597;outline:none}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-tile__content__text .dss-tile__title,.dss-alert,.dss-toast .dss-toast__content{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-alert{padding:.75rem;border-radius:.5rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;display:flex;align-items:center;justify-content:space-between;gap:1rem}.dss-alert.dss-alert--error{color:var(--color-red-700);background-color:var(--color-red-50);border:.0625rem solid var(--color-red-300)}.dss-alert.dss-alert--warning{color:var(--color-yellow-700);background-color:var(--color-yellow-50);border:.0625rem solid var(--color-yellow-500)}.dss-alert.dss-alert--success{color:var(--color-green-700);background-color:var(--color-green-50);border:.0625rem solid var(--color-green-300)}.dss-alert.dss-alert--info{color:var(--color-blue-700);background-color:var(--color-blue-50);border:.0625rem solid var(--color-blue-300)}.dss-alert__message{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.dss-alert__message i{font-size:1.5rem;font-weight:var(--font-semibold)}.dss-alert:not(.dss-alert--lg):not(.dss-alert--md):not(.dss-alert--sm):has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-top:.5rem;padding-bottom:.5rem;padding-right:.5rem}.dss-alert.dss-alert--lg,.dss-alert.dss-alert--md,.dss-alert.dss-alert--sm{display:flex;align-items:flex-start;gap:var(--dss-spacing-xs);box-sizing:border-box}.dss-alert.dss-alert--lg .dss-alert__icon,.dss-alert.dss-alert--md .dss-alert__icon,.dss-alert.dss-alert--sm .dss-alert__icon{display:flex;align-items:center}.dss-alert.dss-alert--lg .dss-alert__text,.dss-alert.dss-alert--md .dss-alert__text,.dss-alert.dss-alert--sm .dss-alert__text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dss-alert.dss-alert--lg .dss-alert__action,.dss-alert.dss-alert--md .dss-alert__action,.dss-alert.dss-alert--sm .dss-alert__action{display:flex;align-items:center}.dss-alert.dss-alert--lg{padding-top:0;padding-bottom:0;min-height:40px;font-size:14px}.dss-alert.dss-alert--lg .dss-alert__icon{height:38px}.dss-alert.dss-alert--lg .dss-alert__text{padding:7px 0}.dss-alert.dss-alert--lg .dss-alert__action{height:38px}.dss-alert.dss-alert--md{padding-top:0;padding-bottom:0;min-height:32px;font-size:12px;line-height:16px}.dss-alert.dss-alert--md .dss-alert__icon{height:30px}.dss-alert.dss-alert--md .dss-alert__text{padding:7px 0}.dss-alert.dss-alert--md .dss-alert__action{height:30px}.dss-alert.dss-alert--sm{padding-top:0;padding-bottom:0;min-height:24px;font-size:12px;line-height:16px}.dss-alert.dss-alert--sm .dss-alert__icon{display:none}.dss-alert.dss-alert--sm .dss-alert__text{padding:3px 0}.dss-alert.dss-alert--sm .dss-alert__action{height:22px}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button),.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-right:var(--dss-spacing-tiny);padding-top:0;padding-bottom:0}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span,.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span{margin-right:var(--dss-spacing-tiny)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span{margin-right:var(--dss-spacing-xs)}.dss-badge--danger.dss-badge--dot{background-color:var(--color-red-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger .dss-icon-button,.dss-badge--danger .dss-table__badge__icon-button,.dss-badge--danger .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button,.dss-badge--danger .dss-chip__icon-button,.dss-badge--danger .dss-toast__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger .dss-icon-button i,.dss-badge--danger .dss-table__badge__icon-button i,.dss-badge--danger .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button i,.dss-badge--danger .dss-chip__icon-button i,.dss-badge--danger .dss-toast__icon-button i{font-size:inherit}.dss-badge--danger-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-low .dss-icon-button,.dss-badge--danger-low .dss-table__badge__icon-button,.dss-badge--danger-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button,.dss-badge--danger-low .dss-chip__icon-button,.dss-badge--danger-low .dss-toast__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger-low .dss-icon-button i,.dss-badge--danger-low .dss-table__badge__icon-button i,.dss-badge--danger-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button i,.dss-badge--danger-low .dss-chip__icon-button i,.dss-badge--danger-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--danger-high.dss-badge--dot{background-color:var(--color-red-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-high .dss-icon-button,.dss-badge--danger-high .dss-table__badge__icon-button,.dss-badge--danger-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button,.dss-badge--danger-high .dss-chip__icon-button,.dss-badge--danger-high .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--danger-high .dss-icon-button i,.dss-badge--danger-high .dss-table__badge__icon-button i,.dss-badge--danger-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button i,.dss-badge--danger-high .dss-chip__icon-button i,.dss-badge--danger-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate.dss-badge--dot{background-color:var(--color-orange-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate .dss-icon-button,.dss-badge--moderate .dss-table__badge__icon-button,.dss-badge--moderate .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button,.dss-badge--moderate .dss-chip__icon-button,.dss-badge--moderate .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate .dss-icon-button i,.dss-badge--moderate .dss-table__badge__icon-button i,.dss-badge--moderate .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button i,.dss-badge--moderate .dss-chip__icon-button i,.dss-badge--moderate .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low .dss-icon-button,.dss-badge--moderate-low .dss-table__badge__icon-button,.dss-badge--moderate-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button,.dss-badge--moderate-low .dss-chip__icon-button,.dss-badge--moderate-low .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-low .dss-icon-button i,.dss-badge--moderate-low .dss-table__badge__icon-button i,.dss-badge--moderate-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button i,.dss-badge--moderate-low .dss-chip__icon-button i,.dss-badge--moderate-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate-high.dss-badge--dot{background-color:var(--color-orange-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high .dss-icon-button,.dss-badge--moderate-high .dss-table__badge__icon-button,.dss-badge--moderate-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button,.dss-badge--moderate-high .dss-chip__icon-button,.dss-badge--moderate-high .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-high .dss-icon-button i,.dss-badge--moderate-high .dss-table__badge__icon-button i,.dss-badge--moderate-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button i,.dss-badge--moderate-high .dss-chip__icon-button i,.dss-badge--moderate-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight .dss-icon-button,.dss-badge--slight .dss-table__badge__icon-button,.dss-badge--slight .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button,.dss-badge--slight .dss-chip__icon-button,.dss-badge--slight .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight .dss-icon-button i,.dss-badge--slight .dss-table__badge__icon-button i,.dss-badge--slight .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button i,.dss-badge--slight .dss-chip__icon-button i,.dss-badge--slight .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight-low .dss-icon-button,.dss-badge--slight-low .dss-table__badge__icon-button,.dss-badge--slight-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button,.dss-badge--slight-low .dss-chip__icon-button,.dss-badge--slight-low .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button i,.dss-badge--slight-low .dss-table__badge__icon-button i,.dss-badge--slight-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button i,.dss-badge--slight-low .dss-chip__icon-button i,.dss-badge--slight-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight-high .dss-icon-button,.dss-badge--slight-high .dss-table__badge__icon-button,.dss-badge--slight-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button,.dss-badge--slight-high .dss-chip__icon-button,.dss-badge--slight-high .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button i,.dss-badge--slight-high .dss-table__badge__icon-button i,.dss-badge--slight-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button i,.dss-badge--slight-high .dss-chip__icon-button i,.dss-badge--slight-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--correct .dss-icon-button,.dss-badge--correct .dss-table__badge__icon-button,.dss-badge--correct .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button,.dss-badge--correct .dss-chip__icon-button,.dss-badge--correct .dss-toast__icon-button{font-size:inherit;color:var(--color-green-900)}.dss-badge--correct .dss-icon-button i,.dss-badge--correct .dss-table__badge__icon-button i,.dss-badge--correct .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button i,.dss-badge--correct .dss-chip__icon-button i,.dss-badge--correct .dss-toast__icon-button i{font-size:inherit}.dss-badge--undeterminated .dss-icon-button,.dss-badge--undeterminated .dss-table__badge__icon-button,.dss-badge--undeterminated .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button,.dss-badge--undeterminated .dss-chip__icon-button,.dss-badge--undeterminated .dss-toast__icon-button{font-size:inherit;color:var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button i,.dss-badge--undeterminated .dss-table__badge__icon-button i,.dss-badge--undeterminated .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button i,.dss-badge--undeterminated .dss-chip__icon-button i,.dss-badge--undeterminated .dss-toast__icon-button i{font-size:inherit}.dss-badge--critic.dss-badge--outline .dss-icon-button,.dss-badge--critic.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--critic.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic.dss-badge--outline .dss-tile__icon-button,.dss-badge--critic.dss-badge--outline .dss-chip__icon-button,.dss-badge--critic.dss-badge--outline .dss-toast__icon-button{color:var(--color-red-800)}.dss-badge--critic .dss-icon-button,.dss-badge--critic .dss-table__badge__icon-button,.dss-badge--critic .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button,.dss-badge--critic .dss-chip__icon-button,.dss-badge--critic .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--critic .dss-icon-button i,.dss-badge--critic .dss-table__badge__icon-button i,.dss-badge--critic .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button i,.dss-badge--critic .dss-chip__icon-button i,.dss-badge--critic .dss-toast__icon-button i{font-size:inherit}.dss-badge--alert.dss-badge--outline .dss-icon-button,.dss-badge--alert.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--alert.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert.dss-badge--outline .dss-tile__icon-button,.dss-badge--alert.dss-badge--outline .dss-chip__icon-button,.dss-badge--alert.dss-badge--outline .dss-toast__icon-button{color:var(--color-yellow-800)}.dss-badge--alert .dss-icon-button,.dss-badge--alert .dss-table__badge__icon-button,.dss-badge--alert .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button,.dss-badge--alert .dss-chip__icon-button,.dss-badge--alert .dss-toast__icon-button{font-size:inherit;color:var(--color-black)}.dss-badge--alert .dss-icon-button i,.dss-badge--alert .dss-table__badge__icon-button i,.dss-badge--alert .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button i,.dss-badge--alert .dss-chip__icon-button i,.dss-badge--alert .dss-toast__icon-button i{font-size:inherit}.dss-badge--ideal.dss-badge--outline .dss-icon-button,.dss-badge--ideal.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal.dss-badge--outline .dss-tile__icon-button,.dss-badge--ideal.dss-badge--outline .dss-chip__icon-button,.dss-badge--ideal.dss-badge--outline .dss-toast__icon-button{color:var(--color-green-800)}.dss-badge--ideal .dss-icon-button,.dss-badge--ideal .dss-table__badge__icon-button,.dss-badge--ideal .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button,.dss-badge--ideal .dss-chip__icon-button,.dss-badge--ideal .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--ideal .dss-icon-button i,.dss-badge--ideal .dss-table__badge__icon-button i,.dss-badge--ideal .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button i,.dss-badge--ideal .dss-chip__icon-button i,.dss-badge--ideal .dss-toast__icon-button i{font-size:inherit}.dss-badge--info.dss-badge--outline .dss-icon-button,.dss-badge--info.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info.dss-badge--outline .dss-tile__icon-button,.dss-badge--info.dss-badge--outline .dss-chip__icon-button,.dss-badge--info.dss-badge--outline .dss-toast__icon-button{color:var(--color-blue-800)}.dss-badge--info .dss-icon-button,.dss-badge--info .dss-table__badge__icon-button,.dss-badge--info .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button,.dss-badge--info .dss-chip__icon-button,.dss-badge--info .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info .dss-icon-button i,.dss-badge--info .dss-table__badge__icon-button i,.dss-badge--info .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button i,.dss-badge--info .dss-chip__icon-button i,.dss-badge--info .dss-toast__icon-button i{font-size:inherit}.dss-badge--info-alt.dss-badge--outline .dss-icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt.dss-badge--outline .dss-tile__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-chip__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-toast__icon-button{color:var(--color-purple-800)}.dss-badge--info-alt .dss-icon-button,.dss-badge--info-alt .dss-table__badge__icon-button,.dss-badge--info-alt .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button,.dss-badge--info-alt .dss-chip__icon-button,.dss-badge--info-alt .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info-alt .dss-icon-button i,.dss-badge--info-alt .dss-table__badge__icon-button i,.dss-badge--info-alt .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button i,.dss-badge--info-alt .dss-chip__icon-button i,.dss-badge--info-alt .dss-toast__icon-button i{font-size:inherit}.dss-badge--neutral.dss-badge--outline .dss-icon-button,.dss-badge--neutral.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral.dss-badge--outline .dss-tile__icon-button,.dss-badge--neutral.dss-badge--outline .dss-chip__icon-button,.dss-badge--neutral.dss-badge--outline .dss-toast__icon-button{color:var(--color-neutral-900)}.dss-badge--neutral .dss-icon-button,.dss-badge--neutral .dss-table__badge__icon-button,.dss-badge--neutral .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button,.dss-badge--neutral .dss-chip__icon-button,.dss-badge--neutral .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--neutral .dss-icon-button i,.dss-badge--neutral .dss-table__badge__icon-button i,.dss-badge--neutral .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button i,.dss-badge--neutral .dss-chip__icon-button i,.dss-badge--neutral .dss-toast__icon-button i{font-size:inherit}button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--info:disabled,button.dss-table__button--info:disabled,.dss-toast--info button.dss-toast__button:disabled,button.dss-button--success:disabled,button.dss-table__button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--warning:disabled,button.dss-table__button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--error:disabled,button.dss-table__button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-table__button--primary:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}.dss-button-link{display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in}.dss-button-link:visited{color:var(--color-purple-700)}.dss-button-link:hover{color:var(--color-primary-600)}.dss-button-link:active{color:var(--color-primary-400)}.dss-button-link:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-button-link.dss-button-link--disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-button-link .dss-button-link-text{text-decoration:underline}.dss-button-link--icon-right{flex-direction:row-reverse}.dss-input::-webkit-outer-spin-button,.dss-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dss-input[type=number]{-moz-appearance:textfield}.dss-input::-moz-placeholder{color:var(--color-neutral-600)}.dss-input::-moz-placeholder,.dss-input::-ms-input-placeholder,.dss-input::placeholder{color:var(--color-neutral-600)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-form-field{display:flex;align-items:center;gap:.625rem;width:-moz-fit-content;width:fit-content}.dss-form-field label{color:var(--color-neutral-900)}.dss-header{padding:1rem 1.5rem;display:flex;justify-content:space-between;background-color:var(--color-white);box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}.dss-header__divider{width:.0625rem;background-color:var(--color-neutral-100);height:2.5rem}.dss-header__divider--only-device{display:block}@media screen and (min-width: 48rem){.dss-header__divider--only-device{display:none}}.dss-header__identity{display:flex;align-items:center}.dss-header__identity-content{display:flex;align-items:center;gap:1.5rem}.dss-header__identity-content>.dss-header__logo{height:1.5rem}@media screen and (min-width: 48rem){.dss-header__identity-content{padding:1rem 0}}.dss-header__identity>.dss-header__divider{display:none}@media screen and (min-width: 62rem){.dss-header__identity>.dss-header__divider{display:block;margin:0 .5rem 0 1.5rem}}.dss-header__navigation{display:flex;align-items:center;gap:1.5rem}@media screen and (min-width: 62rem){.dss-header__navigation{gap:.5rem}}.dss-header__project-name{font-size:1.25rem;font-weight:var(--font-bold);line-height:1.875rem;letter-spacing:0;text-align:left;display:none}@media screen and (min-width: 48rem){.dss-header__project-name{display:block}}.dss-header__list-item{display:flex;gap:.5rem}.dss-header__item{display:flex;align-items:center;width:auto;color:var(--color-neutral-500)}@media screen and (min-width: 48rem){.dss-header__item{padding:1.5rem 1rem}}.dss-header__item>.dss-subtitle--sm,.dss-tabs__selector .dss-header__item>label,.dss-table thead tr .dss-header__item>th,.dss-tile__content__text .dss-header__item>.dss-tile__title,.dss-toast .dss-header__item>.dss-toast__content,.dss-header__item>.dss-alert{display:none;color:var(--color-neutral-500)}@media screen and (min-width: 48rem){.dss-header__item>.dss-subtitle--sm,.dss-tabs__selector .dss-header__item>label,.dss-table thead tr .dss-header__item>th,.dss-tile__content__text .dss-header__item>.dss-tile__title,.dss-toast .dss-header__item>.dss-toast__content,.dss-header__item>.dss-alert{display:block;margin-left:.5rem}}.dss-header__person{padding:.75rem 1rem;display:none}.dss-header__person--disabled{opacity:.4;pointer-events:none}.dss-header__person-content{display:flex;flex-direction:column;font-size:.875rem;line-height:var(--line-24);font-weight:var(--font-semibold)}.dss-header__person-name{color:var(--color-neutral-700)}.dss-header__person-name--linked{color:var(--color-primary-500);text-decoration:underline}.dss-header__person-details{font-weight:var(--font-regular);color:var(--color-neutral-500)}.dss-header__person-arrow{font-size:1.5rem;color:var(--color-primary-500)}.dss-header__person:before{content:"";width:.0625rem;height:1.5rem;background-color:var(--color-neutral-100);position:absolute;left:-1rem;top:-.25rem;margin:auto}@media screen and (min-width: 62rem){.dss-header__person{display:flex;align-items:center;gap:1rem}}.dss-header__menu-icon{cursor:pointer;display:block}@media screen and (min-width: 62rem){.dss-header__menu-icon{display:none!important}}@media screen and (min-width: 48rem){.dss-header{padding:0 1.5rem}.dss-header__item:hover,.dss-header__person:hover{background-color:var(--color-neutral-100);cursor:pointer;transition:.3s all ease-in}.dss-header__item:active,.dss-header__person:active{background-color:var(--color-neutral-50);transition:none}.dss-header__item:focus-visible,.dss-header__person:focus-visible{outline:none;box-shadow:inset 0 0 0 .25rem var(--color-blue-200);transition:none}}@media screen and (min-width: 62rem){.dss-header{padding:0 .5rem 0 1.5rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,.dss-modal__content .dss-modal__title,h3,.dss-headline--sm,.dss-user-feedback__title,h4{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-tile__content__text .dss-tile__description,.dss-modal__content .dss-form-field label,.dss-form-field label{font-size:.875rem;line-height:var(--line-24)}.dss-elevation--lg,.dss-modal,.dss-floating-button{box-shadow:0 .5rem .75rem .375rem #0000000d,0 .25rem .25rem #0000001a}.dss-modal{position:relative;display:grid;width:36.5rem;padding:2rem;background-color:var(--color-white);border-radius:1rem}.dss-modal .dss-icon-button,.dss-modal .dss-table__badge__icon-button,.dss-modal .dss-table td .dss-table__icon-button,.dss-table td .dss-modal .dss-table__icon-button,.dss-modal .dss-table th .dss-table__icon-button,.dss-table th .dss-modal .dss-table__icon-button,.dss-modal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-modal .dss-tile__icon-button,.dss-modal .dss-chip__icon-button,.dss-modal .dss-toast__icon-button{display:flex;justify-self:end;margin-bottom:.5rem}.dss-modal__content{text-align:center;display:flex;flex-direction:column;gap:2rem;align-items:center;margin-bottom:2rem}.dss-modal__content .dss-modal__icon{width:4rem;height:4rem}.dss-modal__content .dss-form-field{align-items:flex-start;gap:.5rem}.dss-modal__content .dss-form-field label{text-align:left}.dss-modal__buttons{display:flex;align-items:center;justify-content:center;gap:1.25rem}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-tile__content__text .dss-tile__title,.dss-toast .dss-toast__content,.dss-alert{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-tile__content__text .dss-tile__description,.dss-form-field label,.dss-modal__content .dss-form-field label{font-size:.875rem;line-height:var(--line-24)}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.dss-icon--md,.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon,.dss-tile__icon-container .dss-tile__icon-item,.dss-toast .dss-toast__content .dss-toast__icon{width:var(--icon-size-md);height:var(--icon-size-md);font-size:var(--icon-size-md)}.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button{background-color:transparent;border-radius:100%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-icon-button--md,.dss-table td .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-toast__icon-button{font-size:1.5rem;padding:var(--dss-spacing-xxs)}.dss-tile{width:20rem;overflow:hidden;background-color:var(--color-primary-50);border-radius:.5rem;padding:1rem;display:flex;align-items:center;justify-content:flex-start;gap:1rem}.dss-tile--disabled{opacity:.6;pointer-events:none;cursor:not-allowed}.dss-tile__icon-container{background-color:var(--color-primary-100);color:var(--color-primary-700);padding:.75rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.dss-tile__content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex:1 1 100%;min-width:0}.dss-tile__content__text,.dss-tile__content__text .dss-tile__title,.dss-tile__content__text .dss-tile__description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dss-tile__content__icon-button-group{display:flex;gap:.5rem}.dss-elevation--md,.dss-tooltip:after,.dss-tooltip:before,.dss-task__item .dss-task__content,.dss-toast{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-tooltip{cursor:pointer;display:flex;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-tooltip:after{background-color:var(--color-neutral-800);border-radius:.375rem;color:#fff;content:attr(tooltip-text);cursor:default;font-family:var(--font-family);font-size:.875rem;font-weight:var(--font-regular);line-height:var(--line-24);max-width:20.5rem;padding:.5rem 1rem;position:absolute;white-space:normal;width:-moz-max-content;width:max-content;z-index:1}.dss-tooltip:before{content:"";position:absolute;width:1rem;height:1rem;opacity:0;z-index:1;border-radius:.1875rem}.dss-tooltip:after,.dss-tooltip:before{opacity:0;visibility:hidden}.dss-tooltip:hover:after,.dss-tooltip:hover:before{opacity:1;visibility:visible;transition:.3s all ease-in}.dss-tooltip--top:after{left:50%;top:0;transform:translate(-50%,calc(-100% - 15px))}.dss-tooltip--top:before{top:0;left:50%;transform:translate(-50%,calc(-100% - .625rem)) rotate(45deg);background:linear-gradient(to right bottom,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%)}.dss-tooltip--bottom:after{left:50%;bottom:0;transform:translate(-50%,calc(100% + 15px))}.dss-tooltip--bottom:before{bottom:0;left:50%;background:linear-gradient(to top left,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(-50%,calc(100% + .625rem)) rotate(45deg)}.dss-tooltip--right:after{right:0;top:50%;transform:translate(calc(100% + 15px),-50%)}.dss-tooltip--right:before{top:50%;right:0;background:linear-gradient(to bottom left,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(calc(100% + .625rem),-50%) rotate(45deg)}.dss-tooltip--left:after{left:0;top:50%;transform:translate(calc(-100% - 15px),-50%)}.dss-tooltip--left:before{top:50%;left:0;background:linear-gradient(to top right,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(calc(-100% - .625rem),-50%) rotate(45deg)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-sidebar{position:relative;min-height:100%;padding:1rem .75rem;display:flex;flex-direction:column;width:7.875rem;align-items:flex-end;transition:all .3s linear}.dss-sidebar:has(.dss-sidebar--collapse:checked){width:4rem;align-items:center}.dss-sidebar:has(.dss-sidebar--collapse:checked) .dss-sidebar__text{display:none}.dss-sidebar:has(.dss-sidebar--collapse:checked) .dss-sidebar__link{gap:0rem;padding:.5rem}.dss-sidebar--collapse{display:flex;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;font-size:32px;padding:.25rem;margin-bottom:.5rem;color:var(--color-primary-500);border-radius:6.25rem;transition:all .3s linear;width:40px;height:40px}.dss-sidebar--collapse:after{font-family:Material Symbols Rounded;content:"chevron_right"}.dss-sidebar--collapse:hover{background-color:var(--color-primary-100)}.dss-sidebar--collapse:active{background-color:var(--color-primary-50);transition:none}.dss-sidebar--collapse:disabled{opacity:.4;cursor:not-allowed;transition:none}.dss-sidebar--collapse:focus-visible{outline:.25rem solid var(--color-blue-200);transition:none}.dss-sidebar--collapse:checked:after{font-family:Material Symbols Rounded;content:"chevron_left"}.dss-sidebar--collapse:checked+.dss-sidebar__nav .dss-sidebar__link{padding:.5rem}.dss-sidebar--collapse.dss-sidebar--reverse:after{font-family:Material Symbols Rounded;content:"chevron_left"}.dss-sidebar--collapse.dss-sidebar--reverse:checked:after{content:"chevron_right"}.dss-sidebar__nav{width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:.5rem}.dss-sidebar__nav .dss-sidebar__link{color:var(--color-neutral-500);text-decoration:none;display:flex;align-items:center;justify-content:flex-start;gap:.5rem;padding:.5rem .75rem .5rem .5rem;border-radius:.5rem;cursor:pointer}.dss-sidebar__nav .dss-sidebar__link--disabled{pointer-events:none;opacity:.4;cursor:not-allowed}.dss-sidebar__nav .dss-sidebar__link:visited{color:var(--color-neutral-500)}.dss-sidebar__nav .dss-sidebar__link:hover{color:var(--color-white);background-color:var(--color-primary-500);transition:all .3s linear}.dss-sidebar__nav .dss-sidebar__link:active:enabled{color:var(--color-white);background-color:var(--color-primary-600)}.dss-sidebar__nav .dss-sidebar__link:focus-visible{color:var(--color-white);background-color:var(--color-primary-500);transition:none}.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__icon{font-size:1.5rem}.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__text{padding:0rem;font-weight:var(--font-semibold)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description{font-size:.875rem;line-height:var(--line-24)}.dss-button--sm,.dss-table__button,.dss-toast__button{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.material-symbols,.material-symbols-rounded,.dss-icon{font-weight:400;font-style:normal;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.material-symbols-rounded,.dss-icon{font-family:Material Symbols Rounded}.material-symbols-rounded--fill,.dss-icon--fill{font-variation-settings:"FILL" 1}:root{--font-icons: "Material Symbols Rounded", sans-serif;--icon-size-sm: 1rem;--icon-size-md: 1.5rem;--icon-size-lg: 2rem;--icon-size-xl: 2.5rem}.dss-icon--sm,.dss-table__status i{width:var(--icon-size-sm);height:var(--icon-size-sm);font-size:var(--icon-size-sm)}.dss-icon--md,.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon,.dss-toast .dss-toast__content .dss-toast__icon,.dss-tile__icon-container .dss-tile__icon-item{width:var(--icon-size-md);height:var(--icon-size-md);font-size:var(--icon-size-md)}.dss-icon--lg{width:var(--icon-size-lg);height:var(--icon-size-lg);font-size:var(--icon-size-lg)}.dss-icon--xl{width:var(--icon-size-xl);height:var(--icon-size-xl);font-size:var(--icon-size-xl)}.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-checkbox,.dss-table .dss-table__checkbox{border-radius:.125rem;width:1.25rem!important;height:1.25rem!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--dss-border-width-sm) solid var(--color-primary-500);position:relative;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-checkbox.dss-checkbox--validate,.dss-table .dss-checkbox--validate.dss-table__checkbox{border-color:var(--color-neutral-700)}.dss-checkbox:hover,.dss-table .dss-table__checkbox:hover{border-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:hover.dss-checkbox--validate,.dss-table .dss-table__checkbox:hover.dss-checkbox--validate{border-color:var(--color-neutral-800)}.dss-checkbox:active,.dss-table .dss-table__checkbox:active{border-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:active.dss-checkbox--validate,.dss-table .dss-table__checkbox:active.dss-checkbox--validate{border-color:var(--color-neutral-500)}.dss-checkbox:checked,.dss-table .dss-table__checkbox:checked{background-color:var(--color-primary-500)}.dss-checkbox:checked.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked.dss-checkbox--validate{border-color:var(--color-green-500);background-color:var(--color-green-500)}.dss-checkbox:checked:before,.dss-table .dss-table__checkbox:checked:before{font-family:Material Symbols Rounded;content:"check";position:absolute;font-size:1.375rem;color:var(--color-white);text-align:center;top:-4px;left:-2px}.dss-checkbox:checked:hover,.dss-table .dss-table__checkbox:checked:hover{border-color:var(--color-primary-600);background-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:checked:hover.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked:hover.dss-checkbox--validate{border-color:var(--color-green-600);background-color:var(--color-green-600)}.dss-checkbox:checked:active,.dss-table .dss-table__checkbox:checked:active{background-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:checked:active.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked:active.dss-checkbox--validate{border-color:var(--color-green-400);background-color:var(--color-green-400)}.dss-checkbox:indeterminate,.dss-table .dss-table__checkbox:indeterminate{background-color:var(--color-primary-500)}.dss-checkbox:indeterminate:before,.dss-table .dss-table__checkbox:indeterminate:before{font-family:Material Symbols Rounded;font-size:1.125rem;content:"remove";color:var(--color-white);position:absolute;top:-1px}.dss-checkbox:indeterminate.dss-checkbox--validate,.dss-table .dss-table__checkbox:indeterminate.dss-checkbox--validate{background-color:var(--color-green-500)}.dss-checkbox:disabled,.dss-table .dss-table__checkbox:disabled{cursor:not-allowed;color:var(--color-neutral-900);border-color:var(--color-neutral-400)}.dss-checkbox:disabled:checked,.dss-table .dss-table__checkbox:disabled:checked{background-color:var(--color-neutral-300)}.dss-checkbox:disabled:checked:before,.dss-table .dss-table__checkbox:disabled:checked:before{color:var(--color-neutral-900)}.dss-checkbox:disabled:checked.dss-checkbox--validate:hover,.dss-table .dss-table__checkbox:disabled:checked.dss-checkbox--validate:hover{background-color:var(--color-neutral-300)}.dss-checkbox-label{cursor:pointer}.dss-radio,.dss-table .dss-table__radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);margin:0;color:var(--color-primary-500);width:1.25rem;height:1.25rem;border:.0625rem solid var(--color-primary-500);border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:.125rem}.dss-radio:before,.dss-table .dss-table__radio:before{content:"";width:.625rem;height:.625rem;border-radius:50%;transform:scale(0);transition:.3s transform ease-in-out;box-shadow:inset 1rem 1rem var(--color-primary-500);background-color:var(--color-white)}.dss-radio:checked,.dss-table .dss-table__radio:checked{border:.0625rem solid var(--color-primary-500)}.dss-radio:checked:before,.dss-table .dss-table__radio:checked:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-500)}.dss-radio:checked:hover,.dss-table .dss-table__radio:checked:hover{border:.0625rem solid var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:hover:before,.dss-table .dss-table__radio:checked:hover:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:disabled,.dss-table .dss-table__radio:checked:disabled{cursor:not-allowed}.dss-radio:checked:disabled:before,.dss-table .dss-table__radio:checked:disabled:before{box-shadow:inset 1rem 1rem var(--color-neutral-400)}.dss-radio:hover,.dss-table .dss-table__radio:hover{border:.0625rem solid var(--color-neutral-600);transition:.3s all linear}.dss-radio:disabled,.dss-table .dss-table__radio:disabled{cursor:not-allowed;border:.0625rem solid var(--color-neutral-400)}.dss-radio:focus-visible:enabled,.dss-table .dss-table__radio:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-badge,.dss-table__badge{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2.5rem;display:flex;align-items:center;justify-content:center;font-weight:var(--font-semibold);font-size:.75rem;line-height:1rem}.dss-badge .dss-badge__icon,.dss-table__badge .dss-badge__icon{font-size:1rem}.dss-badge--dot{display:inline-block;padding:0;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto}.dss-badge--dot>*{display:none;padding:0}.dss-badge--sm{padding:0 var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-badge--sm>:not(span){display:none}.dss-badge--md,.dss-table__badge{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);border-radius:var(--dss-radius-xs)}.dss-badge--md:has(.dss-badge__icon),.dss-table__badge:has(.dss-badge__icon){padding-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-badge__icon) span,.dss-table__badge:has(.dss-badge__icon) span{margin-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button),.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button){padding-right:var(--dss-spacing-tiny);padding-top:0;padding-bottom:0}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span,.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span{margin-right:var(--dss-spacing-tiny)}.dss-badge--lg{font-size:.875rem;line-height:1.5rem;padding:var(--dss-spacing-xxs) var(--dss-spacing-md);border-radius:var(--dss-radius-sm)}.dss-badge--lg:has(.dss-badge__icon){padding-left:var(--dss-spacing-sm)}.dss-badge--lg:has(.dss-badge__icon) span{margin-left:var(--dss-spacing-xs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span{margin-right:var(--dss-spacing-xs)}.dss-badge--default{background-color:var(--color-neutral-100);color:var(--color-neutral-700)}.dss-badge--default.dss-badge--dot{background-color:var(--color-neutral-500)}.dss-badge--default.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-500);background-color:var(--color-white);color:var(--color-neutral-700)}.dss-badge--default.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-neutral-500);background-color:var(--color-white)}.dss-badge--red,.dss-table__badge--red{background-color:var(--color-red-100);color:var(--color-red-700)}.dss-badge--red.dss-badge--dot,.dss-badge--dot.dss-table__badge--red{background-color:var(--color-red-500)}.dss-badge--red.dss-badge--outline,.dss-badge--outline.dss-table__badge--red{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);background-color:var(--color-white);color:var(--color-red-700)}.dss-badge--red.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--red{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-red-500);background-color:var(--color-white)}.dss-badge--orange{background-color:var(--color-orange-100);color:var(--color-orange-700)}.dss-badge--orange.dss-badge--dot{background-color:var(--color-orange-500)}.dss-badge--orange.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500);background-color:var(--color-white);color:var(--color-orange-700)}.dss-badge--orange.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-orange-500);background-color:var(--color-white)}.dss-badge--yellow,.dss-table__badge--yellow{background-color:var(--color-yellow-100);color:var(--color-yellow-700)}.dss-badge--yellow.dss-badge--dot,.dss-badge--dot.dss-table__badge--yellow{background-color:var(--color-yellow-500)}.dss-badge--yellow.dss-badge--outline,.dss-badge--outline.dss-table__badge--yellow{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500);background-color:var(--color-white);color:var(--color-yellow-700)}.dss-badge--yellow.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--yellow{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-yellow-500);background-color:var(--color-white)}.dss-badge--green,.dss-table__badge--green{background-color:var(--color-green-100);color:var(--color-green-700)}.dss-badge--green.dss-badge--dot,.dss-badge--dot.dss-table__badge--green{background-color:var(--color-green-500)}.dss-badge--green.dss-badge--outline,.dss-badge--outline.dss-table__badge--green{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-500);background-color:var(--color-white);color:var(--color-green-700)}.dss-badge--green.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--green{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-green-500);background-color:var(--color-white)}.dss-badge--blue{background-color:var(--color-blue-100);color:var(--color-blue-700)}.dss-badge--blue.dss-badge--dot{background-color:var(--color-blue-500)}.dss-badge--blue.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-500);background-color:var(--color-white);color:var(--color-blue-700)}.dss-badge--blue.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-blue-500);background-color:var(--color-white)}.dss-badge--purple{background-color:var(--color-purple-100);color:var(--color-purple-700)}.dss-badge--purple.dss-badge--dot{background-color:var(--color-purple-500)}.dss-badge--purple.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-500);background-color:var(--color-white);color:var(--color-purple-700)}.dss-badge--purple.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-purple-500);background-color:var(--color-white)}.dss-badge--danger{background-color:var(--color-red-100);color:var(--color-red-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-100)}.dss-badge--danger.dss-badge--dot{background-color:var(--color-red-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger .dss-icon-button,.dss-badge--danger .dss-table__badge__icon-button,.dss-badge--danger .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-chip__icon-button,.dss-badge--danger .dss-toast__icon-button,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger .dss-icon-button i,.dss-badge--danger .dss-table__badge__icon-button i,.dss-badge--danger .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-chip__icon-button i,.dss-badge--danger .dss-toast__icon-button i,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button i{font-size:inherit}.dss-badge--danger-low{background-color:var(--color-white);color:var(--color-red-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500)}.dss-badge--danger-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-low .dss-icon-button,.dss-badge--danger-low .dss-table__badge__icon-button,.dss-badge--danger-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-chip__icon-button,.dss-badge--danger-low .dss-toast__icon-button,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger-low .dss-icon-button i,.dss-badge--danger-low .dss-table__badge__icon-button i,.dss-badge--danger-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-chip__icon-button i,.dss-badge--danger-low .dss-toast__icon-button i,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--danger-high{background-color:var(--color-red-500);color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500)}.dss-badge--danger-high.dss-badge--dot{background-color:var(--color-red-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-high .dss-icon-button,.dss-badge--danger-high .dss-table__badge__icon-button,.dss-badge--danger-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-chip__icon-button,.dss-badge--danger-high .dss-toast__icon-button,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--danger-high .dss-icon-button i,.dss-badge--danger-high .dss-table__badge__icon-button i,.dss-badge--danger-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-chip__icon-button i,.dss-badge--danger-high .dss-toast__icon-button i,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate{background-color:var(--color-orange-100);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-100)}.dss-badge--moderate.dss-badge--dot{background-color:var(--color-orange-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate .dss-icon-button,.dss-badge--moderate .dss-table__badge__icon-button,.dss-badge--moderate .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-chip__icon-button,.dss-badge--moderate .dss-toast__icon-button,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate .dss-icon-button i,.dss-badge--moderate .dss-table__badge__icon-button i,.dss-badge--moderate .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-chip__icon-button i,.dss-badge--moderate .dss-toast__icon-button i,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate-low{background-color:var(--color-white);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500)}.dss-badge--moderate-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low .dss-icon-button,.dss-badge--moderate-low .dss-table__badge__icon-button,.dss-badge--moderate-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-chip__icon-button,.dss-badge--moderate-low .dss-toast__icon-button,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-low .dss-icon-button i,.dss-badge--moderate-low .dss-table__badge__icon-button i,.dss-badge--moderate-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-chip__icon-button i,.dss-badge--moderate-low .dss-toast__icon-button i,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate-high{background-color:var(--color-orange-500);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500)}.dss-badge--moderate-high.dss-badge--dot{background-color:var(--color-orange-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high .dss-icon-button,.dss-badge--moderate-high .dss-table__badge__icon-button,.dss-badge--moderate-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-chip__icon-button,.dss-badge--moderate-high .dss-toast__icon-button,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-high .dss-icon-button i,.dss-badge--moderate-high .dss-table__badge__icon-button i,.dss-badge--moderate-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-chip__icon-button i,.dss-badge--moderate-high .dss-toast__icon-button i,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight{background-color:var(--color-yellow-100);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-100)}.dss-badge--slight.dss-badge--dot{background-color:var(--color-yellow-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight .dss-icon-button,.dss-badge--slight .dss-table__badge__icon-button,.dss-badge--slight .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-chip__icon-button,.dss-badge--slight .dss-toast__icon-button,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight .dss-icon-button i,.dss-badge--slight .dss-table__badge__icon-button i,.dss-badge--slight .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-chip__icon-button i,.dss-badge--slight .dss-toast__icon-button i,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight-low{background-color:var(--color-white);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500)}.dss-badge--slight-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button,.dss-badge--slight-low .dss-table__badge__icon-button,.dss-badge--slight-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-chip__icon-button,.dss-badge--slight-low .dss-toast__icon-button,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button i,.dss-badge--slight-low .dss-table__badge__icon-button i,.dss-badge--slight-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-chip__icon-button i,.dss-badge--slight-low .dss-toast__icon-button i,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight-high{background-color:var(--color-yellow-500);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500)}.dss-badge--slight-high.dss-badge--dot{background-color:var(--color-yellow-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button,.dss-badge--slight-high .dss-table__badge__icon-button,.dss-badge--slight-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-chip__icon-button,.dss-badge--slight-high .dss-toast__icon-button,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button i,.dss-badge--slight-high .dss-table__badge__icon-button i,.dss-badge--slight-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-chip__icon-button i,.dss-badge--slight-high .dss-toast__icon-button i,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--correct{background-color:var(--color-green-100);color:var(--color-green-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-100)}.dss-badge--correct.dss-badge--dot{background-color:var(--color-green-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-900)}.dss-badge--correct .dss-icon-button,.dss-badge--correct .dss-table__badge__icon-button,.dss-badge--correct .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-chip__icon-button,.dss-badge--correct .dss-toast__icon-button,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button{font-size:inherit;color:var(--color-green-900)}.dss-badge--correct .dss-icon-button i,.dss-badge--correct .dss-table__badge__icon-button i,.dss-badge--correct .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-chip__icon-button i,.dss-badge--correct .dss-toast__icon-button i,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button i{font-size:inherit}.dss-badge--undeterminated{background-color:var(--color-neutral-100);color:var(--color-neutral-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900)}.dss-badge--undeterminated.dss-badge--dot{background-color:var(--color-neutral-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button,.dss-badge--undeterminated .dss-table__badge__icon-button,.dss-badge--undeterminated .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-chip__icon-button,.dss-badge--undeterminated .dss-toast__icon-button,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button{font-size:inherit;color:var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button i,.dss-badge--undeterminated .dss-table__badge__icon-button i,.dss-badge--undeterminated .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-chip__icon-button i,.dss-badge--undeterminated .dss-toast__icon-button i,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button i{font-size:inherit}.dss-badge--critic{background-color:var(--color-red-500);color:var(--color-white)}.dss-badge--critic.dss-badge--dot{background-color:var(--color-red-500)}.dss-badge--critic.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-800);background-color:var(--color-red-50);color:var(--color-red-800)}.dss-badge--critic.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-800);background-color:var(--color-red-50)}.dss-badge--critic.dss-badge--outline .dss-icon-button,.dss-badge--critic.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--critic.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-chip__icon-button,.dss-badge--critic.dss-badge--outline .dss-toast__icon-button,.dss-badge--critic.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic.dss-badge--outline .dss-tile__icon-button{color:var(--color-red-800)}.dss-badge--critic .dss-icon-button,.dss-badge--critic .dss-table__badge__icon-button,.dss-badge--critic .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-chip__icon-button,.dss-badge--critic .dss-toast__icon-button,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--critic .dss-icon-button i,.dss-badge--critic .dss-table__badge__icon-button i,.dss-badge--critic .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-chip__icon-button i,.dss-badge--critic .dss-toast__icon-button i,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button i{font-size:inherit}.dss-badge--alert{background-color:var(--color-yellow-500);color:var(--color-black)}.dss-badge--alert.dss-badge--dot{background-color:var(--color-yellow-500)}.dss-badge--alert.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-800);background-color:var(--color-yellow-50);color:var(--color-yellow-800)}.dss-badge--alert.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-800);background-color:var(--color-yellow-50)}.dss-badge--alert.dss-badge--outline .dss-icon-button,.dss-badge--alert.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--alert.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-chip__icon-button,.dss-badge--alert.dss-badge--outline .dss-toast__icon-button,.dss-badge--alert.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert.dss-badge--outline .dss-tile__icon-button{color:var(--color-yellow-800)}.dss-badge--alert .dss-icon-button,.dss-badge--alert .dss-table__badge__icon-button,.dss-badge--alert .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-chip__icon-button,.dss-badge--alert .dss-toast__icon-button,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button{font-size:inherit;color:var(--color-black)}.dss-badge--alert .dss-icon-button i,.dss-badge--alert .dss-table__badge__icon-button i,.dss-badge--alert .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-chip__icon-button i,.dss-badge--alert .dss-toast__icon-button i,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button i{font-size:inherit}.dss-badge--ideal{background-color:var(--color-green-500);color:var(--color-white)}.dss-badge--ideal.dss-badge--dot{background-color:var(--color-green-500)}.dss-badge--ideal.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-800);background-color:var(--color-green-50);color:var(--color-green-800)}.dss-badge--ideal.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-800);background-color:var(--color-green-50)}.dss-badge--ideal.dss-badge--outline .dss-icon-button,.dss-badge--ideal.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-chip__icon-button,.dss-badge--ideal.dss-badge--outline .dss-toast__icon-button,.dss-badge--ideal.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal.dss-badge--outline .dss-tile__icon-button{color:var(--color-green-800)}.dss-badge--ideal .dss-icon-button,.dss-badge--ideal .dss-table__badge__icon-button,.dss-badge--ideal .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-chip__icon-button,.dss-badge--ideal .dss-toast__icon-button,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--ideal .dss-icon-button i,.dss-badge--ideal .dss-table__badge__icon-button i,.dss-badge--ideal .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-chip__icon-button i,.dss-badge--ideal .dss-toast__icon-button i,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button i{font-size:inherit}.dss-badge--info{background-color:var(--color-blue-500);color:var(--color-white)}.dss-badge--info.dss-badge--dot{background-color:var(--color-blue-500)}.dss-badge--info.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-800);background-color:var(--color-blue-50);color:var(--color-blue-800)}.dss-badge--info.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-800);background-color:var(--color-blue-50)}.dss-badge--info.dss-badge--outline .dss-icon-button,.dss-badge--info.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-chip__icon-button,.dss-badge--info.dss-badge--outline .dss-toast__icon-button,.dss-badge--info.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info.dss-badge--outline .dss-tile__icon-button{color:var(--color-blue-800)}.dss-badge--info .dss-icon-button,.dss-badge--info .dss-table__badge__icon-button,.dss-badge--info .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-chip__icon-button,.dss-badge--info .dss-toast__icon-button,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info .dss-icon-button i,.dss-badge--info .dss-table__badge__icon-button i,.dss-badge--info .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-chip__icon-button i,.dss-badge--info .dss-toast__icon-button i,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button i{font-size:inherit}.dss-badge--info-alt{background-color:var(--color-purple-500);color:var(--color-white)}.dss-badge--info-alt.dss-badge--dot{background-color:var(--color-purple-500)}.dss-badge--info-alt.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-800);background-color:var(--color-purple-50);color:var(--color-purple-800)}.dss-badge--info-alt.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-800);background-color:var(--color-purple-50)}.dss-badge--info-alt.dss-badge--outline .dss-icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-chip__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-toast__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt.dss-badge--outline .dss-tile__icon-button{color:var(--color-purple-800)}.dss-badge--info-alt .dss-icon-button,.dss-badge--info-alt .dss-table__badge__icon-button,.dss-badge--info-alt .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-chip__icon-button,.dss-badge--info-alt .dss-toast__icon-button,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info-alt .dss-icon-button i,.dss-badge--info-alt .dss-table__badge__icon-button i,.dss-badge--info-alt .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-chip__icon-button i,.dss-badge--info-alt .dss-toast__icon-button i,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button i{font-size:inherit}.dss-badge--neutral{background-color:var(--color-neutral-500);color:var(--color-white)}.dss-badge--neutral.dss-badge--dot{background-color:var(--color-neutral-500)}.dss-badge--neutral.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900);background-color:var(--color-neutral-50);color:var(--color-neutral-900)}.dss-badge--neutral.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900);background-color:var(--color-neutral-50)}.dss-badge--neutral.dss-badge--outline .dss-icon-button,.dss-badge--neutral.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-chip__icon-button,.dss-badge--neutral.dss-badge--outline .dss-toast__icon-button,.dss-badge--neutral.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral.dss-badge--outline .dss-tile__icon-button{color:var(--color-neutral-900)}.dss-badge--neutral .dss-icon-button,.dss-badge--neutral .dss-table__badge__icon-button,.dss-badge--neutral .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-chip__icon-button,.dss-badge--neutral .dss-toast__icon-button,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--neutral .dss-icon-button i,.dss-badge--neutral .dss-table__badge__icon-button i,.dss-badge--neutral .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-chip__icon-button i,.dss-badge--neutral .dss-toast__icon-button i,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button i{font-size:inherit}.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-table__button--primary:disabled,button.dss-button--error:disabled,button.dss-table__button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--warning:disabled,button.dss-table__button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--success:disabled,button.dss-table__button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--info:disabled,button.dss-table__button--info:disabled,.dss-toast--info button.dss-toast__button:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-table__button,button.dss-toast__button{border-radius:8rem;border:none;cursor:pointer;font-weight:var(--font-semibold);font-family:var(--font-family);display:flex;align-items:center;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}button.dss-button:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-table__button:active:enabled,button.dss-toast__button:active:enabled{transition:none}button.dss-button--error,button.dss-table__button--error,.dss-toast--error button.dss-toast__button{background-color:var(--color-red-500);color:var(--color-white)}button.dss-button--error:hover:enabled,button.dss-table__button--error:hover:enabled,.dss-toast--error button.dss-toast__button:hover:enabled{background-color:var(--color-red-600)}button.dss-button--error:active:enabled,button.dss-table__button--error:active:enabled,.dss-toast--error button.dss-toast__button:active:enabled{background-color:var(--color-red-400)}button.dss-button--warning,button.dss-table__button--warning,.dss-toast--warning button.dss-toast__button{color:var(--color-yellow-900);background-color:var(--color-yellow-500)}button.dss-button--warning:hover:enabled,button.dss-table__button--warning:hover:enabled,.dss-toast--warning button.dss-toast__button:hover:enabled{background-color:var(--color-yellow-600)}button.dss-button--warning:active:enabled,button.dss-table__button--warning:active:enabled,.dss-toast--warning button.dss-toast__button:active:enabled{background-color:var(--color-yellow-400)}button.dss-button--success,button.dss-table__button--success,.dss-toast--success button.dss-toast__button{background-color:var(--color-green-500);color:var(--color-white)}button.dss-button--success:hover:enabled,button.dss-table__button--success:hover:enabled,.dss-toast--success button.dss-toast__button:hover:enabled{background-color:var(--color-green-600)}button.dss-button--success:active:enabled,button.dss-table__button--success:active:enabled,.dss-toast--success button.dss-toast__button:active:enabled{background-color:var(--color-green-400)}button.dss-button--info,button.dss-table__button--info,.dss-toast--info button.dss-toast__button{background-color:var(--color-blue-500);color:var(--color-white)}button.dss-button--info:hover:enabled,button.dss-table__button--info:hover:enabled,.dss-toast--info button.dss-toast__button:hover:enabled{background-color:var(--color-blue-600)}button.dss-button--info:active:enabled,button.dss-table__button--info:active:enabled,.dss-toast--info button.dss-toast__button:active:enabled{background-color:var(--color-blue-400)}button.dss-button--sm,button.dss-table__button,button.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:var(--dss-spacing-sm);line-height:var(--line-16)}button.dss-button--sm.dss-button--icon-left,button.dss-button--icon-left.dss-table__button,button.dss-button--icon-left.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-xs)}button.dss-button--sm.dss-button--icon-left>[class^=material-],button.dss-button--icon-left.dss-table__button>[class^=material-],button.dss-button--icon-left.dss-toast__button>[class^=material-],button.dss-button--sm.dss-button--icon-left .dss-icon,button.dss-button--icon-left.dss-table__button .dss-icon,button.dss-button--icon-left.dss-toast__button .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--icon-right,button.dss-button--icon-right.dss-table__button,button.dss-button--icon-right.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-xs) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--sm.dss-button--icon-right>[class^=material-],button.dss-button--icon-right.dss-table__button>[class^=material-],button.dss-button--icon-right.dss-toast__button>[class^=material-],button.dss-button--sm.dss-button--icon-right .dss-icon,button.dss-button--icon-right.dss-table__button .dss-icon,button.dss-button--icon-right.dss-toast__button .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--only-icon,button.dss-button--only-icon.dss-table__button,button.dss-button--only-icon.dss-toast__button{padding:var(--dss-spacing-xxs);font-size:1rem}.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{background-color:transparent;border-radius:100%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-icon-button--default{color:var(--color-neutral-700)}.dss-icon-button--default:hover:enabled{background-color:var(--color-neutral-100)}.dss-icon-button--default:active:enabled{background-color:var(--color-neutral-50);transition:none;color:var(--color-neutral-900)}.dss-icon-button--default:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--default:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--white-default,.dss-toast__icon-button{color:var(--color-white)}.dss-icon-button--white-default:hover:enabled,.dss-toast__icon-button:hover:enabled{background-color:var(--color-neutral-100)}.dss-icon-button--white-default:active:enabled,.dss-toast__icon-button:active:enabled{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default:disabled,.dss-toast__icon-button:disabled{cursor:not-allowed;opacity:.4}.dss-icon-button--white-default:focus-visible:enabled,.dss-toast__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--primary,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{color:var(--color-primary-700)}.dss-icon-button--primary:hover:enabled,.dss-table td .dss-table__icon-button:hover:enabled,.dss-table th .dss-table__icon-button:hover:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:hover:enabled{background-color:var(--color-primary-100);color:var(--color-primary-800)}.dss-icon-button--primary:active:enabled,.dss-table td .dss-table__icon-button:active:enabled,.dss-table th .dss-table__icon-button:active:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:active:enabled{background-color:var(--color-primary-50);transition:none;color:var(--color-primary-700)}.dss-icon-button--primary:disabled,.dss-table td .dss-table__icon-button:disabled,.dss-table th .dss-table__icon-button:disabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--primary:focus-visible:enabled,.dss-table td .dss-table__icon-button:focus-visible:enabled,.dss-table th .dss-table__icon-button:focus-visible:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--error,.dss-table__badge--red .dss-table__badge__icon-button{color:var(--color-red-500)}.dss-icon-button--error:hover:enabled,.dss-table__badge--red .dss-table__badge__icon-button:hover:enabled{background-color:var(--color-red-100);color:var(--color-red-700)}.dss-icon-button--error:active:enabled,.dss-table__badge--red .dss-table__badge__icon-button:active:enabled{background-color:var(--color-red-50);transition:none;color:var(--color-red-700)}.dss-icon-button--error:disabled,.dss-table__badge--red .dss-table__badge__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--error:focus-visible:enabled,.dss-table__badge--red .dss-table__badge__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--warning,.dss-table__badge--yellow .dss-table__badge__icon-button,.dss-toast--warning .dss-toast__icon-button{color:var(--color-yellow-800)}.dss-icon-button--warning:hover:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:hover:enabled,.dss-toast--warning .dss-toast__icon-button:hover:enabled{background-color:var(--color-yellow-100);color:var(--color-yellow-900)}.dss-icon-button--warning:active:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:active:enabled,.dss-toast--warning .dss-toast__icon-button:active:enabled{background-color:var(--color-yellow-50);transition:none;color:var(--color-yellow-700)}.dss-icon-button--warning:disabled,.dss-table__badge--yellow .dss-table__badge__icon-button:disabled,.dss-toast--warning .dss-toast__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--warning:focus-visible:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:focus-visible:enabled,.dss-toast--warning .dss-toast__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--success,.dss-table__badge--green .dss-table__badge__icon-button{color:var(--color-green-500)}.dss-icon-button--success:hover:enabled,.dss-table__badge--green .dss-table__badge__icon-button:hover:enabled{background-color:var(--color-green-100);color:var(--color-green-700)}.dss-icon-button--success:active:enabled,.dss-table__badge--green .dss-table__badge__icon-button:active:enabled{background-color:var(--color-green-50);transition:none;color:var(--color-green-700)}.dss-icon-button--success:disabled,.dss-table__badge--green .dss-table__badge__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--success:focus-visible:enabled,.dss-table__badge--green .dss-table__badge__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--info{color:var(--color-blue-500)}.dss-icon-button--info:hover:enabled{background-color:var(--color-blue-100);color:var(--color-blue-700)}.dss-icon-button--info:active:enabled{background-color:var(--color-blue-50);transition:none;color:var(--color-blue-700)}.dss-icon-button--info:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--info:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--sm,.dss-table__badge__icon-button,.dss-table th .dss-table__icon-button{font-size:1rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--md,.dss-table td .dss-table__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{font-size:1.5rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--lg{font-size:2rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--xl{font-size:2.5rem;padding:var(--dss-spacing-xxs)}.dss-table{width:100%;border-spacing:0;border-collapse:collapse}.dss-table thead tr th{box-shadow:inset 0 -.125rem 0 0 var(--color-neutral-700)}.dss-table tbody tr td{box-shadow:inset 0 -.0625rem 0 0 var(--color-neutral-100)}.dss-table tbody tr td:empty:before{font-family:Material Symbols Rounded;content:"remove";font-size:1.5rem;display:flex;justify-content:flex-end}.dss-table th,.dss-table td{padding:1rem;text-align:left}.dss-table th .dss-table__icon-button{margin:auto}.dss-table th:has(.dss-table__icon-button)>*,.dss-table th:has(.dss-table__checkbox)>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table td>*{margin:auto;display:flex;align-items:center;justify-content:flex-start}.dss-table td:has(.dss-table--nested)>*{display:inline-table}.dss-table td:has(.dss-table__review){padding:.75rem}.dss-table td:has(.dss-table__badge-container)>*,.dss-table td:has(.dss-table__badge-warning-container)>*{margin:0;display:flex;justify-content:flex-end}.dss-table td:has(.dss-table__icon-button-container)>*,.dss-table td:has(.dss-table__review)>*,.dss-table td:has(.dss-table__button)>*,.dss-table td:has(.dss-table__radiobutton)>*,.dss-table td:has(.dss-table__checkbox)>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table td:has(.dss-table__icon-button:nth-child(1)),.dss-table td:has(.dss-table__radiobutton),.dss-table td:has(.dss-table__checkbox){width:3.5rem}.dss-table td:has(.dss-table__icon-button:nth-child(2)){width:6rem}.dss-table td:has(.dss-table__icon-button:nth-child(2))>.dss-table__icon-button-container{gap:1rem}.dss-table td:has(.dss-table__icon-button:nth-child(3)){width:8.5rem}.dss-table td:has(.dss-table__icon-button:nth-child(3))>.dss-table__icon-button-container{gap:1rem}.dss-table__text{overflow:hidden;display:-webkit-box!important;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.dss-table--align-center th,.dss-table--align-center td{text-align:center}.dss-table--align-center td>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table--align-right th,.dss-table--align-right td{text-align:right}.dss-table--align-right td>*{margin:0 0 auto auto}.dss-table__cell--align-center{text-align:center!important;margin:auto}.dss-table__cell--align-center>*{margin:0!important;display:flex;justify-content:center!important}.dss-table__cell--align-right{text-align:right!important;margin:0 0 auto auto}.dss-table__cell--align-right>*{margin:0!important;display:flex;justify-content:flex-end!important}.dss-table--bold{font-weight:var(--font-bold)}.dss-table--black{font-weight:var(--font-bold);color:var(--color-neutral-900)}.dss-table__status{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;justify-content:flex-start;margin:0!important;gap:.5rem}.dss-table__status--error{color:var(--color-red-500)}.dss-table .dss-table__badge-warning-container{display:inline-flex;align-items:center}.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon{font-weight:var(--font-regular);color:var(--color-red-500);margin-right:.5rem}.dss-table__badge__icon-button{height:1.5rem}.dss-table__badge--dot{min-width:.5rem;width:.5rem;height:.5rem;border-radius:100%;padding:0}.dss-table__badge--dot *{display:none}.dss-table__badge--green.dss-table__badge--dot{background-color:var(--color-green-500)}.dss-table__badge--yellow.dss-table__badge--dot{background-color:var(--color-yellow-500)}.dss-table__badge--red.dss-table__badge--dot{background-color:var(--color-red-500)}.dss-table__review{border-radius:.5rem;width:2rem!important;height:2rem!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;color:var(--color-neutral-500);box-shadow:inset 0 0 0 .125rem var(--color-neutral-500);cursor:pointer;transition:.3s all linear}.dss-table__review:disabled{opacity:.4;cursor:not-allowed}.dss-table__review:before{width:100%;height:100%;font-family:Material Symbols Rounded;content:"";font-size:1.5rem;display:flex;justify-content:center;align-items:center}.dss-table__review:checked,.dss-table__review:hover:enabled{box-shadow:none}.dss-table__review:checked:before,.dss-table__review:hover:enabled:before{color:var(--color-white)}.dss-table__review:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-table__review--check:checked,.dss-table__review--check:hover:enabled{background:var(--color-green-500)}.dss-table__review--check:checked:before,.dss-table__review--check:hover:enabled:before{content:"check"}.dss-table__review--check:focus-visible:enabled:before{content:"check"}.dss-table__review--check:checked:hover:enabled{background:var(--color-green-600)}.dss-table__review--check:active:enabled,.dss-table__review--check:checked:active:enabled{background:var(--color-green-400);transition:none}.dss-table__review--error:checked,.dss-table__review--error:hover:enabled{background:var(--color-red-500)}.dss-table__review--error:checked:before,.dss-table__review--error:hover:enabled:before{content:"close"}.dss-table__review--error:focus-visible:enabled:before{content:"close"}.dss-table__review--error:checked:hover:enabled{background:var(--color-red-600)}.dss-table__review--error:active:enabled,.dss-table__review--error:checked:active:enabled{background:var(--color-red-400);transition:none}.dss-table .dss-table--order{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--dss-spacing-xs);text-align:justify}.dss-table .dss-table--order .dss-table__sort-icon{display:flex;align-items:center;justify-content:center;border-radius:.25rem;padding:var(--dss-spacing-sm);box-sizing:border-box;background-color:transparent;transition:all .2s ease-in}.dss-table .dss-table--order:hover .dss-table__sort-icon{background-color:var(--color-primary-500);color:var(--color-white)}.dss-table .dss-table--order .dss-table__arrow-order{border-radius:.125rem;width:1rem!important;height:1rem!important;flex-shrink:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;color:var(--color-neutral-700);cursor:pointer;transition:.3s all linear}.dss-table .dss-table--order .dss-table__arrow-order:disabled{opacity:.4;cursor:not-allowed;transition:none}.dss-table .dss-table--order .dss-table__arrow-order:before{width:100%;height:100%;font-family:Material Symbols Rounded;content:"arrow_upward";font-size:1rem;display:flex;justify-content:center;align-items:center}.dss-table .dss-table--order .dss-table__arrow-order:hover:enabled{color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table--order .dss-table__arrow-order:active{color:var(--color-white);background-color:var(--color-neutral-600);transition:none}.dss-table .dss-table--order .dss-table__arrow-order:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-table .dss-table--order .dss-table__arrow-order:checked{color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table--order .dss-table__arrow-order:checked:before{content:"arrow_downward"}.dss-table .dss-table--order .dss-table__arrow-order:checked:hover:enabled{color:var(--color-white);background-color:var(--color-neutral-600)}.dss-table .dss-table--order .dss-table__arrow-order:checked:active:enabled{color:var(--color-white);background-color:var(--color-neutral-400);transition:none}.dss-table .dss-table--order .dss-table__arrow-order:checked:focus-visible:enabled{outline:.25rem solid var(--color-blue-200);color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table__checkbox{margin:auto}.dss-table .dss-table__radio{margin:0 auto!important}.dss-table .dss-table--nested thead tr th{color:var(--color-neutral-500);box-shadow:inset 0 -.125rem 0 0 var(--color-neutral-200)}.dss-table .dss-table--nested .dss-table__arrow-order{color:var(--color-neutral-500)}.dss-table.dss-table--sticky-header thead tr{width:100%;position:sticky;top:0;background-color:var(--color-white);z-index:100}.dss-table.dss-table--fixed-height th,.dss-table.dss-table--fixed-height td{height:56px;max-height:56px;padding:0 var(--dss-spacing-md);text-align:left}.dss-table.dss-table--has-paginator tr:last-child td{box-shadow:none}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title,.dss-table thead tr th,.dss-table .dss-table--nested thead tr th{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-tabs{display:flex;flex-wrap:wrap;gap:.5rem}.dss-tabs+.dss-tabs--icon{align-items:end;justify-content:center}.dss-tabs+.dss-tabs--icon .dss-tabs__selector{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.125rem;padding-top:0rem;padding-bottom:.25rem}.dss-tabs__selector{position:relative;width:-moz-fit-content;width:fit-content;padding-bottom:.5rem;margin-bottom:1rem}.dss-tabs__selector:has(input[type=radio]:checked)+.dss-tabs__content{display:block}.dss-tabs__selector:has(input[type=radio]:disabled),.dss-tabs__selector:has(input[type=radio]:disabled)+.dss-tabs__content{opacity:.4;transition:none}.dss-tabs__selector:has(input[type=radio]:checked),.dss-tabs__selector:has(input[type=radio]:focus){color:var(--color-neutral-700)}.dss-tabs__selector:has(input[type=radio]:hover){color:var(--color-neutral-700);transition:all .3s linear}.dss-tabs__selector:has(input[type=radio]:active){color:var(--color-neutral-600);transition:none}.dss-tabs__selector input[type=radio]{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;padding:.125rem .75rem .375rem;cursor:pointer}.dss-tabs__selector input[type=radio]:checked+label:after{content:"";height:.125rem;border-radius:.5rem;background-color:var(--color-primary-500);position:absolute;bottom:0;left:0;right:0;margin:0 .5rem;animation:fade-in .3s linear}.dss-tabs__selector input[type=radio]:disabled{cursor:not-allowed}.dss-tabs__selector label{text-align:center;padding:.125rem .75rem 0;margin-bottom:.25rem}.dss-tabs__content{display:none;order:99}@keyframes fade-in{0%{opacity:0;width:0}to{opacity:1;width:2.0625rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,h3,.dss-headline--sm,.dss-user-feedback__title,h4,.dss-modal__content .dss-modal__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-body--sm,.dss-user-feedback__description,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description,.dss-table td{font-size:.875rem;line-height:var(--line-24)}.dss-checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--info:disabled,.dss-toast--info button.dss-toast__button:disabled,button.dss-table__button--primary:disabled,button.dss-table__button--error:disabled,button.dss-table__button--warning:disabled,button.dss-table__button--success:disabled,button.dss-table__button--info:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-toast__button,button.dss-table__button{border-radius:8rem;border:none;cursor:pointer;font-weight:var(--font-semibold);font-family:var(--font-family);display:flex;align-items:center;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}button.dss-button:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-toast__button:active:enabled,button.dss-table__button:active:enabled{transition:none}button.dss-button--primary,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,button.dss-table__button--primary{background-color:var(--color-primary-500);color:var(--color-white)}button.dss-button--primary:hover:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:hover:enabled,button.dss-table__button--primary:hover:enabled{background-color:var(--color-primary-600)}button.dss-button--primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,button.dss-table__button--primary:active:enabled{background-color:var(--color-primary-400)}button.dss-button--secondary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-table__button--secondary{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-primary-600);color:var(--color-primary-600)}button.dss-button--secondary:hover:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:hover:enabled,button.dss-table__button--secondary:hover:enabled{box-shadow:inset 0 0 0 .0625rem var(--color-primary-700);color:var(--color-primary-700);background-color:var(--color-primary-50)}button.dss-button--secondary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-table__button--secondary:active:enabled{box-shadow:inset 0 0 0 .0625rem var(--color-primary-500);color:var(--color-primary-500)}button.dss-button--secondary:focus-visible,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible,button.dss-table__button--secondary:focus-visible{box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--secondary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:disabled,button.dss-table__button--secondary:disabled{box-shadow:inset 0 0 0 .0625rem var(--color-neutral-600);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button--subtle,button.dss-table__button--subtle{color:var(--color-primary-600);background:none}button.dss-button--subtle:hover:enabled,button.dss-table__button--subtle:hover:enabled{color:var(--color-primary-800);background-color:var(--color-primary-50)}button.dss-button--subtle:active:enabled,button.dss-table__button--subtle:active:enabled{color:var(--color-primary-500)}button.dss-button--subtle:disabled,button.dss-table__button--subtle:disabled{cursor:not-allowed;color:var(--color-neutral-500)}button.dss-button--error,.dss-toast--error button.dss-toast__button,button.dss-table__button--error{background-color:var(--color-red-500);color:var(--color-white)}button.dss-button--error:hover:enabled,.dss-toast--error button.dss-toast__button:hover:enabled,button.dss-table__button--error:hover:enabled{background-color:var(--color-red-600)}button.dss-button--error:active:enabled,.dss-toast--error button.dss-toast__button:active:enabled,button.dss-table__button--error:active:enabled{background-color:var(--color-red-400)}button.dss-button--warning,.dss-toast--warning button.dss-toast__button,button.dss-table__button--warning{color:var(--color-yellow-900);background-color:var(--color-yellow-500)}button.dss-button--warning:hover:enabled,.dss-toast--warning button.dss-toast__button:hover:enabled,button.dss-table__button--warning:hover:enabled{background-color:var(--color-yellow-600)}button.dss-button--warning:active:enabled,.dss-toast--warning button.dss-toast__button:active:enabled,button.dss-table__button--warning:active:enabled{background-color:var(--color-yellow-400)}button.dss-button--success,.dss-toast--success button.dss-toast__button,button.dss-table__button--success{background-color:var(--color-green-500);color:var(--color-white)}button.dss-button--success:hover:enabled,.dss-toast--success button.dss-toast__button:hover:enabled,button.dss-table__button--success:hover:enabled{background-color:var(--color-green-600)}button.dss-button--success:active:enabled,.dss-toast--success button.dss-toast__button:active:enabled,button.dss-table__button--success:active:enabled{background-color:var(--color-green-400)}button.dss-button--info,.dss-toast--info button.dss-toast__button,button.dss-table__button--info{background-color:var(--color-blue-500);color:var(--color-white)}button.dss-button--info:hover:enabled,.dss-toast--info button.dss-toast__button:hover:enabled,button.dss-table__button--info:hover:enabled{background-color:var(--color-blue-600)}button.dss-button--info:active:enabled,.dss-toast--info button.dss-toast__button:active:enabled,button.dss-table__button--info:active:enabled{background-color:var(--color-blue-400)}button.dss-button--alternative-light{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-white);color:var(--color-white)}button.dss-button--alternative-light:hover:enabled{background-color:var(--color-neutral-50);box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-light:active:enabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-200);color:var(--color-neutral-200)}button.dss-button--alternative-light:focus-visible{background-color:transparent;box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--alternative-light:disabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-500);color:var(--color-neutral-500);cursor:not-allowed}button.dss-button--alternative-dark{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-dark:hover:enabled{background-color:var(--color-neutral-50);box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-dark:active:enabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-700);color:var(--color-neutral-700)}button.dss-button--alternative-dark:focus-visible{background-color:transparent;box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--alternative-dark:disabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-600);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button--sm,button.dss-toast__button,button.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:var(--dss-spacing-sm);line-height:var(--line-16)}button.dss-button--sm.dss-button--icon-left,button.dss-button--icon-left.dss-toast__button,button.dss-button--icon-left.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-xs)}button.dss-button--sm.dss-button--icon-left>[class^=material-],button.dss-button--icon-left.dss-toast__button>[class^=material-],button.dss-button--icon-left.dss-table__button>[class^=material-],button.dss-button--sm.dss-button--icon-left .dss-icon,button.dss-button--icon-left.dss-toast__button .dss-icon,button.dss-button--icon-left.dss-table__button .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--icon-right,button.dss-button--icon-right.dss-toast__button,button.dss-button--icon-right.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-xs) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--sm.dss-button--icon-right>[class^=material-],button.dss-button--icon-right.dss-toast__button>[class^=material-],button.dss-button--icon-right.dss-table__button>[class^=material-],button.dss-button--sm.dss-button--icon-right .dss-icon,button.dss-button--icon-right.dss-toast__button .dss-icon,button.dss-button--icon-right.dss-table__button .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--only-icon,button.dss-button--only-icon.dss-toast__button,button.dss-button--only-icon.dss-table__button{padding:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md,.dss-sidebar__nav .dss-sidebar__link button.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-md);font-size:.875rem;line-height:var(--line-24)}button.dss-button--md.dss-button--icon-left,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-md) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--md.dss-button--icon-left>[class^=material-],.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text>[class^=material-],button.dss-button--md.dss-button--icon-left .dss-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md.dss-button--icon-right,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-md)}button.dss-button--md.dss-button--icon-right>[class^=material-],.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text>[class^=material-],button.dss-button--md.dss-button--icon-right .dss-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md.dss-button--only-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--only-icon.dss-sidebar__text{padding:var(--dss-spacing-xs);font-size:1rem}button.dss-button--lg,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-lg);font-size:1rem;line-height:var(--line-24)}button.dss-button--lg.dss-button--icon-left,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-lg) var(--dss-spacing-xs) var(--dss-spacing-md)}button.dss-button--lg.dss-button--icon-left>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary>[class^=material-],button.dss-button--lg.dss-button--icon-left .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary .dss-icon{margin-right:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--lg.dss-button--icon-right,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-md) var(--dss-spacing-xs) var(--dss-spacing-lg)}button.dss-button--lg.dss-button--icon-right>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary>[class^=material-],button.dss-button--lg.dss-button--icon-right .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary .dss-icon{margin-left:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--lg.dss-button--only-icon,.dss-user-feedback__button-group button.dss-button--only-icon.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--only-icon.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--icon-left{flex-direction:row}button.dss-button--icon-right{flex-direction:row-reverse}.dss-button-icon{display:flex;align-items:center;justify-content:space-between}.dss-button-icon .dss-icon,.dss-button-icon .dss-icon .path1:before,.dss-button-icon .dss-icon .path2:before{color:inherit}.dss-user-feedback{display:flex;align-items:center;flex-direction:column;gap:1rem;width:13.4375rem;text-align:center}.dss-user-feedback__image{width:100%;margin:auto;text-align:center}.dss-user-feedback__button-group{display:flex;align-items:center;justify-content:center;gap:1.25rem}.dss-elevation--sm,.dss-content-switcher__item input[type=radio]:checked+label{box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}.dss-elevation--md,.dss-task__item .dss-task__content,.dss-toast,.dss-tooltip:after,.dss-tooltip:before{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-elevation--lg,.dss-floating-button,.dss-modal{box-shadow:0 .5rem .75rem .375rem #0000000d,0 .25rem .25rem #0000001a}.dss-elevation--left{box-shadow:-2px 0 1px #0000000d}.dss-elevation--right{box-shadow:2px 0 1px #0000000d}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}:root{--font-family: "Open Sans", sans-serif;--font-regular: 400;--font-semibold: 600;--font-bold: 700;--line-52: 3.25rem;--line-44: 2.75rem;--line-36: 2.25rem;--line-32: 2rem;--line-30: 1.875rem;--line-28: 1.75rem;--line-24: 1.5rem;--line-16: 1rem}body{font-family:var(--font-family);font-size:1rem;font-weight:var(--font-regular);line-height:var(--line-24);color:var(--color-body)}a{font-size:inherit;color:var(--color-primary-500);text-decoration:underline;cursor:pointer}a:hover{color:var(--color-primary-600)}a:active{color:var(--color-primary-400)}a:visited{color:var(--color-purple-700)}a:focus-visible{color:var(--color-primary-500);outline:.25rem solid var(--color-blue-200)}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,h3,.dss-headline--sm,h4,.dss-modal__content .dss-modal__title,.dss-user-feedback__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-headline--xl,h1{font-size:2.375rem;line-height:var(--line-52)}.dss-headline--lg,h2{font-size:30px;line-height:var(--line-44)}.dss-headline--md,.dss-modal__content .dss-modal__title,h3{font-size:1.5rem;line-height:var(--line-36)}.dss-headline--sm,.dss-user-feedback__title,h4{font-size:1.25rem;line-height:var(--line-30)}.dss-subtitle--xl{font-weight:var(--font-semibold);font-size:1.25rem;line-height:var(--line-32);color:var(--color-neutral-700)}.dss-subtitle--lg{font-weight:var(--font-semibold);font-size:1.125rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-subtitle--md{font-weight:var(--font-semibold);font-size:1rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-subtitle--sm,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title,.dss-table thead tr th,.dss-table .dss-table--nested thead tr th,.dss-tabs__selector label{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--lg{font-size:1.125rem;line-height:var(--line-28)}.dss-body--md,.dss-modal__content .dss-modal__description{font-size:1rem;line-height:var(--line-24)}.dss-body--sm,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description,.dss-table td,.dss-user-feedback__description{font-size:.875rem;line-height:var(--line-24)}.dss-body--semibold{font-weight:var(--font-semibold)}.dss-body--bold{font-weight:var(--font-bold)}.dss-body--underline{text-decoration:underline}.dss-legend--lg{font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-28)}.dss-legend--md{font-weight:var(--font-regular);font-size:.875rem;line-height:var(--line-24)}.dss-legend--sm,.dss-legend{font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}.dss-button--lg,.dss-user-feedback__button-group .dss-user-feedback__button-primary,.dss-user-feedback__button-group .dss-user-feedback__button-secondary{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-28)}.dss-button--md,.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__text{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.875rem;line-height:var(--line-24)}.dss-button--sm,.dss-toast__button,.dss-table__button{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}.dss-headings--spacing-top-md{padding-top:var(--dss-spacing-md)}.dss-popover{display:flex;flex-direction:column;position:relative;width:356px;max-height:500px;max-width:500px;min-width:356px;background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #000;padding:16px}.dss-popover,.dss-popover.dss-popover:after{background-color:#fff}.dss-popover[data-param=top]:after{box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:-6px;rotate:-135deg;left:15px}.dss-popover[data-param=bottom]:after{box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 9px);rotate:45deg;left:15px}.dss-popover[data-param=left]:after{background-color:#fff;box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 40px);rotate:135deg;left:-6px}.dss-popover[data-param=right]:after{background-color:#fff;box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 40px);rotate:-45deg;left:346px}.dss-popover__titlecontent{display:flex;align-items:center;flex:1;overflow:hidden;position:relative}.dss-popover__titlecontent h3{margin:0;color:#1d1d1d}.dss-popover__content{overflow:auto;position:relative;margin-top:16px;height:100%;white-space:break-spaces;text-overflow:ellipsis}.dss-popover-link{margin-top:16px}.dss-popover__group{position:relative;display:flex;gap:8px}dss-custom-table:not(:defined){display:none}.dss-custom-table{min-width:100%;margin:0;padding:0;border-collapse:collapse;border-spacing:0;table-layout:fixed}.dss-custom-table .dss-thead{width:100%;position:sticky;top:0;background-color:var(--color-white);z-index:200;box-shadow:0 var(--dss-border-width-md) var(--dss-border-width-md) -1px var(--color-neutral-700)}.dss-custom-table .dss-th{height:56px;margin:0;font-size:14px;line-height:24px;font-weight:var(--font-semibold);text-align:left;vertical-align:middle;background-color:var(--color-white)}.dss-custom-table .dss-th .dss-th-content{padding:var(--dss-spacing-md)}.dss-custom-table .dss-th .dss-th-content:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200);outline:0}.dss-custom-table .dss-th--align-center{text-align:center}.dss-custom-table .dss-th--align-right{text-align:right}.dss-custom-table .dss-th--select{text-align:center;width:52px}.dss-custom-table .dss-th-content{display:inline-flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-custom-table .dss-th-content--clickable{cursor:pointer}.dss-custom-table .dss-th-content--clickable .dss-th-content__icon{box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:var(--dss-spacing-sm);background-color:transparent;border-radius:var(--dss-radius-xs);transition:all .3s ease-in}.dss-custom-table .dss-th-content--clickable:hover .dss-th-content__icon,.dss-custom-table .dss-th-content--clickable:focus-visible .dss-th-content__icon{color:var(--color-white);background-color:var(--color-primary-500)}.dss-custom-table .dss-tbody-row:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200);outline:0}.dss-custom-table .dss-tbody-row+.dss-tbody-row{border-top:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-custom-table .dss-tbody-row--selected{background-color:var(--color-primary-50)}.dss-custom-table .dss-tbody-row--deleted{background-color:var(--color-red-50)}.dss-custom-table .dss-tbody-row--disabled{background-color:var(--color-neutral-50)}.dss-custom-table .dss-tbody-row--disabled .dss-td{color:var(--color-neutral-500)!important}.dss-custom-table .dss-tbody-row:hover:not(.dss-tbody-row--expanded):not(.dss-custom-table .dss-tbody-row--disabled){background-color:var(--color-primary-50)}.dss-custom-table .dss-tbody-row--expanded{width:100%}.dss-custom-table .dss-tbody-row--expanded .dss-td{padding-top:var(--dss-spacing-md)!important;padding-bottom:var(--dss-spacing-md)!important;height:-moz-fit-content!important;height:fit-content!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.dss-custom-table .dss-tbody-row .dss-td{height:56px;max-height:56px;vertical-align:middle;padding:0 var(--dss-spacing-md);font-size:14px;color:var(--color-neutral-700);box-sizing:border-box}.dss-custom-table .dss-tbody-row .dss-td--font-bold{font-weight:var(--font-bold)}.dss-custom-table .dss-tbody-row .dss-td--font-black{font-weight:var(--font-bold);color:var(--color-neutral-900)}.dss-custom-table .dss-tbody-row .dss-td--align-right{text-align:right}.dss-custom-table .dss-tbody-row .dss-td--align-center{text-align:center}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content{display:inline-flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);height:100%;max-height:100%}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content--sm{gap:var(--dss-spacing-tiny)}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content .dss-td-content__value{max-height:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dss-custom-table .dss-tbody-row .dss-td dss-badge,.dss-custom-table .dss-tbody-row .dss-td dss-icon-badge{display:inline-block}.dss-custom-table--max-content-width{width:-moz-max-content;width:max-content}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible{box-shadow:none}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td{border-top:var(--dss-border-width-md) solid var(--color-primary-200);border-bottom:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td:first-child{border-left:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td:last-child{border-right:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:first-child{position:sticky;left:0;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-default .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-default .dss-tbody-row .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:last-child{position:sticky;right:0;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-default .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--selected .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:last-child{background-color:var(--color-primary-50)}.dss-custom-table--sticky-columns-default .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--deleted .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:last-child{background-color:var(--color-red-50)}.dss-custom-table--sticky-columns-default .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--disabled .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:last-child{background-color:var(--color-neutral-50)}.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:nth-child(2),.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:nth-child(2){position:sticky;left:56px;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:nth-child(2),.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:nth-child(2){background-color:var(--color-primary-50)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:nth-child(2){background-color:var(--color-red-50)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:nth-child(2){background-color:var(--color-neutral-50)} diff --git a/rc/assets/preview-CrScLkoQ.js b/rc/assets/preview-CrScLkoQ.js deleted file mode 100644 index 78bf802..0000000 --- a/rc/assets/preview-CrScLkoQ.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./DocsRenderer-CFRXHY34-DSCPQ5R7.js","./chunk-NUUEMKO5-CzX-w2bE.js","./iframe-BLrvpHse.js","./index-CcF9BsMG.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-DSCPQ5R7.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/rc/assets/preview-Daq9ghKh.js b/rc/assets/preview-Daq9ghKh.js deleted file mode 100644 index 4b8af0f..0000000 --- a/rc/assets/preview-Daq9ghKh.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./DocsRenderer-CFRXHY34-j567RhKD.js","./chunk-NUUEMKO5-RFzBTEhX.js","./iframe-i1QLOcry.js","./index-CQXi_Y6g.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-j567RhKD.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/rc/assets/preview-C6TpFKT1.js b/rc/assets/preview-JqTk6qmj.js similarity index 58% rename from rc/assets/preview-C6TpFKT1.js rename to rc/assets/preview-JqTk6qmj.js index 4721099..6cd63a7 100644 --- a/rc/assets/preview-C6TpFKT1.js +++ b/rc/assets/preview-JqTk6qmj.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["./DocsRenderer-CFRXHY34-CBO2ZpO8.js","./chunk-NUUEMKO5-OoXnuJHq.js","./iframe-BaSWKbVt.js","./index-0DKGoewk.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-CBO2ZpO8.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; +const __vite__fileDeps=["./DocsRenderer-CFRXHY34-D_eoc53q.js","./chunk-NUUEMKO5-OZ8B_0Q4.js","./iframe-BXEjRaIp.js","./index-CMvVeEhu.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as a}from"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-D_eoc53q.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/rc/assets/preview-d5xhiKam.js b/rc/assets/preview-d5xhiKam.js deleted file mode 100644 index 739e589..0000000 --- a/rc/assets/preview-d5xhiKam.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./DocsRenderer-CFRXHY34-CiLRq2cL.js","./chunk-NUUEMKO5-Ck9k0yJP.js","./iframe-BDLrX2vE.js","./index-Dxx82nxn.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-CiLRq2cL.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/rc/assets/preview-fC_vxZw6.css b/rc/assets/preview-fC_vxZw6.css deleted file mode 100644 index a25d66e..0000000 --- a/rc/assets/preview-fC_vxZw6.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.dss-sb-title{display:flex;align-items:center;gap:12px}.dss-sb-title>h1{margin:0!important;color:var(--color-neutral-900)}p{color:var(--color-neutral-900)!important}blockquote{border-left-color:var(--color-primary-500)!important}blockquote>p{color:var(--color-neutral-400)!important}code{font-size:12px!important;background-color:var(--color-primary-50)!important;border-color:var(--color-primary-100)!important}table{border-collapse:collapse;width:100%}table>thead>tr{border-top:0!important;border-bottom:2px solid var(--color-neutral-300)!important}table>thead>tr>th{border:0!important;font-size:12px;text-align:left}table>tbody>tr{border:0!important;font-size:12px;text-align:left;border-bottom:1px solid var(--color-neutral-50)!important}table>tbody>tr>td{border:0!important;font-size:12px;text-align:left}table>tbody>tr:nth-of-type(2n){background-color:transparent!important}.dss-sb-properties span{color:var(--color-orange-500)}.sb-table{text-align:left;border-collapse:collapse!important;text-indent:0;width:100%}.sb-table table,.sb-table tr,.sb-table td,.sb-table th{border:none!important}.sb-table tr{border:1px solid transparent;border-bottom:1px solid rgba(0,0,0,.1)!important;font-family:Fira Code VF,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.sb-table td:nth-child(2){font-size:90%}.sb-table tr:nth-of-type(2n){background-color:transparent!important}.sb-mb-2{margin-bottom:2rem!important}.innerZoomElementWrapper{display:flex;align-items:flex-end;flex-wrap:wrap}.elevations-box{width:250px;height:250px;background-color:#f5f5f5;border-radius:16px;display:flex;align-items:center;justify-content:center}.dss-module-header__container{min-width:500px}.exemple-container-toast-canvas{width:600px;height:100px;position:relative;overflow:hidden}.sb-landing p{font-size:16px!important}.sb-landing-links{display:flex!important;gap:24px!important;margin-top:32px!important}.sb-landing-links a{flex:1!important}dss-header:not(:defined),dss-sidemenu:not(:defined),dss-modal:not(:defined),dss-card:not(:defined),dss-popover:not(:defined),dss-datepicker-range:not(:defined){display:none}:root{--color-primary-50: #eff7ff;--color-primary-100: #bfddfa;--color-primary-200: #8fc2f5;--color-primary-300: #60a8f0;--color-primary-400: #308deb;--color-primary-500: #0073e6;--color-primary-600: #0064c7;--color-primary-700: #0054a8;--color-primary-800: #004589;--color-primary-900: #00356a;--color-red-50: #fff6f6;--color-red-100: #f0c5c5;--color-red-200: #e29494;--color-red-300: #d36262;--color-red-400: #c53131;--color-red-500: #b60000;--color-red-600: #a20707;--color-red-700: #8e0f0f;--color-red-800: #791616;--color-red-900: #651d1d;--color-orange-50: #ffecc7;--color-orange-100: #ffe1a6;--color-orange-200: #fed585;--color-orange-300: #feca64;--color-orange-400: #fdbe43;--color-orange-500: #fdb322;--color-orange-600: #cc8d1a;--color-orange-700: #9b6711;--color-orange-800: #6a4109;--color-orange-900: #391b00;--color-yellow-50: #FFFBE5;--color-yellow-100: #FFF5C0;--color-yellow-200: #FFEF9B;--color-yellow-300: #FFE976;--color-yellow-400: #FFE351;--color-yellow-500: #FFDD2C;--color-yellow-600: #D2B524;--color-yellow-700: #A48D1B;--color-yellow-800: #766512;--color-yellow-900: #483D09;--color-green-50: #f1fcf6;--color-green-100: #c1e5d1;--color-green-200: #91ceac;--color-green-300: #60b787;--color-green-400: #30a062;--color-green-500: #00893d;--color-green-600: #027937;--color-green-700: #046931;--color-green-800: #05592a;--color-green-900: #074924;--color-blue-50: #ecf9ff;--color-blue-100: #bde0f2;--color-blue-200: #8ec7e5;--color-blue-300: #5eaed8;--color-blue-400: #2f95cb;--color-blue-500: #007cbe;--color-blue-600: #006ba6;--color-blue-700: #005a8f;--color-blue-800: #004877;--color-blue-900: #00375f;--color-purple-50: #fcf2fd;--color-purple-100: #ebcaf7;--color-purple-200: #d9a1f1;--color-purple-300: #c879eb;--color-purple-400: #b651e4;--color-purple-500: #a528de;--color-purple-600: #8f1ec3;--color-purple-700: #7914a8;--color-purple-800: #630a8c;--color-purple-900: #4d0071;--color-neutral-50: #f5f5f5;--color-neutral-100: #d8d8d8;--color-neutral-200: #bbb;--color-neutral-300: #9f9f9f;--color-neutral-400: #828282;--color-neutral-500: #656565;--color-neutral-600: #535353;--color-neutral-700: #414141;--color-neutral-800: #2f2f2f;--color-neutral-900: #1d1d1d;--color-white: #fff;--color-black: #000;--color-salut: #6AAAE4;--color-prim-salut: #0073e6;--color-headline: var(--color-neutral-900);--color-subtitle: var(--color-neutral-700);--color-body: var(--color-neutral-500)}:root{--dss-spacing-tiny: .125rem;--dss-spacing-xxs: .25rem;--dss-spacing-xs: .5rem;--dss-spacing-sm: .75rem;--dss-spacing-md: 1rem;--dss-spacing-lg: 1.5rem;--dss-spacing-xl: 2rem;--dss-spacing-xxl: 2.5rem;--dss-spacing-hg: 3rem;--dss-spacing-xhg: 4rem;--dss-spacing-xxhg: 5rem}:root{--dss-border-width-sm: .0625rem;--dss-border-width-md: .125rem;--dss-border-width-lg: .25rem;--dss-radius-xs: .25rem;--dss-radius-sm: .5rem;--dss-radius-md:.75rem;--dss-radius-lg: 1rem;--dss-radius-xl: 1.5rem;--dss-radius-full: 50%}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}*,*:after,*:before{margin:0;padding:0;box-sizing:border-box;font-family:var(--font-family);scrollbar-width:thin;scrollbar-color:var(--color-neutral-100) var(--color-white)}*::-webkit-scrollbar{width:6px}*::-webkit-scrollbar-track{background:var(--color-white);border-radius:128px}*::-webkit-scrollbar-thumb{background-color:var(--color-neutral-100);border-radius:128px}img{width:auto;max-width:100%;height:auto}.dss-container{width:calc(100% - 3rem);max-width:90rem;margin:auto}.dss-grid{width:calc(100% - 3rem);max-width:90rem;margin:auto;display:grid;grid-template-columns:repeat(12,1fr);gap:1.5rem}.dss-grid__cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}@media screen and (min-width: 62rem){.dss-grid__cols--xl-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--xl-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--xl-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--xl-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--xl-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--xl-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--xl-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--xl-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols--xl-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols--xl-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols--xl-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols--xl-12{grid-template-columns:repeat(12,minmax(0,1fr))}}@media screen and (min-width: 48rem) and (max-width: 62rem){.dss-grid__cols--lg-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--lg-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--lg-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--lg-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--lg-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--lg-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--lg-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--lg-8{grid-template-columns:repeat(8,minmax(0,1fr))}.dss-grid__cols--lg-9{grid-template-columns:repeat(9,minmax(0,1fr))}.dss-grid__cols--lg-10{grid-template-columns:repeat(10,minmax(0,1fr))}.dss-grid__cols--lg-11{grid-template-columns:repeat(11,minmax(0,1fr))}.dss-grid__cols--lg-12{grid-template-columns:repeat(12,minmax(0,1fr))}}@media screen and (max-width: 48rem){.dss-grid{grid-template-columns:repeat(8,1fr)}.dss-grid__cols--md-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--md-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--md-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--md-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dss-grid__cols--md-5{grid-template-columns:repeat(5,minmax(0,1fr))}.dss-grid__cols--md-6{grid-template-columns:repeat(6,minmax(0,1fr))}.dss-grid__cols--md-7{grid-template-columns:repeat(7,minmax(0,1fr))}.dss-grid__cols--md-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media screen and (max-width: 20rem){.dss-grid{grid-template-columns:repeat(4,1fr);gap:1rem}.dss-grid__cols--sm-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dss-grid__cols--sm-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dss-grid__cols--sm-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dss-grid__cols--sm-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--sm,.dss-user-feedback__title,h4,.dss-headline--md,.dss-modal__content .dss-modal__title,h3,.dss-headline--lg,h2,.dss-headline--xl,h1{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-breadcrumb{display:flex;align-items:center;width:100%;gap:.5rem;height:-moz-fit-content;height:fit-content}.dss-breadcrumb__item,.dss-breadcrumb__item:last-of-type{font-size:.875rem;cursor:pointer;color:var(--color-neutral-500);font-weight:var(--font-semibold);display:flex;align-self:center;text-decoration:none}.dss-breadcrumb__item:hover{transition:all .3s linear}.dss-breadcrumb__item:hover,.dss-breadcrumb__item:focus{color:var(--color-primary-500)}.dss-breadcrumb__item:active{color:var(--color-primary-400)}.dss-breadcrumb__item:not(:first-child):before{font-family:Material Symbols Rounded;content:"keyboard_arrow_right";text-align:center;font-size:1rem;margin-right:.5rem;font-weight:var(--font-semibold);color:var(--color-neutral-500)}.dss-breadcrumb__item:last-of-type{color:var(--color-neutral-900)}.dss-breadcrumb__item:last-of-type:hover,.dss-breadcrumb__item:last-of-type:focus{color:var(--color-primary-500)}.dss-breadcrumb__item:last-of-type:active{color:var(--color-primary-400)}button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-chip{box-sizing:border-box;padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:.875rem;font-weight:var(--font-semibold);border-radius:var(--dss-radius-xl);border:var(--dss-border-width-sm) solid var(--color-primary-700);color:var(--color-primary-700);display:flex;align-items:center;line-height:var(--line-24);background-color:var(--color-white);transition:.3s all ease-in;gap:var(--dss-spacing-xxs);cursor:default;width:-moz-fit-content;width:fit-content;height:32px;overflow:hidden}.dss-chip__icon{font-size:1rem}.dss-chip__icon-button{box-sizing:border-box;color:var(--color-primary-700);font-size:1rem;padding:var(--dss-spacing-tiny)}.dss-chip__icon-button:hover{background-color:var(--color-primary-100)}.dss-chip__icon-button:focus,.dss-chip__icon-button:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-chip__icon-button:disabled{color:var(--color-neutral-500)}.dss-chip.disabled{cursor:not-allowed;outline:none;border-color:var(--color-neutral-500);color:var(--color-neutral-500);background-color:var(--color-white)}.dss-chip.disabled .dss-chip__icon-button{pointer-events:none}.dss-chip.dss-chip--sm{font-size:.75rem;height:24px;padding:var(--dss-spacing-xxs) var(--dss-spacing-xs);line-height:var(--line-16);gap:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm:has(.dss-chip__icon){padding-left:var(--dss-spacing-xxs)}.dss-chip.dss-chip--sm .dss-chip__icon-button{padding:.0625rem}.dss-chip.dss-chip--selected,.dss-chip.dss-chip--active{box-shadow:none;background-color:var(--color-primary-100)}.dss-chip.dss-chip--selected:not(.disabled):active,.dss-chip.dss-chip--active:not(.disabled):active{background-color:var(--color-primary-50);transition:none}.dss-chip:not(.disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200);transition:none;box-shadow:none}.dss-chip:not(.disabled):hover{box-shadow:none;background-color:var(--color-primary-50)}.dss-chip:not(.disabled):active{background-color:var(--color-primary-50);transition:none}.dss-chip:has(.dss-chip__icon-button){padding-right:var(--dss-spacing-xs)}.dss-chip:has(.dss-chip__icon){padding-left:var(--dss-spacing-xs)}.dss-chip--selected.disabled,.dss-chip--active.disabled{background-color:var(--color-white)}.dss-content-switcher{border-radius:6.25rem;background-color:var(--color-neutral-50);display:flex;gap:.25rem;padding:.25rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-content-switcher__item{box-sizing:border-box;border-radius:6.25rem;position:relative;transition:.3s all ease-in;min-width:90px;width:-moz-fit-content;width:fit-content;display:flex}.dss-content-switcher__item input[type=radio]{height:100%;position:absolute;width:100%;opacity:0;cursor:pointer;border-radius:6.25rem}.dss-content-switcher__item input[type=radio]:checked+label{background-color:var(--color-white)}.dss-content-switcher__item input[type=radio]:hover:not(:checked):not(:disabled)+label{color:var(--color-primary-600)}.dss-content-switcher__item input[type=radio]:active+label{color:var(--color-neutral-900)}.dss-content-switcher__item input[type=radio]:disabled{cursor:not-allowed}.dss-content-switcher__item input[type=radio]:disabled label{color:var(--color-neutral-500);cursor:not-allowed}.dss-content-switcher__item input[type=radio]:focus-visible:enabled+label{outline:.25rem solid var(--color-blue-200);color:var(--color-neutral-700)}.dss-content-switcher__item label{box-sizing:border-box;font-size:.75rem;line-height:var(--line-16);font-weight:var(--font-semibold);border-radius:6.25rem;height:100%;min-width:90px;width:-moz-fit-content;width:fit-content;padding:var(--dss-spacing-xs);display:flex;justify-content:center;align-items:center;transition:.3s all ease-in;color:var(--color-neutral-700)}.dss-decorative-icon{height:24px;width:24px;min-width:24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;border-radius:var(--dss-radius-xs);background-color:var(--color-primary-50);color:var(--color-primary-500);font-size:var(--icon-size-sm)}.dss-decorative-icon--md{height:32px;width:32px;min-width:32px;font-size:var(--icon-size-md);border-radius:var(--dss-radius-xs)}.dss-decorative-icon--lg{height:40px;width:40px;min-width:40px;font-size:var(--icon-size-lg);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--xl{height:48px;width:48px;min-width:48px;font-size:var(--icon-size-xl);border-radius:var(--dss-radius-sm)}.dss-decorative-icon--disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500)}.dss-decorative-icon--success{background-color:var(--color-green-50);color:var(--color-green-500)}.dss-decorative-icon--error{background-color:var(--color-red-50);color:var(--color-red-500)}.dss-decorative-icon--info{background-color:var(--color-blue-50);color:var(--color-blue-500)}hr,.dss-divider--dashed,.dss-divider--bold,.dss-divider{margin-top:2rem;margin-bottom:2rem;border-width:.0625rem;border-style:solid;border-color:var(--color-neutral-100)}.dss-divider--bold{border-width:.125rem}.dss-divider--dashed{border-style:dashed}.dss-floating-button{display:flex;align-items:center;justify-content:space-between;background-color:var(--color-primary-100);color:var(--color-primary-700);border:none;font-weight:var(--font-semibold);cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-floating-button:hover:enabled{background-color:var(--color-primary-200)}.dss-floating-button:active:enabled{background-color:var(--color-primary-50);transition:none}.dss-floating-button:disabled{opacity:.4;cursor:not-allowed}.dss-floating-button:focus-visible:enabled{outline:.25rem solid var(--color-blue-200);transition:none}.dss-floating-button--sm{padding:.75rem;font-size:.875rem;line-height:1.5rem;gap:.5rem;border-radius:.75rem}.dss-floating-button--sm .dss-floating-button__icon{font-size:1rem}.dss-floating-button--sm:has(.dss-floating-button__text){padding-top:.5rem;padding-bottom:.5rem;padding-right:1rem}.dss-floating-button--md{padding:1rem;font-size:1rem;line-height:1.5rem;gap:.75rem;border-radius:1rem}.dss-floating-button--md .dss-floating-button__icon{font-size:1.5rem}.dss-floating-button--md:has(.dss-floating-button__text){padding-right:1.25rem}.dss-floating-button--lg{padding:1.25rem;font-size:1.25rem;line-height:2rem;gap:.75rem;border-radius:1.25rem}.dss-floating-button--lg .dss-floating-button__icon{font-size:2rem}.dss-footer__container{align-items:center;padding:1.5rem;display:flex;flex-direction:column;box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}@media (min-width: 48rem){.dss-footer__container{padding:1rem 1.5rem;flex-direction:row;width:100%}}.dss-footer__logo-content{height:1.5rem;display:flex;margin-bottom:1.5rem}@media (min-width: 48rem){.dss-footer__logo-content{margin-bottom:0}}.dss-footer__content{display:flex;align-items:center;justify-content:center;width:100%}@media (min-width: 48rem){.dss-footer__content{justify-content:space-between}}.dss-footer__content span{display:none}@media (min-width: 48rem){.dss-footer__content span{display:block;position:relative;margin-left:2rem}.dss-footer__content span:before{content:"";width:.0625rem;height:1.5rem;background-color:var(--color-neutral-100);position:absolute;left:-1rem;top:-.25rem;margin:auto}}.dss-footer__link-content{display:flex;flex-direction:column;align-items:center;gap:1rem;font-size:.875rem;font-weight:var(--font-semibold)}@media (min-width: 48rem){.dss-footer__link-content{flex-direction:row;margin-left:auto;margin-right:0;gap:1.5rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}:root{--legend-bg-color: var(--color-neutral-100)}.dss-legend{display:flex;flex-direction:row;gap:1.5rem;height:-moz-fit-content;height:fit-content}.dss-legend--column{flex-direction:column;gap:.75rem}.dss-legend__item{list-style:none;display:flex}.dss-legend__item:before{content:"";display:inline-block;background-color:var(--legend-bg-color);width:1rem;height:1rem;border-radius:.25rem;margin-right:.5rem}.dss-list{list-style:none;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;list-style-position:inside!important;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-list__item{font-size:.875rem;font-weight:var(--font-regular);line-height:var(--line-24)}.dss-list.dss-list--ordered{list-style:decimal}.dss-list.dss-list--unordered>.dss-list__item:before{content:"·";margin-right:.25rem}.dss-list-menu{display:flex;justify-content:flex-start;flex-direction:column;min-width:160px;width:100%;color:var(--color-neutral-900);gap:var(--dss-spacing-xxs)}.dss-list-menu-header{display:flex;justify-content:flex-start;flex-direction:column;padding:0 var(--dss-spacing-md) var(--dss-spacing-md) var(--dss-spacing-sm);gap:var(--dss-spacing-xxs)}.dss-list-menu-header-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);box-sizing:border-box;color:var(--color-neutral-900);font-size:1.25rem;line-height:1.875rem;font-weight:var(--font-bold);padding:0;overflow:hidden}.dss-list-menu-header-description{box-sizing:border-box;padding:0;font-size:.875rem;line-height:1.5rem}.dss-list-menu-title{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);box-sizing:border-box;font-size:1.25rem;line-height:1.875rem;font-weight:var(--font-bold);padding:var(--dss-spacing-sm) var(--dss-spacing-md);height:40px;overflow:hidden}.dss-list-menu-description{box-sizing:border-box;padding:0 var(--dss-spacing-md);font-size:.875rem;line-height:1.5rem}.dss-list-menu-nav{display:flex;justify-content:flex-start;flex-direction:column;gap:var(--dss-spacing-xxs);margin:0;padding:0;list-style:none}.dss-list-menu-item{position:relative;display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-xs);min-width:10rem;box-sizing:border-box;width:100%;max-width:100%;height:40px;overflow:hidden;font-size:.875rem;line-height:1.5rem;font-weight:var(--font-semibold);color:var(--color-neutral-900);border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-sm) var(--dss-spacing-xs) var(--dss-spacing-sm) var(--dss-spacing-md);background-color:transparent;transition:background-color .3s ease-in-out,color .3s ease-in-out;cursor:pointer}.dss-list-menu-item:not(.dss-list-menu-item--disabled):hover{background-color:var(--color-primary-600);color:var(--color-white)}.dss-list-menu-item:not(.dss-list-menu-item--disabled):active{background-color:var(--color-primary-400);color:var(--color-white)}.dss-list-menu-item:not(.dss-list-menu-item--disabled):focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-list-menu-item.dss-list-menu-item--selected{background-color:var(--color-primary-500);color:var(--color-white)}.dss-list-menu-item.dss-list-menu-item--disabled{cursor:not-allowed;background-color:var(--color-neutral-50);color:var(--color-neutral-500);font-weight:var(--font-regular)}.dss-list-menu-item__content{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-list-menu-item__content-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;height:24px;overflow:hidden}.dss-list-menu-item__action{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-module-header__container{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dss-module-header:first-child{width:100%}.dss-module-header__child-container{display:inline-flex;align-items:center;flex-wrap:wrap;flex-shrink:0;gap:1rem}.dss-module-header__child-container .dss-module-header__vertical-line{display:inline-block;height:1.5rem;width:.0625rem;background-color:var(--color-neutral-100);margin:auto}.dss-skeleton{display:block;width:100%;min-width:20rem}.dss-skeleton__item{display:inline-block;height:2rem;position:relative;overflow:hidden;background-color:#d8d8d8;border-radius:.5rem;width:100%}.dss-skeleton__item:not(:first-child){margin-top:1rem}.dss-skeleton__item:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0);animation:shimmer 2s infinite;content:""}@keyframes shimmer{to{transform:translate(100%)}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-task{display:flex;align-items:center;gap:1rem;height:-moz-fit-content;height:fit-content}.dss-task__item{position:relative}.dss-task__item .dss-task__selector{position:absolute;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;width:100%;height:100%;border-color:transparent;background-color:transparent;cursor:pointer}.dss-task__item .dss-task__selector:hover+.dss-task__content,.dss-task__item .dss-task__selector:checked+.dss-task__content{box-shadow:inset 0 0 0 .125rem var(--color-primary-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a;animation:.3s linear fadein}.dss-task__item .dss-task__selector:active+.dss-task__content{box-shadow:inset 0 0 0 .125rem var(--color-primary-200),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-task__item .dss-task__selector:disabled+.dss-task__content{opacity:.4;cursor:not-allowed}.dss-task__item .dss-task__selector:focus-visible:enabled+.dss-task__content{box-shadow:inset 0 0 0 .25rem var(--color-blue-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-task__item .dss-task__content{width:7.5rem;min-height:4.5rem;overflow:hidden;background-color:var(--color-white);border-radius:.5rem;padding:.5rem 1rem;display:flex;flex-direction:column}.dss-task__item .dss-task__content .dss-task__title{text-align:center;margin-bottom:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dss-task__item .dss-task__content .dss-badge,.dss-task__item .dss-task__content .dss-table__badge{margin:0 auto;min-width:-moz-fit-content;min-width:fit-content}@keyframes fadein{0%{box-shadow:inset 0 0 0 .125rem transparent,0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}to{box-shadow:inset 0 0 0 .125rem var(--color-primary-500),0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-elevation--md,.dss-tooltip:after,.dss-tooltip:before,.dss-toast,.dss-task__item .dss-task__content{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.dss-toast{width:-moz-fit-content;width:fit-content;border-radius:.5rem;padding:1rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;position:absolute;bottom:1.875rem;left:1.875rem;transform:translate(calc(-100% - 2.5rem));transition:all .5s cubic-bezier(.68,-.55,.25,1.35)}.dss-toast .dss-toast__content{display:flex;gap:.5rem}.dss-toast .dss-toast__content .dss-toast__text,.dss-toast .dss-toast__content .dss-toast__icon{color:var(--color-white)}.dss-toast .dss-toast__content .dss-toast__icon{font-weight:var(--font-regular)!important}.dss-toast:has(.dss-toast__icon-button){padding-top:.75rem;padding-bottom:.75rem;padding-right:.75rem}.dss-toast--open{transform:translate(0)}.dss-toast--error{background-color:var(--color-red-500)}.dss-toast--warning{background-color:var(--color-yellow-500)}.dss-toast--warning .dss-toast__content .dss-toast__text,.dss-toast--warning .dss-toast__content .dss-toast__icon{color:var(--color-yellow-900)}.dss-toast--success{background-color:var(--color-green-500)}.dss-toast--info{background-color:var(--color-blue-500)}.dss-action-menu{min-width:160px;max-width:280px;box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a;border-radius:.5rem;list-style-type:none;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-action-menu:has(.disabled){cursor:not-allowed}.dss-action-menu__item{padding:.75rem 2rem .75rem 1rem;cursor:pointer;font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-24);color:var(--color-neutral-500);transition:.3s all ease-in;display:flex;align-items:center;background-color:var(--color-white);box-shadow:0 .0625rem 0 0 var(--color-neutral-100),0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item.disabled{color:#c1c1c1;pointer-events:none}.dss-action-menu__item.disabled:focus-visible{color:#c1c1c1;outline:none}.dss-action-menu__item>[class^=material-]{margin-right:.625rem;font-size:1.5rem}.dss-action-menu__item:first-child{border-radius:.5rem .5rem 0 0;box-shadow:0 .0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:first-child:active{box-shadow:0 .0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:last-child{border-radius:0 0 .5rem .5rem;box-shadow:0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:last-child:active{box-shadow:0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:only-child{box-shadow:none;border-radius:.5rem}.dss-action-menu__item:hover{color:var(--color-neutral-700);background-color:var(--color-neutral-100)}.dss-action-menu__item:active{background-color:var(--color-neutral-50);color:var(--color-neutral-700);transition:none;box-shadow:0 .0625rem 0 0 var(--color-neutral-100),0 -.0625rem 0 0 var(--color-neutral-100)}.dss-action-menu__item:focus-visible{color:var(--color-neutral-700);outline:.25rem solid var(--color-blue-200);transition:none}.dss-action-menu__item--error{color:var(--color-red-500)}.dss-action-menu__item--error:focus-visible{color:var(--color-red-500)}.dss-action-menu__item--error:hover{color:var(--color-white);background-color:var(--color-red-500)}.dss-action-menu__item--error:active{color:var(--color-white);background-color:var(--color-red-400);transition:none}.dss-action-menu__item--error.disabled{color:#ee9597}.dss-action-menu__item--error.disabled:focus-visible{color:#ee9597;outline:none}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-tile__content__text .dss-tile__title,.dss-alert,.dss-toast .dss-toast__content{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-alert{padding:.75rem;border-radius:.5rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;display:flex;align-items:center;justify-content:space-between;gap:1rem}.dss-alert.dss-alert--error{color:var(--color-red-700);background-color:var(--color-red-50);border:.0625rem solid var(--color-red-300)}.dss-alert.dss-alert--warning{color:var(--color-yellow-700);background-color:var(--color-yellow-50);border:.0625rem solid var(--color-yellow-500)}.dss-alert.dss-alert--success{color:var(--color-green-700);background-color:var(--color-green-50);border:.0625rem solid var(--color-green-300)}.dss-alert.dss-alert--info{color:var(--color-blue-700);background-color:var(--color-blue-50);border:.0625rem solid var(--color-blue-300)}.dss-alert__message{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.dss-alert__message i{font-size:1.5rem;font-weight:var(--font-semibold)}.dss-alert:not(.dss-alert--lg):not(.dss-alert--md):not(.dss-alert--sm):has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-top:.5rem;padding-bottom:.5rem;padding-right:.5rem}.dss-alert.dss-alert--lg,.dss-alert.dss-alert--md,.dss-alert.dss-alert--sm{display:flex;align-items:flex-start;gap:var(--dss-spacing-xs);box-sizing:border-box}.dss-alert.dss-alert--lg .dss-alert__icon,.dss-alert.dss-alert--md .dss-alert__icon,.dss-alert.dss-alert--sm .dss-alert__icon{display:flex;align-items:center}.dss-alert.dss-alert--lg .dss-alert__text,.dss-alert.dss-alert--md .dss-alert__text,.dss-alert.dss-alert--sm .dss-alert__text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dss-alert.dss-alert--lg .dss-alert__action,.dss-alert.dss-alert--md .dss-alert__action,.dss-alert.dss-alert--sm .dss-alert__action{display:flex;align-items:center}.dss-alert.dss-alert--lg{padding-top:0;padding-bottom:0;min-height:40px;font-size:14px}.dss-alert.dss-alert--lg .dss-alert__icon{height:38px}.dss-alert.dss-alert--lg .dss-alert__text{padding:7px 0}.dss-alert.dss-alert--lg .dss-alert__action{height:38px}.dss-alert.dss-alert--md{padding-top:0;padding-bottom:0;min-height:32px;font-size:12px;line-height:16px}.dss-alert.dss-alert--md .dss-alert__icon{height:30px}.dss-alert.dss-alert--md .dss-alert__text{padding:7px 0}.dss-alert.dss-alert--md .dss-alert__action{height:30px}.dss-alert.dss-alert--sm{padding-top:0;padding-bottom:0;min-height:24px;font-size:12px;line-height:16px}.dss-alert.dss-alert--sm .dss-alert__icon{display:none}.dss-alert.dss-alert--sm .dss-alert__text{padding:3px 0}.dss-alert.dss-alert--sm .dss-alert__action{height:22px}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button),.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-right:var(--dss-spacing-tiny);padding-top:0;padding-bottom:0}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span,.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span{margin-right:var(--dss-spacing-tiny)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button) span{margin-right:var(--dss-spacing-xs)}.dss-badge--danger.dss-badge--dot{background-color:var(--color-red-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger .dss-icon-button,.dss-badge--danger .dss-table__badge__icon-button,.dss-badge--danger .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button,.dss-badge--danger .dss-chip__icon-button,.dss-badge--danger .dss-toast__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger .dss-icon-button i,.dss-badge--danger .dss-table__badge__icon-button i,.dss-badge--danger .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button i,.dss-badge--danger .dss-chip__icon-button i,.dss-badge--danger .dss-toast__icon-button i{font-size:inherit}.dss-badge--danger-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-low .dss-icon-button,.dss-badge--danger-low .dss-table__badge__icon-button,.dss-badge--danger-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button,.dss-badge--danger-low .dss-chip__icon-button,.dss-badge--danger-low .dss-toast__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger-low .dss-icon-button i,.dss-badge--danger-low .dss-table__badge__icon-button i,.dss-badge--danger-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button i,.dss-badge--danger-low .dss-chip__icon-button i,.dss-badge--danger-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--danger-high.dss-badge--dot{background-color:var(--color-red-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-high .dss-icon-button,.dss-badge--danger-high .dss-table__badge__icon-button,.dss-badge--danger-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button,.dss-badge--danger-high .dss-chip__icon-button,.dss-badge--danger-high .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--danger-high .dss-icon-button i,.dss-badge--danger-high .dss-table__badge__icon-button i,.dss-badge--danger-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button i,.dss-badge--danger-high .dss-chip__icon-button i,.dss-badge--danger-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate.dss-badge--dot{background-color:var(--color-orange-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate .dss-icon-button,.dss-badge--moderate .dss-table__badge__icon-button,.dss-badge--moderate .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button,.dss-badge--moderate .dss-chip__icon-button,.dss-badge--moderate .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate .dss-icon-button i,.dss-badge--moderate .dss-table__badge__icon-button i,.dss-badge--moderate .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button i,.dss-badge--moderate .dss-chip__icon-button i,.dss-badge--moderate .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low .dss-icon-button,.dss-badge--moderate-low .dss-table__badge__icon-button,.dss-badge--moderate-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button,.dss-badge--moderate-low .dss-chip__icon-button,.dss-badge--moderate-low .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-low .dss-icon-button i,.dss-badge--moderate-low .dss-table__badge__icon-button i,.dss-badge--moderate-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button i,.dss-badge--moderate-low .dss-chip__icon-button i,.dss-badge--moderate-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--moderate-high.dss-badge--dot{background-color:var(--color-orange-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high .dss-icon-button,.dss-badge--moderate-high .dss-table__badge__icon-button,.dss-badge--moderate-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button,.dss-badge--moderate-high .dss-chip__icon-button,.dss-badge--moderate-high .dss-toast__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-high .dss-icon-button i,.dss-badge--moderate-high .dss-table__badge__icon-button i,.dss-badge--moderate-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button i,.dss-badge--moderate-high .dss-chip__icon-button i,.dss-badge--moderate-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight .dss-icon-button,.dss-badge--slight .dss-table__badge__icon-button,.dss-badge--slight .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button,.dss-badge--slight .dss-chip__icon-button,.dss-badge--slight .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight .dss-icon-button i,.dss-badge--slight .dss-table__badge__icon-button i,.dss-badge--slight .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button i,.dss-badge--slight .dss-chip__icon-button i,.dss-badge--slight .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight-low .dss-icon-button,.dss-badge--slight-low .dss-table__badge__icon-button,.dss-badge--slight-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button,.dss-badge--slight-low .dss-chip__icon-button,.dss-badge--slight-low .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button i,.dss-badge--slight-low .dss-table__badge__icon-button i,.dss-badge--slight-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button i,.dss-badge--slight-low .dss-chip__icon-button i,.dss-badge--slight-low .dss-toast__icon-button i{font-size:inherit}.dss-badge--slight-high .dss-icon-button,.dss-badge--slight-high .dss-table__badge__icon-button,.dss-badge--slight-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button,.dss-badge--slight-high .dss-chip__icon-button,.dss-badge--slight-high .dss-toast__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button i,.dss-badge--slight-high .dss-table__badge__icon-button i,.dss-badge--slight-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button i,.dss-badge--slight-high .dss-chip__icon-button i,.dss-badge--slight-high .dss-toast__icon-button i{font-size:inherit}.dss-badge--correct .dss-icon-button,.dss-badge--correct .dss-table__badge__icon-button,.dss-badge--correct .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button,.dss-badge--correct .dss-chip__icon-button,.dss-badge--correct .dss-toast__icon-button{font-size:inherit;color:var(--color-green-900)}.dss-badge--correct .dss-icon-button i,.dss-badge--correct .dss-table__badge__icon-button i,.dss-badge--correct .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button i,.dss-badge--correct .dss-chip__icon-button i,.dss-badge--correct .dss-toast__icon-button i{font-size:inherit}.dss-badge--undeterminated .dss-icon-button,.dss-badge--undeterminated .dss-table__badge__icon-button,.dss-badge--undeterminated .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button,.dss-badge--undeterminated .dss-chip__icon-button,.dss-badge--undeterminated .dss-toast__icon-button{font-size:inherit;color:var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button i,.dss-badge--undeterminated .dss-table__badge__icon-button i,.dss-badge--undeterminated .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button i,.dss-badge--undeterminated .dss-chip__icon-button i,.dss-badge--undeterminated .dss-toast__icon-button i{font-size:inherit}.dss-badge--critic.dss-badge--outline .dss-icon-button,.dss-badge--critic.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--critic.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic.dss-badge--outline .dss-tile__icon-button,.dss-badge--critic.dss-badge--outline .dss-chip__icon-button,.dss-badge--critic.dss-badge--outline .dss-toast__icon-button{color:var(--color-red-800)}.dss-badge--critic .dss-icon-button,.dss-badge--critic .dss-table__badge__icon-button,.dss-badge--critic .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button,.dss-badge--critic .dss-chip__icon-button,.dss-badge--critic .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--critic .dss-icon-button i,.dss-badge--critic .dss-table__badge__icon-button i,.dss-badge--critic .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button i,.dss-badge--critic .dss-chip__icon-button i,.dss-badge--critic .dss-toast__icon-button i{font-size:inherit}.dss-badge--alert.dss-badge--outline .dss-icon-button,.dss-badge--alert.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--alert.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert.dss-badge--outline .dss-tile__icon-button,.dss-badge--alert.dss-badge--outline .dss-chip__icon-button,.dss-badge--alert.dss-badge--outline .dss-toast__icon-button{color:var(--color-yellow-800)}.dss-badge--alert .dss-icon-button,.dss-badge--alert .dss-table__badge__icon-button,.dss-badge--alert .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button,.dss-badge--alert .dss-chip__icon-button,.dss-badge--alert .dss-toast__icon-button{font-size:inherit;color:var(--color-black)}.dss-badge--alert .dss-icon-button i,.dss-badge--alert .dss-table__badge__icon-button i,.dss-badge--alert .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button i,.dss-badge--alert .dss-chip__icon-button i,.dss-badge--alert .dss-toast__icon-button i{font-size:inherit}.dss-badge--ideal.dss-badge--outline .dss-icon-button,.dss-badge--ideal.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal.dss-badge--outline .dss-tile__icon-button,.dss-badge--ideal.dss-badge--outline .dss-chip__icon-button,.dss-badge--ideal.dss-badge--outline .dss-toast__icon-button{color:var(--color-green-800)}.dss-badge--ideal .dss-icon-button,.dss-badge--ideal .dss-table__badge__icon-button,.dss-badge--ideal .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button,.dss-badge--ideal .dss-chip__icon-button,.dss-badge--ideal .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--ideal .dss-icon-button i,.dss-badge--ideal .dss-table__badge__icon-button i,.dss-badge--ideal .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button i,.dss-badge--ideal .dss-chip__icon-button i,.dss-badge--ideal .dss-toast__icon-button i{font-size:inherit}.dss-badge--info.dss-badge--outline .dss-icon-button,.dss-badge--info.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info.dss-badge--outline .dss-tile__icon-button,.dss-badge--info.dss-badge--outline .dss-chip__icon-button,.dss-badge--info.dss-badge--outline .dss-toast__icon-button{color:var(--color-blue-800)}.dss-badge--info .dss-icon-button,.dss-badge--info .dss-table__badge__icon-button,.dss-badge--info .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button,.dss-badge--info .dss-chip__icon-button,.dss-badge--info .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info .dss-icon-button i,.dss-badge--info .dss-table__badge__icon-button i,.dss-badge--info .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button i,.dss-badge--info .dss-chip__icon-button i,.dss-badge--info .dss-toast__icon-button i{font-size:inherit}.dss-badge--info-alt.dss-badge--outline .dss-icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt.dss-badge--outline .dss-tile__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-chip__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-toast__icon-button{color:var(--color-purple-800)}.dss-badge--info-alt .dss-icon-button,.dss-badge--info-alt .dss-table__badge__icon-button,.dss-badge--info-alt .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button,.dss-badge--info-alt .dss-chip__icon-button,.dss-badge--info-alt .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info-alt .dss-icon-button i,.dss-badge--info-alt .dss-table__badge__icon-button i,.dss-badge--info-alt .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button i,.dss-badge--info-alt .dss-chip__icon-button i,.dss-badge--info-alt .dss-toast__icon-button i{font-size:inherit}.dss-badge--neutral.dss-badge--outline .dss-icon-button,.dss-badge--neutral.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral.dss-badge--outline .dss-tile__icon-button,.dss-badge--neutral.dss-badge--outline .dss-chip__icon-button,.dss-badge--neutral.dss-badge--outline .dss-toast__icon-button{color:var(--color-neutral-900)}.dss-badge--neutral .dss-icon-button,.dss-badge--neutral .dss-table__badge__icon-button,.dss-badge--neutral .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button,.dss-badge--neutral .dss-chip__icon-button,.dss-badge--neutral .dss-toast__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--neutral .dss-icon-button i,.dss-badge--neutral .dss-table__badge__icon-button i,.dss-badge--neutral .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button i,.dss-badge--neutral .dss-chip__icon-button i,.dss-badge--neutral .dss-toast__icon-button i{font-size:inherit}button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--info:disabled,button.dss-table__button--info:disabled,.dss-toast--info button.dss-toast__button:disabled,button.dss-button--success:disabled,button.dss-table__button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--warning:disabled,button.dss-table__button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--error:disabled,button.dss-table__button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-table__button--primary:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}.dss-button-link{display:inline-flex;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;line-height:24px;font-weight:var(--font-semibold);color:var(--color-primary-500);text-decoration:none;border-radius:var(--dss-radius-xs);transition:.2s all ease-in}.dss-button-link:visited{color:var(--color-purple-700)}.dss-button-link:hover{color:var(--color-primary-600)}.dss-button-link:active{color:var(--color-primary-400)}.dss-button-link:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-button-link.dss-button-link--disabled{cursor:not-allowed;color:var(--color-neutral-500)!important}.dss-button-link .dss-button-link-text{text-decoration:underline}.dss-button-link--icon-right{flex-direction:row-reverse}.dss-input::-webkit-outer-spin-button,.dss-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dss-input[type=number]{-moz-appearance:textfield}.dss-input::-moz-placeholder{color:var(--color-neutral-600)}.dss-input::-moz-placeholder,.dss-input::-ms-input-placeholder,.dss-input::placeholder{color:var(--color-neutral-600)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-form-field{display:flex;align-items:center;gap:.625rem;width:-moz-fit-content;width:fit-content}.dss-form-field label{color:var(--color-neutral-900)}.dss-header{padding:1rem 1.5rem;display:flex;justify-content:space-between;background-color:var(--color-white);box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}.dss-header__divider{width:.0625rem;background-color:var(--color-neutral-100);height:2.5rem}.dss-header__divider--only-device{display:block}@media screen and (min-width: 48rem){.dss-header__divider--only-device{display:none}}.dss-header__identity{display:flex;align-items:center}.dss-header__identity-content{display:flex;align-items:center;gap:1.5rem}.dss-header__identity-content>.dss-header__logo{height:1.5rem}@media screen and (min-width: 48rem){.dss-header__identity-content{padding:1rem 0}}.dss-header__identity>.dss-header__divider{display:none}@media screen and (min-width: 62rem){.dss-header__identity>.dss-header__divider{display:block;margin:0 .5rem 0 1.5rem}}.dss-header__navigation{display:flex;align-items:center;gap:1.5rem}@media screen and (min-width: 62rem){.dss-header__navigation{gap:.5rem}}.dss-header__project-name{font-size:1.25rem;font-weight:var(--font-bold);line-height:1.875rem;letter-spacing:0;text-align:left;display:none}@media screen and (min-width: 48rem){.dss-header__project-name{display:block}}.dss-header__list-item{display:flex;gap:.5rem}.dss-header__item{display:flex;align-items:center;width:auto;color:var(--color-neutral-500)}@media screen and (min-width: 48rem){.dss-header__item{padding:1.5rem 1rem}}.dss-header__item>.dss-subtitle--sm,.dss-tabs__selector .dss-header__item>label,.dss-table thead tr .dss-header__item>th,.dss-tile__content__text .dss-header__item>.dss-tile__title,.dss-toast .dss-header__item>.dss-toast__content,.dss-header__item>.dss-alert{display:none;color:var(--color-neutral-500)}@media screen and (min-width: 48rem){.dss-header__item>.dss-subtitle--sm,.dss-tabs__selector .dss-header__item>label,.dss-table thead tr .dss-header__item>th,.dss-tile__content__text .dss-header__item>.dss-tile__title,.dss-toast .dss-header__item>.dss-toast__content,.dss-header__item>.dss-alert{display:block;margin-left:.5rem}}.dss-header__person{padding:.75rem 1rem;display:none}.dss-header__person--disabled{opacity:.4;pointer-events:none}.dss-header__person-content{display:flex;flex-direction:column;font-size:.875rem;line-height:var(--line-24);font-weight:var(--font-semibold)}.dss-header__person-name{color:var(--color-neutral-700)}.dss-header__person-name--linked{color:var(--color-primary-500);text-decoration:underline}.dss-header__person-details{font-weight:var(--font-regular);color:var(--color-neutral-500)}.dss-header__person-arrow{font-size:1.5rem;color:var(--color-primary-500)}.dss-header__person:before{content:"";width:.0625rem;height:1.5rem;background-color:var(--color-neutral-100);position:absolute;left:-1rem;top:-.25rem;margin:auto}@media screen and (min-width: 62rem){.dss-header__person{display:flex;align-items:center;gap:1rem}}.dss-header__menu-icon{cursor:pointer;display:block}@media screen and (min-width: 62rem){.dss-header__menu-icon{display:none!important}}@media screen and (min-width: 48rem){.dss-header{padding:0 1.5rem}.dss-header__item:hover,.dss-header__person:hover{background-color:var(--color-neutral-100);cursor:pointer;transition:.3s all ease-in}.dss-header__item:active,.dss-header__person:active{background-color:var(--color-neutral-50);transition:none}.dss-header__item:focus-visible,.dss-header__person:focus-visible{outline:none;box-shadow:inset 0 0 0 .25rem var(--color-blue-200);transition:none}}@media screen and (min-width: 62rem){.dss-header{padding:0 .5rem 0 1.5rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,.dss-modal__content .dss-modal__title,h3,.dss-headline--sm,.dss-user-feedback__title,h4{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-tile__content__text .dss-tile__description,.dss-modal__content .dss-form-field label,.dss-form-field label{font-size:.875rem;line-height:var(--line-24)}.dss-elevation--lg,.dss-modal,.dss-floating-button{box-shadow:0 .5rem .75rem .375rem #0000000d,0 .25rem .25rem #0000001a}.dss-modal{position:relative;display:grid;width:36.5rem;padding:2rem;background-color:var(--color-white);border-radius:1rem}.dss-modal .dss-icon-button,.dss-modal .dss-table__badge__icon-button,.dss-modal .dss-table td .dss-table__icon-button,.dss-table td .dss-modal .dss-table__icon-button,.dss-modal .dss-table th .dss-table__icon-button,.dss-table th .dss-modal .dss-table__icon-button,.dss-modal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-modal .dss-tile__icon-button,.dss-modal .dss-chip__icon-button,.dss-modal .dss-toast__icon-button{display:flex;justify-self:end;margin-bottom:.5rem}.dss-modal__content{text-align:center;display:flex;flex-direction:column;gap:2rem;align-items:center;margin-bottom:2rem}.dss-modal__content .dss-modal__icon{width:4rem;height:4rem}.dss-modal__content .dss-form-field{align-items:flex-start;gap:.5rem}.dss-modal__content .dss-form-field label{text-align:left}.dss-modal__buttons{display:flex;align-items:center;justify-content:center;gap:1.25rem}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-tile__content__text .dss-tile__title,.dss-toast .dss-toast__content,.dss-alert{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-tile__content__text .dss-tile__description,.dss-form-field label,.dss-modal__content .dss-form-field label{font-size:.875rem;line-height:var(--line-24)}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.dss-icon--md,.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon,.dss-tile__icon-container .dss-tile__icon-item,.dss-toast .dss-toast__content .dss-toast__icon{width:var(--icon-size-md);height:var(--icon-size-md);font-size:var(--icon-size-md)}.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-chip__icon-button,.dss-toast__icon-button{background-color:transparent;border-radius:100%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-icon-button--md,.dss-table td .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-toast__icon-button{font-size:1.5rem;padding:var(--dss-spacing-xxs)}.dss-tile{width:20rem;overflow:hidden;background-color:var(--color-primary-50);border-radius:.5rem;padding:1rem;display:flex;align-items:center;justify-content:flex-start;gap:1rem}.dss-tile--disabled{opacity:.6;pointer-events:none;cursor:not-allowed}.dss-tile__icon-container{background-color:var(--color-primary-100);color:var(--color-primary-700);padding:.75rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.dss-tile__content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex:1 1 100%;min-width:0}.dss-tile__content__text,.dss-tile__content__text .dss-tile__title,.dss-tile__content__text .dss-tile__description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dss-tile__content__icon-button-group{display:flex;gap:.5rem}.dss-elevation--md,.dss-tooltip:after,.dss-tooltip:before,.dss-task__item .dss-task__content,.dss-toast{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-tooltip{cursor:pointer;display:flex;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-tooltip:after{background-color:var(--color-neutral-800);border-radius:.375rem;color:#fff;content:attr(tooltip-text);cursor:default;font-family:var(--font-family);font-size:.875rem;font-weight:var(--font-regular);line-height:var(--line-24);max-width:20.5rem;padding:.5rem 1rem;position:absolute;white-space:normal;width:-moz-max-content;width:max-content;z-index:1}.dss-tooltip:before{content:"";position:absolute;width:1rem;height:1rem;opacity:0;z-index:1;border-radius:.1875rem}.dss-tooltip:after,.dss-tooltip:before{opacity:0;visibility:hidden}.dss-tooltip:hover:after,.dss-tooltip:hover:before{opacity:1;visibility:visible;transition:.3s all ease-in}.dss-tooltip--top:after{left:50%;top:0;transform:translate(-50%,calc(-100% - 15px))}.dss-tooltip--top:before{top:0;left:50%;transform:translate(-50%,calc(-100% - .625rem)) rotate(45deg);background:linear-gradient(to right bottom,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%)}.dss-tooltip--bottom:after{left:50%;bottom:0;transform:translate(-50%,calc(100% + 15px))}.dss-tooltip--bottom:before{bottom:0;left:50%;background:linear-gradient(to top left,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(-50%,calc(100% + .625rem)) rotate(45deg)}.dss-tooltip--right:after{right:0;top:50%;transform:translate(calc(100% + 15px),-50%)}.dss-tooltip--right:before{top:50%;right:0;background:linear-gradient(to bottom left,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(calc(100% + .625rem),-50%) rotate(45deg)}.dss-tooltip--left:after{left:0;top:50%;transform:translate(calc(-100% - 15px),-50%)}.dss-tooltip--left:before{top:50%;left:0;background:linear-gradient(to top right,transparent 0%,transparent 63%,var(--color-neutral-800) 50%,var(--color-neutral-800) 100%);transform:translate(calc(-100% - .625rem),-50%) rotate(45deg)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-sidebar{position:relative;min-height:100%;padding:1rem .75rem;display:flex;flex-direction:column;width:7.875rem;align-items:flex-end;transition:all .3s linear}.dss-sidebar:has(.dss-sidebar--collapse:checked){width:4rem;align-items:center}.dss-sidebar:has(.dss-sidebar--collapse:checked) .dss-sidebar__text{display:none}.dss-sidebar:has(.dss-sidebar--collapse:checked) .dss-sidebar__link{gap:0rem;padding:.5rem}.dss-sidebar--collapse{display:flex;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;font-size:32px;padding:.25rem;margin-bottom:.5rem;color:var(--color-primary-500);border-radius:6.25rem;transition:all .3s linear;width:40px;height:40px}.dss-sidebar--collapse:after{font-family:Material Symbols Rounded;content:"chevron_right"}.dss-sidebar--collapse:hover{background-color:var(--color-primary-100)}.dss-sidebar--collapse:active{background-color:var(--color-primary-50);transition:none}.dss-sidebar--collapse:disabled{opacity:.4;cursor:not-allowed;transition:none}.dss-sidebar--collapse:focus-visible{outline:.25rem solid var(--color-blue-200);transition:none}.dss-sidebar--collapse:checked:after{font-family:Material Symbols Rounded;content:"chevron_left"}.dss-sidebar--collapse:checked+.dss-sidebar__nav .dss-sidebar__link{padding:.5rem}.dss-sidebar--collapse.dss-sidebar--reverse:after{font-family:Material Symbols Rounded;content:"chevron_left"}.dss-sidebar--collapse.dss-sidebar--reverse:checked:after{content:"chevron_right"}.dss-sidebar__nav{width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:.5rem}.dss-sidebar__nav .dss-sidebar__link{color:var(--color-neutral-500);text-decoration:none;display:flex;align-items:center;justify-content:flex-start;gap:.5rem;padding:.5rem .75rem .5rem .5rem;border-radius:.5rem;cursor:pointer}.dss-sidebar__nav .dss-sidebar__link--disabled{pointer-events:none;opacity:.4;cursor:not-allowed}.dss-sidebar__nav .dss-sidebar__link:visited{color:var(--color-neutral-500)}.dss-sidebar__nav .dss-sidebar__link:hover{color:var(--color-white);background-color:var(--color-primary-500);transition:all .3s linear}.dss-sidebar__nav .dss-sidebar__link:active:enabled{color:var(--color-white);background-color:var(--color-primary-600)}.dss-sidebar__nav .dss-sidebar__link:focus-visible{color:var(--color-white);background-color:var(--color-primary-500);transition:none}.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__icon{font-size:1.5rem}.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__text{padding:0rem;font-weight:var(--font-semibold)}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-table .dss-table--nested thead tr th,.dss-table thead tr th,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--sm,.dss-user-feedback__description,.dss-table td,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description{font-size:.875rem;line-height:var(--line-24)}.dss-button--sm,.dss-table__button,.dss-toast__button{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}@font-face{font-family:Material Symbols Rounded;font-style:normal;src:url(https://fontssisdisseny.salut.gencat.cat/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2) format("woff")}.material-symbols,.material-symbols-rounded,.dss-icon{font-weight:400;font-style:normal;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.material-symbols-rounded,.dss-icon{font-family:Material Symbols Rounded}.material-symbols-rounded--fill,.dss-icon--fill{font-variation-settings:"FILL" 1}:root{--font-icons: "Material Symbols Rounded", sans-serif;--icon-size-sm: 1rem;--icon-size-md: 1.5rem;--icon-size-lg: 2rem;--icon-size-xl: 2.5rem}.dss-icon--sm,.dss-table__status i{width:var(--icon-size-sm);height:var(--icon-size-sm);font-size:var(--icon-size-sm)}.dss-icon--md,.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon,.dss-toast .dss-toast__content .dss-toast__icon,.dss-tile__icon-container .dss-tile__icon-item{width:var(--icon-size-md);height:var(--icon-size-md);font-size:var(--icon-size-md)}.dss-icon--lg{width:var(--icon-size-lg);height:var(--icon-size-lg);font-size:var(--icon-size-lg)}.dss-icon--xl{width:var(--icon-size-xl);height:var(--icon-size-xl);font-size:var(--icon-size-xl)}.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-checkbox,.dss-table .dss-table__checkbox{border-radius:.125rem;width:1.25rem!important;height:1.25rem!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--dss-border-width-sm) solid var(--color-primary-500);position:relative;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:var(--dss-spacing-tiny)}.dss-checkbox.dss-checkbox--validate,.dss-table .dss-checkbox--validate.dss-table__checkbox{border-color:var(--color-neutral-700)}.dss-checkbox:hover,.dss-table .dss-table__checkbox:hover{border-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:hover.dss-checkbox--validate,.dss-table .dss-table__checkbox:hover.dss-checkbox--validate{border-color:var(--color-neutral-800)}.dss-checkbox:active,.dss-table .dss-table__checkbox:active{border-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:active.dss-checkbox--validate,.dss-table .dss-table__checkbox:active.dss-checkbox--validate{border-color:var(--color-neutral-500)}.dss-checkbox:checked,.dss-table .dss-table__checkbox:checked{background-color:var(--color-primary-500)}.dss-checkbox:checked.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked.dss-checkbox--validate{border-color:var(--color-green-500);background-color:var(--color-green-500)}.dss-checkbox:checked:before,.dss-table .dss-table__checkbox:checked:before{font-family:Material Symbols Rounded;content:"check";position:absolute;font-size:1.375rem;color:var(--color-white);text-align:center;top:-4px;left:-2px}.dss-checkbox:checked:hover,.dss-table .dss-table__checkbox:checked:hover{border-color:var(--color-primary-600);background-color:var(--color-primary-600);transition:.3s all linear}.dss-checkbox:checked:hover.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked:hover.dss-checkbox--validate{border-color:var(--color-green-600);background-color:var(--color-green-600)}.dss-checkbox:checked:active,.dss-table .dss-table__checkbox:checked:active{background-color:var(--color-primary-400);transition:.3s all linear}.dss-checkbox:checked:active.dss-checkbox--validate,.dss-table .dss-table__checkbox:checked:active.dss-checkbox--validate{border-color:var(--color-green-400);background-color:var(--color-green-400)}.dss-checkbox:indeterminate,.dss-table .dss-table__checkbox:indeterminate{background-color:var(--color-primary-500)}.dss-checkbox:indeterminate:before,.dss-table .dss-table__checkbox:indeterminate:before{font-family:Material Symbols Rounded;font-size:1.125rem;content:"remove";color:var(--color-white);position:absolute;top:-1px}.dss-checkbox:indeterminate.dss-checkbox--validate,.dss-table .dss-table__checkbox:indeterminate.dss-checkbox--validate{background-color:var(--color-green-500)}.dss-checkbox:disabled,.dss-table .dss-table__checkbox:disabled{cursor:not-allowed;color:var(--color-neutral-900);border-color:var(--color-neutral-400)}.dss-checkbox:disabled:checked,.dss-table .dss-table__checkbox:disabled:checked{background-color:var(--color-neutral-300)}.dss-checkbox:disabled:checked:before,.dss-table .dss-table__checkbox:disabled:checked:before{color:var(--color-neutral-900)}.dss-checkbox:disabled:checked.dss-checkbox--validate:hover,.dss-table .dss-table__checkbox:disabled:checked.dss-checkbox--validate:hover{background-color:var(--color-neutral-300)}.dss-checkbox-label{cursor:pointer}.dss-radio,.dss-table .dss-table__radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-white);margin:0;color:var(--color-primary-500);width:1.25rem;height:1.25rem;border:.0625rem solid var(--color-primary-500);border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center;cursor:pointer;transition:.3s all linear;flex-shrink:0;margin:.125rem}.dss-radio:before,.dss-table .dss-table__radio:before{content:"";width:.625rem;height:.625rem;border-radius:50%;transform:scale(0);transition:.3s transform ease-in-out;box-shadow:inset 1rem 1rem var(--color-primary-500);background-color:var(--color-white)}.dss-radio:checked,.dss-table .dss-table__radio:checked{border:.0625rem solid var(--color-primary-500)}.dss-radio:checked:before,.dss-table .dss-table__radio:checked:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-500)}.dss-radio:checked:hover,.dss-table .dss-table__radio:checked:hover{border:.0625rem solid var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:hover:before,.dss-table .dss-table__radio:checked:hover:before{transform:scale(1);box-shadow:inset 1rem 1rem var(--color-primary-600);transition:.3s all linear}.dss-radio:checked:disabled,.dss-table .dss-table__radio:checked:disabled{cursor:not-allowed}.dss-radio:checked:disabled:before,.dss-table .dss-table__radio:checked:disabled:before{box-shadow:inset 1rem 1rem var(--color-neutral-400)}.dss-radio:hover,.dss-table .dss-table__radio:hover{border:.0625rem solid var(--color-neutral-600);transition:.3s all linear}.dss-radio:disabled,.dss-table .dss-table__radio:disabled{cursor:not-allowed;border:.0625rem solid var(--color-neutral-400)}.dss-radio:focus-visible:enabled,.dss-table .dss-table__radio:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-badge,.dss-table__badge{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2.5rem;display:flex;align-items:center;justify-content:center;font-weight:var(--font-semibold);font-size:.75rem;line-height:1rem}.dss-badge .dss-badge__icon,.dss-table__badge .dss-badge__icon{font-size:1rem}.dss-badge--dot{display:inline-block;padding:0;min-width:var(--dss-spacing-md);width:var(--dss-spacing-md);height:var(--dss-spacing-md);border-radius:100%;margin:auto}.dss-badge--dot>*{display:none;padding:0}.dss-badge--sm{padding:0 var(--dss-spacing-xs);border-radius:var(--dss-radius-xs)}.dss-badge--sm>:not(span){display:none}.dss-badge--md,.dss-table__badge{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);border-radius:var(--dss-radius-xs)}.dss-badge--md:has(.dss-badge__icon),.dss-table__badge:has(.dss-badge__icon){padding-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-badge__icon) span,.dss-table__badge:has(.dss-badge__icon) span{margin-left:var(--dss-spacing-xs)}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button),.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button){padding-right:var(--dss-spacing-tiny);padding-top:0;padding-bottom:0}.dss-badge--md:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span,.dss-table__badge:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span{margin-right:var(--dss-spacing-tiny)}.dss-badge--lg{font-size:.875rem;line-height:1.5rem;padding:var(--dss-spacing-xxs) var(--dss-spacing-md);border-radius:var(--dss-radius-sm)}.dss-badge--lg:has(.dss-badge__icon){padding-left:var(--dss-spacing-sm)}.dss-badge--lg:has(.dss-badge__icon) span{margin-left:var(--dss-spacing-xs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button){padding-right:var(--dss-spacing-xxs)}.dss-badge--lg:has(.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button) span{margin-right:var(--dss-spacing-xs)}.dss-badge--default{background-color:var(--color-neutral-100);color:var(--color-neutral-700)}.dss-badge--default.dss-badge--dot{background-color:var(--color-neutral-500)}.dss-badge--default.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-500);background-color:var(--color-white);color:var(--color-neutral-700)}.dss-badge--default.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-neutral-500);background-color:var(--color-white)}.dss-badge--red,.dss-table__badge--red{background-color:var(--color-red-100);color:var(--color-red-700)}.dss-badge--red.dss-badge--dot,.dss-badge--dot.dss-table__badge--red{background-color:var(--color-red-500)}.dss-badge--red.dss-badge--outline,.dss-badge--outline.dss-table__badge--red{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);background-color:var(--color-white);color:var(--color-red-700)}.dss-badge--red.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--red{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-red-500);background-color:var(--color-white)}.dss-badge--orange{background-color:var(--color-orange-100);color:var(--color-orange-700)}.dss-badge--orange.dss-badge--dot{background-color:var(--color-orange-500)}.dss-badge--orange.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500);background-color:var(--color-white);color:var(--color-orange-700)}.dss-badge--orange.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-orange-500);background-color:var(--color-white)}.dss-badge--yellow,.dss-table__badge--yellow{background-color:var(--color-yellow-100);color:var(--color-yellow-700)}.dss-badge--yellow.dss-badge--dot,.dss-badge--dot.dss-table__badge--yellow{background-color:var(--color-yellow-500)}.dss-badge--yellow.dss-badge--outline,.dss-badge--outline.dss-table__badge--yellow{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500);background-color:var(--color-white);color:var(--color-yellow-700)}.dss-badge--yellow.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--yellow{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-yellow-500);background-color:var(--color-white)}.dss-badge--green,.dss-table__badge--green{background-color:var(--color-green-100);color:var(--color-green-700)}.dss-badge--green.dss-badge--dot,.dss-badge--dot.dss-table__badge--green{background-color:var(--color-green-500)}.dss-badge--green.dss-badge--outline,.dss-badge--outline.dss-table__badge--green{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-500);background-color:var(--color-white);color:var(--color-green-700)}.dss-badge--green.dss-badge--outline.dss-badge--dot,.dss-badge--outline.dss-badge--dot.dss-table__badge--green{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-green-500);background-color:var(--color-white)}.dss-badge--blue{background-color:var(--color-blue-100);color:var(--color-blue-700)}.dss-badge--blue.dss-badge--dot{background-color:var(--color-blue-500)}.dss-badge--blue.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-500);background-color:var(--color-white);color:var(--color-blue-700)}.dss-badge--blue.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-blue-500);background-color:var(--color-white)}.dss-badge--purple{background-color:var(--color-purple-100);color:var(--color-purple-700)}.dss-badge--purple.dss-badge--dot{background-color:var(--color-purple-500)}.dss-badge--purple.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-500);background-color:var(--color-white);color:var(--color-purple-700)}.dss-badge--purple.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-md) var(--color-purple-500);background-color:var(--color-white)}.dss-badge--danger{background-color:var(--color-red-100);color:var(--color-red-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-100)}.dss-badge--danger.dss-badge--dot{background-color:var(--color-red-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger .dss-icon-button,.dss-badge--danger .dss-table__badge__icon-button,.dss-badge--danger .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger .dss-table__icon-button,.dss-badge--danger .dss-chip__icon-button,.dss-badge--danger .dss-toast__icon-button,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger .dss-icon-button i,.dss-badge--danger .dss-table__badge__icon-button i,.dss-badge--danger .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger .dss-table__icon-button i,.dss-badge--danger .dss-chip__icon-button i,.dss-badge--danger .dss-toast__icon-button i,.dss-badge--danger .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger .dss-tile__icon-button i{font-size:inherit}.dss-badge--danger-low{background-color:var(--color-white);color:var(--color-red-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500)}.dss-badge--danger-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-low .dss-icon-button,.dss-badge--danger-low .dss-table__badge__icon-button,.dss-badge--danger-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-low .dss-table__icon-button,.dss-badge--danger-low .dss-chip__icon-button,.dss-badge--danger-low .dss-toast__icon-button,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button{font-size:inherit;color:var(--color-red-900)}.dss-badge--danger-low .dss-icon-button i,.dss-badge--danger-low .dss-table__badge__icon-button i,.dss-badge--danger-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-low .dss-table__icon-button i,.dss-badge--danger-low .dss-chip__icon-button i,.dss-badge--danger-low .dss-toast__icon-button i,.dss-badge--danger-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--danger-high{background-color:var(--color-red-500);color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-500)}.dss-badge--danger-high.dss-badge--dot{background-color:var(--color-red-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-900);border-radius:0;box-shadow:none;width:16px;height:14px;background:url('data:image/svg+xml,');background-repeat:no-repeat}.dss-badge--danger-high .dss-icon-button,.dss-badge--danger-high .dss-table__badge__icon-button,.dss-badge--danger-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--danger-high .dss-table__icon-button,.dss-badge--danger-high .dss-chip__icon-button,.dss-badge--danger-high .dss-toast__icon-button,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--danger-high .dss-icon-button i,.dss-badge--danger-high .dss-table__badge__icon-button i,.dss-badge--danger-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--danger-high .dss-table__icon-button i,.dss-badge--danger-high .dss-chip__icon-button i,.dss-badge--danger-high .dss-toast__icon-button i,.dss-badge--danger-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--danger-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate{background-color:var(--color-orange-100);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-100)}.dss-badge--moderate.dss-badge--dot{background-color:var(--color-orange-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate .dss-icon-button,.dss-badge--moderate .dss-table__badge__icon-button,.dss-badge--moderate .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate .dss-table__icon-button,.dss-badge--moderate .dss-chip__icon-button,.dss-badge--moderate .dss-toast__icon-button,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate .dss-icon-button i,.dss-badge--moderate .dss-table__badge__icon-button i,.dss-badge--moderate .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate .dss-table__icon-button i,.dss-badge--moderate .dss-chip__icon-button i,.dss-badge--moderate .dss-toast__icon-button i,.dss-badge--moderate .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate-low{background-color:var(--color-white);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500)}.dss-badge--moderate-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-low .dss-icon-button,.dss-badge--moderate-low .dss-table__badge__icon-button,.dss-badge--moderate-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-low .dss-table__icon-button,.dss-badge--moderate-low .dss-chip__icon-button,.dss-badge--moderate-low .dss-toast__icon-button,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-low .dss-icon-button i,.dss-badge--moderate-low .dss-table__badge__icon-button i,.dss-badge--moderate-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-low .dss-table__icon-button i,.dss-badge--moderate-low .dss-chip__icon-button i,.dss-badge--moderate-low .dss-toast__icon-button i,.dss-badge--moderate-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--moderate-high{background-color:var(--color-orange-500);color:var(--color-orange-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-500)}.dss-badge--moderate-high.dss-badge--dot{background-color:var(--color-orange-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-orange-900);border-radius:0;box-shadow:none;width:16px;height:16px;background:url('data:image/svg+xml, ');background-repeat:no-repeat}.dss-badge--moderate-high .dss-icon-button,.dss-badge--moderate-high .dss-table__badge__icon-button,.dss-badge--moderate-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--moderate-high .dss-table__icon-button,.dss-badge--moderate-high .dss-chip__icon-button,.dss-badge--moderate-high .dss-toast__icon-button,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button{font-size:inherit;color:var(--color-orange-900)}.dss-badge--moderate-high .dss-icon-button i,.dss-badge--moderate-high .dss-table__badge__icon-button i,.dss-badge--moderate-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--moderate-high .dss-table__icon-button i,.dss-badge--moderate-high .dss-chip__icon-button i,.dss-badge--moderate-high .dss-toast__icon-button i,.dss-badge--moderate-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--moderate-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight{background-color:var(--color-yellow-100);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-100)}.dss-badge--slight.dss-badge--dot{background-color:var(--color-yellow-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight .dss-icon-button,.dss-badge--slight .dss-table__badge__icon-button,.dss-badge--slight .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight .dss-table__icon-button,.dss-badge--slight .dss-chip__icon-button,.dss-badge--slight .dss-toast__icon-button,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight .dss-icon-button i,.dss-badge--slight .dss-table__badge__icon-button i,.dss-badge--slight .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight .dss-table__icon-button i,.dss-badge--slight .dss-chip__icon-button i,.dss-badge--slight .dss-toast__icon-button i,.dss-badge--slight .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight-low{background-color:var(--color-white);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500)}.dss-badge--slight-low.dss-badge--dot{background-color:var(--color-white);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button,.dss-badge--slight-low .dss-table__badge__icon-button,.dss-badge--slight-low .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-low .dss-table__icon-button,.dss-badge--slight-low .dss-chip__icon-button,.dss-badge--slight-low .dss-toast__icon-button,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-low .dss-icon-button i,.dss-badge--slight-low .dss-table__badge__icon-button i,.dss-badge--slight-low .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-low .dss-table__icon-button i,.dss-badge--slight-low .dss-chip__icon-button i,.dss-badge--slight-low .dss-toast__icon-button i,.dss-badge--slight-low .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-low .dss-tile__icon-button i{font-size:inherit}.dss-badge--slight-high{background-color:var(--color-yellow-500);color:var(--color-yellow-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-500)}.dss-badge--slight-high.dss-badge--dot{background-color:var(--color-yellow-500);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button,.dss-badge--slight-high .dss-table__badge__icon-button,.dss-badge--slight-high .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--slight-high .dss-table__icon-button,.dss-badge--slight-high .dss-chip__icon-button,.dss-badge--slight-high .dss-toast__icon-button,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button{font-size:inherit;color:var(--color-yellow-900)}.dss-badge--slight-high .dss-icon-button i,.dss-badge--slight-high .dss-table__badge__icon-button i,.dss-badge--slight-high .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--slight-high .dss-table__icon-button i,.dss-badge--slight-high .dss-chip__icon-button i,.dss-badge--slight-high .dss-toast__icon-button i,.dss-badge--slight-high .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--slight-high .dss-tile__icon-button i{font-size:inherit}.dss-badge--correct{background-color:var(--color-green-100);color:var(--color-green-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-100)}.dss-badge--correct.dss-badge--dot{background-color:var(--color-green-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-900)}.dss-badge--correct .dss-icon-button,.dss-badge--correct .dss-table__badge__icon-button,.dss-badge--correct .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--correct .dss-table__icon-button,.dss-badge--correct .dss-chip__icon-button,.dss-badge--correct .dss-toast__icon-button,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button{font-size:inherit;color:var(--color-green-900)}.dss-badge--correct .dss-icon-button i,.dss-badge--correct .dss-table__badge__icon-button i,.dss-badge--correct .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--correct .dss-table__icon-button i,.dss-badge--correct .dss-chip__icon-button i,.dss-badge--correct .dss-toast__icon-button i,.dss-badge--correct .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--correct .dss-tile__icon-button i{font-size:inherit}.dss-badge--undeterminated{background-color:var(--color-neutral-100);color:var(--color-neutral-900);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900)}.dss-badge--undeterminated.dss-badge--dot{background-color:var(--color-neutral-100);box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button,.dss-badge--undeterminated .dss-table__badge__icon-button,.dss-badge--undeterminated .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--undeterminated .dss-table__icon-button,.dss-badge--undeterminated .dss-chip__icon-button,.dss-badge--undeterminated .dss-toast__icon-button,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button{font-size:inherit;color:var(--color-neutral-900)}.dss-badge--undeterminated .dss-icon-button i,.dss-badge--undeterminated .dss-table__badge__icon-button i,.dss-badge--undeterminated .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--undeterminated .dss-table__icon-button i,.dss-badge--undeterminated .dss-chip__icon-button i,.dss-badge--undeterminated .dss-toast__icon-button i,.dss-badge--undeterminated .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--undeterminated .dss-tile__icon-button i{font-size:inherit}.dss-badge--critic{background-color:var(--color-red-500);color:var(--color-white)}.dss-badge--critic.dss-badge--dot{background-color:var(--color-red-500)}.dss-badge--critic.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-800);background-color:var(--color-red-50);color:var(--color-red-800)}.dss-badge--critic.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-red-800);background-color:var(--color-red-50)}.dss-badge--critic.dss-badge--outline .dss-icon-button,.dss-badge--critic.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--critic.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic.dss-badge--outline .dss-table__icon-button,.dss-badge--critic.dss-badge--outline .dss-chip__icon-button,.dss-badge--critic.dss-badge--outline .dss-toast__icon-button,.dss-badge--critic.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic.dss-badge--outline .dss-tile__icon-button{color:var(--color-red-800)}.dss-badge--critic .dss-icon-button,.dss-badge--critic .dss-table__badge__icon-button,.dss-badge--critic .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--critic .dss-table__icon-button,.dss-badge--critic .dss-chip__icon-button,.dss-badge--critic .dss-toast__icon-button,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--critic .dss-icon-button i,.dss-badge--critic .dss-table__badge__icon-button i,.dss-badge--critic .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--critic .dss-table__icon-button i,.dss-badge--critic .dss-chip__icon-button i,.dss-badge--critic .dss-toast__icon-button i,.dss-badge--critic .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--critic .dss-tile__icon-button i{font-size:inherit}.dss-badge--alert{background-color:var(--color-yellow-500);color:var(--color-black)}.dss-badge--alert.dss-badge--dot{background-color:var(--color-yellow-500)}.dss-badge--alert.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-800);background-color:var(--color-yellow-50);color:var(--color-yellow-800)}.dss-badge--alert.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-yellow-800);background-color:var(--color-yellow-50)}.dss-badge--alert.dss-badge--outline .dss-icon-button,.dss-badge--alert.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--alert.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert.dss-badge--outline .dss-table__icon-button,.dss-badge--alert.dss-badge--outline .dss-chip__icon-button,.dss-badge--alert.dss-badge--outline .dss-toast__icon-button,.dss-badge--alert.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert.dss-badge--outline .dss-tile__icon-button{color:var(--color-yellow-800)}.dss-badge--alert .dss-icon-button,.dss-badge--alert .dss-table__badge__icon-button,.dss-badge--alert .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--alert .dss-table__icon-button,.dss-badge--alert .dss-chip__icon-button,.dss-badge--alert .dss-toast__icon-button,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button{font-size:inherit;color:var(--color-black)}.dss-badge--alert .dss-icon-button i,.dss-badge--alert .dss-table__badge__icon-button i,.dss-badge--alert .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--alert .dss-table__icon-button i,.dss-badge--alert .dss-chip__icon-button i,.dss-badge--alert .dss-toast__icon-button i,.dss-badge--alert .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--alert .dss-tile__icon-button i{font-size:inherit}.dss-badge--ideal{background-color:var(--color-green-500);color:var(--color-white)}.dss-badge--ideal.dss-badge--dot{background-color:var(--color-green-500)}.dss-badge--ideal.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-800);background-color:var(--color-green-50);color:var(--color-green-800)}.dss-badge--ideal.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-green-800);background-color:var(--color-green-50)}.dss-badge--ideal.dss-badge--outline .dss-icon-button,.dss-badge--ideal.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal.dss-badge--outline .dss-table__icon-button,.dss-badge--ideal.dss-badge--outline .dss-chip__icon-button,.dss-badge--ideal.dss-badge--outline .dss-toast__icon-button,.dss-badge--ideal.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal.dss-badge--outline .dss-tile__icon-button{color:var(--color-green-800)}.dss-badge--ideal .dss-icon-button,.dss-badge--ideal .dss-table__badge__icon-button,.dss-badge--ideal .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--ideal .dss-table__icon-button,.dss-badge--ideal .dss-chip__icon-button,.dss-badge--ideal .dss-toast__icon-button,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--ideal .dss-icon-button i,.dss-badge--ideal .dss-table__badge__icon-button i,.dss-badge--ideal .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--ideal .dss-table__icon-button i,.dss-badge--ideal .dss-chip__icon-button i,.dss-badge--ideal .dss-toast__icon-button i,.dss-badge--ideal .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--ideal .dss-tile__icon-button i{font-size:inherit}.dss-badge--info{background-color:var(--color-blue-500);color:var(--color-white)}.dss-badge--info.dss-badge--dot{background-color:var(--color-blue-500)}.dss-badge--info.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-800);background-color:var(--color-blue-50);color:var(--color-blue-800)}.dss-badge--info.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-blue-800);background-color:var(--color-blue-50)}.dss-badge--info.dss-badge--outline .dss-icon-button,.dss-badge--info.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info.dss-badge--outline .dss-table__icon-button,.dss-badge--info.dss-badge--outline .dss-chip__icon-button,.dss-badge--info.dss-badge--outline .dss-toast__icon-button,.dss-badge--info.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info.dss-badge--outline .dss-tile__icon-button{color:var(--color-blue-800)}.dss-badge--info .dss-icon-button,.dss-badge--info .dss-table__badge__icon-button,.dss-badge--info .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info .dss-table__icon-button,.dss-badge--info .dss-chip__icon-button,.dss-badge--info .dss-toast__icon-button,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info .dss-icon-button i,.dss-badge--info .dss-table__badge__icon-button i,.dss-badge--info .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info .dss-table__icon-button i,.dss-badge--info .dss-chip__icon-button i,.dss-badge--info .dss-toast__icon-button i,.dss-badge--info .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info .dss-tile__icon-button i{font-size:inherit}.dss-badge--info-alt{background-color:var(--color-purple-500);color:var(--color-white)}.dss-badge--info-alt.dss-badge--dot{background-color:var(--color-purple-500)}.dss-badge--info-alt.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-800);background-color:var(--color-purple-50);color:var(--color-purple-800)}.dss-badge--info-alt.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-purple-800);background-color:var(--color-purple-50)}.dss-badge--info-alt.dss-badge--outline .dss-icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt.dss-badge--outline .dss-table__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-chip__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-toast__icon-button,.dss-badge--info-alt.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt.dss-badge--outline .dss-tile__icon-button{color:var(--color-purple-800)}.dss-badge--info-alt .dss-icon-button,.dss-badge--info-alt .dss-table__badge__icon-button,.dss-badge--info-alt .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--info-alt .dss-table__icon-button,.dss-badge--info-alt .dss-chip__icon-button,.dss-badge--info-alt .dss-toast__icon-button,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--info-alt .dss-icon-button i,.dss-badge--info-alt .dss-table__badge__icon-button i,.dss-badge--info-alt .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--info-alt .dss-table__icon-button i,.dss-badge--info-alt .dss-chip__icon-button i,.dss-badge--info-alt .dss-toast__icon-button i,.dss-badge--info-alt .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--info-alt .dss-tile__icon-button i{font-size:inherit}.dss-badge--neutral{background-color:var(--color-neutral-500);color:var(--color-white)}.dss-badge--neutral.dss-badge--dot{background-color:var(--color-neutral-500)}.dss-badge--neutral.dss-badge--outline{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900);background-color:var(--color-neutral-50);color:var(--color-neutral-900)}.dss-badge--neutral.dss-badge--outline.dss-badge--dot{box-shadow:inset 0 0 0 var(--dss-border-width-sm) var(--color-neutral-900);background-color:var(--color-neutral-50)}.dss-badge--neutral.dss-badge--outline .dss-icon-button,.dss-badge--neutral.dss-badge--outline .dss-table__badge__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral.dss-badge--outline .dss-table__icon-button,.dss-badge--neutral.dss-badge--outline .dss-chip__icon-button,.dss-badge--neutral.dss-badge--outline .dss-toast__icon-button,.dss-badge--neutral.dss-badge--outline .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral.dss-badge--outline .dss-tile__icon-button{color:var(--color-neutral-900)}.dss-badge--neutral .dss-icon-button,.dss-badge--neutral .dss-table__badge__icon-button,.dss-badge--neutral .dss-table td .dss-table__icon-button,.dss-table td .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-table th .dss-table__icon-button,.dss-table th .dss-badge--neutral .dss-table__icon-button,.dss-badge--neutral .dss-chip__icon-button,.dss-badge--neutral .dss-toast__icon-button,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button{font-size:inherit;color:var(--color-white)}.dss-badge--neutral .dss-icon-button i,.dss-badge--neutral .dss-table__badge__icon-button i,.dss-badge--neutral .dss-table td .dss-table__icon-button i,.dss-table td .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-table th .dss-table__icon-button i,.dss-table th .dss-badge--neutral .dss-table__icon-button i,.dss-badge--neutral .dss-chip__icon-button i,.dss-badge--neutral .dss-toast__icon-button i,.dss-badge--neutral .dss-tile__content__icon-button-group .dss-tile__icon-button i,.dss-tile__content__icon-button-group .dss-badge--neutral .dss-tile__icon-button i{font-size:inherit}.dss-checkbox:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-table__button--primary:disabled,button.dss-button--error:disabled,button.dss-table__button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--warning:disabled,button.dss-table__button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--success:disabled,button.dss-table__button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--info:disabled,button.dss-table__button--info:disabled,.dss-toast--info button.dss-toast__button:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-table__button,button.dss-toast__button{border-radius:8rem;border:none;cursor:pointer;font-weight:var(--font-semibold);font-family:var(--font-family);display:flex;align-items:center;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}button.dss-button:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-table__button:active:enabled,button.dss-toast__button:active:enabled{transition:none}button.dss-button--error,button.dss-table__button--error,.dss-toast--error button.dss-toast__button{background-color:var(--color-red-500);color:var(--color-white)}button.dss-button--error:hover:enabled,button.dss-table__button--error:hover:enabled,.dss-toast--error button.dss-toast__button:hover:enabled{background-color:var(--color-red-600)}button.dss-button--error:active:enabled,button.dss-table__button--error:active:enabled,.dss-toast--error button.dss-toast__button:active:enabled{background-color:var(--color-red-400)}button.dss-button--warning,button.dss-table__button--warning,.dss-toast--warning button.dss-toast__button{color:var(--color-yellow-900);background-color:var(--color-yellow-500)}button.dss-button--warning:hover:enabled,button.dss-table__button--warning:hover:enabled,.dss-toast--warning button.dss-toast__button:hover:enabled{background-color:var(--color-yellow-600)}button.dss-button--warning:active:enabled,button.dss-table__button--warning:active:enabled,.dss-toast--warning button.dss-toast__button:active:enabled{background-color:var(--color-yellow-400)}button.dss-button--success,button.dss-table__button--success,.dss-toast--success button.dss-toast__button{background-color:var(--color-green-500);color:var(--color-white)}button.dss-button--success:hover:enabled,button.dss-table__button--success:hover:enabled,.dss-toast--success button.dss-toast__button:hover:enabled{background-color:var(--color-green-600)}button.dss-button--success:active:enabled,button.dss-table__button--success:active:enabled,.dss-toast--success button.dss-toast__button:active:enabled{background-color:var(--color-green-400)}button.dss-button--info,button.dss-table__button--info,.dss-toast--info button.dss-toast__button{background-color:var(--color-blue-500);color:var(--color-white)}button.dss-button--info:hover:enabled,button.dss-table__button--info:hover:enabled,.dss-toast--info button.dss-toast__button:hover:enabled{background-color:var(--color-blue-600)}button.dss-button--info:active:enabled,button.dss-table__button--info:active:enabled,.dss-toast--info button.dss-toast__button:active:enabled{background-color:var(--color-blue-400)}button.dss-button--sm,button.dss-table__button,button.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:var(--dss-spacing-sm);line-height:var(--line-16)}button.dss-button--sm.dss-button--icon-left,button.dss-button--icon-left.dss-table__button,button.dss-button--icon-left.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-xs)}button.dss-button--sm.dss-button--icon-left>[class^=material-],button.dss-button--icon-left.dss-table__button>[class^=material-],button.dss-button--icon-left.dss-toast__button>[class^=material-],button.dss-button--sm.dss-button--icon-left .dss-icon,button.dss-button--icon-left.dss-table__button .dss-icon,button.dss-button--icon-left.dss-toast__button .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--icon-right,button.dss-button--icon-right.dss-table__button,button.dss-button--icon-right.dss-toast__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-xs) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--sm.dss-button--icon-right>[class^=material-],button.dss-button--icon-right.dss-table__button>[class^=material-],button.dss-button--icon-right.dss-toast__button>[class^=material-],button.dss-button--sm.dss-button--icon-right .dss-icon,button.dss-button--icon-right.dss-table__button .dss-icon,button.dss-button--icon-right.dss-toast__button .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--only-icon,button.dss-button--only-icon.dss-table__button,button.dss-button--only-icon.dss-toast__button{padding:var(--dss-spacing-xxs);font-size:1rem}.dss-icon-button,.dss-table__badge__icon-button,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-chip__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{background-color:transparent;border-radius:100%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.dss-icon-button--default{color:var(--color-neutral-700)}.dss-icon-button--default:hover:enabled{background-color:var(--color-neutral-100)}.dss-icon-button--default:active:enabled{background-color:var(--color-neutral-50);transition:none;color:var(--color-neutral-900)}.dss-icon-button--default:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--default:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--white-default,.dss-toast__icon-button{color:var(--color-white)}.dss-icon-button--white-default:hover:enabled,.dss-toast__icon-button:hover:enabled{background-color:var(--color-neutral-100)}.dss-icon-button--white-default:active:enabled,.dss-toast__icon-button:active:enabled{background-color:var(--color-neutral-50);transition:none}.dss-icon-button--white-default:disabled,.dss-toast__icon-button:disabled{cursor:not-allowed;opacity:.4}.dss-icon-button--white-default:focus-visible:enabled,.dss-toast__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--primary,.dss-table td .dss-table__icon-button,.dss-table th .dss-table__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{color:var(--color-primary-500)}.dss-icon-button--primary:hover:enabled,.dss-table td .dss-table__icon-button:hover:enabled,.dss-table th .dss-table__icon-button:hover:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:hover:enabled{background-color:var(--color-primary-100);color:var(--color-primary-800)}.dss-icon-button--primary:active:enabled,.dss-table td .dss-table__icon-button:active:enabled,.dss-table th .dss-table__icon-button:active:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:active:enabled{background-color:var(--color-primary-50);transition:none;color:var(--color-primary-700)}.dss-icon-button--primary:disabled,.dss-table td .dss-table__icon-button:disabled,.dss-table th .dss-table__icon-button:disabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--primary:focus-visible:enabled,.dss-table td .dss-table__icon-button:focus-visible:enabled,.dss-table th .dss-table__icon-button:focus-visible:enabled,.dss-tile__content__icon-button-group .dss-tile__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--error,.dss-table__badge--red .dss-table__badge__icon-button{color:var(--color-red-500)}.dss-icon-button--error:hover:enabled,.dss-table__badge--red .dss-table__badge__icon-button:hover:enabled{background-color:var(--color-red-100);color:var(--color-red-700)}.dss-icon-button--error:active:enabled,.dss-table__badge--red .dss-table__badge__icon-button:active:enabled{background-color:var(--color-red-50);transition:none;color:var(--color-red-700)}.dss-icon-button--error:disabled,.dss-table__badge--red .dss-table__badge__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--error:focus-visible:enabled,.dss-table__badge--red .dss-table__badge__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--warning,.dss-table__badge--yellow .dss-table__badge__icon-button,.dss-toast--warning .dss-toast__icon-button{color:var(--color-yellow-800)}.dss-icon-button--warning:hover:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:hover:enabled,.dss-toast--warning .dss-toast__icon-button:hover:enabled{background-color:var(--color-yellow-100);color:var(--color-yellow-900)}.dss-icon-button--warning:active:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:active:enabled,.dss-toast--warning .dss-toast__icon-button:active:enabled{background-color:var(--color-yellow-50);transition:none;color:var(--color-yellow-700)}.dss-icon-button--warning:disabled,.dss-table__badge--yellow .dss-table__badge__icon-button:disabled,.dss-toast--warning .dss-toast__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--warning:focus-visible:enabled,.dss-table__badge--yellow .dss-table__badge__icon-button:focus-visible:enabled,.dss-toast--warning .dss-toast__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--success,.dss-table__badge--green .dss-table__badge__icon-button{color:var(--color-green-500)}.dss-icon-button--success:hover:enabled,.dss-table__badge--green .dss-table__badge__icon-button:hover:enabled{background-color:var(--color-green-100);color:var(--color-green-700)}.dss-icon-button--success:active:enabled,.dss-table__badge--green .dss-table__badge__icon-button:active:enabled{background-color:var(--color-green-50);transition:none;color:var(--color-green-700)}.dss-icon-button--success:disabled,.dss-table__badge--green .dss-table__badge__icon-button:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--success:focus-visible:enabled,.dss-table__badge--green .dss-table__badge__icon-button:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--info{color:var(--color-blue-500)}.dss-icon-button--info:hover:enabled{background-color:var(--color-blue-100);color:var(--color-blue-700)}.dss-icon-button--info:active:enabled{background-color:var(--color-blue-50);transition:none;color:var(--color-blue-700)}.dss-icon-button--info:disabled{cursor:not-allowed;color:var(--color-neutral-500)}.dss-icon-button--info:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}.dss-icon-button--sm,.dss-table__badge__icon-button,.dss-table th .dss-table__icon-button{font-size:1rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--md,.dss-table td .dss-table__icon-button,.dss-toast__icon-button,.dss-tile__content__icon-button-group .dss-tile__icon-button{font-size:1.5rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--lg{font-size:2rem;padding:var(--dss-spacing-xxs)}.dss-icon-button--xl{font-size:2.5rem;padding:var(--dss-spacing-xxs)}.dss-table{width:100%;border-spacing:0;border-collapse:collapse}.dss-table thead tr th{box-shadow:inset 0 -.125rem 0 0 var(--color-neutral-700)}.dss-table tbody tr td{box-shadow:inset 0 -.0625rem 0 0 var(--color-neutral-100)}.dss-table tbody tr td:empty:before{font-family:Material Symbols Rounded;content:"remove";font-size:1.5rem;display:flex;justify-content:flex-end}.dss-table th,.dss-table td{padding:1rem;text-align:left}.dss-table th .dss-table__icon-button{margin:auto}.dss-table th:has(.dss-table__icon-button)>*,.dss-table th:has(.dss-table__checkbox)>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table td>*{margin:auto;display:flex;align-items:center;justify-content:flex-start}.dss-table td:has(.dss-table--nested)>*{display:inline-table}.dss-table td:has(.dss-table__review){padding:.75rem}.dss-table td:has(.dss-table__badge-container)>*,.dss-table td:has(.dss-table__badge-warning-container)>*{margin:0;display:flex;justify-content:flex-end}.dss-table td:has(.dss-table__icon-button-container)>*,.dss-table td:has(.dss-table__review)>*,.dss-table td:has(.dss-table__button)>*,.dss-table td:has(.dss-table__radiobutton)>*,.dss-table td:has(.dss-table__checkbox)>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table td:has(.dss-table__icon-button:nth-child(1)),.dss-table td:has(.dss-table__radiobutton),.dss-table td:has(.dss-table__checkbox){width:3.5rem}.dss-table td:has(.dss-table__icon-button:nth-child(2)){width:6rem}.dss-table td:has(.dss-table__icon-button:nth-child(2))>.dss-table__icon-button-container{gap:1rem}.dss-table td:has(.dss-table__icon-button:nth-child(3)){width:8.5rem}.dss-table td:has(.dss-table__icon-button:nth-child(3))>.dss-table__icon-button-container{gap:1rem}.dss-table__text{overflow:hidden;display:-webkit-box!important;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.dss-table--align-center th,.dss-table--align-center td{text-align:center}.dss-table--align-center td>*{margin:auto;display:flex;align-items:center;justify-content:center}.dss-table--align-right th,.dss-table--align-right td{text-align:right}.dss-table--align-right td>*{margin:0 0 auto auto}.dss-table__cell--align-center{text-align:center!important;margin:auto}.dss-table__cell--align-center>*{margin:0!important;display:flex;justify-content:center!important}.dss-table__cell--align-right{text-align:right!important;margin:0 0 auto auto}.dss-table__cell--align-right>*{margin:0!important;display:flex;justify-content:flex-end!important}.dss-table--bold{font-weight:var(--font-bold)}.dss-table--black{font-weight:var(--font-bold);color:var(--color-neutral-900)}.dss-table__status{width:-moz-fit-content;width:fit-content;display:flex;align-items:center;justify-content:flex-start;margin:0!important;gap:.5rem}.dss-table__status--error{color:var(--color-red-500)}.dss-table .dss-table__badge-warning-container{display:inline-flex;align-items:center}.dss-table .dss-table__badge-warning-container .dss-table__badge-warning-icon{font-weight:var(--font-regular);color:var(--color-red-500);margin-right:.5rem}.dss-table__badge__icon-button{height:1.5rem}.dss-table__badge--dot{min-width:.5rem;width:.5rem;height:.5rem;border-radius:100%;padding:0}.dss-table__badge--dot *{display:none}.dss-table__badge--green.dss-table__badge--dot{background-color:var(--color-green-500)}.dss-table__badge--yellow.dss-table__badge--dot{background-color:var(--color-yellow-500)}.dss-table__badge--red.dss-table__badge--dot{background-color:var(--color-red-500)}.dss-table__review{border-radius:.5rem;width:2rem!important;height:2rem!important;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;color:var(--color-neutral-500);box-shadow:inset 0 0 0 .125rem var(--color-neutral-500);cursor:pointer;transition:.3s all linear}.dss-table__review:disabled{opacity:.4;cursor:not-allowed}.dss-table__review:before{width:100%;height:100%;font-family:Material Symbols Rounded;content:"";font-size:1.5rem;display:flex;justify-content:center;align-items:center}.dss-table__review:checked,.dss-table__review:hover:enabled{box-shadow:none}.dss-table__review:checked:before,.dss-table__review:hover:enabled:before{color:var(--color-white)}.dss-table__review:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-table__review--check:checked,.dss-table__review--check:hover:enabled{background:var(--color-green-500)}.dss-table__review--check:checked:before,.dss-table__review--check:hover:enabled:before{content:"check"}.dss-table__review--check:focus-visible:enabled:before{content:"check"}.dss-table__review--check:checked:hover:enabled{background:var(--color-green-600)}.dss-table__review--check:active:enabled,.dss-table__review--check:checked:active:enabled{background:var(--color-green-400);transition:none}.dss-table__review--error:checked,.dss-table__review--error:hover:enabled{background:var(--color-red-500)}.dss-table__review--error:checked:before,.dss-table__review--error:hover:enabled:before{content:"close"}.dss-table__review--error:focus-visible:enabled:before{content:"close"}.dss-table__review--error:checked:hover:enabled{background:var(--color-red-600)}.dss-table__review--error:active:enabled,.dss-table__review--error:checked:active:enabled{background:var(--color-red-400);transition:none}.dss-table .dss-table--order{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--dss-spacing-xs);text-align:justify}.dss-table .dss-table--order .dss-table__sort-icon{display:flex;align-items:center;justify-content:center;border-radius:.25rem;padding:var(--dss-spacing-sm);box-sizing:border-box;background-color:transparent;transition:all .2s ease-in}.dss-table .dss-table--order:hover .dss-table__sort-icon{background-color:var(--color-primary-500);color:var(--color-white)}.dss-table .dss-table--order .dss-table__arrow-order{border-radius:.125rem;width:1rem!important;height:1rem!important;flex-shrink:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;color:var(--color-neutral-700);cursor:pointer;transition:.3s all linear}.dss-table .dss-table--order .dss-table__arrow-order:disabled{opacity:.4;cursor:not-allowed;transition:none}.dss-table .dss-table--order .dss-table__arrow-order:before{width:100%;height:100%;font-family:Material Symbols Rounded;content:"arrow_upward";font-size:1rem;display:flex;justify-content:center;align-items:center}.dss-table .dss-table--order .dss-table__arrow-order:hover:enabled{color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table--order .dss-table__arrow-order:active{color:var(--color-white);background-color:var(--color-neutral-600);transition:none}.dss-table .dss-table--order .dss-table__arrow-order:focus-visible:enabled{outline:.25rem solid var(--color-blue-200)}.dss-table .dss-table--order .dss-table__arrow-order:checked{color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table--order .dss-table__arrow-order:checked:before{content:"arrow_downward"}.dss-table .dss-table--order .dss-table__arrow-order:checked:hover:enabled{color:var(--color-white);background-color:var(--color-neutral-600)}.dss-table .dss-table--order .dss-table__arrow-order:checked:active:enabled{color:var(--color-white);background-color:var(--color-neutral-400);transition:none}.dss-table .dss-table--order .dss-table__arrow-order:checked:focus-visible:enabled{outline:.25rem solid var(--color-blue-200);color:var(--color-white);background-color:var(--color-neutral-500)}.dss-table .dss-table__checkbox{margin:auto}.dss-table .dss-table__radio{margin:0 auto!important}.dss-table .dss-table--nested thead tr th{color:var(--color-neutral-500);box-shadow:inset 0 -.125rem 0 0 var(--color-neutral-200)}.dss-table .dss-table--nested .dss-table__arrow-order{color:var(--color-neutral-500)}.dss-table.dss-table--sticky-header thead tr{width:100%;position:sticky;top:0;background-color:var(--color-white);z-index:100}.dss-table.dss-table--fixed-height th,.dss-table.dss-table--fixed-height td{height:56px;max-height:56px;padding:0 var(--dss-spacing-md);text-align:left}.dss-table.dss-table--has-paginator tr:last-child td{box-shadow:none}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-subtitle--sm,.dss-tabs__selector label,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title,.dss-table thead tr th,.dss-table .dss-table--nested thead tr th{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-tabs{display:flex;flex-wrap:wrap;gap:.5rem}.dss-tabs+.dss-tabs--icon{align-items:end;justify-content:center}.dss-tabs+.dss-tabs--icon .dss-tabs__selector{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.125rem;padding-top:0rem;padding-bottom:.25rem}.dss-tabs__selector{position:relative;width:-moz-fit-content;width:fit-content;padding-bottom:.5rem;margin-bottom:1rem}.dss-tabs__selector:has(input[type=radio]:checked)+.dss-tabs__content{display:block}.dss-tabs__selector:has(input[type=radio]:disabled),.dss-tabs__selector:has(input[type=radio]:disabled)+.dss-tabs__content{opacity:.4;transition:none}.dss-tabs__selector:has(input[type=radio]:checked),.dss-tabs__selector:has(input[type=radio]:focus){color:var(--color-neutral-700)}.dss-tabs__selector:has(input[type=radio]:hover){color:var(--color-neutral-700);transition:all .3s linear}.dss-tabs__selector:has(input[type=radio]:active){color:var(--color-neutral-600);transition:none}.dss-tabs__selector input[type=radio]{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;padding:.125rem .75rem .375rem;cursor:pointer}.dss-tabs__selector input[type=radio]:checked+label:after{content:"";height:.125rem;border-radius:.5rem;background-color:var(--color-primary-500);position:absolute;bottom:0;left:0;right:0;margin:0 .5rem;animation:fade-in .3s linear}.dss-tabs__selector input[type=radio]:disabled{cursor:not-allowed}.dss-tabs__selector label{text-align:center;padding:.125rem .75rem 0;margin-bottom:.25rem}.dss-tabs__content{display:none;order:99}@keyframes fade-in{0%{opacity:0;width:0}to{opacity:1;width:2.0625rem}}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,h3,.dss-headline--sm,.dss-user-feedback__title,h4,.dss-modal__content .dss-modal__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-body--sm,.dss-user-feedback__description,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description,.dss-table td{font-size:.875rem;line-height:var(--line-24)}.dss-checkbox:focus-visible:enabled,button.dss-button:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:focus-visible:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible:enabled,button.dss-toast__button:focus-visible:enabled,button.dss-table__button:focus-visible:enabled,.dss-table .dss-table__checkbox:focus-visible:enabled{outline:var(--dss-spacing-xxs) solid var(--color-blue-200);transition:none}button.dss-button--primary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:disabled,button.dss-button--error:disabled,.dss-toast--error button.dss-toast__button:disabled,button.dss-button--warning:disabled,.dss-toast--warning button.dss-toast__button:disabled,button.dss-button--success:disabled,.dss-toast--success button.dss-toast__button:disabled,button.dss-button--info:disabled,.dss-toast--info button.dss-toast__button:disabled,button.dss-table__button--primary:disabled,button.dss-table__button--error:disabled,button.dss-table__button--warning:disabled,button.dss-table__button--success:disabled,button.dss-table__button--info:disabled{background:var(--color-neutral-100);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-toast__button,button.dss-table__button{border-radius:8rem;border:none;cursor:pointer;font-weight:var(--font-semibold);font-family:var(--font-family);display:flex;align-items:center;transition:.3s all ease-in;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}button.dss-button:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-toast__button:active:enabled,button.dss-table__button:active:enabled{transition:none}button.dss-button--primary,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,button.dss-table__button--primary{background-color:var(--color-primary-500);color:var(--color-white)}button.dss-button--primary:hover:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:hover:enabled,button.dss-table__button--primary:hover:enabled{background-color:var(--color-primary-600)}button.dss-button--primary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-primary:active:enabled,button.dss-table__button--primary:active:enabled{background-color:var(--color-primary-400)}button.dss-button--secondary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary,button.dss-table__button--secondary{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-primary-600);color:var(--color-primary-600)}button.dss-button--secondary:hover:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:hover:enabled,button.dss-table__button--secondary:hover:enabled{box-shadow:inset 0 0 0 .0625rem var(--color-primary-700);color:var(--color-primary-700);background-color:var(--color-primary-50)}button.dss-button--secondary:active:enabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:active:enabled,button.dss-table__button--secondary:active:enabled{box-shadow:inset 0 0 0 .0625rem var(--color-primary-500);color:var(--color-primary-500)}button.dss-button--secondary:focus-visible,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:focus-visible,button.dss-table__button--secondary:focus-visible{box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--secondary:disabled,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary:disabled,button.dss-table__button--secondary:disabled{box-shadow:inset 0 0 0 .0625rem var(--color-neutral-600);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button--subtle,button.dss-table__button--subtle{color:var(--color-primary-600);background:none}button.dss-button--subtle:hover:enabled,button.dss-table__button--subtle:hover:enabled{color:var(--color-primary-800);background-color:var(--color-primary-50)}button.dss-button--subtle:active:enabled,button.dss-table__button--subtle:active:enabled{color:var(--color-primary-500)}button.dss-button--subtle:disabled,button.dss-table__button--subtle:disabled{cursor:not-allowed;color:var(--color-neutral-500)}button.dss-button--error,.dss-toast--error button.dss-toast__button,button.dss-table__button--error{background-color:var(--color-red-500);color:var(--color-white)}button.dss-button--error:hover:enabled,.dss-toast--error button.dss-toast__button:hover:enabled,button.dss-table__button--error:hover:enabled{background-color:var(--color-red-600)}button.dss-button--error:active:enabled,.dss-toast--error button.dss-toast__button:active:enabled,button.dss-table__button--error:active:enabled{background-color:var(--color-red-400)}button.dss-button--warning,.dss-toast--warning button.dss-toast__button,button.dss-table__button--warning{color:var(--color-yellow-900);background-color:var(--color-yellow-500)}button.dss-button--warning:hover:enabled,.dss-toast--warning button.dss-toast__button:hover:enabled,button.dss-table__button--warning:hover:enabled{background-color:var(--color-yellow-600)}button.dss-button--warning:active:enabled,.dss-toast--warning button.dss-toast__button:active:enabled,button.dss-table__button--warning:active:enabled{background-color:var(--color-yellow-400)}button.dss-button--success,.dss-toast--success button.dss-toast__button,button.dss-table__button--success{background-color:var(--color-green-500);color:var(--color-white)}button.dss-button--success:hover:enabled,.dss-toast--success button.dss-toast__button:hover:enabled,button.dss-table__button--success:hover:enabled{background-color:var(--color-green-600)}button.dss-button--success:active:enabled,.dss-toast--success button.dss-toast__button:active:enabled,button.dss-table__button--success:active:enabled{background-color:var(--color-green-400)}button.dss-button--info,.dss-toast--info button.dss-toast__button,button.dss-table__button--info{background-color:var(--color-blue-500);color:var(--color-white)}button.dss-button--info:hover:enabled,.dss-toast--info button.dss-toast__button:hover:enabled,button.dss-table__button--info:hover:enabled{background-color:var(--color-blue-600)}button.dss-button--info:active:enabled,.dss-toast--info button.dss-toast__button:active:enabled,button.dss-table__button--info:active:enabled{background-color:var(--color-blue-400)}button.dss-button--alternative-light{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-white);color:var(--color-white)}button.dss-button--alternative-light:hover:enabled{background-color:var(--color-neutral-50);box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-light:active:enabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-200);color:var(--color-neutral-200)}button.dss-button--alternative-light:focus-visible{background-color:transparent;box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--alternative-light:disabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-500);color:var(--color-neutral-500);cursor:not-allowed}button.dss-button--alternative-dark{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-dark:hover:enabled{background-color:var(--color-neutral-50);box-shadow:inset 0 0 0 .0625rem var(--color-neutral-900);color:var(--color-neutral-900)}button.dss-button--alternative-dark:active:enabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-700);color:var(--color-neutral-700)}button.dss-button--alternative-dark:focus-visible{background-color:transparent;box-shadow:inset 0 0 0 .125rem var(--color-primary-200);outline:var(--border-width-sm) solid var(--color-primary-200)}button.dss-button--alternative-dark:disabled{background-color:transparent;box-shadow:inset 0 0 0 .0625rem var(--color-neutral-600);color:var(--color-neutral-600);cursor:not-allowed}button.dss-button--sm,button.dss-toast__button,button.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm);font-size:var(--dss-spacing-sm);line-height:var(--line-16)}button.dss-button--sm.dss-button--icon-left,button.dss-button--icon-left.dss-toast__button,button.dss-button--icon-left.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-xs)}button.dss-button--sm.dss-button--icon-left>[class^=material-],button.dss-button--icon-left.dss-toast__button>[class^=material-],button.dss-button--icon-left.dss-table__button>[class^=material-],button.dss-button--sm.dss-button--icon-left .dss-icon,button.dss-button--icon-left.dss-toast__button .dss-icon,button.dss-button--icon-left.dss-table__button .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--icon-right,button.dss-button--icon-right.dss-toast__button,button.dss-button--icon-right.dss-table__button{padding:var(--dss-spacing-xxs) var(--dss-spacing-xs) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--sm.dss-button--icon-right>[class^=material-],button.dss-button--icon-right.dss-toast__button>[class^=material-],button.dss-button--icon-right.dss-table__button>[class^=material-],button.dss-button--sm.dss-button--icon-right .dss-icon,button.dss-button--icon-right.dss-toast__button .dss-icon,button.dss-button--icon-right.dss-table__button .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--sm.dss-button--only-icon,button.dss-button--only-icon.dss-toast__button,button.dss-button--only-icon.dss-table__button{padding:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md,.dss-sidebar__nav .dss-sidebar__link button.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-md);font-size:.875rem;line-height:var(--line-24)}button.dss-button--md.dss-button--icon-left,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-md) var(--dss-spacing-xxs) var(--dss-spacing-sm)}button.dss-button--md.dss-button--icon-left>[class^=material-],.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text>[class^=material-],button.dss-button--md.dss-button--icon-left .dss-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-left.dss-sidebar__text .dss-icon{margin-right:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md.dss-button--icon-right,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text{padding:var(--dss-spacing-xxs) var(--dss-spacing-sm) var(--dss-spacing-xxs) var(--dss-spacing-md)}button.dss-button--md.dss-button--icon-right>[class^=material-],.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text>[class^=material-],button.dss-button--md.dss-button--icon-right .dss-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--icon-right.dss-sidebar__text .dss-icon{margin-left:var(--dss-spacing-xxs);font-size:1rem}button.dss-button--md.dss-button--only-icon,.dss-sidebar__nav .dss-sidebar__link button.dss-button--only-icon.dss-sidebar__text{padding:var(--dss-spacing-xs);font-size:1rem}button.dss-button--lg,.dss-user-feedback__button-group button.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-lg);font-size:1rem;line-height:var(--line-24)}button.dss-button--lg.dss-button--icon-left,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-lg) var(--dss-spacing-xs) var(--dss-spacing-md)}button.dss-button--lg.dss-button--icon-left>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary>[class^=material-],button.dss-button--lg.dss-button--icon-left .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-primary .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-left.dss-user-feedback__button-secondary .dss-icon{margin-right:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--lg.dss-button--icon-right,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs) var(--dss-spacing-md) var(--dss-spacing-xs) var(--dss-spacing-lg)}button.dss-button--lg.dss-button--icon-right>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary>[class^=material-],.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary>[class^=material-],button.dss-button--lg.dss-button--icon-right .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-primary .dss-icon,.dss-user-feedback__button-group button.dss-button--icon-right.dss-user-feedback__button-secondary .dss-icon{margin-left:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--lg.dss-button--only-icon,.dss-user-feedback__button-group button.dss-button--only-icon.dss-user-feedback__button-primary,.dss-user-feedback__button-group button.dss-button--only-icon.dss-user-feedback__button-secondary{padding:var(--dss-spacing-xs);font-size:1.5rem}button.dss-button--icon-left{flex-direction:row}button.dss-button--icon-right{flex-direction:row-reverse}.dss-button-icon{display:flex;align-items:center;justify-content:space-between}.dss-button-icon .dss-icon,.dss-button-icon .dss-icon .path1:before,.dss-button-icon .dss-icon .path2:before{color:inherit}.dss-user-feedback{display:flex;align-items:center;flex-direction:column;gap:1rem;width:13.4375rem;text-align:center}.dss-user-feedback__image{width:100%;margin:auto;text-align:center}.dss-user-feedback__button-group{display:flex;align-items:center;justify-content:center;gap:1.25rem}.dss-elevation--sm,.dss-content-switcher__item input[type=radio]:checked+label{box-shadow:0 .0625rem .125rem #0000000d,0 .0625rem .1875rem .0625rem #0000001a}.dss-elevation--md,.dss-task__item .dss-task__content,.dss-toast,.dss-tooltip:after,.dss-tooltip:before{box-shadow:0 .25rem .5rem .1875rem #0000000d,0 .0625rem .1875rem #0000001a}.dss-elevation--lg,.dss-floating-button,.dss-modal{box-shadow:0 .5rem .75rem .375rem #0000000d,0 .25rem .25rem #0000001a}.dss-elevation--left{box-shadow:-2px 0 1px #0000000d}.dss-elevation--right{box-shadow:2px 0 1px #0000000d}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Regular.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Italic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:600;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-SemiBoldItalic.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-Bold.ttf) format("truetype")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(https://fontssisdisseny.salut.gencat.cat/OpenSans-BoldItalic.ttf) format("truetype")}:root{--font-family: "Open Sans", sans-serif;--font-regular: 400;--font-semibold: 600;--font-bold: 700;--line-52: 3.25rem;--line-44: 2.75rem;--line-36: 2.25rem;--line-32: 2rem;--line-30: 1.875rem;--line-28: 1.75rem;--line-24: 1.5rem;--line-16: 1rem}body{font-family:var(--font-family);font-size:1rem;font-weight:var(--font-regular);line-height:var(--line-24);color:var(--color-body)}a{font-size:inherit;color:var(--color-primary-500);text-decoration:underline;cursor:pointer}a:hover{color:var(--color-primary-600)}a:active{color:var(--color-primary-400)}a:visited{color:var(--color-purple-700)}a:focus-visible{color:var(--color-primary-500);outline:.25rem solid var(--color-blue-200)}.dss-headline--xl,h1,.dss-headline--lg,h2,.dss-headline--md,h3,.dss-headline--sm,h4,.dss-modal__content .dss-modal__title,.dss-user-feedback__title{color:var(--color-headline);font-weight:var(--font-bold);font-size:2.375rem;line-height:var(--line-52)}.dss-headline--xl,h1{font-size:2.375rem;line-height:var(--line-52)}.dss-headline--lg,h2{font-size:30px;line-height:var(--line-44)}.dss-headline--md,.dss-modal__content .dss-modal__title,h3{font-size:1.5rem;line-height:var(--line-36)}.dss-headline--sm,.dss-user-feedback__title,h4{font-size:1.25rem;line-height:var(--line-30)}.dss-subtitle--xl{font-weight:var(--font-semibold);font-size:1.25rem;line-height:var(--line-32);color:var(--color-neutral-700)}.dss-subtitle--lg{font-weight:var(--font-semibold);font-size:1.125rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-subtitle--md{font-weight:var(--font-semibold);font-size:1rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-subtitle--sm,.dss-toast .dss-toast__content,.dss-alert,.dss-tile__content__text .dss-tile__title,.dss-table thead tr th,.dss-table .dss-table--nested thead tr th,.dss-tabs__selector label{font-weight:var(--font-semibold);font-size:.875rem;line-height:var(--line-24);color:var(--color-neutral-700)}.dss-body--lg{font-size:1.125rem;line-height:var(--line-28)}.dss-body--md,.dss-modal__content .dss-modal__description{font-size:1rem;line-height:var(--line-24)}.dss-body--sm,.dss-form-field label,.dss-modal__content .dss-form-field label,.dss-tile__content__text .dss-tile__description,.dss-table td,.dss-user-feedback__description{font-size:.875rem;line-height:var(--line-24)}.dss-body--semibold{font-weight:var(--font-semibold)}.dss-body--bold{font-weight:var(--font-bold)}.dss-body--underline{text-decoration:underline}.dss-legend--lg{font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-28)}.dss-legend--md{font-weight:var(--font-regular);font-size:.875rem;line-height:var(--line-24)}.dss-legend--sm,.dss-legend{font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}.dss-button--lg,.dss-user-feedback__button-group .dss-user-feedback__button-primary,.dss-user-feedback__button-group .dss-user-feedback__button-secondary{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:1rem;line-height:var(--line-28)}.dss-button--md,.dss-sidebar__nav .dss-sidebar__link .dss-sidebar__text{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.875rem;line-height:var(--line-24)}.dss-button--sm,.dss-toast__button,.dss-table__button{font-weight:var(--font-semibold);font-weight:var(--font-regular);font-size:.75rem;line-height:var(--line-16)}.dss-popover{display:flex;flex-direction:column;position:relative;width:356px;max-height:500px;max-width:500px;min-width:356px;background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #000;padding:16px}.dss-popover,.dss-popover.dss-popover:after{background-color:#fff}.dss-popover[data-param=top]:after{box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:-6px;rotate:-135deg;left:15px}.dss-popover[data-param=bottom]:after{box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 9px);rotate:45deg;left:15px}.dss-popover[data-param=left]:after{background-color:#fff;box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 40px);rotate:135deg;left:-6px}.dss-popover[data-param=right]:after{background-color:#fff;box-shadow:2px 2px 3px -2px #000;position:absolute;content:"";width:16px;height:16px;top:calc(100% - 40px);rotate:-45deg;left:346px}.dss-popover__titlecontent{display:flex;align-items:center;flex:1;overflow:hidden;position:relative}.dss-popover__titlecontent h3{margin:0;color:#1d1d1d}.dss-popover__content{overflow:auto;position:relative;margin-top:16px;height:100%;white-space:break-spaces;text-overflow:ellipsis}.dss-popover-link{margin-top:16px}.dss-popover__group{position:relative;display:flex;gap:8px}dss-custom-table:not(:defined){display:none}.dss-custom-table{min-width:100%;margin:0;padding:0;border-collapse:collapse;border-spacing:0;table-layout:fixed}.dss-custom-table .dss-thead{width:100%;position:sticky;top:0;background-color:var(--color-white);z-index:200;box-shadow:0 var(--dss-border-width-md) var(--dss-border-width-md) -1px var(--color-neutral-700)}.dss-custom-table .dss-th{height:56px;margin:0;font-size:14px;line-height:24px;font-weight:var(--font-semibold);text-align:left;vertical-align:middle;background-color:var(--color-white)}.dss-custom-table .dss-th .dss-th-content{padding:var(--dss-spacing-md)}.dss-custom-table .dss-th .dss-th-content:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200);outline:0}.dss-custom-table .dss-th--align-center{text-align:center}.dss-custom-table .dss-th--align-right{text-align:right}.dss-custom-table .dss-th--select{text-align:center;width:52px}.dss-custom-table .dss-th-content{display:inline-flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}.dss-custom-table .dss-th-content--clickable{cursor:pointer}.dss-custom-table .dss-th-content--clickable .dss-th-content__icon{box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:var(--dss-spacing-sm);background-color:transparent;border-radius:var(--dss-radius-xs);transition:all .3s ease-in}.dss-custom-table .dss-th-content--clickable:hover .dss-th-content__icon,.dss-custom-table .dss-th-content--clickable:focus-visible .dss-th-content__icon{color:var(--color-white);background-color:var(--color-primary-500)}.dss-custom-table .dss-tbody-row:focus-visible{box-shadow:inset 0 0 0 var(--dss-border-width-lg) var(--color-blue-200);outline:0}.dss-custom-table .dss-tbody-row+.dss-tbody-row{border-top:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-custom-table .dss-tbody-row--selected{background-color:var(--color-primary-50)}.dss-custom-table .dss-tbody-row--deleted{background-color:var(--color-red-50)}.dss-custom-table .dss-tbody-row--disabled{background-color:var(--color-neutral-50)}.dss-custom-table .dss-tbody-row--disabled .dss-td{color:var(--color-neutral-500)!important}.dss-custom-table .dss-tbody-row:hover:not(.dss-tbody-row--expanded):not(.dss-custom-table .dss-tbody-row--disabled){background-color:var(--color-primary-50)}.dss-custom-table .dss-tbody-row--expanded{width:100%}.dss-custom-table .dss-tbody-row--expanded .dss-td{padding-top:var(--dss-spacing-md)!important;padding-bottom:var(--dss-spacing-md)!important;height:-moz-fit-content!important;height:fit-content!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.dss-custom-table .dss-tbody-row .dss-td{height:56px;max-height:56px;vertical-align:middle;padding:0 var(--dss-spacing-md);font-size:14px;color:var(--color-neutral-700);box-sizing:border-box}.dss-custom-table .dss-tbody-row .dss-td--font-bold{font-weight:var(--font-bold)}.dss-custom-table .dss-tbody-row .dss-td--font-black{font-weight:var(--font-bold);color:var(--color-neutral-900)}.dss-custom-table .dss-tbody-row .dss-td--align-right{text-align:right}.dss-custom-table .dss-tbody-row .dss-td--align-center{text-align:center}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content{display:inline-flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs);height:100%;max-height:100%}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content--sm{gap:var(--dss-spacing-tiny)}.dss-custom-table .dss-tbody-row .dss-td .dss-td-content .dss-td-content__value{max-height:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dss-custom-table .dss-tbody-row .dss-td dss-badge,.dss-custom-table .dss-tbody-row .dss-td dss-icon-badge{display:inline-block}.dss-custom-table--max-content-width{width:-moz-max-content;width:max-content}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible{box-shadow:none}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td{border-top:var(--dss-border-width-md) solid var(--color-primary-200);border-bottom:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td:first-child{border-left:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-tbody-row:focus-visible .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:focus-visible .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:focus-visible .dss-td:last-child{border-right:var(--dss-border-width-md) solid var(--color-primary-200)}.dss-custom-table--sticky-columns-default .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:first-child{position:sticky;left:0;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-default .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-default .dss-tbody-row .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:last-child{position:sticky;right:0;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-default .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--selected .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:last-child{background-color:var(--color-primary-50)}.dss-custom-table--sticky-columns-default .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--deleted .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:last-child{background-color:var(--color-red-50)}.dss-custom-table--sticky-columns-default .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-default .dss-tbody-row--disabled .dss-td:last-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:last-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:first-child,.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:last-child{background-color:var(--color-neutral-50)}.dss-custom-table--sticky-columns-multiselect .dss-thead-row .dss-th:nth-child(2),.dss-custom-table--sticky-columns-multiselect .dss-tbody-row .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-thead-row .dss-th:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row .dss-td:nth-child(2){position:sticky;left:56px;z-index:100;background-color:var(--color-white)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:nth-child(2),.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--selected .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row:hover:not(.dss-tbody-row--disabled) .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--selected .dss-td:nth-child(2){background-color:var(--color-primary-50)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--deleted .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--deleted .dss-td:nth-child(2){background-color:var(--color-red-50)}.dss-custom-table--sticky-columns-multiselect .dss-tbody-row--disabled .dss-td:nth-child(2),.dss-custom-table--sticky-columns-radioselect .dss-tbody-row--disabled .dss-td:nth-child(2){background-color:var(--color-neutral-50)} diff --git a/rc/assets/preview-uWWlHUs2.js b/rc/assets/preview-uWWlHUs2.js deleted file mode 100644 index 2c36202..0000000 --- a/rc/assets/preview-uWWlHUs2.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["./DocsRenderer-CFRXHY34-DUmSKvt0.js","./chunk-NUUEMKO5-BrMvvjZ4.js","./iframe-C-plfy9T.js","./index-D51CeFyD.js","./index-u5I_DdWt.js","./index-D-8MO0q_.js","./index-DrFu-skq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as a}from"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-DUmSKvt0.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/rc/assets/progress-indicator.doc-7f-sKsa9.js b/rc/assets/progress-indicator.doc-7f-sKsa9.js deleted file mode 100644 index 610ba48..0000000 --- a/rc/assets/progress-indicator.doc-7f-sKsa9.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-C9fFX99H.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-progress-indicator",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els indicadors de progrés s'utilitzen per mostrar l'estat de finalització -d'una operació que dura més de 2 segons. Si no es pot determinar l'estat de -progrés, utilitzeu un Spinner.`}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(l,{}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["Farem servir l'atribut ",e.jsx(s.strong,{children:"hasFailed"})," per indicar si ha fallat."]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció no inclou cap títol, sinó que es mostra simplement una barra -animada que indica el progrés de la tasca. Aquesta opció és útil per als -usuaris que ja coneixen la tasca o procés que es duu a terme i només -necessiten informació visual sobre el progrés.`}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Amb títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció inclou un títol que descriu el procés o tasca que s'està duent a -terme, així com el percentatge completat o el temps estimat restant. Aquesta -opció ajuda als usuaris a entendre millor quin procés està en marxa i quan -s'espera que estigui acabat.`}),` -`,e.jsx(n,{of:m})]})}function S(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{S as default}; diff --git a/rc/assets/progress-indicator.doc-DwM79j6U.js b/rc/assets/progress-indicator.doc-B89Ps37h.js similarity index 95% rename from rc/assets/progress-indicator.doc-DwM79j6U.js rename to rc/assets/progress-indicator.doc-B89Ps37h.js index 80e2fdb..29de1b5 100644 --- a/rc/assets/progress-indicator.doc-DwM79j6U.js +++ b/rc/assets/progress-indicator.doc-B89Ps37h.js @@ -1,4 +1,4 @@ -import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-BKEkPYui.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-BKEkPYui.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/progress-indicator.doc-BYZMTDul.js b/rc/assets/progress-indicator.doc-BYZMTDul.js deleted file mode 100644 index 565ed95..0000000 --- a/rc/assets/progress-indicator.doc-BYZMTDul.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-BKEkPYui.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-progress-indicator",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els indicadors de progrés s'utilitzen per mostrar l'estat de finalització -d'una operació que dura més de 2 segons. Si no es pot determinar l'estat de -progrés, utilitzeu un Spinner.`}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(l,{}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["Farem servir l'atribut ",e.jsx(s.strong,{children:"hasFailed"})," per indicar si ha fallat."]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció no inclou cap títol, sinó que es mostra simplement una barra -animada que indica el progrés de la tasca. Aquesta opció és útil per als -usuaris que ja coneixen la tasca o procés que es duu a terme i només -necessiten informació visual sobre el progrés.`}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Amb títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció inclou un títol que descriu el procés o tasca que s'està duent a -terme, així com el percentatge completat o el temps estimat restant. Aquesta -opció ajuda als usuaris a entendre millor quin procés està en marxa i quan -s'espera que estigui acabat.`}),` -`,e.jsx(n,{of:m})]})}function S(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{S as default}; diff --git a/rc/assets/progress-indicator.doc-CbC2rZDJ.js b/rc/assets/progress-indicator.doc-CbC2rZDJ.js deleted file mode 100644 index b0fdd5f..0000000 --- a/rc/assets/progress-indicator.doc-CbC2rZDJ.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-C9fFX99H.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-progress-indicator",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els indicadors de progrés s'utilitzen per mostrar l'estat de finalització -d'una operació que dura més de 2 segons. Si no es pot determinar l'estat de -progrés, utilitzeu un Spinner.`}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(l,{}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["Farem servir l'atribut ",e.jsx(s.strong,{children:"hasFailed"})," per indicar si ha fallat."]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció no inclou cap títol, sinó que es mostra simplement una barra -animada que indica el progrés de la tasca. Aquesta opció és útil per als -usuaris que ja coneixen la tasca o procés que es duu a terme i només -necessiten informació visual sobre el progrés.`}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Amb títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció inclou un títol que descriu el procés o tasca que s'està duent a -terme, així com el percentatge completat o el temps estimat restant. Aquesta -opció ajuda als usuaris a entendre millor quin procés està en marxa i quan -s'espera que estigui acabat.`}),` -`,e.jsx(n,{of:m})]})}function S(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{S as default}; diff --git a/rc/assets/progress-indicator.doc-DCP5DaGM.js b/rc/assets/progress-indicator.doc-DCP5DaGM.js deleted file mode 100644 index e9746d9..0000000 --- a/rc/assets/progress-indicator.doc-DCP5DaGM.js +++ /dev/null @@ -1,46 +0,0 @@ -import{ae as e,af as o,ag as c,ak as r,ah as n,ai as l}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as d,P as p,N as u,T as m}from"./progress-indicator.stories-BKEkPYui.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={blockquote:"blockquote",p:"p",strong:"strong",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-progress-indicator",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els indicadors de progrés s'utilitzen per mostrar l'estat de finalització -d'una operació que dura més de 2 segons. Si no es pot determinar l'estat de -progrés, utilitzeu un Spinner.`}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(l,{}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["Farem servir l'atribut ",e.jsx(s.strong,{children:"hasFailed"})," per indicar si ha fallat."]}),` -`,e.jsx(r,{code:` - -`}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció no inclou cap títol, sinó que es mostra simplement una barra -animada que indica el progrés de la tasca. Aquesta opció és útil per als -usuaris que ja coneixen la tasca o procés que es duu a terme i només -necessiten informació visual sobre el progrés.`}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Amb títol"}),` -`,e.jsx(s.p,{children:`Aquesta opció inclou un títol que descriu el procés o tasca que s'està duent a -terme, així com el percentatge completat o el temps estimat restant. Aquesta -opció ajuda als usuaris a entendre millor quin procés està en marxa i quan -s'espera que estigui acabat.`}),` -`,e.jsx(n,{of:m})]})}function S(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{S as default}; diff --git a/rc/assets/progress-indicator.stories-C9fFX99H.js b/rc/assets/progress-indicator.stories-C9fFX99H.js deleted file mode 100644 index 8d198af..0000000 --- a/rc/assets/progress-indicator.stories-C9fFX99H.js +++ /dev/null @@ -1,55 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as i}from"./lit-html-paDGiEfB.js";const m={title:"Components/Progress Indicator",argTypes:{title:{name:"Títol"},description:{name:"Descripció"},percentage:{name:"Percentatge",control:{type:"range",min:0,max:100,step:1}},hasFailed:{name:"Mostrar error",control:{type:"boolean"}}},parameters:{layout:"centered"}},r={render:t=>i``,args:{title:"Title",description:"Description, short and clear.",percentage:0,hasFailed:!1}},e={tags:["!dev"],render:()=>i` -
    - - - -
    - `},s={tags:["!dev"],render:()=>i` -
    - - - -
    - `};var n,a,o;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:`{ - render: (args: any) => { - return html\`\`; - }, - args: { - title: 'Title', - description: 'Description, short and clear.', - percentage: 0, - hasFailed: false - } -}`,...(o=(a=r.parameters)==null?void 0:a.docs)==null?void 0:o.source}}};var d,c,p;e.parameters={...e.parameters,docs:{...(d=e.parameters)==null?void 0:d.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(p=(c=e.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var l,g,h;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(h=(g=s.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};const u=["Playground","NoTitle","Title"],v=Object.freeze(Object.defineProperty({__proto__:null,NoTitle:e,Playground:r,Title:s,__namedExportsOrder:u,default:m},Symbol.toStringTag,{value:"Module"}));export{e as N,r as P,v as S,s as T}; diff --git a/rc/assets/property-CzN8u98o.js b/rc/assets/property-CzN8u98o.js deleted file mode 100644 index 14f0daa..0000000 --- a/rc/assets/property-CzN8u98o.js +++ /dev/null @@ -1,5 +0,0 @@ -import{f as p,u as l}from"./lit-element-vV9fql9z.js";/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const d={attribute:!0,type:String,converter:l,reflect:!1,hasChanged:p},h=(r=d,n,t)=>{const{kind:s,metadata:a}=t;let o=globalThis.litPropertyMetadata.get(a);if(o===void 0&&globalThis.litPropertyMetadata.set(a,o=new Map),o.set(t.name,r),s==="accessor"){const{name:e}=t;return{set(i){const c=n.get.call(this);n.set.call(this,i),this.requestUpdate(e,c,r)},init(i){return i!==void 0&&this.P(e,void 0,r),i}}}if(s==="setter"){const{name:e}=t;return function(i){const c=this[e];n.call(this,i),this.requestUpdate(e,c,r)}}throw Error("Unsupported decorator location: "+s)};function f(r){return(n,t)=>typeof t=="object"?h(r,n,t):((s,a,o)=>{const e=a.hasOwnProperty(o);return a.constructor.createProperty(o,e?{...s,wrapped:!0}:s),e?Object.getOwnPropertyDescriptor(a,o):void 0})(r,n,t)}export{f as n}; diff --git a/rc/assets/radio-button.doc-DpvVtOes.js b/rc/assets/radio-button.doc-6nxHMcEi.js similarity index 90% rename from rc/assets/radio-button.doc-DpvVtOes.js rename to rc/assets/radio-button.doc-6nxHMcEi.js index f79da49..6bb4fe9 100644 --- a/rc/assets/radio-button.doc-DpvVtOes.js +++ b/rc/assets/radio-button.doc-6nxHMcEi.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as i,ah as a}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-DxgrMWwA.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as i,ah as a}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-DxgrMWwA.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/radio-button.doc-B-N0BHWg.js b/rc/assets/radio-button.doc-B-N0BHWg.js deleted file mode 100644 index 34883c5..0000000 --- a/rc/assets/radio-button.doc-B-N0BHWg.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as r,ag as i,ah as a}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-CD-Rdqzz.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Radio Buttons permeten als usuaris seleccionar una opció d'un conjunt."}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-radio"}),` com a classe per al input. Es pot utilizar -`,e.jsx(n.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(n.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(a,{of:d}),` -`,e.jsx(n.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(n.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(a,{of:x})]})}function q(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{q as default}; diff --git a/rc/assets/radio-button.doc-BNMVOEyC.js b/rc/assets/radio-button.doc-BNMVOEyC.js deleted file mode 100644 index 8815596..0000000 --- a/rc/assets/radio-button.doc-BNMVOEyC.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as r,ag as i,ah as a}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-DxgrMWwA.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Radio Buttons permeten als usuaris seleccionar una opció d'un conjunt."}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-radio"}),` com a classe per al input. Es pot utilizar -`,e.jsx(n.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(n.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(a,{of:d}),` -`,e.jsx(n.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(n.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(a,{of:x})]})}function q(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{q as default}; diff --git a/rc/assets/radio-button.doc-BswUSzBl.js b/rc/assets/radio-button.doc-BswUSzBl.js deleted file mode 100644 index 2303c74..0000000 --- a/rc/assets/radio-button.doc-BswUSzBl.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as r,ag as i,ah as a}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-DxgrMWwA.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Radio Buttons permeten als usuaris seleccionar una opció d'un conjunt."}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-radio"}),` com a classe per al input. Es pot utilizar -`,e.jsx(n.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(n.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(a,{of:d}),` -`,e.jsx(n.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(n.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(a,{of:x})]})}function q(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{q as default}; diff --git a/rc/assets/radio-button.doc-CX973TKY.js b/rc/assets/radio-button.doc-CX973TKY.js deleted file mode 100644 index 3abb8b3..0000000 --- a/rc/assets/radio-button.doc-CX973TKY.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as r,ag as i,ah as a}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as o,P as c,N as d,L as x}from"./radio-button.stories-CD-Rdqzz.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function l(s){const n={a:"a",blockquote:"blockquote",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(r,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Radio Buttons permeten als usuaris seleccionar una opció d'un conjunt."}),` -`,e.jsxs(n.p,{children:["Utilitzarem la classe ",e.jsx(n.strong,{children:"dss-radio"}),` com a classe per al input. Es pot utilizar -`,e.jsx(n.a,{href:"#amb-label",children:"amb label"})," o ",e.jsx(n.a,{href:"#sense-label",children:"sense label"})]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(a,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-label",children:"Sense label"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-label",children:"Amb label"})}),` -`]}),` -`,e.jsx(n.h3,{id:"sense-label",children:"Sense label"}),` -`,e.jsx(a,{of:d}),` -`,e.jsx(n.h3,{id:"amb-label",children:"Amb label"}),` -`,e.jsx(n.p,{children:`Hi ha que crear un contenidor per a crear un conjunt. La separació entre el -checkbox y el label es de 16px i la mida del text es heredada del body, també -16px.`}),` -`,e.jsx(a,{of:x})]})}function q(s={}){const{wrapper:n}={...t(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{q as default}; diff --git a/rc/assets/radio-button.stories-CD-Rdqzz.js b/rc/assets/radio-button.stories-CD-Rdqzz.js deleted file mode 100644 index ae28f46..0000000 --- a/rc/assets/radio-button.stories-CD-Rdqzz.js +++ /dev/null @@ -1,101 +0,0 @@ -import{x as r}from"./lit-html-paDGiEfB.js";const u={title:"Components/Radio Button",argTypes:{withLabel:{name:"Amb text",control:{type:"boolean"}},label:{name:"Text",control:{type:"text"},if:{arg:"withLabel"}},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},checked:{name:"Marcat",control:{type:"boolean"}}},parameters:{layout:"centered"}},e={render:s=>r` -
    - - ${s.withLabel?r``:null} -
    - `,args:{withLabel:!1,label:"",disabled:!1,checked:!1}},a={tags:["!dev"],render:()=>r` -
    - - - - -
    - `},d={tags:["!dev"],render:()=>r` -
    -
    - - -
    -
    -
    - - -
    -
    -
    - - -
    -
    -
    - - -
    -
    - `};var l,i,o;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{ - render: (args: any) => { - return html\` -
    - - \${args.withLabel ? html\`\` : null} -
    - \`; - }, - args: { - withLabel: false, - label: '', - disabled: false, - checked: false - } -}`,...(o=(i=e.parameters)==null?void 0:i.docs)==null?void 0:o.source}}};var n,t,c;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(c=(t=a.parameters)==null?void 0:t.docs)==null?void 0:c.source}}};var b,p,f;d.parameters={...d.parameters,docs:{...(b=d.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -
    -
    - - -
    -
    -
    - - -
    -
    -
    - - -
    -
    - \`; - } -}`,...(f=(p=d.parameters)==null?void 0:p.docs)==null?void 0:f.source}}};const m=["Playground","NoLabel","Label"],y=Object.freeze(Object.defineProperty({__proto__:null,Label:d,NoLabel:a,Playground:e,__namedExportsOrder:m,default:u},Symbol.toStringTag,{value:"Module"}));export{d as L,a as N,e as P,y as S}; diff --git a/rc/assets/search-bar.doc-CKG_ItXK.js b/rc/assets/search-bar.doc-6V405icA.js similarity index 98% rename from rc/assets/search-bar.doc-CKG_ItXK.js rename to rc/assets/search-bar.doc-6V405icA.js index a67a53b..6399bab 100644 --- a/rc/assets/search-bar.doc-CKG_ItXK.js +++ b/rc/assets/search-bar.doc-6V405icA.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-Ctsx389P.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-Ctsx389P.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .css-1sqhzee { display:none } diff --git a/rc/assets/search-bar.doc-Bfu7dtT7.js b/rc/assets/search-bar.doc-Bfu7dtT7.js deleted file mode 100644 index 9957dd9..0000000 --- a/rc/assets/search-bar.doc-Bfu7dtT7.js +++ /dev/null @@ -1,102 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-DLiS1xOu.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .demo { - width: 80%; - } - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - - .wrapper--no-dropdown { - min-height: 80px; - } - - .wrapper > dss-search-bar { - width: 600px; - } - - .wrapper--md > dss-search-bar { - width: 400px; - } - - .wrapper--alignment { - height: 240px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-search-bar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(r.p,{children:`El cercador és un component que pot utilitzar-se tant per a realitzar filtres en el contingut -d'una pàgina com per a navegar dins de la mateixa en funció de la cerca. Sí el catàleg de termes o cerques -recents està definit, el component mostrarà un desplegable amb suggerències quan l'usuari escriu a l'input.`}),` -`,e.jsx(r.p,{children:"El component té dues versions: cercador simple i buscador múltiple."}),` -`,e.jsx(r.p,{children:`Cercador simple: Permet realitzar una cerca escrivint el text en l’input, executant un esdeveniment per -activar-la quan es prem la tecla Enter. Si l’usuari fa clic en un dels resultats predictius, s’assignarà com a valor de l'input i s’iniciarà la cerca.`}),` -`,e.jsx(r.p,{children:`Cercador múltiple: Permet seleccionar diferents termes de cerca al mateix temps. Ja sigui escrivint a l’input i separant-los amb una coma per tal d’afegir-los -o bé fent clic en els resultats predictius. Cada cop que s’afegeixi un nou terme es llençarà un esdeveniment de cerca.`}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsxs(r.p,{children:["El selector per poder utilitzar el search bar és ",e.jsx(r.strong,{children:e.jsx(r.code,{children:"dss-search-bar"})}),"."]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(r.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(r.h3,{id:"dss-search-bar",children:"dss-search-bar"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"multiple"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet realitzar un cerca amb diferents termes al mateix temps."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"search"}),e.jsx(r.td,{children:"Sobreescriu la icona mostrada."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"inputSize"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"lg"}),e.jsx(r.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"helpText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"invalid"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"threshold"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"number"}),e.jsx(r.td,{children:"3"}),e.jsx(r.td,{children:"Límit de caràcters a partir del qual es mostrarà el desplegable amb els resultats que coincideixin amb la cerca predictiva."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"dropdownStyle"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"''"}),e.jsx(r.td,{children:"Permet canviar l’estil del dropdown."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"catalog"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"CatalogOption[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llista d’elements que seran mostrats al desplegable de cerca predictiva. El format dels elements serà el mateix tant per a obtenir un catàleg de termes, com en un llistat de cerques recents."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"isCatalogLoading"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet mostrar una animació mentre les dades del catàleg acaben de carregar-se des de backend."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"emptyDropdownText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Sense resultats per"}),e.jsx(r.td,{children:"Text que es mostra quan el text introduït a l’input no coincideix amb cap de les opcions del catàleg de termes o cerques recents. El text es construeix de la següent manera: emptyDropdownText:ìnput.value`."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"searchTerms"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llistat de termes de cerques realitzades. Per exemple, pot utilitzar-se en cas de tenir emmagatzemada l’última cerca en tornar a la pàgina durant la navegació."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearches"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Afegir en cas que el catàleg definit es tracti d’un llistat de cerques recents. Això farà visible un títol identificatiu dins del desplegable que pugui modificar-se amb la següent propietat."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearchesText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Últimes cerques"}),e.jsx(r.td,{children:"Modificar el títol del desplegable quan es tracti d’una cerca predictiva sobre un llistat de cerques recents."})]})]})]}),` -`,e.jsx(r.h3,{id:"catalog-option",children:"Catalog Option"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"value"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Requerida"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text que identifica el terme amb la cerca recent."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Icona relacionada. Si no s’indica la icona el text s'alinearà a la esquerra del component."})]})]})]}),` -`,e.jsx(r.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"onSearchChange"})}),e.jsx(r.td,{children:"Output"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"CustomEvent"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Esdeveniment que retorna el valor dels termes seleccionat per a realitzar la cerca. A la propietat event.detail s'obtindrà un array de strings amb tots els termes."})]})})]}),` -`,e.jsx(r.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(r.ul,{children:[` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#%C3%BAltimes-cerques",children:"Últimes cerques"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#amb-cerca-predefinida",children:"Amb cerca predefinida"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#cat%C3%A0leg-carregant",children:"Catàleg carregant"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#modificar-l%E2%80%99estil-del-desplegable",children:"Modificar l’estil del desplegable"})}),` -`]}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per diagnostics, settings o home per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(r.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(r.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(r.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(r.p,{children:"Utilitzarem la mida (md | lg)."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(r.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(r.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(r.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(r.h3,{id:"últimes-cerques",children:"Últimes cerques"}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per last, o term per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(r.h3,{id:"amb-cerca-predefinida",children:"Amb cerca predefinida"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(r.h3,{id:"catàleg-carregant",children:"Catàleg carregant"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(r.h3,{id:"modificar-lestil-del-desplegable",children:"Modificar l’estil del desplegable."}),` -`,e.jsx(n,{of:q})]})}function z(s={}){const{wrapper:r}={...t(),...s.components};return r?e.jsx(r,{...s,children:e.jsx(i,{...s})}):i(s)}export{z as default}; diff --git a/rc/assets/search-bar.doc-CRPiQy0F.js b/rc/assets/search-bar.doc-CRPiQy0F.js deleted file mode 100644 index 623cd40..0000000 --- a/rc/assets/search-bar.doc-CRPiQy0F.js +++ /dev/null @@ -1,102 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-Ctsx389P.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .demo { - width: 80%; - } - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - - .wrapper--no-dropdown { - min-height: 80px; - } - - .wrapper > dss-search-bar { - width: 600px; - } - - .wrapper--md > dss-search-bar { - width: 400px; - } - - .wrapper--alignment { - height: 240px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-search-bar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(r.p,{children:`El cercador és un component que pot utilitzar-se tant per a realitzar filtres en el contingut -d'una pàgina com per a navegar dins de la mateixa en funció de la cerca. Sí el catàleg de termes o cerques -recents està definit, el component mostrarà un desplegable amb suggerències quan l'usuari escriu a l'input.`}),` -`,e.jsx(r.p,{children:"El component té dues versions: cercador simple i buscador múltiple."}),` -`,e.jsx(r.p,{children:`Cercador simple: Permet realitzar una cerca escrivint el text en l’input, executant un esdeveniment per -activar-la quan es prem la tecla Enter. Si l’usuari fa clic en un dels resultats predictius, s’assignarà com a valor de l'input i s’iniciarà la cerca.`}),` -`,e.jsx(r.p,{children:`Cercador múltiple: Permet seleccionar diferents termes de cerca al mateix temps. Ja sigui escrivint a l’input i separant-los amb una coma per tal d’afegir-los -o bé fent clic en els resultats predictius. Cada cop que s’afegeixi un nou terme es llençarà un esdeveniment de cerca.`}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsxs(r.p,{children:["El selector per poder utilitzar el search bar és ",e.jsx(r.strong,{children:e.jsx(r.code,{children:"dss-search-bar"})}),"."]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(r.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(r.h3,{id:"dss-search-bar",children:"dss-search-bar"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"multiple"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet realitzar un cerca amb diferents termes al mateix temps."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"search"}),e.jsx(r.td,{children:"Sobreescriu la icona mostrada."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"inputSize"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"lg"}),e.jsx(r.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"helpText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"invalid"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"threshold"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"number"}),e.jsx(r.td,{children:"3"}),e.jsx(r.td,{children:"Límit de caràcters a partir del qual es mostrarà el desplegable amb els resultats que coincideixin amb la cerca predictiva."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"dropdownStyle"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"''"}),e.jsx(r.td,{children:"Permet canviar l’estil del dropdown."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"catalog"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"CatalogOption[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llista d’elements que seran mostrats al desplegable de cerca predictiva. El format dels elements serà el mateix tant per a obtenir un catàleg de termes, com en un llistat de cerques recents."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"isCatalogLoading"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet mostrar una animació mentre les dades del catàleg acaben de carregar-se des de backend."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"emptyDropdownText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Sense resultats per"}),e.jsx(r.td,{children:"Text que es mostra quan el text introduït a l’input no coincideix amb cap de les opcions del catàleg de termes o cerques recents. El text es construeix de la següent manera: emptyDropdownText:ìnput.value`."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"searchTerms"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llistat de termes de cerques realitzades. Per exemple, pot utilitzar-se en cas de tenir emmagatzemada l’última cerca en tornar a la pàgina durant la navegació."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearches"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Afegir en cas que el catàleg definit es tracti d’un llistat de cerques recents. Això farà visible un títol identificatiu dins del desplegable que pugui modificar-se amb la següent propietat."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearchesText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Últimes cerques"}),e.jsx(r.td,{children:"Modificar el títol del desplegable quan es tracti d’una cerca predictiva sobre un llistat de cerques recents."})]})]})]}),` -`,e.jsx(r.h3,{id:"catalog-option",children:"Catalog Option"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"value"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Requerida"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text que identifica el terme amb la cerca recent."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Icona relacionada. Si no s’indica la icona el text s'alinearà a la esquerra del component."})]})]})]}),` -`,e.jsx(r.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"onSearchChange"})}),e.jsx(r.td,{children:"Output"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"CustomEvent"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Esdeveniment que retorna el valor dels termes seleccionat per a realitzar la cerca. A la propietat event.detail s'obtindrà un array de strings amb tots els termes."})]})})]}),` -`,e.jsx(r.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(r.ul,{children:[` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#%C3%BAltimes-cerques",children:"Últimes cerques"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#amb-cerca-predefinida",children:"Amb cerca predefinida"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#cat%C3%A0leg-carregant",children:"Catàleg carregant"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#modificar-l%E2%80%99estil-del-desplegable",children:"Modificar l’estil del desplegable"})}),` -`]}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per diagnostics, settings o home per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(r.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(r.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(r.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(r.p,{children:"Utilitzarem la mida (md | lg)."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(r.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(r.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(r.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(r.h3,{id:"últimes-cerques",children:"Últimes cerques"}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per last, o term per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(r.h3,{id:"amb-cerca-predefinida",children:"Amb cerca predefinida"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(r.h3,{id:"catàleg-carregant",children:"Catàleg carregant"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(r.h3,{id:"modificar-lestil-del-desplegable",children:"Modificar l’estil del desplegable."}),` -`,e.jsx(n,{of:q})]})}function z(s={}){const{wrapper:r}={...t(),...s.components};return r?e.jsx(r,{...s,children:e.jsx(i,{...s})}):i(s)}export{z as default}; diff --git a/rc/assets/search-bar.doc-DFL4JCgi.js b/rc/assets/search-bar.doc-DFL4JCgi.js deleted file mode 100644 index fc61f63..0000000 --- a/rc/assets/search-bar.doc-DFL4JCgi.js +++ /dev/null @@ -1,102 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-Ctsx389P.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .demo { - width: 80%; - } - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - - .wrapper--no-dropdown { - min-height: 80px; - } - - .wrapper > dss-search-bar { - width: 600px; - } - - .wrapper--md > dss-search-bar { - width: 400px; - } - - .wrapper--alignment { - height: 240px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-search-bar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(r.p,{children:`El cercador és un component que pot utilitzar-se tant per a realitzar filtres en el contingut -d'una pàgina com per a navegar dins de la mateixa en funció de la cerca. Sí el catàleg de termes o cerques -recents està definit, el component mostrarà un desplegable amb suggerències quan l'usuari escriu a l'input.`}),` -`,e.jsx(r.p,{children:"El component té dues versions: cercador simple i buscador múltiple."}),` -`,e.jsx(r.p,{children:`Cercador simple: Permet realitzar una cerca escrivint el text en l’input, executant un esdeveniment per -activar-la quan es prem la tecla Enter. Si l’usuari fa clic en un dels resultats predictius, s’assignarà com a valor de l'input i s’iniciarà la cerca.`}),` -`,e.jsx(r.p,{children:`Cercador múltiple: Permet seleccionar diferents termes de cerca al mateix temps. Ja sigui escrivint a l’input i separant-los amb una coma per tal d’afegir-los -o bé fent clic en els resultats predictius. Cada cop que s’afegeixi un nou terme es llençarà un esdeveniment de cerca.`}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsxs(r.p,{children:["El selector per poder utilitzar el search bar és ",e.jsx(r.strong,{children:e.jsx(r.code,{children:"dss-search-bar"})}),"."]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(r.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(r.h3,{id:"dss-search-bar",children:"dss-search-bar"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"multiple"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet realitzar un cerca amb diferents termes al mateix temps."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"search"}),e.jsx(r.td,{children:"Sobreescriu la icona mostrada."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"inputSize"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"lg"}),e.jsx(r.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"helpText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"invalid"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"threshold"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"number"}),e.jsx(r.td,{children:"3"}),e.jsx(r.td,{children:"Límit de caràcters a partir del qual es mostrarà el desplegable amb els resultats que coincideixin amb la cerca predictiva."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"dropdownStyle"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"''"}),e.jsx(r.td,{children:"Permet canviar l’estil del dropdown."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"catalog"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"CatalogOption[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llista d’elements que seran mostrats al desplegable de cerca predictiva. El format dels elements serà el mateix tant per a obtenir un catàleg de termes, com en un llistat de cerques recents."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"isCatalogLoading"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet mostrar una animació mentre les dades del catàleg acaben de carregar-se des de backend."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"emptyDropdownText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Sense resultats per"}),e.jsx(r.td,{children:"Text que es mostra quan el text introduït a l’input no coincideix amb cap de les opcions del catàleg de termes o cerques recents. El text es construeix de la següent manera: emptyDropdownText:ìnput.value`."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"searchTerms"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llistat de termes de cerques realitzades. Per exemple, pot utilitzar-se en cas de tenir emmagatzemada l’última cerca en tornar a la pàgina durant la navegació."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearches"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Afegir en cas que el catàleg definit es tracti d’un llistat de cerques recents. Això farà visible un títol identificatiu dins del desplegable que pugui modificar-se amb la següent propietat."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearchesText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Últimes cerques"}),e.jsx(r.td,{children:"Modificar el títol del desplegable quan es tracti d’una cerca predictiva sobre un llistat de cerques recents."})]})]})]}),` -`,e.jsx(r.h3,{id:"catalog-option",children:"Catalog Option"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"value"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Requerida"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text que identifica el terme amb la cerca recent."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Icona relacionada. Si no s’indica la icona el text s'alinearà a la esquerra del component."})]})]})]}),` -`,e.jsx(r.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"onSearchChange"})}),e.jsx(r.td,{children:"Output"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"CustomEvent"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Esdeveniment que retorna el valor dels termes seleccionat per a realitzar la cerca. A la propietat event.detail s'obtindrà un array de strings amb tots els termes."})]})})]}),` -`,e.jsx(r.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(r.ul,{children:[` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#%C3%BAltimes-cerques",children:"Últimes cerques"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#amb-cerca-predefinida",children:"Amb cerca predefinida"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#cat%C3%A0leg-carregant",children:"Catàleg carregant"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#modificar-l%E2%80%99estil-del-desplegable",children:"Modificar l’estil del desplegable"})}),` -`]}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per diagnostics, settings o home per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(r.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(r.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(r.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(r.p,{children:"Utilitzarem la mida (md | lg)."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(r.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(r.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(r.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(r.h3,{id:"últimes-cerques",children:"Últimes cerques"}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per last, o term per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(r.h3,{id:"amb-cerca-predefinida",children:"Amb cerca predefinida"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(r.h3,{id:"catàleg-carregant",children:"Catàleg carregant"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(r.h3,{id:"modificar-lestil-del-desplegable",children:"Modificar l’estil del desplegable."}),` -`,e.jsx(n,{of:q})]})}function z(s={}){const{wrapper:r}={...t(),...s.components};return r?e.jsx(r,{...s,children:e.jsx(i,{...s})}):i(s)}export{z as default}; diff --git a/rc/assets/search-bar.doc-FtYzGp9_.js b/rc/assets/search-bar.doc-FtYzGp9_.js deleted file mode 100644 index e67d105..0000000 --- a/rc/assets/search-bar.doc-FtYzGp9_.js +++ /dev/null @@ -1,102 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as a,P as h,a as x,M as o,b as j,R as p,c as u,D as m,L as g,d as b,e as f,C as q}from"./search-bar.stories-DLiS1xOu.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const r={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .demo { - width: 80%; - } - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - - .wrapper--no-dropdown { - min-height: 80px; - } - - .wrapper > dss-search-bar { - width: 600px; - } - - .wrapper--md > dss-search-bar { - width: 400px; - } - - .wrapper--alignment { - height: 240px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-search-bar",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(r.p,{children:`El cercador és un component que pot utilitzar-se tant per a realitzar filtres en el contingut -d'una pàgina com per a navegar dins de la mateixa en funció de la cerca. Sí el catàleg de termes o cerques -recents està definit, el component mostrarà un desplegable amb suggerències quan l'usuari escriu a l'input.`}),` -`,e.jsx(r.p,{children:"El component té dues versions: cercador simple i buscador múltiple."}),` -`,e.jsx(r.p,{children:`Cercador simple: Permet realitzar una cerca escrivint el text en l’input, executant un esdeveniment per -activar-la quan es prem la tecla Enter. Si l’usuari fa clic en un dels resultats predictius, s’assignarà com a valor de l'input i s’iniciarà la cerca.`}),` -`,e.jsx(r.p,{children:`Cercador múltiple: Permet seleccionar diferents termes de cerca al mateix temps. Ja sigui escrivint a l’input i separant-los amb una coma per tal d’afegir-los -o bé fent clic en els resultats predictius. Cada cop que s’afegeixi un nou terme es llençarà un esdeveniment de cerca.`}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsxs(r.p,{children:["El selector per poder utilitzar el search bar és ",e.jsx(r.strong,{children:e.jsx(r.code,{children:"dss-search-bar"})}),"."]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(r.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(r.h3,{id:"dss-search-bar",children:"dss-search-bar"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"multiple"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet realitzar un cerca amb diferents termes al mateix temps."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"search"}),e.jsx(r.td,{children:"Sobreescriu la icona mostrada."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"inputSize"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"lg"}),e.jsx(r.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"helpText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"invalid"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"threshold"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"number"}),e.jsx(r.td,{children:"3"}),e.jsx(r.td,{children:"Límit de caràcters a partir del qual es mostrarà el desplegable amb els resultats que coincideixin amb la cerca predictiva."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"dropdownStyle"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"''"}),e.jsx(r.td,{children:"Permet canviar l’estil del dropdown."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"catalog"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"CatalogOption[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llista d’elements que seran mostrats al desplegable de cerca predictiva. El format dels elements serà el mateix tant per a obtenir un catàleg de termes, com en un llistat de cerques recents."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"isCatalogLoading"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Permet mostrar una animació mentre les dades del catàleg acaben de carregar-se des de backend."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"emptyDropdownText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Sense resultats per"}),e.jsx(r.td,{children:"Text que es mostra quan el text introduït a l’input no coincideix amb cap de les opcions del catàleg de termes o cerques recents. El text es construeix de la següent manera: emptyDropdownText:ìnput.value`."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"searchTerms"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string[]"}),e.jsx(r.td,{children:"[]"}),e.jsx(r.td,{children:"Llistat de termes de cerques realitzades. Per exemple, pot utilitzar-se en cas de tenir emmagatzemada l’última cerca en tornar a la pàgina durant la navegació."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearches"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"boolean"}),e.jsx(r.td,{children:"false"}),e.jsx(r.td,{children:"Afegir en cas que el catàleg definit es tracti d’un llistat de cerques recents. Això farà visible un títol identificatiu dins del desplegable que pugui modificar-se amb la següent propietat."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"recentSearchesText"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"Últimes cerques"}),e.jsx(r.td,{children:"Modificar el títol del desplegable quan es tracti d’una cerca predictiva sobre un llistat de cerques recents."})]})]})]}),` -`,e.jsx(r.h3,{id:"catalog-option",children:"Catalog Option"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsxs(r.tbody,{children:[e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"value"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Requerida"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Text que identifica el terme amb la cerca recent."})]}),e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"icon"})}),e.jsx(r.td,{children:"Input"}),e.jsx(r.td,{children:"Opcional"}),e.jsx(r.td,{children:"string"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Icona relacionada. Si no s’indica la icona el text s'alinearà a la esquerra del component."})]})]})]}),` -`,e.jsx(r.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(r.table,{children:[e.jsx(r.thead,{children:e.jsxs(r.tr,{children:[e.jsx(r.th,{children:"Name"}),e.jsx(r.th,{children:"Àmbit"}),e.jsx(r.th,{children:"Condition"}),e.jsx(r.th,{children:"Type"}),e.jsx(r.th,{children:"Default"}),e.jsx(r.th,{children:"Description"})]})}),e.jsx(r.tbody,{children:e.jsxs(r.tr,{children:[e.jsx(r.td,{children:e.jsx(r.strong,{children:"onSearchChange"})}),e.jsx(r.td,{children:"Output"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"CustomEvent"}),e.jsx(r.td,{children:"-"}),e.jsx(r.td,{children:"Esdeveniment que retorna el valor dels termes seleccionat per a realitzar la cerca. A la propietat event.detail s'obtindrà un array de strings amb tots els termes."})]})})]}),` -`,e.jsx(r.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(r.ul,{children:[` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#mides",children:"Mides"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#%C3%BAltimes-cerques",children:"Últimes cerques"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#amb-cerca-predefinida",children:"Amb cerca predefinida"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#cat%C3%A0leg-carregant",children:"Catàleg carregant"})}),` -`,e.jsx(r.li,{children:e.jsx(r.a,{href:"#modificar-l%E2%80%99estil-del-desplegable",children:"Modificar l’estil del desplegable"})}),` -`]}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per diagnostics, settings o home per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(r.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(r.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(r.h3,{id:"mides",children:"Mides"}),` -`,e.jsx(r.p,{children:"Utilitzarem la mida (md | lg)."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(r.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(r.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(r.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(r.h3,{id:"últimes-cerques",children:"Últimes cerques"}),` -`,e.jsxs(r.blockquote,{children:[` -`,e.jsx(r.p,{children:"Cerca per last, o term per habilitar el cercador predictiu."}),` -`]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(r.h3,{id:"amb-cerca-predefinida",children:"Amb cerca predefinida"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx(r.h3,{id:"catàleg-carregant",children:"Catàleg carregant"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(r.h3,{id:"modificar-lestil-del-desplegable",children:"Modificar l’estil del desplegable."}),` -`,e.jsx(n,{of:q})]})}function z(s={}){const{wrapper:r}={...t(),...s.components};return r?e.jsx(r,{...s,children:e.jsx(i,{...s})}):i(s)}export{z as default}; diff --git a/rc/assets/search-bar.stories-DLiS1xOu.js b/rc/assets/search-bar.stories-DLiS1xOu.js deleted file mode 100644 index 676ceaa..0000000 --- a/rc/assets/search-bar.stories-DLiS1xOu.js +++ /dev/null @@ -1,532 +0,0 @@ -import{x}from"./lit-html-paDGiEfB.js";const Q={title:"Components/Search Bar",argTypes:{multiple:{name:"Multiple",control:{type:"boolean"}},inputSize:{name:"Input Size",control:{type:"radio"},options:["md","lg"]},icon:{name:"Icon",control:{type:"text"}},helpText:{name:"Help Text",control:{type:"text"}},threshold:{name:"Number of chars to enable predictive search",control:{type:"number"}},emptyDropdownText:{name:"No results Text",control:{type:"text"}},invalid:{name:"Force invalid state",control:{type:"boolean"}},readonly:{name:"Read Only",control:{type:"boolean"}},disabled:{name:"Disabled",control:{type:"boolean"}},recentSearches:{name:"Últimes cerques",control:{type:"boolean"}},recentSearchesText:{name:"Posición tooltip",control:{type:"text"},if:{arg:"recentSearches",truthy:!0}},isCatalogLoading:{name:"Simulate catalog loading",control:{type:"boolean"}}},parameters:{layout:"centered"}},a={render:e=>{const K=[{value:"Diagnostics 1",icon:"person"},{value:"Diagnostics 2",icon:"person"},{value:"Diagnostics 3",icon:"person"},{value:"Settings",icon:"Settings"},{value:"Home",icon:"home"},{value:"Home",icon:"home"}];return x` -
    - - - - -
    - `},args:{multiple:!1,inputSize:"lg",icon:"search",helpText:"Missatge informatiu",threshold:3,emptyDropdownText:"Sense resultats per",invalid:!1,readonly:!1,disabled:!1,recentSearches:!1,recentSearchesText:"Últimes cerques",isCatalogLoading:!1}},s={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},n={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},i={tags:["!dev"],render:()=>x` -
    - - - - - - - - - - - -
    - `},r={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},t={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},o={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},l={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},c={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},p={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `},u={tags:["!dev"],render:()=>x` -
    - - - - - -
    - `};var d,h,g;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ - render: (args: any) => { - const catalog = [{ - value: 'Diagnostics 1', - icon: 'person' - }, { - value: 'Diagnostics 2', - icon: 'person' - }, { - value: 'Diagnostics 3', - icon: 'person' - }, { - value: 'Settings', - icon: 'Settings' - }, { - value: 'Home', - icon: 'home' - }, { - value: 'Home', - icon: 'home' - }]; - return html\` -
    - - - - -
    - \`; - }, - args: { - multiple: false, - inputSize: 'lg', - icon: 'search', - helpText: 'Missatge informatiu', - threshold: 3, - emptyDropdownText: 'Sense resultats per', - invalid: false, - readonly: false, - disabled: false, - recentSearches: false, - recentSearchesText: 'Últimes cerques', - isCatalogLoading: false - } -}`,...(g=(h=a.parameters)==null?void 0:h.docs)==null?void 0:g.source}}};var v,b,m;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(m=(b=s.parameters)==null?void 0:b.docs)==null?void 0:m.source}}};var f,S,D;n.parameters={...n.parameters,docs:{...(f=n.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(D=(S=n.parameters)==null?void 0:S.docs)==null?void 0:D.source}}};var y,T,w;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(w=(T=i.parameters)==null?void 0:T.docs)==null?void 0:w.source}}};var L,I,M;r.parameters={...r.parameters,docs:{...(L=r.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(M=(I=r.parameters)==null?void 0:I.docs)==null?void 0:M.source}}};var $,j,A;t.parameters={...t.parameters,docs:{...($=t.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(A=(j=t.parameters)==null?void 0:j.docs)==null?void 0:A.source}}};var z,C,H;o.parameters={...o.parameters,docs:{...(z=o.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(H=(C=o.parameters)==null?void 0:C.docs)==null?void 0:H.source}}};var P,O,q;l.parameters={...l.parameters,docs:{...(P=l.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(q=(O=l.parameters)==null?void 0:O.docs)==null?void 0:q.source}}};var _,R,N;c.parameters={...c.parameters,docs:{...(_=c.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(N=(R=c.parameters)==null?void 0:R.docs)==null?void 0:N.source}}};var B,J,E;p.parameters={...p.parameters,docs:{...(B=p.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(E=(J=p.parameters)==null?void 0:J.docs)==null?void 0:E.source}}};var F,k,G;u.parameters={...u.parameters,docs:{...(F=u.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(G=(k=u.parameters)==null?void 0:k.docs)==null?void 0:G.source}}};const U=["Playground","Simple","Multiple","Size","Required","Disabled","ReadOnly","LastSearchs","Predefined","LoadingCatalog","CustomStyle"],W=Object.freeze(Object.defineProperty({__proto__:null,CustomStyle:u,Disabled:t,LastSearchs:l,LoadingCatalog:p,Multiple:n,Playground:a,Predefined:c,ReadOnly:o,Required:r,Simple:s,Size:i,__namedExportsOrder:U,default:Q},Symbol.toStringTag,{value:"Module"}));export{u as C,t as D,l as L,n as M,a as P,r as R,W as S,s as a,i as b,o as c,c as d,p as e}; diff --git a/rc/assets/selector.doc-BZQ3jK0N.js b/rc/assets/selector.doc-BZQ3jK0N.js deleted file mode 100644 index d9e9110..0000000 --- a/rc/assets/selector.doc-BZQ3jK0N.js +++ /dev/null @@ -1,51 +0,0 @@ -import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-Do-1HI-T.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-selector",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Selector és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Si aquest component s'utilitza de forma independent, és necessari afegir la ",e.jsx(n.strong,{children:"propietat ariaLabel"}),` -per complir amb els requisits d'accessibilitat i que afecta principalment com els lectors de pantalla interpreten el component.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-tick",children:"Sense tick"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un únic element."}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h4,{id:"green",children:"Green"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(s,{of:f})]})}function P(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(l,{...i})}):l(i)}export{P as default}; diff --git a/rc/assets/selector.doc-BJK_ddFP.js b/rc/assets/selector.doc-DO9ng5El.js similarity index 94% rename from rc/assets/selector.doc-BJK_ddFP.js rename to rc/assets/selector.doc-DO9ng5El.js index 7a544dd..c953c74 100644 --- a/rc/assets/selector.doc-BJK_ddFP.js +++ b/rc/assets/selector.doc-DO9ng5El.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-CHPw8T9H.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-CHPw8T9H.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/selector.doc-D_XkOwC9.js b/rc/assets/selector.doc-D_XkOwC9.js deleted file mode 100644 index e4f2473..0000000 --- a/rc/assets/selector.doc-D_XkOwC9.js +++ /dev/null @@ -1,51 +0,0 @@ -import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-CHPw8T9H.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-selector",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Selector és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Si aquest component s'utilitza de forma independent, és necessari afegir la ",e.jsx(n.strong,{children:"propietat ariaLabel"}),` -per complir amb els requisits d'accessibilitat i que afecta principalment com els lectors de pantalla interpreten el component.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-tick",children:"Sense tick"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un únic element."}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h4,{id:"green",children:"Green"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(s,{of:f})]})}function P(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(l,{...i})}):l(i)}export{P as default}; diff --git a/rc/assets/selector.doc-DzVEaOfH.js b/rc/assets/selector.doc-DzVEaOfH.js deleted file mode 100644 index cf59270..0000000 --- a/rc/assets/selector.doc-DzVEaOfH.js +++ /dev/null @@ -1,51 +0,0 @@ -import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-CHPw8T9H.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-selector",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Selector és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Si aquest component s'utilitza de forma independent, és necessari afegir la ",e.jsx(n.strong,{children:"propietat ariaLabel"}),` -per complir amb els requisits d'accessibilitat i que afecta principalment com els lectors de pantalla interpreten el component.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-tick",children:"Sense tick"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un únic element."}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h4,{id:"green",children:"Green"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(s,{of:f})]})}function P(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(l,{...i})}):l(i)}export{P as default}; diff --git a/rc/assets/selector.doc-p1nKw7-N.js b/rc/assets/selector.doc-p1nKw7-N.js deleted file mode 100644 index 86f47fd..0000000 --- a/rc/assets/selector.doc-p1nKw7-N.js +++ /dev/null @@ -1,51 +0,0 @@ -import{ae as e,af as t,ag as c,ah as s,ai as a}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as o,P as d,a as p,M as x,N as h,T as m,b as u,U as j,c as f}from"./selector.stories-Do-1HI-T.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function l(i){const n={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - } - `}),` -`,e.jsx(t,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(c,{}),e.jsx("dss-badge",{text:"dss-selector",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Selector és un component que s'utilitza per seleccionar una o més opcions possibles."}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Nota:"})," Si aquest component s'utilitza de forma independent, és necessari afegir la ",e.jsx(n.strong,{children:"propietat ariaLabel"}),` -per complir amb els requisits d'accessibilitat i que afecta principalment com els lectors de pantalla interpreten el component.`]}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#simple",children:"Simple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#m%C3%BAltiple",children:"Múltiple"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#sense-tick",children:"Sense tick"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#desseleccionable",children:"Desseleccionable"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#valor-preseleccionat",children:"Valor preseleccionat"})}),` -`]}),` -`,e.jsx(n.h3,{id:"simple",children:"Simple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar un únic element."}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"múltiple",children:"Múltiple"}),` -`,e.jsx(n.p,{children:"Permet seleccionar més d'un element."}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"sense-tick",children:"Sense tick"}),` -`,e.jsx(n.p,{children:`Permet desactivar el tick que apareix a l'esquerra de cada element. -Llavors apareixerà un radi de selecció o un checkbox, depenent de si -és un selector simple o múltiple.`}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:`Hi ha el default i green. No afegir-ne un altre que no sigui un -d'aquests dos.`}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx(n.h4,{id:"green",children:"Green"}),` -`,e.jsx(s,{of:u}),` -`,e.jsx(n.h3,{id:"desseleccionable",children:"Desseleccionable"}),` -`,e.jsx(n.p,{children:"Permet deseleccionar un element seleccionat si es torna a clicar sobre ell. (Només per selectors simples)"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"valor-preseleccionat",children:"Valor preseleccionat"}),` -`,e.jsx(n.p,{children:"Permet indicar quin element o elements estan seleccionats per defecte."}),` -`,e.jsx(s,{of:f})]})}function P(i={}){const{wrapper:n}={...r(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(l,{...i})}):l(i)}export{P as default}; diff --git a/rc/assets/selector.stories-Do-1HI-T.js b/rc/assets/selector.stories-Do-1HI-T.js deleted file mode 100644 index 29282ed..0000000 --- a/rc/assets/selector.stories-Do-1HI-T.js +++ /dev/null @@ -1,174 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as e}from"./lit-html-paDGiEfB.js";const U={title:"Components/Selector",argTypes:{multiple:{name:"Múltiple",control:{type:"boolean"}},tick:{name:"Tick",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},tipus:{name:"Tipus",control:{type:"select"},options:["default","green"]},desselectable:{name:"Desseleccionable",control:{type:"boolean"},if:{arg:"multiple",truthy:!1}}},parameters:{layout:"centered"}},l={render:x=>{const V=[{label:"Element 1",value:"1"},{label:"Element 2",value:"2"},{label:"Element 3",value:"3"},{label:"Element 4",value:"4"},{label:"Element 5",value:"5"},{label:"Element 6",value:"6"}];return e` - - `},args:{multiple:!1,tick:!0,disabled:!1,tipus:"default",desselectable:!1}},s={tags:["!dev"],render:()=>e` -
    - - -
    - `},a={tags:["!dev"],render:()=>e` -
    - - -
    - `},t={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},n={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},r={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},d={tags:["!dev"],render:()=>e` -
    - - -
    - `},u={tags:["!dev"],render:()=>e` -
    - - - - -
    - `};var m,c,v;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: (args: any) => { - const elements = [{ - label: 'Element 1', - value: '1' - }, { - label: 'Element 2', - value: '2' - }, { - label: 'Element 3', - value: '3' - }, { - label: 'Element 4', - value: '4' - }, { - label: 'Element 5', - value: '5' - }, { - label: 'Element 6', - value: '6' - }]; - return html\` - - \`; - }, - args: { - multiple: false, - tick: true, - disabled: false, - tipus: 'default', - desselectable: false - } -}`,...(v=(c=l.parameters)==null?void 0:c.docs)==null?void 0:v.source}}};var o,b,i;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(i=(b=s.parameters)==null?void 0:b.docs)==null?void 0:i.source}}};var E,p,g;a.parameters={...a.parameters,docs:{...(E=a.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(g=(p=a.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var y,f,S;t.parameters={...t.parameters,docs:{...(y=t.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(S=(f=t.parameters)==null?void 0:f.docs)==null?void 0:S.source}}};var k,w,$;n.parameters={...n.parameters,docs:{...(k=n.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...($=(w=n.parameters)==null?void 0:w.docs)==null?void 0:$.source}}};var h,T,_;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(_=(T=r.parameters)==null?void 0:T.docs)==null?void 0:_.source}}};var M,N,O;d.parameters={...d.parameters,docs:{...(M=d.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(O=(N=d.parameters)==null?void 0:N.docs)==null?void 0:O.source}}};var D,L,P;u.parameters={...u.parameters,docs:{...(D=u.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(P=(L=u.parameters)==null?void 0:L.docs)==null?void 0:P.source}}};const j=["Playground","Simple","Multiple","TypeDefault","NoTick","TypeGreen","Unselect","SelectedValue"],z=Object.freeze(Object.defineProperty({__proto__:null,Multiple:a,NoTick:n,Playground:l,SelectedValue:u,Simple:s,TypeDefault:t,TypeGreen:r,Unselect:d,__namedExportsOrder:j,default:U},Symbol.toStringTag,{value:"Module"}));export{a as M,n as N,l as P,z as S,t as T,d as U,s as a,r as b,u as c}; diff --git a/rc/assets/sidebar.doc-BQdqzKXT.js b/rc/assets/sidebar.doc-B-L68D5l.js similarity index 94% rename from rc/assets/sidebar.doc-BQdqzKXT.js rename to rc/assets/sidebar.doc-B-L68D5l.js index 8cf62ed..8caacc0 100644 --- a/rc/assets/sidebar.doc-BQdqzKXT.js +++ b/rc/assets/sidebar.doc-B-L68D5l.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as t,ah as i}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-Cw1bpr80.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as t,ah as i}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-Cw1bpr80.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/sidebar.doc-Bv0_y__3.js b/rc/assets/sidebar.doc-Bv0_y__3.js deleted file mode 100644 index b65d384..0000000 --- a/rc/assets/sidebar.doc-Bv0_y__3.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as l,ag as t,ah as i}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-Cw1bpr80.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(l,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Sidebar ajuda els usuaris a moure's entre pàgines i a localitzar-se dins -l'aplicació.`}),` -`,e.jsxs(s.p,{children:["Es construix una estructura en base a la classe ",e.jsx(s.strong,{children:"dss-sidebar"}),`. El Icon -Button es el que acciona el menú reduït a les icones. Aquest botó realment es -un input checkbox, i quan está a l'estat `,e.jsx(s.code,{children:"checked"}),`, es reduïx el sidebar. -Aquest input te la classe `,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),` i l'aspecte d'un Icon -Button amb les classes `,e.jsx(s.strong,{children:"dss-icon-button--primary"})," i ",e.jsx(s.strong,{children:"dss-icon-buton--lg"}),"."]}),` -`,e.jsxs(s.p,{children:[`Per altra banda, els links es poden deshabil·litar si es necessari. A la -classe `,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-expandit",children:"Sidebar expandit"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-reduit",children:"Sidebar reduït"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#link-deshabillitat",children:"Link deshabil·litat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#inverteix-les-icones",children:"Inverteix les icones"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"sidebar-expandit",children:"Sidebar expandit"}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(s.h3,{id:"sidebar-reduït",children:"Sidebar reduït"}),` -`,e.jsxs(s.p,{children:["Per reduir el sidebar, tenim que afegir el atribut ",e.jsx(s.code,{children:"checked"}),` a l'element -`,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),"."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"link-deshabillitat",children:"Link deshabillitat"}),` -`,e.jsxs(s.p,{children:[`Els links es poden deshabil·litar si es necessari. A la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"inverteix-les-icones",children:"Inverteix les icones"}),` -`,e.jsxs(s.p,{children:["Modifica l'orientació de les icones per a commutar la barra lateral, per això hem d'afegir la classe ",e.jsx(s.strong,{children:"dss-sidebar--reverse"})," a l'input."]}),` -`,e.jsx(i,{of:u})]})}function _(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{_ as default}; diff --git a/rc/assets/sidebar.doc-CdpMms6j.js b/rc/assets/sidebar.doc-CdpMms6j.js deleted file mode 100644 index 491f73f..0000000 --- a/rc/assets/sidebar.doc-CdpMms6j.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as l,ag as t,ah as i}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-BSMSOHpu.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(l,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Sidebar ajuda els usuaris a moure's entre pàgines i a localitzar-se dins -l'aplicació.`}),` -`,e.jsxs(s.p,{children:["Es construix una estructura en base a la classe ",e.jsx(s.strong,{children:"dss-sidebar"}),`. El Icon -Button es el que acciona el menú reduït a les icones. Aquest botó realment es -un input checkbox, i quan está a l'estat `,e.jsx(s.code,{children:"checked"}),`, es reduïx el sidebar. -Aquest input te la classe `,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),` i l'aspecte d'un Icon -Button amb les classes `,e.jsx(s.strong,{children:"dss-icon-button--primary"})," i ",e.jsx(s.strong,{children:"dss-icon-buton--lg"}),"."]}),` -`,e.jsxs(s.p,{children:[`Per altra banda, els links es poden deshabil·litar si es necessari. A la -classe `,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-expandit",children:"Sidebar expandit"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-reduit",children:"Sidebar reduït"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#link-deshabillitat",children:"Link deshabil·litat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#inverteix-les-icones",children:"Inverteix les icones"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"sidebar-expandit",children:"Sidebar expandit"}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(s.h3,{id:"sidebar-reduït",children:"Sidebar reduït"}),` -`,e.jsxs(s.p,{children:["Per reduir el sidebar, tenim que afegir el atribut ",e.jsx(s.code,{children:"checked"}),` a l'element -`,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),"."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"link-deshabillitat",children:"Link deshabillitat"}),` -`,e.jsxs(s.p,{children:[`Els links es poden deshabil·litar si es necessari. A la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"inverteix-les-icones",children:"Inverteix les icones"}),` -`,e.jsxs(s.p,{children:["Modifica l'orientació de les icones per a commutar la barra lateral, per això hem d'afegir la classe ",e.jsx(s.strong,{children:"dss-sidebar--reverse"})," a l'input."]}),` -`,e.jsx(i,{of:u})]})}function _(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{_ as default}; diff --git a/rc/assets/sidebar.doc-D7SMHw7Q.js b/rc/assets/sidebar.doc-D7SMHw7Q.js deleted file mode 100644 index 3bf14b6..0000000 --- a/rc/assets/sidebar.doc-D7SMHw7Q.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as l,ag as t,ah as i}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-Cw1bpr80.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(l,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Sidebar ajuda els usuaris a moure's entre pàgines i a localitzar-se dins -l'aplicació.`}),` -`,e.jsxs(s.p,{children:["Es construix una estructura en base a la classe ",e.jsx(s.strong,{children:"dss-sidebar"}),`. El Icon -Button es el que acciona el menú reduït a les icones. Aquest botó realment es -un input checkbox, i quan está a l'estat `,e.jsx(s.code,{children:"checked"}),`, es reduïx el sidebar. -Aquest input te la classe `,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),` i l'aspecte d'un Icon -Button amb les classes `,e.jsx(s.strong,{children:"dss-icon-button--primary"})," i ",e.jsx(s.strong,{children:"dss-icon-buton--lg"}),"."]}),` -`,e.jsxs(s.p,{children:[`Per altra banda, els links es poden deshabil·litar si es necessari. A la -classe `,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-expandit",children:"Sidebar expandit"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-reduit",children:"Sidebar reduït"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#link-deshabillitat",children:"Link deshabil·litat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#inverteix-les-icones",children:"Inverteix les icones"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"sidebar-expandit",children:"Sidebar expandit"}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(s.h3,{id:"sidebar-reduït",children:"Sidebar reduït"}),` -`,e.jsxs(s.p,{children:["Per reduir el sidebar, tenim que afegir el atribut ",e.jsx(s.code,{children:"checked"}),` a l'element -`,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),"."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"link-deshabillitat",children:"Link deshabillitat"}),` -`,e.jsxs(s.p,{children:[`Els links es poden deshabil·litar si es necessari. A la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"inverteix-les-icones",children:"Inverteix les icones"}),` -`,e.jsxs(s.p,{children:["Modifica l'orientació de les icones per a commutar la barra lateral, per això hem d'afegir la classe ",e.jsx(s.strong,{children:"dss-sidebar--reverse"})," a l'input."]}),` -`,e.jsx(i,{of:u})]})}function _(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{_ as default}; diff --git a/rc/assets/sidebar.doc-TfrZeLHX.js b/rc/assets/sidebar.doc-TfrZeLHX.js deleted file mode 100644 index 217716d..0000000 --- a/rc/assets/sidebar.doc-TfrZeLHX.js +++ /dev/null @@ -1,45 +0,0 @@ -import{ae as e,af as l,ag as t,ah as i}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as d,P as c,E as o,C as x,L as h,R as u}from"./sidebar.stories-BSMSOHpu.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(n){const s={a:"a",blockquote:"blockquote",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - } - `}),` -`,e.jsx(l,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(t,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El Sidebar ajuda els usuaris a moure's entre pàgines i a localitzar-se dins -l'aplicació.`}),` -`,e.jsxs(s.p,{children:["Es construix una estructura en base a la classe ",e.jsx(s.strong,{children:"dss-sidebar"}),`. El Icon -Button es el que acciona el menú reduït a les icones. Aquest botó realment es -un input checkbox, i quan está a l'estat `,e.jsx(s.code,{children:"checked"}),`, es reduïx el sidebar. -Aquest input te la classe `,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),` i l'aspecte d'un Icon -Button amb les classes `,e.jsx(s.strong,{children:"dss-icon-button--primary"})," i ",e.jsx(s.strong,{children:"dss-icon-buton--lg"}),"."]}),` -`,e.jsxs(s.p,{children:[`Per altra banda, els links es poden deshabil·litar si es necessari. A la -classe `,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-expandit",children:"Sidebar expandit"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sidebar-reduit",children:"Sidebar reduït"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#link-deshabillitat",children:"Link deshabil·litat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#inverteix-les-icones",children:"Inverteix les icones"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"sidebar-expandit",children:"Sidebar expandit"}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(s.h3,{id:"sidebar-reduït",children:"Sidebar reduït"}),` -`,e.jsxs(s.p,{children:["Per reduir el sidebar, tenim que afegir el atribut ",e.jsx(s.code,{children:"checked"}),` a l'element -`,e.jsx(s.strong,{children:"dss-sidebar--collapse"}),"."]}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"link-deshabillitat",children:"Link deshabillitat"}),` -`,e.jsxs(s.p,{children:[`Els links es poden deshabil·litar si es necessari. A la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link"}),` tenim que sumar la classe -`,e.jsx(s.strong,{children:"dss-sidebar__link--disabled"}),"."]}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h3,{id:"inverteix-les-icones",children:"Inverteix les icones"}),` -`,e.jsxs(s.p,{children:["Modifica l'orientació de les icones per a commutar la barra lateral, per això hem d'afegir la classe ",e.jsx(s.strong,{children:"dss-sidebar--reverse"})," a l'input."]}),` -`,e.jsx(i,{of:u})]})}function _(n={}){const{wrapper:s}={...r(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(a,{...n})}):a(n)}export{_ as default}; diff --git a/rc/assets/sidebar.stories-BSMSOHpu.js b/rc/assets/sidebar.stories-BSMSOHpu.js deleted file mode 100644 index d75a17e..0000000 --- a/rc/assets/sidebar.stories-BSMSOHpu.js +++ /dev/null @@ -1,368 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const j={title:"Discontinued/Sidebar ⚠️",argTypes:{disabled:{name:"Deshabil·litar últim link",control:{type:"boolean"}},sectionsNumber:{name:"Quantitat de links",control:{type:"select"},options:[1,2,3,4,5,6,7,8,9,10]}}},a={render:r=>s` - - - `,name:"Exemple",args:{disabled:!1,sectionsNumber:5}},d={tags:["!dev"],render:()=>s` - - - - - - `},n={tags:["!dev"],render:()=>s` - - - - - - `},e={tags:["!dev"],render:()=>s` - - - - - - - - - - - - `},i={tags:["!dev"],render:()=>s` - - - - - - `};var c,l,o;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`{ - render: (args: any) => { - return html\` - - - \`; - }, - name: 'Exemple', - args: { - disabled: false, - sectionsNumber: 5 - } -}`,...(o=(l=a.parameters)==null?void 0:l.docs)==null?void 0:o.source}}};var _,t,b;d.parameters={...d.parameters,docs:{...(_=d.parameters)==null?void 0:_.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(b=(t=d.parameters)==null?void 0:t.docs)==null?void 0:b.source}}};var p,v,m;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(m=(v=n.parameters)==null?void 0:v.docs)==null?void 0:m.source}}};var x,u,k;e.parameters={...e.parameters,docs:{...(x=e.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - \`; - } -}`,...(k=(u=e.parameters)==null?void 0:u.docs)==null?void 0:k.source}}};var h,y,S;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - \`; - } -}`,...(S=(y=i.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};const g=["Playground","Expanded","Collapsed","LinkDisabled","ReverseIcons"],D=Object.freeze(Object.defineProperty({__proto__:null,Collapsed:n,Expanded:d,LinkDisabled:e,Playground:a,ReverseIcons:i,__namedExportsOrder:g,default:j},Symbol.toStringTag,{value:"Module"}));export{n as C,d as E,e as L,a as P,i as R,D as S}; diff --git a/rc/assets/sidemenu.doc-C1ZRzZy_.js b/rc/assets/sidemenu.doc-C1ZRzZy_.js deleted file mode 100644 index 0da8462..0000000 --- a/rc/assets/sidemenu.doc-C1ZRzZy_.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-B-8kgs0B.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - height: 900px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-sidemenu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component Side Menu és un element de l'interfície d'usuari que ofereix accés ràpid a funcions o seccions d'una aplicació, en aquest cas situat al marge esquerre de la pantalla."}),` -`,e.jsx(n.p,{children:"La Side Menu pot presentar-se en dos estats: plegat i desplegat. Aquesta capacitat de canviar d'estat permet una interfície més neta i flexible, adaptant-se a les necessitats de l'usuari en cada moment."}),` -`,e.jsx(n.p,{children:"Quan el Side Menu està plegat, ocupa menys espai i mostra només icones per evitar distraccions a l'usuari."}),` -`,e.jsx(n.p,{children:"Només al breakpoint de 1024px, la funcionalitat de desplegar el menú quedarà deshabilitada. En aquest format compacte, només es mostren les icones per donar prioritat al contingut."}),` -`,e.jsx(n.p,{children:"A més, cada vegada que l'usuari faci hover sobre un element del Side Menu, apareixerà un Tooltip que indicarà clarament a quina secció correspon."}),` -`,e.jsx(n.p,{children:"Aquesta funcionalitat d'expandir/col·lapsar el menú i de deshabilitar en resolucions petites és controlada internament pel component i no cal gestionar-la des de la iniciativa."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu"})}),"."]}),` -`,e.jsxs(n.p,{children:["A més del selector ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list"})})," i ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list-item"})})," com a subcomponent per poder mostrar cada element del menú."]}),` -`,e.jsx(n.p,{children:"Además, és possible afegir elements desplegables dins del menú-llista-element utilitzant el component action-menu i action-menu-item."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu",children:"dss-sidemenu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"expanded"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el menú obert per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"toggleLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar menu'"}),e.jsx(n.td,{children:"Text mostrat al botó de tancar el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Crear'"}),e.jsx(n.td,{children:"Text mostrat al botó de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Posició del menú desplegable de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createNotifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Notificacions pendents per al menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilitar el menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCreateMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amagar el menú de crear."})]})]})]}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Menu'"}),e.jsx(n.td,{children:"Text que es mostrarà quan el menú estigui expandit."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'add_box'"}),e.jsx(n.td,{children:"Icona mostrada dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Quantitat de notificacions que té l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el menú niat dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item-1",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#expandit",children:"Expandit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#menu-list-item-opcions",children:"Menu List Item Opcions"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu-niat",children:"Amb menú niat"})}),` -`]}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"expandit",children:"Expandit"}),` -`,e.jsx(n.p,{children:"En pantalles amb una resolució de 1024px d'ample o inferior, el sidemenu es col·lapsarà de manera automàtica i el botó d'obrir o tancar quedarà deshabilitat."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"menu-list-item-opcions",children:"Menu List Item Opcions"}),` -`,e.jsx(n.p,{children:"Notificacions: Les notificacions seran visibles quan l'usuari no estigui a la pàgina relacionada amb l'element o si, en cas de tenir un menú niat, el menú està col·lapsat. Quan el menú niat es visualitza, les notificacions passaran a veure's en l'element corresponent."}),` -`,e.jsx(n.p,{children:"Seleccionat: Els elements del menú tenen la propietat selected per indicar que l'usuari es troba actualment a la pàgina relacionada amb aquest menú."}),` -`,e.jsx(n.p,{children:"Deshabilitat: Deshabilita l'element i totes les opcions que tingui definides."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"amb-menú-niat",children:"Amb menú niat"}),` -`,e.jsx(n.p,{children:`Podem incloure menús niats tant a l'espai del botó de crear com en els diferents elements dins dels menús top o bottom. -Al mateix temps, també els podrem combinar amb elements action-menu amb contingut niat per construir un menú de diversos nivells.`}),` -`,e.jsx(n.p,{children:"Per als menús niats, caldrà tenir en compte la posició respecte al navegador per evitar que el contingut es talli, sent recomanable utilitzar les propietats createMenuPosition o nestedMenuPosition en 'bottom' quan sigui necessari."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function D(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/sidemenu.doc-BzWagZHu.js b/rc/assets/sidemenu.doc-CQqiB9C1.js similarity index 98% rename from rc/assets/sidemenu.doc-BzWagZHu.js rename to rc/assets/sidemenu.doc-CQqiB9C1.js index 220a5a4..b176236 100644 --- a/rc/assets/sidemenu.doc-BzWagZHu.js +++ b/rc/assets/sidemenu.doc-CQqiB9C1.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-B-8kgs0B.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-B-8kgs0B.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { height: 900px; } diff --git a/rc/assets/sidemenu.doc-CapqiVxy.js b/rc/assets/sidemenu.doc-CapqiVxy.js deleted file mode 100644 index 7d46aad..0000000 --- a/rc/assets/sidemenu.doc-CapqiVxy.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-B-8kgs0B.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - height: 900px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-sidemenu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component Side Menu és un element de l'interfície d'usuari que ofereix accés ràpid a funcions o seccions d'una aplicació, en aquest cas situat al marge esquerre de la pantalla."}),` -`,e.jsx(n.p,{children:"La Side Menu pot presentar-se en dos estats: plegat i desplegat. Aquesta capacitat de canviar d'estat permet una interfície més neta i flexible, adaptant-se a les necessitats de l'usuari en cada moment."}),` -`,e.jsx(n.p,{children:"Quan el Side Menu està plegat, ocupa menys espai i mostra només icones per evitar distraccions a l'usuari."}),` -`,e.jsx(n.p,{children:"Només al breakpoint de 1024px, la funcionalitat de desplegar el menú quedarà deshabilitada. En aquest format compacte, només es mostren les icones per donar prioritat al contingut."}),` -`,e.jsx(n.p,{children:"A més, cada vegada que l'usuari faci hover sobre un element del Side Menu, apareixerà un Tooltip que indicarà clarament a quina secció correspon."}),` -`,e.jsx(n.p,{children:"Aquesta funcionalitat d'expandir/col·lapsar el menú i de deshabilitar en resolucions petites és controlada internament pel component i no cal gestionar-la des de la iniciativa."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu"})}),"."]}),` -`,e.jsxs(n.p,{children:["A més del selector ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list"})})," i ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list-item"})})," com a subcomponent per poder mostrar cada element del menú."]}),` -`,e.jsx(n.p,{children:"Además, és possible afegir elements desplegables dins del menú-llista-element utilitzant el component action-menu i action-menu-item."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu",children:"dss-sidemenu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"expanded"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el menú obert per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"toggleLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar menu'"}),e.jsx(n.td,{children:"Text mostrat al botó de tancar el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Crear'"}),e.jsx(n.td,{children:"Text mostrat al botó de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Posició del menú desplegable de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createNotifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Notificacions pendents per al menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilitar el menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCreateMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amagar el menú de crear."})]})]})]}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Menu'"}),e.jsx(n.td,{children:"Text que es mostrarà quan el menú estigui expandit."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'add_box'"}),e.jsx(n.td,{children:"Icona mostrada dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Quantitat de notificacions que té l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el menú niat dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item-1",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#expandit",children:"Expandit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#menu-list-item-opcions",children:"Menu List Item Opcions"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu-niat",children:"Amb menú niat"})}),` -`]}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"expandit",children:"Expandit"}),` -`,e.jsx(n.p,{children:"En pantalles amb una resolució de 1024px d'ample o inferior, el sidemenu es col·lapsarà de manera automàtica i el botó d'obrir o tancar quedarà deshabilitat."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"menu-list-item-opcions",children:"Menu List Item Opcions"}),` -`,e.jsx(n.p,{children:"Notificacions: Les notificacions seran visibles quan l'usuari no estigui a la pàgina relacionada amb l'element o si, en cas de tenir un menú niat, el menú està col·lapsat. Quan el menú niat es visualitza, les notificacions passaran a veure's en l'element corresponent."}),` -`,e.jsx(n.p,{children:"Seleccionat: Els elements del menú tenen la propietat selected per indicar que l'usuari es troba actualment a la pàgina relacionada amb aquest menú."}),` -`,e.jsx(n.p,{children:"Deshabilitat: Deshabilita l'element i totes les opcions que tingui definides."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"amb-menú-niat",children:"Amb menú niat"}),` -`,e.jsx(n.p,{children:`Podem incloure menús niats tant a l'espai del botó de crear com en els diferents elements dins dels menús top o bottom. -Al mateix temps, també els podrem combinar amb elements action-menu amb contingut niat per construir un menú de diversos nivells.`}),` -`,e.jsx(n.p,{children:"Per als menús niats, caldrà tenir en compte la posició respecte al navegador per evitar que el contingut es talli, sent recomanable utilitzar les propietats createMenuPosition o nestedMenuPosition en 'bottom' quan sigui necessari."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function D(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/sidemenu.doc-CfbBsKu8.js b/rc/assets/sidemenu.doc-CfbBsKu8.js deleted file mode 100644 index f625e10..0000000 --- a/rc/assets/sidemenu.doc-CfbBsKu8.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-BmedWbij.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - height: 900px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-sidemenu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component Side Menu és un element de l'interfície d'usuari que ofereix accés ràpid a funcions o seccions d'una aplicació, en aquest cas situat al marge esquerre de la pantalla."}),` -`,e.jsx(n.p,{children:"La Side Menu pot presentar-se en dos estats: plegat i desplegat. Aquesta capacitat de canviar d'estat permet una interfície més neta i flexible, adaptant-se a les necessitats de l'usuari en cada moment."}),` -`,e.jsx(n.p,{children:"Quan el Side Menu està plegat, ocupa menys espai i mostra només icones per evitar distraccions a l'usuari."}),` -`,e.jsx(n.p,{children:"Només al breakpoint de 1024px, la funcionalitat de desplegar el menú quedarà deshabilitada. En aquest format compacte, només es mostren les icones per donar prioritat al contingut."}),` -`,e.jsx(n.p,{children:"A més, cada vegada que l'usuari faci hover sobre un element del Side Menu, apareixerà un Tooltip que indicarà clarament a quina secció correspon."}),` -`,e.jsx(n.p,{children:"Aquesta funcionalitat d'expandir/col·lapsar el menú i de deshabilitar en resolucions petites és controlada internament pel component i no cal gestionar-la des de la iniciativa."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu"})}),"."]}),` -`,e.jsxs(n.p,{children:["A més del selector ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list"})})," i ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list-item"})})," com a subcomponent per poder mostrar cada element del menú."]}),` -`,e.jsx(n.p,{children:"Además, és possible afegir elements desplegables dins del menú-llista-element utilitzant el component action-menu i action-menu-item."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu",children:"dss-sidemenu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"expanded"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el menú obert per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"toggleLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar menu'"}),e.jsx(n.td,{children:"Text mostrat al botó de tancar el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Crear'"}),e.jsx(n.td,{children:"Text mostrat al botó de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Posició del menú desplegable de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createNotifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Notificacions pendents per al menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilitar el menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCreateMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amagar el menú de crear."})]})]})]}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Menu'"}),e.jsx(n.td,{children:"Text que es mostrarà quan el menú estigui expandit."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'add_box'"}),e.jsx(n.td,{children:"Icona mostrada dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Quantitat de notificacions que té l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el menú niat dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item-1",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#expandit",children:"Expandit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#menu-list-item-opcions",children:"Menu List Item Opcions"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu-niat",children:"Amb menú niat"})}),` -`]}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"expandit",children:"Expandit"}),` -`,e.jsx(n.p,{children:"En pantalles amb una resolució de 1024px d'ample o inferior, el sidemenu es col·lapsarà de manera automàtica i el botó d'obrir o tancar quedarà deshabilitat."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"menu-list-item-opcions",children:"Menu List Item Opcions"}),` -`,e.jsx(n.p,{children:"Notificacions: Les notificacions seran visibles quan l'usuari no estigui a la pàgina relacionada amb l'element o si, en cas de tenir un menú niat, el menú està col·lapsat. Quan el menú niat es visualitza, les notificacions passaran a veure's en l'element corresponent."}),` -`,e.jsx(n.p,{children:"Seleccionat: Els elements del menú tenen la propietat selected per indicar que l'usuari es troba actualment a la pàgina relacionada amb aquest menú."}),` -`,e.jsx(n.p,{children:"Deshabilitat: Deshabilita l'element i totes les opcions que tingui definides."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"amb-menú-niat",children:"Amb menú niat"}),` -`,e.jsx(n.p,{children:`Podem incloure menús niats tant a l'espai del botó de crear com en els diferents elements dins dels menús top o bottom. -Al mateix temps, també els podrem combinar amb elements action-menu amb contingut niat per construir un menú de diversos nivells.`}),` -`,e.jsx(n.p,{children:"Per als menús niats, caldrà tenir en compte la posició respecte al navegador per evitar que el contingut es talli, sent recomanable utilitzar les propietats createMenuPosition o nestedMenuPosition en 'bottom' quan sigui necessari."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function D(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/sidemenu.doc-DTVfaJkO.js b/rc/assets/sidemenu.doc-DTVfaJkO.js deleted file mode 100644 index 029c6f6..0000000 --- a/rc/assets/sidemenu.doc-DTVfaJkO.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as l,ah as i,ai as a}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as c,P as o,B as h,E as x,L as j,N as m}from"./sidemenu.stories-BmedWbij.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - height: 900px; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-sidemenu",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-sidemenu-list-item",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"El component Side Menu és un element de l'interfície d'usuari que ofereix accés ràpid a funcions o seccions d'una aplicació, en aquest cas situat al marge esquerre de la pantalla."}),` -`,e.jsx(n.p,{children:"La Side Menu pot presentar-se en dos estats: plegat i desplegat. Aquesta capacitat de canviar d'estat permet una interfície més neta i flexible, adaptant-se a les necessitats de l'usuari en cada moment."}),` -`,e.jsx(n.p,{children:"Quan el Side Menu està plegat, ocupa menys espai i mostra només icones per evitar distraccions a l'usuari."}),` -`,e.jsx(n.p,{children:"Només al breakpoint de 1024px, la funcionalitat de desplegar el menú quedarà deshabilitada. En aquest format compacte, només es mostren les icones per donar prioritat al contingut."}),` -`,e.jsx(n.p,{children:"A més, cada vegada que l'usuari faci hover sobre un element del Side Menu, apareixerà un Tooltip que indicarà clarament a quina secció correspon."}),` -`,e.jsx(n.p,{children:"Aquesta funcionalitat d'expandir/col·lapsar el menú i de deshabilitar en resolucions petites és controlada internament pel component i no cal gestionar-la des de la iniciativa."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.p,{children:["El selector per poder utilitzar el component és ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu"})}),"."]}),` -`,e.jsxs(n.p,{children:["A més del selector ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list"})})," i ",e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-sidemenu-list-item"})})," com a subcomponent per poder mostrar cada element del menú."]}),` -`,e.jsx(n.p,{children:"Además, és possible afegir elements desplegables dins del menú-llista-element utilitzant el component action-menu i action-menu-item."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(a,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu",children:"dss-sidemenu"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"expanded"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra el menú obert per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"toggleLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Tancar menu'"}),e.jsx(n.td,{children:"Text mostrat al botó de tancar el menú."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createLabel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Crear'"}),e.jsx(n.td,{children:"Text mostrat al botó de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Posició del menú desplegable de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createNotifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Notificacions pendents per al menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"createDisabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilitar el menú de crear."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hideCreateMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Amagar el menú de crear."})]})]})]}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Menu'"}),e.jsx(n.td,{children:"Text que es mostrarà quan el menú estigui expandit."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'add_box'"}),e.jsx(n.td,{children:"Icona mostrada dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Marca l'element com a seleccionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Deshabilita l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notifications"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Quantitat de notificacions que té l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"notificationsState"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'error'"}),e.jsx(n.td,{children:"Estat del badge de notificacions mostrat. Pot ser: 'error', 'alert', 'success', 'info'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasNestedMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el menú niat dins de l'element."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"nestedMenuPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'top'"}),e.jsx(n.td,{children:"Permet modificar la posició en què apareix el desplegable amb el menú. Pot ser top (de dalt cap avall) o bottom (de baix cap amunt)."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx(n.h4,{id:"dss-sidemenu-list-item-1",children:"dss-sidemenu-list-item"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomnEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que notifica quan s'ha fet clic en un element que no conté un menú niat."})]})})]}),` -`,e.jsx(n.h3,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#expandit",children:"Expandit"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#menu-list-item-opcions",children:"Menu List Item Opcions"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu-niat",children:"Amb menú niat"})}),` -`]}),` -`,e.jsx(n.h4,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:h}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"expandit",children:"Expandit"}),` -`,e.jsx(n.p,{children:"En pantalles amb una resolució de 1024px d'ample o inferior, el sidemenu es col·lapsarà de manera automàtica i el botó d'obrir o tancar quedarà deshabilitat."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"menu-list-item-opcions",children:"Menu List Item Opcions"}),` -`,e.jsx(n.p,{children:"Notificacions: Les notificacions seran visibles quan l'usuari no estigui a la pàgina relacionada amb l'element o si, en cas de tenir un menú niat, el menú està col·lapsat. Quan el menú niat es visualitza, les notificacions passaran a veure's en l'element corresponent."}),` -`,e.jsx(n.p,{children:"Seleccionat: Els elements del menú tenen la propietat selected per indicar que l'usuari es troba actualment a la pàgina relacionada amb aquest menú."}),` -`,e.jsx(n.p,{children:"Deshabilitat: Deshabilita l'element i totes les opcions que tingui definides."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"amb-menú-niat",children:"Amb menú niat"}),` -`,e.jsx(n.p,{children:`Podem incloure menús niats tant a l'espai del botó de crear com en els diferents elements dins dels menús top o bottom. -Al mateix temps, també els podrem combinar amb elements action-menu amb contingut niat per construir un menú de diversos nivells.`}),` -`,e.jsx(n.p,{children:"Per als menús niats, caldrà tenir en compte la posició respecte al navegador per evitar que el contingut es talli, sent recomanable utilitzar les propietats createMenuPosition o nestedMenuPosition en 'bottom' quan sigui necessari."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.0"})}),e.jsx(n.td,{children:"Nou Web Component"})]})]})]})]})}function D(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{D as default}; diff --git a/rc/assets/sidemenu.stories-BmedWbij.js b/rc/assets/sidemenu.stories-BmedWbij.js deleted file mode 100644 index 8b4427c..0000000 --- a/rc/assets/sidemenu.stories-BmedWbij.js +++ /dev/null @@ -1,367 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const $={title:"Components/Sidemenu",argTypes:{hideCreate:{name:"Amagar botó de crear ",control:{type:"boolean"}},createNotifications:{name:"Quantitat de notificacions per botó de crear",control:{type:"number",max:10,min:0}},topMenuItems:{name:"Quantitat de ítems Top Menu",control:{type:"number",max:6,min:1}},bottomMenuItems:{name:"Quantitat de ítems Bottom Menu",control:{type:"number",max:6,min:1}},firstItemIcon:{name:"Icona primer item",control:{type:"text"}},firstItemLabel:{name:"Label primer item",control:{type:"text"}},firstItemNotifications:{name:"Notificacions primer item",control:{type:"number",max:6,min:0}},firstItemSelected:{name:"Primer item seleccionat",control:{type:"boolean"}},firstItemDisabled:{name:"Deshabil·litar primer item",control:{type:"boolean"}},showNestedMenu:{name:"Mostrar menú niat.",control:{type:"boolean"}}},parameters:{layout:"centered"}},i={args:{hideCreate:!1,createNotifications:0,topMenuItems:4,bottomMenuItems:4,firstItemIcon:"add_box",firstItemLabel:"Menu",firstItemNotifications:0,firstItemSelected:!1,firstItemDisabled:!1,showNestedMenu:!1},render:e=>s` -
    - - - - - - - - - - - ${e.showNestedMenu?s` - - - - - - `:null} - - ${Array.from({length:e.topMenuItems-1},()=>s` - - `)} - - - ${Array.from({length:e.bottomMenuItems-1},()=>s` - - `)} - - ${e.showNestedMenu?s` - - - - - - `:null} - - - -
    - `},t={tags:["!dev"],render:()=>s` - - `},n={tags:["!dev"],render:()=>s` - - `},m={tags:["!dev"],render:()=>s` - - `},d={tags:["!dev"],render:()=>s` - - `};var a,o,u;i.parameters={...i.parameters,docs:{...(a=i.parameters)==null?void 0:a.docs,source:{originalSource:`{ - args: { - hideCreate: false, - createNotifications: 0, - topMenuItems: 4, - bottomMenuItems: 4, - firstItemIcon: 'add_box', - firstItemLabel: 'Menu', - firstItemNotifications: 0, - firstItemSelected: false, - firstItemDisabled: false, - showNestedMenu: false - }, - render: (args: any) => { - return html\` -
    - - - - - - - - - - - \${args.showNestedMenu ? html\` - - - - - - \` : null} - - \${Array.from({ - length: args.topMenuItems - 1 - }, () => html\` - - \`)} - - - \${Array.from({ - length: args.bottomMenuItems - 1 - }, () => html\` - - \`)} - - \${args.showNestedMenu ? html\` - - - - - - \` : null} - - - -
    - \`; - } -}`,...(u=(o=i.parameters)==null?void 0:o.docs)==null?void 0:u.source}}};var l,c,r;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(r=(c=t.parameters)==null?void 0:c.docs)==null?void 0:r.source}}};var b,f,p;n.parameters={...n.parameters,docs:{...(b=n.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(p=(f=n.parameters)==null?void 0:f.docs)==null?void 0:p.source}}};var M,I,h;m.parameters={...m.parameters,docs:{...(M=m.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(h=(I=m.parameters)==null?void 0:I.docs)==null?void 0:h.source}}};var N,A,P;d.parameters={...d.parameters,docs:{...(N=d.parameters)==null?void 0:N.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(P=(A=d.parameters)==null?void 0:A.docs)==null?void 0:P.source}}};const g=["Playground","ByDefault","Expanded","ListItemOptions","NestedMenu"],x=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:t,Expanded:n,ListItemOptions:m,NestedMenu:d,Playground:i,__namedExportsOrder:g,default:$},Symbol.toStringTag,{value:"Module"}));export{t as B,n as E,m as L,d as N,i as P,x as S}; diff --git a/rc/assets/skeleton.doc-BkB3ZhZ_.js b/rc/assets/skeleton.doc-BkB3ZhZ_.js deleted file mode 100644 index ce9a47a..0000000 --- a/rc/assets/skeleton.doc-BkB3ZhZ_.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as d,P as c}from"./skeleton.stories-D0wtjzOU.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .w-100{ - width: 100%; - } - .w-80{ - width: 80%; - } - .w-75{ - width: 75%; - } - `}),` -`,e.jsx(i,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Skeleton és un marcador de posició visual de baixa fidelitat que representa -la càrrega dels elements de la interfície abans que es mostrin a la pàgina.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-skeleton"}),` com a classe del container. Per a cada -una de les línies, hi ha que afegir la classe `,e.jsx(s.strong,{children:"dss-skeleton__item"}),"."]}),` -`,e.jsxs(s.p,{children:["Té un ",e.jsx(s.code,{children:"margin-top: 16px;"}),` entre els items, i es pot canviar la amplaria inline -si es vol vore diferent.`]}),` -`,e.jsx(o,{code:` -
    - - - -
    `}),` -`,e.jsx(s.p,{children:"També es pot canviar la amplaria amb classes: si es vol vore diferent."}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Aquestes classes ",e.jsx(s.code,{children:"w-(100 | 80 | 75)"}),` están creades per a aquest -exemple en storybook, no hi estan al Design System.`]})}),` -`,e.jsx(l,{of:c})]})}function w(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{w as default}; diff --git a/rc/assets/skeleton.doc-ByunKBIF.js b/rc/assets/skeleton.doc-ByunKBIF.js deleted file mode 100644 index be7ae68..0000000 --- a/rc/assets/skeleton.doc-ByunKBIF.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import{S as d,P as c}from"./skeleton.stories-BG0Q1Tzv.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .w-100{ - width: 100%; - } - .w-80{ - width: 80%; - } - .w-75{ - width: 75%; - } - `}),` -`,e.jsx(i,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Skeleton és un marcador de posició visual de baixa fidelitat que representa -la càrrega dels elements de la interfície abans que es mostrin a la pàgina.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-skeleton"}),` com a classe del container. Per a cada -una de les línies, hi ha que afegir la classe `,e.jsx(s.strong,{children:"dss-skeleton__item"}),"."]}),` -`,e.jsxs(s.p,{children:["Té un ",e.jsx(s.code,{children:"margin-top: 16px;"}),` entre els items, i es pot canviar la amplaria inline -si es vol vore diferent.`]}),` -`,e.jsx(o,{code:` -
    - - - -
    `}),` -`,e.jsx(s.p,{children:"També es pot canviar la amplaria amb classes: si es vol vore diferent."}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Aquestes classes ",e.jsx(s.code,{children:"w-(100 | 80 | 75)"}),` están creades per a aquest -exemple en storybook, no hi estan al Design System.`]})}),` -`,e.jsx(l,{of:c})]})}function w(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{w as default}; diff --git a/rc/assets/skeleton.doc-D9dZP3su.js b/rc/assets/skeleton.doc-D9dZP3su.js deleted file mode 100644 index 650e067..0000000 --- a/rc/assets/skeleton.doc-D9dZP3su.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import{S as d,P as c}from"./skeleton.stories-BG0Q1Tzv.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .w-100{ - width: 100%; - } - .w-80{ - width: 80%; - } - .w-75{ - width: 75%; - } - `}),` -`,e.jsx(i,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Skeleton és un marcador de posició visual de baixa fidelitat que representa -la càrrega dels elements de la interfície abans que es mostrin a la pàgina.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-skeleton"}),` com a classe del container. Per a cada -una de les línies, hi ha que afegir la classe `,e.jsx(s.strong,{children:"dss-skeleton__item"}),"."]}),` -`,e.jsxs(s.p,{children:["Té un ",e.jsx(s.code,{children:"margin-top: 16px;"}),` entre els items, i es pot canviar la amplaria inline -si es vol vore diferent.`]}),` -`,e.jsx(o,{code:` -
    - - - -
    `}),` -`,e.jsx(s.p,{children:"També es pot canviar la amplaria amb classes: si es vol vore diferent."}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Aquestes classes ",e.jsx(s.code,{children:"w-(100 | 80 | 75)"}),` están creades per a aquest -exemple en storybook, no hi estan al Design System.`]})}),` -`,e.jsx(l,{of:c})]})}function w(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{w as default}; diff --git a/rc/assets/skeleton.doc-BsFBqs_W.js b/rc/assets/skeleton.doc-Dr7lETXB.js similarity index 88% rename from rc/assets/skeleton.doc-BsFBqs_W.js rename to rc/assets/skeleton.doc-Dr7lETXB.js index 48aee00..ae6e6e1 100644 --- a/rc/assets/skeleton.doc-BsFBqs_W.js +++ b/rc/assets/skeleton.doc-Dr7lETXB.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import{S as d,P as c}from"./skeleton.stories-BG0Q1Tzv.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import{S as d,P as c}from"./skeleton.stories-BG0Q1Tzv.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .w-100{ width: 100%; } diff --git a/rc/assets/skeleton.doc-uX09Tz3R.js b/rc/assets/skeleton.doc-uX09Tz3R.js deleted file mode 100644 index 2283f5a..0000000 --- a/rc/assets/skeleton.doc-uX09Tz3R.js +++ /dev/null @@ -1,29 +0,0 @@ -import{ae as e,af as i,ag as r,ak as o,ah as l}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as d,P as c}from"./skeleton.stories-D0wtjzOU.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(n){const s={code:"code",em:"em",p:"p",strong:"strong",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .w-100{ - width: 100%; - } - .w-80{ - width: 80%; - } - .w-75{ - width: 75%; - } - `}),` -`,e.jsx(i,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Skeleton és un marcador de posició visual de baixa fidelitat que representa -la càrrega dels elements de la interfície abans que es mostrin a la pàgina.`}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-skeleton"}),` com a classe del container. Per a cada -una de les línies, hi ha que afegir la classe `,e.jsx(s.strong,{children:"dss-skeleton__item"}),"."]}),` -`,e.jsxs(s.p,{children:["Té un ",e.jsx(s.code,{children:"margin-top: 16px;"}),` entre els items, i es pot canviar la amplaria inline -si es vol vore diferent.`]}),` -`,e.jsx(o,{code:` -
    - - - -
    `}),` -`,e.jsx(s.p,{children:"També es pot canviar la amplaria amb classes: si es vol vore diferent."}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Aquestes classes ",e.jsx(s.code,{children:"w-(100 | 80 | 75)"}),` están creades per a aquest -exemple en storybook, no hi estan al Design System.`]})}),` -`,e.jsx(l,{of:c})]})}function w(n={}){const{wrapper:s}={...a(),...n.components};return s?e.jsx(s,{...n,children:e.jsx(t,{...n})}):t(n)}export{w as default}; diff --git a/rc/assets/skeleton.stories-D0wtjzOU.js b/rc/assets/skeleton.stories-D0wtjzOU.js deleted file mode 100644 index 18d0cc8..0000000 --- a/rc/assets/skeleton.stories-D0wtjzOU.js +++ /dev/null @@ -1,18 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const r={title:"Components/Skeleton",argTypes:{},parameters:{layout:"centered"}},s={tags:["!dev"],render:()=>a` -
    - - - -
    - `};var e,n,t;s.parameters={...s.parameters,docs:{...(e=s.parameters)==null?void 0:e.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(t=(n=s.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};const o=["Playground"],d=Object.freeze(Object.defineProperty({__proto__:null,Playground:s,__namedExportsOrder:o,default:r},Symbol.toStringTag,{value:"Module"}));export{s as P,d as S}; diff --git a/rc/assets/slider.doc-BhxhGsx5.js b/rc/assets/slider.doc-BhxhGsx5.js deleted file mode 100644 index 8365b89..0000000 --- a/rc/assets/slider.doc-BhxhGsx5.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-DdExkrtG.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .container-slider{ - min-height: 200px; - display: flex; - align-items: center; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-slider",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Sliders permeten als usuaris fer seleccions entre una sèrie de valors."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.p,{children:`Utilitzarem el component dss-slider que per defecte s'adaptarà al 100% de l'ample del contenidor, -per tant, si volem un ample específic caldrà assignar-li l'estil necessari al contenidor.`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Input Range'"}),e.jsx(n.td,{children:"Label requerit en l'àmbit d'accessibilitat per a identificar l'input"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"min"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Valor mínim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"max"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor màxim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor inicial del slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"step"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Valor amb el qual el slider augmentarà o disminuirà en desplaçar-se. El valor del step ha de ser un número, divisor del màxim i del valor per defecte que es posa, si no, no funcionarà correctament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"orient"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'horizontal'"}),e.jsx(n.td,{children:"Orientació del slider, podrà ser: horitzontal o vertical"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Opció per a deshabilitar el component."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onDssSliderValueChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input després de fer clic o lliscar el slider."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#orientacio",children:"Orientació"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#pasos",children:"Pasos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabillitat",children:"Deshabil·litat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"orientació",children:"Orientació"}),` -`,e.jsxs(n.p,{children:["Les opcions son: ",e.jsx(n.strong,{children:"vertical"})," | ",e.jsx(n.strong,{children:"horizontal"})]}),` -`,e.jsx("h5",{children:"Horizontal"}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h5",{children:"Vertical"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-slider"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"pasos",children:"Pasos"}),` -`,e.jsxs(n.p,{children:["Es recomana utilizar ",e.jsx(n.code,{children:'step="1"'}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"}),` El valor del step te que ser números divisors del màxim y del valor -per defecte que es pose, si no no funcionarà correctament.`]})}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"deshabillitat",children:"Deshabil·litat"}),` -`,e.jsx(r,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function O(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{O as default}; diff --git a/rc/assets/slider.doc-Cb8jq2jx.js b/rc/assets/slider.doc-Cb8jq2jx.js deleted file mode 100644 index 8c6e938..0000000 --- a/rc/assets/slider.doc-Cb8jq2jx.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-D6Dcn4_G.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .container-slider{ - min-height: 200px; - display: flex; - align-items: center; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-slider",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Sliders permeten als usuaris fer seleccions entre una sèrie de valors."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.p,{children:`Utilitzarem el component dss-slider que per defecte s'adaptarà al 100% de l'ample del contenidor, -per tant, si volem un ample específic caldrà assignar-li l'estil necessari al contenidor.`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Input Range'"}),e.jsx(n.td,{children:"Label requerit en l'àmbit d'accessibilitat per a identificar l'input"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"min"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Valor mínim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"max"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor màxim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor inicial del slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"step"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Valor amb el qual el slider augmentarà o disminuirà en desplaçar-se. El valor del step ha de ser un número, divisor del màxim i del valor per defecte que es posa, si no, no funcionarà correctament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"orient"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'horizontal'"}),e.jsx(n.td,{children:"Orientació del slider, podrà ser: horitzontal o vertical"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Opció per a deshabilitar el component."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onDssSliderValueChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input després de fer clic o lliscar el slider."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#orientacio",children:"Orientació"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#pasos",children:"Pasos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabillitat",children:"Deshabil·litat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"orientació",children:"Orientació"}),` -`,e.jsxs(n.p,{children:["Les opcions son: ",e.jsx(n.strong,{children:"vertical"})," | ",e.jsx(n.strong,{children:"horizontal"})]}),` -`,e.jsx("h5",{children:"Horizontal"}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h5",{children:"Vertical"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-slider"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"pasos",children:"Pasos"}),` -`,e.jsxs(n.p,{children:["Es recomana utilizar ",e.jsx(n.code,{children:'step="1"'}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"}),` El valor del step te que ser números divisors del màxim y del valor -per defecte que es pose, si no no funcionarà correctament.`]})}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"deshabillitat",children:"Deshabil·litat"}),` -`,e.jsx(r,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function O(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{O as default}; diff --git a/rc/assets/slider.doc-BYED_OBQ.js b/rc/assets/slider.doc-DS3aMvIT.js similarity index 97% rename from rc/assets/slider.doc-BYED_OBQ.js rename to rc/assets/slider.doc-DS3aMvIT.js index 1b4c9fb..3c45b1a 100644 --- a/rc/assets/slider.doc-BYED_OBQ.js +++ b/rc/assets/slider.doc-DS3aMvIT.js @@ -1,4 +1,4 @@ -import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-D6Dcn4_G.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-D6Dcn4_G.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/slider.doc-_q2SxjE1.js b/rc/assets/slider.doc-_q2SxjE1.js deleted file mode 100644 index 78dbc98..0000000 --- a/rc/assets/slider.doc-_q2SxjE1.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-D6Dcn4_G.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .container-slider{ - min-height: 200px; - display: flex; - align-items: center; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-slider",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Sliders permeten als usuaris fer seleccions entre una sèrie de valors."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.p,{children:`Utilitzarem el component dss-slider que per defecte s'adaptarà al 100% de l'ample del contenidor, -per tant, si volem un ample específic caldrà assignar-li l'estil necessari al contenidor.`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Input Range'"}),e.jsx(n.td,{children:"Label requerit en l'àmbit d'accessibilitat per a identificar l'input"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"min"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Valor mínim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"max"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor màxim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor inicial del slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"step"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Valor amb el qual el slider augmentarà o disminuirà en desplaçar-se. El valor del step ha de ser un número, divisor del màxim i del valor per defecte que es posa, si no, no funcionarà correctament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"orient"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'horizontal'"}),e.jsx(n.td,{children:"Orientació del slider, podrà ser: horitzontal o vertical"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Opció per a deshabilitar el component."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onDssSliderValueChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input després de fer clic o lliscar el slider."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#orientacio",children:"Orientació"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#pasos",children:"Pasos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabillitat",children:"Deshabil·litat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"orientació",children:"Orientació"}),` -`,e.jsxs(n.p,{children:["Les opcions son: ",e.jsx(n.strong,{children:"vertical"})," | ",e.jsx(n.strong,{children:"horizontal"})]}),` -`,e.jsx("h5",{children:"Horizontal"}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h5",{children:"Vertical"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-slider"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"pasos",children:"Pasos"}),` -`,e.jsxs(n.p,{children:["Es recomana utilizar ",e.jsx(n.code,{children:'step="1"'}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"}),` El valor del step te que ser números divisors del màxim y del valor -per defecte que es pose, si no no funcionarà correctament.`]})}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"deshabillitat",children:"Deshabil·litat"}),` -`,e.jsx(r,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function O(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{O as default}; diff --git a/rc/assets/slider.doc-xSdnIcXK.js b/rc/assets/slider.doc-xSdnIcXK.js deleted file mode 100644 index a8e8194..0000000 --- a/rc/assets/slider.doc-xSdnIcXK.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as t,ag as l,ah as r,ai as c}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as a,P as h,H as o,V as x,a as j,D as p}from"./slider.stories-DdExkrtG.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .container-slider{ - min-height: 200px; - display: flex; - align-items: center; - } - `}),` -`,e.jsx(t,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-slider",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Els Sliders permeten als usuaris fer seleccions entre una sèrie de valors."}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.p,{children:`Utilitzarem el component dss-slider que per defecte s'adaptarà al 100% de l'ample del contenidor, -per tant, si volem un ample específic caldrà assignar-li l'estil necessari al contenidor.`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'Input Range'"}),e.jsx(n.td,{children:"Label requerit en l'àmbit d'accessibilitat per a identificar l'input"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"min"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"0"}),e.jsx(n.td,{children:"Valor mínim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"max"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor màxim que pot prendre el slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"value"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Valor inicial del slider"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"step"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"number"}),e.jsx(n.td,{children:"1"}),e.jsx(n.td,{children:"Valor amb el qual el slider augmentarà o disminuirà en desplaçar-se. El valor del step ha de ser un número, divisor del màxim i del valor per defecte que es posa, si no, no funcionarà correctament."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"orient"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"'horizontal'"}),e.jsx(n.td,{children:"Orientació del slider, podrà ser: horitzontal o vertical"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Opció per a deshabilitar el component."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onDssSliderValueChange"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment que retorna el valor de l'input després de fer clic o lliscar el slider."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#orientacio",children:"Orientació"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#pasos",children:"Pasos"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabillitat",children:"Deshabil·litat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"orientació",children:"Orientació"}),` -`,e.jsxs(n.p,{children:["Les opcions son: ",e.jsx(n.strong,{children:"vertical"})," | ",e.jsx(n.strong,{children:"horizontal"})]}),` -`,e.jsx("h5",{children:"Horizontal"}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h5",{children:"Vertical"}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El div amb la classe ",e.jsx(n.strong,{children:"container-slider"}),` es només per a mostrar-ho -amb un mínim de altura a la documentació. `,e.jsx(n.strong,{children:`No es te que fer servir fora de la -pàgina de documentació.`})]})}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(n.h3,{id:"pasos",children:"Pasos"}),` -`,e.jsxs(n.p,{children:["Es recomana utilizar ",e.jsx(n.code,{children:'step="1"'}),"."]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"}),` El valor del step te que ser números divisors del màxim y del valor -per defecte que es pose, si no no funcionarà correctament.`]})}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(n.h3,{id:"deshabillitat",children:"Deshabil·litat"}),` -`,e.jsx(r,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function O(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{O as default}; diff --git a/rc/assets/slider.stories-DdExkrtG.js b/rc/assets/slider.stories-DdExkrtG.js deleted file mode 100644 index ab0ccd0..0000000 --- a/rc/assets/slider.stories-DdExkrtG.js +++ /dev/null @@ -1,99 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as i}from"./lit-html-paDGiEfB.js";const $={title:"Components/Slider",argTypes:{min:{name:"Min.",control:{type:"number",min:0}},max:{name:"Màx.",control:{type:"number",min:0}},step:{name:"Pasos",control:{type:"number",min:0}},value:{name:"Valor",control:{type:"number",min:0}},orientation:{name:"Orientació",control:{type:"radio"},options:["vertical","horizontal"]},disabled:{name:"Deshabil·litar",control:{type:"boolean"}}},parameters:{layout:"centered"}},r={render:e=>i` -
    - -
    - `,args:{min:0,max:100,value:50,step:1,orientation:"horizontal",disabled:!1}},n={tags:["!dev"],render:()=>i` -
    - -
    - `},s={tags:["!dev"],render:()=>i` -
    - -
    - `},a={tags:["!dev"],render:()=>i` -
    -
    - -
    - -
    - -
    -
    - `},t={tags:["!dev"],render:()=>i` -
    - -
    - `};var o,d,l;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ - render: args => { - return html\` -
    - -
    - \`; - }, - args: { - min: 0, - max: 100, - value: 50, - step: 1, - orientation: 'horizontal', - disabled: false - } -}`,...(l=(d=r.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};var c,m,p;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(p=(m=n.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var v,u,g;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(g=(u=s.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var x,b,h;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - -
    - -
    - -
    -
    - \`; - } -}`,...(h=(b=a.parameters)==null?void 0:b.docs)==null?void 0:h.source}}};var z,y,S;t.parameters={...t.parameters,docs:{...(z=t.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(S=(y=t.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};const _=["Playground","Horizontal","Vertical","Steps","Disabled"],D=Object.freeze(Object.defineProperty({__proto__:null,Disabled:t,Horizontal:n,Playground:r,Steps:a,Vertical:s,__namedExportsOrder:_,default:$},Symbol.toStringTag,{value:"Module"}));export{t as D,n as H,r as P,D as S,s as V,a}; diff --git a/rc/assets/spacing.doc-BfeZvYQz.js b/rc/assets/spacing.doc-BfeZvYQz.js deleted file mode 100644 index b237832..0000000 --- a/rc/assets/spacing.doc-BfeZvYQz.js +++ /dev/null @@ -1,48 +0,0 @@ -import{ae as s,af as x}from"./index-CcF9BsMG.js";import{u as n}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .box { - width: 0; - height: 20px; - border-radius: var(--dss-radius-xs); - background-color: var(--color-primary-300); - } - .tiny { - width: var(--dss-spacing-tiny); - } - .xxs { - width: var(--dss-spacing-xxs); - } - .xs { - width: var(--dss-spacing-xs); - } - .sm { - width: var(--dss-spacing-sm); - } - .md { - width: var(--dss-spacing-md); - } - .lg { - width: var(--dss-spacing-lg); - } - .xl { - width: var(--dss-spacing-xl); - } - .xxl { - width: var(--dss-spacing-xxl); - } - .hg { - width: var(--dss-spacing-hg); - } - .xhg { - width: var(--dss-spacing-xhg); - } - .xxhg { - width: var(--dss-spacing-xxhg); - } - `}),` -`,s.jsx(x,{title:"Foundations/Spacing",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"spacing",children:"Spacing"}),` -`,s.jsx(d.p,{children:"Per definir l'espai dels components amb relació a la mateixa interfície o altres components s'han d'utilitzar les variables CSS definides a continuació."}),` -`,s.jsxs(d.p,{children:[s.jsx(d.strong,{children:"Exemple CSS"}),": ",s.jsx(d.code,{children:"padding: var(--dss-spacing-xs);"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"spacing-sizes",children:"Spacing sizes"}),` -`,s.jsxs(d.table,{children:[s.jsx(d.thead,{children:s.jsxs(d.tr,{children:[s.jsx(d.th,{children:"Nom"}),s.jsx(d.th,{children:"px"}),s.jsx(d.th,{children:"rem"}),s.jsx(d.th,{children:"Exemple"})]})}),s.jsxs(d.tbody,{children:[s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-tiny"})}),s.jsx(d.td,{children:"2px"}),s.jsx(d.td,{children:"0.125rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box tiny"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxs"})}),s.jsx(d.td,{children:"4px"}),s.jsx(d.td,{children:"0.25rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xs"})}),s.jsx(d.td,{children:"8px"}),s.jsx(d.td,{children:"0.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-sm"})}),s.jsx(d.td,{children:"12px"}),s.jsx(d.td,{children:"0.75rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box sm"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-md"})}),s.jsx(d.td,{children:"16px"}),s.jsx(d.td,{children:"1rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box md"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-lg"})}),s.jsx(d.td,{children:"24px"}),s.jsx(d.td,{children:"1.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box lg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xl"})}),s.jsx(d.td,{children:"32px"}),s.jsx(d.td,{children:"2rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxl"})}),s.jsx(d.td,{children:"40px"}),s.jsx(d.td,{children:"2.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-hg"})}),s.jsx(d.td,{children:"48px"}),s.jsx(d.td,{children:"3rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box hg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xhg"})}),s.jsx(d.td,{children:"64px"}),s.jsx(d.td,{children:"4rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xhg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxhg"})}),s.jsx(d.td,{children:"80px"}),s.jsx(d.td,{children:"5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxhg"})})]})]})]})]})}function p(i={}){const{wrapper:d}={...n(),...i.components};return d?s.jsx(d,{...i,children:s.jsx(r,{...i})}):r(i)}export{p as default}; diff --git a/rc/assets/spacing.doc-BuNoR_EU.js b/rc/assets/spacing.doc-BuNoR_EU.js deleted file mode 100644 index c2b469e..0000000 --- a/rc/assets/spacing.doc-BuNoR_EU.js +++ /dev/null @@ -1,48 +0,0 @@ -import{ae as s,af as x}from"./index-D51CeFyD.js";import{u as n}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .box { - width: 0; - height: 20px; - border-radius: var(--dss-radius-xs); - background-color: var(--color-primary-300); - } - .tiny { - width: var(--dss-spacing-tiny); - } - .xxs { - width: var(--dss-spacing-xxs); - } - .xs { - width: var(--dss-spacing-xs); - } - .sm { - width: var(--dss-spacing-sm); - } - .md { - width: var(--dss-spacing-md); - } - .lg { - width: var(--dss-spacing-lg); - } - .xl { - width: var(--dss-spacing-xl); - } - .xxl { - width: var(--dss-spacing-xxl); - } - .hg { - width: var(--dss-spacing-hg); - } - .xhg { - width: var(--dss-spacing-xhg); - } - .xxhg { - width: var(--dss-spacing-xxhg); - } - `}),` -`,s.jsx(x,{title:"Foundations/Spacing",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"spacing",children:"Spacing"}),` -`,s.jsx(d.p,{children:"Per definir l'espai dels components amb relació a la mateixa interfície o altres components s'han d'utilitzar les variables CSS definides a continuació."}),` -`,s.jsxs(d.p,{children:[s.jsx(d.strong,{children:"Exemple CSS"}),": ",s.jsx(d.code,{children:"padding: var(--dss-spacing-xs);"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"spacing-sizes",children:"Spacing sizes"}),` -`,s.jsxs(d.table,{children:[s.jsx(d.thead,{children:s.jsxs(d.tr,{children:[s.jsx(d.th,{children:"Nom"}),s.jsx(d.th,{children:"px"}),s.jsx(d.th,{children:"rem"}),s.jsx(d.th,{children:"Exemple"})]})}),s.jsxs(d.tbody,{children:[s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-tiny"})}),s.jsx(d.td,{children:"2px"}),s.jsx(d.td,{children:"0.125rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box tiny"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxs"})}),s.jsx(d.td,{children:"4px"}),s.jsx(d.td,{children:"0.25rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xs"})}),s.jsx(d.td,{children:"8px"}),s.jsx(d.td,{children:"0.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-sm"})}),s.jsx(d.td,{children:"12px"}),s.jsx(d.td,{children:"0.75rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box sm"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-md"})}),s.jsx(d.td,{children:"16px"}),s.jsx(d.td,{children:"1rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box md"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-lg"})}),s.jsx(d.td,{children:"24px"}),s.jsx(d.td,{children:"1.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box lg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xl"})}),s.jsx(d.td,{children:"32px"}),s.jsx(d.td,{children:"2rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxl"})}),s.jsx(d.td,{children:"40px"}),s.jsx(d.td,{children:"2.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-hg"})}),s.jsx(d.td,{children:"48px"}),s.jsx(d.td,{children:"3rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box hg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xhg"})}),s.jsx(d.td,{children:"64px"}),s.jsx(d.td,{children:"4rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xhg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxhg"})}),s.jsx(d.td,{children:"80px"}),s.jsx(d.td,{children:"5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxhg"})})]})]})]})]})}function p(i={}){const{wrapper:d}={...n(),...i.components};return d?s.jsx(d,{...i,children:s.jsx(r,{...i})}):r(i)}export{p as default}; diff --git a/rc/assets/spacing.doc-BIdRgbe_.js b/rc/assets/spacing.doc-DU83uqiN.js similarity index 95% rename from rc/assets/spacing.doc-BIdRgbe_.js rename to rc/assets/spacing.doc-DU83uqiN.js index 6036b0f..a0a35ec 100644 --- a/rc/assets/spacing.doc-BIdRgbe_.js +++ b/rc/assets/spacing.doc-DU83uqiN.js @@ -1,4 +1,4 @@ -import{ae as s,af as x}from"./index-0DKGoewk.js";import{u as n}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` +import{ae as s,af as x}from"./index-CMvVeEhu.js";import{u as n}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` .box { width: 0; height: 20px; diff --git a/rc/assets/spacing.doc-Deev40ge.js b/rc/assets/spacing.doc-Deev40ge.js deleted file mode 100644 index 7b1c493..0000000 --- a/rc/assets/spacing.doc-Deev40ge.js +++ /dev/null @@ -1,48 +0,0 @@ -import{ae as s,af as x}from"./index-CQXi_Y6g.js";import{u as n}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .box { - width: 0; - height: 20px; - border-radius: var(--dss-radius-xs); - background-color: var(--color-primary-300); - } - .tiny { - width: var(--dss-spacing-tiny); - } - .xxs { - width: var(--dss-spacing-xxs); - } - .xs { - width: var(--dss-spacing-xs); - } - .sm { - width: var(--dss-spacing-sm); - } - .md { - width: var(--dss-spacing-md); - } - .lg { - width: var(--dss-spacing-lg); - } - .xl { - width: var(--dss-spacing-xl); - } - .xxl { - width: var(--dss-spacing-xxl); - } - .hg { - width: var(--dss-spacing-hg); - } - .xhg { - width: var(--dss-spacing-xhg); - } - .xxhg { - width: var(--dss-spacing-xxhg); - } - `}),` -`,s.jsx(x,{title:"Foundations/Spacing",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"spacing",children:"Spacing"}),` -`,s.jsx(d.p,{children:"Per definir l'espai dels components amb relació a la mateixa interfície o altres components s'han d'utilitzar les variables CSS definides a continuació."}),` -`,s.jsxs(d.p,{children:[s.jsx(d.strong,{children:"Exemple CSS"}),": ",s.jsx(d.code,{children:"padding: var(--dss-spacing-xs);"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"spacing-sizes",children:"Spacing sizes"}),` -`,s.jsxs(d.table,{children:[s.jsx(d.thead,{children:s.jsxs(d.tr,{children:[s.jsx(d.th,{children:"Nom"}),s.jsx(d.th,{children:"px"}),s.jsx(d.th,{children:"rem"}),s.jsx(d.th,{children:"Exemple"})]})}),s.jsxs(d.tbody,{children:[s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-tiny"})}),s.jsx(d.td,{children:"2px"}),s.jsx(d.td,{children:"0.125rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box tiny"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxs"})}),s.jsx(d.td,{children:"4px"}),s.jsx(d.td,{children:"0.25rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xs"})}),s.jsx(d.td,{children:"8px"}),s.jsx(d.td,{children:"0.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-sm"})}),s.jsx(d.td,{children:"12px"}),s.jsx(d.td,{children:"0.75rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box sm"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-md"})}),s.jsx(d.td,{children:"16px"}),s.jsx(d.td,{children:"1rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box md"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-lg"})}),s.jsx(d.td,{children:"24px"}),s.jsx(d.td,{children:"1.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box lg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xl"})}),s.jsx(d.td,{children:"32px"}),s.jsx(d.td,{children:"2rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxl"})}),s.jsx(d.td,{children:"40px"}),s.jsx(d.td,{children:"2.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-hg"})}),s.jsx(d.td,{children:"48px"}),s.jsx(d.td,{children:"3rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box hg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xhg"})}),s.jsx(d.td,{children:"64px"}),s.jsx(d.td,{children:"4rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xhg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxhg"})}),s.jsx(d.td,{children:"80px"}),s.jsx(d.td,{children:"5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxhg"})})]})]})]})]})}function p(i={}){const{wrapper:d}={...n(),...i.components};return d?s.jsx(d,{...i,children:s.jsx(r,{...i})}):r(i)}export{p as default}; diff --git a/rc/assets/spacing.doc-DflSxc9b.js b/rc/assets/spacing.doc-DflSxc9b.js deleted file mode 100644 index aed75b6..0000000 --- a/rc/assets/spacing.doc-DflSxc9b.js +++ /dev/null @@ -1,48 +0,0 @@ -import{ae as s,af as x}from"./index-Dxx82nxn.js";import{u as n}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(i){const d={code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .box { - width: 0; - height: 20px; - border-radius: var(--dss-radius-xs); - background-color: var(--color-primary-300); - } - .tiny { - width: var(--dss-spacing-tiny); - } - .xxs { - width: var(--dss-spacing-xxs); - } - .xs { - width: var(--dss-spacing-xs); - } - .sm { - width: var(--dss-spacing-sm); - } - .md { - width: var(--dss-spacing-md); - } - .lg { - width: var(--dss-spacing-lg); - } - .xl { - width: var(--dss-spacing-xl); - } - .xxl { - width: var(--dss-spacing-xxl); - } - .hg { - width: var(--dss-spacing-hg); - } - .xhg { - width: var(--dss-spacing-xhg); - } - .xxhg { - width: var(--dss-spacing-xxhg); - } - `}),` -`,s.jsx(x,{title:"Foundations/Spacing",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(d.h1,{id:"spacing",children:"Spacing"}),` -`,s.jsx(d.p,{children:"Per definir l'espai dels components amb relació a la mateixa interfície o altres components s'han d'utilitzar les variables CSS definides a continuació."}),` -`,s.jsxs(d.p,{children:[s.jsx(d.strong,{children:"Exemple CSS"}),": ",s.jsx(d.code,{children:"padding: var(--dss-spacing-xs);"})]}),` -`,s.jsx("br",{}),` -`,s.jsx(d.h2,{id:"spacing-sizes",children:"Spacing sizes"}),` -`,s.jsxs(d.table,{children:[s.jsx(d.thead,{children:s.jsxs(d.tr,{children:[s.jsx(d.th,{children:"Nom"}),s.jsx(d.th,{children:"px"}),s.jsx(d.th,{children:"rem"}),s.jsx(d.th,{children:"Exemple"})]})}),s.jsxs(d.tbody,{children:[s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-tiny"})}),s.jsx(d.td,{children:"2px"}),s.jsx(d.td,{children:"0.125rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box tiny"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxs"})}),s.jsx(d.td,{children:"4px"}),s.jsx(d.td,{children:"0.25rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xs"})}),s.jsx(d.td,{children:"8px"}),s.jsx(d.td,{children:"0.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xs"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-sm"})}),s.jsx(d.td,{children:"12px"}),s.jsx(d.td,{children:"0.75rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box sm"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-md"})}),s.jsx(d.td,{children:"16px"}),s.jsx(d.td,{children:"1rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box md"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-lg"})}),s.jsx(d.td,{children:"24px"}),s.jsx(d.td,{children:"1.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box lg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xl"})}),s.jsx(d.td,{children:"32px"}),s.jsx(d.td,{children:"2rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxl"})}),s.jsx(d.td,{children:"40px"}),s.jsx(d.td,{children:"2.5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxl"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-hg"})}),s.jsx(d.td,{children:"48px"}),s.jsx(d.td,{children:"3rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box hg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xhg"})}),s.jsx(d.td,{children:"64px"}),s.jsx(d.td,{children:"4rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xhg"})})]}),s.jsxs(d.tr,{children:[s.jsx(d.td,{children:s.jsx(d.strong,{children:"--dss-spacing-xxhg"})}),s.jsx(d.td,{children:"80px"}),s.jsx(d.td,{children:"5rem"}),s.jsx(d.td,{children:s.jsx("div",{class:"box xxhg"})})]})]})]})]})}function p(i={}){const{wrapper:d}={...n(),...i.components};return d?s.jsx(d,{...i,children:s.jsx(r,{...i})}):r(i)}export{p as default}; diff --git a/rc/assets/spinner.doc-Bcrkwqfn.js b/rc/assets/spinner.doc-CJM2yx_C.js similarity index 90% rename from rc/assets/spinner.doc-Bcrkwqfn.js rename to rc/assets/spinner.doc-CJM2yx_C.js index c94d9f9..377e802 100644 --- a/rc/assets/spinner.doc-Bcrkwqfn.js +++ b/rc/assets/spinner.doc-CJM2yx_C.js @@ -1,4 +1,4 @@ -import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import{S as c,E as d,a as x}from"./spinner.stories-n-DIw-Kr.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import{S as c,E as d,a as x}from"./spinner.stories-n-DIw-Kr.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/spinner.doc-CmSBQzMl.js b/rc/assets/spinner.doc-CmSBQzMl.js deleted file mode 100644 index 8d3a131..0000000 --- a/rc/assets/spinner.doc-CmSBQzMl.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import{S as c,E as d,a as x}from"./spinner.stories-n-DIw-Kr.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 50px; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-spinner",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Spinner és un contorn d'un cercle que s'anima al seu voltant indicant a -l'usuari que quelcom s'està processant. Es mostra un Spinner quan no se sap -quant de temps trigarà una tasca.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(l,{}),` -`,e.jsx("h3",{children:"Mides"}),` -`,e.jsx(n.p,{children:"Hi ha tres mides de spinner el petit, el mitjà i el gran:"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function v(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/spinner.doc-DMNeKUiN.js b/rc/assets/spinner.doc-DMNeKUiN.js deleted file mode 100644 index a47d9e7..0000000 --- a/rc/assets/spinner.doc-DMNeKUiN.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as c,E as d,a as x}from"./spinner.stories-PG2FfI9V.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 50px; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-spinner",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Spinner és un contorn d'un cercle que s'anima al seu voltant indicant a -l'usuari que quelcom s'està processant. Es mostra un Spinner quan no se sap -quant de temps trigarà una tasca.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(l,{}),` -`,e.jsx("h3",{children:"Mides"}),` -`,e.jsx(n.p,{children:"Hi ha tres mides de spinner el petit, el mitjà i el gran:"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function v(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/spinner.doc-DeWkZqVz.js b/rc/assets/spinner.doc-DeWkZqVz.js deleted file mode 100644 index 16b6507..0000000 --- a/rc/assets/spinner.doc-DeWkZqVz.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import{S as c,E as d,a as x}from"./spinner.stories-n-DIw-Kr.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 50px; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-spinner",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Spinner és un contorn d'un cercle que s'anima al seu voltant indicant a -l'usuari que quelcom s'està processant. Es mostra un Spinner quan no se sap -quant de temps trigarà una tasca.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(l,{}),` -`,e.jsx("h3",{children:"Mides"}),` -`,e.jsx(n.p,{children:"Hi ha tres mides de spinner el petit, el mitjà i el gran:"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function v(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/spinner.doc-DvZvunFN.js b/rc/assets/spinner.doc-DvZvunFN.js deleted file mode 100644 index 7113d7b..0000000 --- a/rc/assets/spinner.doc-DvZvunFN.js +++ /dev/null @@ -1,24 +0,0 @@ -import{ae as e,af as i,ag as o,ah as t,ai as l}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as c,E as d,a as x}from"./spinner.stories-PG2FfI9V.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(s){const n={blockquote:"blockquote",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...a(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 50px; - } - `}),` -`,e.jsx(i,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-spinner",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Un Spinner és un contorn d'un cercle que s'anima al seu voltant indicant a -l'usuari que quelcom s'està processant. Es mostra un Spinner quan no se sap -quant de temps trigarà una tasca.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(l,{}),` -`,e.jsx("h3",{children:"Mides"}),` -`,e.jsx(n.p,{children:"Hi ha tres mides de spinner el petit, el mitjà i el gran:"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsx(n.tbody,{children:e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]})})]})]})}function v(s={}){const{wrapper:n}={...a(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{v as default}; diff --git a/rc/assets/spinner.stories-PG2FfI9V.js b/rc/assets/spinner.stories-PG2FfI9V.js deleted file mode 100644 index f514379..0000000 --- a/rc/assets/spinner.stories-PG2FfI9V.js +++ /dev/null @@ -1,26 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const m={title:"Components/Spinner",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]}},parameters:{layout:"centered"}},s={render:o=>t``,name:"Exemple",args:{size:"md"}},e={tags:["!dev"],render:()=>t` -
    - - - -
    - `};var r,n,i;s.parameters={...s.parameters,docs:{...(r=s.parameters)==null?void 0:r.docs,source:{originalSource:`{ - render: args => { - return html\`\`; - }, - name: 'Exemple', - args: { - size: 'md' - } -}`,...(i=(n=s.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var a,d,p;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(p=(d=e.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};const c=["Exemple","Size"],z=Object.freeze(Object.defineProperty({__proto__:null,Exemple:s,Size:e,__namedExportsOrder:c,default:m},Symbol.toStringTag,{value:"Module"}));export{s as E,z as S,e as a}; diff --git a/rc/assets/split-button.doc-BUfGhVVB.js b/rc/assets/split-button.doc-BUfGhVVB.js deleted file mode 100644 index 0868591..0000000 --- a/rc/assets/split-button.doc-BUfGhVVB.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as l,ah as t,ai as c}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as u}from"./split-button.stories-ow_bGe84.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-split-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Split Button està compost per dos botons individuals, això ens permet executar dues accions diferents a l'interaccionar amb cadascun d'ells. -La lògica implementada només inclous la interacció amb els botons i els elements mostrats dins del component, per tant, l'acció que desencadena ha de controlar-se fora del component utilitzant els esdeveniments generats per cada botó.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconClose"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_more"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconOpen"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_less"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada quan el component està actiu."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"primary"}),e.jsx(n.td,{children:"Tipus d'estil dels botons del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el slot=menu, que permet afegir un action-menu que apareixerà a manera de desplegable quan l'usuari faci clic en el botó de tipus icona."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonMainClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonIconClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó de tipus icona del component."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#actiu",children:"Actiu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu",children:"Amb menú"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(n.p,{children:"lg (default) / md / sm"}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Primary / Secondary"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"actiu",children:"Actiu"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h3,{id:"amb-menú",children:"Amb menú"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat la posició del desplegable per millorar-ne la visibilitat en totes les mides del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"S'ha afegit la funcionalitat per mostrar un desplegable amb un action-menu en fer clic al botó de tipus icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"Nou component que ofereix l'opció d'executar dues accions des d'un mateix element visual."})]})]})]})]})}function M(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/split-button.doc-Bz4o778O.js b/rc/assets/split-button.doc-Bz4o778O.js deleted file mode 100644 index c2cbff0..0000000 --- a/rc/assets/split-button.doc-Bz4o778O.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as l,ah as t,ai as c}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as u}from"./split-button.stories-CAV-ol94.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-split-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Split Button està compost per dos botons individuals, això ens permet executar dues accions diferents a l'interaccionar amb cadascun d'ells. -La lògica implementada només inclous la interacció amb els botons i els elements mostrats dins del component, per tant, l'acció que desencadena ha de controlar-se fora del component utilitzant els esdeveniments generats per cada botó.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconClose"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_more"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconOpen"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_less"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada quan el component està actiu."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"primary"}),e.jsx(n.td,{children:"Tipus d'estil dels botons del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el slot=menu, que permet afegir un action-menu que apareixerà a manera de desplegable quan l'usuari faci clic en el botó de tipus icona."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonMainClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonIconClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó de tipus icona del component."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#actiu",children:"Actiu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu",children:"Amb menú"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(n.p,{children:"lg (default) / md / sm"}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Primary / Secondary"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"actiu",children:"Actiu"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h3,{id:"amb-menú",children:"Amb menú"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat la posició del desplegable per millorar-ne la visibilitat en totes les mides del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"S'ha afegit la funcionalitat per mostrar un desplegable amb un action-menu en fer clic al botó de tipus icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"Nou component que ofereix l'opció d'executar dues accions des d'un mateix element visual."})]})]})]})]})}function M(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/split-button.doc-CFIEZ7bf.js b/rc/assets/split-button.doc-CFIEZ7bf.js deleted file mode 100644 index f5e5491..0000000 --- a/rc/assets/split-button.doc-CFIEZ7bf.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as l,ah as t,ai as c}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as u}from"./split-button.stories-CAV-ol94.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-split-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Split Button està compost per dos botons individuals, això ens permet executar dues accions diferents a l'interaccionar amb cadascun d'ells. -La lògica implementada només inclous la interacció amb els botons i els elements mostrats dins del component, per tant, l'acció que desencadena ha de controlar-se fora del component utilitzant els esdeveniments generats per cada botó.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconClose"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_more"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconOpen"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_less"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada quan el component està actiu."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"primary"}),e.jsx(n.td,{children:"Tipus d'estil dels botons del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el slot=menu, que permet afegir un action-menu que apareixerà a manera de desplegable quan l'usuari faci clic en el botó de tipus icona."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonMainClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonIconClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó de tipus icona del component."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#actiu",children:"Actiu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu",children:"Amb menú"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(n.p,{children:"lg (default) / md / sm"}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Primary / Secondary"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"actiu",children:"Actiu"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h3,{id:"amb-menú",children:"Amb menú"}),` -`,e.jsx(t,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat la posició del desplegable per millorar-ne la visibilitat en totes les mides del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"S'ha afegit la funcionalitat per mostrar un desplegable amb un action-menu en fer clic al botó de tipus icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"Nou component que ofereix l'opció d'executar dues accions des d'un mateix element visual."})]})]})]})]})}function M(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(i,{...s})}):i(s)}export{M as default}; diff --git a/rc/assets/split-button.doc-5FCIMY7P.js b/rc/assets/split-button.doc-REKBnnzF.js similarity index 97% rename from rc/assets/split-button.doc-5FCIMY7P.js rename to rc/assets/split-button.doc-REKBnnzF.js index 0161a7c..c1d7535 100644 --- a/rc/assets/split-button.doc-5FCIMY7P.js +++ b/rc/assets/split-button.doc-REKBnnzF.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as l,ah as t,ai as c}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as u}from"./split-button.stories-CAV-ol94.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as l,ah as t,ai as c}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as u}from"./split-button.stories-CAV-ol94.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .css-1sqhzee { display:none } diff --git a/rc/assets/split-button.doc-bWtMpJ2K.js b/rc/assets/split-button.doc-bWtMpJ2K.js deleted file mode 100644 index d0241db..0000000 --- a/rc/assets/split-button.doc-bWtMpJ2K.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as l,ah as s,ai as c}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import{S as a,P as h,a as o,T as x,A as j,D as p,M as m}from"./split-button.stories-Cw6VWHJ2.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(t){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .css-1sqhzee { - display:none - } - - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - - .wrapper { - min-height: 200px; - width: 100%; - display: flex; - justify-content: center; - align-items: flex-start; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-split-button",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Split Button està compost per dos botons individuals, això ens permet executar dues accions diferents a l'interaccionar amb cadascun d'ells. -La lògica implementada només inclous la interacció amb els botons i els elements mostrats dins del component, per tant, l'acció que desencadena ha de controlar-se fora del component utilitzant els esdeveniments generats per cada botó.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconClose"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_more"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"iconOpen"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"expand_less"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada quan el component està actiu."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostrarà sota del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"primary"}),e.jsx(n.td,{children:"Tipus d'estil dels botons del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna al component l’estat deshabilitat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasMenu"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita el slot=menu, que permet afegir un action-menu que apareixerà a manera de desplegable quan l'usuari faci clic en el botó de tipus icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dropdownPosition"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Permet modificar la posició del desplegable per a l'action menu. Pot ser: 'bottom-right', 'bottom-left', 'top-right', 'top-left'."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonMainClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó principal del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onSplitButtonIconClick"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment executat en fer clic en el botó de tipus icona del component."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#actiu",children:"Actiu"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-menu",children:"Amb menú"})}),` -`]}),` -`,e.jsx(n.h3,{id:"mida",children:"Mida"}),` -`,e.jsx(n.p,{children:"lg (default) / md / sm"}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.p,{children:"Primary / Secondary"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h3,{id:"actiu",children:"Actiu"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx(n.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx(n.h3,{id:"amb-menú",children:"Amb menú"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat la posició del desplegable per millorar-ne la visibilitat en totes les mides del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.2"})}),e.jsx(n.td,{children:"S'ha afegit la funcionalitat per mostrar un desplegable amb un action-menu en fer clic al botó de tipus icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"Nou component que ofereix l'opció d'executar dues accions des d'un mateix element visual."})]})]})]})]})}function M(t={}){const{wrapper:n}={...d(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(i,{...t})}):i(t)}export{M as default}; diff --git a/rc/assets/split-button.stories-Cw6VWHJ2.js b/rc/assets/split-button.stories-Cw6VWHJ2.js deleted file mode 100644 index 7d2cb69..0000000 --- a/rc/assets/split-button.stories-Cw6VWHJ2.js +++ /dev/null @@ -1,123 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const P={title:"Components/Split Button",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["lg","md","sm"]},type:{name:"Tipus",control:{type:"radio"},options:["primary","secondary"]},text:{name:"Text",control:{type:"text"}},iconClose:{name:"Icon per defecte",control:{type:"text"}},iconOpen:{name:"Icon actiú",control:{type:"text"}},isOpen:{name:"Actiú",control:{type:"boolean"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},hasMenu:{name:"Habilitar menú",control:{type:"boolean"}},dropdownPosition:{name:"Posición del menú",control:{type:"select"},options:["bottom-right","bottom-left","top-right","top-left"],if:{arg:"hasMenu"}}},parameters:{layout:"centered"}},n={args:{size:"lg",type:"primary",text:"Button",iconClose:"expand_more",iconOpen:"expand_less",isOpen:!1,disabled:!1,hasMenu:!1,dropdownPosition:"bottom-right"},render:t=>e` - - ${t.hasMenu?e` - - - - - - `:null} - - `},s={tags:["!dev"],render:()=>e` - - - - `},o={tags:["!dev"],render:()=>e` - - - `},i={tags:["!dev"],render:()=>e` - - - `},r={tags:["!dev"],render:()=>e` - - - `},a={tags:["!dev"],render:()=>e` - - - - - - - - `};var d,p,u;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'lg', - type: 'primary', - text: 'Button', - iconClose: 'expand_more', - iconOpen: 'expand_less', - isOpen: false, - disabled: false, - hasMenu: false, - dropdownPosition: 'bottom-right' - }, - render: (args: any) => { - return html\` - - \${args.hasMenu ? html\` - - - - - - \` : null} - - \`; - } -}`,...(u=(p=n.parameters)==null?void 0:p.docs)==null?void 0:u.source}}};var l,m,c;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(c=(m=s.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};var b,y,x;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(x=(y=o.parameters)==null?void 0:y.docs)==null?void 0:x.source}}};var g,h,B;i.parameters={...i.parameters,docs:{...(g=i.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(B=(h=i.parameters)==null?void 0:h.docs)==null?void 0:B.source}}};var O,$,M;r.parameters={...r.parameters,docs:{...(O=r.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(M=($=r.parameters)==null?void 0:$.docs)==null?void 0:M.source}}};var z,A,f;a.parameters={...a.parameters,docs:{...(z=a.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - \`; - } -}`,...(f=(A=a.parameters)==null?void 0:A.docs)==null?void 0:f.source}}};const v=["Playground","Sizes","Types","Active","Disabled","Menu"],_=Object.freeze(Object.defineProperty({__proto__:null,Active:i,Disabled:r,Menu:a,Playground:n,Sizes:s,Types:o,__namedExportsOrder:v,default:P},Symbol.toStringTag,{value:"Module"}));export{i as A,r as D,a as M,n as P,_ as S,o as T,s as a}; diff --git a/rc/assets/split-button.stories-ow_bGe84.js b/rc/assets/split-button.stories-ow_bGe84.js deleted file mode 100644 index 6ad06a6..0000000 --- a/rc/assets/split-button.stories-ow_bGe84.js +++ /dev/null @@ -1,121 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const S={title:"Components/Split Button",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["lg","md","sm"]},type:{name:"Tipus",control:{type:"radio"},options:["primary","secondary"]},text:{name:"Text",control:{type:"text"}},iconClose:{name:"Icon per defecte",control:{type:"text"}},iconOpen:{name:"Icon actiú",control:{type:"text"}},isOpen:{name:"Actiú",control:{type:"boolean"}},disabled:{name:"Deshabilitat",control:{type:"boolean"}},hasMenu:{name:"Habilitar menú",control:{type:"boolean"}},dropdownPosition:{name:"Posición del menú",control:{type:"select"},options:["bottom-start","bottom-end","top-start","top-end"],if:{arg:"hasMenu"}}},parameters:{layout:"centered"}},n={args:{size:"lg",type:"primary",text:"Button",iconClose:"expand_more",iconOpen:"expand_less",isOpen:!1,disabled:!1,hasMenu:!1,dropdownPosition:"bottom-right"},render:t=>e` - - ${t.hasMenu?e` - - - - - - `:null} - - `},s={tags:["!dev"],render:()=>e` - - - - `},o={tags:["!dev"],render:()=>e` - - - `},i={tags:["!dev"],render:()=>e` - - - `},a={tags:["!dev"],render:()=>e` - - - `},r={tags:["!dev"],render:()=>e` - - - - - - - - `};var d,p,u;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ - args: { - size: 'lg', - type: 'primary', - text: 'Button', - iconClose: 'expand_more', - iconOpen: 'expand_less', - isOpen: false, - disabled: false, - hasMenu: false, - dropdownPosition: 'bottom-right' - }, - render: (args: any) => { - return html\` - - \${args.hasMenu ? html\` - - - - - - \` : null} - - \`; - } -}`,...(u=(p=n.parameters)==null?void 0:p.docs)==null?void 0:u.source}}};var m,l,c;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - \`; - } -}`,...(c=(l=s.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var b,y,x;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(x=(y=o.parameters)==null?void 0:y.docs)==null?void 0:x.source}}};var g,B,h;i.parameters={...i.parameters,docs:{...(g=i.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(h=(B=i.parameters)==null?void 0:B.docs)==null?void 0:h.source}}};var O,$,M;a.parameters={...a.parameters,docs:{...(O=a.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(M=($=a.parameters)==null?void 0:$.docs)==null?void 0:M.source}}};var z,A,v;r.parameters={...r.parameters,docs:{...(z=r.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - \`; - } -}`,...(v=(A=r.parameters)==null?void 0:A.docs)==null?void 0:v.source}}};const f=["Playground","Sizes","Types","Active","Disabled","Menu"],P=Object.freeze(Object.defineProperty({__proto__:null,Active:i,Disabled:a,Menu:r,Playground:n,Sizes:s,Types:o,__namedExportsOrder:f,default:S},Symbol.toStringTag,{value:"Module"}));export{i as A,a as D,r as M,n as P,P as S,o as T,s as a}; diff --git a/rc/assets/static-DLZyqU8Z.js b/rc/assets/static-DLZyqU8Z.js deleted file mode 100644 index 7b9dce0..0000000 --- a/rc/assets/static-DLZyqU8Z.js +++ /dev/null @@ -1,6 +0,0 @@ -import{x as S}from"./lit-html-paDGiEfB.js";/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const u=Symbol.for(""),d=t=>{if((t==null?void 0:t.r)===u)return t==null?void 0:t._$litStatic$},m=t=>({_$litStatic$:t,r:u}),v=(t,...i)=>({_$litStatic$:i.reduce((a,o,l)=>a+(r=>{if(r._$litStatic$!==void 0)return r._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${r}. Use 'unsafeStatic' to pass non-literal values, but - take care to ensure page security.`)})(o)+t[l+1],t[0]),r:u}),p=new Map,h=t=>(i,...a)=>{const o=a.length;let l,r;const s=[],$=[];let n,e=0,c=!1;for(;e`}),` -`,e.jsx("h3",{children:"Stepper vertical"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper vertical hem d'indicar la propietat ",e.jsx(s.strong,{children:"column"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper circular"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper circular hem d'indicar la propietat ",e.jsx(s.strong,{children:"circular"}),`, no cal -indicar el `,e.jsx(s.strong,{children:"size"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Ocultar Labels"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper amb els labels ocutls hem d'indicar la propietat -`,e.jsx(s.strong,{children:"hideLabel"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-stepper-circular",children:"Circular"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-horizontal",children:"Horizontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-vertical",children:"Vertical"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-sense-labels",children:"Sense labels"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-amb-estats",children:"Amb estats"})}),` -`]}),` -`,e.jsx(s.h3,{id:"exemple-stepper-circular",children:"Exemple stepper circular"}),` -`,e.jsx(s.p,{children:`En aquesta variant, els passos del procés es mostren en cercles o radis, -disposats al voltant d'un cercle central. Aquesta opció és adequada per als -dissenys que volen destacar un element central o per als processos que es -desenvolupen en cercles o fases.`}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"exemples-stepper-horitzontal",children:"Exemples stepper horitzontal"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia horitzontal. És una opció -adequada per a les pantalles més amples.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"exemples-stepper-vertical",children:"Exemples stepper vertical"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia vertica. És més adequat per a -dispositius mòbils i pantalles o contenidors estrets.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"stepper-sense-labels",children:"Stepper sense Labels"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"stepper-amb-estats",children:"Stepper amb estats"}),` -`,e.jsx(s.p,{children:"Els estils propis de cada estat només apareixeran quan l'step no coincideixi amb el currentStep. El currentStep sempre mantindrà el mateix estil amb fons blau i text blanc."}),` -`,e.jsx("h5",{children:"Stepper amb estats: checked"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("h5",{children:"Stepper amb estats: info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Stepper amb estats: alert"}),` -`,e.jsx(n,{of:N}),` -`,e.jsx("h5",{children:"Stepper amb estats: error"}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:"Stepper amb estats: disabled"}),` -`,e.jsx(n,{of:y})]})}function A(r={}){const{wrapper:s}={...l(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/stepper.doc-C_6hcrGD.js b/rc/assets/stepper.doc-C_6hcrGD.js deleted file mode 100644 index 3108636..0000000 --- a/rc/assets/stepper.doc-C_6hcrGD.js +++ /dev/null @@ -1,157 +0,0 @@ -import{ae as e,af as a,ag as d,ah as n,ai as c,ak as t}from"./index-CcF9BsMG.js";import{u as l}from"./index-BlEr_OIe.js";import{S as p,P as o,C as h,H as x,a as j,b as m,V as u,c as b,d as f,e as g,f as S,g as q,I as v,A as N,E as z,D as y}from"./stepper.stories-BUZiSfMj.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .horizontal-wrapper { - width: 500px; - margin: 0 50px; - } - - .vertical-wrapper { - height: 200px; - } - - .vertical-wrapper--md { - height: 300px; - } - - .vertical-wrapper--lg { - height: 400px; - } - `}),` -`,e.jsx(a,{of:p}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-stepper",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Stepper és un component que es fa servir per permetre als usuaris veure el -punt en el qual es troben en un procés específic. Aquest component és útil per -als usuaris que necessiten completar múltiples passos o etapes per aconseguir -un objectiu determinat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"IMPORTANT:"}),` S'ha refactoritzat el component perquè pugui ajustar-se a l'ample o alt del seu contenidor dinàmicament. -L'stepper horitzontal serà mes senzill de controlar, ja que els divs solen ajustar-se al width 100% disponible. Quan utilitzi l'stepper vertical, -asseguri's que el seu contenidor té un height definit (pot ser fixa usant píxels o dinàmica, per exemple amb display grid). -Si no es defineix l'alçada, el component s'ajustarà a la mida i marges per defecte.`]}),` -`]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"steps"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"IStepper[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Objecte que conté la informació relacionada amb cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentStep"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Defineix el pas actual que es mostra per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format de columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"circular"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format circular."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Oculta les etiquetes dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"md"}),e.jsx(s.td,{children:"Defineix la mida del component."})]})]})]}),` -`,e.jsx(s.h3,{id:"istepper",children:"IStepper"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra a sota de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada a la bombolla dins de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modificarà el color per a informar que alguna cosa passa durant l'últim pas. Podria ser: '",e.jsx(s.strong,{children:"checked"}),"', '",e.jsx(s.strong,{children:"info"}),"', '",e.jsx(s.strong,{children:"alert"}),"', o '",e.jsx(s.strong,{children:"error"}),"'"]})]})]})]}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onStepClick"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Esdeveniment que retorna el nombre del step clicat i totes les dades del mateix. ",e.jsx(s.code,{children:"event.detail: { step, stepNumber }"})]})]})})]}),` -`,e.jsx(s.h2,{id:"creació",children:"Creació"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper hem de fer servir la següent estructura. La propietat -`,e.jsx(s.strong,{children:"steps"})," és un array d'objectes format per un ",e.jsx(s.strong,{children:"label"}),` com a dada -obligatòria i el `,e.jsx(s.strong,{children:"icon"})," com a dada opcional. La propietat ",e.jsx(s.strong,{children:"size"}),` ha de -venir indicada per `,e.jsx(s.strong,{children:"sm, md, lg"}),`, per defecte si no indiquem el size serà -`,e.jsx(s.strong,{children:"md"}),". La propietat ",e.jsx(s.strong,{children:"currentStep"}),` ens indica la posició en què ens trobem, -per defecte és 1.`]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper vertical"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper vertical hem d'indicar la propietat ",e.jsx(s.strong,{children:"column"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper circular"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper circular hem d'indicar la propietat ",e.jsx(s.strong,{children:"circular"}),`, no cal -indicar el `,e.jsx(s.strong,{children:"size"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Ocultar Labels"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper amb els labels ocutls hem d'indicar la propietat -`,e.jsx(s.strong,{children:"hideLabel"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-stepper-circular",children:"Circular"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-horizontal",children:"Horizontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-vertical",children:"Vertical"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-sense-labels",children:"Sense labels"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-amb-estats",children:"Amb estats"})}),` -`]}),` -`,e.jsx(s.h3,{id:"exemple-stepper-circular",children:"Exemple stepper circular"}),` -`,e.jsx(s.p,{children:`En aquesta variant, els passos del procés es mostren en cercles o radis, -disposats al voltant d'un cercle central. Aquesta opció és adequada per als -dissenys que volen destacar un element central o per als processos que es -desenvolupen en cercles o fases.`}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"exemples-stepper-horitzontal",children:"Exemples stepper horitzontal"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia horitzontal. És una opció -adequada per a les pantalles més amples.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"exemples-stepper-vertical",children:"Exemples stepper vertical"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia vertica. És més adequat per a -dispositius mòbils i pantalles o contenidors estrets.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"stepper-sense-labels",children:"Stepper sense Labels"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"stepper-amb-estats",children:"Stepper amb estats"}),` -`,e.jsx(s.p,{children:"Els estils propis de cada estat només apareixeran quan l'step no coincideixi amb el currentStep. El currentStep sempre mantindrà el mateix estil amb fons blau i text blanc."}),` -`,e.jsx("h5",{children:"Stepper amb estats: checked"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("h5",{children:"Stepper amb estats: info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Stepper amb estats: alert"}),` -`,e.jsx(n,{of:N}),` -`,e.jsx("h5",{children:"Stepper amb estats: error"}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:"Stepper amb estats: disabled"}),` -`,e.jsx(n,{of:y})]})}function A(r={}){const{wrapper:s}={...l(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/stepper.doc-BQUJuMfe.js b/rc/assets/stepper.doc-DMIqt6Fd.js similarity index 98% rename from rc/assets/stepper.doc-BQUJuMfe.js rename to rc/assets/stepper.doc-DMIqt6Fd.js index 0c0d869..c9cef55 100644 --- a/rc/assets/stepper.doc-BQUJuMfe.js +++ b/rc/assets/stepper.doc-DMIqt6Fd.js @@ -1,4 +1,4 @@ -import{ae as e,af as a,ag as d,ah as n,ai as c,ak as t}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as p,P as o,C as h,H as x,a as j,b as m,V as u,c as b,d as f,e as g,f as S,g as q,I as v,A as N,E as z,D as y}from"./stepper.stories-BUF2AEYz.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as a,ag as d,ah as n,ai as c,ak as t}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as p,P as o,C as h,H as x,a as j,b as m,V as u,c as b,d as f,e as g,f as S,g as q,I as v,A as N,E as z,D as y}from"./stepper.stories-BUF2AEYz.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/stepper.doc-DjxQ3dR1.js b/rc/assets/stepper.doc-DjxQ3dR1.js deleted file mode 100644 index 74de262..0000000 --- a/rc/assets/stepper.doc-DjxQ3dR1.js +++ /dev/null @@ -1,157 +0,0 @@ -import{ae as e,af as a,ag as d,ah as n,ai as c,ak as t}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as p,P as o,C as h,H as x,a as j,b as m,V as u,c as b,d as f,e as g,f as S,g as q,I as v,A as N,E as z,D as y}from"./stepper.stories-BUF2AEYz.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .horizontal-wrapper { - width: 500px; - margin: 0 50px; - } - - .vertical-wrapper { - height: 200px; - } - - .vertical-wrapper--md { - height: 300px; - } - - .vertical-wrapper--lg { - height: 400px; - } - `}),` -`,e.jsx(a,{of:p}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-stepper",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Stepper és un component que es fa servir per permetre als usuaris veure el -punt en el qual es troben en un procés específic. Aquest component és útil per -als usuaris que necessiten completar múltiples passos o etapes per aconseguir -un objectiu determinat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"IMPORTANT:"}),` S'ha refactoritzat el component perquè pugui ajustar-se a l'ample o alt del seu contenidor dinàmicament. -L'stepper horitzontal serà mes senzill de controlar, ja que els divs solen ajustar-se al width 100% disponible. Quan utilitzi l'stepper vertical, -asseguri's que el seu contenidor té un height definit (pot ser fixa usant píxels o dinàmica, per exemple amb display grid). -Si no es defineix l'alçada, el component s'ajustarà a la mida i marges per defecte.`]}),` -`]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"steps"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"IStepper[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Objecte que conté la informació relacionada amb cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentStep"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Defineix el pas actual que es mostra per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format de columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"circular"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format circular."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Oculta les etiquetes dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"md"}),e.jsx(s.td,{children:"Defineix la mida del component."})]})]})]}),` -`,e.jsx(s.h3,{id:"istepper",children:"IStepper"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra a sota de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada a la bombolla dins de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modificarà el color per a informar que alguna cosa passa durant l'últim pas. Podria ser: '",e.jsx(s.strong,{children:"checked"}),"', '",e.jsx(s.strong,{children:"info"}),"', '",e.jsx(s.strong,{children:"alert"}),"', o '",e.jsx(s.strong,{children:"error"}),"'"]})]})]})]}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onStepClick"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Esdeveniment que retorna el nombre del step clicat i totes les dades del mateix. ",e.jsx(s.code,{children:"event.detail: { step, stepNumber }"})]})]})})]}),` -`,e.jsx(s.h2,{id:"creació",children:"Creació"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper hem de fer servir la següent estructura. La propietat -`,e.jsx(s.strong,{children:"steps"})," és un array d'objectes format per un ",e.jsx(s.strong,{children:"label"}),` com a dada -obligatòria i el `,e.jsx(s.strong,{children:"icon"})," com a dada opcional. La propietat ",e.jsx(s.strong,{children:"size"}),` ha de -venir indicada per `,e.jsx(s.strong,{children:"sm, md, lg"}),`, per defecte si no indiquem el size serà -`,e.jsx(s.strong,{children:"md"}),". La propietat ",e.jsx(s.strong,{children:"currentStep"}),` ens indica la posició en què ens trobem, -per defecte és 1.`]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper vertical"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper vertical hem d'indicar la propietat ",e.jsx(s.strong,{children:"column"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper circular"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper circular hem d'indicar la propietat ",e.jsx(s.strong,{children:"circular"}),`, no cal -indicar el `,e.jsx(s.strong,{children:"size"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Ocultar Labels"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper amb els labels ocutls hem d'indicar la propietat -`,e.jsx(s.strong,{children:"hideLabel"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-stepper-circular",children:"Circular"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-horizontal",children:"Horizontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-vertical",children:"Vertical"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-sense-labels",children:"Sense labels"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-amb-estats",children:"Amb estats"})}),` -`]}),` -`,e.jsx(s.h3,{id:"exemple-stepper-circular",children:"Exemple stepper circular"}),` -`,e.jsx(s.p,{children:`En aquesta variant, els passos del procés es mostren en cercles o radis, -disposats al voltant d'un cercle central. Aquesta opció és adequada per als -dissenys que volen destacar un element central o per als processos que es -desenvolupen en cercles o fases.`}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"exemples-stepper-horitzontal",children:"Exemples stepper horitzontal"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia horitzontal. És una opció -adequada per a les pantalles més amples.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"exemples-stepper-vertical",children:"Exemples stepper vertical"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia vertica. És més adequat per a -dispositius mòbils i pantalles o contenidors estrets.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"stepper-sense-labels",children:"Stepper sense Labels"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"stepper-amb-estats",children:"Stepper amb estats"}),` -`,e.jsx(s.p,{children:"Els estils propis de cada estat només apareixeran quan l'step no coincideixi amb el currentStep. El currentStep sempre mantindrà el mateix estil amb fons blau i text blanc."}),` -`,e.jsx("h5",{children:"Stepper amb estats: checked"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("h5",{children:"Stepper amb estats: info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Stepper amb estats: alert"}),` -`,e.jsx(n,{of:N}),` -`,e.jsx("h5",{children:"Stepper amb estats: error"}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:"Stepper amb estats: disabled"}),` -`,e.jsx(n,{of:y})]})}function A(r={}){const{wrapper:s}={...l(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/stepper.doc-g32A6qPa.js b/rc/assets/stepper.doc-g32A6qPa.js deleted file mode 100644 index 8e01754..0000000 --- a/rc/assets/stepper.doc-g32A6qPa.js +++ /dev/null @@ -1,157 +0,0 @@ -import{ae as e,af as a,ag as d,ah as n,ai as c,ak as t}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as p,P as o,C as h,H as x,a as j,b as m,V as u,c as b,d as f,e as g,f as S,g as q,I as v,A as N,E as z,D as y}from"./stepper.stories-BUF2AEYz.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - .horizontal-wrapper { - width: 500px; - margin: 0 50px; - } - - .vertical-wrapper { - height: 200px; - } - - .vertical-wrapper--md { - height: 300px; - } - - .vertical-wrapper--lg { - height: 400px; - } - `}),` -`,e.jsx(a,{of:p}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-stepper",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Un Stepper és un component que es fa servir per permetre als usuaris veure el -punt en el qual es troben en un procés específic. Aquest component és útil per -als usuaris que necessiten completar múltiples passos o etapes per aconseguir -un objectiu determinat.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:[e.jsx(s.strong,{children:"IMPORTANT:"}),` S'ha refactoritzat el component perquè pugui ajustar-se a l'ample o alt del seu contenidor dinàmicament. -L'stepper horitzontal serà mes senzill de controlar, ja que els divs solen ajustar-se al width 100% disponible. Quan utilitzi l'stepper vertical, -asseguri's que el seu contenidor té un height definit (pot ser fixa usant píxels o dinàmica, per exemple amb display grid). -Si no es defineix l'alçada, el component s'ajustarà a la mida i marges per defecte.`]}),` -`]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"steps"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"IStepper[]"}),e.jsx(s.td,{children:"[]"}),e.jsx(s.td,{children:"Objecte que conté la informació relacionada amb cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"currentStep"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Defineix el pas actual que es mostra per defecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"column"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format de columna."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"circular"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Mostra el component amb el format circular."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Oculta les etiquetes dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"size"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"md"}),e.jsx(s.td,{children:"Defineix la mida del component."})]})]})]}),` -`,e.jsx(s.h3,{id:"istepper",children:"IStepper"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"label"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text que es mostra a sota de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"icon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Icona mostrada a la bombolla dins de cada pas."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Modificarà el color per a informar que alguna cosa passa durant l'últim pas. Podria ser: '",e.jsx(s.strong,{children:"checked"}),"', '",e.jsx(s.strong,{children:"info"}),"', '",e.jsx(s.strong,{children:"alert"}),"', o '",e.jsx(s.strong,{children:"error"}),"'"]})]})]})]}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onStepClick"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsxs(s.td,{children:["Esdeveniment que retorna el nombre del step clicat i totes les dades del mateix. ",e.jsx(s.code,{children:"event.detail: { step, stepNumber }"})]})]})})]}),` -`,e.jsx(s.h2,{id:"creació",children:"Creació"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper hem de fer servir la següent estructura. La propietat -`,e.jsx(s.strong,{children:"steps"})," és un array d'objectes format per un ",e.jsx(s.strong,{children:"label"}),` com a dada -obligatòria i el `,e.jsx(s.strong,{children:"icon"})," com a dada opcional. La propietat ",e.jsx(s.strong,{children:"size"}),` ha de -venir indicada per `,e.jsx(s.strong,{children:"sm, md, lg"}),`, per defecte si no indiquem el size serà -`,e.jsx(s.strong,{children:"md"}),". La propietat ",e.jsx(s.strong,{children:"currentStep"}),` ens indica la posició en què ens trobem, -per defecte és 1.`]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper vertical"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper vertical hem d'indicar la propietat ",e.jsx(s.strong,{children:"column"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Stepper circular"}),` -`,e.jsxs(s.p,{children:["Per crear un stepper circular hem d'indicar la propietat ",e.jsx(s.strong,{children:"circular"}),`, no cal -indicar el `,e.jsx(s.strong,{children:"size"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("h3",{children:"Ocultar Labels"}),` -`,e.jsxs(s.p,{children:[`Per crear un stepper amb els labels ocutls hem d'indicar la propietat -`,e.jsx(s.strong,{children:"hideLabel"}),"."]}),` -`,e.jsx(t,{code:` -`}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemple-stepper-circular",children:"Circular"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-horizontal",children:"Horizontal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#exemples-stepper-vertical",children:"Vertical"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-sense-labels",children:"Sense labels"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#stepper-amb-estats",children:"Amb estats"})}),` -`]}),` -`,e.jsx(s.h3,{id:"exemple-stepper-circular",children:"Exemple stepper circular"}),` -`,e.jsx(s.p,{children:`En aquesta variant, els passos del procés es mostren en cercles o radis, -disposats al voltant d'un cercle central. Aquesta opció és adequada per als -dissenys que volen destacar un element central o per als processos que es -desenvolupen en cercles o fases.`}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"exemples-stepper-horitzontal",children:"Exemples stepper horitzontal"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia horitzontal. És una opció -adequada per a les pantalles més amples.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"exemples-stepper-vertical",children:"Exemples stepper vertical"}),` -`,e.jsx(s.p,{children:`Aquesta variant del Stepper es disposa en línia vertica. És més adequat per a -dispositius mòbils i pantalles o contenidors estrets.`}),` -`,e.jsx("h5",{children:"Stepper Petit"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Stepper Mitjà"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Stepper Gran"}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(s.h3,{id:"stepper-sense-labels",children:"Stepper sense Labels"}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"stepper-amb-estats",children:"Stepper amb estats"}),` -`,e.jsx(s.p,{children:"Els estils propis de cada estat només apareixeran quan l'step no coincideixi amb el currentStep. El currentStep sempre mantindrà el mateix estil amb fons blau i text blanc."}),` -`,e.jsx("h5",{children:"Stepper amb estats: checked"}),` -`,e.jsx(n,{of:q}),` -`,e.jsx("h5",{children:"Stepper amb estats: info"}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Stepper amb estats: alert"}),` -`,e.jsx(n,{of:N}),` -`,e.jsx("h5",{children:"Stepper amb estats: error"}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:"Stepper amb estats: disabled"}),` -`,e.jsx(n,{of:y})]})}function A(r={}){const{wrapper:s}={...l(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/stepper.stories-BUZiSfMj.js b/rc/assets/stepper.stories-BUZiSfMj.js deleted file mode 100644 index ed3d8f5..0000000 --- a/rc/assets/stepper.stories-BUZiSfMj.js +++ /dev/null @@ -1,768 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as e}from"./lit-html-paDGiEfB.js";const ce={title:"Components/Stepper",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},steps:{name:"Steps",control:{type:"select"},options:[3,4,5]},step:{name:"Step",control:{type:"radio"},options:[1,2,3]},showIcon:{name:"Mostrar icona",control:{type:"boolean"}},hideLabel:{name:"Ocultar Label",control:{type:"boolean"}},column:{name:"Mostrar en vertical",control:{type:"boolean"}},circular:{name:"Mostrar versió circular",control:{type:"boolean"}}},parameters:{layout:"centered"}},s={render:a=>{const x=Array.from({length:a.steps},()=>({label:"Step Name",icon:a.showIcon?"add_box":null}));return a.column?e` -
    - -
    - `:e` -
    - -
    - `},args:{steps:3,size:"md",step:1,showIcon:!1,hideLabel:!1,column:!1,circular:!1}},t={tags:["!dev"],render:()=>e` - - `},r={tags:["!dev"],render:()=>e` -
    - -
    - `},d={tags:["!dev"],render:()=>e` -
    - -
    - `},p={tags:["!dev"],render:()=>e` -
    - -
    - `},l={tags:["!dev"],render:()=>e` -
    - -
    - `},o={tags:["!dev"],render:()=>e` -
    - -
    - `},c={tags:["!dev"],render:()=>e` -
    - -
    - `},i={tags:["!dev"],render:()=>e` -
    - -
    - `},n={tags:["!dev"],render:()=>e` -
    - -
    - `},b={tags:["!dev"],render:()=>e` -
    - -
    - -
    - -
    - -
    - -
    - `},m={tags:["!dev"],render:()=>e` -
    - -
    - -
    - -
    - -
    - -
    - `},S={tags:["!dev"],render:()=>e` -
    - -
    - -
    - -
    - -
    - -
    - `},N={tags:["!dev"],render:()=>e` -
    - -
    - -
    - -
    - -
    - -
    - `},u={tags:["!dev"],render:()=>e` -
    - -
    - -
    - -
    - -
    - -
    - `};var _,v,z;s.parameters={...s.parameters,docs:{...(_=s.parameters)==null?void 0:_.docs,source:{originalSource:`{ - render: (args: any) => { - const steps = Array.from({ - length: args.steps - }, () => { - return { - label: 'Step Name', - icon: args.showIcon ? 'add_box' : null - }; - }); - return args.column ? html\` -
    - -
    - \` : html\` -
    - -
    - \`; - }, - args: { - steps: 3, - size: 'md', - step: 1, - showIcon: false, - hideLabel: false, - column: false, - circular: false - } -}`,...(z=(v=s.parameters)==null?void 0:v.docs)==null?void 0:z.source}}};var h,g,w;t.parameters={...t.parameters,docs:{...(h=t.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(w=(g=t.parameters)==null?void 0:g.docs)==null?void 0:w.source}}};var f,L,$;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...($=(L=r.parameters)==null?void 0:L.docs)==null?void 0:$.source}}};var k,y,M;d.parameters={...d.parameters,docs:{...(k=d.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(M=(y=d.parameters)==null?void 0:y.docs)==null?void 0:M.source}}};var H,V,I;p.parameters={...p.parameters,docs:{...(H=p.parameters)==null?void 0:H.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(I=(V=p.parameters)==null?void 0:V.docs)==null?void 0:I.source}}};var D,C,A;l.parameters={...l.parameters,docs:{...(D=l.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(A=(C=l.parameters)==null?void 0:C.docs)==null?void 0:A.source}}};var E,G,O;o.parameters={...o.parameters,docs:{...(E=o.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(O=(G=o.parameters)==null?void 0:G.docs)==null?void 0:O.source}}};var P,j,T;c.parameters={...c.parameters,docs:{...(P=c.parameters)==null?void 0:P.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(T=(j=c.parameters)==null?void 0:j.docs)==null?void 0:T.source}}};var q,B,F;i.parameters={...i.parameters,docs:{...(q=i.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(F=(B=i.parameters)==null?void 0:B.docs)==null?void 0:F.source}}};var J,K,Q;n.parameters={...n.parameters,docs:{...(J=n.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - \`; - } -}`,...(Q=(K=n.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};var R,U,W;b.parameters={...b.parameters,docs:{...(R=b.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    - -
    - -
    - -
    - \`; - } -}`,...(W=(U=b.parameters)==null?void 0:U.docs)==null?void 0:W.source}}};var X,Y,Z;m.parameters={...m.parameters,docs:{...(X=m.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    - -
    - -
    - -
    - \`; - } -}`,...(Z=(Y=m.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var ee,ae,se;S.parameters={...S.parameters,docs:{...(ee=S.parameters)==null?void 0:ee.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    - -
    - -
    - -
    - \`; - } -}`,...(se=(ae=S.parameters)==null?void 0:ae.docs)==null?void 0:se.source}}};var te,re,de;N.parameters={...N.parameters,docs:{...(te=N.parameters)==null?void 0:te.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    - -
    - -
    - -
    - \`; - } -}`,...(de=(re=N.parameters)==null?void 0:re.docs)==null?void 0:de.source}}};var pe,le,oe;u.parameters={...u.parameters,docs:{...(pe=u.parameters)==null?void 0:pe.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    - -
    - -
    - -
    - \`; - } -}`,...(oe=(le=u.parameters)==null?void 0:le.docs)==null?void 0:oe.source}}};const ie=["Playground","Circle","HorizontalSM","HorizontalMD","HorizontalLG","VerticalSM","VerticalMD","VerticalLG","HorizontalNoLabels","VerticalNoLabels","Checked","Info","Alert","ErrorState","Disabled"],me=Object.freeze(Object.defineProperty({__proto__:null,Alert:S,Checked:b,Circle:t,Disabled:u,ErrorState:N,HorizontalLG:p,HorizontalMD:d,HorizontalNoLabels:i,HorizontalSM:r,Info:m,Playground:s,VerticalLG:c,VerticalMD:o,VerticalNoLabels:n,VerticalSM:l,__namedExportsOrder:ie,default:ce},Symbol.toStringTag,{value:"Module"}));export{S as A,t as C,u as D,N as E,r as H,m as I,s as P,me as S,l as V,d as a,p as b,o as c,c as d,i as e,n as f,b as g}; diff --git a/rc/assets/switch.doc-BRRfhnfm.js b/rc/assets/switch.doc-BRRfhnfm.js deleted file mode 100644 index cbdbdc7..0000000 --- a/rc/assets/switch.doc-BRRfhnfm.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as o,ag as r,ah as s}from"./index-CcF9BsMG.js";import{u as a}from"./index-BlEr_OIe.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-BlPgYOlW.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsxs(t.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.8.2. Per favor, utilitza el component ",e.jsx(t.a,{href:"/docs/components-input-switch--exemple",children:"dss-input-switch"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(t.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:l}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:j})]})}function v(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{v as default}; diff --git a/rc/assets/switch.doc-BX6ArCn5.js b/rc/assets/switch.doc-BX6ArCn5.js deleted file mode 100644 index 3395a3f..0000000 --- a/rc/assets/switch.doc-BX6ArCn5.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as o,ag as r,ah as s}from"./index-0DKGoewk.js";import{u as a}from"./index-FamfD7PC.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-BlPgYOlW.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsxs(t.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.8.2. Per favor, utilitza el component ",e.jsx(t.a,{href:"/docs/components-input-switch--exemple",children:"dss-input-switch"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(t.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:l}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:j})]})}function v(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{v as default}; diff --git a/rc/assets/switch.doc-CAH3FjlH.js b/rc/assets/switch.doc-CAH3FjlH.js deleted file mode 100644 index 69c61e0..0000000 --- a/rc/assets/switch.doc-CAH3FjlH.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as o,ag as r,ah as s}from"./index-CQXi_Y6g.js";import{u as a}from"./index-CkYTJ7Ip.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-D3i4EFIf.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsxs(t.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.8.2. Per favor, utilitza el component ",e.jsx(t.a,{href:"/docs/components-input-switch--exemple",children:"dss-input-switch"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(t.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:l}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:j})]})}function v(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{v as default}; diff --git a/rc/assets/switch.doc-CMjUfzwm.js b/rc/assets/switch.doc-CMjUfzwm.js deleted file mode 100644 index 8692ae3..0000000 --- a/rc/assets/switch.doc-CMjUfzwm.js +++ /dev/null @@ -1,32 +0,0 @@ -import{ae as e,af as o,ag as r,ah as s}from"./index-Dxx82nxn.js";import{u as a}from"./index-w933pGNw.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-D3i4EFIf.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(o,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsxs(t.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.8.2. Per favor, utilitza el component ",e.jsx(t.a,{href:"/docs/components-input-switch--exemple",children:"dss-input-switch"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(t.p,{children:`Un Switch és un control que s'utilitza per canviar ràpidament entre dos estats -possibles. S'utilitzen habitualment per als estats "encès/apagat".`}),` -`,e.jsxs(t.blockquote,{children:[` -`,e.jsx(t.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:l}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:d}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h3",{children:"Switch amb Label"}),` -`,e.jsx("h5",{children:"Switch petit"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Switch mitjà"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Switch gran"}),` -`,e.jsx(s,{of:j})]})}function v(n={}){const{wrapper:t}={...a(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{v as default}; diff --git a/rc/assets/switch.doc-CwkR0ZqP.js b/rc/assets/switch.doc-DECpm8e4.js similarity index 90% rename from rc/assets/switch.doc-CwkR0ZqP.js rename to rc/assets/switch.doc-DECpm8e4.js index ea5f584..3def193 100644 --- a/rc/assets/switch.doc-CwkR0ZqP.js +++ b/rc/assets/switch.doc-DECpm8e4.js @@ -1,4 +1,4 @@ -import{ae as e,af as o,ag as r,ah as s}from"./index-D51CeFyD.js";import{u as a}from"./index-Dvvi2AU9.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-D3i4EFIf.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as o,ag as r,ah as s}from"./index-CMvVeEhu.js";import{u as a}from"./index-C5hQraAl.js";import{S as c,P as l,a as d,b as h,c as x,L as p,d as m,e as j}from"./switch.stories-D3i4EFIf.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function i(n){const t={a:"a",blockquote:"blockquote",p:"p",...a(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/switch.stories-BlPgYOlW.js b/rc/assets/switch.stories-BlPgYOlW.js deleted file mode 100644 index 2fc6785..0000000 --- a/rc/assets/switch.stories-BlPgYOlW.js +++ /dev/null @@ -1,130 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";const $={title:"Discontinued/Switch ⚠️",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["sm","md","lg"]},showLabel:{name:"Mostrar Label",control:{type:"boolean"}},label:{name:"Label",if:{arg:"showLabel"}}},parameters:{layout:"centered"}},e={render:l=>{const P=l.showLabel?l.label:null;return s` - - `},name:"Exemple",args:{size:"md",showLabel:!1,label:"Switch"}},d={tags:["!dev"],render:()=>s` -
    - - - - -
    - `},i={tags:["!dev"],render:()=>s` -
    - - - - -
    - `},c={tags:["!dev"],render:()=>s` -
    - - - - -
    - `},t={tags:["!dev"],render:()=>s` -
    - - - - -
    - `},a={tags:["!dev"],render:()=>s` -
    - - - - -
    - `},r={tags:["!dev"],render:()=>s` -
    - - - - -
    - `};var h,n,w;e.parameters={...e.parameters,docs:{...(h=e.parameters)==null?void 0:h.docs,source:{originalSource:`{ - render: (args: any) => { - const label = args.showLabel ? args.label : null; - return html\` - - \`; - }, - name: 'Exemple', - args: { - size: 'md', - showLabel: false, - label: 'Switch' - } -}`,...(w=(n=e.parameters)==null?void 0:n.docs)==null?void 0:w.source}}};var o,m,b;d.parameters={...d.parameters,docs:{...(o=d.parameters)==null?void 0:o.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(b=(m=d.parameters)==null?void 0:m.docs)==null?void 0:b.source}}};var p,z,S;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(S=(z=i.parameters)==null?void 0:z.docs)==null?void 0:S.source}}};var g,u,v;c.parameters={...c.parameters,docs:{...(g=c.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(v=(u=c.parameters)==null?void 0:u.docs)==null?void 0:v.source}}};var k,L,M;t.parameters={...t.parameters,docs:{...(k=t.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(M=(L=t.parameters)==null?void 0:L.docs)==null?void 0:M.source}}};var y,f,_;a.parameters={...a.parameters,docs:{...(y=a.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(_=(f=a.parameters)==null?void 0:f.docs)==null?void 0:_.source}}};var x,D,G;r.parameters={...r.parameters,docs:{...(x=r.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(G=(D=r.parameters)==null?void 0:D.docs)==null?void 0:G.source}}};const E=["Playground","SizeSM","SizeMD","SizeLG","LabelSM","LabelMD","LabelLG"],T=Object.freeze(Object.defineProperty({__proto__:null,LabelLG:r,LabelMD:a,LabelSM:t,Playground:e,SizeLG:c,SizeMD:i,SizeSM:d,__namedExportsOrder:E,default:$},Symbol.toStringTag,{value:"Module"}));export{t as L,e as P,T as S,d as a,i as b,c,a as d,r as e}; diff --git a/rc/assets/table-css.doc-C0fxZlp5.js b/rc/assets/table-css.doc-C0fxZlp5.js deleted file mode 100644 index e8da297..0000000 --- a/rc/assets/table-css.doc-C0fxZlp5.js +++ /dev/null @@ -1,309 +0,0 @@ -import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-CEsII2zx.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` - .innerZoomElementWrapper { - display: block !important; - width: 800px !important; - } - - .dss-table-stretch-exemple{ - width: 500px; - } - - .dss-table-exemple-auto{ - width: auto; - } - `,e.jsx(s.p,{children:"`}"})]}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(s.a,{href:"/docs/components-custom-table--page",children:"dss-custom-table"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-table"}),` com a classe base, i es té que utilitzar -amb les etiquetes HTML corresponents a una tabla. Es trata d'un element molt -variat en opcions, pero en general no es permet una tabla de més de 10 -columnes i 10 files per vista.`]}),` -`,e.jsx("h5",{children:"Exemple basic de taula"}),` -`,e.jsx(a,{code:` - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Text 1 - - Text 2 - - Text 3 -
    `}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-taula",children:"Tipus de taula"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#cap%C3%A7alera",children:"Capçalera"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#contingut",children:"Contingut"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#pagination",children:"Pagination"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"tipus-de-taula",children:"Tipus de taula"}),` -`,e.jsx(s.p,{children:`Ens referim a tipus de taula, quan es dona la circumstancia de que hi ha una -taula dins d'un altra taula. A aço es diu taula anidada.`}),` -`,e.jsxs(s.p,{children:["Per tant, la taula pot ser: ",e.jsx(s.strong,{children:"simple"})," o ",e.jsx(s.strong,{children:"aninada"}),"."]}),` -`,e.jsx("h5",{children:"Taula simple"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("h5",{children:"Taula anidada"}),` -`,e.jsxs(s.p,{children:[`La taula que es la que están dins de una taula, hi ha que afegir-li la classe -`,e.jsx(s.strong,{children:"dss-table--nested"})]}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(s.p,{children:`La alineació pot ser tant de fila com de celda. Per defecte, la alineació es a -la esquerra.`}),` -`,e.jsx("h5",{children:"Centrat"}),` -`,e.jsx(s.p,{children:`Els elements que van centrats, son: els button, icon button, checkbox, -radiobutton.`}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"A la dreta"}),` -`,e.jsx(s.p,{children:"Els elements que van centrats, son: números, dates, badge i review."}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"capçalera",children:"Capçalera"}),` -`,e.jsxs(s.p,{children:["Els títols sempre van entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la -clase `,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.code,{children:"thead"}),` en HTML és utilitzada per definir un bloc que conté les -cel·les de capçalera d'una taula. El contingut dins d'aquesta etiqueta es -considera una capçalera de taula i s'utilitza per descriure el contingut de -les columnes de la taula.`]}),` -`,e.jsx(a,{code:` - - - - Title 1 - - - Title 2 - - - Title 3 - - - `}),` -`,e.jsx(s.p,{children:"Hi han diferents opcions que es contemplem en les taules:"}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Títol simple"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Títol en 2 línees"}),` -`,e.jsxs(s.p,{children:["Que el títol estiga en 2 línees, ",e.jsx(s.strong,{children:`depen del contingut de la columna i del -ample de la taula`}),`. El primer block mostra una taula amb l'ample 100% i la -segona, una taula amb l'ample reduït a 500px;`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-stretch-exemple"}),` es fa servir només per -mostrar l'exemple de com es veurà la taula amb una amplaria de 500px.`]})}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Amb títol i ordenació"}),` -`,e.jsxs(s.p,{children:["Hi ha que afegir al ",e.jsx(s.code,{children:"th"})," del ",e.jsx(s.code,{children:"thead"}),`, un contenidor amb la classe -`,e.jsx(s.strong,{children:"dss-table--order"}),`. El selector del ordre, que pot ser ascendent o -descendent, s'obté a través d'un input checkbox amb la classe -`,e.jsx(s.strong,{children:"dss-table__arrow-order"}),"."]}),` -`,e.jsx(a,{code:` - - -
    - Title 1 - swap_vert - swap_vert -
    - - `}),` -`,e.jsx(n,{of:_}),` -`,e.jsx("h5",{children:"Amb Icon Button"}),` -`,e.jsx(s.p,{children:"També tenim la opció de tindre un botó amb una icona."}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Amb Checkbox"}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:q}),` -`,e.jsx(s.h3,{id:"contingut",children:"Contingut"}),` -`,e.jsxs(s.p,{children:["L'element ",e.jsx(s.code,{children:"tbody"})," conté un bloc de files (",e.jsx(s.code,{children:"tr"}),`) que representa la secció del -cos d'una taula, i per tant tenim varies opcions disponibles com a contingut.`]}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:[`Per norma general, la columna de tipus text serà sempre adaptable a l’ample -total de la taula. Quan per necessitats de producte sigui necessari fixar -l’amplada de les columnes de text, tindràn un `,e.jsx(s.code,{children:"min-width: 200px"}),` i un -`,e.jsx(s.code,{children:"max-width: 400px"}),"."]}),` -`,e.jsx("h5",{children:"Text"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Té alineació justificada, i 3 pesos: regular, bold i black. Per defecte está -amb el pes regular, pero es pot canviar de pes afegint la classe -`,e.jsx(s.strong,{children:"dss-table--(bold | black)"})," en el ",e.jsx(s.code,{children:"td"}),", o en el ",e.jsx(s.code,{children:"tr"}),` per a aplicar-ho a tota -la fila.`]}),` -`,e.jsx(a,{code:` - - - - Lorem ipsum - - - `}),` -`,e.jsx(n,{of:T}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Dates i números"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Les dates i els números tenen justificació a la dreta, i 3 pesos: regular, -semibold i bold. Per defecte está amb el pes regular, pero es pot canviar de -pes afegint la classe `,e.jsx(s.strong,{children:"dss-table--(semibold | bold)"})," en el ",e.jsx(s.code,{children:"td"}),`, o en el -`,e.jsx(s.code,{children:"tr"})," per a aplicar-ho a tota la fila."]}),` -`,e.jsx(a,{code:` - - - - 01/01/2024 - - - `}),` -`,e.jsx(n,{of:w}),` -`,e.jsx(n,{of:C}),` -`,e.jsx("h5",{children:"Estats"}),` -`,e.jsx(s.p,{children:`Els estats son un text amb una icona que indica una situació i están -predefinides amb el tipus de icona i el misstage.`}),` -`,e.jsx(a,{code:` - -
    - question_answer - Respost -
    - `}),` -`,e.jsx(n,{of:k}),` -`,e.jsx("h5",{children:"Icon button"}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - `}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("h5",{children:"Botó"}),` -`,e.jsx(a,{code:` - - - - - - - `}),` -`,e.jsx(n,{of:E}),` -`,e.jsx("h5",{children:"Radiobutton"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:R}),` -`,e.jsx("h5",{children:"Checkbox"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:P}),` -`,e.jsx("h5",{children:"Review"}),` -`,e.jsx(s.p,{children:"Son elements de confirmació d'estat, i tenim el success i el error."}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - -
    - -
    - - -`}),` -`,e.jsx(n,{of:L}),` -`,e.jsx("h5",{children:"Badge"}),` -`,e.jsx(s.p,{children:`El badge es un element que ens transmet informació, amb la opció de incorporar -una acció. Té tres estats, i pot tindre misstage o no.`}),` -`,e.jsx(n,{of:B}),` -`,e.jsx(s.p,{children:"També está la opció del badge amb una icona extra"}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"pagination",children:"Pagination"}),` -`,e.jsx(s.p,{children:`S'utilitza per a organitzar la taula en diferents pàgines, amb un nombre fix -de files a cada pàgina.`}),` -`,e.jsx(s.p,{children:`Por tindre la opció del mòdul "Rows per page" o no. Aquest modul indica -quantes files per pàgina es mostren.`}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-container-exemple"}),` es fa servir només -per mostrar l'exemple de com es veurà el pagination.`]})}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:'Amb el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:H}),` -`,e.jsx("h5",{children:'Sense el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:M})]})}function G(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(l,{...t})}):l(t)}export{G as default}; diff --git a/rc/assets/table-css.doc-CREov0jM.js b/rc/assets/table-css.doc-CREov0jM.js deleted file mode 100644 index 1c67c80..0000000 --- a/rc/assets/table-css.doc-CREov0jM.js +++ /dev/null @@ -1,309 +0,0 @@ -import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-CEsII2zx.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` - .innerZoomElementWrapper { - display: block !important; - width: 800px !important; - } - - .dss-table-stretch-exemple{ - width: 500px; - } - - .dss-table-exemple-auto{ - width: auto; - } - `,e.jsx(s.p,{children:"`}"})]}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(s.a,{href:"/docs/components-custom-table--page",children:"dss-custom-table"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-table"}),` com a classe base, i es té que utilitzar -amb les etiquetes HTML corresponents a una tabla. Es trata d'un element molt -variat en opcions, pero en general no es permet una tabla de més de 10 -columnes i 10 files per vista.`]}),` -`,e.jsx("h5",{children:"Exemple basic de taula"}),` -`,e.jsx(a,{code:` - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Text 1 - - Text 2 - - Text 3 -
    `}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-taula",children:"Tipus de taula"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#cap%C3%A7alera",children:"Capçalera"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#contingut",children:"Contingut"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#pagination",children:"Pagination"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"tipus-de-taula",children:"Tipus de taula"}),` -`,e.jsx(s.p,{children:`Ens referim a tipus de taula, quan es dona la circumstancia de que hi ha una -taula dins d'un altra taula. A aço es diu taula anidada.`}),` -`,e.jsxs(s.p,{children:["Per tant, la taula pot ser: ",e.jsx(s.strong,{children:"simple"})," o ",e.jsx(s.strong,{children:"aninada"}),"."]}),` -`,e.jsx("h5",{children:"Taula simple"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("h5",{children:"Taula anidada"}),` -`,e.jsxs(s.p,{children:[`La taula que es la que están dins de una taula, hi ha que afegir-li la classe -`,e.jsx(s.strong,{children:"dss-table--nested"})]}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(s.p,{children:`La alineació pot ser tant de fila com de celda. Per defecte, la alineació es a -la esquerra.`}),` -`,e.jsx("h5",{children:"Centrat"}),` -`,e.jsx(s.p,{children:`Els elements que van centrats, son: els button, icon button, checkbox, -radiobutton.`}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"A la dreta"}),` -`,e.jsx(s.p,{children:"Els elements que van centrats, son: números, dates, badge i review."}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"capçalera",children:"Capçalera"}),` -`,e.jsxs(s.p,{children:["Els títols sempre van entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la -clase `,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.code,{children:"thead"}),` en HTML és utilitzada per definir un bloc que conté les -cel·les de capçalera d'una taula. El contingut dins d'aquesta etiqueta es -considera una capçalera de taula i s'utilitza per descriure el contingut de -les columnes de la taula.`]}),` -`,e.jsx(a,{code:` - - - - Title 1 - - - Title 2 - - - Title 3 - - - `}),` -`,e.jsx(s.p,{children:"Hi han diferents opcions que es contemplem en les taules:"}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Títol simple"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Títol en 2 línees"}),` -`,e.jsxs(s.p,{children:["Que el títol estiga en 2 línees, ",e.jsx(s.strong,{children:`depen del contingut de la columna i del -ample de la taula`}),`. El primer block mostra una taula amb l'ample 100% i la -segona, una taula amb l'ample reduït a 500px;`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-stretch-exemple"}),` es fa servir només per -mostrar l'exemple de com es veurà la taula amb una amplaria de 500px.`]})}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Amb títol i ordenació"}),` -`,e.jsxs(s.p,{children:["Hi ha que afegir al ",e.jsx(s.code,{children:"th"})," del ",e.jsx(s.code,{children:"thead"}),`, un contenidor amb la classe -`,e.jsx(s.strong,{children:"dss-table--order"}),`. El selector del ordre, que pot ser ascendent o -descendent, s'obté a través d'un input checkbox amb la classe -`,e.jsx(s.strong,{children:"dss-table__arrow-order"}),"."]}),` -`,e.jsx(a,{code:` - - -
    - Title 1 - swap_vert - swap_vert -
    - - `}),` -`,e.jsx(n,{of:_}),` -`,e.jsx("h5",{children:"Amb Icon Button"}),` -`,e.jsx(s.p,{children:"També tenim la opció de tindre un botó amb una icona."}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Amb Checkbox"}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:q}),` -`,e.jsx(s.h3,{id:"contingut",children:"Contingut"}),` -`,e.jsxs(s.p,{children:["L'element ",e.jsx(s.code,{children:"tbody"})," conté un bloc de files (",e.jsx(s.code,{children:"tr"}),`) que representa la secció del -cos d'una taula, i per tant tenim varies opcions disponibles com a contingut.`]}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:[`Per norma general, la columna de tipus text serà sempre adaptable a l’ample -total de la taula. Quan per necessitats de producte sigui necessari fixar -l’amplada de les columnes de text, tindràn un `,e.jsx(s.code,{children:"min-width: 200px"}),` i un -`,e.jsx(s.code,{children:"max-width: 400px"}),"."]}),` -`,e.jsx("h5",{children:"Text"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Té alineació justificada, i 3 pesos: regular, bold i black. Per defecte está -amb el pes regular, pero es pot canviar de pes afegint la classe -`,e.jsx(s.strong,{children:"dss-table--(bold | black)"})," en el ",e.jsx(s.code,{children:"td"}),", o en el ",e.jsx(s.code,{children:"tr"}),` per a aplicar-ho a tota -la fila.`]}),` -`,e.jsx(a,{code:` - - - - Lorem ipsum - - - `}),` -`,e.jsx(n,{of:T}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Dates i números"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Les dates i els números tenen justificació a la dreta, i 3 pesos: regular, -semibold i bold. Per defecte está amb el pes regular, pero es pot canviar de -pes afegint la classe `,e.jsx(s.strong,{children:"dss-table--(semibold | bold)"})," en el ",e.jsx(s.code,{children:"td"}),`, o en el -`,e.jsx(s.code,{children:"tr"})," per a aplicar-ho a tota la fila."]}),` -`,e.jsx(a,{code:` - - - - 01/01/2024 - - - `}),` -`,e.jsx(n,{of:w}),` -`,e.jsx(n,{of:C}),` -`,e.jsx("h5",{children:"Estats"}),` -`,e.jsx(s.p,{children:`Els estats son un text amb una icona que indica una situació i están -predefinides amb el tipus de icona i el misstage.`}),` -`,e.jsx(a,{code:` - -
    - question_answer - Respost -
    - `}),` -`,e.jsx(n,{of:k}),` -`,e.jsx("h5",{children:"Icon button"}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - `}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("h5",{children:"Botó"}),` -`,e.jsx(a,{code:` - - - - - - - `}),` -`,e.jsx(n,{of:E}),` -`,e.jsx("h5",{children:"Radiobutton"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:R}),` -`,e.jsx("h5",{children:"Checkbox"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:P}),` -`,e.jsx("h5",{children:"Review"}),` -`,e.jsx(s.p,{children:"Son elements de confirmació d'estat, i tenim el success i el error."}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - -
    - -
    - - -`}),` -`,e.jsx(n,{of:L}),` -`,e.jsx("h5",{children:"Badge"}),` -`,e.jsx(s.p,{children:`El badge es un element que ens transmet informació, amb la opció de incorporar -una acció. Té tres estats, i pot tindre misstage o no.`}),` -`,e.jsx(n,{of:B}),` -`,e.jsx(s.p,{children:"També está la opció del badge amb una icona extra"}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"pagination",children:"Pagination"}),` -`,e.jsx(s.p,{children:`S'utilitza per a organitzar la taula en diferents pàgines, amb un nombre fix -de files a cada pàgina.`}),` -`,e.jsx(s.p,{children:`Por tindre la opció del mòdul "Rows per page" o no. Aquest modul indica -quantes files per pàgina es mostren.`}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-container-exemple"}),` es fa servir només -per mostrar l'exemple de com es veurà el pagination.`]})}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:'Amb el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:H}),` -`,e.jsx("h5",{children:'Sense el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:M})]})}function G(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(l,{...t})}):l(t)}export{G as default}; diff --git a/rc/assets/table-css.doc-BWJNogpf.js b/rc/assets/table-css.doc-Dn6umAbe.js similarity index 98% rename from rc/assets/table-css.doc-BWJNogpf.js rename to rc/assets/table-css.doc-Dn6umAbe.js index 07d11bc..7c31049 100644 --- a/rc/assets/table-css.doc-BWJNogpf.js +++ b/rc/assets/table-css.doc-Dn6umAbe.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-XMoWHLx6.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` +import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-XMoWHLx6.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` .innerZoomElementWrapper { display: block !important; width: 800px !important; diff --git a/rc/assets/table-css.doc-DxY3-NxD.js b/rc/assets/table-css.doc-DxY3-NxD.js deleted file mode 100644 index 3405dec..0000000 --- a/rc/assets/table-css.doc-DxY3-NxD.js +++ /dev/null @@ -1,309 +0,0 @@ -import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-XMoWHLx6.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` - .innerZoomElementWrapper { - display: block !important; - width: 800px !important; - } - - .dss-table-stretch-exemple{ - width: 500px; - } - - .dss-table-exemple-auto{ - width: auto; - } - `,e.jsx(s.p,{children:"`}"})]}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(s.a,{href:"/docs/components-custom-table--page",children:"dss-custom-table"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-table"}),` com a classe base, i es té que utilitzar -amb les etiquetes HTML corresponents a una tabla. Es trata d'un element molt -variat en opcions, pero en general no es permet una tabla de més de 10 -columnes i 10 files per vista.`]}),` -`,e.jsx("h5",{children:"Exemple basic de taula"}),` -`,e.jsx(a,{code:` - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Text 1 - - Text 2 - - Text 3 -
    `}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-taula",children:"Tipus de taula"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#cap%C3%A7alera",children:"Capçalera"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#contingut",children:"Contingut"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#pagination",children:"Pagination"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"tipus-de-taula",children:"Tipus de taula"}),` -`,e.jsx(s.p,{children:`Ens referim a tipus de taula, quan es dona la circumstancia de que hi ha una -taula dins d'un altra taula. A aço es diu taula anidada.`}),` -`,e.jsxs(s.p,{children:["Per tant, la taula pot ser: ",e.jsx(s.strong,{children:"simple"})," o ",e.jsx(s.strong,{children:"aninada"}),"."]}),` -`,e.jsx("h5",{children:"Taula simple"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("h5",{children:"Taula anidada"}),` -`,e.jsxs(s.p,{children:[`La taula que es la que están dins de una taula, hi ha que afegir-li la classe -`,e.jsx(s.strong,{children:"dss-table--nested"})]}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(s.p,{children:`La alineació pot ser tant de fila com de celda. Per defecte, la alineació es a -la esquerra.`}),` -`,e.jsx("h5",{children:"Centrat"}),` -`,e.jsx(s.p,{children:`Els elements que van centrats, son: els button, icon button, checkbox, -radiobutton.`}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"A la dreta"}),` -`,e.jsx(s.p,{children:"Els elements que van centrats, son: números, dates, badge i review."}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"capçalera",children:"Capçalera"}),` -`,e.jsxs(s.p,{children:["Els títols sempre van entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la -clase `,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.code,{children:"thead"}),` en HTML és utilitzada per definir un bloc que conté les -cel·les de capçalera d'una taula. El contingut dins d'aquesta etiqueta es -considera una capçalera de taula i s'utilitza per descriure el contingut de -les columnes de la taula.`]}),` -`,e.jsx(a,{code:` - - - - Title 1 - - - Title 2 - - - Title 3 - - - `}),` -`,e.jsx(s.p,{children:"Hi han diferents opcions que es contemplem en les taules:"}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Títol simple"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Títol en 2 línees"}),` -`,e.jsxs(s.p,{children:["Que el títol estiga en 2 línees, ",e.jsx(s.strong,{children:`depen del contingut de la columna i del -ample de la taula`}),`. El primer block mostra una taula amb l'ample 100% i la -segona, una taula amb l'ample reduït a 500px;`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-stretch-exemple"}),` es fa servir només per -mostrar l'exemple de com es veurà la taula amb una amplaria de 500px.`]})}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Amb títol i ordenació"}),` -`,e.jsxs(s.p,{children:["Hi ha que afegir al ",e.jsx(s.code,{children:"th"})," del ",e.jsx(s.code,{children:"thead"}),`, un contenidor amb la classe -`,e.jsx(s.strong,{children:"dss-table--order"}),`. El selector del ordre, que pot ser ascendent o -descendent, s'obté a través d'un input checkbox amb la classe -`,e.jsx(s.strong,{children:"dss-table__arrow-order"}),"."]}),` -`,e.jsx(a,{code:` - - -
    - Title 1 - swap_vert - swap_vert -
    - - `}),` -`,e.jsx(n,{of:_}),` -`,e.jsx("h5",{children:"Amb Icon Button"}),` -`,e.jsx(s.p,{children:"També tenim la opció de tindre un botó amb una icona."}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Amb Checkbox"}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:q}),` -`,e.jsx(s.h3,{id:"contingut",children:"Contingut"}),` -`,e.jsxs(s.p,{children:["L'element ",e.jsx(s.code,{children:"tbody"})," conté un bloc de files (",e.jsx(s.code,{children:"tr"}),`) que representa la secció del -cos d'una taula, i per tant tenim varies opcions disponibles com a contingut.`]}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:[`Per norma general, la columna de tipus text serà sempre adaptable a l’ample -total de la taula. Quan per necessitats de producte sigui necessari fixar -l’amplada de les columnes de text, tindràn un `,e.jsx(s.code,{children:"min-width: 200px"}),` i un -`,e.jsx(s.code,{children:"max-width: 400px"}),"."]}),` -`,e.jsx("h5",{children:"Text"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Té alineació justificada, i 3 pesos: regular, bold i black. Per defecte está -amb el pes regular, pero es pot canviar de pes afegint la classe -`,e.jsx(s.strong,{children:"dss-table--(bold | black)"})," en el ",e.jsx(s.code,{children:"td"}),", o en el ",e.jsx(s.code,{children:"tr"}),` per a aplicar-ho a tota -la fila.`]}),` -`,e.jsx(a,{code:` - - - - Lorem ipsum - - - `}),` -`,e.jsx(n,{of:T}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Dates i números"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Les dates i els números tenen justificació a la dreta, i 3 pesos: regular, -semibold i bold. Per defecte está amb el pes regular, pero es pot canviar de -pes afegint la classe `,e.jsx(s.strong,{children:"dss-table--(semibold | bold)"})," en el ",e.jsx(s.code,{children:"td"}),`, o en el -`,e.jsx(s.code,{children:"tr"})," per a aplicar-ho a tota la fila."]}),` -`,e.jsx(a,{code:` - - - - 01/01/2024 - - - `}),` -`,e.jsx(n,{of:w}),` -`,e.jsx(n,{of:C}),` -`,e.jsx("h5",{children:"Estats"}),` -`,e.jsx(s.p,{children:`Els estats son un text amb una icona que indica una situació i están -predefinides amb el tipus de icona i el misstage.`}),` -`,e.jsx(a,{code:` - -
    - question_answer - Respost -
    - `}),` -`,e.jsx(n,{of:k}),` -`,e.jsx("h5",{children:"Icon button"}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - `}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("h5",{children:"Botó"}),` -`,e.jsx(a,{code:` - - - - - - - `}),` -`,e.jsx(n,{of:E}),` -`,e.jsx("h5",{children:"Radiobutton"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:R}),` -`,e.jsx("h5",{children:"Checkbox"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:P}),` -`,e.jsx("h5",{children:"Review"}),` -`,e.jsx(s.p,{children:"Son elements de confirmació d'estat, i tenim el success i el error."}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - -
    - -
    - - -`}),` -`,e.jsx(n,{of:L}),` -`,e.jsx("h5",{children:"Badge"}),` -`,e.jsx(s.p,{children:`El badge es un element que ens transmet informació, amb la opció de incorporar -una acció. Té tres estats, i pot tindre misstage o no.`}),` -`,e.jsx(n,{of:B}),` -`,e.jsx(s.p,{children:"També está la opció del badge amb una icona extra"}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"pagination",children:"Pagination"}),` -`,e.jsx(s.p,{children:`S'utilitza per a organitzar la taula en diferents pàgines, amb un nombre fix -de files a cada pàgina.`}),` -`,e.jsx(s.p,{children:`Por tindre la opció del mòdul "Rows per page" o no. Aquest modul indica -quantes files per pàgina es mostren.`}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-container-exemple"}),` es fa servir només -per mostrar l'exemple de com es veurà el pagination.`]})}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:'Amb el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:H}),` -`,e.jsx("h5",{children:'Sense el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:M})]})}function G(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(l,{...t})}):l(t)}export{G as default}; diff --git a/rc/assets/table-css.doc-wgZg9f0Y.js b/rc/assets/table-css.doc-wgZg9f0Y.js deleted file mode 100644 index 7cc4257..0000000 --- a/rc/assets/table-css.doc-wgZg9f0Y.js +++ /dev/null @@ -1,309 +0,0 @@ -import{ae as e,af as d,ag as r,ak as a,ah as n}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as o,a as c,N as x,A as h,b as p,c as u,d as j,H as m,e as b,f,g,T as _,I as v,C as q,h as T,i as y,D as w,j as C,k,l as A,B as E,R,m as P,n as L,o as B,p as S,P as z,q as H,r as M}from"./table-css.stories-XMoWHLx6.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function l(t){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs("style",{children:[` - .innerZoomElementWrapper { - display: block !important; - width: 800px !important; - } - - .dss-table-stretch-exemple{ - width: 500px; - } - - .dss-table-exemple-auto{ - width: auto; - } - `,e.jsx(s.p,{children:"`}"})]}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsxs(s.p,{children:["IMPORTANT: Aquest component deixés de rebre actualitzacions des de la versió 1.6.0. Per favor, utilitza el component ",e.jsx(s.a,{href:"/docs/components-custom-table--page",children:"dss-custom-table"})," en el seu lloc."]}),` -`]}),` -`,e.jsx(s.p,{children:`Les Taules mostren informació en un format de quadrícula de files i columnes. -Organitzen la informació de manera que sigui fàcil d'escanejar perquè els -usuaris puguin buscar patrons i desenvolupar informació a partir de les dades.`}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-table"}),` com a classe base, i es té que utilitzar -amb les etiquetes HTML corresponents a una tabla. Es trata d'un element molt -variat en opcions, pero en general no es permet una tabla de més de 10 -columnes i 10 files per vista.`]}),` -`,e.jsx("h5",{children:"Exemple basic de taula"}),` -`,e.jsx(a,{code:` - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Text 1 - - Text 2 - - Text 3 -
    `}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus-de-taula",children:"Tipus de taula"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#cap%C3%A7alera",children:"Capçalera"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#contingut",children:"Contingut"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#pagination",children:"Pagination"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"tipus-de-taula",children:"Tipus de taula"}),` -`,e.jsx(s.p,{children:`Ens referim a tipus de taula, quan es dona la circumstancia de que hi ha una -taula dins d'un altra taula. A aço es diu taula anidada.`}),` -`,e.jsxs(s.p,{children:["Per tant, la taula pot ser: ",e.jsx(s.strong,{children:"simple"})," o ",e.jsx(s.strong,{children:"aninada"}),"."]}),` -`,e.jsx("h5",{children:"Taula simple"}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("h5",{children:"Taula anidada"}),` -`,e.jsxs(s.p,{children:[`La taula que es la que están dins de una taula, hi ha que afegir-li la classe -`,e.jsx(s.strong,{children:"dss-table--nested"})]}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(s.p,{children:`La alineació pot ser tant de fila com de celda. Per defecte, la alineació es a -la esquerra.`}),` -`,e.jsx("h5",{children:"Centrat"}),` -`,e.jsx(s.p,{children:`Els elements que van centrats, son: els button, icon button, checkbox, -radiobutton.`}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"A la dreta"}),` -`,e.jsx(s.p,{children:"Els elements que van centrats, son: números, dates, badge i review."}),` -`,e.jsx("h6",{children:"Alineació per files"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h6",{children:"Alineació per celda"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"capçalera",children:"Capçalera"}),` -`,e.jsxs(s.p,{children:["Els títols sempre van entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la -clase `,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:["L'etiqueta ",e.jsx(s.code,{children:"thead"}),` en HTML és utilitzada per definir un bloc que conté les -cel·les de capçalera d'una taula. El contingut dins d'aquesta etiqueta es -considera una capçalera de taula i s'utilitza per descriure el contingut de -les columnes de la taula.`]}),` -`,e.jsx(a,{code:` - - - - Title 1 - - - Title 2 - - - Title 3 - - - `}),` -`,e.jsx(s.p,{children:"Hi han diferents opcions que es contemplem en les taules:"}),` -`,e.jsx("h5",{children:"Sense títol"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Títol simple"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("h5",{children:"Títol en 2 línees"}),` -`,e.jsxs(s.p,{children:["Que el títol estiga en 2 línees, ",e.jsx(s.strong,{children:`depen del contingut de la columna i del -ample de la taula`}),`. El primer block mostra una taula amb l'ample 100% i la -segona, una taula amb l'ample reduït a 500px;`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-stretch-exemple"}),` es fa servir només per -mostrar l'exemple de com es veurà la taula amb una amplaria de 500px.`]})}),` -`,e.jsx(n,{of:f}),` -`,e.jsx(n,{of:g}),` -`,e.jsx("h5",{children:"Amb títol i ordenació"}),` -`,e.jsxs(s.p,{children:["Hi ha que afegir al ",e.jsx(s.code,{children:"th"})," del ",e.jsx(s.code,{children:"thead"}),`, un contenidor amb la classe -`,e.jsx(s.strong,{children:"dss-table--order"}),`. El selector del ordre, que pot ser ascendent o -descendent, s'obté a través d'un input checkbox amb la classe -`,e.jsx(s.strong,{children:"dss-table__arrow-order"}),"."]}),` -`,e.jsx(a,{code:` - - -
    - Title 1 - swap_vert - swap_vert -
    - - `}),` -`,e.jsx(n,{of:_}),` -`,e.jsx("h5",{children:"Amb Icon Button"}),` -`,e.jsx(s.p,{children:"També tenim la opció de tindre un botó amb una icona."}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:v}),` -`,e.jsx("h5",{children:"Amb Checkbox"}),` -`,e.jsx(a,{code:` - - - - - `}),` -`,e.jsx(n,{of:q}),` -`,e.jsx(s.h3,{id:"contingut",children:"Contingut"}),` -`,e.jsxs(s.p,{children:["L'element ",e.jsx(s.code,{children:"tbody"})," conté un bloc de files (",e.jsx(s.code,{children:"tr"}),`) que representa la secció del -cos d'una taula, i per tant tenim varies opcions disponibles com a contingut.`]}),` -`,e.jsx("h5",{}),` -`,e.jsxs(s.p,{children:[`Per norma general, la columna de tipus text serà sempre adaptable a l’ample -total de la taula. Quan per necessitats de producte sigui necessari fixar -l’amplada de les columnes de text, tindràn un `,e.jsx(s.code,{children:"min-width: 200px"}),` i un -`,e.jsx(s.code,{children:"max-width: 400px"}),"."]}),` -`,e.jsx("h5",{children:"Text"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Té alineació justificada, i 3 pesos: regular, bold i black. Per defecte está -amb el pes regular, pero es pot canviar de pes afegint la classe -`,e.jsx(s.strong,{children:"dss-table--(bold | black)"})," en el ",e.jsx(s.code,{children:"td"}),", o en el ",e.jsx(s.code,{children:"tr"}),` per a aplicar-ho a tota -la fila.`]}),` -`,e.jsx(a,{code:` - - - - Lorem ipsum - - - `}),` -`,e.jsx(n,{of:T}),` -`,e.jsx(n,{of:y}),` -`,e.jsx("h5",{children:"Dates i números"}),` -`,e.jsxs(s.p,{children:["El text sempre va entre etiquetes (",e.jsx(s.code,{children:"span"}),", ",e.jsx(s.code,{children:"p"}),", ",e.jsx(s.code,{children:"h1"}),`, etc...) i amb la clase -`,e.jsx(s.strong,{children:"dss-table__text"}),". Com a màxim es permet 2 files de text."]}),` -`,e.jsxs(s.p,{children:[`Les dates i els números tenen justificació a la dreta, i 3 pesos: regular, -semibold i bold. Per defecte está amb el pes regular, pero es pot canviar de -pes afegint la classe `,e.jsx(s.strong,{children:"dss-table--(semibold | bold)"})," en el ",e.jsx(s.code,{children:"td"}),`, o en el -`,e.jsx(s.code,{children:"tr"})," per a aplicar-ho a tota la fila."]}),` -`,e.jsx(a,{code:` - - - - 01/01/2024 - - - `}),` -`,e.jsx(n,{of:w}),` -`,e.jsx(n,{of:C}),` -`,e.jsx("h5",{children:"Estats"}),` -`,e.jsx(s.p,{children:`Els estats son un text amb una icona que indica una situació i están -predefinides amb el tipus de icona i el misstage.`}),` -`,e.jsx(a,{code:` - -
    - question_answer - Respost -
    - `}),` -`,e.jsx(n,{of:k}),` -`,e.jsx("h5",{children:"Icon button"}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - `}),` -`,e.jsx(n,{of:A}),` -`,e.jsx("h5",{children:"Botó"}),` -`,e.jsx(a,{code:` - - - - - - - `}),` -`,e.jsx(n,{of:E}),` -`,e.jsx("h5",{children:"Radiobutton"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:R}),` -`,e.jsx("h5",{children:"Checkbox"}),` -`,e.jsx(a,{code:` - - - - - - -`}),` -`,e.jsx(n,{of:P}),` -`,e.jsx("h5",{children:"Review"}),` -`,e.jsx(s.p,{children:"Son elements de confirmació d'estat, i tenim el success i el error."}),` -`,e.jsx(a,{code:` - - - -
    - -
    - - -
    - -
    - - -`}),` -`,e.jsx(n,{of:L}),` -`,e.jsx("h5",{children:"Badge"}),` -`,e.jsx(s.p,{children:`El badge es un element que ens transmet informació, amb la opció de incorporar -una acció. Té tres estats, i pot tindre misstage o no.`}),` -`,e.jsx(n,{of:B}),` -`,e.jsx(s.p,{children:"També está la opció del badge amb una icona extra"}),` -`,e.jsx(n,{of:S}),` -`,e.jsx(s.h3,{id:"pagination",children:"Pagination"}),` -`,e.jsx(s.p,{children:`S'utilitza per a organitzar la taula en diferents pàgines, amb un nombre fix -de files a cada pàgina.`}),` -`,e.jsx(s.p,{children:`Por tindre la opció del mòdul "Rows per page" o no. Aquest modul indica -quantes files per pàgina es mostren.`}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," ignorar la clase ",e.jsx(s.code,{children:"dss-table-container-exemple"}),` es fa servir només -per mostrar l'exemple de com es veurà el pagination.`]})}),` -`,e.jsx(n,{of:z}),` -`,e.jsx("h5",{children:'Amb el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:H}),` -`,e.jsx("h5",{children:'Sense el mòdul "Rows per page"'}),` -`,e.jsx(n,{of:M})]})}function G(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(l,{...t})}):l(t)}export{G as default}; diff --git a/rc/assets/table-css.stories-CEsII2zx.js b/rc/assets/table-css.stories-CEsII2zx.js deleted file mode 100644 index 0ad3680..0000000 --- a/rc/assets/table-css.stories-CEsII2zx.js +++ /dev/null @@ -1,3013 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";const dt={title:"Discontinued/Table CSS ⚠️",argTypes:{},parameters:{layout:"centered"}},t={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - -
    - - `},a={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - Lorem ipsum dolor sit amet - - - - Lorem ipsum dolor sit amet - - - - Lorem ipsum dolor sit amet - -
    -
    - `},n={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - - - -
    - - `},e={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - -
    - - - Title 2 -
    -
    - -
    -
    - Lorem ipsum dolor sit amet -
    - - `},d={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - 123456 - - 01/01/2024 -
    - - `},l={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - 123456 - - Lorem ipsum dolor sit amet -
    - - `},r={tags:["!dev"],render:()=>s` - - - - - - - -
    - - - - -
    - - `},b={tags:["!dev"],render:()=>s` - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - `},i={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title Title 1 - - Title Title 2 - - Title Title 3 - - Title Title 4 - - Title Title 5 - - Title Title 6 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - `},o={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title Title 1 - - Title Title 2 - - Title Title 3 - - Title Title 4 - - Title Title 5 - - Title Title 6 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - `},_={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - -
    - Title 2 - swap\_vert - swap\_vert -
    -
    -
    - Title 3 - swap\_vert - swap\_vert -
    -
    - Lorem Ipsum dolor sit amet - - 2 - - 3 -
    - - `},c={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - -
    - - - -
    -
    - - `},p={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - -
    - - `},u={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem Ipsum dolor sit amet - - Lorem Ipsum dolor sit amet - - Lorem Ipsum dolor sit amet -
    - - `},m={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - `},h={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - 01/01/2024 - - 01/01/2024 - - 01/01/2024 -
    - - `},g={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - 12345 - - 12345 - - 12345 -
    - - `},v={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 - - Title 5 - - Title 6 -
    -
    - question\_answer - Respost -
    -
    -
    - download\_done - Revisat -
    -
    -
    - call\_made - Preescrit -
    -
    -
    - swap\_horiz - En curs -
    -
    -
    - schedule - Caducat -
    -
    -
    - notifications - Pendent -
    -
    - - `},x={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - -
    - - - - -
    -
    - -
    -
    -
    - - - -
    -
    -
    - - - - - -
    -
    - - `},y={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 - - Title 5 - - Title 6 - - Title 7 -
    - - - - - - - - - - - - - -
    - - `},T={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - -
    - - - Title 2 - - Title 3 -
    - - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - `},w={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - -
    - - - Title 2 - - Title 3 -
    - - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - `},L={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - Title 1 - - -
    -
    -
    - Title 2 - - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    - - `},k={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 -
    - - -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    - - -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    - - -
    -
    - Label -
    -
    -
    -
    -
    - Label -
    -
    -
    -
    -
    - Label -
    -
    -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - `},S={tags:["!dev"],render:()=>s` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 -
    - - -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    - - -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    - - -
    - - warning - - -
    - Label -
    -
    -
    -
    - - warning - - -
    - Label -
    -
    -
    -
    - - warning - - -
    - Label -
    -
    -
    - - -
    - - warning - - -
    -
    -
    -
    - - warning - - -
    -
    -
    -
    - - warning - - -
    -
    -
    - - `},f={tags:["!dev"],render:()=>s` - -
    - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - -
    - `},B={tags:["!dev"],render:()=>s` - - - `},P={tags:["!dev"],render:()=>s` - - `};var R,C,I;t.parameters={...t.parameters,docs:{...(R=t.parameters)==null?void 0:R.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - -
    - - \`; - } -}`,...(I=(C=t.parameters)==null?void 0:C.docs)==null?void 0:I.source}}};var D,z,O;a.parameters={...a.parameters,docs:{...(D=a.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel - arcu eu risus placerat sollicitudin. Praesent sapien metus, ultrices - vel urna in, ornare mattis tellus. - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - Lorem ipsum dolor sit amet - - - - Lorem ipsum dolor sit amet - - - - Lorem ipsum dolor sit amet - -
    -
    - \`; - } -}`,...(O=(z=a.parameters)==null?void 0:z.docs)==null?void 0:O.source}}};var A,H,N;n.parameters={...n.parameters,docs:{...(A=n.parameters)==null?void 0:A.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - - - -
    - - \`; - } -}`,...(N=(H=n.parameters)==null?void 0:H.docs)==null?void 0:N.source}}};var j,q,E;e.parameters={...e.parameters,docs:{...(j=e.parameters)==null?void 0:j.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - -
    - - - Title 2 -
    -
    - -
    -
    - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(E=(q=e.parameters)==null?void 0:q.docs)==null?void 0:E.source}}};var W,M,F;d.parameters={...d.parameters,docs:{...(W=d.parameters)==null?void 0:W.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - 123456 - - 01/01/2024 -
    - - \`; - } -}`,...(F=(M=d.parameters)==null?void 0:M.docs)==null?void 0:F.source}}};var G,J,K;l.parameters={...l.parameters,docs:{...(G=l.parameters)==null?void 0:G.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 -
    - 123456 - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(K=(J=l.parameters)==null?void 0:J.docs)==null?void 0:K.source}}};var Q,U,V;r.parameters={...r.parameters,docs:{...(Q=r.parameters)==null?void 0:Q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - -
    - - - - -
    - - \`; - } -}`,...(V=(U=r.parameters)==null?void 0:U.docs)==null?void 0:V.source}}};var X,Y,Z;b.parameters={...b.parameters,docs:{...(X=b.parameters)==null?void 0:X.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - - \`; - } -}`,...(Z=(Y=b.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var $,ss,ts;i.parameters={...i.parameters,docs:{...($=i.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title Title 1 - - Title Title 2 - - Title Title 3 - - Title Title 4 - - Title Title 5 - - Title Title 6 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(ts=(ss=i.parameters)==null?void 0:ss.docs)==null?void 0:ts.source}}};var as,ns,es;o.parameters={...o.parameters,docs:{...(as=o.parameters)==null?void 0:as.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title Title 1 - - Title Title 2 - - Title Title 3 - - Title Title 4 - - Title Title 5 - - Title Title 6 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(es=(ns=o.parameters)==null?void 0:ns.docs)==null?void 0:es.source}}};var ds,ls,rs;_.parameters={..._.parameters,docs:{...(ds=_.parameters)==null?void 0:ds.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - -
    - Title 2 - swap\\_vert - swap\\_vert -
    -
    -
    - Title 3 - swap\\_vert - swap\\_vert -
    -
    - Lorem Ipsum dolor sit amet - - 2 - - 3 -
    - - \`; - } -}`,...(rs=(ls=_.parameters)==null?void 0:ls.docs)==null?void 0:rs.source}}};var bs,is,os;c.parameters={...c.parameters,docs:{...(bs=c.parameters)==null?void 0:bs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - -
    - - - -
    -
    - - \`; - } -}`,...(os=(is=c.parameters)==null?void 0:is.docs)==null?void 0:os.source}}};var _s,cs,ps;p.parameters={...p.parameters,docs:{...(_s=p.parameters)==null?void 0:_s.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - -
    - - \`; - } -}`,...(ps=(cs=p.parameters)==null?void 0:cs.docs)==null?void 0:ps.source}}};var us,ms,hs;u.parameters={...u.parameters,docs:{...(us=u.parameters)==null?void 0:us.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem Ipsum dolor sit amet - - Lorem Ipsum dolor sit amet - - Lorem Ipsum dolor sit amet -
    - - \`; - } -}`,...(hs=(ms=u.parameters)==null?void 0:ms.docs)==null?void 0:hs.source}}};var gs,vs,xs;m.parameters={...m.parameters,docs:{...(gs=m.parameters)==null?void 0:gs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(xs=(vs=m.parameters)==null?void 0:vs.docs)==null?void 0:xs.source}}};var ys,Ts,ws;h.parameters={...h.parameters,docs:{...(ys=h.parameters)==null?void 0:ys.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - 01/01/2024 - - 01/01/2024 - - 01/01/2024 -
    - - \`; - } -}`,...(ws=(Ts=h.parameters)==null?void 0:Ts.docs)==null?void 0:ws.source}}};var Ls,ks,Ss;g.parameters={...g.parameters,docs:{...(Ls=g.parameters)==null?void 0:Ls.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - 12345 - - 12345 - - 12345 -
    - - \`; - } -}`,...(Ss=(ks=g.parameters)==null?void 0:ks.docs)==null?void 0:Ss.source}}};var fs,Bs,Ps;v.parameters={...v.parameters,docs:{...(fs=v.parameters)==null?void 0:fs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 - - Title 5 - - Title 6 -
    -
    - question\\_answer - Respost -
    -
    -
    - download\\_done - Revisat -
    -
    -
    - call\\_made - Preescrit -
    -
    -
    - swap\\_horiz - En curs -
    -
    -
    - schedule - Caducat -
    -
    -
    - notifications - Pendent -
    -
    - - \`; - } -}`,...(Ps=(Bs=v.parameters)==null?void 0:Bs.docs)==null?void 0:Ps.source}}};var Rs,Cs,Is;x.parameters={...x.parameters,docs:{...(Rs=x.parameters)==null?void 0:Rs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - -
    - - - - -
    -
    - -
    -
    -
    - - - -
    -
    -
    - - - - - -
    -
    - - \`; - } -}`,...(Is=(Cs=x.parameters)==null?void 0:Cs.docs)==null?void 0:Is.source}}};var Ds,zs,Os;y.parameters={...y.parameters,docs:{...(Ds=y.parameters)==null?void 0:Ds.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 - - Title 5 - - Title 6 - - Title 7 -
    - - - - - - - - - - - - - -
    - - \`; - } -}`,...(Os=(zs=y.parameters)==null?void 0:zs.docs)==null?void 0:Os.source}}};var As,Hs,Ns;T.parameters={...T.parameters,docs:{...(As=T.parameters)==null?void 0:As.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - -
    - - - Title 2 - - Title 3 -
    - - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(Ns=(Hs=T.parameters)==null?void 0:Hs.docs)==null?void 0:Ns.source}}};var js,qs,Es;w.parameters={...w.parameters,docs:{...(js=w.parameters)==null?void 0:js.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - -
    - - - Title 2 - - Title 3 -
    - - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - \`; - } -}`,...(Es=(qs=w.parameters)==null?void 0:qs.docs)==null?void 0:Es.source}}};var Ws,Ms,Fs;L.parameters={...L.parameters,docs:{...(Ws=L.parameters)==null?void 0:Ws.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - Title 1 - - -
    -
    -
    - Title 2 - - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    -
    - -
    -
    - - \`; - } -}`,...(Fs=(Ms=L.parameters)==null?void 0:Ms.docs)==null?void 0:Fs.source}}};var Gs,Js,Ks;k.parameters={...k.parameters,docs:{...(Gs=k.parameters)==null?void 0:Gs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 -
    - - -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    - - -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    -
    -
    - Label - - -
    -
    -
    - - -
    -
    - Label -
    -
    -
    -
    -
    - Label -
    -
    -
    -
    -
    - Label -
    -
    -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - \`; - } -}`,...(Ks=(Js=k.parameters)==null?void 0:Js.docs)==null?void 0:Ks.source}}};var Qs,Us,Vs;S.parameters={...S.parameters,docs:{...(Qs=S.parameters)==null?void 0:Qs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 - - Title 4 -
    - - -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    - - -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    -
    - - warning - - -
    - Label - - -
    -
    -
    - - -
    - - warning - - -
    - Label -
    -
    -
    -
    - - warning - - -
    - Label -
    -
    -
    -
    - - warning - - -
    - Label -
    -
    -
    - - -
    - - warning - - -
    -
    -
    -
    - - warning - - -
    -
    -
    -
    - - warning - - -
    -
    -
    - - \`; - } -}`,...(Vs=(Us=S.parameters)==null?void 0:Us.docs)==null?void 0:Vs.source}}};var Xs,Ys,Zs;f.parameters={...f.parameters,docs:{...(Xs=f.parameters)==null?void 0:Xs.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - -
    - - - - - - - - - - - - - - - - - - - - -
    - Title 1 - - Title 2 - - Title 3 -
    - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet - - Lorem ipsum dolor sit amet -
    - - -
    - \`; - } -}`,...(Zs=(Ys=f.parameters)==null?void 0:Ys.docs)==null?void 0:Zs.source}}};var $s,st,tt;B.parameters={...B.parameters,docs:{...($s=B.parameters)==null?void 0:$s.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - \`; - } -}`,...(tt=(st=B.parameters)==null?void 0:st.docs)==null?void 0:tt.source}}};var at,nt,et;P.parameters={...P.parameters,docs:{...(at=P.parameters)==null?void 0:at.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - \`; - } -}`,...(et=(nt=P.parameters)==null?void 0:nt.docs)==null?void 0:et.source}}};const lt=["Simple","Nested","AlignCenterRow","AlignCenterCell","AlignRightRow","AlignRightCell","HeaderNoTitle","HeaderTitle","Header2LinesOption1","Header2LinesOption2","TitleAndOrder","IconButton","Checkbox","Text1","Text2","DatesNumbers1","DatesNumbers2","States","StateIconButton","Button","RadioButton","CheckboxRow","Review","Badge","BadgeWithIcon","Pagination1","Pagination2","Pagination3"],it=Object.freeze(Object.defineProperty({__proto__:null,AlignCenterCell:e,AlignCenterRow:n,AlignRightCell:l,AlignRightRow:d,Badge:k,BadgeWithIcon:S,Button:y,Checkbox:p,CheckboxRow:w,DatesNumbers1:h,DatesNumbers2:g,Header2LinesOption1:i,Header2LinesOption2:o,HeaderNoTitle:r,HeaderTitle:b,IconButton:c,Nested:a,Pagination1:f,Pagination2:B,Pagination3:P,RadioButton:T,Review:L,Simple:t,StateIconButton:x,States:v,Text1:u,Text2:m,TitleAndOrder:_,__namedExportsOrder:lt,default:dt},Symbol.toStringTag,{value:"Module"}));export{n as A,y as B,p as C,h as D,r as H,c as I,a as N,f as P,T as R,it as S,_ as T,t as a,e as b,d as c,l as d,b as e,i as f,o as g,u as h,m as i,g as j,v as k,x as l,w as m,L as n,k as o,S as p,B as q,P as r}; diff --git a/rc/assets/tabs.doc-BeAZNAz2.js b/rc/assets/tabs.doc-BeAZNAz2.js deleted file mode 100644 index efc540f..0000000 --- a/rc/assets/tabs.doc-BeAZNAz2.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-CQXi_Y6g.js";import{u as r}from"./index-CkYTJ7Ip.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-1EPoqSJm.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-tabs-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-tabs-panel",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Tab és un element d'interfície d'usuari utilitzat per organitzar i presentar contingut de manera estructurada i accessible. -Apareix com una barra horitzontal amb múltiples pestanyes, cadascuna representant una vista o secció de contingut rellevant per a l'usuari.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.p,{children:"Per tal d'implementar les tabs hem d'utilitzar dos tipus de components:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-list"})}),": Conté la capçalera del component amb tots els ítems interactius que faran visibles les pestanyes corresponents. Només s’ha de definir una vegada."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-panel"})}),": És el contenidor que s’activarà quan es faci clic en una tab. S’ha de definir un contenidor per cada pestanya disponible."]}),` -`]}),` -`,e.jsx(n.p,{children:"Les propietats definides en cada un dels components han d’estar relacionades per permetre el correcte funcionament de les tabs."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tabs-list",children:"dss-tabs-list"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:`Label utilitzat pel que fa a accessibilitat per a lectors de pantalla. Intenteu situar l'usuari en context adequat, per exemple "Tabs de perfil del pacient".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dssTabsId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. S'utilitza per evitar un mal funcionament de les tabs en el cas que es vulgui utilitzar més d'un component per pantalla."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tabs"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Array"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llista de tabs que han de mostrar-se en el component. En cas d'obtenir errors a l'inserir una variable interna tipus angular, intenteu passar el contingut d'aquesta utilitzant un JSON.stringify()"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabEnabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:[`Opció per habilitat el botó d'"Afegir tab" dins del component. En tractar-se d'un atribut de tipus booleà només és necessari declarar-lo dins del selector sense donar-li valor. `,e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''}),e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Afegir tabs"}),e.jsx(n.td,{children:'Utilitzada per a modificar el text del botó "Afegir tab" en cas que fos necessari'})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment llançat en seleccionar-se una nova tab. No influeix en el comportament del component, però pot utilitzar-se per estendre la funcionalitat d'aquest. Per exemple, per guardar l'última tab seleccionada en l'estat de l'aplicació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAddDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment llançat en fer clic en el botó d'afegir tab. S'haurà d'afegir un EventListener a les diferents aplicacions per tal de gestionar el procés de crear una nova tab.",e.jsx("br",{}),"DO: ",e.jsx(n.code,{children:"window.document.addEventListener('onAddDssTab', myFunction())"}),e.jsx("br",{}),"DO: Angular: ",e.jsx(n.code,{children:''})]})]})]})]}),` -`,e.jsx(n.h3,{id:"tabs",children:"tabs"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"id"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID que se li assignarà al botó generat"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"."}),e.jsx(n.td,{children:"Text mostrat dins del botó"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell que habilitarà el botó. Assegurar-se de què aquest valor es correspon amb dels panelID definits als components dss-tabs-panel."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna la tab marcada com seleccionat a l'iniciar el component. Es pot utilitzar aquests valor per tornar a carregar l'últim estat del component si aquest s'ha emmagatzemat amb l'esdeveniment onChangeDssTab"})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-tabs-panel",children:"dss-tabs-panel"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panelId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell. Cal assegurar-se d'assignar el mateix valor tant en el panell com en la seva tab corresponent."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Idealment, podríem utilitzar l'atribut aria-labelledby juntament amb el tab.id definit en el component anterior. De totes maneres, el fet de tractar amb dos components diferents provoca que el panell no sigui capaç de trobar l'ID en el seu shadow-root, això provoca un error d'accessibilitat. S'ha optat per una solució directa on podem assignar directament el label per cada panell. Suggerència: En lloc d'assignar un text manualment, cal assignar una lògica que, donat un id, trobi la tab corresponent entre les tabs i torni el valor del paràmetre del text, assegurant així que la tab i el label del panel tinguin el mateix contingut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"linkedTo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. Cal assegurar-se què és el mateix definit a les dss-tabs-list."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Declara que el panell s'ha de mostrar en iniciar el component. Cal assegurar-se que només es declara un panell selected al codi."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasScroll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'scroll dins del panell per a aquells casos en què cal delimitar una alçada màxima."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-afegir-tab",children:"Amb afegir tab"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icon-badge",children:"Amb icon badge"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"amb-afegir-tab",children:"Amb afegir tab"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"amb-icon-badge",children:"Amb Icon Badge"}),` -`,e.jsxs(n.p,{children:[`S'ha afegit un slot dins del component per tal de poder afegir un badge dins de cada pestanya. -Per a implementar aquesta funcionalitat s'ha d'afegir el codi HTML dins del component `,e.jsx(n.code,{children:"dss-tabs-list"}),` -afegint la propietat `,e.jsx(n.em,{children:'slot="badge-tabID"'}),`, on tabID serà el mateix valor que s'ha definit prèviament -per a cada tab en la propietat tabs.`]}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"amb-scroll",children:"Amb Scroll"}),` -`,e.jsx(n.p,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Problema: Panells visibles a l'iniciar el component"}),e.jsx("br",{}),` -S'ha detectat que en alguns navegadors pot donar-se el cas que els panells es mostrin durant un instat abans que el component Lit apliqui les seves fulles d'estil.`,e.jsx("br",{}),` -`,e.jsx(n.strong,{children:"Solució:"}),e.jsx("br",{}),` -Afegir a la fulla d'estils de la seva pròpia pàgina/aplicació el següent codi CSS:`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` :not(:defined) { - display: none; - } -`})}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha modificat la manera en què es visualitza la pestanya seleccionada per corregir un error pel qual la vora inferior de la pestanya seleccionada no es mostrava correctament en alguns navegadors. S'han afegit estils per als estats hover i active per alinear-los amb el disseny del DS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual els elements amb 'position: absolute' que se sortien del component no eren visibles.S' ha corregit un error pel qual la vora de la pestanya seleccionada no es mostrava correctament quan hi havia altres pestanyes amb una alçada més gran en tenir dues línies de text."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual no es añadia l'espaiat correcte entre els badges afegits via slot i el títol de la pestanya. Aquest marge s'assignarà automàticament quan s'afegeixi per slot els següents elements: badge, icon badge i notification badge. Per a qualsevol altre element el marge ha d'assignar-se manualment amb CSS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en afegir noves tabs o navegar per diferents pàgines i tornar enrere, la tab activa no es marcava correctament en la capçalera."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"S'ha afegit la possibilitat d'incloure un badge dins de cada pestanya."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.2.1"})}),e.jsx(n.td,{children:"Creat nou component que reemplaça a l'anterior per a complir amb requisits d'accessibilitat i solucionar els problemes en navegadors Firefox."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{I as default}; diff --git a/rc/assets/tabs.doc-B30Ccsei.js b/rc/assets/tabs.doc-BgQCbU-j.js similarity index 98% rename from rc/assets/tabs.doc-B30Ccsei.js rename to rc/assets/tabs.doc-BgQCbU-j.js index 46cf0af..0be6ee0 100644 --- a/rc/assets/tabs.doc-B30Ccsei.js +++ b/rc/assets/tabs.doc-BgQCbU-j.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-1EPoqSJm.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-1EPoqSJm.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display: block !important; } diff --git a/rc/assets/tabs.doc-C18mwK64.js b/rc/assets/tabs.doc-C18mwK64.js deleted file mode 100644 index da90fd5..0000000 --- a/rc/assets/tabs.doc-C18mwK64.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-CcF9BsMG.js";import{u as r}from"./index-BlEr_OIe.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-wCufqI6O.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-tabs-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-tabs-panel",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Tab és un element d'interfície d'usuari utilitzat per organitzar i presentar contingut de manera estructurada i accessible. -Apareix com una barra horitzontal amb múltiples pestanyes, cadascuna representant una vista o secció de contingut rellevant per a l'usuari.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.p,{children:"Per tal d'implementar les tabs hem d'utilitzar dos tipus de components:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-list"})}),": Conté la capçalera del component amb tots els ítems interactius que faran visibles les pestanyes corresponents. Només s’ha de definir una vegada."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-panel"})}),": És el contenidor que s’activarà quan es faci clic en una tab. S’ha de definir un contenidor per cada pestanya disponible."]}),` -`]}),` -`,e.jsx(n.p,{children:"Les propietats definides en cada un dels components han d’estar relacionades per permetre el correcte funcionament de les tabs."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tabs-list",children:"dss-tabs-list"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:`Label utilitzat pel que fa a accessibilitat per a lectors de pantalla. Intenteu situar l'usuari en context adequat, per exemple "Tabs de perfil del pacient".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dssTabsId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. S'utilitza per evitar un mal funcionament de les tabs en el cas que es vulgui utilitzar més d'un component per pantalla."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tabs"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Array"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llista de tabs que han de mostrar-se en el component. En cas d'obtenir errors a l'inserir una variable interna tipus angular, intenteu passar el contingut d'aquesta utilitzant un JSON.stringify()"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabEnabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:[`Opció per habilitat el botó d'"Afegir tab" dins del component. En tractar-se d'un atribut de tipus booleà només és necessari declarar-lo dins del selector sense donar-li valor. `,e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''}),e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Afegir tabs"}),e.jsx(n.td,{children:'Utilitzada per a modificar el text del botó "Afegir tab" en cas que fos necessari'})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment llançat en seleccionar-se una nova tab. No influeix en el comportament del component, però pot utilitzar-se per estendre la funcionalitat d'aquest. Per exemple, per guardar l'última tab seleccionada en l'estat de l'aplicació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAddDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment llançat en fer clic en el botó d'afegir tab. S'haurà d'afegir un EventListener a les diferents aplicacions per tal de gestionar el procés de crear una nova tab.",e.jsx("br",{}),"DO: ",e.jsx(n.code,{children:"window.document.addEventListener('onAddDssTab', myFunction())"}),e.jsx("br",{}),"DO: Angular: ",e.jsx(n.code,{children:''})]})]})]})]}),` -`,e.jsx(n.h3,{id:"tabs",children:"tabs"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"id"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID que se li assignarà al botó generat"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"."}),e.jsx(n.td,{children:"Text mostrat dins del botó"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell que habilitarà el botó. Assegurar-se de què aquest valor es correspon amb dels panelID definits als components dss-tabs-panel."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna la tab marcada com seleccionat a l'iniciar el component. Es pot utilitzar aquests valor per tornar a carregar l'últim estat del component si aquest s'ha emmagatzemat amb l'esdeveniment onChangeDssTab"})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-tabs-panel",children:"dss-tabs-panel"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panelId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell. Cal assegurar-se d'assignar el mateix valor tant en el panell com en la seva tab corresponent."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Idealment, podríem utilitzar l'atribut aria-labelledby juntament amb el tab.id definit en el component anterior. De totes maneres, el fet de tractar amb dos components diferents provoca que el panell no sigui capaç de trobar l'ID en el seu shadow-root, això provoca un error d'accessibilitat. S'ha optat per una solució directa on podem assignar directament el label per cada panell. Suggerència: En lloc d'assignar un text manualment, cal assignar una lògica que, donat un id, trobi la tab corresponent entre les tabs i torni el valor del paràmetre del text, assegurant així que la tab i el label del panel tinguin el mateix contingut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"linkedTo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. Cal assegurar-se què és el mateix definit a les dss-tabs-list."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Declara que el panell s'ha de mostrar en iniciar el component. Cal assegurar-se que només es declara un panell selected al codi."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasScroll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'scroll dins del panell per a aquells casos en què cal delimitar una alçada màxima."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-afegir-tab",children:"Amb afegir tab"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icon-badge",children:"Amb icon badge"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"amb-afegir-tab",children:"Amb afegir tab"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"amb-icon-badge",children:"Amb Icon Badge"}),` -`,e.jsxs(n.p,{children:[`S'ha afegit un slot dins del component per tal de poder afegir un badge dins de cada pestanya. -Per a implementar aquesta funcionalitat s'ha d'afegir el codi HTML dins del component `,e.jsx(n.code,{children:"dss-tabs-list"}),` -afegint la propietat `,e.jsx(n.em,{children:'slot="badge-tabID"'}),`, on tabID serà el mateix valor que s'ha definit prèviament -per a cada tab en la propietat tabs.`]}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"amb-scroll",children:"Amb Scroll"}),` -`,e.jsx(n.p,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Problema: Panells visibles a l'iniciar el component"}),e.jsx("br",{}),` -S'ha detectat que en alguns navegadors pot donar-se el cas que els panells es mostrin durant un instat abans que el component Lit apliqui les seves fulles d'estil.`,e.jsx("br",{}),` -`,e.jsx(n.strong,{children:"Solució:"}),e.jsx("br",{}),` -Afegir a la fulla d'estils de la seva pròpia pàgina/aplicació el següent codi CSS:`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` :not(:defined) { - display: none; - } -`})}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha modificat la manera en què es visualitza la pestanya seleccionada per corregir un error pel qual la vora inferior de la pestanya seleccionada no es mostrava correctament en alguns navegadors. S'han afegit estils per als estats hover i active per alinear-los amb el disseny del DS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual els elements amb 'position: absolute' que se sortien del component no eren visibles.S' ha corregit un error pel qual la vora de la pestanya seleccionada no es mostrava correctament quan hi havia altres pestanyes amb una alçada més gran en tenir dues línies de text."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual no es añadia l'espaiat correcte entre els badges afegits via slot i el títol de la pestanya. Aquest marge s'assignarà automàticament quan s'afegeixi per slot els següents elements: badge, icon badge i notification badge. Per a qualsevol altre element el marge ha d'assignar-se manualment amb CSS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en afegir noves tabs o navegar per diferents pàgines i tornar enrere, la tab activa no es marcava correctament en la capçalera."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"S'ha afegit la possibilitat d'incloure un badge dins de cada pestanya."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.2.1"})}),e.jsx(n.td,{children:"Creat nou component que reemplaça a l'anterior per a complir amb requisits d'accessibilitat i solucionar els problemes en navegadors Firefox."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{I as default}; diff --git a/rc/assets/tabs.doc-D0CfmHzD.js b/rc/assets/tabs.doc-D0CfmHzD.js deleted file mode 100644 index 018acd7..0000000 --- a/rc/assets/tabs.doc-D0CfmHzD.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-1EPoqSJm.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-tabs-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-tabs-panel",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Tab és un element d'interfície d'usuari utilitzat per organitzar i presentar contingut de manera estructurada i accessible. -Apareix com una barra horitzontal amb múltiples pestanyes, cadascuna representant una vista o secció de contingut rellevant per a l'usuari.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.p,{children:"Per tal d'implementar les tabs hem d'utilitzar dos tipus de components:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-list"})}),": Conté la capçalera del component amb tots els ítems interactius que faran visibles les pestanyes corresponents. Només s’ha de definir una vegada."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-panel"})}),": És el contenidor que s’activarà quan es faci clic en una tab. S’ha de definir un contenidor per cada pestanya disponible."]}),` -`]}),` -`,e.jsx(n.p,{children:"Les propietats definides en cada un dels components han d’estar relacionades per permetre el correcte funcionament de les tabs."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tabs-list",children:"dss-tabs-list"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:`Label utilitzat pel que fa a accessibilitat per a lectors de pantalla. Intenteu situar l'usuari en context adequat, per exemple "Tabs de perfil del pacient".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dssTabsId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. S'utilitza per evitar un mal funcionament de les tabs en el cas que es vulgui utilitzar més d'un component per pantalla."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tabs"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Array"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llista de tabs que han de mostrar-se en el component. En cas d'obtenir errors a l'inserir una variable interna tipus angular, intenteu passar el contingut d'aquesta utilitzant un JSON.stringify()"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabEnabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:[`Opció per habilitat el botó d'"Afegir tab" dins del component. En tractar-se d'un atribut de tipus booleà només és necessari declarar-lo dins del selector sense donar-li valor. `,e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''}),e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Afegir tabs"}),e.jsx(n.td,{children:'Utilitzada per a modificar el text del botó "Afegir tab" en cas que fos necessari'})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment llançat en seleccionar-se una nova tab. No influeix en el comportament del component, però pot utilitzar-se per estendre la funcionalitat d'aquest. Per exemple, per guardar l'última tab seleccionada en l'estat de l'aplicació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAddDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment llançat en fer clic en el botó d'afegir tab. S'haurà d'afegir un EventListener a les diferents aplicacions per tal de gestionar el procés de crear una nova tab.",e.jsx("br",{}),"DO: ",e.jsx(n.code,{children:"window.document.addEventListener('onAddDssTab', myFunction())"}),e.jsx("br",{}),"DO: Angular: ",e.jsx(n.code,{children:''})]})]})]})]}),` -`,e.jsx(n.h3,{id:"tabs",children:"tabs"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"id"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID que se li assignarà al botó generat"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"."}),e.jsx(n.td,{children:"Text mostrat dins del botó"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell que habilitarà el botó. Assegurar-se de què aquest valor es correspon amb dels panelID definits als components dss-tabs-panel."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna la tab marcada com seleccionat a l'iniciar el component. Es pot utilitzar aquests valor per tornar a carregar l'últim estat del component si aquest s'ha emmagatzemat amb l'esdeveniment onChangeDssTab"})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-tabs-panel",children:"dss-tabs-panel"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panelId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell. Cal assegurar-se d'assignar el mateix valor tant en el panell com en la seva tab corresponent."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Idealment, podríem utilitzar l'atribut aria-labelledby juntament amb el tab.id definit en el component anterior. De totes maneres, el fet de tractar amb dos components diferents provoca que el panell no sigui capaç de trobar l'ID en el seu shadow-root, això provoca un error d'accessibilitat. S'ha optat per una solució directa on podem assignar directament el label per cada panell. Suggerència: En lloc d'assignar un text manualment, cal assignar una lògica que, donat un id, trobi la tab corresponent entre les tabs i torni el valor del paràmetre del text, assegurant així que la tab i el label del panel tinguin el mateix contingut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"linkedTo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. Cal assegurar-se què és el mateix definit a les dss-tabs-list."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Declara que el panell s'ha de mostrar en iniciar el component. Cal assegurar-se que només es declara un panell selected al codi."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasScroll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'scroll dins del panell per a aquells casos en què cal delimitar una alçada màxima."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-afegir-tab",children:"Amb afegir tab"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icon-badge",children:"Amb icon badge"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"amb-afegir-tab",children:"Amb afegir tab"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"amb-icon-badge",children:"Amb Icon Badge"}),` -`,e.jsxs(n.p,{children:[`S'ha afegit un slot dins del component per tal de poder afegir un badge dins de cada pestanya. -Per a implementar aquesta funcionalitat s'ha d'afegir el codi HTML dins del component `,e.jsx(n.code,{children:"dss-tabs-list"}),` -afegint la propietat `,e.jsx(n.em,{children:'slot="badge-tabID"'}),`, on tabID serà el mateix valor que s'ha definit prèviament -per a cada tab en la propietat tabs.`]}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"amb-scroll",children:"Amb Scroll"}),` -`,e.jsx(n.p,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Problema: Panells visibles a l'iniciar el component"}),e.jsx("br",{}),` -S'ha detectat que en alguns navegadors pot donar-se el cas que els panells es mostrin durant un instat abans que el component Lit apliqui les seves fulles d'estil.`,e.jsx("br",{}),` -`,e.jsx(n.strong,{children:"Solució:"}),e.jsx("br",{}),` -Afegir a la fulla d'estils de la seva pròpia pàgina/aplicació el següent codi CSS:`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` :not(:defined) { - display: none; - } -`})}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha modificat la manera en què es visualitza la pestanya seleccionada per corregir un error pel qual la vora inferior de la pestanya seleccionada no es mostrava correctament en alguns navegadors. S'han afegit estils per als estats hover i active per alinear-los amb el disseny del DS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual els elements amb 'position: absolute' que se sortien del component no eren visibles.S' ha corregit un error pel qual la vora de la pestanya seleccionada no es mostrava correctament quan hi havia altres pestanyes amb una alçada més gran en tenir dues línies de text."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual no es añadia l'espaiat correcte entre els badges afegits via slot i el títol de la pestanya. Aquest marge s'assignarà automàticament quan s'afegeixi per slot els següents elements: badge, icon badge i notification badge. Per a qualsevol altre element el marge ha d'assignar-se manualment amb CSS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en afegir noves tabs o navegar per diferents pàgines i tornar enrere, la tab activa no es marcava correctament en la capçalera."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"S'ha afegit la possibilitat d'incloure un badge dins de cada pestanya."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.2.1"})}),e.jsx(n.td,{children:"Creat nou component que reemplaça a l'anterior per a complir amb requisits d'accessibilitat i solucionar els problemes en navegadors Firefox."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{I as default}; diff --git a/rc/assets/tabs.doc-DR3_6Nt1.js b/rc/assets/tabs.doc-DR3_6Nt1.js deleted file mode 100644 index 0c07617..0000000 --- a/rc/assets/tabs.doc-DR3_6Nt1.js +++ /dev/null @@ -1,67 +0,0 @@ -import{ae as e,af as l,ag as i,ah as t,ai as d}from"./index-0DKGoewk.js";import{u as r}from"./index-FamfD7PC.js";import{S as c,P as o,D as h,A as x,I as j,a as p}from"./tabs.stories-wCufqI6O.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function a(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(i,{}),e.jsx("dss-badge",{text:"dss-tabs-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-tabs-panel",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`El component Tab és un element d'interfície d'usuari utilitzat per organitzar i presentar contingut de manera estructurada i accessible. -Apareix com una barra horitzontal amb múltiples pestanyes, cadascuna representant una vista o secció de contingut rellevant per a l'usuari.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:o}),` -`,e.jsx(d,{}),` -`,e.jsx(n.p,{children:"Per tal d'implementar les tabs hem d'utilitzar dos tipus de components:"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-list"})}),": Conté la capçalera del component amb tots els ítems interactius que faran visibles les pestanyes corresponents. Només s’ha de definir una vegada."]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:e.jsx(n.code,{children:"dss-tabs-panel"})}),": És el contenidor que s’activarà quan es faci clic en una tab. S’ha de definir un contenidor per cada pestanya disponible."]}),` -`]}),` -`,e.jsx(n.p,{children:"Les propietats definides en cada un dels components han d’estar relacionades per permetre el correcte funcionament de les tabs."}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tabs-list",children:"dss-tabs-list"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:`Label utilitzat pel que fa a accessibilitat per a lectors de pantalla. Intenteu situar l'usuari en context adequat, per exemple "Tabs de perfil del pacient".`})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"dssTabsId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. S'utilitza per evitar un mal funcionament de les tabs en el cas que es vulgui utilitzar més d'un component per pantalla."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tabs"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"Array"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Llista de tabs que han de mostrar-se en el component. En cas d'obtenir errors a l'inserir una variable interna tipus angular, intenteu passar el contingut d'aquesta utilitzant un JSON.stringify()"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabEnabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsxs(n.td,{children:[`Opció per habilitat el botó d'"Afegir tab" dins del component. En tractar-se d'un atribut de tipus booleà només és necessari declarar-lo dins del selector sense donar-li valor. `,e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''}),e.jsx("br",{}),"DO:",e.jsx(n.code,{children:""}),e.jsx("br",{}),"DON'T: ",e.jsx(n.code,{children:''})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"addTabText"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"Afegir tabs"}),e.jsx(n.td,{children:'Utilitzada per a modificar el text del botó "Afegir tab" en cas que fos necessari'})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onChangeDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Esdeveniment llançat en seleccionar-se una nova tab. No influeix en el comportament del component, però pot utilitzar-se per estendre la funcionalitat d'aquest. Per exemple, per guardar l'última tab seleccionada en l'estat de l'aplicació."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onAddDssTab"})}),e.jsx(n.td,{children:"Output"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"CustomEvent"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Esdeveniment llançat en fer clic en el botó d'afegir tab. S'haurà d'afegir un EventListener a les diferents aplicacions per tal de gestionar el procés de crear una nova tab.",e.jsx("br",{}),"DO: ",e.jsx(n.code,{children:"window.document.addEventListener('onAddDssTab', myFunction())"}),e.jsx("br",{}),"DO: Angular: ",e.jsx(n.code,{children:''})]})]})]})]}),` -`,e.jsx(n.h3,{id:"tabs",children:"tabs"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"id"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID que se li assignarà al botó generat"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"."}),e.jsx(n.td,{children:"Text mostrat dins del botó"})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panel"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell que habilitarà el botó. Assegurar-se de què aquest valor es correspon amb dels panelID definits als components dss-tabs-panel."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna la tab marcada com seleccionat a l'iniciar el component. Es pot utilitzar aquests valor per tornar a carregar l'últim estat del component si aquest s'ha emmagatzemat amb l'esdeveniment onChangeDssTab"})]})]})]}),` -`,e.jsx(n.h3,{id:"dss-tabs-panel",children:"dss-tabs-panel"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"panelId"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID del panell. Cal assegurar-se d'assignar el mateix valor tant en el panell com en la seva tab corresponent."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"label"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Idealment, podríem utilitzar l'atribut aria-labelledby juntament amb el tab.id definit en el component anterior. De totes maneres, el fet de tractar amb dos components diferents provoca que el panell no sigui capaç de trobar l'ID en el seu shadow-root, això provoca un error d'accessibilitat. S'ha optat per una solució directa on podem assignar directament el label per cada panell. Suggerència: En lloc d'assignar un text manualment, cal assignar una lògica que, donat un id, trobi la tab corresponent entre les tabs i torni el valor del paràmetre del text, assegurant així que la tab i el label del panel tinguin el mateix contingut."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"linkedTo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"ID global del component. Cal assegurar-se què és el mateix definit a les dss-tabs-list."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Declara que el panell s'ha de mostrar en iniciar el component. Cal assegurar-se que només es declara un panell selected al codi."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasScroll"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habilita l'scroll dins del panell per a aquells casos en què cal delimitar una alçada màxima."})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#default",children:"Default"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-afegir-tab",children:"Amb afegir tab"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-icon-badge",children:"Amb icon badge"})}),` -`]}),` -`,e.jsx(n.h3,{id:"default",children:"Default"}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"amb-afegir-tab",children:"Amb afegir tab"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"amb-icon-badge",children:"Amb Icon Badge"}),` -`,e.jsxs(n.p,{children:[`S'ha afegit un slot dins del component per tal de poder afegir un badge dins de cada pestanya. -Per a implementar aquesta funcionalitat s'ha d'afegir el codi HTML dins del component `,e.jsx(n.code,{children:"dss-tabs-list"}),` -afegint la propietat `,e.jsx(n.em,{children:'slot="badge-tabID"'}),`, on tabID serà el mateix valor que s'ha definit prèviament -per a cada tab en la propietat tabs.`]}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(n.h3,{id:"amb-scroll",children:"Amb Scroll"}),` -`,e.jsx(n.p,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."}),` -`,e.jsx(t,{of:p}),` -`,e.jsx(n.h2,{id:"resolució-de-problemes",children:"Resolució de problemes"}),` -`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"Problema: Panells visibles a l'iniciar el component"}),e.jsx("br",{}),` -S'ha detectat que en alguns navegadors pot donar-se el cas que els panells es mostrin durant un instat abans que el component Lit apliqui les seves fulles d'estil.`,e.jsx("br",{}),` -`,e.jsx(n.strong,{children:"Solució:"}),e.jsx("br",{}),` -Afegir a la fulla d'estils de la seva pròpia pàgina/aplicació el següent codi CSS:`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:` :not(:defined) { - display: none; - } -`})}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.4"})}),e.jsx(n.td,{children:"S'ha modificat el comportament del component quan les pestanyes no caben en l'amplada del contenidor, afegint una funcionalitat de desplaçament mitjançant dos botons que apareixeran dinàmicament a l'esquerra o a la dreta de la llista de pestanyes."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'ha modificat la manera en què es visualitza la pestanya seleccionada per corregir un error pel qual la vora inferior de la pestanya seleccionada no es mostrava correctament en alguns navegadors. S'han afegit estils per als estats hover i active per alinear-los amb el disseny del DS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.1"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual els elements amb 'position: absolute' que se sortien del component no eren visibles.S' ha corregit un error pel qual la vora de la pestanya seleccionada no es mostrava correctament quan hi havia altres pestanyes amb una alçada més gran en tenir dues línies de text."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.8.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual no es añadia l'espaiat correcte entre els badges afegits via slot i el títol de la pestanya. Aquest marge s'assignarà automàticament quan s'afegeixi per slot els següents elements: badge, icon badge i notification badge. Per a qualsevol altre element el marge ha d'assignar-se manualment amb CSS."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.5.0"})}),e.jsx(n.td,{children:"S'ha corregit un error pel qual, en afegir noves tabs o navegar per diferents pàgines i tornar enrere, la tab activa no es marcava correctament en la capçalera."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.4.1"})}),e.jsx(n.td,{children:"S'ha afegit la possibilitat d'incloure un badge dins de cada pestanya."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.2.1"})}),e.jsx(n.td,{children:"Creat nou component que reemplaça a l'anterior per a complir amb requisits d'accessibilitat i solucionar els problemes en navegadors Firefox."})]})]})]})]})}function I(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(a,{...s})}):a(s)}export{I as default}; diff --git a/rc/assets/tabs.stories-wCufqI6O.js b/rc/assets/tabs.stories-wCufqI6O.js deleted file mode 100644 index 47760fc..0000000 --- a/rc/assets/tabs.stories-wCufqI6O.js +++ /dev/null @@ -1,530 +0,0 @@ -import{x as a}from"./lit-html-paDGiEfB.js";const M={title:"Components/Tabs",argTypes:{label:{name:"Tabs label: internal wai aria-label",control:{type:"text"}},addTabEnabled:{name:"Enable add tab",control:{type:"boolean"}},addTabText:{name:"Text per afegir tab",control:{type:"text"},if:{arg:"addTabEnabled",truthy:!0}}}},e={render:b=>{const d=[{id:"tab-1",text:"First tab",panel:"tabpanel-1",selected:!0},{id:"tab-2",text:"Second tab",panel:"tabpanel-2"},{id:"tab-3",text:"Last tab",panel:"tabpanel-3"}];return a` - ${b.addTabEnabled?a` - -
    - -

    Tab 1 content

    -
    - You can add style to this HTML so remove br tag from this - example :) in your final apps -
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - `:a` - -
    - -

    Tab 1 content

    -
    - You can add style to this HTML so remove br tag from this - example :) in your final apps -
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - `} - `},args:{label:"My tabs section",addTabEnabled:!1,addTabText:"Afegir tab"}},t={tags:["!dev"],render:()=>a` - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - `},s={tags:["!dev"],render:()=>a` - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - `},n={tags:["!dev"],render:()=>a` - - - - Indicar info - - - - - - Indicar info - - - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - `},l={tags:["!dev"],render:()=>a` - - - - Indicar info - - -
    - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    - -

    Tab 4 content

    -
    Include here your HTML
    -
    - -

    Tab 5 content

    -
    Include here your HTML
    -
    - -

    Tab 6 content

    -
    Include here your HTML
    -
    - -

    Tab 7 content

    -
    Include here your HTML
    -
    - -

    Tab 8 content

    -
    Include here your HTML
    -
    - -

    Tab 9 content

    -
    Include here your HTML
    -
    - -

    Tab 10 content

    -
    Include here your HTML
    -
    -
    - `};var o,p,i;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ - render: (args: any) => { - const tabsItem = [{ - id: 'tab-1', - text: 'First tab', - panel: 'tabpanel-1', - selected: true - }, { - id: 'tab-2', - text: 'Second tab', - panel: 'tabpanel-2' - }, { - id: 'tab-3', - text: 'Last tab', - panel: 'tabpanel-3' - }]; - return html\` - \${args.addTabEnabled ? html\` - -
    - -

    Tab 1 content

    -
    - You can add style to this HTML so remove br tag from this - example :) in your final apps -
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - \` : html\` - -
    - -

    Tab 1 content

    -
    - You can add style to this HTML so remove br tag from this - example :) in your final apps -
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - \`} - \`; - }, - args: { - label: 'My tabs section', - addTabEnabled: false, - addTabText: 'Afegir tab' - } -}`,...(i=(p=e.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};var r,x,c;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - \`; - } -}`,...(c=(x=t.parameters)==null?void 0:x.docs)==null?void 0:c.source}}};var T,h,u;s.parameters={...s.parameters,docs:{...(T=s.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - \`; - } -}`,...(u=(h=s.parameters)==null?void 0:h.docs)==null?void 0:u.source}}};var m,v,I;n.parameters={...n.parameters,docs:{...(m=n.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - Indicar info - - - - - - Indicar info - - - -
    - - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - - -

    Tab 2 content

    -
    Include here your HTML
    -
    - - -

    Tab 3 content

    -
    Include here your HTML
    -
    -
    - \`; - } -}`,...(I=(v=n.parameters)==null?void 0:v.docs)==null?void 0:I.source}}};var y,L,g;l.parameters={...l.parameters,docs:{...(y=l.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - Indicar info - - -
    - -

    Tab 1 content

    -
    You can add style to this HTML so remove br tag from this example :) in your final apps
    -
    - -

    Tab 2 content

    -
    Include here your HTML
    -
    - -

    Tab 3 content

    -
    Include here your HTML
    -
    - -

    Tab 4 content

    -
    Include here your HTML
    -
    - -

    Tab 5 content

    -
    Include here your HTML
    -
    - -

    Tab 6 content

    -
    Include here your HTML
    -
    - -

    Tab 7 content

    -
    Include here your HTML
    -
    - -

    Tab 8 content

    -
    Include here your HTML
    -
    - -

    Tab 9 content

    -
    Include here your HTML
    -
    - -

    Tab 10 content

    -
    Include here your HTML
    -
    -
    - \`; - } -}`,...(g=(L=l.parameters)==null?void 0:L.docs)==null?void 0:g.source}}};const S=["Playground","Default","AddTab","IconBadge","Scroll"],k=Object.freeze(Object.defineProperty({__proto__:null,AddTab:s,Default:t,IconBadge:n,Playground:e,Scroll:l,__namedExportsOrder:S,default:M},Symbol.toStringTag,{value:"Module"}));export{s as A,t as D,n as I,e as P,k as S,l as a}; diff --git a/rc/assets/task.doc-BWHRHNP9.js b/rc/assets/task.doc-B8LyBGOf.js similarity index 95% rename from rc/assets/task.doc-BWHRHNP9.js rename to rc/assets/task.doc-B8LyBGOf.js index d52fad4..0a189f2 100644 --- a/rc/assets/task.doc-BWHRHNP9.js +++ b/rc/assets/task.doc-B8LyBGOf.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as l,ah as n}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-D23YWUP3.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as l,ah as n}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-D23YWUP3.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/task.doc-B9_ocLAU.js b/rc/assets/task.doc-B9_ocLAU.js deleted file mode 100644 index af25e39..0000000 --- a/rc/assets/task.doc-B9_ocLAU.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-BtspbkrR.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component Task permet activar i/o visualitzar un tipus de tasca."}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-task"}),` com a classe base. Despres, el contingut de -la task está dins de la classe `,e.jsx(s.strong,{children:"dss-task__item"}),`. El títol es un subtítol, el -`,e.jsx(s.strong,{children:"dss-subtitle--sm"})," i té la classe també ",e.jsx(s.strong,{children:"dss-task__title"}),"."]}),` -`,e.jsxs(s.p,{children:["Per altra banda, el missatge del task es un ",e.jsx(s.strong,{children:"component Badge"}),`. Hi han tipus -de missatges definits, i tenen un color i estructura definides. Els `,e.jsx(s.strong,{children:`números -que apareixen són d'exemple`}),`, se'n poden posar altres mentre es mantingui -l'estructura del missatge.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Es poden utilitzar un mínim de 1 task i un màxim de 10 task."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-informacio",children:"Sense informació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-normal",children:"Resultat normal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-alterat",children:"Resultat alterat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-patologic",children:"Resultat patològic"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tasca-pendent",children:"Tasca pendent"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-caducades",children:"Receptes caducades"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-informació",children:"Sense informació"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"resultat-normal",children:"Resultat normal"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"resultat-alterat",children:"Resultat alterat"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"resultat-patològic",children:"Resultat patològic"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"tasca-pendent",children:"Tasca pendent"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"receptes-caducades",children:"Receptes caducades"}),` -`,e.jsx(n,{of:f})]})}function T(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{T as default}; diff --git a/rc/assets/task.doc-C5cygng2.js b/rc/assets/task.doc-C5cygng2.js deleted file mode 100644 index a62a76f..0000000 --- a/rc/assets/task.doc-C5cygng2.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-D23YWUP3.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component Task permet activar i/o visualitzar un tipus de tasca."}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-task"}),` com a classe base. Despres, el contingut de -la task está dins de la classe `,e.jsx(s.strong,{children:"dss-task__item"}),`. El títol es un subtítol, el -`,e.jsx(s.strong,{children:"dss-subtitle--sm"})," i té la classe també ",e.jsx(s.strong,{children:"dss-task__title"}),"."]}),` -`,e.jsxs(s.p,{children:["Per altra banda, el missatge del task es un ",e.jsx(s.strong,{children:"component Badge"}),`. Hi han tipus -de missatges definits, i tenen un color i estructura definides. Els `,e.jsx(s.strong,{children:`números -que apareixen són d'exemple`}),`, se'n poden posar altres mentre es mantingui -l'estructura del missatge.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Es poden utilitzar un mínim de 1 task i un màxim de 10 task."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-informacio",children:"Sense informació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-normal",children:"Resultat normal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-alterat",children:"Resultat alterat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-patologic",children:"Resultat patològic"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tasca-pendent",children:"Tasca pendent"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-caducades",children:"Receptes caducades"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-informació",children:"Sense informació"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"resultat-normal",children:"Resultat normal"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"resultat-alterat",children:"Resultat alterat"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"resultat-patològic",children:"Resultat patològic"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"tasca-pendent",children:"Tasca pendent"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"receptes-caducades",children:"Receptes caducades"}),` -`,e.jsx(n,{of:f})]})}function T(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{T as default}; diff --git a/rc/assets/task.doc-D8KbN72L.js b/rc/assets/task.doc-D8KbN72L.js deleted file mode 100644 index 60f7e6c..0000000 --- a/rc/assets/task.doc-D8KbN72L.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-D23YWUP3.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-DhY7bShc.js";import"./lit-html-B2eaWknC.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component Task permet activar i/o visualitzar un tipus de tasca."}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-task"}),` com a classe base. Despres, el contingut de -la task está dins de la classe `,e.jsx(s.strong,{children:"dss-task__item"}),`. El títol es un subtítol, el -`,e.jsx(s.strong,{children:"dss-subtitle--sm"})," i té la classe també ",e.jsx(s.strong,{children:"dss-task__title"}),"."]}),` -`,e.jsxs(s.p,{children:["Per altra banda, el missatge del task es un ",e.jsx(s.strong,{children:"component Badge"}),`. Hi han tipus -de missatges definits, i tenen un color i estructura definides. Els `,e.jsx(s.strong,{children:`números -que apareixen són d'exemple`}),`, se'n poden posar altres mentre es mantingui -l'estructura del missatge.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Es poden utilitzar un mínim de 1 task i un màxim de 10 task."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-informacio",children:"Sense informació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-normal",children:"Resultat normal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-alterat",children:"Resultat alterat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-patologic",children:"Resultat patològic"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tasca-pendent",children:"Tasca pendent"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-caducades",children:"Receptes caducades"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-informació",children:"Sense informació"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"resultat-normal",children:"Resultat normal"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"resultat-alterat",children:"Resultat alterat"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"resultat-patològic",children:"Resultat patològic"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"tasca-pendent",children:"Tasca pendent"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"receptes-caducades",children:"Receptes caducades"}),` -`,e.jsx(n,{of:f})]})}function T(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{T as default}; diff --git a/rc/assets/task.doc-DHvLzKXk.js b/rc/assets/task.doc-DHvLzKXk.js deleted file mode 100644 index e485010..0000000 --- a/rc/assets/task.doc-DHvLzKXk.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as r,ag as l,ah as n}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as d,P as c,N as o,R as u,a as x,b as h,c as j,E as m,d as p,e as f}from"./task.stories-BtspbkrR.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-element-vV9fql9z.js";import"./lit-html-paDGiEfB.js";function a(t){const s={a:"a",blockquote:"blockquote",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component Task permet activar i/o visualitzar un tipus de tasca."}),` -`,e.jsxs(s.p,{children:["Utilitzarem la classe ",e.jsx(s.strong,{children:"dss-task"}),` com a classe base. Despres, el contingut de -la task está dins de la classe `,e.jsx(s.strong,{children:"dss-task__item"}),`. El títol es un subtítol, el -`,e.jsx(s.strong,{children:"dss-subtitle--sm"})," i té la classe també ",e.jsx(s.strong,{children:"dss-task__title"}),"."]}),` -`,e.jsxs(s.p,{children:["Per altra banda, el missatge del task es un ",e.jsx(s.strong,{children:"component Badge"}),`. Hi han tipus -de missatges definits, i tenen un color i estructura definides. Els `,e.jsx(s.strong,{children:`números -que apareixen són d'exemple`}),`, se'n poden posar altres mentre es mantingui -l'estructura del missatge.`]}),` -`,e.jsx(s.p,{children:e.jsxs(s.em,{children:[e.jsx(s.strong,{children:"Nota:"})," Es poden utilitzar un mínim de 1 task i un màxim de 10 task."]})}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx("hr",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#sense-informacio",children:"Sense informació"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-normal",children:"Resultat normal"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-alterat",children:"Resultat alterat"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#resultat-patologic",children:"Resultat patològic"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tasca-pendent",children:"Tasca pendent"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#receptes-caducades",children:"Receptes caducades"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"sense-informació",children:"Sense informació"}),` -`,e.jsx(n,{of:o}),` -`,e.jsx(s.h3,{id:"resultat-normal",children:"Resultat normal"}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"resultat-alterat",children:"Resultat alterat"}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"resultat-patològic",children:"Resultat patològic"}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"tasca-pendent",children:"Tasca pendent"}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-entre-11-i-60-dies",children:"Receptes que caduquen entre 11 i 60 dies"}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"receptes-que-caduquen-en-menys-de-10-dies",children:"Receptes que caduquen en menys de 10 dies"}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"receptes-caducades",children:"Receptes caducades"}),` -`,e.jsx(n,{of:f})]})}function T(t={}){const{wrapper:s}={...i(),...t.components};return s?e.jsx(s,{...t,children:e.jsx(a,{...t})}):a(t)}export{T as default}; diff --git a/rc/assets/task.stories-BtspbkrR.js b/rc/assets/task.stories-BtspbkrR.js deleted file mode 100644 index 83f67e8..0000000 --- a/rc/assets/task.stories-BtspbkrR.js +++ /dev/null @@ -1,470 +0,0 @@ -import"./lit-element-vV9fql9z.js";import{x as s}from"./lit-html-paDGiEfB.js";const U={title:"Components/Task",argTypes:{title1:{name:"Títol 1º Task",control:{type:"text"}},type1:{name:"Tipus alerta 1º Task",control:{type:"select"},options:["Sense informació","Resultat normal","Resultat alterat","Resultat patològic","Tasca pendent","Receptes que caduquen entre 11 i 60 dies","Receptes que caduquen en menys de 10 dies","Receptes caducades"]},title2:{name:"Títol 2º Task",control:{type:"text"}},type2:{name:"Tipus alerta 2º Task",control:{type:"select"},options:["Sense informació","Resultat normal","Resultat alterat","Resultat patològic","Tasca pendent","Receptes que caduquen entre 11 i 60 dies","Receptes que caduquen en menys de 10 dies","Receptes caducades"]},title3:{name:"Títol 3º Task",control:{type:"text"}},type3:{name:"Tipus alerta 3º Task",control:{type:"select"},options:["Sense informació","Resultat normal","Resultat alterat","Resultat patològic","Tasca pendent","Receptes que caduquen entre 11 i 60 dies","Receptes que caduquen en menys de 10 dies","Receptes caducades"]}},parameters:{layout:"centered"}},n={render:d=>{let e="",a="",t="";const v=s`
    - 1 -
    `,m=s`
    - 1 - NOR -
    `,k=s`
    - 1 - ALT -
    `,g=s`
    - 1 - PAT -
    `,_=s`
    - 1 -
    `,y=s`
    - 1 - CAD 60 -
    `,h=s`
    - 1 - CAD 10 -
    `,R=s`
    - 1 - CAD -
    `;switch(d.type1){case"Sense informació":e=v;break;case"Resultat normal":e=m;break;case"Resultat alterat":e=k;break;case"Resultat patològic":e=g;break;case"Tasca pendent":e=_;break;case"Receptes que caduquen entre 11 i 60 dies":e=y;break;case"Receptes que caduquen en menys de 10 dies":e=h;break;case"Receptes caducades":e=R;break}switch(d.type2){case"Sense informació":a=v;break;case"Resultat normal":a=m;break;case"Resultat alterat":a=k;break;case"Resultat patològic":a=g;break;case"Tasca pendent":a=_;break;case"Receptes que caduquen entre 11 i 60 dies":a=y;break;case"Receptes que caduquen en menys de 10 dies":a=h;break;case"Receptes caducades":a=R;break}switch(d.type3){case"Sense informació":t=v;break;case"Resultat normal":t=m;break;case"Resultat alterat":t=k;break;case"Resultat patològic":t=g;break;case"Tasca pendent":t=_;break;case"Receptes que caduquen entre 11 i 60 dies":t=y;break;case"Receptes que caduquen en menys de 10 dies":t=h;break;case"Receptes caducades":t=R;break}return s`
    -
    - -
    -

    ${d.title1}

    - ${e} -
    -
    -
    - -
    -

    ${d.title2}

    - ${a} -
    -
    -
    - -
    -

    ${d.title3}

    - ${t} -
    -
    -
    `},args:{title1:"Title 1",type1:"Sense informació",title2:"Title 2",type2:"Sense informació",title3:"Title 3",type3:"Sense informació"}},i={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 -
    -
    -
    -
    - `},c={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - NOR -
    -
    -
    -
    - `},l={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - ALT -
    -
    -
    -
    - `},r={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - PAT -
    -
    -
    -
    - `},o={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 -
    -
    -
    -
    - `},u={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD 60 -
    -
    -
    -
    - `},p={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD 10 -
    -
    -
    -
    - `},b={tags:["!dev"],render:()=>s` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD -
    -
    -
    -
    - `};var T,q,f;n.parameters={...n.parameters,docs:{...(T=n.parameters)==null?void 0:T.docs,source:{originalSource:`{ - render: (args: any) => { - let badge1: any = ''; - let badge2: any = ''; - let badge3: any = ''; - const senseInfo = html\`
    - 1 -
    \`; - const resultatNormal = html\`
    - 1 - NOR -
    \`; - const resultatAlterat = html\`
    - 1 - ALT -
    \`; - const resultatPatologic = html\`
    - 1 - PAT -
    \`; - const tascaPendent = html\`
    - 1 -
    \`; - const caducaEntre = html\`
    - 1 - CAD 60 -
    \`; - const caducaMenys = html\`
    - 1 - CAD 10 -
    \`; - const caduca = html\`
    - 1 - CAD -
    \`; - switch (args.type1) { - case 'Sense informació': - badge1 = senseInfo; - break; - case 'Resultat normal': - badge1 = resultatNormal; - break; - case 'Resultat alterat': - badge1 = resultatAlterat; - break; - case 'Resultat patològic': - badge1 = resultatPatologic; - break; - case 'Tasca pendent': - badge1 = tascaPendent; - break; - case 'Receptes que caduquen entre 11 i 60 dies': - badge1 = caducaEntre; - break; - case 'Receptes que caduquen en menys de 10 dies': - badge1 = caducaMenys; - break; - case 'Receptes caducades': - badge1 = caduca; - break; - } - switch (args.type2) { - case 'Sense informació': - badge2 = senseInfo; - break; - case 'Resultat normal': - badge2 = resultatNormal; - break; - case 'Resultat alterat': - badge2 = resultatAlterat; - break; - case 'Resultat patològic': - badge2 = resultatPatologic; - break; - case 'Tasca pendent': - badge2 = tascaPendent; - break; - case 'Receptes que caduquen entre 11 i 60 dies': - badge2 = caducaEntre; - break; - case 'Receptes que caduquen en menys de 10 dies': - badge2 = caducaMenys; - break; - case 'Receptes caducades': - badge2 = caduca; - break; - } - switch (args.type3) { - case 'Sense informació': - badge3 = senseInfo; - break; - case 'Resultat normal': - badge3 = resultatNormal; - break; - case 'Resultat alterat': - badge3 = resultatAlterat; - break; - case 'Resultat patològic': - badge3 = resultatPatologic; - break; - case 'Tasca pendent': - badge3 = tascaPendent; - break; - case 'Receptes que caduquen entre 11 i 60 dies': - badge3 = caducaEntre; - break; - case 'Receptes que caduquen en menys de 10 dies': - badge3 = caducaMenys; - break; - case 'Receptes caducades': - badge3 = caduca; - break; - } - return html\`
    -
    - -
    -

    \${args.title1}

    - \${badge1} -
    -
    -
    - -
    -

    \${args.title2}

    - \${badge2} -
    -
    -
    - -
    -

    \${args.title3}

    - \${badge3} -
    -
    -
    \`; - }, - args: { - title1: 'Title 1', - type1: 'Sense informació', - title2: 'Title 2', - type2: 'Sense informació', - title3: 'Title 3', - type3: 'Sense informació' - } -}`,...(f=(q=n.parameters)==null?void 0:q.docs)==null?void 0:f.source}}};var S,A,P;i.parameters={...i.parameters,docs:{...(S=i.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 -
    -
    -
    -
    - \`; - } -}`,...(P=(A=i.parameters)==null?void 0:A.docs)==null?void 0:P.source}}};var w,D,N;c.parameters={...c.parameters,docs:{...(w=c.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - NOR -
    -
    -
    -
    - \`; - } -}`,...(N=(D=c.parameters)==null?void 0:D.docs)==null?void 0:N.source}}};var C,E,x;l.parameters={...l.parameters,docs:{...(C=l.parameters)==null?void 0:C.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - ALT -
    -
    -
    -
    - \`; - } -}`,...(x=(E=l.parameters)==null?void 0:E.docs)==null?void 0:x.source}}};var $,I,O;r.parameters={...r.parameters,docs:{...($=r.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - PAT -
    -
    -
    -
    - \`; - } -}`,...(O=(I=r.parameters)==null?void 0:I.docs)==null?void 0:O.source}}};var L,M,j;o.parameters={...o.parameters,docs:{...(L=o.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 -
    -
    -
    -
    - \`; - } -}`,...(j=(M=o.parameters)==null?void 0:M.docs)==null?void 0:j.source}}};var W,z,B;u.parameters={...u.parameters,docs:{...(W=u.parameters)==null?void 0:W.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD 60 -
    -
    -
    -
    - \`; - } -}`,...(B=(z=u.parameters)==null?void 0:z.docs)==null?void 0:B.source}}};var F,G,H;p.parameters={...p.parameters,docs:{...(F=p.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD 10 -
    -
    -
    -
    - \`; - } -}`,...(H=(G=p.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,Q;b.parameters={...b.parameters,docs:{...(J=b.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - -
    -

    Title

    - -
    - 1 - CAD -
    -
    -
    -
    - \`; - } -}`,...(Q=(K=b.parameters)==null?void 0:K.docs)==null?void 0:Q.source}}};const V=["Playground","NoInfo","ResultNormal","ResultWarning","ResultDanger","Pending","ExpireLate","ExpireSoon","Expired"],Z=Object.freeze(Object.defineProperty({__proto__:null,ExpireLate:u,ExpireSoon:p,Expired:b,NoInfo:i,Pending:o,Playground:n,ResultDanger:r,ResultNormal:c,ResultWarning:l,__namedExportsOrder:V,default:U},Symbol.toStringTag,{value:"Module"}));export{u as E,i as N,n as P,c as R,Z as S,l as a,r as b,o as c,p as d,b as e}; diff --git a/rc/assets/textarea.doc--AhI_iEj.js b/rc/assets/textarea.doc--AhI_iEj.js deleted file mode 100644 index 511dca7..0000000 --- a/rc/assets/textarea.doc--AhI_iEj.js +++ /dev/null @@ -1,76 +0,0 @@ -import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-3w4lINBO.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-textarea",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(a.p,{children:["El component ",e.jsx(a.strong,{children:"dss-textarea"}),` ofereix als usuaris una caixa de text per a un -formulari. Dins aquesta etiqueta hi afegirem el label i el textarea.`]}),` -`,e.jsx(a.p,{children:e.jsxs(a.em,{children:[e.jsx(a.strong,{children:"Important:"}),` Hem d'afegir al label i al textarea els seus respectius slots, -com es mostra a continuació.`]})}),` -`,e.jsx(i,{code:` - - - - -`}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`]}),` -`,e.jsx(a.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(a.p,{children:[`La mida del textarea es vertical i s'aplica en les files. Per defecte, el -aspecete o mida del textarea es el correponent a la mida mitjana dels -input.Sempre configurarem el component amb la quantitat de files que volem. -Les files donen la altura a la caixa de text. Per defecte, sempre posarem -`,e.jsx(a.code,{children:'rows="1"'}),"."]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(a.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(a.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(a.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(a.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(a.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(a.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(a.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(a.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsx(i,{code:` - - - - Descripció - -`}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(a.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(a.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(a.strong,{children:"placeholder"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(a.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(a.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(a.strong,{children:"maxLength"}),"."]}),` -`,e.jsx(r,{of:f}),` -`,e.jsx("br",{}),` -`,e.jsx(a.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(a.table,{children:[e.jsx(a.thead,{children:e.jsxs(a.tr,{children:[e.jsx(a.th,{children:"Versió"}),e.jsx(a.th,{children:"Canvis"})]})}),e.jsx(a.tbody,{children:e.jsxs(a.tr,{children:[e.jsx(a.td,{children:e.jsx(a.strong,{children:"2.0.0"})}),e.jsx(a.td,{children:"Refactor v2."})]})})]})]})}function R(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n(s)}export{R as default}; diff --git a/rc/assets/textarea.doc-D7vDnknj.js b/rc/assets/textarea.doc-D7vDnknj.js deleted file mode 100644 index cbf7cd1..0000000 --- a/rc/assets/textarea.doc-D7vDnknj.js +++ /dev/null @@ -1,76 +0,0 @@ -import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-BVFxAfFi.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-textarea",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(a.p,{children:["El component ",e.jsx(a.strong,{children:"dss-textarea"}),` ofereix als usuaris una caixa de text per a un -formulari. Dins aquesta etiqueta hi afegirem el label i el textarea.`]}),` -`,e.jsx(a.p,{children:e.jsxs(a.em,{children:[e.jsx(a.strong,{children:"Important:"}),` Hem d'afegir al label i al textarea els seus respectius slots, -com es mostra a continuació.`]})}),` -`,e.jsx(i,{code:` - - - - -`}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`]}),` -`,e.jsx(a.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(a.p,{children:[`La mida del textarea es vertical i s'aplica en les files. Per defecte, el -aspecete o mida del textarea es el correponent a la mida mitjana dels -input.Sempre configurarem el component amb la quantitat de files que volem. -Les files donen la altura a la caixa de text. Per defecte, sempre posarem -`,e.jsx(a.code,{children:'rows="1"'}),"."]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(a.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(a.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(a.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(a.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(a.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(a.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(a.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(a.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsx(i,{code:` - - - - Descripció - -`}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(a.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(a.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(a.strong,{children:"placeholder"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(a.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(a.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(a.strong,{children:"maxLength"}),"."]}),` -`,e.jsx(r,{of:f}),` -`,e.jsx("br",{}),` -`,e.jsx(a.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(a.table,{children:[e.jsx(a.thead,{children:e.jsxs(a.tr,{children:[e.jsx(a.th,{children:"Versió"}),e.jsx(a.th,{children:"Canvis"})]})}),e.jsx(a.tbody,{children:e.jsxs(a.tr,{children:[e.jsx(a.td,{children:e.jsx(a.strong,{children:"2.0.0"})}),e.jsx(a.td,{children:"Refactor v2."})]})})]})]})}function R(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n(s)}export{R as default}; diff --git a/rc/assets/textarea.doc-D8_HNKFr.js b/rc/assets/textarea.doc-D8_HNKFr.js deleted file mode 100644 index 5ad5ee6..0000000 --- a/rc/assets/textarea.doc-D8_HNKFr.js +++ /dev/null @@ -1,76 +0,0 @@ -import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-BVFxAfFi.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-textarea",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(a.p,{children:["El component ",e.jsx(a.strong,{children:"dss-textarea"}),` ofereix als usuaris una caixa de text per a un -formulari. Dins aquesta etiqueta hi afegirem el label i el textarea.`]}),` -`,e.jsx(a.p,{children:e.jsxs(a.em,{children:[e.jsx(a.strong,{children:"Important:"}),` Hem d'afegir al label i al textarea els seus respectius slots, -com es mostra a continuació.`]})}),` -`,e.jsx(i,{code:` - - - - -`}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`]}),` -`,e.jsx(a.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(a.p,{children:[`La mida del textarea es vertical i s'aplica en les files. Per defecte, el -aspecete o mida del textarea es el correponent a la mida mitjana dels -input.Sempre configurarem el component amb la quantitat de files que volem. -Les files donen la altura a la caixa de text. Per defecte, sempre posarem -`,e.jsx(a.code,{children:'rows="1"'}),"."]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(a.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(a.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(a.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(a.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(a.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(a.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(a.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(a.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsx(i,{code:` - - - - Descripció - -`}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(a.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(a.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(a.strong,{children:"placeholder"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(a.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(a.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(a.strong,{children:"maxLength"}),"."]}),` -`,e.jsx(r,{of:f}),` -`,e.jsx("br",{}),` -`,e.jsx(a.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(a.table,{children:[e.jsx(a.thead,{children:e.jsxs(a.tr,{children:[e.jsx(a.th,{children:"Versió"}),e.jsx(a.th,{children:"Canvis"})]})}),e.jsx(a.tbody,{children:e.jsxs(a.tr,{children:[e.jsx(a.td,{children:e.jsx(a.strong,{children:"2.0.0"})}),e.jsx(a.td,{children:"Refactor v2."})]})})]})]})}function R(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n(s)}export{R as default}; diff --git a/rc/assets/textarea.doc-LrFOkf3q.js b/rc/assets/textarea.doc-LrFOkf3q.js deleted file mode 100644 index 8f2e66e..0000000 --- a/rc/assets/textarea.doc-LrFOkf3q.js +++ /dev/null @@ -1,76 +0,0 @@ -import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-3w4lINBO.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .wrapper { - display: flex; - justify-content: center; - align-items: center; - gap: 30px; - } - `}),` -`,e.jsx(l,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(d,{}),e.jsx("dss-badge",{text:"dss-textarea",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsxs(a.p,{children:["El component ",e.jsx(a.strong,{children:"dss-textarea"}),` ofereix als usuaris una caixa de text per a un -formulari. Dins aquesta etiqueta hi afegirem el label i el textarea.`]}),` -`,e.jsx(a.p,{children:e.jsxs(a.em,{children:[e.jsx(a.strong,{children:"Important:"}),` Hem d'afegir al label i al textarea els seus respectius slots, -com es mostra a continuació.`]})}),` -`,e.jsx(i,{code:` - - - - -`}),` -`,e.jsxs(a.blockquote,{children:[` -`,e.jsx(a.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(r,{of:o}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(a.ul,{children:[` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#mida",children:"Mida"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#deshabilitat",children:"Deshabilitat"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#requerit",children:"Requerit"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#invalid",children:"Invalid"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-descripci%C3%B3",children:"Amb descripció"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-placeholder",children:"Amb placeholder"})}),` -`,e.jsx(a.li,{children:e.jsx(a.a,{href:"#amb-comptador",children:"Amb comptador"})}),` -`]}),` -`,e.jsx(a.h3,{id:"mida",children:"Mida"}),` -`,e.jsxs(a.p,{children:[`La mida del textarea es vertical i s'aplica en les files. Per defecte, el -aspecete o mida del textarea es el correponent a la mida mitjana dels -input.Sempre configurarem el component amb la quantitat de files que volem. -Les files donen la altura a la caixa de text. Per defecte, sempre posarem -`,e.jsx(a.code,{children:'rows="1"'}),"."]}),` -`,e.jsx(r,{of:h}),` -`,e.jsx(a.h3,{id:"deshabilitat",children:"Deshabilitat"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input es troba deshabilitat, cal afegir la propietat -`,e.jsx(a.strong,{children:"disabled"})," a l'input o textarea."]}),` -`,e.jsx(r,{of:x}),` -`,e.jsx(a.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsxs(a.p,{children:[`Per indicar que l'input o textarea es troba només lectura, cal afegir la -propietat `,e.jsx(a.strong,{children:"readOnly"})," a l'element."]}),` -`,e.jsx(r,{of:j}),` -`,e.jsx(a.h3,{id:"requerit",children:"Requerit"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és obligatori, cal afegir la propietat ",e.jsx(a.strong,{children:"required"}),` a -l'input.`]}),` -`,e.jsx(r,{of:p}),` -`,e.jsx(a.h2,{id:"invalid",children:"Invalid"}),` -`,e.jsxs(a.p,{children:["Per indicar que l'input és invalid, cal afegir la propietat ",e.jsx(a.strong,{children:"showError"}),` al -component amb la validació que sigui necessària.`]}),` -`,e.jsx(r,{of:m}),` -`,e.jsx(a.h3,{id:"amb-descripció",children:"Amb descripció"}),` -`,e.jsx(i,{code:` - - - - Descripció - -`}),` -`,e.jsx(r,{of:u}),` -`,e.jsx(a.h2,{id:"amb-placeholder",children:"Amb placeholder"}),` -`,e.jsxs(a.p,{children:["Per mostrar el placeholder cal indicar la propietat ",e.jsx(a.strong,{children:"placeholder"}),"."]}),` -`,e.jsx(r,{of:b}),` -`,e.jsx(a.h3,{id:"amb-comptador",children:"Amb comptador"}),` -`,e.jsxs(a.p,{children:["Per mostrar el comptador de carters cal indicar la propietat ",e.jsx(a.strong,{children:"maxLength"}),"."]}),` -`,e.jsx(r,{of:f}),` -`,e.jsx("br",{}),` -`,e.jsx(a.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(a.table,{children:[e.jsx(a.thead,{children:e.jsxs(a.tr,{children:[e.jsx(a.th,{children:"Versió"}),e.jsx(a.th,{children:"Canvis"})]})}),e.jsx(a.tbody,{children:e.jsxs(a.tr,{children:[e.jsx(a.td,{children:e.jsx(a.strong,{children:"2.0.0"})}),e.jsx(a.td,{children:"Refactor v2."})]})})]})]})}function R(s={}){const{wrapper:a}={...t(),...s.components};return a?e.jsx(a,{...s,children:e.jsx(n,{...s})}):n(s)}export{R as default}; diff --git a/rc/assets/textarea.doc-swPzunhd.js b/rc/assets/textarea.doc-qe2VKVN-.js similarity index 96% rename from rc/assets/textarea.doc-swPzunhd.js rename to rc/assets/textarea.doc-qe2VKVN-.js index 6a0a3bc..ce8875c 100644 --- a/rc/assets/textarea.doc-swPzunhd.js +++ b/rc/assets/textarea.doc-qe2VKVN-.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-BVFxAfFi.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as d,ak as i,ah as r}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as c,P as o,a as h,D as x,R as j,b as p,I as m,c as u,d as b,C as f}from"./textarea.stories-BVFxAfFi.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(s){const a={a:"a",blockquote:"blockquote",code:"code",em:"em",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .wrapper { display: flex; justify-content: center; diff --git a/rc/assets/textarea.stories-3w4lINBO.js b/rc/assets/textarea.stories-3w4lINBO.js deleted file mode 100644 index 1691a72..0000000 --- a/rc/assets/textarea.stories-3w4lINBO.js +++ /dev/null @@ -1,420 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const j={title:"Components/Textarea",argTypes:{size:{name:"Mida",control:{type:"radio"},options:["Mitjá","Petit"]},label:{name:"Label"},clearable:{name:"Accionable",control:{type:"boolean"}},icon:{name:"Mostrar icona",control:{type:"boolean"}},showError:{name:"Mostrar error",control:{type:"boolean"}},required:{name:"Camp requerit",control:{type:"boolean"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció",if:{arg:"showDescription"}},showMaxLength:{name:"Mostrar màxim de caràcters",control:{type:"boolean"}},maxLength:{name:"Màxim de caràcters",control:{type:"number"},if:{arg:"showMaxLength"}}},parameters:{layout:"centered"}},t={render:a=>a.required?e` - ${a.showMaxLength?e` - - - - ${a.showDescription?e`${a.description}`:e``} - - `:e` - - - - ${a.showDescription?e`${a.description}`:e``} - - `} - `:e` - ${a.showMaxLength?e` - - - - ${a.showDescription?e`${a.description}`:e``} - - `:e` - - - - ${a.showDescription?e`${a.description}`:e``} - - `} - `,args:{label:"Label",required:!1,showDescription:!1,description:"Help Text",showMaxLength:!1},argTypes:{size:{table:{disable:!0}},icon:{table:{disable:!0}},clearable:{table:{disable:!0}}}},r={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},s={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - -
    - `},l={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - -
    - `},n={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - -
    - `},o={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - -
    - `},d={tags:["!dev"],render:()=>e` -
    - - - - - - Descripció - - - - - - - - Descripció - -
    - `},x={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - - - - - - - - Descripció - - - - - - - - Descripció - -
    - `},i={tags:["!dev"],render:()=>e` -
    - - - - - - - - - - - - - - - - - - Descripció - - - - - - - - Descripció - -
    - `};var b,c,p;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - render: (args: any) => { - if (args.required) { - return html\` - \${args.showMaxLength ? html\` - - - - \${args.showDescription ? html\`\${args.description}\` : html\`\`} - - \` : html\` - - - - \${args.showDescription ? html\`\${args.description}\` : html\`\`} - - \`} - \`; - } - return html\` - \${args.showMaxLength ? html\` - - - - \${args.showDescription ? html\`\${args.description}\` : html\`\`} - - \` : html\` - - - - \${args.showDescription ? html\`\${args.description}\` : html\`\`} - - \`} - \`; - }, - args: { - label: 'Label', - required: false, - showDescription: false, - description: 'Help Text', - showMaxLength: false - }, - argTypes: { - size: { - table: { - disable: true - } - }, - icon: { - table: { - disable: true - } - }, - clearable: { - table: { - disable: true - } - } - } -}`,...(p=(c=t.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var w,h,u;r.parameters={...r.parameters,docs:{...(w=r.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(u=(h=r.parameters)==null?void 0:h.docs)==null?void 0:u.source}}};var m,g,v;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(v=(g=s.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var L,$,q;l.parameters={...l.parameters,docs:{...(L=l.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(q=($=l.parameters)==null?void 0:$.docs)==null?void 0:q.source}}};var D,E,y;n.parameters={...n.parameters,docs:{...(D=n.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(y=(E=n.parameters)==null?void 0:E.docs)==null?void 0:y.source}}};var M,P,S;o.parameters={...o.parameters,docs:{...(M=o.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(S=(P=o.parameters)==null?void 0:P.docs)==null?void 0:S.source}}};var f,H,O;d.parameters={...d.parameters,docs:{...(f=d.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - Descripció - - - - - - - - Descripció - -
    - \`; - } -}`,...(O=(H=d.parameters)==null?void 0:H.docs)==null?void 0:O.source}}};var V,T,_;x.parameters={...x.parameters,docs:{...(V=x.parameters)==null?void 0:V.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - - - - - - - - Descripció - - - - - - - - Descripció - -
    - \`; - } -}`,...(_=(T=x.parameters)==null?void 0:T.docs)==null?void 0:_.source}}};var z,C,R;i.parameters={...i.parameters,docs:{...(z=i.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - - - - - - - - Descripció - - - - - - - - Descripció - -
    - \`; - } -}`,...(R=(C=i.parameters)==null?void 0:C.docs)==null?void 0:R.source}}};const I=["Playground","Size","Disabled","ReadOnly","Required","Invalid","Description","Placeholder","Counter"],k=Object.freeze(Object.defineProperty({__proto__:null,Counter:i,Description:d,Disabled:s,Invalid:o,Placeholder:x,Playground:t,ReadOnly:l,Required:n,Size:r,__namedExportsOrder:I,default:j},Symbol.toStringTag,{value:"Module"}));export{i as C,s as D,o as I,t as P,l as R,k as S,r as a,n as b,d as c,x as d}; diff --git a/rc/assets/tile.doc-ybx6kZB2.js b/rc/assets/tile.doc-BdA7Yux-.js similarity index 97% rename from rc/assets/tile.doc-ybx6kZB2.js rename to rc/assets/tile.doc-BdA7Yux-.js index 5513e20..dd55879 100644 --- a/rc/assets/tile.doc-ybx6kZB2.js +++ b/rc/assets/tile.doc-BdA7Yux-.js @@ -1,4 +1,4 @@ -import{ae as e,af as l,ag as r,ah as i,ai as c}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as u,d as b,L as m,D as g,e as f,f as A,g as q}from"./tile.stories-ZKctoWct.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as l,ag as r,ah as i,ai as c}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as u,d as b,L as m,D as g,e as f,f as A,g as q}from"./tile.stories-ZKctoWct.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display:block; } diff --git a/rc/assets/tile.doc-COgwQU0F.js b/rc/assets/tile.doc-COgwQU0F.js deleted file mode 100644 index 9b97949..0000000 --- a/rc/assets/tile.doc-COgwQU0F.js +++ /dev/null @@ -1,77 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as c}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as u,d as b,L as m,D as g,e as f,f as A,g as q}from"./tile.stories-ZKctoWct.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display:block; - } - .innerZoomElementWrapper > div { - display: block !important; - } - .tiles-wrapper { - display: flex; - gap: 20px; - } - .tile-wrapper { - width: 320px; - } - `}),` -`,e.jsx(l,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-tile",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Les Tiles són components que tenen com a finalitat ressaltar un contingut per -interactuar amb ell (o no) mitjançant Icon Buttons o Switchs. També poden -contenir una icona informativa del contingut.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Tipus de component. Pot ser: ",e.jsx(n.strong,{children:"button"}),", ",e.jsx(n.strong,{children:"selector"}),", ",e.jsx(n.strong,{children:"action"})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasLogo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per una imatge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoURL"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"URL de la imatge que es mostrarà en lloc de la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tileTitle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Títol mostrat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"description"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Descripció mostrada."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil seleccionat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil deshabilitat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"heightAuto"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Elimina l'altura per defecte del component per ajustar-se dinàmicament al contingut disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"widget"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habiliteu l'opció del tile dins del widget, que afegeix un marge superior per alinear el component dins del contingut."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-switch",children:"Acció amb switch"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-icon-button",children:"Acció amb icon-button"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-checkbox",children:"Acció amb checkbox"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-logo",children:"Amb logo"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.h4,{id:"tipus-botó",children:"Tipus: Botó"}),` -`,e.jsx(n.p,{children:"Assigna al tile l'aparença d'un botó, amb els estats corresponents: hover, active i focus."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h4,{id:"tipus-selector",children:"Tipus: Selector"}),` -`,e.jsx(n.p,{children:"A més dels estats del botó afegeix un nou estat seleccionat quan es fa clic al component."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h4,{id:"tipus-acció",children:"Tipus: Acció"}),` -`,e.jsx(n.p,{children:`Permet afegir diferents accions mitjançant l'ús del slot="action"`}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-switch",children:"Acció amb switch"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-switch dins de l'slot:action."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-icon-button",children:"Acció amb icon-button"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-icon-button dins de l'slot:action. Podem afegir un o dos botons."}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-checkbox",children:"Acció amb checkbox"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-checkbox dins de l'slot:action."}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"amb-logo",children:"Amb logo"}),` -`,e.jsx(n.p,{children:"Sobreescriu la icona per una imatge. La mida de la imatge està limitada a la mateixa mida de la icona (48x48px)."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(n.p,{children:`Per deshabilitar el component hem de definir la propietat disabled. Les accions (switch, icon button i checkbox) s'han de -deshabilitar al seu propi selector ja que es troben fora del component i s'inclouen mitjançant un slot. -D'aquesta manera podem combinar una tile habilitat però amb l'acció deshabilitat.`}),` -`,e.jsx(i,{of:g}),` -`,e.jsx(i,{of:f}),` -`,e.jsx(i,{of:A}),` -`,e.jsx(i,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.6"})}),e.jsx(n.td,{children:"Afegides les propietats heightAuto i Widget per poder utilitzar el component a la col·lecció Widget."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'han actualitzat els colors dels textos en el títol i la descripció per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha desactivat l'amplada mínima definida per a les tiles perquè es pugui ajustar als requisits de disseny de les iniciatives."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.6.0"})}),e.jsx(n.td,{children:"S'ha creat una versió Web Component que inclou els tipus: botó, selector i acció."})]})]})]})]})}function B(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{B as default}; diff --git a/rc/assets/tile.doc-DTumE3Y-.js b/rc/assets/tile.doc-DTumE3Y-.js deleted file mode 100644 index 78bb544..0000000 --- a/rc/assets/tile.doc-DTumE3Y-.js +++ /dev/null @@ -1,77 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as c}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as u,d as b,L as m,D as g,e as f,f as A,g as q}from"./tile.stories-B54-bzCj.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display:block; - } - .innerZoomElementWrapper > div { - display: block !important; - } - .tiles-wrapper { - display: flex; - gap: 20px; - } - .tile-wrapper { - width: 320px; - } - `}),` -`,e.jsx(l,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-tile",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Les Tiles són components que tenen com a finalitat ressaltar un contingut per -interactuar amb ell (o no) mitjançant Icon Buttons o Switchs. També poden -contenir una icona informativa del contingut.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Tipus de component. Pot ser: ",e.jsx(n.strong,{children:"button"}),", ",e.jsx(n.strong,{children:"selector"}),", ",e.jsx(n.strong,{children:"action"})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasLogo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per una imatge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoURL"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"URL de la imatge que es mostrarà en lloc de la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tileTitle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Títol mostrat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"description"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Descripció mostrada."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil seleccionat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil deshabilitat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"heightAuto"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Elimina l'altura per defecte del component per ajustar-se dinàmicament al contingut disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"widget"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habiliteu l'opció del tile dins del widget, que afegeix un marge superior per alinear el component dins del contingut."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-switch",children:"Acció amb switch"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-icon-button",children:"Acció amb icon-button"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-checkbox",children:"Acció amb checkbox"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-logo",children:"Amb logo"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.h4,{id:"tipus-botó",children:"Tipus: Botó"}),` -`,e.jsx(n.p,{children:"Assigna al tile l'aparença d'un botó, amb els estats corresponents: hover, active i focus."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h4,{id:"tipus-selector",children:"Tipus: Selector"}),` -`,e.jsx(n.p,{children:"A més dels estats del botó afegeix un nou estat seleccionat quan es fa clic al component."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h4,{id:"tipus-acció",children:"Tipus: Acció"}),` -`,e.jsx(n.p,{children:`Permet afegir diferents accions mitjançant l'ús del slot="action"`}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-switch",children:"Acció amb switch"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-switch dins de l'slot:action."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-icon-button",children:"Acció amb icon-button"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-icon-button dins de l'slot:action. Podem afegir un o dos botons."}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-checkbox",children:"Acció amb checkbox"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-checkbox dins de l'slot:action."}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"amb-logo",children:"Amb logo"}),` -`,e.jsx(n.p,{children:"Sobreescriu la icona per una imatge. La mida de la imatge està limitada a la mateixa mida de la icona (48x48px)."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(n.p,{children:`Per deshabilitar el component hem de definir la propietat disabled. Les accions (switch, icon button i checkbox) s'han de -deshabilitar al seu propi selector ja que es troben fora del component i s'inclouen mitjançant un slot. -D'aquesta manera podem combinar una tile habilitat però amb l'acció deshabilitat.`}),` -`,e.jsx(i,{of:g}),` -`,e.jsx(i,{of:f}),` -`,e.jsx(i,{of:A}),` -`,e.jsx(i,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.6"})}),e.jsx(n.td,{children:"Afegides les propietats heightAuto i Widget per poder utilitzar el component a la col·lecció Widget."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'han actualitzat els colors dels textos en el títol i la descripció per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha desactivat l'amplada mínima definida per a les tiles perquè es pugui ajustar als requisits de disseny de les iniciatives."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.6.0"})}),e.jsx(n.td,{children:"S'ha creat una versió Web Component que inclou els tipus: botó, selector i acció."})]})]})]})]})}function B(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{B as default}; diff --git a/rc/assets/tile.doc-K2HmbeiR.js b/rc/assets/tile.doc-K2HmbeiR.js deleted file mode 100644 index 24aebe6..0000000 --- a/rc/assets/tile.doc-K2HmbeiR.js +++ /dev/null @@ -1,77 +0,0 @@ -import{ae as e,af as l,ag as r,ah as i,ai as c}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as u,d as b,L as m,D as g,e as f,f as A,g as q}from"./tile.stories-ZKctoWct.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(s){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...d(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display:block; - } - .innerZoomElementWrapper > div { - display: block !important; - } - .tiles-wrapper { - display: flex; - gap: 20px; - } - .tile-wrapper { - width: 320px; - } - `}),` -`,e.jsx(l,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-tile",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Les Tiles són components que tenen com a finalitat ressaltar un contingut per -interactuar amb ell (o no) mitjançant Icon Buttons o Switchs. També poden -contenir una icona informativa del contingut.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:o}),` -`,e.jsx(c,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Tipus de component. Pot ser: ",e.jsx(n.strong,{children:"button"}),", ",e.jsx(n.strong,{children:"selector"}),", ",e.jsx(n.strong,{children:"action"})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasLogo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per una imatge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoURL"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"URL de la imatge que es mostrarà en lloc de la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tileTitle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Títol mostrat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"description"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Descripció mostrada."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil seleccionat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil deshabilitat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"heightAuto"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Elimina l'altura per defecte del component per ajustar-se dinàmicament al contingut disponible."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"widget"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Habiliteu l'opció del tile dins del widget, que afegeix un marge superior per alinear el component dins del contingut."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-switch",children:"Acció amb switch"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-icon-button",children:"Acció amb icon-button"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-checkbox",children:"Acció amb checkbox"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-logo",children:"Amb logo"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.h4,{id:"tipus-botó",children:"Tipus: Botó"}),` -`,e.jsx(n.p,{children:"Assigna al tile l'aparença d'un botó, amb els estats corresponents: hover, active i focus."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(n.h4,{id:"tipus-selector",children:"Tipus: Selector"}),` -`,e.jsx(n.p,{children:"A més dels estats del botó afegeix un nou estat seleccionat quan es fa clic al component."}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(n.h4,{id:"tipus-acció",children:"Tipus: Acció"}),` -`,e.jsx(n.p,{children:`Permet afegir diferents accions mitjançant l'ús del slot="action"`}),` -`,e.jsx(i,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-switch",children:"Acció amb switch"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-switch dins de l'slot:action."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-icon-button",children:"Acció amb icon-button"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-icon-button dins de l'slot:action. Podem afegir un o dos botons."}),` -`,e.jsx(i,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-checkbox",children:"Acció amb checkbox"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-checkbox dins de l'slot:action."}),` -`,e.jsx(i,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"amb-logo",children:"Amb logo"}),` -`,e.jsx(n.p,{children:"Sobreescriu la icona per una imatge. La mida de la imatge està limitada a la mateixa mida de la icona (48x48px)."}),` -`,e.jsx(i,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(n.p,{children:`Per deshabilitar el component hem de definir la propietat disabled. Les accions (switch, icon button i checkbox) s'han de -deshabilitar al seu propi selector ja que es troben fora del component i s'inclouen mitjançant un slot. -D'aquesta manera podem combinar una tile habilitat però amb l'acció deshabilitat.`}),` -`,e.jsx(i,{of:g}),` -`,e.jsx(i,{of:f}),` -`,e.jsx(i,{of:A}),` -`,e.jsx(i,{of:q}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.12.6"})}),e.jsx(n.td,{children:"Afegides les propietats heightAuto i Widget per poder utilitzar el component a la col·lecció Widget."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'han actualitzat els colors dels textos en el títol i la descripció per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha desactivat l'amplada mínima definida per a les tiles perquè es pugui ajustar als requisits de disseny de les iniciatives."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.6.0"})}),e.jsx(n.td,{children:"S'ha creat una versió Web Component que inclou els tipus: botó, selector i acció."})]})]})]})]})}function B(s={}){const{wrapper:n}={...d(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(t,{...s})}):t(s)}export{B as default}; diff --git a/rc/assets/tile.doc-VB1pK4gH.js b/rc/assets/tile.doc-VB1pK4gH.js deleted file mode 100644 index 492e344..0000000 --- a/rc/assets/tile.doc-VB1pK4gH.js +++ /dev/null @@ -1,77 +0,0 @@ -import{ae as e,af as d,ag as r,ah as s,ai as l}from"./index-CcF9BsMG.js";import{u as c}from"./index-BlEr_OIe.js";import{S as a,P as o,T as h,a as x,b as j,A as p,c as b,d as u,L as m,D as g,e as f,f as A,g as y}from"./tile.stories-DQqyulSi.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...c(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display:block; - } - .innerZoomElementWrapper > div { - display: block !important; - } - .tiles-wrapper { - display: flex; - gap: 20px; - } - .tile-wrapper { - width: 320px; - } - `}),` -`,e.jsx(d,{of:a}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(r,{}),e.jsx("dss-badge",{text:"dss-tile",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Les Tiles són components que tenen com a finalitat ressaltar un contingut per -interactuar amb ell (o no) mitjançant Icon Buttons o Switchs. També poden -contenir una icona informativa del contingut.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(s,{of:o}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"type"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Requerida"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsxs(n.td,{children:["Tipus de component. Pot ser: ",e.jsx(n.strong,{children:"button"}),", ",e.jsx(n.strong,{children:"selector"}),", ",e.jsx(n.strong,{children:"action"})]})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Icona mostrada a l'esquerra."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasLogo"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Sobreescriu la icona mostrada per una imatge."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"logoURL"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"URL de la imatge que es mostrarà en lloc de la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"tileTitle"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Títol mostrat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"description"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Descripció mostrada."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"selected"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil seleccionat per defecte."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"disabled"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Assigna l'estil deshabilitat per defecte."})]})]})]}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-switch",children:"Acció amb switch"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-icon-button",children:"Acció amb icon-button"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#acci%C3%B3-amb-checkbox",children:"Acció amb checkbox"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#amb-logo",children:"Amb logo"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#disabled",children:"Disabled"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx(n.h4,{id:"tipus-botó",children:"Tipus: Botó"}),` -`,e.jsx(n.p,{children:"Assigna al tile l'aparença d'un botó, amb els estats corresponents: hover, active i focus."}),` -`,e.jsx(s,{of:h}),` -`,e.jsx(n.h4,{id:"tipus-selector",children:"Tipus: Selector"}),` -`,e.jsx(n.p,{children:"A més dels estats del botó afegeix un nou estat seleccionat quan es fa clic al component."}),` -`,e.jsx(s,{of:x}),` -`,e.jsx(n.h4,{id:"tipus-acció",children:"Tipus: Acció"}),` -`,e.jsx(n.p,{children:`Permet afegir diferents accions mitjançant l'ús del slot="action"`}),` -`,e.jsx(s,{of:j}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-switch",children:"Acció amb switch"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-switch dins de l'slot:action."}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-icon-button",children:"Acció amb icon-button"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-icon-button dins de l'slot:action. Podem afegir un o dos botons."}),` -`,e.jsx(s,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"acció-amb-checkbox",children:"Acció amb checkbox"}),` -`,e.jsx(n.p,{children:"Afegir el component dss-checkbox dins de l'slot:action."}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"amb-logo",children:"Amb logo"}),` -`,e.jsx(n.p,{children:"Sobreescriu la icona per una imatge. La mida de la imatge està limitada a la mateixa mida de la icona (48x48px)."}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(n.p,{children:`Per deshabilitar el component hem de definir la propietat disabled. Les accions (switch, icon button i checkbox) s'han de -deshabilitar al seu propi selector ja que es troben fora del component i s'inclouen mitjançant un slot. -D'aquesta manera podem combinar una tile habilitat però amb l'acció deshabilitat.`}),` -`,e.jsx(s,{of:g}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(s,{of:A}),` -`,e.jsx(s,{of:y}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Versió"}),e.jsx(n.th,{children:"Canvis"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"2.0.0"})}),e.jsx(n.td,{children:"Refactor v2."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.10.0"})}),e.jsx(n.td,{children:"S'han actualitzat els colors dels textos en el títol i la descripció per complir amb els requisits d'accessibilitat en totes les variants del component."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.9.0"})}),e.jsx(n.td,{children:"S'ha desactivat l'amplada mínima definida per a les tiles perquè es pugui ajustar als requisits de disseny de les iniciatives."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"1.6.0"})}),e.jsx(n.td,{children:"S'ha creat una versió Web Component que inclou els tipus: botó, selector i acció."})]})]})]})]})}function B(i={}){const{wrapper:n}={...c(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(t,{...i})}):t(i)}export{B as default}; diff --git a/rc/assets/tile.stories-B54-bzCj.js b/rc/assets/tile.stories-B54-bzCj.js deleted file mode 100644 index 310e3c7..0000000 --- a/rc/assets/tile.stories-B54-bzCj.js +++ /dev/null @@ -1,473 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const W={title:"Components/Tile",argTypes:{type:{name:"Tipus",control:{type:"select"},options:["button","selector","action"]},title:{name:"Títol",control:{type:"text"}},icon:{name:"Icona",control:{type:"text"}},showLogo:{name:"Mostrar logo",control:{type:"boolean"}},logoURL:{name:"Logo URL",control:{type:"text"},if:{arg:"showLogo"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció ",control:{type:"text"},if:{arg:"showDescription"}},action:{name:"Acció",control:{type:"select"},options:["Switch","Icon Buttons","Checkbox"],if:{arg:"type",eq:"action"}},buttonNumber:{name:"Quantitat de botons",control:{type:"select"},options:[1,2],if:{arg:"action",eq:"Icon Buttons"}},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},selected:{name:"Seleccionat",control:{type:"boolean"},if:{arg:"type",eq:"selector"}}},parameters:{layout:"centered"}},e={args:{type:"button",title:"Tile Title",icon:"add_box",showLogo:!1,logoURL:"https://placehold.jp/48x48.png",showDescription:!0,description:"Lorem ipsume dolor sit amae.",action:"Switch",buttonNumber:1,disabled:!1,selected:!1},render:s=>t` - - ${s.type==="action"?t` - ${s.action==="Switch"?t` - - - - `:s.action==="Icon Buttons"?t` -
    - ${Array.from({length:s.buttonNumber},()=>t` - - `)} -
    - `:s.action==="Checkbox"?t` - - `:null} - `:null} -
    - `},i={tags:["!dev"],render:()=>t` -
    - - -
    - `},n={tags:["!dev"],render:()=>t` -
    - - -
    - `},o={tags:["!dev"],render:()=>t` -
    - - -
    - `},l={tags:["!dev"],render:()=>t` -
    - - - - - -
    - `},a={tags:["!dev"],render:()=>t` -
    - -
    - -
    -
    - -
    - - -
    -
    -
    - `},c={tags:["!dev"],render:()=>t` -
    - - - -
    - `},d={tags:["!dev"],render:()=>t` -
    - - -
    - `},r={tags:["!dev"],render:()=>t` -
    - - - - -
    - `},p={tags:["!dev"],render:()=>t` -
    - - - - - - - - - - -
    - `},u={tags:["!dev"],render:()=>t` -
    - -
    - -
    -
    - -
    - -
    -
    -
    - `},b={tags:["!dev"],render:()=>t` -
    - - - - - - -
    - `};var m,g,y;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ - args: { - type: 'button', - title: 'Tile Title', - icon: 'add_box', - showLogo: false, - logoURL: 'https://placehold.jp/48x48.png', - showDescription: true, - description: 'Lorem ipsume dolor sit amae.', - action: 'Switch', - buttonNumber: 1, - disabled: false, - selected: false - }, - render: (args: any) => { - return html\` - - \${args.type === 'action' ? html\` - \${args.action === 'Switch' ? html\` - - - - \` : args.action === 'Icon Buttons' ? html\` -
    - \${Array.from({ - length: args.buttonNumber - }, () => html\` - - \`)} -
    - \` : args.action === 'Checkbox' ? html\` - - \` : null} - \` : null} -
    - \`; - } -}`,...(y=(g=e.parameters)==null?void 0:g.docs)==null?void 0:y.source}}};var h,v,T;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(T=(v=i.parameters)==null?void 0:v.docs)==null?void 0:T.source}}};var x,w,L;n.parameters={...n.parameters,docs:{...(x=n.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(L=(w=n.parameters)==null?void 0:w.docs)==null?void 0:L.source}}};var k,S,_;o.parameters={...o.parameters,docs:{...(k=o.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(_=(S=o.parameters)==null?void 0:S.docs)==null?void 0:_.source}}};var $,f,A;l.parameters={...l.parameters,docs:{...($=l.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(A=(f=l.parameters)==null?void 0:f.docs)==null?void 0:A.source}}};var D,B,R;a.parameters={...a.parameters,docs:{...(D=a.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    -
    - -
    - - -
    -
    -
    - \`; - } -}`,...(R=(B=a.parameters)==null?void 0:B.docs)==null?void 0:R.source}}};var U,z,I;c.parameters={...c.parameters,docs:{...(U=c.parameters)==null?void 0:U.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(I=(z=c.parameters)==null?void 0:z.docs)==null?void 0:I.source}}};var O,C,j;d.parameters={...d.parameters,docs:{...(O=d.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(j=(C=d.parameters)==null?void 0:C.docs)==null?void 0:j.source}}};var F,N,P;r.parameters={...r.parameters,docs:{...(F=r.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(P=(N=r.parameters)==null?void 0:N.docs)==null?void 0:P.source}}};var q,M,E;p.parameters={...p.parameters,docs:{...(q=p.parameters)==null?void 0:q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - -
    - \`; - } -}`,...(E=(M=p.parameters)==null?void 0:M.docs)==null?void 0:E.source}}};var Q,G,H;u.parameters={...u.parameters,docs:{...(Q=u.parameters)==null?void 0:Q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    -
    - -
    - -
    -
    -
    - \`; - } -}`,...(H=(G=u.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,V;b.parameters={...b.parameters,docs:{...(J=b.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - -
    - \`; - } -}`,...(V=(K=b.parameters)==null?void 0:K.docs)==null?void 0:V.source}}};const X=["Playground","TypeButton","TypeSelector","TypeAction","ActionSwitch","ActionIconButton","ActionCheckbox","Logo","DisabledButton","DisabledActionSwitch","DisabledActionIconButton","DisabledActionCheckbox"],Z=Object.freeze(Object.defineProperty({__proto__:null,ActionCheckbox:c,ActionIconButton:a,ActionSwitch:l,DisabledActionCheckbox:b,DisabledActionIconButton:u,DisabledActionSwitch:p,DisabledButton:r,Logo:d,Playground:e,TypeAction:o,TypeButton:i,TypeSelector:n,__namedExportsOrder:X,default:W},Symbol.toStringTag,{value:"Module"}));export{l as A,r as D,d as L,e as P,Z as S,i as T,n as a,o as b,a as c,c as d,p as e,u as f,b as g}; diff --git a/rc/assets/tile.stories-DQqyulSi.js b/rc/assets/tile.stories-DQqyulSi.js deleted file mode 100644 index cbef134..0000000 --- a/rc/assets/tile.stories-DQqyulSi.js +++ /dev/null @@ -1,455 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const W={title:"Components/Tile",argTypes:{type:{name:"Tipus",control:{type:"select"},options:["button","selector","action"]},title:{name:"Títol",control:{type:"text"}},icon:{name:"Icona",control:{type:"text"}},showLogo:{name:"Mostrar logo",control:{type:"boolean"}},logoURL:{name:"Logo URL",control:{type:"text"},if:{arg:"showLogo"}},showDescription:{name:"Mostrar descripció",control:{type:"boolean"}},description:{name:"Descripció ",control:{type:"text"},if:{arg:"showDescription"}},action:{name:"Acció",control:{type:"select"},options:["Switch","Icon Buttons","Checkbox"]},buttonNumber:{name:"Quantitat de botons",control:{type:"select"},options:[1,2],if:{arg:"action",eq:"Icon Buttons"}},disabled:{name:"Deshabil·litar",control:{type:"boolean"}},selected:{name:"Seleccionat",control:{type:"boolean"},if:{arg:"type",eq:"selector"}}},parameters:{layout:"centered"}},e={args:{type:"button",title:"Tile Title",icon:"add_box",showLogo:!1,logoURL:"https://placehold.jp/48x48.png",showDescription:!0,description:"Lorem ipsume dolor sit amae.",action:"Switch",buttonNumber:1,disabled:!1,selected:!1},render:s=>t` - - ${s.type==="action"?t` - ${s.action==="Switch"?t` - - `:s.action==="Icon Buttons"?t` -
    - ${Array.from({length:s.buttonNumber},()=>t` - - `)} -
    - `:s.action==="Checkbox"?t` - - `:null} - `:null} -
    - `},i={tags:["!dev"],render:()=>t` -
    - - -
    - `},n={tags:["!dev"],render:()=>t` -
    - - -
    - `},o={tags:["!dev"],render:()=>t` -
    - - -
    - `},l={tags:["!dev"],render:()=>t` -
    - - - -
    - `},a={tags:["!dev"],render:()=>t` -
    - -
    - -
    -
    - -
    - - -
    -
    -
    - `},d={tags:["!dev"],render:()=>t` -
    - - - -
    - `},c={tags:["!dev"],render:()=>t` -
    - - -
    - `},r={tags:["!dev"],render:()=>t` -
    - - - - -
    - `},p={tags:["!dev"],render:()=>t` -
    - - - - - - -
    - `},u={tags:["!dev"],render:()=>t` -
    - -
    - -
    -
    - -
    - -
    -
    -
    - `},b={tags:["!dev"],render:()=>t` -
    - - - - - - -
    - `};var m,g,y;e.parameters={...e.parameters,docs:{...(m=e.parameters)==null?void 0:m.docs,source:{originalSource:`{ - args: { - type: 'button', - title: 'Tile Title', - icon: 'add_box', - showLogo: false, - logoURL: 'https://placehold.jp/48x48.png', - showDescription: true, - description: 'Lorem ipsume dolor sit amae.', - action: 'Switch', - buttonNumber: 1, - disabled: false, - selected: false - }, - render: (args: any) => { - return html\` - - \${args.type === 'action' ? html\` - \${args.action === 'Switch' ? html\` - - \` : args.action === 'Icon Buttons' ? html\` -
    - \${Array.from({ - length: args.buttonNumber - }, () => html\` - - \`)} -
    - \` : args.action === 'Checkbox' ? html\` - - \` : null} - \` : null} -
    - \`; - } -}`,...(y=(g=e.parameters)==null?void 0:g.docs)==null?void 0:y.source}}};var h,v,T;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(T=(v=i.parameters)==null?void 0:v.docs)==null?void 0:T.source}}};var x,L,w;n.parameters={...n.parameters,docs:{...(x=n.parameters)==null?void 0:x.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(w=(L=n.parameters)==null?void 0:L.docs)==null?void 0:w.source}}};var k,S,_;o.parameters={...o.parameters,docs:{...(k=o.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(_=(S=o.parameters)==null?void 0:S.docs)==null?void 0:_.source}}};var $,A,f;l.parameters={...l.parameters,docs:{...($=l.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(f=(A=l.parameters)==null?void 0:A.docs)==null?void 0:f.source}}};var D,B,R;a.parameters={...a.parameters,docs:{...(D=a.parameters)==null?void 0:D.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    -
    - -
    - - -
    -
    -
    - \`; - } -}`,...(R=(B=a.parameters)==null?void 0:B.docs)==null?void 0:R.source}}};var U,z,I;d.parameters={...d.parameters,docs:{...(U=d.parameters)==null?void 0:U.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(I=(z=d.parameters)==null?void 0:z.docs)==null?void 0:I.source}}};var O,C,j;c.parameters={...c.parameters,docs:{...(O=c.parameters)==null?void 0:O.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - -
    - \`; - } -}`,...(j=(C=c.parameters)==null?void 0:C.docs)==null?void 0:j.source}}};var F,N,P;r.parameters={...r.parameters,docs:{...(F=r.parameters)==null?void 0:F.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(P=(N=r.parameters)==null?void 0:N.docs)==null?void 0:P.source}}};var M,q,E;p.parameters={...p.parameters,docs:{...(M=p.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - -
    - \`; - } -}`,...(E=(q=p.parameters)==null?void 0:q.docs)==null?void 0:E.source}}};var Q,G,H;u.parameters={...u.parameters,docs:{...(Q=u.parameters)==null?void 0:Q.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - -
    -
    - -
    - -
    -
    -
    - \`; - } -}`,...(H=(G=u.parameters)==null?void 0:G.docs)==null?void 0:H.source}}};var J,K,V;b.parameters={...b.parameters,docs:{...(J=b.parameters)==null?void 0:J.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - -
    - \`; - } -}`,...(V=(K=b.parameters)==null?void 0:K.docs)==null?void 0:V.source}}};const X=["Playground","TypeButton","TypeSelector","TypeAction","ActionSwitch","ActionIconButton","ActionCheckbox","Logo","DisabledButton","DisabledActionSwitch","DisabledActionIconButton","DisabledActionCheckbox"],Z=Object.freeze(Object.defineProperty({__proto__:null,ActionCheckbox:d,ActionIconButton:a,ActionSwitch:l,DisabledActionCheckbox:b,DisabledActionIconButton:u,DisabledActionSwitch:p,DisabledButton:r,Logo:c,Playground:e,TypeAction:o,TypeButton:i,TypeSelector:n,__namedExportsOrder:X,default:W},Symbol.toStringTag,{value:"Module"}));export{l as A,r as D,c as L,e as P,Z as S,i as T,n as a,o as b,a as c,d,p as e,u as f,b as g}; diff --git a/rc/assets/timepicker.doc-6ra-k3lI.js b/rc/assets/timepicker.doc-BDRNi_Du.js similarity index 98% rename from rc/assets/timepicker.doc-6ra-k3lI.js rename to rc/assets/timepicker.doc-BDRNi_Du.js index e69863f..2190037 100644 --- a/rc/assets/timepicker.doc-6ra-k3lI.js +++ b/rc/assets/timepicker.doc-BDRNi_Du.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-h5cFKlkA.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-h5cFKlkA.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { display: block !important; } diff --git a/rc/assets/timepicker.doc-BUtv4BsO.js b/rc/assets/timepicker.doc-BUtv4BsO.js deleted file mode 100644 index c861cc0..0000000 --- a/rc/assets/timepicker.doc-BUtv4BsO.js +++ /dev/null @@ -1,75 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-ynJ6K59N.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - .container--flex { - display: flex; - justify-content: flex-start; - gap: 30px; - } - .container--dropdown { - height: 330px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-timepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component Timepicker permet seleccionar una hora de diverses maneres. Podem fer la selecció de manera manual introduint -els valors per a hora i minuts a través de teclat o seleccionant els valors disponibles en un dropdown amb dos formats: llistat -d'hores o selecció individual d'hores i minuts.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"inputSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"lg"}),e.jsx(s.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"helpText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeFormatText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Format d'hora no vàlid'"}),e.jsx(s.td,{children:"Missatge d’error que serà mostrat quan l’usuari escrigui un format d’hora incorrecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeOptionText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Opció de temps no disponible'"}),e.jsx(s.td,{children:"Missatge d'error mostrat quan l'usuari escrigui una hora que no s'inclou en les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"invalid"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"showDropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cal utilitzar aquesta propietat si volem que el dropdown de selecció d'hores es mostri obert per defecte. Nota: aquesta propietat no fa que el desplegable sempre estigui obert."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minutesRange"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"0"}),e.jsx(s.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"23"}),e.jsx(s.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"customTimeListOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"DssTimepickerOption[]"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]})]})]}),` -`,e.jsx(s.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"value"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onTimepickerChange"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que llançarà l'hora seleccionada per l'usuari bé en introduir una hora correcta per teclat o bé en triar-la a través de les opcions del dropdown. La propietat 'detail' d'aquest custom event inclourà tant el valor seleccionat en l'input com el seu estat ('VALID' o 'INVALID') en funció de les validacions internes del component."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-list",children:"Dropdown List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-custom-list",children:"Dropdown Custom List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-manual",children:"Dropdown Manual"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(s.p,{children:"Timepicker simple amb opcions de mida i text d’ajuda."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Timepicker deshabilitat."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(s.p,{children:"Només lectura amb valor predefinit."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"dropdown-list",children:"Dropdown List"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus llista per defecte o amb opcions definides per delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"dropdown-custom-list",children:"Dropdown Custom List"}),` -`,e.jsx(s.p,{children:"Timpicker de tipus llista amb llistat d’opcions personalitzar."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"dropdown-manual",children:"Dropdown Manual"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus manual per defecte o amb opcions definides per a delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"navegació-per-teclat",children:"Navegació per teclat"}),` -`,e.jsxs(s.p,{children:["La navegació per teclat s'ha definit seguint els patrons de accessibilidad definits a ",e.jsx(s.a,{href:"https://www.w3.org/WAI/ARIA/apg/patterns/",rel:"nofollow",children:"WAI Patterns"}),` -per a elements de tipus combobox (dropdown) i radio buttons.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Tab"})}),": Si l'usuari està fora del timepicker, es navegarà entre els elements de la pàgina. Un cop s'entra al timepicker s'habilitarà l'estat focus de l'input. Si el dropdown està obert, mitjançant la tecla tab els usuaris es desplaçaran a l'opció seleccionada de la llista d'hores o a l'opció disponible per defecte."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Enter"})})," o ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"Space"})}),": Si l'usuari està posicionat en l'input i el dropdown està habilitat utilitzant les tecles enter o espai aquest serà desplegat amb les llistes d'opcions. Si l'usuari està situat sobre una de les opcions disponibles en el dropdown en fer servir la tecla Enter aquesta, serà seleccionada i passarà a mostrar-se com el valor de l'input. En el moment que es fa la selecció el dropdown es tancarà."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Esc"})}),": Si l’usuari està posicionat en l’input i el dropdown està habilitat, aquest serà tancat."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Down Arrow"})}),": Si l'usuari està posicionat en eles opcions del dropdown, l'usuari anirà desplaçant-se cap a baix una a una. En el cas que s'arribi a l'última opció, el focus passarà a a la primera opció del desplegable."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Up Arrow"})}),": Si l’usuari està posicionat sobre les opcions dins del dropdown, l'usuari anirà desplaçant-se cap amunt una a una. En el cas que l'opció amb focus sigui la primera, el focus passarà a l'última opció del desplegable."]}),` -`]})]})}function k(i={}){const{wrapper:s}={...t(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{k as default}; diff --git a/rc/assets/timepicker.doc-Bz9z8Tzz.js b/rc/assets/timepicker.doc-Bz9z8Tzz.js deleted file mode 100644 index f35cc3c..0000000 --- a/rc/assets/timepicker.doc-Bz9z8Tzz.js +++ /dev/null @@ -1,75 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-ynJ6K59N.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - .container--flex { - display: flex; - justify-content: flex-start; - gap: 30px; - } - .container--dropdown { - height: 330px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-timepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component Timepicker permet seleccionar una hora de diverses maneres. Podem fer la selecció de manera manual introduint -els valors per a hora i minuts a través de teclat o seleccionant els valors disponibles en un dropdown amb dos formats: llistat -d'hores o selecció individual d'hores i minuts.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"inputSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"lg"}),e.jsx(s.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"helpText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeFormatText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Format d'hora no vàlid'"}),e.jsx(s.td,{children:"Missatge d’error que serà mostrat quan l’usuari escrigui un format d’hora incorrecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeOptionText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Opció de temps no disponible'"}),e.jsx(s.td,{children:"Missatge d'error mostrat quan l'usuari escrigui una hora que no s'inclou en les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"invalid"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"showDropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cal utilitzar aquesta propietat si volem que el dropdown de selecció d'hores es mostri obert per defecte. Nota: aquesta propietat no fa que el desplegable sempre estigui obert."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minutesRange"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"0"}),e.jsx(s.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"23"}),e.jsx(s.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"customTimeListOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"DssTimepickerOption[]"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]})]})]}),` -`,e.jsx(s.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"value"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onTimepickerChange"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que llançarà l'hora seleccionada per l'usuari bé en introduir una hora correcta per teclat o bé en triar-la a través de les opcions del dropdown. La propietat 'detail' d'aquest custom event inclourà tant el valor seleccionat en l'input com el seu estat ('VALID' o 'INVALID') en funció de les validacions internes del component."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-list",children:"Dropdown List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-custom-list",children:"Dropdown Custom List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-manual",children:"Dropdown Manual"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(s.p,{children:"Timepicker simple amb opcions de mida i text d’ajuda."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Timepicker deshabilitat."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(s.p,{children:"Només lectura amb valor predefinit."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"dropdown-list",children:"Dropdown List"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus llista per defecte o amb opcions definides per delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"dropdown-custom-list",children:"Dropdown Custom List"}),` -`,e.jsx(s.p,{children:"Timpicker de tipus llista amb llistat d’opcions personalitzar."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"dropdown-manual",children:"Dropdown Manual"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus manual per defecte o amb opcions definides per a delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"navegació-per-teclat",children:"Navegació per teclat"}),` -`,e.jsxs(s.p,{children:["La navegació per teclat s'ha definit seguint els patrons de accessibilidad definits a ",e.jsx(s.a,{href:"https://www.w3.org/WAI/ARIA/apg/patterns/",rel:"nofollow",children:"WAI Patterns"}),` -per a elements de tipus combobox (dropdown) i radio buttons.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Tab"})}),": Si l'usuari està fora del timepicker, es navegarà entre els elements de la pàgina. Un cop s'entra al timepicker s'habilitarà l'estat focus de l'input. Si el dropdown està obert, mitjançant la tecla tab els usuaris es desplaçaran a l'opció seleccionada de la llista d'hores o a l'opció disponible per defecte."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Enter"})})," o ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"Space"})}),": Si l'usuari està posicionat en l'input i el dropdown està habilitat utilitzant les tecles enter o espai aquest serà desplegat amb les llistes d'opcions. Si l'usuari està situat sobre una de les opcions disponibles en el dropdown en fer servir la tecla Enter aquesta, serà seleccionada i passarà a mostrar-se com el valor de l'input. En el moment que es fa la selecció el dropdown es tancarà."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Esc"})}),": Si l’usuari està posicionat en l’input i el dropdown està habilitat, aquest serà tancat."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Down Arrow"})}),": Si l'usuari està posicionat en eles opcions del dropdown, l'usuari anirà desplaçant-se cap a baix una a una. En el cas que s'arribi a l'última opció, el focus passarà a a la primera opció del desplegable."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Up Arrow"})}),": Si l’usuari està posicionat sobre les opcions dins del dropdown, l'usuari anirà desplaçant-se cap amunt una a una. En el cas que l'opció amb focus sigui la primera, el focus passarà a l'última opció del desplegable."]}),` -`]})]})}function k(i={}){const{wrapper:s}={...t(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{k as default}; diff --git a/rc/assets/timepicker.doc-CzTBUMKv.js b/rc/assets/timepicker.doc-CzTBUMKv.js deleted file mode 100644 index 3c49753..0000000 --- a/rc/assets/timepicker.doc-CzTBUMKv.js +++ /dev/null @@ -1,75 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-h5cFKlkA.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - .container--flex { - display: flex; - justify-content: flex-start; - gap: 30px; - } - .container--dropdown { - height: 330px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-timepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component Timepicker permet seleccionar una hora de diverses maneres. Podem fer la selecció de manera manual introduint -els valors per a hora i minuts a través de teclat o seleccionant els valors disponibles en un dropdown amb dos formats: llistat -d'hores o selecció individual d'hores i minuts.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"inputSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"lg"}),e.jsx(s.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"helpText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeFormatText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Format d'hora no vàlid'"}),e.jsx(s.td,{children:"Missatge d’error que serà mostrat quan l’usuari escrigui un format d’hora incorrecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeOptionText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Opció de temps no disponible'"}),e.jsx(s.td,{children:"Missatge d'error mostrat quan l'usuari escrigui una hora que no s'inclou en les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"invalid"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"showDropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cal utilitzar aquesta propietat si volem que el dropdown de selecció d'hores es mostri obert per defecte. Nota: aquesta propietat no fa que el desplegable sempre estigui obert."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minutesRange"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"0"}),e.jsx(s.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"23"}),e.jsx(s.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"customTimeListOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"DssTimepickerOption[]"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]})]})]}),` -`,e.jsx(s.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"value"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onTimepickerChange"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que llançarà l'hora seleccionada per l'usuari bé en introduir una hora correcta per teclat o bé en triar-la a través de les opcions del dropdown. La propietat 'detail' d'aquest custom event inclourà tant el valor seleccionat en l'input com el seu estat ('VALID' o 'INVALID') en funció de les validacions internes del component."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-list",children:"Dropdown List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-custom-list",children:"Dropdown Custom List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-manual",children:"Dropdown Manual"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(s.p,{children:"Timepicker simple amb opcions de mida i text d’ajuda."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Timepicker deshabilitat."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(s.p,{children:"Només lectura amb valor predefinit."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"dropdown-list",children:"Dropdown List"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus llista per defecte o amb opcions definides per delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"dropdown-custom-list",children:"Dropdown Custom List"}),` -`,e.jsx(s.p,{children:"Timpicker de tipus llista amb llistat d’opcions personalitzar."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"dropdown-manual",children:"Dropdown Manual"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus manual per defecte o amb opcions definides per a delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"navegació-per-teclat",children:"Navegació per teclat"}),` -`,e.jsxs(s.p,{children:["La navegació per teclat s'ha definit seguint els patrons de accessibilidad definits a ",e.jsx(s.a,{href:"https://www.w3.org/WAI/ARIA/apg/patterns/",rel:"nofollow",children:"WAI Patterns"}),` -per a elements de tipus combobox (dropdown) i radio buttons.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Tab"})}),": Si l'usuari està fora del timepicker, es navegarà entre els elements de la pàgina. Un cop s'entra al timepicker s'habilitarà l'estat focus de l'input. Si el dropdown està obert, mitjançant la tecla tab els usuaris es desplaçaran a l'opció seleccionada de la llista d'hores o a l'opció disponible per defecte."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Enter"})})," o ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"Space"})}),": Si l'usuari està posicionat en l'input i el dropdown està habilitat utilitzant les tecles enter o espai aquest serà desplegat amb les llistes d'opcions. Si l'usuari està situat sobre una de les opcions disponibles en el dropdown en fer servir la tecla Enter aquesta, serà seleccionada i passarà a mostrar-se com el valor de l'input. En el moment que es fa la selecció el dropdown es tancarà."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Esc"})}),": Si l’usuari està posicionat en l’input i el dropdown està habilitat, aquest serà tancat."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Down Arrow"})}),": Si l'usuari està posicionat en eles opcions del dropdown, l'usuari anirà desplaçant-se cap a baix una a una. En el cas que s'arribi a l'última opció, el focus passarà a a la primera opció del desplegable."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Up Arrow"})}),": Si l’usuari està posicionat sobre les opcions dins del dropdown, l'usuari anirà desplaçant-se cap amunt una a una. En el cas que l'opció amb focus sigui la primera, el focus passarà a l'última opció del desplegable."]}),` -`]})]})}function k(i={}){const{wrapper:s}={...t(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{k as default}; diff --git a/rc/assets/timepicker.doc-DinxTz5i.js b/rc/assets/timepicker.doc-DinxTz5i.js deleted file mode 100644 index 34b69db..0000000 --- a/rc/assets/timepicker.doc-DinxTz5i.js +++ /dev/null @@ -1,75 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as a}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as o,P as c,B as h,D as p,R as x,a as j,C as u,b as m}from"./timepicker.stories-h5cFKlkA.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(i){const s={a:"a",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - display: block !important; - } - .innerZoomElementWrapper div { - width: 100% !important; - } - .css-10skpf4 > * { - zoom: 0 !important; - } - .container--flex { - display: flex; - justify-content: flex-start; - gap: 30px; - } - .container--dropdown { - height: 330px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-timepicker",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`El component Timepicker permet seleccionar una hora de diverses maneres. Podem fer la selecció de manera manual introduint -els valors per a hora i minuts a través de teclat o seleccionant els valors disponibles en un dropdown amb dos formats: llistat -d'hores o selecció individual d'hores i minuts.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"inputSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"lg"}),e.jsx(s.td,{children:"Mida de l'input: Pot tenir els valors 'md' o 'lg'. Per defecte tindrà sempre el valor 'lg'"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"helpText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text d’ajuda que es mostrarà sota del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeFormatText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Format d'hora no vàlid'"}),e.jsx(s.td,{children:"Missatge d’error que serà mostrat quan l’usuari escrigui un format d’hora incorrecte."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"errorTimeOptionText"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Opció de temps no disponible'"}),e.jsx(s.td,{children:"Missatge d'error mostrat quan l'usuari escrigui una hora que no s'inclou en les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"invalid"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"En definir aquesta propietat el component s mostrarà amb un estil d’error per tal de diferenciar-los de la resta."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Fa que el timipicker mostri un dropdown desplegable en el qual podrem escollir una hora. Aquest dropdown té dues variants diferents: - 'list': mostrarà un llistat d’hores disponibles. - 'manual': permet seleccionar l’hora i els minuts per separat."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"showDropdown"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Cal utilitzar aquesta propietat si volem que el dropdown de selecció d'hores es mostri obert per defecte. Nota: aquesta propietat no fa que el desplegable sempre estigui obert."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minutesRange"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"1"}),e.jsx(s.td,{children:"Interval transcorregut entre els minuts que es mostraran en les opcions del dropdown. Per exemple, podem utilitzar-lo si volem que l'hora es mostri cada 5, 10 o 15 minuts en comptes de minut a minut."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"minHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"0"}),e.jsx(s.td,{children:"Hora d’inici per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxHour"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"23"}),e.jsx(s.td,{children:"Hora final per a les opcions disponibles del dropdown."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"customTimeListOptions"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"DssTimepickerOption[]"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Llistat personalitzat d'hores disponibles que es mostraran en el dropdown. Quan es defineixi aquesta propietat el valor de dropdown ha de ser sempre 'list' i les propietats minutesRange, minHour i maxHour quedaran sense efecte."})]})]})]}),` -`,e.jsx(s.h3,{id:"custom-timepicker-option",children:"Custom Timepicker Option"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"value"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Hora en format HH:mm, per exemple 22:30"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"state"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Estat que identificarà si l'hora marcada està disponible o no. Els valors que pot tenir aquesta propietat són: 'disponible' o 'ocupat'"})]})]})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onTimepickerChange"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Esdeveniment que llançarà l'hora seleccionada per l'usuari bé en introduir una hora correcta per teclat o bé en triar-la a través de les opcions del dropdown. La propietat 'detail' d'aquest custom event inclourà tant el valor seleccionat en l'input com el seu estat ('VALID' o 'INVALID') en funció de les validacions internes del component."})]})})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#nom%C3%A9s-lectura",children:"Només lectura"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-list",children:"Dropdown List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-custom-list",children:"Dropdown Custom List"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#dropdown-manual",children:"Dropdown Manual"})}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(s.p,{children:"Timepicker simple amb opcions de mida i text d’ajuda."}),` -`,e.jsx(n,{of:h}),` -`,e.jsx(s.h3,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Timepicker deshabilitat."}),` -`,e.jsx(n,{of:p}),` -`,e.jsx(s.h3,{id:"només-lectura",children:"Només lectura"}),` -`,e.jsx(s.p,{children:"Només lectura amb valor predefinit."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"dropdown-list",children:"Dropdown List"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus llista per defecte o amb opcions definides per delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:j}),` -`,e.jsx(s.h3,{id:"dropdown-custom-list",children:"Dropdown Custom List"}),` -`,e.jsx(s.p,{children:"Timpicker de tipus llista amb llistat d’opcions personalitzar."}),` -`,e.jsx(n,{of:u}),` -`,e.jsx(s.h3,{id:"dropdown-manual",children:"Dropdown Manual"}),` -`,e.jsx(s.p,{children:"Timepicker de tipus manual per defecte o amb opcions definides per a delimitar el rang d’hores i minuts."}),` -`,e.jsx(n,{of:m}),` -`,e.jsx(s.h3,{id:"navegació-per-teclat",children:"Navegació per teclat"}),` -`,e.jsxs(s.p,{children:["La navegació per teclat s'ha definit seguint els patrons de accessibilidad definits a ",e.jsx(s.a,{href:"https://www.w3.org/WAI/ARIA/apg/patterns/",rel:"nofollow",children:"WAI Patterns"}),` -per a elements de tipus combobox (dropdown) i radio buttons.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Tab"})}),": Si l'usuari està fora del timepicker, es navegarà entre els elements de la pàgina. Un cop s'entra al timepicker s'habilitarà l'estat focus de l'input. Si el dropdown està obert, mitjançant la tecla tab els usuaris es desplaçaran a l'opció seleccionada de la llista d'hores o a l'opció disponible per defecte."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Enter"})})," o ",e.jsx(s.strong,{children:e.jsx(s.code,{children:"Space"})}),": Si l'usuari està posicionat en l'input i el dropdown està habilitat utilitzant les tecles enter o espai aquest serà desplegat amb les llistes d'opcions. Si l'usuari està situat sobre una de les opcions disponibles en el dropdown en fer servir la tecla Enter aquesta, serà seleccionada i passarà a mostrar-se com el valor de l'input. En el moment que es fa la selecció el dropdown es tancarà."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Esc"})}),": Si l’usuari està posicionat en l’input i el dropdown està habilitat, aquest serà tancat."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Down Arrow"})}),": Si l'usuari està posicionat en eles opcions del dropdown, l'usuari anirà desplaçant-se cap a baix una a una. En el cas que s'arribi a l'última opció, el focus passarà a a la primera opció del desplegable."]}),` -`,e.jsxs(s.li,{children:[e.jsx(s.strong,{children:e.jsx(s.code,{children:"Up Arrow"})}),": Si l’usuari està posicionat sobre les opcions dins del dropdown, l'usuari anirà desplaçant-se cap amunt una a una. En el cas que l'opció amb focus sigui la primera, el focus passarà a l'última opció del desplegable."]}),` -`]})]})}function k(i={}){const{wrapper:s}={...t(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(r,{...i})}):r(i)}export{k as default}; diff --git a/rc/assets/timepicker.stories-ynJ6K59N.js b/rc/assets/timepicker.stories-ynJ6K59N.js deleted file mode 100644 index 0ae716b..0000000 --- a/rc/assets/timepicker.stories-ynJ6K59N.js +++ /dev/null @@ -1,281 +0,0 @@ -import{x as t}from"./lit-html-paDGiEfB.js";const z={title:"Components/Timepicker",argTypes:{label:{name:"Label"},inputSize:{name:"Input Size",control:{type:"radio"},options:["md","lg"]},enableDropdown:{name:"Enable dropdown",control:{type:"boolean"}},dropdown:{name:"Dropdown type",control:{type:"radio"},options:["list","manual"],if:{arg:"enableDropdown",truthy:!0}},minutesRange:{name:"Minutes Range",control:{type:"number"},if:{arg:"enableDropdown"}},minHour:{name:"Min Hour",control:{type:"number"},if:{arg:"enableDropdown"}},maxHour:{name:"Max Hour",control:{type:"number"},if:{arg:"enableDropdown"}},helpText:{name:"Message for initial help"},errorTimeFormatText:{name:"Message for wrong time format"},errorTimeOptionText:{name:"Message for non-available time in dropdown",if:{arg:"enableDropdown"}}}},i={render:e=>t` -
    - ${e.enableDropdown?t` - - - - - `:t` - - - - - `} -
    - `,args:{label:"Label",enableDropdown:!1,inputSize:"lg",dropdown:"list",minutesRange:1,minHour:0,maxHour:23,helpText:"Help text.",errorTimeFormatText:"Format not valid.",errorTimeOptionText:"Option not available."}},n={tags:["!dev"],render:()=>t` -
    - - - - - - - - - - - - - - - - - - - - - - - -
    - `},r={tags:["!dev"],render:()=>t` -
    - - - - - -
    - `},l={tags:["!dev"],render:()=>t` -
    - - - - - -
    - `},a={tags:["!dev"],render:()=>t` -
    - - - - - - - - - - - -
    - `},s={tags:["!dev"],render:()=>t` -
    - - - - - -
    - `},o={tags:["!dev"],render:()=>t` -
    - - - - - - - - - - - -
    - `};var p,m,d;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{ - render: (args: any) => { - return html\` -
    - \${args.enableDropdown ? html\` - - - - - \` : html\` - - - - - \`} -
    - \`; - }, - args: { - label: 'Label', - enableDropdown: false, - inputSize: 'lg', - dropdown: 'list', - minutesRange: 1, - minHour: 0, - maxHour: 23, - helpText: 'Help text.', - errorTimeFormatText: 'Format not valid.', - errorTimeOptionText: 'Option not available.' - } -}`,...(d=(m=i.parameters)==null?void 0:m.docs)==null?void 0:d.source}}};var c,x,u;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - - - - - - - - - - - - - -
    - \`; - } -}`,...(u=(x=n.parameters)==null?void 0:x.docs)==null?void 0:u.source}}};var b,T,k;r.parameters={...r.parameters,docs:{...(b=r.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(k=(T=r.parameters)==null?void 0:T.docs)==null?void 0:k.source}}};var y,g,v;l.parameters={...l.parameters,docs:{...(y=l.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...(v=(g=l.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var h,f,w;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(w=(f=a.parameters)==null?void 0:f.docs)==null?void 0:w.source}}};var L,H,$;s.parameters={...s.parameters,docs:{...(L=s.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - -
    - \`; - } -}`,...($=(H=s.parameters)==null?void 0:H.docs)==null?void 0:$.source}}};var S,O,D;o.parameters={...o.parameters,docs:{...(S=o.parameters)==null?void 0:S.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - - - - - - - - -
    - \`; - } -}`,...(D=(O=o.parameters)==null?void 0:O.docs)==null?void 0:D.source}}};const R=["Playground","ByDefault","Disabled","ReadOnly","DropdownList","CustomDropdownList","DropdownManual"],M=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:n,CustomDropdownList:s,Disabled:r,DropdownList:a,DropdownManual:o,Playground:i,ReadOnly:l,__namedExportsOrder:R,default:z},Symbol.toStringTag,{value:"Module"}));export{n as B,s as C,r as D,i as P,l as R,M as S,a,o as b}; diff --git a/rc/assets/toast.doc-BOr8Ib3G.js b/rc/assets/toast.doc-BOr8Ib3G.js deleted file mode 100644 index 0aa93f1..0000000 --- a/rc/assets/toast.doc-BOr8Ib3G.js +++ /dev/null @@ -1,103 +0,0 @@ -import{ae as s,af as r,ag as c,ah as n,ak as a}from"./index-CcF9BsMG.js";import{u as i}from"./index-BlEr_OIe.js";import{S as l,P as d,N as x,I as h,B as m,E as p,W as j,a as u,b as g}from"./toast.stories-D1qdm5KS.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function o(t){const e={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: flex-start; - } - - .css-15dql7d{ - min-height: 150px; - } - - .exemple-container-canvas{ - width: 100%; - height:100%; - overflow:hidden; - } - - .exemple-container { - display: block; - width: 100%; - } - - .exemple-container + .exemple-container { - margin-top: 20px; - } - - .exemple-container .dss-toast{ - position: relative; - right: 0px; - bottom: 0px; - left: 0px; - top: 0px; - } - - .exemple-container-toast-canvas{ - width: 600px; - height: 100px; - position: relative; - overflow: hidden; - } - `}),` -`,s.jsx(r,{of:l}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(c,{}),s.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Toast serveixen com a mecanisme de comentaris i confirmació després que -l'usuari faci una acció.`}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast"}),` com a classe base i te diferents tipus de -confirmacions i de formes d'accionar-lo. El `,s.jsxs(e.strong,{children:[`molt important, que el contenidor -on esta el Toast, tinga un `,s.jsx(e.code,{children:"overflow: hidden;"})]})," per a que no apareguen scrolls."]}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(e.p,{children:s.jsxs(e.em,{children:[s.jsx(e.strong,{children:"Nota:"})," El element ",s.jsx(e.strong,{children:"exemple-container-toast-canvas"}),` només s'utilitza per -a la previsualització en Storybook.`]})}),` -`,s.jsx(n,{of:d}),` -`,s.jsx("h3",{children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#accionat",children:"Accionat"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#tipus",children:"Tipus"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#estat",children:"Estat"})}),` -`]}),` -`,s.jsx("hr",{}),` -`,s.jsx(e.h3,{id:"accionat",children:"Accionat"}),` -`,s.jsxs(e.p,{children:["Per a mostrar el toast, s'afegix la classe ",s.jsx(e.strong,{children:"dss-toast--open"}),` junt a la -classe base. Aquesta acció de mostrar pot donar-se simplement com una -confirmació o per pulsar un Button o un Icon Button.`]}),` -`,s.jsx(a,{code:`
    -
    - info - Your message, short and clear. -
    -
    `}),` -`,s.jsxs(e.p,{children:["Per a ocultarlo , simplement llevem la classe ",s.jsx(e.strong,{children:"dss-toast--open"}),"."]}),` -`,s.jsx(a,{code:`
    -
    - info - Your message, short and clear. -
    -
    `}),` -`,s.jsx(e.h3,{id:"tipus",children:"Tipus"}),` -`,s.jsx(e.p,{children:"Els toast poden construirse sense acció, amb un Button o amb un Icon Button."}),` -`,s.jsx("h5",{}),` -`,s.jsx(e.p,{children:s.jsxs(e.em,{children:[s.jsx(e.strong,{children:"Nota:"})," El element ",s.jsx(e.strong,{children:"exemple-container"})," només es per a la documentació."]})}),` -`,s.jsx("h5",{children:"Sense acció"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx("h5",{children:"Amb Icon Button"}),` -`,s.jsx(n,{of:h}),` -`,s.jsx("h5",{children:"Amb Button"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h3,{id:"estat",children:"Estat"}),` -`,s.jsx("h5",{children:"Error"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--error"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"error"}),"."]}),` -`,s.jsx(n,{of:p}),` -`,s.jsx("h5",{children:"Warning"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--warning"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"warning_amber"}),"."]}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("h5",{children:"Success"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--success"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"check_circle"}),"."]}),` -`,s.jsx(n,{of:u}),` -`,s.jsx("h5",{children:"Info"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--info"})," i la icona del missatge es ",s.jsx(e.strong,{children:"info"}),"."]}),` -`,s.jsx(n,{of:g})]})}function z(t={}){const{wrapper:e}={...i(),...t.components};return e?s.jsx(e,{...t,children:s.jsx(o,{...t})}):o(t)}export{z as default}; diff --git a/rc/assets/toast.doc-Bm4xaK1q.js b/rc/assets/toast.doc-Bm4xaK1q.js deleted file mode 100644 index eb7d14a..0000000 --- a/rc/assets/toast.doc-Bm4xaK1q.js +++ /dev/null @@ -1,128 +0,0 @@ -import{ae as e,af as o,ag as a,ah as s,ai as l}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import{T as d,P as c,N as h,I as x,a as j,B as p,b as m,D as u,c as b,M as f,d as g,e as v,f as E,g as q,h as P,S as w,W as N,E as S}from"./toast.stories-BzYArNdm.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./toast-ChTcsFcR.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(t){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: flex-start; - } - - .css-15dql7d{ - min-height: 150px; - } - - .exemple-container-canvas { - width: 100%; - height:100%; - overflow:hidden; - } - - .exemple-container { - display: block; - width: 100%; - } - - .exemple-container + .exemple-container { - margin-top: 20px; - } - - .exemple-container .dss-toast, - .exemple-container dss-toast { - position: relative; - right: 0px; - bottom: 0px; - left: 0px; - top: 0px; - } - - .exemple-container-toast-canvas { - width: 600px; - height: 300px; - position: relative; - overflow: hidden; - } -`}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-toast",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Els Toast serveixen com a mecanisme de comentaris i confirmació després que -l'usuari faci una acció.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container-toast-canvas"}),` només s'utilitza per -a la previsualització en Storybook.`,e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx(s,{of:c}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsxs(n.strong,{children:["isShow",e.jsx("span",{children:"*"})]})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o tanca el toast."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostra dins del toast. Per fer salt de línia, utilitza '\\n'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'info'"}),e.jsx(n.td,{children:"Estat del toast. Pot ser: error, warning, success o info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'bottom-left'"}),e.jsx(n.td,{children:"Posició del toast. Pot ser: bottom-left, bottom-right, top-left o top-right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona mostrada dins del toast. Si no s'indica cap icona, es mostrarà la icona per defecte de l'estat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasIcon"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"buttonLabel"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'Button'"}),e.jsx(n.td,{children:"Text del botó."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasButton"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga el botó."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasButtonClose"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga el botó de tancar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"duration"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"number"})}),e.jsx(n.td,{children:"4000"}),e.jsx(n.td,{children:"Duració del toast en milisegons. Si és 0, el toast no es tancarà automàticament."})]})]})]})}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Esdeveniment que notifica a l'usuari quan es tanca el toast."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onButtonClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó del toast."})]})]})]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posicionament",children:"Posicionament"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estat",children:"Estat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast es pot construir de diferents maneres, sense icona, amb icona, sense acció, amb botó de tancar, amb botó, amb duració, sense duració y multilínies."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Sense icona"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Sense acció"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx("h5",{children:"Amb botó de tancar"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Amb botó"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Amb duració"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest toast es tancarà automàticament després de 10 segons."}),` -`]}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("h5",{children:"Sense duració"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest toast no es tancarà automàticament."}),` -`]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx("h5",{children:"Multilínies"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Per fer salt de línia, utilitza '\\n'."}),` -`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"posicionament",children:"Posicionament"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast pot estar posicionat a la part superior o inferior de la pantalla, així com a la part esquerra o dreta."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container-toast-canvas"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Part superior esquerra"}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("h5",{children:"Part superior dreta"}),` -`,e.jsx(s,{of:v}),` -`,e.jsx("h5",{children:"Part inferior esquerra"}),` -`,e.jsx(s,{of:E}),` -`,e.jsx("h5",{children:"Part inferior dreta"}),` -`,e.jsx(s,{of:q}),` -`,e.jsx(n.h3,{id:"estat",children:"Estat"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast pot tenir diferents estats: info, success, warning i error."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"info"}),"."]}),` -`,e.jsx(s,{of:P}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"success"}),"."]}),` -`,e.jsx(s,{of:w}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"warning"}),"."]}),` -`,e.jsx(s,{of:N}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"error"}),"."]}),` -`,e.jsx(s,{of:S})]})}function H(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{H as default}; diff --git a/rc/assets/toast.doc-C8D0nsab.js b/rc/assets/toast.doc-C8D0nsab.js deleted file mode 100644 index 369f6f6..0000000 --- a/rc/assets/toast.doc-C8D0nsab.js +++ /dev/null @@ -1,103 +0,0 @@ -import{ae as s,af as r,ag as c,ah as n,ak as a}from"./index-0DKGoewk.js";import{u as i}from"./index-FamfD7PC.js";import{S as l,P as d,N as x,I as h,B as m,E as p,W as j,a as u,b as g}from"./toast.stories-D1qdm5KS.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function o(t){const e={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...t.components};return s.jsxs(s.Fragment,{children:[s.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: flex-start; - } - - .css-15dql7d{ - min-height: 150px; - } - - .exemple-container-canvas{ - width: 100%; - height:100%; - overflow:hidden; - } - - .exemple-container { - display: block; - width: 100%; - } - - .exemple-container + .exemple-container { - margin-top: 20px; - } - - .exemple-container .dss-toast{ - position: relative; - right: 0px; - bottom: 0px; - left: 0px; - top: 0px; - } - - .exemple-container-toast-canvas{ - width: 600px; - height: 100px; - position: relative; - overflow: hidden; - } - `}),` -`,s.jsx(r,{of:l}),` -`,s.jsxs("div",{className:"dss-sb-title",children:[s.jsx(c,{}),s.jsx("dss-badge",{text:"HTML/CSS",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,s.jsx(e.p,{children:`Els Toast serveixen com a mecanisme de comentaris i confirmació després que -l'usuari faci una acció.`}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast"}),` com a classe base i te diferents tipus de -confirmacions i de formes d'accionar-lo. El `,s.jsxs(e.strong,{children:[`molt important, que el contenidor -on esta el Toast, tinga un `,s.jsx(e.code,{children:"overflow: hidden;"})]})," per a que no apareguen scrolls."]}),` -`,s.jsxs(e.blockquote,{children:[` -`,s.jsx(e.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,s.jsx(e.p,{children:s.jsxs(e.em,{children:[s.jsx(e.strong,{children:"Nota:"})," El element ",s.jsx(e.strong,{children:"exemple-container-toast-canvas"}),` només s'utilitza per -a la previsualització en Storybook.`]})}),` -`,s.jsx(n,{of:d}),` -`,s.jsx("h3",{children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#accionat",children:"Accionat"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#tipus",children:"Tipus"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#estat",children:"Estat"})}),` -`]}),` -`,s.jsx("hr",{}),` -`,s.jsx(e.h3,{id:"accionat",children:"Accionat"}),` -`,s.jsxs(e.p,{children:["Per a mostrar el toast, s'afegix la classe ",s.jsx(e.strong,{children:"dss-toast--open"}),` junt a la -classe base. Aquesta acció de mostrar pot donar-se simplement com una -confirmació o per pulsar un Button o un Icon Button.`]}),` -`,s.jsx(a,{code:`
    -
    - info - Your message, short and clear. -
    -
    `}),` -`,s.jsxs(e.p,{children:["Per a ocultarlo , simplement llevem la classe ",s.jsx(e.strong,{children:"dss-toast--open"}),"."]}),` -`,s.jsx(a,{code:`
    -
    - info - Your message, short and clear. -
    -
    `}),` -`,s.jsx(e.h3,{id:"tipus",children:"Tipus"}),` -`,s.jsx(e.p,{children:"Els toast poden construirse sense acció, amb un Button o amb un Icon Button."}),` -`,s.jsx("h5",{}),` -`,s.jsx(e.p,{children:s.jsxs(e.em,{children:[s.jsx(e.strong,{children:"Nota:"})," El element ",s.jsx(e.strong,{children:"exemple-container"})," només es per a la documentació."]})}),` -`,s.jsx("h5",{children:"Sense acció"}),` -`,s.jsx(n,{of:x}),` -`,s.jsx("h5",{children:"Amb Icon Button"}),` -`,s.jsx(n,{of:h}),` -`,s.jsx("h5",{children:"Amb Button"}),` -`,s.jsx(n,{of:m}),` -`,s.jsx(e.h3,{id:"estat",children:"Estat"}),` -`,s.jsx("h5",{children:"Error"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--error"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"error"}),"."]}),` -`,s.jsx(n,{of:p}),` -`,s.jsx("h5",{children:"Warning"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--warning"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"warning_amber"}),"."]}),` -`,s.jsx(n,{of:j}),` -`,s.jsx("h5",{children:"Success"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--success"}),` i la icona del missatge es -`,s.jsx(e.strong,{children:"check_circle"}),"."]}),` -`,s.jsx(n,{of:u}),` -`,s.jsx("h5",{children:"Info"}),` -`,s.jsxs(e.p,{children:["Utilitzarem la classe ",s.jsx(e.strong,{children:"dss-toast--info"})," i la icona del missatge es ",s.jsx(e.strong,{children:"info"}),"."]}),` -`,s.jsx(n,{of:g})]})}function z(t={}){const{wrapper:e}={...i(),...t.components};return e?s.jsx(e,{...t,children:s.jsx(o,{...t})}):o(t)}export{z as default}; diff --git a/rc/assets/toast.doc-CUpsaxn5.js b/rc/assets/toast.doc-CUpsaxn5.js deleted file mode 100644 index 4616386..0000000 --- a/rc/assets/toast.doc-CUpsaxn5.js +++ /dev/null @@ -1,128 +0,0 @@ -import{ae as e,af as o,ag as a,ah as s,ai as l}from"./index-D51CeFyD.js";import{u as i}from"./index-Dvvi2AU9.js";import{T as d,P as c,N as h,I as x,a as j,B as p,b as m,D as u,c as b,M as f,d as g,e as v,f as E,g as q,h as P,S as w,W as N,E as S}from"./toast.stories-BzYArNdm.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./toast-ChTcsFcR.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(t){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: flex-start; - } - - .css-15dql7d{ - min-height: 150px; - } - - .exemple-container-canvas { - width: 100%; - height:100%; - overflow:hidden; - } - - .exemple-container { - display: block; - width: 100%; - } - - .exemple-container + .exemple-container { - margin-top: 20px; - } - - .exemple-container .dss-toast, - .exemple-container dss-toast { - position: relative; - right: 0px; - bottom: 0px; - left: 0px; - top: 0px; - } - - .exemple-container-toast-canvas { - width: 600px; - height: 300px; - position: relative; - overflow: hidden; - } -`}),` -`,e.jsx(o,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(a,{}),e.jsx("dss-badge",{text:"dss-toast",size:"md",state:"moderate-high",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:`Els Toast serveixen com a mecanisme de comentaris i confirmació després que -l'usuari faci una acció.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container-toast-canvas"}),` només s'utilitza per -a la previsualització en Storybook.`,e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx(s,{of:c}),` -`,e.jsx(l,{}),` -`,e.jsx(n.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsxs(n.strong,{children:["isShow",e.jsx("span",{children:"*"})]})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o tanca el toast."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"text"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"-"}),e.jsx(n.td,{children:"Text que es mostra dins del toast. Per fer salt de línia, utilitza '\\n'."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"state"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'info'"}),e.jsx(n.td,{children:"Estat del toast. Pot ser: error, warning, success o info."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"position"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'bottom-left'"}),e.jsx(n.td,{children:"Posició del toast. Pot ser: bottom-left, bottom-right, top-left o top-right."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"icon"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"''"}),e.jsx(n.td,{children:"Icona mostrada dins del toast. Si no s'indica cap icona, es mostrarà la icona per defecte de l'estat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasIcon"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga la icona."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"buttonLabel"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"string"})}),e.jsx(n.td,{children:"'Button'"}),e.jsx(n.td,{children:"Text del botó."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasButton"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga el botó."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hasButtonClose"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"boolean"})}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Mostra o amaga el botó de tancar."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"duration"})}),e.jsx(n.td,{children:e.jsx(n.code,{children:"number"})}),e.jsx(n.td,{children:"4000"}),e.jsx(n.td,{children:"Duració del toast en milisegons. Si és 0, el toast no es tancarà automàticament."})]})]})]})}),` -`,e.jsx(n.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx(n.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsx("div",{className:"dss-sb-properties",children:e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onClose"})}),e.jsx(n.td,{children:"Esdeveniment que notifica a l'usuari quan es tanca el toast."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"onButtonClick"})}),e.jsx(n.td,{children:"Esdeveniment que notifica a l'usuari quan es fa clic al botó del toast."})]})]})]})}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posicionament",children:"Posicionament"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#estat",children:"Estat"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(n.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast es pot construir de diferents maneres, sense icona, amb icona, sense acció, amb botó de tancar, amb botó, amb duració, sense duració y multilínies."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Sense icona"}),` -`,e.jsx(s,{of:h}),` -`,e.jsx("h5",{children:"Amb icona"}),` -`,e.jsx(s,{of:x}),` -`,e.jsx("h5",{children:"Sense acció"}),` -`,e.jsx(s,{of:j}),` -`,e.jsx("h5",{children:"Amb botó de tancar"}),` -`,e.jsx(s,{of:p}),` -`,e.jsx("h5",{children:"Amb botó"}),` -`,e.jsx(s,{of:m}),` -`,e.jsx("h5",{children:"Amb duració"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest toast es tancarà automàticament després de 10 segons."}),` -`]}),` -`,e.jsx(s,{of:u}),` -`,e.jsx("h5",{children:"Sense duració"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest toast no es tancarà automàticament."}),` -`]}),` -`,e.jsx(s,{of:b}),` -`,e.jsx("h5",{children:"Multilínies"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Per fer salt de línia, utilitza '\\n'."}),` -`]}),` -`,e.jsx(s,{of:f}),` -`,e.jsx(n.h3,{id:"posicionament",children:"Posicionament"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast pot estar posicionat a la part superior o inferior de la pantalla, així com a la part esquerra o dreta."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container-toast-canvas"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Part superior esquerra"}),` -`,e.jsx(s,{of:g}),` -`,e.jsx("h5",{children:"Part superior dreta"}),` -`,e.jsx(s,{of:v}),` -`,e.jsx("h5",{children:"Part inferior esquerra"}),` -`,e.jsx(s,{of:E}),` -`,e.jsx("h5",{children:"Part inferior dreta"}),` -`,e.jsx(s,{of:q}),` -`,e.jsx(n.h3,{id:"estat",children:"Estat"}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"El toast pot tenir diferents estats: info, success, warning i error."}),` -`]}),` -`,e.jsx(n.p,{children:e.jsxs(n.em,{children:[e.jsx(n.strong,{children:"Nota:"})," El element ",e.jsx(n.strong,{children:"exemple-container"})," només s'utilitza per la documentació.",e.jsx("br",{}),` -El component té un posicionament absolut, per tant, ha de estar dins d'un contenidor amb posicionament relatiu, si no, prendrà com a referència el viewport.`]})}),` -`,e.jsx("h5",{children:"Info"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"info"}),"."]}),` -`,e.jsx(s,{of:P}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"success"}),"."]}),` -`,e.jsx(s,{of:w}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"warning"}),"."]}),` -`,e.jsx(s,{of:N}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(n.p,{children:["Es passa la propietat ",e.jsx(n.strong,{children:"state"})," amb el valor ",e.jsx(n.strong,{children:"error"}),"."]}),` -`,e.jsx(s,{of:S})]})}function H(t={}){const{wrapper:n}={...i(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(r,{...t})}):r(t)}export{H as default}; diff --git a/rc/assets/toast.doc-B8BqKTOv.js b/rc/assets/toast.doc-jKEK5Fcg.js similarity index 98% rename from rc/assets/toast.doc-B8BqKTOv.js rename to rc/assets/toast.doc-jKEK5Fcg.js index a7b490d..d2367e0 100644 --- a/rc/assets/toast.doc-B8BqKTOv.js +++ b/rc/assets/toast.doc-jKEK5Fcg.js @@ -1,4 +1,4 @@ -import{ae as e,af as o,ag as a,ah as s,ai as l}from"./index-Dxx82nxn.js";import{u as i}from"./index-w933pGNw.js";import{T as d,P as c,N as h,I as x,a as j,B as p,b as m,D as u,c as b,M as f,d as g,e as v,f as E,g as q,h as P,S as w,W as N,E as S}from"./toast.stories-BzYArNdm.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./toast-ChTcsFcR.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(t){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as o,ag as a,ah as s,ai as l}from"./index-CMvVeEhu.js";import{u as i}from"./index-C5hQraAl.js";import{T as d,P as c,N as h,I as x,a as j,B as p,b as m,D as u,c as b,M as f,d as g,e as v,f as E,g as q,h as P,S as w,W as N,E as S}from"./toast.stories-BzYArNdm.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";import"./toast-ChTcsFcR.js";import"./lit-element-DhY7bShc.js";import"./property-DnLABHHV.js";import"./icon.style-DPTab5RN.js";import"./reset.style-B0CQ8619.js";import"./property-types-CkH-zh1n.js";import"./class-map-BDeD7Kfm.js";import"./static-B9bHPl91.js";import"./custom-element-scope-Dp4Dg8bo.js";function r(t){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { flex-direction: column; align-items: flex-start; diff --git a/rc/assets/toast.stories-D1qdm5KS.js b/rc/assets/toast.stories-D1qdm5KS.js deleted file mode 100644 index 910789f..0000000 --- a/rc/assets/toast.stories-D1qdm5KS.js +++ /dev/null @@ -1,658 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const W={title:"Components/Toast",argTypes:{status:{name:"Estat",control:{type:"select"},options:["error","warning","success","info"]},message:{name:"Missatge",control:{type:"text"}},withButton:{name:"Amb botó",control:{type:"boolean"},if:{arg:"withIconButton",eq:!1}},withIconButton:{name:"Amb Icon Button",control:{type:"boolean"},if:{arg:"withButton",eq:!1}},showToast:{name:"Mostrar",control:{type:"boolean"}}}},n={render:t=>{let a="",u="dss-button dss-button--sm dss-button--alternative-light";switch(t.status){case"error":a="error";break;case"warning":a="warning_amber",u="dss-button dss-button--sm dss-button--alternative-dark";break;case"success":a="check_circle";break;case"info":a="info";break}return s` -
    -
    -
    - ${a} - ${t.message} -
    - ${t.withButton?s``:""} - ${t.withIconButton?s``:""} -
    -
    - `},name:"Exemple",args:{status:"error",message:"Your message, short and clear.",withButton:!1,withIconButton:!1,showToast:!0},parameters:{layout:"centered"}},o={tags:["!dev"],render:()=>s` -
    -
    -
    - error - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - warning\_amber - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - check\_circle - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    -
    -
    - `},e={tags:["!dev"],render:()=>s` -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - `},d={tags:["!dev"],render:()=>s` -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - `},i={tags:["!dev"],render:()=>s` -
    -
    -
    - error - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - `},c={tags:["!dev"],render:()=>s` -
    -
    -
    - warning\_amber - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - warning\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\_amber - Your message, short and clear. -
    - - -
    -
    - `},r={tags:["!dev"],render:()=>s` -
    -
    -
    - check\_circle - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - check\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\_circle - Your message, short and clear. -
    - - -
    -
    - `},l={tags:["!dev"],render:()=>s` -
    -
    -
    - info - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - `};var _,v,m;n.parameters={...n.parameters,docs:{...(_=n.parameters)==null?void 0:_.docs,source:{originalSource:`{ - render: (args: any) => { - let icon = ''; - let button = 'dss-button dss-button--sm dss-button--alternative-light'; - switch (args.status) { - case 'error': - icon = 'error'; - break; - case 'warning': - icon = 'warning_amber'; - button = 'dss-button dss-button--sm dss-button--alternative-dark'; - break; - case 'success': - icon = 'check_circle'; - break; - case 'info': - icon = 'info'; - break; - } - return html\` -
    -
    -
    - \${icon} - \${args.message} -
    - \${args.withButton ? html\`\` : ''} - \${args.withIconButton ? html\`\` : ''} -
    -
    - \`; - }, - name: 'Exemple', - args: { - status: 'error', - message: 'Your message, short and clear.', - withButton: false, - withIconButton: false, - showToast: true - }, - parameters: { - layout: 'centered' - } -}`,...(m=(v=n.parameters)==null?void 0:v.docs)==null?void 0:m.source}}};var p,b,g;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - error - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - check\\_circle - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    -
    -
    - \`; - } -}`,...(g=(b=o.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var y,h,x;e.parameters={...e.parameters,docs:{...(y=e.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(x=(h=e.parameters)==null?void 0:h.docs)==null?void 0:x.source}}};var Y,w,f;d.parameters={...d.parameters,docs:{...(Y=d.parameters)==null?void 0:Y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(f=(w=d.parameters)==null?void 0:w.docs)==null?void 0:f.source}}};var B,k,S;i.parameters={...i.parameters,docs:{...(B=i.parameters)==null?void 0:B.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - error - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - error - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(S=(k=i.parameters)==null?void 0:k.docs)==null?void 0:S.source}}};var $,I,T;c.parameters={...c.parameters,docs:{...($=c.parameters)==null?void 0:$.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - warning\\_amber - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(T=(I=c.parameters)==null?void 0:I.docs)==null?void 0:T.source}}};var E,A,P;r.parameters={...r.parameters,docs:{...(E=r.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - check\\_circle - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - check\\_circle - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - check\\_circle - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(P=(A=r.parameters)==null?void 0:A.docs)==null?void 0:P.source}}};var M,N,O;l.parameters={...l.parameters,docs:{...(M=l.parameters)==null?void 0:M.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -
    - info - Your message, short and clear. -
    -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - -
    -
    -
    - info - Your message, short and clear. -
    - - -
    -
    - \`; - } -}`,...(O=(N=l.parameters)==null?void 0:N.docs)==null?void 0:O.source}}};const j=["Playground","NoAction","IconButton","Button","ErrorState","Warning","Success","Info"],z=Object.freeze(Object.defineProperty({__proto__:null,Button:d,ErrorState:i,IconButton:e,Info:l,NoAction:o,Playground:n,Success:r,Warning:c,__namedExportsOrder:j,default:W},Symbol.toStringTag,{value:"Module"}));export{d as B,i as E,e as I,o as N,n as P,z as S,c as W,r as a,l as b}; diff --git a/rc/assets/tooltip.doc-BRbUfEXo.js b/rc/assets/tooltip.doc-BRbUfEXo.js deleted file mode 100644 index b12b5a4..0000000 --- a/rc/assets/tooltip.doc-BRbUfEXo.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as d,P as c,a as x,A as h}from"./tooltip.stories-C41kQzR2.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: center; - gap: 150px; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - height: 120px; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-tooltip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Tooltip és un contenidor que mostra temporalment un text breu i contextual. Aquest s'activa quan l’usuari passa el cursor per sobre d’un element."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Breaking change:"})}),` -`,e.jsx(n.p,{children:"La lògica per mostrar o amagar el component s’ha implementat dins del component per facilitar-ne l’ús, de manera que és el mateix component qui gestiona els esdeveniments mouse-enter o mouse-leave sobre l’element pare per mostrar el tooltip a la posició indicada."}),` -`,e.jsx(n.p,{children:"Per aquest motiu, és imprescindible que s’elimini en les iniciatives qualsevol lògica CSS afegida anteriorment, incloent qualsevol position:relative o position:absolute."}),` -`,e.jsx(n.p,{children:"Aquesta nova funcionalitat s’ha implementat de manera que els tooltips no es vegin afectats pel flux de la resta de components, corregint així el problema que trobàvem fins ara quan un tooltip apareixia retallat a causa d’un contenidor amb la propietat overflow definida."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tooltip",children:"dss-tooltip"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"positon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"top"}),e.jsx(n.td,{children:"Defineix la posició del tooltip dins de l’element relacionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"align"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"left"}),e.jsx(n.td,{children:"Modifica l'alineació del text dins del tooltip."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidden"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Oculta el component dinàmicament."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`]}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(t,{of:h})]})}function y(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{y as default}; diff --git a/rc/assets/tooltip.doc-Ba8Dw1GU.js b/rc/assets/tooltip.doc-Ba8Dw1GU.js deleted file mode 100644 index 66fd3f4..0000000 --- a/rc/assets/tooltip.doc-Ba8Dw1GU.js +++ /dev/null @@ -1,66 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-0DKGoewk.js";import{u as l}from"./index-FamfD7PC.js";import{S as d,P as c,C as h,a as x,A as p}from"./tooltip.stories-BcS194xO.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: center; - gap: 150px; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - height: 120px; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-tooltip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Tooltip és un contenidor que mostra temporalment un text breu i contextual. Aquest s'activa quan l’usuari passa el cursor per sobre d’un element."}),` -`,e.jsx(n.p,{children:`Per defecte, el Web Component es mostrarà visible i quedarà a càrrec de l'equip de -desenvolupament afegir la lògica de CSS amb la qual s'ocultarà/mostrarà el component. -Per exemple, en fer hover sobre l'element seleccionat.`}),` -`,e.jsx(n.p,{children:`Tot i això, s’ha definit també la possibilitat d’ocultat el component dinàmicament mitjançant -la propietat hidden per aquells que prefereixin controlar de forma la funcionalitat a través -d’una variable dinàmica.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tooltip",children:"dss-tooltip"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"positon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"top"}),e.jsx(n.td,{children:"Defineix la posició del tooltip dins de l’element relacionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"align"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"left"}),e.jsx(n.td,{children:"Modifica l'alineació del text dins del tooltip."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidden"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Oculta el component dinàmicament."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#l%C3%B3gica-css",children:"Lógica CSS"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`]}),` -`,e.jsx(n.h3,{id:"lógica-css",children:"Lógica CSS"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"box"})," >> position: relative"]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"tooltip"})," >> display: none"]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"element:hover + tooltip"})," >> display: block"]}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(t,{of:p})]})}function y(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{y as default}; diff --git a/rc/assets/tooltip.doc-Botg5PzN.js b/rc/assets/tooltip.doc-Botg5PzN.js deleted file mode 100644 index e0ca64b..0000000 --- a/rc/assets/tooltip.doc-Botg5PzN.js +++ /dev/null @@ -1,57 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as d,P as c,a as x,A as h}from"./tooltip.stories-C41kQzR2.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: center; - gap: 150px; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - height: 120px; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-tooltip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Tooltip és un contenidor que mostra temporalment un text breu i contextual. Aquest s'activa quan l’usuari passa el cursor per sobre d’un element."}),` -`,e.jsx(n.p,{children:e.jsx(n.strong,{children:"Breaking change:"})}),` -`,e.jsx(n.p,{children:"La lògica per mostrar o amagar el component s’ha implementat dins del component per facilitar-ne l’ús, de manera que és el mateix component qui gestiona els esdeveniments mouse-enter o mouse-leave sobre l’element pare per mostrar el tooltip a la posició indicada."}),` -`,e.jsx(n.p,{children:"Per aquest motiu, és imprescindible que s’elimini en les iniciatives qualsevol lògica CSS afegida anteriorment, incloent qualsevol position:relative o position:absolute."}),` -`,e.jsx(n.p,{children:"Aquesta nova funcionalitat s’ha implementat de manera que els tooltips no es vegin afectats pel flux de la resta de components, corregint així el problema que trobàvem fins ara quan un tooltip apareixia retallat a causa d’un contenidor amb la propietat overflow definida."}),` -`,e.jsx("br",{}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tooltip",children:"dss-tooltip"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"positon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"top"}),e.jsx(n.td,{children:"Defineix la posició del tooltip dins de l’element relacionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"align"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"left"}),e.jsx(n.td,{children:"Modifica l'alineació del text dins del tooltip."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidden"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Oculta el component dinàmicament."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`]}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(t,{of:h})]})}function y(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{y as default}; diff --git a/rc/assets/tooltip.doc-CqPUfoyH.js b/rc/assets/tooltip.doc-CqPUfoyH.js deleted file mode 100644 index 9ff4f6b..0000000 --- a/rc/assets/tooltip.doc-CqPUfoyH.js +++ /dev/null @@ -1,66 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-CcF9BsMG.js";import{u as l}from"./index-BlEr_OIe.js";import{S as d,P as c,C as h,a as x,A as p}from"./tooltip.stories-BcS194xO.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: column; - align-items: center; - gap: 150px; - } - .wrapper { - display: flex; - justify-content: center; - align-items: center; - height: 120px; - } - .wrapper--alignment { - height: 240px; - } - .box { - position: relative; - } - .box + .box { - margin-left: 50px; - } - .wrapper--alignment > .box + .box { - margin-left: 100px; - } - .tooltip { - display: none; - } - .element:hover + .tooltip { - display: block; - } - `}),` -`,e.jsx(r,{of:d}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-tooltip",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(n.p,{children:"Un Tooltip és un contenidor que mostra temporalment un text breu i contextual. Aquest s'activa quan l’usuari passa el cursor per sobre d’un element."}),` -`,e.jsx(n.p,{children:`Per defecte, el Web Component es mostrarà visible i quedarà a càrrec de l'equip de -desenvolupament afegir la lògica de CSS amb la qual s'ocultarà/mostrarà el component. -Per exemple, en fer hover sobre l'element seleccionat.`}),` -`,e.jsx(n.p,{children:`Tot i això, s’ha definit també la possibilitat d’ocultat el component dinàmicament mitjançant -la propietat hidden per aquells que prefereixin controlar de forma la funcionalitat a través -d’una variable dinàmica.`}),` -`,e.jsxs(n.blockquote,{children:[` -`,e.jsx(n.p,{children:"Aquest és el exemple que es troba al canvas. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(n.h2,{id:"propietats",children:"Propietats"}),` -`,e.jsx(n.h3,{id:"dss-tooltip",children:"dss-tooltip"}),` -`,e.jsxs(n.table,{children:[e.jsx(n.thead,{children:e.jsxs(n.tr,{children:[e.jsx(n.th,{children:"Name"}),e.jsx(n.th,{children:"Àmbit"}),e.jsx(n.th,{children:"Condition"}),e.jsx(n.th,{children:"Type"}),e.jsx(n.th,{children:"Default"}),e.jsx(n.th,{children:"Description"})]})}),e.jsxs(n.tbody,{children:[e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"positon"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"top"}),e.jsx(n.td,{children:"Defineix la posició del tooltip dins de l’element relacionat."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"align"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"string"}),e.jsx(n.td,{children:"left"}),e.jsx(n.td,{children:"Modifica l'alineació del text dins del tooltip."})]}),e.jsxs(n.tr,{children:[e.jsx(n.td,{children:e.jsx(n.strong,{children:"hidden"})}),e.jsx(n.td,{children:"Input"}),e.jsx(n.td,{children:"Opcional"}),e.jsx(n.td,{children:"boolean"}),e.jsx(n.td,{children:"false"}),e.jsx(n.td,{children:"Oculta el component dinàmicament."})]})]})]}),` -`,e.jsx(n.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#l%C3%B3gica-css",children:"Lógica CSS"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#posici%C3%B3",children:"Posició"})}),` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"#alineaci%C3%B3",children:"Alineació"})}),` -`]}),` -`,e.jsx(n.h3,{id:"lógica-css",children:"Lógica CSS"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"box"})," >> position: relative"]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"tooltip"})," >> display: none"]}),` -`,e.jsxs(n.li,{children:[e.jsx(n.strong,{children:"element:hover + tooltip"})," >> display: block"]}),` -`]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(n.h3,{id:"posició",children:"Posició"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(n.h3,{id:"alineació",children:"Alineació"}),` -`,e.jsx(t,{of:p})]})}function y(i={}){const{wrapper:n}={...l(),...i.components};return n?e.jsx(n,{...i,children:e.jsx(s,{...i})}):s(i)}export{y as default}; diff --git a/rc/assets/tooltip.doc-9EPwqIDt.js b/rc/assets/tooltip.doc-DbTqiEOo.js similarity index 95% rename from rc/assets/tooltip.doc-9EPwqIDt.js rename to rc/assets/tooltip.doc-DbTqiEOo.js index 4782272..9a00885 100644 --- a/rc/assets/tooltip.doc-9EPwqIDt.js +++ b/rc/assets/tooltip.doc-DbTqiEOo.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as d,P as c,a as x,A as h}from"./tooltip.stories-C41kQzR2.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as d,P as c,a as x,A as h}from"./tooltip.stories-C41kQzR2.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function s(i){const n={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { flex-direction: column; align-items: center; diff --git a/rc/assets/tooltip.stories-BcS194xO.js b/rc/assets/tooltip.stories-BcS194xO.js deleted file mode 100644 index c016a31..0000000 --- a/rc/assets/tooltip.stories-BcS194xO.js +++ /dev/null @@ -1,232 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const h={title:"Components/Tooltip",argTypes:{position:{name:"Position",control:{type:"radio"},options:["top","right","bottom","left"]},align:{name:"Text Alignment",control:{type:"radio"},options:["left","right","center","justify"]},hide:{name:"Hide tooltip",control:{type:"boolean"}},text:{name:"Text",control:{type:"text"}}},parameters:{layout:"centered"}},s={render:t=>e` -
    -

    Lorem ipsum.

    - - ${t.text} - -
    - `,args:{position:"top",align:"left",hide:!1,text:"Write your text here. If it is longer than four lines, rewrite the text so that it takes up less space."}},o={tags:["!dev"],render:()=>e` -
    -
    -

    Related element.

    - - Tooltip info - -
    -
    - `},n={tags:["!dev"],render:()=>e` -
    -
    - circle - - - Position left - -
    - -
    - circle - - - Position top - -
    - -
    - circle - - - Position bottom - -
    - -
    - circle - - - Position right - -
    -
    - `},i={tags:["!dev"],render:()=>e` -
    -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit duo. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    -
    - `};var a,p,r;s.parameters={...s.parameters,docs:{...(a=s.parameters)==null?void 0:a.docs,source:{originalSource:`{ - render: (args: any) => html\` -
    -

    Lorem ipsum.

    - - \${args.text} - -
    - \`, - args: { - position: 'top', - align: 'left', - hide: false, - text: 'Write your text here. If it is longer than four lines, rewrite the text so that it takes up less space.' - } -}`,...(r=(p=s.parameters)==null?void 0:p.docs)==null?void 0:r.source}}};var l,d,c;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    -

    Related element.

    - - Tooltip info - -
    -
    - \`; - } -}`,...(c=(d=o.parameters)==null?void 0:d.docs)==null?void 0:c.source}}};var m,u,v;n.parameters={...n.parameters,docs:{...(m=n.parameters)==null?void 0:m.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - circle - - - Position left - -
    - -
    - circle - - - Position top - -
    - -
    - circle - - - Position bottom - -
    - -
    - circle - - - Position right - -
    -
    - \`; - } -}`,...(v=(u=n.parameters)==null?void 0:u.docs)==null?void 0:v.source}}};var g,x,b;i.parameters={...i.parameters,docs:{...(g=i.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit duo. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    - -
    - circle - - - - Lorem ipsum dolor sit. - Lorem ipsum dolor sit amae. - Lorem ipsum dolor. - - -
    -
    - \`; - } -}`,...(b=(x=i.parameters)==null?void 0:x.docs)==null?void 0:b.source}}};const L=["Playground","CSSLogic","Position","Alignment"],y=Object.freeze(Object.defineProperty({__proto__:null,Alignment:i,CSSLogic:o,Playground:s,Position:n,__namedExportsOrder:L,default:h},Symbol.toStringTag,{value:"Module"}));export{i as A,o as C,s as P,y as S,n as a}; diff --git a/rc/assets/typography.doc-CSfyqrCI.js b/rc/assets/typography.doc-CSfyqrCI.js deleted file mode 100644 index 47fe599..0000000 --- a/rc/assets/typography.doc-CSfyqrCI.js +++ /dev/null @@ -1,84 +0,0 @@ -import{ae as s,af as t,ah as i}from"./index-Dxx82nxn.js";import{u as d}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-C7DFWHUm.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(e.h1,{id:"typography",children:"Typography"}),` -`,s.jsx(e.p,{children:`La tipografia és una manera d'utilitzar el text com a visual per transmetre un -missatge de marca. En aquest sistema, aquest element de disseny és important -per construir personalitat, transmetre un missatge i també per captar -l'atenció de l'espectador, construir una jerarquia, el reconeixement de la -marca, l'harmonia i establir el valor i el to d'una marca.`}),` -`,s.jsxs(e.p,{children:["La base tipogràfica de l'aplicació es al ",s.jsx(e.code,{children:"body"}),` i te les següents -característiques que aniràn canviant segons l'estil aplicat:`]}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Propietat"}),s.jsx("th",{children:"Valor"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"font-family"}),s.jsx("td",{children:"'Open Sans', sans-serif;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"color"}),s.jsx("td",{children:"#656565 / neutral.500"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-size"}),s.jsx("td",{children:"16px;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-weight"}),s.jsx("td",{children:"400"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"line-height"}),s.jsx("td",{children:"24px"})]})]})]}),` -`,s.jsx(e.h3,{id:"índex",children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#t%C3%ADtols",children:"Títols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#subt%C3%ADtols",children:"Subtitols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#cos",children:"Cos"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#botons",children:"Botons"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#llegenda",children:"Llegenda"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#enlla%C3%A7os",children:"Enllaços"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"títols",children:"Títols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 38px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 52px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 30px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 44px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 24px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 36px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 30px;`]})})]})]})]}),` -`,s.jsx(i,{of:l}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"subtítols",children:"Subtítols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 32px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]})]})]}),` -`,s.jsx(i,{of:h}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"cos",children:"Cos"}),` -`,s.jsx(e.p,{children:`Per defecte el cos està amb el pes regular, però es pot afegir classes per a -donar-li més pes o per a decorar amb subratllat.`}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 28px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--semibold"})}),s.jsx("td",{children:"font-weight: 600;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--bold"})}),s.jsx("td",{children:"font-weight: 700;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--underline"})}),s.jsx("td",{children:"text-decoration: underline;"})]})]})]}),` -`,s.jsx(i,{of:x}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"botons",children:"Botons"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:c}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"llegenda",children:"Llegenda"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"enllaços",children:"Enllaços"}),` -`,s.jsx(e.p,{children:"Tots els enllaços per defete tindràn aquestes característiques."}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Etiqueta"}),s.jsx("th",{children:"Propietats"})]})}),s.jsx("tbody",{children:s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"a"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: inherit;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`,s.jsx("br",{}),` -color: #0073E6 / primary.500;`,s.jsx("br",{}),` -text-decoration: underline;`]})})]})})]}),` -`,s.jsx(i,{of:o})]})}function C(n={}){const{wrapper:e}={...d(),...n.components};return e?s.jsx(e,{...n,children:s.jsx(r,{...n})}):r(n)}export{C as default}; diff --git a/rc/assets/typography.doc-DkwQWtJl.js b/rc/assets/typography.doc-DkwQWtJl.js deleted file mode 100644 index 6d54898..0000000 --- a/rc/assets/typography.doc-DkwQWtJl.js +++ /dev/null @@ -1,84 +0,0 @@ -import{ae as s,af as t,ah as i}from"./index-0DKGoewk.js";import{u as d}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-CLtcgagc.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(e.h1,{id:"typography",children:"Typography"}),` -`,s.jsx(e.p,{children:`La tipografia és una manera d'utilitzar el text com a visual per transmetre un -missatge de marca. En aquest sistema, aquest element de disseny és important -per construir personalitat, transmetre un missatge i també per captar -l'atenció de l'espectador, construir una jerarquia, el reconeixement de la -marca, l'harmonia i establir el valor i el to d'una marca.`}),` -`,s.jsxs(e.p,{children:["La base tipogràfica de l'aplicació es al ",s.jsx(e.code,{children:"body"}),` i te les següents -característiques que aniràn canviant segons l'estil aplicat:`]}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Propietat"}),s.jsx("th",{children:"Valor"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"font-family"}),s.jsx("td",{children:"'Open Sans', sans-serif;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"color"}),s.jsx("td",{children:"#656565 / neutral.500"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-size"}),s.jsx("td",{children:"16px;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-weight"}),s.jsx("td",{children:"400"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"line-height"}),s.jsx("td",{children:"24px"})]})]})]}),` -`,s.jsx(e.h3,{id:"índex",children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#t%C3%ADtols",children:"Títols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#subt%C3%ADtols",children:"Subtitols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#cos",children:"Cos"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#botons",children:"Botons"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#llegenda",children:"Llegenda"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#enlla%C3%A7os",children:"Enllaços"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"títols",children:"Títols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 38px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 52px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 30px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 44px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 24px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 36px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 30px;`]})})]})]})]}),` -`,s.jsx(i,{of:l}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"subtítols",children:"Subtítols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 32px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]})]})]}),` -`,s.jsx(i,{of:h}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"cos",children:"Cos"}),` -`,s.jsx(e.p,{children:`Per defecte el cos està amb el pes regular, però es pot afegir classes per a -donar-li més pes o per a decorar amb subratllat.`}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 28px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--semibold"})}),s.jsx("td",{children:"font-weight: 600;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--bold"})}),s.jsx("td",{children:"font-weight: 700;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--underline"})}),s.jsx("td",{children:"text-decoration: underline;"})]})]})]}),` -`,s.jsx(i,{of:x}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"botons",children:"Botons"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:c}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"llegenda",children:"Llegenda"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"enllaços",children:"Enllaços"}),` -`,s.jsx(e.p,{children:"Tots els enllaços per defete tindràn aquestes característiques."}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Etiqueta"}),s.jsx("th",{children:"Propietats"})]})}),s.jsx("tbody",{children:s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"a"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: inherit;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`,s.jsx("br",{}),` -color: #0073E6 / primary.500;`,s.jsx("br",{}),` -text-decoration: underline;`]})})]})})]}),` -`,s.jsx(i,{of:o})]})}function C(n={}){const{wrapper:e}={...d(),...n.components};return e?s.jsx(e,{...n,children:s.jsx(r,{...n})}):r(n)}export{C as default}; diff --git a/rc/assets/typography.doc-Dwdgz9WO.js b/rc/assets/typography.doc-Du6gKFRz.js similarity index 97% rename from rc/assets/typography.doc-Dwdgz9WO.js rename to rc/assets/typography.doc-Du6gKFRz.js index 3b50d25..9647e94 100644 --- a/rc/assets/typography.doc-Dwdgz9WO.js +++ b/rc/assets/typography.doc-Du6gKFRz.js @@ -1,4 +1,4 @@ -import{ae as s,af as t,ah as i}from"./index-D51CeFyD.js";import{u as d}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-C7DFWHUm.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` +import{ae as s,af as t,ah as i}from"./index-CMvVeEhu.js";import{u as d}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-C7DFWHUm.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` `,s.jsx(e.h1,{id:"typography",children:"Typography"}),` `,s.jsx(e.p,{children:`La tipografia és una manera d'utilitzar el text com a visual per transmetre un missatge de marca. En aquest sistema, aquest element de disseny és important diff --git a/rc/assets/typography.doc-eOJf5MRa.js b/rc/assets/typography.doc-eOJf5MRa.js deleted file mode 100644 index 19e3b4e..0000000 --- a/rc/assets/typography.doc-eOJf5MRa.js +++ /dev/null @@ -1,84 +0,0 @@ -import{ae as s,af as t,ah as i}from"./index-CQXi_Y6g.js";import{u as d}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-C7DFWHUm.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(e.h1,{id:"typography",children:"Typography"}),` -`,s.jsx(e.p,{children:`La tipografia és una manera d'utilitzar el text com a visual per transmetre un -missatge de marca. En aquest sistema, aquest element de disseny és important -per construir personalitat, transmetre un missatge i també per captar -l'atenció de l'espectador, construir una jerarquia, el reconeixement de la -marca, l'harmonia i establir el valor i el to d'una marca.`}),` -`,s.jsxs(e.p,{children:["La base tipogràfica de l'aplicació es al ",s.jsx(e.code,{children:"body"}),` i te les següents -característiques que aniràn canviant segons l'estil aplicat:`]}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Propietat"}),s.jsx("th",{children:"Valor"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"font-family"}),s.jsx("td",{children:"'Open Sans', sans-serif;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"color"}),s.jsx("td",{children:"#656565 / neutral.500"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-size"}),s.jsx("td",{children:"16px;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-weight"}),s.jsx("td",{children:"400"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"line-height"}),s.jsx("td",{children:"24px"})]})]})]}),` -`,s.jsx(e.h3,{id:"índex",children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#t%C3%ADtols",children:"Títols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#subt%C3%ADtols",children:"Subtitols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#cos",children:"Cos"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#botons",children:"Botons"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#llegenda",children:"Llegenda"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#enlla%C3%A7os",children:"Enllaços"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"títols",children:"Títols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 38px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 52px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 30px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 44px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 24px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 36px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 30px;`]})})]})]})]}),` -`,s.jsx(i,{of:l}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"subtítols",children:"Subtítols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 32px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]})]})]}),` -`,s.jsx(i,{of:h}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"cos",children:"Cos"}),` -`,s.jsx(e.p,{children:`Per defecte el cos està amb el pes regular, però es pot afegir classes per a -donar-li més pes o per a decorar amb subratllat.`}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 28px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--semibold"})}),s.jsx("td",{children:"font-weight: 600;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--bold"})}),s.jsx("td",{children:"font-weight: 700;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--underline"})}),s.jsx("td",{children:"text-decoration: underline;"})]})]})]}),` -`,s.jsx(i,{of:x}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"botons",children:"Botons"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:c}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"llegenda",children:"Llegenda"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"enllaços",children:"Enllaços"}),` -`,s.jsx(e.p,{children:"Tots els enllaços per defete tindràn aquestes característiques."}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Etiqueta"}),s.jsx("th",{children:"Propietats"})]})}),s.jsx("tbody",{children:s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"a"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: inherit;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`,s.jsx("br",{}),` -color: #0073E6 / primary.500;`,s.jsx("br",{}),` -text-decoration: underline;`]})})]})})]}),` -`,s.jsx(i,{of:o})]})}function C(n={}){const{wrapper:e}={...d(),...n.components};return e?s.jsx(e,{...n,children:s.jsx(r,{...n})}):r(n)}export{C as default}; diff --git a/rc/assets/typography.doc-w7o8Agcr.js b/rc/assets/typography.doc-w7o8Agcr.js deleted file mode 100644 index 8a1b0fb..0000000 --- a/rc/assets/typography.doc-w7o8Agcr.js +++ /dev/null @@ -1,84 +0,0 @@ -import{ae as s,af as t,ah as i}from"./index-CcF9BsMG.js";import{u as d}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import{Title as l,Subtitle as h,Cos as x,Buttons as c,Legend as j,Links as o}from"./typography.stories-CLtcgagc.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function r(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",p:"p",ul:"ul",...d(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(t,{title:"Foundations/Typography",parameters:{previewTabs:{canvas:{hidden:!0}}}}),` -`,s.jsx(e.h1,{id:"typography",children:"Typography"}),` -`,s.jsx(e.p,{children:`La tipografia és una manera d'utilitzar el text com a visual per transmetre un -missatge de marca. En aquest sistema, aquest element de disseny és important -per construir personalitat, transmetre un missatge i també per captar -l'atenció de l'espectador, construir una jerarquia, el reconeixement de la -marca, l'harmonia i establir el valor i el to d'una marca.`}),` -`,s.jsxs(e.p,{children:["La base tipogràfica de l'aplicació es al ",s.jsx(e.code,{children:"body"}),` i te les següents -característiques que aniràn canviant segons l'estil aplicat:`]}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Propietat"}),s.jsx("th",{children:"Valor"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:"font-family"}),s.jsx("td",{children:"'Open Sans', sans-serif;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"color"}),s.jsx("td",{children:"#656565 / neutral.500"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-size"}),s.jsx("td",{children:"16px;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"font-weight"}),s.jsx("td",{children:"400"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:"line-height"}),s.jsx("td",{children:"24px"})]})]})]}),` -`,s.jsx(e.h3,{id:"índex",children:"Índex"}),` -`,s.jsxs(e.ul,{children:[` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#t%C3%ADtols",children:"Títols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#subt%C3%ADtols",children:"Subtitols"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#cos",children:"Cos"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#botons",children:"Botons"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#llegenda",children:"Llegenda"})}),` -`,s.jsx(e.li,{children:s.jsx(e.a,{href:"#enlla%C3%A7os",children:"Enllaços"})}),` -`]}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"títols",children:"Títols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 38px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 52px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 30px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 44px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 24px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 36px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-headline--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 700;`,s.jsx("br",{}),` -line-height: 30px;`]})})]})]})]}),` -`,s.jsx(i,{of:l}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"subtítols",children:"Subtítols"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--xl"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 20px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 32px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-subtitle--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]})]})]}),` -`,s.jsx(i,{of:h}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"cos",children:"Cos"}),` -`,s.jsx(e.p,{children:`Per defecte el cos està amb el pes regular, però es pot afegir classes per a -donar-li més pes o per a decorar amb subratllat.`}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 18px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 28px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--semibold"})}),s.jsx("td",{children:"font-weight: 600;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--bold"})}),s.jsx("td",{children:"font-weight: 700;"})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-body--underline"})}),s.jsx("td",{children:"text-decoration: underline;"})]})]})]}),` -`,s.jsx(i,{of:x}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"botons",children:"Botons"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-button--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 600;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:c}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"llegenda",children:"Llegenda"}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Classe"}),s.jsx("th",{children:"Propietat"})]})}),s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--lg"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 16px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--md"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 14px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`]})})]}),s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"dss-legend--sm"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: 12px;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 16px;`]})})]})]})]}),` -`,s.jsx(i,{of:j}),` -`,s.jsx("br",{}),` -`,s.jsx(e.h3,{id:"enllaços",children:"Enllaços"}),` -`,s.jsx(e.p,{children:"Tots els enllaços per defete tindràn aquestes característiques."}),` -`,s.jsxs("table",{class:"sb-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:"Etiqueta"}),s.jsx("th",{children:"Propietats"})]})}),s.jsx("tbody",{children:s.jsxs("tr",{children:[s.jsx("td",{children:s.jsx("code",{children:"a"})}),s.jsx("td",{children:s.jsxs(e.p,{children:["font-size: inherit;",s.jsx("br",{}),` -font-weight: 400;`,s.jsx("br",{}),` -line-height: 24px;`,s.jsx("br",{}),` -color: #0073E6 / primary.500;`,s.jsx("br",{}),` -text-decoration: underline;`]})})]})})]}),` -`,s.jsx(i,{of:o})]})}function C(n={}){const{wrapper:e}={...d(),...n.components};return e?s.jsx(e,{...n,children:s.jsx(r,{...n})}):r(n)}export{C as default}; diff --git a/rc/assets/typography.stories-CLtcgagc.js b/rc/assets/typography.stories-CLtcgagc.js deleted file mode 100644 index 7ca95f0..0000000 --- a/rc/assets/typography.stories-CLtcgagc.js +++ /dev/null @@ -1,113 +0,0 @@ -import{x as s}from"./lit-html-paDGiEfB.js";const k={title:"Foundations/Typography",argTypes:{},parameters:{}},d={tags:["!dev"],render:()=>s` -
    -
    Open Sans 38px
    -
    Open Sans 30px
    -
    Open Sans 24px
    -
    Open Sans 20px
    -
    `},n={tags:["!dev"],render:()=>s` -
    -
    Open Sans 20px
    -
    Open Sans 18px
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    `},e={tags:["!dev"],render:()=>s` -
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    `},a={tags:["!dev"],render:()=>s` -
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    Open Sans 12px
    -
    `},i={tags:["!dev"],render:()=>s` -
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    Open Sans 12px
    -
    `},p={tags:["!dev"],render:()=>s` -
    - Open Sans -
    `};var l,r,v;d.parameters={...d.parameters,docs:{...(l=d.parameters)==null?void 0:l.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    Open Sans 38px
    -
    Open Sans 30px
    -
    Open Sans 24px
    -
    Open Sans 20px
    -
    \`; - } -}`,...(v=(r=d.parameters)==null?void 0:r.docs)==null?void 0:v.source}}};var o,t,c;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    Open Sans 20px
    -
    Open Sans 18px
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    \`; - } -}`,...(c=(t=n.parameters)==null?void 0:t.docs)==null?void 0:c.source}}};var b,m,x;e.parameters={...e.parameters,docs:{...(b=e.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    Open Sans 18px
    -
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    Open Sans 16px
    -
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    Open Sans 14px
    -
    \`; - } -}`,...(x=(m=e.parameters)==null?void 0:m.docs)==null?void 0:x.source}}};var y,g,S;a.parameters={...a.parameters,docs:{...(y=a.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    Open Sans 12px
    -
    \`; - } -}`,...(S=(g=a.parameters)==null?void 0:g.docs)==null?void 0:S.source}}};var u,O,h;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    Open Sans 16px
    -
    Open Sans 14px
    -
    Open Sans 12px
    -
    \`; - } -}`,...(h=(O=i.parameters)==null?void 0:O.docs)==null?void 0:h.source}}};var L,T,_;p.parameters={...p.parameters,docs:{...(L=p.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - Open Sans -
    \`; - } -}`,...(_=(T=p.parameters)==null?void 0:T.docs)==null?void 0:_.source}}};const B=["Title","Subtitle","Cos","Buttons","Legend","Links"];export{a as Buttons,e as Cos,i as Legend,p as Links,n as Subtitle,d as Title,B as __namedExportsOrder,k as default}; diff --git a/rc/assets/upload-box.doc-dObFEx67.js b/rc/assets/upload-box.doc-B88qTNL9.js similarity index 97% rename from rc/assets/upload-box.doc-dObFEx67.js rename to rc/assets/upload-box.doc-B88qTNL9.js index fb55eb5..15fdbc6 100644 --- a/rc/assets/upload-box.doc-dObFEx67.js +++ b/rc/assets/upload-box.doc-B88qTNL9.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-D51CeFyD.js";import{u as n}from"./index-Dvvi2AU9.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-D76PP_e4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-CMvVeEhu.js";import{u as n}from"./index-C5hQraAl.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-D76PP_e4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper{ flex-direction: column; align-items: flex-start; diff --git a/rc/assets/upload-box.doc-Bbjz0_X-.js b/rc/assets/upload-box.doc-Bbjz0_X-.js deleted file mode 100644 index 9f1a500..0000000 --- a/rc/assets/upload-box.doc-Bbjz0_X-.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-CQXi_Y6g.js";import{u as n}from"./index-CkYTJ7Ip.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-D76PP_e4.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .upload-box-wrapper { - width: 400px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-upload-box",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component 'upload box' permet als usuaris seleccionar fitxers o utilitzar arrossegar i deixar anar per carregar-los al sistema. A través de les propietats del component podrà seleccionar-se a més el tipus de formats permesos així com la mida màxima que poden tenir els fitxers."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'file_upload'"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"fileExplorerMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Clica per pujar'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat d'obrir el navegador per seleccionar arxius manualment"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'o arxius arrossega aquí'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat de fer drag & drop."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormatMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'PDF, JPEG o PNG de menys de 5MB'"}),e.jsx(s.td,{children:"Text que detalla els tipus de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormat"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:'["pdf","jpeg","png"]'}),e.jsx(s.td,{children:"Llista de formats de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxFileSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"5242880 (5Mb)"}),e.jsx(s.td,{children:"Mida màxima d'arxiu permesa. S'ha de definir en bytes."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: a més d'aquestes propietats es podrà fer ús de qualsevol propietat nativa de l'input:file a través de l'slot. Per exemple: disabled o multiple"}),` -`]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUploadFiles"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"esdeveniment que torna la llista de fitxers que s'ha afegit al selector bé de forma manual o utilitzant l'esdeveniment drag & drop."})]})})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Estats: Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#multiple",children:"Estats: Multiple"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#format-d-arxius",children:"Format d'arxius"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: el contenidor amb classe upload-box-wrapper només es defineix per millorar la visualització del component a Storybook però no cal utilitzar-lo a les aplicacions finals."}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s.h4,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Important: la propietat disabled s'ha d'assignar com a atribut de l'input i no com a propietat general del component."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h4,{id:"multiple",children:"Multiple"}),` -`,e.jsx(s.p,{children:"La propietat multiple permet que al selector d'arxius manual puguem seleccionar diversos fitxers alhora per alinear el comportament al drag & drop."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(s.h3,{id:"format-darxius",children:"Format d'arxius"}),` -`,e.jsx(s.p,{children:"Quan es modifiquen els formats de fitxer és important canviar també el missatge sobre aquests."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha modificat la gestió de la càrrega d'arxius al navegador per mostrar un estat de 'loading' i també poder capturar el missatge d'error del propi navegador si ocorre algun problema durant la mateixa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha modificat l'aparença del component per millorar la interacció amb aquest."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsx(s.td,{children:"Nou component que permet adjuntar arxius de manera manual o mitjançant Drag&Drop."})]})]})]})]})}function M(r={}){const{wrapper:s}={...n(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(t,{...r})}):t(r)}export{M as default}; diff --git a/rc/assets/upload-box.doc-Bdw3kS0u.js b/rc/assets/upload-box.doc-Bdw3kS0u.js deleted file mode 100644 index 395c6d0..0000000 --- a/rc/assets/upload-box.doc-Bdw3kS0u.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-CcF9BsMG.js";import{u as n}from"./index-BlEr_OIe.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-Da5vP6j9.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .upload-box-wrapper { - width: 400px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-upload-box",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component 'upload box' permet als usuaris seleccionar fitxers o utilitzar arrossegar i deixar anar per carregar-los al sistema. A través de les propietats del component podrà seleccionar-se a més el tipus de formats permesos així com la mida màxima que poden tenir els fitxers."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'file_upload'"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"fileExplorerMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Clica per pujar'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat d'obrir el navegador per seleccionar arxius manualment"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'o arxius arrossega aquí'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat de fer drag & drop."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormatMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'PDF, JPEG o PNG de menys de 5MB'"}),e.jsx(s.td,{children:"Text que detalla els tipus de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormat"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:'["pdf","jpeg","png"]'}),e.jsx(s.td,{children:"Llista de formats de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxFileSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"5242880 (5Mb)"}),e.jsx(s.td,{children:"Mida màxima d'arxiu permesa. S'ha de definir en bytes."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: a més d'aquestes propietats es podrà fer ús de qualsevol propietat nativa de l'input:file a través de l'slot. Per exemple: disabled o multiple"}),` -`]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUploadFiles"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"esdeveniment que torna la llista de fitxers que s'ha afegit al selector bé de forma manual o utilitzant l'esdeveniment drag & drop."})]})})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Estats: Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#multiple",children:"Estats: Multiple"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#format-d-arxius",children:"Format d'arxius"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: el contenidor amb classe upload-box-wrapper només es defineix per millorar la visualització del component a Storybook però no cal utilitzar-lo a les aplicacions finals."}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s.h4,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Important: la propietat disabled s'ha d'assignar com a atribut de l'input i no com a propietat general del component."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h4,{id:"multiple",children:"Multiple"}),` -`,e.jsx(s.p,{children:"La propietat multiple permet que al selector d'arxius manual puguem seleccionar diversos fitxers alhora per alinear el comportament al drag & drop."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(s.h3,{id:"format-darxius",children:"Format d'arxius"}),` -`,e.jsx(s.p,{children:"Quan es modifiquen els formats de fitxer és important canviar també el missatge sobre aquests."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha modificat la gestió de la càrrega d'arxius al navegador per mostrar un estat de 'loading' i també poder capturar el missatge d'error del propi navegador si ocorre algun problema durant la mateixa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha modificat l'aparença del component per millorar la interacció amb aquest."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsx(s.td,{children:"Nou component que permet adjuntar arxius de manera manual o mitjançant Drag&Drop."})]})]})]})]})}function M(r={}){const{wrapper:s}={...n(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(t,{...r})}):t(r)}export{M as default}; diff --git a/rc/assets/upload-box.doc-BrZsAqVS.js b/rc/assets/upload-box.doc-BrZsAqVS.js deleted file mode 100644 index 0b29d51..0000000 --- a/rc/assets/upload-box.doc-BrZsAqVS.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-Dxx82nxn.js";import{u as n}from"./index-w933pGNw.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-D76PP_e4.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .upload-box-wrapper { - width: 400px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-upload-box",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component 'upload box' permet als usuaris seleccionar fitxers o utilitzar arrossegar i deixar anar per carregar-los al sistema. A través de les propietats del component podrà seleccionar-se a més el tipus de formats permesos així com la mida màxima que poden tenir els fitxers."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'file_upload'"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"fileExplorerMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Clica per pujar'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat d'obrir el navegador per seleccionar arxius manualment"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'o arxius arrossega aquí'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat de fer drag & drop."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormatMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'PDF, JPEG o PNG de menys de 5MB'"}),e.jsx(s.td,{children:"Text que detalla els tipus de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormat"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:'["pdf","jpeg","png"]'}),e.jsx(s.td,{children:"Llista de formats de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxFileSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"5242880 (5Mb)"}),e.jsx(s.td,{children:"Mida màxima d'arxiu permesa. S'ha de definir en bytes."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: a més d'aquestes propietats es podrà fer ús de qualsevol propietat nativa de l'input:file a través de l'slot. Per exemple: disabled o multiple"}),` -`]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUploadFiles"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"esdeveniment que torna la llista de fitxers que s'ha afegit al selector bé de forma manual o utilitzant l'esdeveniment drag & drop."})]})})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Estats: Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#multiple",children:"Estats: Multiple"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#format-d-arxius",children:"Format d'arxius"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: el contenidor amb classe upload-box-wrapper només es defineix per millorar la visualització del component a Storybook però no cal utilitzar-lo a les aplicacions finals."}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s.h4,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Important: la propietat disabled s'ha d'assignar com a atribut de l'input i no com a propietat general del component."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h4,{id:"multiple",children:"Multiple"}),` -`,e.jsx(s.p,{children:"La propietat multiple permet que al selector d'arxius manual puguem seleccionar diversos fitxers alhora per alinear el comportament al drag & drop."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(s.h3,{id:"format-darxius",children:"Format d'arxius"}),` -`,e.jsx(s.p,{children:"Quan es modifiquen els formats de fitxer és important canviar també el missatge sobre aquests."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha modificat la gestió de la càrrega d'arxius al navegador per mostrar un estat de 'loading' i també poder capturar el missatge d'error del propi navegador si ocorre algun problema durant la mateixa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha modificat l'aparença del component per millorar la interacció amb aquest."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsx(s.td,{children:"Nou component que permet adjuntar arxius de manera manual o mitjançant Drag&Drop."})]})]})]})]})}function M(r={}){const{wrapper:s}={...n(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(t,{...r})}):t(r)}export{M as default}; diff --git a/rc/assets/upload-box.doc-CMg-ABd7.js b/rc/assets/upload-box.doc-CMg-ABd7.js deleted file mode 100644 index 0669723..0000000 --- a/rc/assets/upload-box.doc-CMg-ABd7.js +++ /dev/null @@ -1,52 +0,0 @@ -import{ae as e,af as d,ag as l,ah as i,ai as a}from"./index-0DKGoewk.js";import{u as n}from"./index-FamfD7PC.js";import{S as o,P as c,B as x,D as h,M as j,F as p}from"./upload-box.stories-Da5vP6j9.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function t(r){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper{ - flex-direction: column; - align-items: flex-start; - } - .upload-box-wrapper { - width: 400px; - } - `}),` -`,e.jsx(d,{of:o}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-upload-box",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:"El component 'upload box' permet als usuaris seleccionar fitxers o utilitzar arrossegar i deixar anar per carregar-los al sistema. A través de les propietats del component podrà seleccionar-se a més el tipus de formats permesos així com la mida màxima que poden tenir els fitxers."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(i,{of:c}),` -`,e.jsx(a,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropIcon"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'file_upload'"}),e.jsx(s.td,{children:"Icona mostrada dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"fileExplorerMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Clica per pujar'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat d'obrir el navegador per seleccionar arxius manualment"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"dragAndDropMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'o arxius arrossega aquí'"}),e.jsx(s.td,{children:"Text que notifica sobre la possibilitat de fer drag & drop."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormatMessage"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'PDF, JPEG o PNG de menys de 5MB'"}),e.jsx(s.td,{children:"Text que detalla els tipus de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"filesFormat"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string[]"}),e.jsx(s.td,{children:'["pdf","jpeg","png"]'}),e.jsx(s.td,{children:"Llista de formats de fitxers permesos."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"maxFileSize"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"number"}),e.jsx(s.td,{children:"5242880 (5Mb)"}),e.jsx(s.td,{children:"Mida màxima d'arxiu permesa. S'ha de definir en bytes."})]})]})]}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: a més d'aquestes propietats es podrà fer ús de qualsevol propietat nativa de l'input:file a través de l'slot. Per exemple: disabled o multiple"}),` -`]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"esdeveniments",children:"Esdeveniments"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Description"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"onUploadFiles"})}),e.jsx(s.td,{children:"Output"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"CustomEvent"}),e.jsx(s.td,{children:"esdeveniment que torna la llista de fitxers que s'ha afegit al selector bé de forma manual o utilitzant l'esdeveniment drag & drop."})]})})]}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#default",children:"Default"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#disabled",children:"Estats: Disabled"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#multiple",children:"Estats: Multiple"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#format-d-arxius",children:"Format d'arxius"})}),` -`]}),` -`,e.jsx("br",{}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Nota: el contenidor amb classe upload-box-wrapper només es defineix per millorar la visualització del component a Storybook però no cal utilitzar-lo a les aplicacions finals."}),` -`]}),` -`,e.jsx(s.h3,{id:"default",children:"Default"}),` -`,e.jsx(i,{of:x}),` -`,e.jsx(s.h3,{id:"estats",children:"Estats"}),` -`,e.jsx(s.h4,{id:"disabled",children:"Disabled"}),` -`,e.jsx(s.p,{children:"Important: la propietat disabled s'ha d'assignar com a atribut de l'input i no com a propietat general del component."}),` -`,e.jsx(i,{of:h}),` -`,e.jsx(s.h4,{id:"multiple",children:"Multiple"}),` -`,e.jsx(s.p,{children:"La propietat multiple permet que al selector d'arxius manual puguem seleccionar diversos fitxers alhora per alinear el comportament al drag & drop."}),` -`,e.jsx(i,{of:j}),` -`,e.jsx(s.h3,{id:"format-darxius",children:"Format d'arxius"}),` -`,e.jsx(s.p,{children:"Quan es modifiquen els formats de fitxer és important canviar també el missatge sobre aquests."}),` -`,e.jsx(i,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.10.0"})}),e.jsx(s.td,{children:"S'ha modificat la gestió de la càrrega d'arxius al navegador per mostrar un estat de 'loading' i també poder capturar el missatge d'error del propi navegador si ocorre algun problema durant la mateixa."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.9.0"})}),e.jsx(s.td,{children:"S'ha modificat l'aparença del component per millorar la interacció amb aquest."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.8.0"})}),e.jsx(s.td,{children:"Nou component que permet adjuntar arxius de manera manual o mitjançant Drag&Drop."})]})]})]})]})}function M(r={}){const{wrapper:s}={...n(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(t,{...r})}):t(r)}export{M as default}; diff --git a/rc/assets/upload-box.stories-Da5vP6j9.js b/rc/assets/upload-box.stories-Da5vP6j9.js deleted file mode 100644 index ae737a9..0000000 --- a/rc/assets/upload-box.stories-Da5vP6j9.js +++ /dev/null @@ -1,110 +0,0 @@ -import{x as l}from"./lit-html-paDGiEfB.js";const D={title:"Components/Upload Box",argTypes:{dragAndDropIcon:{name:"dragAndDropIcon",control:{type:"text"}},dragAndDropMessage:{name:"dragAndDropMessage",control:{type:"text"}},fileExplorerMessage:{name:"Open file explorer message",control:{type:"text"}},filesFormatMessage:{name:"filesFormatMessage",control:{type:"text"}},filesFormat:{name:"filesFormat",control:{type:"text"}},multiple:{name:"Input: multiple",control:{type:"boolean"}},disabled:{name:"Input: disabled",control:{type:"boolean"}}},parameters:{layout:"centered"}},s={args:{dragAndDropIcon:"file_upload",fileExplorerMessage:"Clica per pujar",dragAndDropMessage:"o arrossega arxius aquí",filesFormatMessage:"PDF, JPEG o PNG de menys de 5MB",filesFormat:'["pdf","jpeg","png"]',multiple:!1,disabled:!1},render:e=>l` -
    - - - -
    - `},r={tags:["!dev"],render:()=>l` -
    - - - -
    - `},a={tags:["!dev"],render:()=>l` -
    - - - -
    - `},o={tags:["!dev"],render:()=>l` -
    - - - -
    - `},d={tags:["!dev"],render:()=>l` -
    - - - -
    - `};var t,p,n;s.parameters={...s.parameters,docs:{...(t=s.parameters)==null?void 0:t.docs,source:{originalSource:`{ - args: { - dragAndDropIcon: 'file_upload', - fileExplorerMessage: 'Clica per pujar', - dragAndDropMessage: 'o arrossega arxius aquí', - filesFormatMessage: 'PDF, JPEG o PNG de menys de 5MB', - filesFormat: '["pdf","jpeg","png"]', - multiple: false, - disabled: false - }, - render: (args: any) => { - return html\` -
    - - - -
    - \`; - } -}`,...(n=(p=s.parameters)==null?void 0:p.docs)==null?void 0:n.source}}};var i,u,m;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(m=(u=r.parameters)==null?void 0:u.docs)==null?void 0:m.source}}};var g,c,x;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(x=(c=a.parameters)==null?void 0:c.docs)==null?void 0:x.source}}};var f,b,M;o.parameters={...o.parameters,docs:{...(f=o.parameters)==null?void 0:f.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(M=(b=o.parameters)==null?void 0:b.docs)==null?void 0:M.source}}};var y,F,v;d.parameters={...d.parameters,docs:{...(y=d.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - -
    - \`; - } -}`,...(v=(F=d.parameters)==null?void 0:F.docs)==null?void 0:v.source}}};const $=["Playground","ByDefault","Disabled","Multiple","FileFormat"],A=Object.freeze(Object.defineProperty({__proto__:null,ByDefault:r,Disabled:a,FileFormat:d,Multiple:o,Playground:s,__namedExportsOrder:$,default:D},Symbol.toStringTag,{value:"Module"}));export{r as B,a as D,d as F,o as M,s as P,A as S}; diff --git a/rc/assets/user-feedback.doc-BhZaA9u8.js b/rc/assets/user-feedback.doc-BhZaA9u8.js deleted file mode 100644 index 6af3409..0000000 --- a/rc/assets/user-feedback.doc-BhZaA9u8.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-Dxx82nxn.js";import{u as t}from"./index-w933pGNw.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-JhiRvL2e.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 32px; - } - `}),` -`,e.jsx(d,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-user-feedback",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els User Feedbacks s'utilitzen habitualment per informar d'errors del sistema -o transmetre una conseqüència de l'acció d'un usuari.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageSrc"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Ruta de la imatge principal del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageAlt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu per a la imatge"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"description"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Descripció que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita l'enllaç per veure'n més detalls."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"detailsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Veure detalls'"}),e.jsx(s.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amagar la secció del footer per eliminar l'espaiament en cas de no haver d'usar botons."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#construccio",children:"Construcció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-enlla%C3%A7",children:"Amb enllaç"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"construcció",children:"Construcció"}),` -`,e.jsx(s.p,{children:`Aquest component sempre va amb una imatge del tipus de error, un títol i una -descripció.`}),` -`,e.jsx("h5",{}),` -`,e.jsx(s.p,{children:"També podem afegir hasta 2 botons, pero un sempre te que ser el Primary."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-success.svg"})]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-warning.svg"})]}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-error.svg"})]}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Empty"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-empty.svg"})]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Not Found"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-not_found.svg"})]}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Work in Progress"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-work_in_progress.svg"})]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-enllaç",children:"Amb enllaç"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.0"})}),e.jsx(s.td,{children:"Nou web component."})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/user-feedback.doc-CMve73Qu.js b/rc/assets/user-feedback.doc-CMve73Qu.js deleted file mode 100644 index d5b21d2..0000000 --- a/rc/assets/user-feedback.doc-CMve73Qu.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CcF9BsMG.js";import{u as t}from"./index-BlEr_OIe.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-CnjwrJIJ.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 32px; - } - `}),` -`,e.jsx(d,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-user-feedback",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els User Feedbacks s'utilitzen habitualment per informar d'errors del sistema -o transmetre una conseqüència de l'acció d'un usuari.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageSrc"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Ruta de la imatge principal del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageAlt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu per a la imatge"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"description"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Descripció que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita l'enllaç per veure'n més detalls."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"detailsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Veure detalls'"}),e.jsx(s.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amagar la secció del footer per eliminar l'espaiament en cas de no haver d'usar botons."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#construccio",children:"Construcció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-enlla%C3%A7",children:"Amb enllaç"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"construcció",children:"Construcció"}),` -`,e.jsx(s.p,{children:`Aquest component sempre va amb una imatge del tipus de error, un títol i una -descripció.`}),` -`,e.jsx("h5",{}),` -`,e.jsx(s.p,{children:"També podem afegir hasta 2 botons, pero un sempre te que ser el Primary."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-success.svg"})]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-warning.svg"})]}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-error.svg"})]}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Empty"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-empty.svg"})]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Not Found"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-not_found.svg"})]}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Work in Progress"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-work_in_progress.svg"})]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-enllaç",children:"Amb enllaç"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.0"})}),e.jsx(s.td,{children:"Nou web component."})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/user-feedback.doc-D6_N2Yei.js b/rc/assets/user-feedback.doc-D6_N2Yei.js deleted file mode 100644 index b6c86fd..0000000 --- a/rc/assets/user-feedback.doc-D6_N2Yei.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CQXi_Y6g.js";import{u as t}from"./index-CkYTJ7Ip.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-JhiRvL2e.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 32px; - } - `}),` -`,e.jsx(d,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-user-feedback",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els User Feedbacks s'utilitzen habitualment per informar d'errors del sistema -o transmetre una conseqüència de l'acció d'un usuari.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageSrc"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Ruta de la imatge principal del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageAlt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu per a la imatge"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"description"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Descripció que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita l'enllaç per veure'n més detalls."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"detailsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Veure detalls'"}),e.jsx(s.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amagar la secció del footer per eliminar l'espaiament en cas de no haver d'usar botons."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#construccio",children:"Construcció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-enlla%C3%A7",children:"Amb enllaç"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"construcció",children:"Construcció"}),` -`,e.jsx(s.p,{children:`Aquest component sempre va amb una imatge del tipus de error, un títol i una -descripció.`}),` -`,e.jsx("h5",{}),` -`,e.jsx(s.p,{children:"També podem afegir hasta 2 botons, pero un sempre te que ser el Primary."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-success.svg"})]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-warning.svg"})]}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-error.svg"})]}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Empty"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-empty.svg"})]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Not Found"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-not_found.svg"})]}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Work in Progress"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-work_in_progress.svg"})]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-enllaç",children:"Amb enllaç"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.0"})}),e.jsx(s.td,{children:"Nou web component."})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/user-feedback.doc-DkuPH5Oq.js b/rc/assets/user-feedback.doc-DkuPH5Oq.js deleted file mode 100644 index 7eda1cf..0000000 --- a/rc/assets/user-feedback.doc-DkuPH5Oq.js +++ /dev/null @@ -1,58 +0,0 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-0DKGoewk.js";import{u as t}from"./index-FamfD7PC.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-CnjwrJIJ.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper #root-inner { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 32px; - } - `}),` -`,e.jsx(d,{of:h}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(l,{}),e.jsx("dss-badge",{text:"dss-user-feedback",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx(s.p,{children:`Els User Feedbacks s'utilitzen habitualment per informar d'errors del sistema -o transmetre una conseqüència de l'acció d'un usuari.`}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(n,{of:a}),` -`,e.jsx(c,{}),` -`,e.jsx(s.h3,{id:"propietats",children:"Propietats"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Name"}),e.jsx(s.th,{children:"Àmbit"}),e.jsx(s.th,{children:"Condition"}),e.jsx(s.th,{children:"Type"}),e.jsx(s.th,{children:"Default"}),e.jsx(s.th,{children:"Description"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageSrc"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Ruta de la imatge principal del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"imageAlt"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Text alternatiu per a la imatge"})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"title"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Titol que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"description"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Requerida"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"-"}),e.jsx(s.td,{children:"Descripció que es mostra dins del component."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hasDetails"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Habilita l'enllaç per veure'n més detalls."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"detailsLabel"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"string"}),e.jsx(s.td,{children:"'Veure detalls'"}),e.jsx(s.td,{children:"Text que es mostra dins del enllaç."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"hideFooter"})}),e.jsx(s.td,{children:"Input"}),e.jsx(s.td,{children:"Opcional"}),e.jsx(s.td,{children:"boolean"}),e.jsx(s.td,{children:"false"}),e.jsx(s.td,{children:"Amagar la secció del footer per eliminar l'espaiament en cas de no haver d'usar botons."})]})]})]}),` -`,e.jsx(s.p,{children:"(*) Propietat obligatòria"}),` -`,e.jsx("br",{}),` -`,e.jsx("h3",{children:"Índex"}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#construccio",children:"Construcció"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#tipus",children:"Tipus"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-enlla%C3%A7",children:"Amb enllaç"})}),` -`]}),` -`,e.jsx("hr",{}),` -`,e.jsx(s.h3,{id:"construcció",children:"Construcció"}),` -`,e.jsx(s.p,{children:`Aquest component sempre va amb una imatge del tipus de error, un títol i una -descripció.`}),` -`,e.jsx("h5",{}),` -`,e.jsx(s.p,{children:"També podem afegir hasta 2 botons, pero un sempre te que ser el Primary."}),` -`,e.jsx(n,{of:x}),` -`,e.jsx(s.h3,{id:"tipus",children:"Tipus"}),` -`,e.jsx("h5",{children:"Success"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-success.svg"})]}),` -`,e.jsx(n,{of:o}),` -`,e.jsx("h5",{children:"Warning"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-warning.svg"})]}),` -`,e.jsx(n,{of:j}),` -`,e.jsx("h5",{children:"Error"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-error.svg"})]}),` -`,e.jsx(n,{of:u}),` -`,e.jsx("h5",{children:"Empty"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-empty.svg"})]}),` -`,e.jsx(n,{of:p}),` -`,e.jsx("h5",{children:"Not Found"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-not_found.svg"})]}),` -`,e.jsx(n,{of:m}),` -`,e.jsx("h5",{children:"Work in Progress"}),` -`,e.jsxs(s.p,{children:["El arxiu es ",e.jsx(s.strong,{children:"feedback-work_in_progress.svg"})]}),` -`,e.jsx(n,{of:g}),` -`,e.jsx(s.h3,{id:"amb-enllaç",children:"Amb enllaç"}),` -`,e.jsx(n,{of:b}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsxs(s.tbody,{children:[e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"2.0.0"})}),e.jsx(s.td,{children:"Refactor v2."})]}),e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.0"})}),e.jsx(s.td,{children:"Nou web component."})]})]})]})]})}function A(r={}){const{wrapper:s}={...t(),...r.components};return s?e.jsx(s,{...r,children:e.jsx(i,{...r})}):i(r)}export{A as default}; diff --git a/rc/assets/user-feedback.doc-B2ZCI8Br.js b/rc/assets/user-feedback.doc-waHIT4BY.js similarity index 96% rename from rc/assets/user-feedback.doc-B2ZCI8Br.js rename to rc/assets/user-feedback.doc-waHIT4BY.js index 4c1ab86..e638780 100644 --- a/rc/assets/user-feedback.doc-B2ZCI8Br.js +++ b/rc/assets/user-feedback.doc-waHIT4BY.js @@ -1,4 +1,4 @@ -import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-D51CeFyD.js";import{u as t}from"./index-Dvvi2AU9.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-JhiRvL2e.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as d,ag as l,ah as n,ai as c}from"./index-CMvVeEhu.js";import{u as t}from"./index-C5hQraAl.js";import{S as h,P as a,B as x,a as o,W as j,E as u,b as p,N as m,I as g,L as b}from"./user-feedback.stories-JhiRvL2e.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function i(r){const s={a:"a",blockquote:"blockquote",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper #root-inner { display: flex; align-items: flex-start; diff --git a/rc/assets/user-feedback.stories-CnjwrJIJ.js b/rc/assets/user-feedback.stories-CnjwrJIJ.js deleted file mode 100644 index b691961..0000000 --- a/rc/assets/user-feedback.stories-CnjwrJIJ.js +++ /dev/null @@ -1,509 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const G={title:"Components/User Feedback",argTypes:{type:{name:"Tipus de error",control:{type:"radio"},options:["Error","Empty","Not Found","Success","Work in Progress"]},title:{name:"Títol",control:{type:"text"}},description:{name:"Descripció",control:{type:"text"}},showButtonPrimary:{name:"Mostrar botó principal",control:{type:"boolean"}},showButtonSecondary:{name:"Mostrar botó secundari",control:{type:"boolean"},if:{arg:"showButtonPrimary",eq:!0}},showDetails:{name:"Mostrar enllaç a detalls",control:{type:"boolean"}},detailsLabel:{name:"Etiqueta de l'enllaç",control:{type:"text"},if:{arg:"showDetails",eq:!0}},detailsMessage:{name:"Metssage de detalls",control:{type:"text"},if:{arg:"showDetails",eq:!0}},hideFooter:{name:"Amaga footer",control:{type:"boolean"}}},parameters:{layout:"centered"}},r={args:{type:"Error",title:"Title",description:"Write your text here. If it’s longer than three lines, rewrite the text so that it takes up less space.",showButtonPrimary:!0,showButtonSecondary:!1,showDetails:!1,detailsLabel:"Veure detalls",detailsMessage:"This message could be also HTML code using the details slot. In case using HTML you would need to apply your own style to meet the corresponding design.",hideFooter:!1},render:t=>{let s="";switch(t.type){case"Error":s="feedback-error.svg";break;case"Empty":s="feedback-empty.svg";break;case"Not Found":s="feedback-not_found.svg";break;case"Success":s="feedback-success.svg";break;case"Work in Progress":s="feedback-work_in_progress.svg";break}const b=e` - ${t.showButtonSecondary?e``:""} - ${t.showButtonPrimary?e``:""} - `;return e` - ${t.showDetails?e` - -
    - ${t.detailsMessage} -
    - ${b} -
    - `:e` - - ${b} - - `} - `}},n={tags:["!dev"],render:()=>e` - - - - - - - - - - `},a={tags:["!dev"],render:()=>e` - - - - - - - - - - `},i={tags:["!dev"],render:()=>e` - - - - - - - - - - `},o={tags:["!dev"],render:()=>e` - - - - - - - - - - `},d={tags:["!dev"],render:()=>e` - - - - - - - - - - `},l={tags:["!dev"],render:()=>e` - - - - - - - - - - `},u={tags:["!dev"],render:()=>e` - - - - - - - - - - `},c={tags:["!dev"],render:()=>e` - -
    - Lorem ipsum dolor sit amaet. -
    -
    - -
    - Lorem ipsum dolor sit amaet. -
    - -
    - -
    - Lorem ipsum dolor sit amaet. -
    - - -
    - `};var g,h,p;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:`{ - args: { - type: 'Error', - title: 'Title', - description: 'Write your text here. If it’s longer than three lines, rewrite the text so that it takes up less space.', - showButtonPrimary: true, - showButtonSecondary: false, - showDetails: false, - detailsLabel: 'Veure detalls', - detailsMessage: 'This message could be also HTML code using the details slot. In case using HTML you would need to apply your own style to meet the corresponding design.', - hideFooter: false - }, - render: (args: any) => { - let image = ''; - switch (args.type) { - case 'Error': - image = 'feedback-error.svg'; - break; - case 'Empty': - image = 'feedback-empty.svg'; - break; - case 'Not Found': - image = 'feedback-not_found.svg'; - break; - case 'Success': - image = 'feedback-success.svg'; - break; - case 'Work in Progress': - image = 'feedback-work_in_progress.svg'; - break; - } - const buttonGroup = html\` - \${args.showButtonSecondary ? html\`\` : ''} - \${args.showButtonPrimary ? html\`\` : ''} - \`; - return html\` - \${args.showDetails ? html\` - -
    - \${args.detailsMessage} -
    - \${buttonGroup} -
    - \` : html\` - - \${buttonGroup} - - \`} - \`; - } -}`,...(p=(h=r.parameters)==null?void 0:h.docs)==null?void 0:p.source}}};var k,f,m;n.parameters={...n.parameters,docs:{...(k=n.parameters)==null?void 0:k.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(m=(f=n.parameters)==null?void 0:f.docs)==null?void 0:m.source}}};var y,x,v;a.parameters={...a.parameters,docs:{...(y=a.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(v=(x=a.parameters)==null?void 0:x.docs)==null?void 0:v.source}}};var w,S,B;i.parameters={...i.parameters,docs:{...(w=i.parameters)==null?void 0:w.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(B=(S=i.parameters)==null?void 0:S.docs)==null?void 0:B.source}}};var T,W,I;o.parameters={...o.parameters,docs:{...(T=o.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(I=(W=o.parameters)==null?void 0:W.docs)==null?void 0:I.source}}};var z,$,_;d.parameters={...d.parameters,docs:{...(z=d.parameters)==null?void 0:z.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(_=($=d.parameters)==null?void 0:$.docs)==null?void 0:_.source}}};var L,D,F;l.parameters={...l.parameters,docs:{...(L=l.parameters)==null?void 0:L.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(F=(D=l.parameters)==null?void 0:D.docs)==null?void 0:F.source}}};var E,P,M;u.parameters={...u.parameters,docs:{...(E=u.parameters)==null?void 0:E.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - - - - - - - - - - \`; - } -}`,...(M=(P=u.parameters)==null?void 0:P.docs)==null?void 0:M.source}}};var N,A,q;c.parameters={...c.parameters,docs:{...(N=c.parameters)==null?void 0:N.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` - -
    - Lorem ipsum dolor sit amaet. -
    -
    - -
    - Lorem ipsum dolor sit amaet. -
    - -
    - -
    - Lorem ipsum dolor sit amaet. -
    - - -
    - \`; - } -}`,...(q=(A=c.parameters)==null?void 0:A.docs)==null?void 0:q.source}}};const H=["Playground","Builder","Success","Warning","ErrorState","Empty","NotFound","InProgress","Link"],j=Object.freeze(Object.defineProperty({__proto__:null,Builder:n,Empty:d,ErrorState:o,InProgress:u,Link:c,NotFound:l,Playground:r,Success:a,Warning:i,__namedExportsOrder:H,default:G},Symbol.toStringTag,{value:"Module"}));export{n as B,o as E,u as I,c as L,l as N,r as P,j as S,i as W,a,d as b}; diff --git a/rc/assets/versions.doc-CaRkD6YK.js b/rc/assets/versions.doc-CaRkD6YK.js deleted file mode 100644 index b47d7a2..0000000 --- a/rc/assets/versions.doc-CaRkD6YK.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as r}from"./index-CQXi_Y6g.js";import{u as i}from"./index-CkYTJ7Ip.js";import"./chunk-NUUEMKO5-RFzBTEhX.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function l(s){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...i(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Versions"}),` -`,e.jsx(n.h2,{id:"release-candidate-versions",children:"Release Candidate versions"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"https://codisisdisseny.salut.gencat.cat/builds/salut-sistema-disseny/builds/salut-design-system-salut-2.0.0-rc.1.tgz",rel:"nofollow",children:"v2.0.0.rc-1"})}),` -`]}),` -`,e.jsx(n.h3,{id:"instalar-release-candidate-en-local",children:"Instalar Release Candidate en local"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:"Descarregar el paquet de la versió RC desitjada."}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Modificar el fitxer ",e.jsx(n.code,{children:"package.json"})," del projecte on es vulgui instal·lar la versió RC, afegint la ruta del fitxer descarregat com a dependència."]}),` -`]}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`"@salut/design-system-salut": "file:/Users/ruben.gomez/Downloads/salut-design-system-salut-2.0.0-rc.1.tgz", -`})}),` -`,e.jsxs(n.ol,{start:"3",children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Elininar la carpeta ",e.jsx(n.code,{children:"node_modules/@salut"})," i el fitxer ",e.jsx(n.code,{children:"package-lock.json"})," del projecte."]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Opcional. Borrar la cache de npm per evitar problemes de dependències. ",e.jsx(n.code,{children:"npm cache clear -f"})]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Instalar les dependències del projecte. ",e.jsx(n.code,{children:"npm install"})]}),` -`]}),` -`]})]})}function x(s={}){const{wrapper:n}={...i(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{x as default}; diff --git a/rc/assets/versions.doc-DN9lJodh.js b/rc/assets/versions.doc-DN9lJodh.js deleted file mode 100644 index c716cf6..0000000 --- a/rc/assets/versions.doc-DN9lJodh.js +++ /dev/null @@ -1,27 +0,0 @@ -import{ae as e,af as i}from"./index-D51CeFyD.js";import{u as r}from"./index-Dvvi2AU9.js";import"./chunk-NUUEMKO5-BrMvvjZ4.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function l(s){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Versions"}),` -`,e.jsx(n.h2,{id:"release-candidate-versions",children:"Release Candidate versions"}),` -`,e.jsxs(n.ul,{children:[` -`,e.jsx(n.li,{children:e.jsx(n.a,{href:"https://codisisdisseny.salut.gencat.cat/builds//Users/ruben.gomez/Workspace/GENCAT/_Storybook/salut-sistema-disseny/builds/salut-design-system-salut-2.0.0-rc.1.tgz",rel:"nofollow",children:"v2.0.0.rc-1"})}),` -`]}),` -`,e.jsx(n.h3,{id:"instalar-release-candidate-en-local",children:"Instalar Release Candidate en local"}),` -`,e.jsxs(n.ol,{children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsx(n.p,{children:"Descarregar el paquet de la versió RC desitjada."}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Modificar el fitxer ",e.jsx(n.code,{children:"package.json"})," del projecte on es vulgui instal·lar la versió RC, afegint la ruta del fitxer descarregat com a dependència."]}),` -`]}),` -`]}),` -`,e.jsx(n.pre,{children:e.jsx(n.code,{children:`"@salut/design-system-salut": "file:/Users/ruben.gomez/Downloads/salut-design-system-salut-2.0.0-rc.1.tgz", -`})}),` -`,e.jsxs(n.ol,{start:"3",children:[` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Elininar la carpeta ",e.jsx(n.code,{children:"node_modules/@salut"})," i el fitxer ",e.jsx(n.code,{children:"package-lock.json"})," del projecte."]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Opcional. Borrar la cache de npm per evitar problemes de dependències. ",e.jsx(n.code,{children:"npm cache clear -f"})]}),` -`]}),` -`,e.jsxs(n.li,{children:[` -`,e.jsxs(n.p,{children:["Instalar les dependències del projecte. ",e.jsx(n.code,{children:"npm install"})]}),` -`]}),` -`]})]})}function x(s={}){const{wrapper:n}={...r(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(l,{...s})}):l(s)}export{x as default}; diff --git a/rc/assets/versions.doc-DIGK_LuW.js b/rc/assets/versions.doc-Dkyk1IKF.js similarity index 90% rename from rc/assets/versions.doc-DIGK_LuW.js rename to rc/assets/versions.doc-Dkyk1IKF.js index dfcf9d0..902a5b9 100644 --- a/rc/assets/versions.doc-DIGK_LuW.js +++ b/rc/assets/versions.doc-Dkyk1IKF.js @@ -1,4 +1,4 @@ -import{ae as e,af as i}from"./index-Dxx82nxn.js";import{u as r}from"./index-w933pGNw.js";import"./chunk-NUUEMKO5-Ck9k0yJP.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function l(s){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Versions"}),` +import{ae as e,af as i}from"./index-CMvVeEhu.js";import{u as r}from"./index-C5hQraAl.js";import"./chunk-NUUEMKO5-OZ8B_0Q4.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function l(s){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Versions"}),` `,e.jsx(n.h2,{id:"release-candidate-versions",children:"Release Candidate versions"}),` `,e.jsxs(n.ul,{children:[` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"https://codisisdisseny.salut.gencat.cat/builds/salut-design-system-salut-2.0.0-rc.1.tgz",rel:"nofollow",children:"v2.0.0-rc.1"})}),` diff --git a/rc/assets/versions.doc-DptbSbim.js b/rc/assets/versions.doc-DptbSbim.js deleted file mode 100644 index 6fc2b16..0000000 --- a/rc/assets/versions.doc-DptbSbim.js +++ /dev/null @@ -1,7 +0,0 @@ -import{ae as e,af as i}from"./index-0DKGoewk.js";import{u as s}from"./index-FamfD7PC.js";import"./chunk-NUUEMKO5-OoXnuJHq.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(n){const o={a:"a",h2:"h2",li:"li",ul:"ul",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Versions"}),` -`,e.jsx(o.h2,{id:"todo-add-links-to-legacy-code-storybooks",children:"TODO: add links to legacy-code storybooks"}),` -`,e.jsxs(o.ul,{children:[` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})}function p(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(r,{...n})}):r(n)}export{p as default}; diff --git a/rc/assets/versions.doc-ag4kEcvO.js b/rc/assets/versions.doc-ag4kEcvO.js deleted file mode 100644 index 4e9b32b..0000000 --- a/rc/assets/versions.doc-ag4kEcvO.js +++ /dev/null @@ -1,7 +0,0 @@ -import{ae as e,af as i}from"./index-CcF9BsMG.js";import{u as s}from"./index-BlEr_OIe.js";import"./chunk-NUUEMKO5-CzX-w2bE.js";import"./iframe-BLrvpHse.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function r(n){const o={a:"a",h2:"h2",li:"li",ul:"ul",...s(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{title:"Versions"}),` -`,e.jsx(o.h2,{id:"todo-add-links-to-legacy-code-storybooks",children:"TODO: add links to legacy-code storybooks"}),` -`,e.jsxs(o.ul,{children:[` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`,e.jsx(o.li,{children:e.jsx(o.a,{href:"#lorem-ipsum",children:"Lorem ipsum"})}),` -`]})]})}function p(n={}){const{wrapper:o}={...s(),...n.components};return o?e.jsx(o,{...n,children:e.jsx(r,{...n})}):r(n)}export{p as default}; diff --git a/rc/assets/widget.doc-BhMvcV_R.js b/rc/assets/widget.doc-BhMvcV_R.js deleted file mode 100644 index 5764e6c..0000000 --- a/rc/assets/widget.doc-BhMvcV_R.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-CQXi_Y6g.js";import{u as l}from"./index-CkYTJ7Ip.js";import{S as c,P as d,B as h,a as p,T as x,A as j,b as m}from"./widget.stories-CdysMAB6.js";import"./iframe-i1QLOcry.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(i){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - width: 400px; - } - .popover-wrapper { - height: 600px; - width: 600px; - display: flex; - align-items: flex-start; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:"Element que encapsula funcionalitats especifiques."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.p,{children:["En totes les variants mostrades a continuació s'ha habilitat la propietat ",e.jsx(s.strong,{children:"isOpen"}),` perquè es mostri el contingut dels acordions per defecte. -En l'aplicació real de la col·lecció no caldrà afegir aquesta propietat.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#box",children:"Box"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#popover",children:"Popover"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-t%C3%ADtol-i-switch",children:"Amb títol i switch"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#accions-delements-m%C3%BAltiples",children:"Accions d'elements múltiples"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#m%C3%BAltiples-sections",children:"Múltiples seccions"})}),` -`]}),` -`,e.jsx(s.h3,{id:"box",children:"Box"}),` -`,e.jsxs(s.p,{children:["La variant de tipus box utilitza l'estil per defecte de l'acordió, de manera que no cal afegir la propietat ",e.jsx(s.strong,{children:"accordionStyle"}),"."]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(s.h3,{id:"popover",children:"Popover"}),` -`,e.jsxs(s.p,{children:["La variant del widget dins d'un popover necessita aplicar l'estil ",e.jsx(s.strong,{children:"inner"}),` a la propietat accordionStyle de l'acordió, per eliminar els marges -al seu voltant i deixar que sigui el popover qui delimiti visualment el contingut.`]}),` -`,e.jsxs(s.p,{children:["Per a la seva aplicació real, cal amagar els elements corresponents al títol del popover i eliminar la propietat ",e.jsx(s.strong,{children:"open"})," del component popover."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"amb-títol-i-switch",children:"Amb títol i switch"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(s.h3,{id:"accions-delements-múltiples",children:"Accions d'elements múltiples"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(s.h3,{id:"múltiples-seccions",children:"Múltiples seccions"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"Nou collection."})]})})]})]})}function C(i={}){const{wrapper:s}={...l(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(n,{...i})}):n(i)}export{C as default}; diff --git a/rc/assets/widget.doc-BpFtCUm_.js b/rc/assets/widget.doc-BpFtCUm_.js deleted file mode 100644 index 92b0674..0000000 --- a/rc/assets/widget.doc-BpFtCUm_.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-D51CeFyD.js";import{u as l}from"./index-Dvvi2AU9.js";import{S as c,P as d,B as h,a as p,T as x,A as j,b as m}from"./widget.stories-CdysMAB6.js";import"./iframe-C-plfy9T.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(i){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - width: 400px; - } - .popover-wrapper { - height: 600px; - width: 600px; - display: flex; - align-items: flex-start; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:"Element que encapsula funcionalitats especifiques."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.p,{children:["En totes les variants mostrades a continuació s'ha habilitat la propietat ",e.jsx(s.strong,{children:"isOpen"}),` perquè es mostri el contingut dels acordions per defecte. -En l'aplicació real de la col·lecció no caldrà afegir aquesta propietat.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#box",children:"Box"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#popover",children:"Popover"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-t%C3%ADtol-i-switch",children:"Amb títol i switch"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#accions-delements-m%C3%BAltiples",children:"Accions d'elements múltiples"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#m%C3%BAltiples-sections",children:"Múltiples seccions"})}),` -`]}),` -`,e.jsx(s.h3,{id:"box",children:"Box"}),` -`,e.jsxs(s.p,{children:["La variant de tipus box utilitza l'estil per defecte de l'acordió, de manera que no cal afegir la propietat ",e.jsx(s.strong,{children:"accordionStyle"}),"."]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(s.h3,{id:"popover",children:"Popover"}),` -`,e.jsxs(s.p,{children:["La variant del widget dins d'un popover necessita aplicar l'estil ",e.jsx(s.strong,{children:"inner"}),` a la propietat accordionStyle de l'acordió, per eliminar els marges -al seu voltant i deixar que sigui el popover qui delimiti visualment el contingut.`]}),` -`,e.jsxs(s.p,{children:["Per a la seva aplicació real, cal amagar els elements corresponents al títol del popover i eliminar la propietat ",e.jsx(s.strong,{children:"open"})," del component popover."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"amb-títol-i-switch",children:"Amb títol i switch"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(s.h3,{id:"accions-delements-múltiples",children:"Accions d'elements múltiples"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(s.h3,{id:"múltiples-seccions",children:"Múltiples seccions"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"Nou collection."})]})})]})]})}function C(i={}){const{wrapper:s}={...l(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(n,{...i})}):n(i)}export{C as default}; diff --git a/rc/assets/widget.doc-BCKoITvV.js b/rc/assets/widget.doc-VLVrFou-.js similarity index 95% rename from rc/assets/widget.doc-BCKoITvV.js rename to rc/assets/widget.doc-VLVrFou-.js index 037b74f..f5afad1 100644 --- a/rc/assets/widget.doc-BCKoITvV.js +++ b/rc/assets/widget.doc-VLVrFou-.js @@ -1,4 +1,4 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-Dxx82nxn.js";import{u as l}from"./index-w933pGNw.js";import{S as c,P as d,B as h,a as p,T as x,A as j,b as m}from"./widget.stories-CdysMAB6.js";import"./iframe-BDLrX2vE.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(i){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` +import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-CMvVeEhu.js";import{u as l}from"./index-C5hQraAl.js";import{S as c,P as d,B as h,a as p,T as x,A as j,b as m}from"./widget.stories-CdysMAB6.js";import"./iframe-BXEjRaIp.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-B2eaWknC.js";function n(i){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` .innerZoomElementWrapper { flex-direction: row; align-items: center; diff --git a/rc/assets/widget.doc-w4lCEVyh.js b/rc/assets/widget.doc-w4lCEVyh.js deleted file mode 100644 index e5df1c9..0000000 --- a/rc/assets/widget.doc-w4lCEVyh.js +++ /dev/null @@ -1,61 +0,0 @@ -import{ae as e,af as r,ag as o,ah as t,ai as a}from"./index-0DKGoewk.js";import{u as l}from"./index-FamfD7PC.js";import{S as c,P as d,B as h,a as p,T as x,A as j,b as m}from"./widget.stories-DRXqAFJ-.js";import"./iframe-BaSWKbVt.js";import"../sb-preview/runtime.js";import"./index-u5I_DdWt.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";import"./lit-html-paDGiEfB.js";function n(i){const s={a:"a",blockquote:"blockquote",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...l(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` - .innerZoomElementWrapper { - flex-direction: row; - align-items: center; - } - .wrapper { - width: 400px; - } - .popover-wrapper { - height: 600px; - width: 600px; - display: flex; - align-items: flex-start; - justify-content: center; - } - .demo-wrapper { - position: relative; - width: fit-content; - } - .demo-related-content { - font-size: 12px; - color: lightgray; - } - `}),` -`,e.jsx(r,{of:c}),` -`,e.jsxs("div",{className:"dss-sb-title",children:[e.jsx(o,{}),e.jsx("dss-badge",{text:"dss-accordion",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-item-list",size:"md",state:"info",outlined:!0,hideIcon:!0}),e.jsx("dss-badge",{text:"dss-popover",size:"md",state:"info",outlined:!0,hideIcon:!0})]}),` -`,e.jsx("br",{}),` -`,e.jsx(s.p,{children:"Element que encapsula funcionalitats especifiques."}),` -`,e.jsxs(s.blockquote,{children:[` -`,e.jsx(s.p,{children:"Aquest és el exemple que es troba al playground. Tota modificació es veurà reflectida al següent bloc."}),` -`]}),` -`,e.jsx(t,{of:d}),` -`,e.jsx(a,{}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h2,{id:"variants",children:"Variants"}),` -`,e.jsxs(s.p,{children:["En totes les variants mostrades a continuació s'ha habilitat la propietat ",e.jsx(s.strong,{children:"isOpen"}),` perquè es mostri el contingut dels acordions per defecte. -En l'aplicació real de la col·lecció no caldrà afegir aquesta propietat.`]}),` -`,e.jsxs(s.ul,{children:[` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#box",children:"Box"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#popover",children:"Popover"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#amb-t%C3%ADtol-i-switch",children:"Amb títol i switch"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#accions-delements-m%C3%BAltiples",children:"Accions d'elements múltiples"})}),` -`,e.jsx(s.li,{children:e.jsx(s.a,{href:"#m%C3%BAltiples-sections",children:"Múltiples seccions"})}),` -`]}),` -`,e.jsx(s.h3,{id:"box",children:"Box"}),` -`,e.jsxs(s.p,{children:["La variant de tipus box utilitza l'estil per defecte de l'acordió, de manera que no cal afegir la propietat ",e.jsx(s.strong,{children:"accordionStyle"}),"."]}),` -`,e.jsx(t,{of:h}),` -`,e.jsx(s.h3,{id:"popover",children:"Popover"}),` -`,e.jsxs(s.p,{children:["La variant del widget dins d'un popover necessita aplicar l'estil ",e.jsx(s.strong,{children:"inner"}),` a la propietat accordionStyle de l'acordió, per eliminar els marges -al seu voltant i deixar que sigui el popover qui delimiti visualment el contingut.`]}),` -`,e.jsxs(s.p,{children:["Per a la seva aplicació real, cal amagar els elements corresponents al títol del popover i eliminar la propietat ",e.jsx(s.strong,{children:"open"})," del component popover."]}),` -`,e.jsx(t,{of:p}),` -`,e.jsx("br",{}),` -`,e.jsx(s.h3,{id:"amb-títol-i-switch",children:"Amb títol i switch"}),` -`,e.jsx(t,{of:x}),` -`,e.jsx(s.h3,{id:"accions-delements-múltiples",children:"Accions d'elements múltiples"}),` -`,e.jsx(t,{of:j}),` -`,e.jsx(s.h3,{id:"múltiples-seccions",children:"Múltiples seccions"}),` -`,e.jsx(t,{of:m}),` -`,e.jsx(s.h4,{id:"changelog",children:"Changelog"}),` -`,e.jsxs(s.table,{children:[e.jsx(s.thead,{children:e.jsxs(s.tr,{children:[e.jsx(s.th,{children:"Versió"}),e.jsx(s.th,{children:"Canvis"})]})}),e.jsx(s.tbody,{children:e.jsxs(s.tr,{children:[e.jsx(s.td,{children:e.jsx(s.strong,{children:"1.12.6"})}),e.jsx(s.td,{children:"Nou collection."})]})})]})]})}function C(i={}){const{wrapper:s}={...l(),...i.components};return s?e.jsx(s,{...i,children:e.jsx(n,{...i})}):n(i)}export{C as default}; diff --git a/rc/assets/widget.stories-DRXqAFJ-.js b/rc/assets/widget.stories-DRXqAFJ-.js deleted file mode 100644 index 9e56491..0000000 --- a/rc/assets/widget.stories-DRXqAFJ-.js +++ /dev/null @@ -1,473 +0,0 @@ -import{x as e}from"./lit-html-paDGiEfB.js";const f={title:"Collections/Widget",argTypes:{accordionStyle:{name:"Estil",control:{type:"radio"},options:["box","inner"]},icon:{name:"Icona",control:{type:"text"}},title:{name:"Títol",control:{type:"text"}},hasBadge:{name:"Mostra badge",control:{type:"boolean"}},badgeText:{name:"Text del badge",control:{type:"text"},if:{arg:"hasBadge",truthy:!0}},badgeState:{name:"Estat del badge",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"],if:{arg:"hasBadge",truthy:!0}},hasButtonNext:{name:"Mostra botó següent",control:{type:"boolean"}},hasButtonClose:{name:"Mostra botó tancar",control:{type:"boolean"}},elements:{name:"Nombre de ítems",control:{type:"number",max:10,min:1}},elementTitle:{name:"Element Title"},elementSubtitle:{name:"Element Subtitle"},elementDate:{name:"Element Date"},elementDescription:{name:"Element Description"},elementIcons:{name:"Nombre de icones",control:{type:"number",max:2,min:1}},elementActions:{name:"Nombre de accions",control:{type:"number",max:2,min:1}},elementLeftBadgeState:{name:"Element Left Badge State",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"]},elementRightBadgeState:{name:"Element Left Badge State",control:{type:"select"},options:["danger-high","danger","danger-low","moderate-high","moderate","moderate-low","slight-high","slight","slight-low","correct","undeterminated","critic","alert","ideal","info","info-alt","neutral"]},showSectionTitle:{name:"Mostra títol de secció",control:{type:"boolean"}},sectionTitle:{name:"Títol secció",control:{type:"text"},if:{arg:"showSectionTitle",truthy:!0}},showSectionSwitch:{name:"Mostra secció Switch",control:{type:"boolean"},if:{arg:"showSectionTitle",truthy:!0}},sectionSwitchText:{name:"Switch description",control:{type:"text"},if:{arg:"showSectionSwitch",truthy:!0}}},parameters:{layout:"centered"}},i={args:{accordionStyle:"inner",icon:"add_box",title:"Títol widget",hasBadge:!0,badgeText:"7",badgeState:"neutral",hasButtonNext:!0,hasButtonClose:!0,showSectionTitle:!0,sectionTitle:"Títol secció",showSectionSwitch:!0,sectionSwitchText:"Lorem ipsum dolor sit amet.",elements:3,elementTitle:"Títol ",elementSubtitle:"Subtítol",elementDate:"20/03/2024",elementDescription:"TIPOLOGIA",elementIcons:1,elementActions:1,elementLeftBadgeState:"danger-high",elementRightBadgeState:"danger-high"},render:t=>{const O=()=>{const c=[];return Array.from({length:t.elements},()=>c.push({date:t.elementDate,title:t.elementTitle,subtitle:t.elementSubtitle,description:t.elementDescription,iconBadgeLeftState:t.elementLeftBadgeState,iconBadgeRightState:t.elementRightBadgeState,icons:Array.from({length:t.elementIcons},()=>({icon:"add_box"})),actions:Array.from({length:t.elementActions},()=>({icon:"add_box",type:"primary",action:"actionName"}))})),c};return e` -
    - - ${t.showSectionSwitch?e` -
    - Títol secció -
    - - - - `:null} - ${t.showSectionTitle?e` -
    - ${t.sectionTitle} -
    - `:null} - - -
    -
    - `}},o={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},d={tags:["!dev"],render:()=>e` -
    -
    - - - - - - - - - -
    -
    - `},a={tags:["!dev"],render:()=>e` -
    - -
    - Títol secció -
    - - - -
    - Títol secció -
    - - -
    -
    - `},s={tags:["!dev"],render:()=>e` -
    - - - - -
    - `},n={tags:["!dev"],render:()=>e` -
    - -
    - Títol secció -
    - - - -
    - Títol secció -
    - - -
    - Títol secció -
    - - -
    - Títol secció -
    - - -
    -
    - `};var r,l,g;i.parameters={...i.parameters,docs:{...(r=i.parameters)==null?void 0:r.docs,source:{originalSource:`{ - args: { - accordionStyle: 'inner', - icon: 'add_box', - title: 'Títol widget', - hasBadge: true, - badgeText: '7', - badgeState: 'neutral', - hasButtonNext: true, - hasButtonClose: true, - showSectionTitle: true, - sectionTitle: 'Títol secció', - showSectionSwitch: true, - sectionSwitchText: 'Lorem ipsum dolor sit amet.', - elements: 3, - elementTitle: 'Títol ', - elementSubtitle: 'Subtítol', - elementDate: '20/03/2024', - elementDescription: 'TIPOLOGIA', - elementIcons: 1, - elementActions: 1, - elementLeftBadgeState: 'danger-high', - elementRightBadgeState: 'danger-high' - }, - render: (args: any) => { - const getItems = () => { - const storyItems: any[] = []; - Array.from({ - length: args.elements - }, () => storyItems.push({ - date: args.elementDate, - title: args.elementTitle, - subtitle: args.elementSubtitle, - description: args.elementDescription, - iconBadgeLeftState: args.elementLeftBadgeState, - iconBadgeRightState: args.elementRightBadgeState, - icons: Array.from({ - length: args.elementIcons - }, () => { - return { - icon: 'add_box' - }; - }), - actions: Array.from({ - length: args.elementActions - }, () => { - return { - icon: 'add_box', - type: 'primary', - action: 'actionName' - }; - }) - })); - return storyItems; - }; - return html\` -
    - - \${args.showSectionSwitch ? html\` -
    - Títol secció -
    - - - - \` : null} - \${args.showSectionTitle ? html\` -
    - \${args.sectionTitle} -
    - \` : null} - - -
    -
    - \`; - } -}`,...(g=(l=i.parameters)==null?void 0:l.docs)==null?void 0:g.source}}};var h,m,p;o.parameters={...o.parameters,docs:{...(h=o.parameters)==null?void 0:h.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(p=(m=o.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var b,S,x;d.parameters={...d.parameters,docs:{...(b=d.parameters)==null?void 0:b.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    -
    - - - - - - - - - -
    -
    - \`; - } -}`,...(x=(S=d.parameters)==null?void 0:S.docs)==null?void 0:x.source}}};var u,w,I;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - Títol secció -
    - - - -
    - Títol secció -
    - - -
    -
    - \`; - } -}`,...(I=(w=a.parameters)==null?void 0:w.docs)==null?void 0:I.source}}};var T,v,_;s.parameters={...s.parameters,docs:{...(T=s.parameters)==null?void 0:T.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - - - - -
    - \`; - } -}`,...(_=(v=s.parameters)==null?void 0:v.docs)==null?void 0:_.source}}};var y,B,L;n.parameters={...n.parameters,docs:{...(y=n.parameters)==null?void 0:y.docs,source:{originalSource:`{ - tags: ['!dev'], - render: () => { - return html\` -
    - -
    - Títol secció -
    - - - -
    - Títol secció -
    - - -
    - Títol secció -
    - - -
    - Títol secció -
    - - -
    -
    - \`; - } -}`,...(L=(B=n.parameters)==null?void 0:B.docs)==null?void 0:L.source}}};const A=["Playground","Box","Popover","TitleSwitch","Actions","Sections"],R=Object.freeze(Object.defineProperty({__proto__:null,Actions:s,Box:o,Playground:i,Popover:d,Sections:n,TitleSwitch:a,__namedExportsOrder:A,default:f},Symbol.toStringTag,{value:"Module"}));export{s as A,o as B,i as P,R as S,a as T,d as a,n as b}; diff --git a/rc/iframe.html b/rc/iframe.html index 07dbce3..0756f7e 100644 --- a/rc/iframe.html +++ b/rc/iframe.html @@ -509,7 +509,7 @@ } - + diff --git a/rc/project.json b/rc/project.json index 604d03f..c2c44d4 100644 --- a/rc/project.json +++ b/rc/project.json @@ -1 +1 @@ -{"generatedAt":1734002697498,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"packageManager":{"type":"npm","version":"10.2.4"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"storybookVersion":"8.4.0","storybookVersionSpecifier":"8.4.0","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.4.0"},"@storybook/builder-vite":{"version":"8.4.0"},"@storybook/test":{"version":"8.4.0"},"@storybook/web-components":{"version":"8.4.0"},"@storybook/web-components-vite":{"version":"8.4.0"},"storybook":{"version":"8.4.0"}},"addons":{"@storybook/addon-links":{"version":"8.4.0"},"@storybook/addon-essentials":{"version":"8.4.0"},"@storybook/addon-docs":{"version":"8.4.0"},"@storybook/theming":{"version":"8.4.0"},"@chromatic-com/storybook":{"version":"1.6.0"}}} \ No newline at end of file +{"generatedAt":1734003306485,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"packageManager":{"type":"npm","version":"10.2.4"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"storybookVersion":"8.4.0","storybookVersionSpecifier":"8.4.0","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.4.0"},"@storybook/builder-vite":{"version":"8.4.0"},"@storybook/test":{"version":"8.4.0"},"@storybook/web-components":{"version":"8.4.0"},"@storybook/web-components-vite":{"version":"8.4.0"},"storybook":{"version":"8.4.0"}},"addons":{"@storybook/addon-links":{"version":"8.4.0"},"@storybook/addon-essentials":{"version":"8.4.0"},"@storybook/addon-docs":{"version":"8.4.0"},"@storybook/theming":{"version":"8.4.0"},"@chromatic-com/storybook":{"version":"1.6.0"}}} \ No newline at end of file