'use strict';

var T = require('react');
var M = require('@radix-ui/react-toggle-group');
var Q = require('@radix-ui/react-toggle');
var reactSlot = require('@radix-ui/react-slot');
var S = require('../../BaseToggle.module-JWLIZGN5.module.css');
var Y = require('../../BaseToggleGroup.module-5JA66PEI.module.css');
var Te = require('../../ToggleGroup.module-55DNWN2R.module.css');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

function _interopNamespace(e) {
	if (e && e.__esModule) return e;
	var n = Object.create(null);
	if (e) {
		Object.keys(e).forEach(function (k) {
			if (k !== 'default') {
				var d = Object.getOwnPropertyDescriptor(e, k);
				Object.defineProperty(n, k, d.get ? d : {
					enumerable: true,
					get: function () { return e[k]; }
				});
			}
		});
	}
	n.default = e;
	return Object.freeze(n);
}

var T__namespace = /*#__PURE__*/_interopNamespace(T);
var M__namespace = /*#__PURE__*/_interopNamespace(M);
var Q__namespace = /*#__PURE__*/_interopNamespace(Q);
var S__default = /*#__PURE__*/_interopDefault(S);
var Y__default = /*#__PURE__*/_interopDefault(Y);
var Te__default = /*#__PURE__*/_interopDefault(Te);

function ce(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=ce(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function de(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=ce(e))&&(o&&(o+=" "),o+=r);return o}var pe=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,$=de,O=(e,r)=>t=>{var o;if(r?.variants==null)return $(e,t?.class,t?.className);let{variants:i,defaultVariants:n}=r,a=Object.keys(i).map(c=>{let m=t?.[c],h=n?.[c];if(m===null)return null;let b=pe(m)||pe(h);return i[c][b]}),s=t&&Object.entries(t).reduce((c,m)=>{let[h,b]=m;return b===void 0||(c[h]=b),c},{}),g=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((c,m)=>{let{class:h,className:b,...w}=m;return Object.entries(w).every(x=>{let[f,d]=x;return Array.isArray(d)?d.includes({...n,...s}[f]):{...n,...s}[f]===d})?[...c,h,b]:c},[]);return $(e,a,g,t?.class,t?.className)};var Z="-",Ge=e=>{let r=ke(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:a=>{let s=a.split(Z);return s[0]===""&&s.length!==1&&s.shift(),me(s,r)||Ce(a)},getConflictingClassGroupIds:(a,s)=>{let g=t[a]||[];return s&&o[a]?[...g,...o[a]]:g}}},me=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),i=o?me(e.slice(1),o):void 0;if(i)return i;if(r.validators.length===0)return;let n=e.join(Z);return r.validators.find(({validator:a})=>a(n))?.classGroupId},ue=/^\[(.+)\]$/,Ce=e=>{if(ue.test(e)){let r=ue.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},ke=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ze(Object.entries(e.classGroups),t).forEach(([n,a])=>{X(a,o,n,r);}),o},X=(e,r,t,o)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?r:ge(r,i);n.classGroupId=t;return}if(typeof i=="function"){if(Re(i)){X(i(o),r,t,o);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([n,a])=>{X(a,ge(r,n),t,o);});});},ge=(e,r)=>{let t=e;return r.split(Z).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},Re=e=>e.isThemeGetter,ze=(e,r)=>r?e.map(([t,o])=>{let i=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,s])=>[r+a,s])):n);return [t,i]}):e,Se=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,i=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return i(n,a),a},set(n,a){t.has(n)?t.set(n,a):i(n,a);}}},fe="!",Ae=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,i=r[0],n=r.length,a=s=>{let g=[],c=0,m=0,h;for(let d=0;d<s.length;d++){let y=s[d];if(c===0){if(y===i&&(o||s.slice(d,d+n)===r)){g.push(s.slice(m,d)),m=d+n;continue}if(y==="/"){h=d;continue}}y==="["?c++:y==="]"&&c--;}let b=g.length===0?s:s.substring(m),w=b.startsWith(fe),x=w?b.substring(1):b,f=h&&h>m?h-m:void 0;return {modifiers:g,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:f}};return t?s=>t({className:s,parseClassName:a}):a},Ie=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},Ne=e=>({cache:Se(e.cacheSize),parseClassName:Ae(e),...Ge(e)}),Me=/\s+/,Ve=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:i}=r,n=[],a=e.trim().split(Me),s="";for(let g=a.length-1;g>=0;g-=1){let c=a[g],{modifiers:m,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:w}=t(c),x=!!w,f=o(x?b.substring(0,w):b);if(!f){if(!x){s=c+(s.length>0?" "+s:s);continue}if(f=o(b),!f){s=c+(s.length>0?" "+s:s);continue}x=!1;}let d=Ie(m).join(":"),y=h?d+fe:d,v=y+f;if(n.includes(v))continue;n.push(v);let V=i(f,x);for(let z=0;z<V.length;++z){let W=V[z];n.push(y+W);}s=c+(s.length>0?" "+s:s);}return s};function Be(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=be(r))&&(o&&(o+=" "),o+=t);return o}var be=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=be(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ee(e,...r){let t,o,i,n=a;function a(g){let c=r.reduce((m,h)=>h(m),e());return t=Ne(c),o=t.cache.get,i=t.cache.set,n=s,s(g)}function s(g){let c=o(g);if(c)return c;let m=Ve(g,t);return i(g,m),m}return function(){return n(Be.apply(null,arguments))}}var p=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},he=/^\[(?:([a-z-]+):)?(.+)\]$/i,je=/^\d+\/\d+$/,We=new Set(["px","full","screen"]),Le=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,G=e=>A(e)||We.has(e)||je.test(e),k=e=>I(e,"length",Qe),A=e=>!!e&&!Number.isNaN(Number(e)),J=e=>I(e,"number",A),E=e=>!!e&&Number.isInteger(Number(e)),Fe=e=>e.endsWith("%")&&A(e.slice(0,-1)),l=e=>he.test(e),R=e=>Le.test(e),He=new Set(["length","size","percentage"]),qe=e=>I(e,He,ye),Ke=e=>I(e,"position",ye),Je=new Set(["image","url"]),Xe=e=>I(e,Je,De),Ze=e=>I(e,"",Ye),j=()=>!0,I=(e,r,t)=>{let o=he.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!$e.test(e),ye=()=>!1,Ye=e=>Oe.test(e),De=e=>Ue.test(e);var er=()=>{let e=p("colors"),r=p("spacing"),t=p("blur"),o=p("brightness"),i=p("borderColor"),n=p("borderRadius"),a=p("borderSpacing"),s=p("borderWidth"),g=p("contrast"),c=p("grayscale"),m=p("hueRotate"),h=p("invert"),b=p("gap"),w=p("gradientColorStops"),x=p("gradientColorStopPositions"),f=p("inset"),d=p("margin"),y=p("opacity"),v=p("padding"),V=p("saturate"),z=p("scale"),W=p("sepia"),te=p("skew"),oe=p("space"),ne=p("translate"),F=()=>["auto","contain","none"],H=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",l,r],u=()=>[l,r],se=()=>["",G,k],L=()=>["auto",A,l],ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",l],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[A,l];return {cacheSize:500,separator:":",theme:{colors:[j],spacing:[G,k],blur:["none","",R,l],brightness:P(),borderColor:[e],borderRadius:["none","","full",R,l],borderSpacing:u(),borderWidth:se(),contrast:P(),grayscale:B(),hueRotate:P(),invert:B(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Fe,k],inset:q(),margin:q(),opacity:P(),padding:u(),saturate:P(),scale:P(),sepia:B(),skew:P(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ie(),l]}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[oe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[oe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",R,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",A,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,k]}],"underline-offset":[{"underline-offset":["auto",G,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ie(),Ke]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:_()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[G,l]}],"outline-w":[{outline:[G,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[G,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,Ze]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",R,l]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[V]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,k,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var xe=Ee(er);var C=(...e)=>xe($(e));var U=O(S__default.default.BaseToggle,{variants:{variant:{default:S__default.default.default,outline:S__default.default.outline},size:{default:S__default.default["size-default"],sm:S__default.default["size-sm"],lg:S__default.default["size-lg"]}},defaultVariants:{variant:"default",size:"default"}}),tr=T__namespace.forwardRef(({className:e,variant:r,size:t,...o},i)=>T__namespace.createElement(Q__namespace.Root,{ref:i,className:C(U({variant:r,size:t,className:e})),...o})),or=T__namespace.forwardRef(({className:e,variant:r,size:t,asChild:o=!1,...i},n)=>T__namespace.createElement(o?reactSlot.Slot:tr,{className:C(S__default.default.BaseToggle,U({variant:r,size:t,className:e})),ref:n,...i}));or.displayName=Q__namespace.Root.displayName;var ve=O(Y__default.default.BaseToggleGroup),we=T__namespace.createContext({size:"default",variant:"default"}),D=T__namespace.forwardRef(({className:e,variant:r,size:t,children:o,...i},n)=>T__namespace.createElement(M__namespace.Root,{ref:n,className:C(Y__default.default.BaseToggleGroup,e),...i},T__namespace.createElement(we.Provider,{value:{variant:r,size:t}},o)));D.displayName=M__namespace.Root.displayName;var ee=T__namespace.forwardRef(({className:e,children:r,variant:t,size:o,...i},n)=>{let a=T__namespace.useContext(we);return T__namespace.createElement(M__namespace.Item,{ref:n,className:C(Y__default.default.BaseToggleGroupItem,U({variant:a.variant||t,size:a.size||o}),e),...i},r)});ee.displayName=M__namespace.Item.displayName;var Pe=ve;function Nr(e){return T__namespace.createElement(D,{className:C(Te__default.default.ToggleGroup,Pe),...e})}function Mr(e){return T__namespace.createElement(ee,{className:C(Te__default.default.ToggleGroupItem,Pe),...e})}

exports.ToggleGroup = Nr;
exports.ToggleGroupItem = Mr;
exports.toggleGroupVariants = Pe;
//# sourceMappingURL=ToggleGroup.cjs.map
//# sourceMappingURL=ToggleGroup.cjs.map