(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[625,6733,146,6592,4440],{83454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(77663)},71466:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ebooks",function(){return n(57538)}])},19687:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85893),i=n(67294),o=n(11163),s=n(41664),l=n.n(s);function a(){let e=(0,o.useRouter)(),t=[{id:2,label:"Blogs",href:"/blogs"},{id:3,label:"Case Studies",href:"/case-studies"},{id:4,label:"Webinars",href:"/webinars"},{id:6,label:"Videos",href:"/videos"},{id:8,label:"E-books",href:"/ebooks"}];return(0,i.useEffect)(()=>{let n=t.find(t=>e.pathname===t.href);if(n){let r=document.querySelector('.resourceTabsLinks [href="'.concat(n.href,'"]'));r&&r.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}},[e.pathname,t]),(0,r.jsx)("section",{className:"pt-10 bg-white",children:(0,r.jsxs)("div",{className:"container-none md:container lg:container mx-auto px-3 md:px-0",children:[(0,r.jsx)("p",{className:"text-lg text-brand font-semibold text-center",children:"Resources"}),(0,r.jsx)("h2",{className:"lg:text-headingbanner text-heading2 text-secondary text-center font-semibold",children:"Step inside the world of Moglix"}),(0,r.jsx)("ul",{className:"resourceTabsLinks flex list-none flex-wrap sm:pb-3 lg:pt-6 md:pt-[20px] sm:pt-[40px] sm:mb-0 flex-row justify-center mb-4 md:flex-nowrap sm:flex-nowrap sm:overflow-auto sm:overflow-y-hidden sm:w-full sm:justify-start border-[#EFEFF4] sticky z-10 bg-white overflow-x-hidden",role:"navigation","aria-label":"Resource Tabs",children:t.map(t=>(0,r.jsx)("li",{children:(0,r.jsx)(l(),{href:t.href,className:"inline-block whitespace-nowrap text-base mx-1 px-2 py-1 sm:mx-xsp rounded-[5px] ".concat(e.pathname==t.href?"bg-brand text-white":" text-brand"),children:t.label})},t.id))})]})})}},75524:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});let r={SOLUTION:{title:"Moglix Offerings for Small, Medium, and Large Enterprises",url:"/our-solutions",description:"Explore the full suite of supply chain offerings from Moglix Business including enterprise solutions, SaaS and MRO solutions."},MASS_CATEGORY:{title:"A wide variety of fabrication for all your manufacturing needs - Moglix Business",url:"/our-solutions/maas/manufacturing-capabilities",description:"Manufacturing Capabilities In-House Facilities Machines Available Manufacturing Capabilities Casting Welding Heat Treatment Machining Forging Heavy Fabrication Design Engineering Forming In-House Facilities Cutting Drilling Welding Machining Measuring & Instruments Blasting Painting Material Handling Machines Available Plano Miller Buffing M/C Lathe M/C Vertical Turret Lathe M/C DRILL M/C CNC CUTTING M/C HACK SAW M/C PLATE BENDING M/C […]"},ABOUT:{title:"Reimagining B2B commerce and supply chain with technology",url:"/about-us",description:"Learn about us, Moglix Business and what makes us India’s largest and fastest-growing supply chain and B2B commerce company."},CAREERS:{title:"careers - Moglix Business",url:"/careers",description:"Career at Moglix | Join the journey to re-imagine B2B Commerce | lead the procurement transformation"},CONTACT:{title:"Moglix Business: Contact Us | Get in Touch with our Experts",url:"/contact-us",description:"Contact Us Ready to experience procurement transformation... Procurement-tech | Sales Optimization | Supply Chain Financing | Digital Transformation. Moglix Marketplace Moglix.com is India’s leading online store for industrial tools and equipment. Explore the latest range of industrial products and grab the best deals. Moglix SME With 500k+ SMEs onboard, Moglix is […]"},SUSTANABILITY:{title:"Sustainable Procurement | Sustainable Supply Chain Management",url:"/sustainability",description:"Embrace sustainable procurement with Moglix Business. Explore solutions for building a greener supply chain, overcoming challenges, and achieving a positive environmental impact."},PRIVACY:{title:"Moglix Business Privacy Policy | How do we protect and use your information?",url:"/privacypolicy",description:"Moglix Business Privacy Policy |How do we protect and use your information? Privacy Policy This privacy policy has been compiled to better serve those who are concerned with how their ‘Personally Identifiable Information’ (PII) is being used online. PII, as described in INDIAN privacy law and information security, is information that can be used on […]"},MEDIA:{title:"Moglix Business Media Policy | How do we protect and use your information?",url:"/mediapolicy",description:"The Media Policy for Moglix establishes guidelines and procedures to ensure authorised and secure communication channels are utilised for all interactions with employees, media, and third parties."},WORLDWIDE:{title:"GLOBAL COMMERCE - Moglix Business",url:"/worldwide",description:"Moglix Global Commerce We have accelerated the growth of our international operations as we join the fight against COVID-19 crisis. Contact Us – Our Offices – Countries where we supply Optimize MRO Procurement Leverage vendor consolidation and e-catalog based buying to reduce MRO spend using Moglix’s global network and expertise. Simplify Packaging Explore a unique […]"},INFRA_MAIN:{title:"Moglix Business | (EPC) Engineering, Procurement and Construction",url:"/our-solutions/infra",keywords:"epc engineering procurement construction,epc business",description:"Moglix Business provides end-to-end solutions for managing raw materials for your EPC business. We digitalize the EPC supply chain to optimize your business spend."},NOT_FOUNDPAGE:{title:"404 Page",url:"/404",name:"description",description:"Page is not there, please search a valid link"},awards:{title:"Awards",url:"/awards",description:"Award & Recognition to Moglix"},RESOURCE:{blogs:{title:"Blogs on Business Moglix",url:"/blogs",description:"Blogs on Business Moglix"},casestudies:{title:"Case studies on Business Moglix",url:"/case-studies",description:"Case studies on Business Moglix"},webinars:{title:"Webinars on Business Moglix",url:"/webinars",description:"Webinars on Business Moglix"},videos:{title:"Videos on Business Moglix",url:"/videos",description:"Videos on Business Moglix"},ebooks:{title:"Ebooks on Business Moglix",url:"/ebooks",description:"Ebooks on Business Moglix"},news:{title:"News on Business Moglix",url:"/news",description:"News on Business Moglix"},events:{title:"Events on Business Moglix",url:"/events",description:"Events on Business Moglix"}}}},57538:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var r=n(85893);n(67294);var i=n(25675),o=n.n(i),s=n(19687),l=n(41664),a=n.n(l),u=n(41063),c=n(9392),d=n(72473),f=n(75524);function p(){let e=(e,t)=>{if(e.length<=t)return e;let n=e.slice(0,t-3)+"...";return n},t=t=>e(t,70);return(0,r.jsxs)(d.default,{children:[(0,r.jsx)(c.default,{title:f.o.RESOURCE.ebooks.title,url:f.o.RESOURCE.ebooks.url,description:f.o.RESOURCE.ebooks.description}),(0,r.jsx)(s.Z,{}),(0,r.jsx)("section",{className:"pt-4 pb-10 pt-5 bg-white sm:py-10",children:(0,r.jsx)("div",{className:"container-none md:container lg:container mx-auto px-3 md:px-0",children:(0,r.jsx)("ul",{className:"flex flex-wrap -mx-2",children:u.k.map((e,n)=>(0,r.jsx)(a(),{href:e.cta,className:"lg:w-1/4 md:w-1/2 sm:w-full p-2",children:(0,r.jsxs)("div",{className:"aspect-w-1 aspect-h-1 bg-white shadow-cardShadow2 border border-[#E6E6E6] hover:shadow-cardHover2 transition-shadow animate-fade-in",children:[(0,r.jsx)(o(),{className:"w-full h-full object-cover",src:e.imgName,alt:t(e.heading)}),(0,r.jsxs)("div",{className:"p-3 pb-5",children:[(0,r.jsx)("p",{className:"text-sm text-secondary font-semibold min-h-[80px]",children:t(e.heading)}),(0,r.jsx)("span",{className:"border-brand border text-sm font-normal text-brand w-full py-1 px-3",children:"View E-book"})]})]})},n))})})})]})}},77663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(r){n=s}}();var a=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?a=r.concat(a):c=-1,a.length&&f())}function f(){if(!u){var e=l(d);u=!0;for(var t=a.length;t;){for(r=a,a=[];++c<t;)r&&r[c].run();c=-1,t=a.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(r){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new p(e,t)),1!==a.length||u||l(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},s=!0;try{t[e](o,o.exports,r),s=!1}finally{s&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9008:function(e,t,n){e.exports=n(83121)},4298:function(e,t,n){e.exports=n(63573)},94440:function(e,t,n){"use strict";n.d(t,{p:function(){return N}});var r,i,o,s=n(67294),l=n(73781),a=n(19946),u=n(16723);function c(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"}var d=n(23784),f=n(16567),p=n(64103),m=n(32984),g=n(15466),h=n(12351);let b=null!=(o=s.startTransition)?o:function(e){e()};var y=n(61363),v=((r=v||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),x=((i=x||{})[i.ToggleDisclosure=0]="ToggleDisclosure",i[i.CloseDisclosure=1]="CloseDisclosure",i[i.SetButtonId=2]="SetButtonId",i[i.SetPanelId=3]="SetPanelId",i[i.LinkPanel=4]="LinkPanel",i[i.UnlinkPanel=5]="UnlinkPanel",i);let w={0:e=>({...e,disclosureState:(0,m.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},E=(0,s.createContext)(null);function M(e){let t=(0,s.useContext)(E);if(null===t){let n=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,M),n}return t}E.displayName="DisclosureContext";let C=(0,s.createContext)(null);C.displayName="DisclosureAPIContext";let S=(0,s.createContext)(null);function P(e,t){return(0,m.E)(t.type,w,e,t)}S.displayName="DisclosurePanelContext";let T=s.Fragment,O=h.AN.RenderStrategy|h.AN.Static,N=Object.assign((0,h.yV)(function(e,t){let{defaultOpen:n=!1,...r}=e,i=(0,s.useRef)(null),o=(0,d.T)(t,(0,d.h)(e=>{i.current=e},void 0===e.as||e.as===s.Fragment)),a=(0,s.useRef)(null),u=(0,s.useRef)(null),c=(0,s.useReducer)(P,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:p,buttonId:b},y]=c,v=(0,l.z)(e=>{y({type:1});let t=(0,g.r)(i);if(!t||!b)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(b):t.getElementById(b);null==n||n.focus()}),x=(0,s.useMemo)(()=>({close:v}),[v]),w=(0,s.useMemo)(()=>({open:0===p,close:v}),[p,v]);return s.createElement(E.Provider,{value:c},s.createElement(C.Provider,{value:x},s.createElement(f.up,{value:(0,m.E)(p,{0:f.ZM.Open,1:f.ZM.Closed})},(0,h.sY)({ourProps:{ref:o},theirProps:r,slot:w,defaultTag:T,name:"Disclosure"}))))}),{Button:(0,h.yV)(function(e,t){let n=(0,a.M)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[o,f]=M("Disclosure.Button"),m=(0,s.useContext)(S),g=null!==m&&m===o.panelId,b=(0,s.useRef)(null),v=(0,d.T)(b,t,g?null:o.buttonRef),x=(0,h.Y2)();(0,s.useEffect)(()=>{if(!g)return f({type:2,buttonId:r}),()=>{f({type:2,buttonId:null})}},[r,f,g]);let w=(0,l.z)(e=>{var t;if(g){if(1===o.disclosureState)return;switch(e.key){case y.R.Space:case y.R.Enter:e.preventDefault(),e.stopPropagation(),f({type:0}),null==(t=o.buttonRef.current)||t.focus()}}else switch(e.key){case y.R.Space:case y.R.Enter:e.preventDefault(),e.stopPropagation(),f({type:0})}}),E=(0,l.z)(e=>{e.key===y.R.Space&&e.preventDefault()}),C=(0,l.z)(t=>{var n;(0,p.P)(t.currentTarget)||e.disabled||(g?(f({type:0}),null==(n=o.buttonRef.current)||n.focus()):f({type:0}))}),P=(0,s.useMemo)(()=>({open:0===o.disclosureState}),[o]),T=function(e,t){let[n,r]=(0,s.useState)(()=>c(e));return(0,u.e)(()=>{r(c(e))},[e.type,e.as]),(0,u.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}(e,b),O=g?{ref:v,type:T,onKeyDown:w,onClick:C}:{ref:v,id:r,type:T,"aria-expanded":0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:w,onKeyUp:E,onClick:C};return(0,h.sY)({mergeRefs:x,ourProps:O,theirProps:i,slot:P,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,h.yV)(function(e,t){let n=(0,a.M)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[o,l]=M("Disclosure.Panel"),{close:u}=function e(t){let n=(0,s.useContext)(C);if(null===n){let r=Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,e),r}return n}("Disclosure.Panel"),c=(0,h.Y2)(),p=(0,d.T)(t,o.panelRef,e=>{b(()=>l({type:e?4:5}))});(0,s.useEffect)(()=>(l({type:3,panelId:r}),()=>{l({type:3,panelId:null})}),[r,l]);let m=(0,f.oJ)(),g=null!==m?(m&f.ZM.Open)===f.ZM.Open:0===o.disclosureState,y=(0,s.useMemo)(()=>({open:0===o.disclosureState,close:u}),[o,u]);return s.createElement(S.Provider,{value:o.panelId},(0,h.sY)({mergeRefs:c,ourProps:{ref:p,id:r},theirProps:i,slot:y,defaultTag:"div",features:O,visible:g,name:"Disclosure.Panel"}))})})},61363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).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)},73781:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(67294),i=n(3855);let o=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},19946:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r,i=n(67294),o=n(77896),s=n(16723),l=n(82180);let a=null!=(r=i.useId)?r:function(){let e=(0,l.H)(),[t,n]=i.useState(e?()=>o.O.nextId():null);return(0,s.e)(()=>{null===t&&n(o.O.nextId())},[t]),null!=t?""+t:void 0}},16723:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(67294),i=n(77896);let o=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(67294),i=n(16723);function o(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},82180:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r,i=n(67294),o=n(77896);function s(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[s,l]=i.useState(o.O.isHandoffComplete);return s&&!1===o.O.isHandoffComplete&&l(!1),i.useEffect(()=>{!0!==s&&l(!0)},[s]),i.useEffect(()=>o.O.handoff(),[]),!t&&s}},23784:function(e,t,n){"use strict";n.d(t,{T:function(){return l},h:function(){return s}});var r=n(67294),i=n(73781);let o=Symbol();function s(e,t=!0){return Object.assign(e,{[o]:t})}function l(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.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}},16567:function(e,t,n){"use strict";n.d(t,{ZM:function(){return s},oJ:function(){return l},up:function(){return a}});var r,i=n(67294);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var s=((r=s||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function l(){return(0,i.useContext)(o)}function a({value:e,children:t}){return i.createElement(o.Provider,{value:e},t)}},64103:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},44067:function(e,t,n){"use strict";function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},77896:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);let s=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}}},32984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let i=t[e];return"function"==typeof i?i(...n):i}let o=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(o,r),o}n.d(t,{E:function(){return r}})},15466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(77896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},12351:function(e,t,n){"use strict";n.d(t,{AN:function(){return a},Y2:function(){return f},l4:function(){return u},sY:function(){return c},yV:function(){return g}});var r,i,o=n(67294),s=n(44067),l=n(32984),a=((r=a||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:s,mergeRefs:a}){a=null!=a?a:p;let u=m(t,e);if(o)return d(u,n,r,s,a);let c=null!=i?i:0;if(2&c){let{static:f=!1,...g}=u;if(f)return d(g,n,r,s,a)}if(1&c){let{unmount:h=!0,...b}=u;return(0,l.E)(h?0:1,{0:()=>null,1:()=>d({...b,hidden:!0,style:{display:"none"}},n,r,s,a)})}return d(u,n,r,s,a)}function d(e,t={},n,r,i){let{as:l=n,children:a,refName:u="ref",...c}=b(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof a?a(t):a;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let g=!1,y=[];for(let[v,x]of Object.entries(t))"boolean"==typeof x&&(g=!0),!0===x&&y.push(v);g&&(p["data-headlessui-state"]=y.join(" "))}if(l===o.Fragment&&Object.keys(h(c)).length>0){if(!(0,o.isValidElement)(f)||Array.isArray(f)&&f.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(c).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 w=f.props,E="function"==typeof(null==w?void 0:w.className)?(...e)=>(0,s.A)(null==w?void 0:w.className(...e),c.className):(0,s.A)(null==w?void 0:w.className,c.className);return(0,o.cloneElement)(f,Object.assign({},m(f.props,h(b(c,["ref"]))),p,d,{ref:i(f.ref,d.ref)},E?{className:E}:{}))}return(0,o.createElement)(l,Object.assign({},b(c,["ref"]),l!==o.Fragment&&d,l!==o.Fragment&&p),f)}function f(){let e=(0,o.useRef)([]),t=(0,o.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]);return(...n)=>{if(!n.every(e=>null==e))return e.current=n,t}}function p(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function m(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&"function"==typeof r[i]?(null!=n[i]||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let o in n)Object.assign(t,{[o](e,...t){for(let r of n[o]){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;r(e,...t)}}});return t}function g(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function b(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}}},function(e){e.O(0,[3409,7066,5675,1664,6458,2473,7256,9774,2888,179],function(){return e(e.s=71466)}),_N_E=e.O()}]);