????
Current Path : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/www/.next/static/chunks/ |
Current File : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/www/.next/static/chunks/817-7ab5ace411f45ed2.js |
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[817],{3850:function(e,t,n){n.d(t,{R:function(){return u}});var r,u=((r=u||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},2817:function(e,t,n){n.d(t,{O:function(){return D}});var r,u,o,a=n(2265),i=n(1931),l=n(5606),s=n(597),c=n(3850),d=n(5410),f=n(2600),p=n(6618),m=n(8076),b=n(3759),v=n(634),h=n(8227);function g({onFocus:e}){let[t,n]=(0,a.useState)(!0),r=(0,v.t)();return t?a.createElement(h._,{as:"button",type:"button",features:h.A.Focusable,onFocus:t=>{t.preventDefault();let u,o=50;u=requestAnimationFrame(function t(){if(o--<=0){u&&cancelAnimationFrame(u);return}if(e()){if(cancelAnimationFrame(u),!r.current)return;n(!1);return}u=requestAnimationFrame(t)})}}):null}var E=n(2950),y=n(5195),x=n(4851);let T=a.createContext(null);function w({children:e}){let t=a.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let u=null!=(n=r.get(t))?n:0;return r.set(t,u+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return a.createElement(T.Provider,{value:t},e)}function O(e){let t=a.useContext(T);if(!t)throw Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let r=null!=(n=null==(t=null==(e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let u=[],o=r;for(;o;)u.push(o.index),o=o.return;return"$."+u.join(".")}(),[r,u]=t.current.get(e,n);return a.useEffect(()=>u,[]),r}var A=((r=A||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),P=((u=P||{})[u.Less=-1]="Less",u[u.Equal=0]="Equal",u[u.Greater=1]="Greater",u),S=((o=S||{})[o.SetSelectedIndex=0]="SetSelectedIndex",o[o.RegisterTab=1]="RegisterTab",o[o.UnregisterTab=2]="UnregisterTab",o[o.RegisterPanel=3]="RegisterPanel",o[o.UnregisterPanel=4]="UnregisterPanel",o);let I={0(e,t){var n;let r=(0,d.z2)(e.tabs,e=>e.current),u=(0,d.z2)(e.panels,e=>e.current),o=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),a={...e,tabs:r,panels:u};if(t.index<0||t.index>r.length-1){let n=(0,s.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,s.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===o.length)return a;let u=(0,s.E)(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])});return{...a,selectedIndex:-1===u?e.selectedIndex:u}}let i=r.slice(0,t.index),l=[...r.slice(t.index),...i].find(e=>o.includes(e));if(!l)return a;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return -1===c&&(c=e.selectedIndex),{...a,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],u=(0,d.z2)([...e.tabs,t.tab],e=>e.current),o=null!=(n=u.indexOf(r))?n:e.selectedIndex;return -1===o&&(o=e.selectedIndex),{...e,tabs:u,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,d.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},N=(0,a.createContext)(null);function F(e){let t=(0,a.useContext)(N);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,F),t}return t}N.displayName="TabsDataContext";let R=(0,a.createContext)(null);function k(e){let t=(0,a.useContext)(R);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}function j(e,t){return(0,s.E)(t.type,I,e,t)}R.displayName="TabsActionsContext";let M=a.Fragment,L=i.AN.RenderStrategy|i.AN.Static,D=Object.assign((0,i.yV)(function(e,t){var n,r;let u=(0,l.M)(),{id:o=`headlessui-tabs-tab-${u}`,...b}=e,{orientation:v,activation:h,selectedIndex:g,tabs:T,panels:w}=F("Tab"),A=k("Tab"),P=F("Tab"),S=(0,a.useRef)(null),I=(0,p.T)(S,t);(0,f.e)(()=>A.registerTab(S),[A,S]);let N=O("tabs"),R=T.indexOf(S);-1===R&&(R=N);let j=R===g,M=(0,E.z)(e=>{var t;let n=e();if(n===d.fE.Success&&"auto"===h){let e=null==(t=(0,x.r)(S))?void 0:t.activeElement,n=P.tabs.findIndex(t=>t.current===e);-1!==n&&A.change(n)}return n}),L=(0,E.z)(e=>{let t=T.map(e=>e.current).filter(Boolean);if(e.key===c.R.Space||e.key===c.R.Enter){e.preventDefault(),e.stopPropagation(),A.change(R);return}switch(e.key){case c.R.Home:case c.R.PageUp:return e.preventDefault(),e.stopPropagation(),M(()=>(0,d.jA)(t,d.TO.First));case c.R.End:case c.R.PageDown:return e.preventDefault(),e.stopPropagation(),M(()=>(0,d.jA)(t,d.TO.Last))}if(M(()=>(0,s.E)(v,{vertical:()=>e.key===c.R.ArrowUp?(0,d.jA)(t,d.TO.Previous|d.TO.WrapAround):e.key===c.R.ArrowDown?(0,d.jA)(t,d.TO.Next|d.TO.WrapAround):d.fE.Error,horizontal:()=>e.key===c.R.ArrowLeft?(0,d.jA)(t,d.TO.Previous|d.TO.WrapAround):e.key===c.R.ArrowRight?(0,d.jA)(t,d.TO.Next|d.TO.WrapAround):d.fE.Error}))===d.fE.Success)return e.preventDefault()}),D=(0,a.useRef)(!1),_=(0,E.z)(()=>{var e;D.current||(D.current=!0,null==(e=S.current)||e.focus({preventScroll:!0}),A.change(R),(0,y.Y)(()=>{D.current=!1}))}),C=(0,E.z)(e=>{e.preventDefault()}),U=(0,a.useMemo)(()=>({selected:j}),[j]),z={ref:I,onKeyDown:L,onMouseDown:C,onClick:_,id:o,role:"tab",type:(0,m.f)(e,S),"aria-controls":null==(r=null==(n=w[R])?void 0:n.current)?void 0:r.id,"aria-selected":j,tabIndex:j?0:-1};return(0,i.sY)({ourProps:z,theirProps:b,slot:U,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,i.yV)(function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:u=!1,onChange:o,selectedIndex:l=null,...s}=e,c=r?"vertical":"horizontal",m=u?"manual":"auto",v=null!==l,h=(0,p.T)(t),[y,x]=(0,a.useReducer)(j,{selectedIndex:null!=l?l:n,tabs:[],panels:[]}),T=(0,a.useMemo)(()=>({selectedIndex:y.selectedIndex}),[y.selectedIndex]),O=(0,b.E)(o||(()=>{})),A=(0,b.E)(y.tabs),P=(0,a.useMemo)(()=>({orientation:c,activation:m,...y}),[c,m,y]),S=(0,E.z)(e=>(x({type:1,tab:e}),()=>x({type:2,tab:e}))),I=(0,E.z)(e=>(x({type:3,panel:e}),()=>x({type:4,panel:e}))),F=(0,E.z)(e=>{k.current!==e&&O.current(e),v||x({type:0,index:e})}),k=(0,b.E)(v?e.selectedIndex:y.selectedIndex),L=(0,a.useMemo)(()=>({registerTab:S,registerPanel:I,change:F}),[]);return(0,f.e)(()=>{x({type:0,index:null!=l?l:n})},[l]),(0,f.e)(()=>{if(void 0===k.current||y.tabs.length<=0)return;let e=(0,d.z2)(y.tabs,e=>e.current);e.some((e,t)=>y.tabs[t]!==e)&&F(e.indexOf(y.tabs[k.current]))}),a.createElement(w,null,a.createElement(R.Provider,{value:L},a.createElement(N.Provider,{value:P},P.tabs.length<=0&&a.createElement(g,{onFocus:()=>{var e,t;for(let n of A.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,i.sY)({ourProps:{ref:h},theirProps:s,slot:T,defaultTag:M,name:"Tabs"}))))}),List:(0,i.yV)(function(e,t){let{orientation:n,selectedIndex:r}=F("Tab.List"),u=(0,p.T)(t);return(0,i.sY)({ourProps:{ref:u,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,i.yV)(function(e,t){let{selectedIndex:n}=F("Tab.Panels"),r=(0,p.T)(t),u=(0,a.useMemo)(()=>({selectedIndex:n}),[n]);return(0,i.sY)({ourProps:{ref:r},theirProps:e,slot:u,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,i.yV)(function(e,t){var n,r,u,o;let s=(0,l.M)(),{id:c=`headlessui-tabs-panel-${s}`,tabIndex:d=0,...m}=e,{selectedIndex:b,tabs:v,panels:g}=F("Tab.Panel"),E=k("Tab.Panel"),y=(0,a.useRef)(null),x=(0,p.T)(y,t);(0,f.e)(()=>E.registerPanel(y),[E,y]);let T=O("panels"),w=g.indexOf(y);-1===w&&(w=T);let A=w===b,P=(0,a.useMemo)(()=>({selected:A}),[A]),S={ref:x,id:c,role:"tabpanel","aria-labelledby":null==(r=null==(n=v[w])?void 0:n.current)?void 0:r.id,tabIndex:A?d:-1};return A||null!=(u=m.unmount)&&!u||null!=(o=m.static)&&o?(0,i.sY)({ourProps:S,theirProps:m,slot:P,defaultTag:"div",features:L,visible:A,name:"Tabs.Panel"}):a.createElement(h._,{as:"span",...S})})})},2950:function(e,t,n){n.d(t,{z:function(){return o}});var r=n(2265),u=n(3759);let o=function(e){let t=(0,u.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},5606:function(e,t,n){n.d(t,{M:function(){return l}});var r,u=n(2265),o=n(2600),a=n(8957),i=n(2057);let l=null!=(r=u.useId)?r:function(){let e=(0,a.H)(),[t,n]=u.useState(e?()=>i.O.nextId():null);return(0,o.e)(()=>{null===t&&n(i.O.nextId())},[t]),null!=t?""+t:void 0}},634:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(2265),u=n(2600);function o(){let e=(0,r.useRef)(!1);return(0,u.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},2600:function(e,t,n){n.d(t,{e:function(){return o}});var r=n(2265),u=n(2057);let o=(e,t)=>{u.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3759:function(e,t,n){n.d(t,{E:function(){return o}});var r=n(2265),u=n(2600);function o(e){let t=(0,r.useRef)(e);return(0,u.e)(()=>{t.current=e},[e]),t}},8076:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(2265),u=n(2600);function o(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function a(e,t){let[n,a]=(0,r.useState)(()=>o(e));return(0,u.e)(()=>{a(o(e))},[e.type,e.as]),(0,u.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")},[n,t]),n}},8957:function(e,t,n){n.d(t,{H:function(){return a}});var r,u=n(2265),o=n(2057);function a(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(u,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,i]=u.useState(o.O.isHandoffComplete);return a&&!1===o.O.isHandoffComplete&&i(!1),u.useEffect(()=>{!0!==a&&i(!0)},[a]),u.useEffect(()=>o.O.handoff(),[]),!t&&a}},6618:function(e,t,n){n.d(t,{T:function(){return i},h:function(){return a}});var r=n(2265),u=n(2950);let o=Symbol();function a(e,t=!0){return Object.assign(e,{[o]:t})}function i(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,u.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:n}},8227:function(e,t,n){n.d(t,{A:function(){return o},_:function(){return a}});var r,u=n(1931),o=((r=o||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let a=(0,u.yV)(function(e,t){let{features:n=1,...r}=e,o={ref:t,"aria-hidden":(2&n)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,u.sY)({ourProps:o,theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})},3960:function(e,t,n){n.d(t,{A:function(){return r}});function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}},5390:function(e,t,n){n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,u)=>(e.addEventListener(t,r,u),n.add(()=>e.removeEventListener(t,r,u))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(5195)},2057:function(e,t,n){n.d(t,{O:function(){return a}});var r=Object.defineProperty,u=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(u(e,"symbol"!=typeof t?t+"":t,n),n);let a=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},5410:function(e,t,n){n.d(t,{EO:function(){return x},TO:function(){return f},fE:function(){return p},jA:function(){return T},sP:function(){return h},tJ:function(){return v},wI:function(){return g},z2:function(){return y}});var r,u,o,a,i,l=n(5390),s=n(597),c=n(4851);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),p=((u=p||{})[u.Error=0]="Error",u[u.Overflow=1]="Overflow",u[u.Success=2]="Success",u[u.Underflow=3]="Underflow",u),m=((o=m||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function b(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var v=((a=v||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function h(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,s.E)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function g(e){let t=(0,c.r)(e);(0,l.k)().nextFrame(()=>{t&&!h(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var E=((i=E||{})[i.Keyboard=0]="Keyboard",i[i.Mouse=1]="Mouse",i);function y(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),u=t(n);if(null===r||null===u)return 0;let o=r.compareDocumentPosition(u);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function x(e,t){return T(b(),t,{relativeTo:e})}function T(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:u=[]}={}){var o,a,i;let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?y(e):e:b(e);u.length>0&&s.length>1&&(s=s.filter(e=>!u.includes(e))),r=null!=r?r:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(r))-1;if(4&t)return Math.max(0,s.indexOf(r))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,m=s.length,v;do{if(p>=m||p+m<=0)return 0;let e=d+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(v=s[e])||v.focus(f),p+=c}while(v!==l.activeElement);return 6&t&&null!=(i=null==(a=null==(o=v)?void 0:o.matches)?void 0:a.call(o,"textarea,input"))&&i&&v.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},597:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let u=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,r),u}},5195:function(e,t,n){n.d(t,{Y:function(){return r}});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}},4851:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(2057);function u(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},1931:function(e,t,n){n.d(t,{AN:function(){return l},l4:function(){return s},oA:function(){return m},sY:function(){return c},yV:function(){return p}});var r,u,o=n(2265),a=n(3960),i=n(597),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),s=((u=s||{})[u.Unmount=0]="Unmount",u[u.Hidden=1]="Hidden",u);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:u,visible:o=!0,name:a}){let l=f(t,e);if(o)return d(l,n,r,a);let s=null!=u?u:0;if(2&s){let{static:e=!1,...t}=l;if(e)return d(t,n,r,a)}if(1&s){let{unmount:e=!0,...t}=l;return(0,i.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return d(l,n,r,a)}function d(e,t={},n,r){let{as:u=n,children:i,refName:l="ref",...s}=b(e,["unmount","static"]),c=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof i?i(t):i;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(t));let p={};if(t){let e=!1,n=[];for(let[r,u]of Object.entries(t))"boolean"==typeof u&&(e=!0),!0===u&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(u===o.Fragment&&Object.keys(m(s)).length>0){if(!(0,o.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(e=>` - ${e}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` `)].join(` `));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,a.A)(null==e?void 0:e.className(...t),s.className):(0,a.A)(null==e?void 0:e.className,s.className),n=t?{className:t}:{};return(0,o.cloneElement)(d,Object.assign({},f(d.props,m(b(s,["ref"]))),p,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,c.ref),n))}return(0,o.createElement)(u,Object.assign({},b(s,["ref"]),u!==o.Fragment&&c,u!==o.Fragment&&p),d)}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let u of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;u(t,...r)}}});return t}function p(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function b(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}}}]);