@hybr1d-tech/charizard 2.3.3 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hybr1d-ui.js CHANGED
@@ -1662,37 +1662,39 @@ function Sp({
1662
1662
  showBackdrop: o = !1,
1663
1663
  onClose: r,
1664
1664
  customModalClasses: i,
1665
- onCustomInteractOutside: u
1665
+ onCustomInteractOutside: u,
1666
+ closeOnInteractOutside: m
1666
1667
  }) {
1667
- const m = v0(k1.machine, {
1668
+ const d = v0(k1.machine, {
1668
1669
  id: q.useId(),
1669
1670
  open: e,
1670
- onOpenChange: ({ open: h }) => {
1671
- !h && r && r();
1671
+ onOpenChange: ({ open: v }) => {
1672
+ !v && r && r();
1672
1673
  },
1673
- onInteractOutside: u
1674
- }), d = k1.connect(m, d0);
1674
+ onInteractOutside: u,
1675
+ closeOnInteractOutside: m
1676
+ }), h = k1.connect(d, d0);
1675
1677
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1676
- c && /* @__PURE__ */ a.jsx("button", { ...d.getTriggerProps(), className: "zap-reset-btn", children: c }),
1677
- d.open && /* @__PURE__ */ a.jsxs(d2, { children: [
1678
- o && /* @__PURE__ */ a.jsx("div", { ...d.getBackdropProps(), className: q2.backdrop }),
1679
- /* @__PURE__ */ a.jsx("div", { ...d.getPositionerProps(), className: q2.positioner, children: /* @__PURE__ */ a.jsxs("div", { ...d.getContentProps(), className: g(q2.modal, i), children: [
1680
- /* @__PURE__ */ a.jsxs("div", { ...d.getTitleProps(), className: q2.header, children: [
1678
+ c && /* @__PURE__ */ a.jsx("button", { ...h.getTriggerProps(), className: "zap-reset-btn", children: c }),
1679
+ h.open && /* @__PURE__ */ a.jsxs(d2, { children: [
1680
+ o && /* @__PURE__ */ a.jsx("div", { ...h.getBackdropProps(), className: q2.backdrop }),
1681
+ /* @__PURE__ */ a.jsx("div", { ...h.getPositionerProps(), className: q2.positioner, children: /* @__PURE__ */ a.jsxs("div", { ...h.getContentProps(), className: g(q2.modal, i), children: [
1682
+ /* @__PURE__ */ a.jsxs("div", { ...h.getTitleProps(), className: q2.header, children: [
1681
1683
  /* @__PURE__ */ a.jsxs("div", { children: [
1682
1684
  /* @__PURE__ */ a.jsx("h2", { className: "zap-heading-semibold", children: l }),
1683
1685
  n && /* @__PURE__ */ a.jsx("p", { className: "zap-subcontent-regular", children: n })
1684
1686
  ] }),
1685
- /* @__PURE__ */ a.jsx("button", { ...d.getCloseTriggerProps(), className: "zap-reset-btn", children: /* @__PURE__ */ a.jsx(R, { path: X0, svgClassName: q2.icon }) })
1687
+ /* @__PURE__ */ a.jsx("button", { ...h.getCloseTriggerProps(), className: "zap-reset-btn", children: /* @__PURE__ */ a.jsx(R, { path: X0, svgClassName: q2.icon }) })
1686
1688
  ] }),
1687
1689
  /* @__PURE__ */ a.jsx(
1688
1690
  "div",
1689
1691
  {
1690
- ...d.getDescriptionProps(),
1692
+ ...h.getDescriptionProps(),
1691
1693
  className: g(q2.hideScrollbar, q2.content),
1692
1694
  children: t
1693
1695
  }
1694
1696
  ),
1695
- !!s.length && /* @__PURE__ */ a.jsx("div", { className: q2.footer, children: s == null ? void 0 : s.map(({ btnText: h, isLoading: v, loadingText: x, ...f }, b) => /* @__PURE__ */ a.jsx(a0, { ...f, children: v ? x : h }, b)) })
1697
+ !!s.length && /* @__PURE__ */ a.jsx("div", { className: q2.footer, children: s == null ? void 0 : s.map(({ btnText: v, isLoading: x, loadingText: f, ...b }, C) => /* @__PURE__ */ a.jsx(a0, { ...b, children: x ? f : v }, C)) })
1696
1698
  ] }) })
1697
1699
  ] })
1698
1700
  ] });
@@ -19,7 +19,7 @@
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,Q,l0,h0,l0),S0[l0+Q]=!0)}if(l0=null,O!==void 0&&(c(O),l0=""+O),s(F)&&(c(F.key),l0=""+F.key),"key"in F){O={};for(var c2 in F)c2!=="key"&&(O[c2]=F[c2])}else O=F;return l0&&r(O,typeof z=="function"?z.displayName||z.name||"Unknown":z),u(z,l0,i0,c0,t(),O,f0,w0)}function d(z){typeof z=="object"&&z!==null&&z.$$typeof===v&&z._store&&(z._store.validated=1)}var h=E,v=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),_=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),J=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,k=Array.isArray,w=console.createTask?console.createTask:function(){return null};h={"react-stack-bottom-frame":function(z){return z()}};var G,D={},n0=h["react-stack-bottom-frame"].bind(h,o)(),U=w(n(o)),S0={};c1.Fragment=f,c1.jsx=function(z,F,O,Q,c0){var i0=1e4>J.recentlyCreatedOwnerStacks++;return m(z,F,O,!1,Q,c0,i0?Error("react-stack-top-frame"):n0,i0?w(n(z)):U)},c1.jsxs=function(z,F,O,Q,c0){var i0=1e4>J.recentlyCreatedOwnerStacks++;return m(z,F,O,!0,Q,c0,i0?Error("react-stack-top-frame"):n0,i0?w(n(z)):U)}}()),c1}var X4;function k7(){return X4||(X4=1,process.env.NODE_ENV==="production"?B1.exports=V7():B1.exports=L7()),B1.exports}var a=k7();const z0={iconSpan:"_iconSpan_1mcv8_1",icon:"_icon_1mcv8_1",closeIconSpan:"_closeIconSpan_1mcv8_14",closeIcon:"_closeIcon_1mcv8_14",closeToastBtn:"_closeToastBtn_1mcv8_28",toastMessageBox:"_toastMessageBox_1mcv8_34",toastMessage:"_toastMessage_1mcv8_34",toastInfo:"_toastInfo_1mcv8_45"},R7="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208c0%204.42%203.58%208%208%208s8-3.58%208-8-3.58-8-8-8-8%203.58-8%208m11.29-2.71a1.003%201.003%200%200%201%201.42%201.42l-5%205c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-3-3a1.003%201.003%200%200%201%201.42-1.42L7%209.59z'%20fill='%2336B37E'/%3e%3c/svg%3e",W4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20.005A7.993%207.993%200%200%200%20.005%208%207.993%207.993%200%200%200%208%2015.995%207.993%207.993%200%200%200%2015.995%208%207.993%207.993%200%200%200%208%20.005M7%2012.997v-1.999h2v1.999zm0-9.994V10h2V3.003z'%20fill='%23E74C3C'/%3e%3c/svg%3e",$4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m15.845%2013.5.01-.01-6.996-12-.01.01A.97.97%200%200%200%208%201c-.37%200-.67.2-.85.5l-.01-.01-6.995%2012%20.01.01c-.09.15-.15.31-.15.5%200%20.55.45%201%201%201h13.99c.55%200%201-.45%201-1%200-.19-.06-.35-.15-.5M9%2012.99H7.001v-2h1.998zm-1.998-3H9v-5H7.001z'%20fill='%23F39C12'/%3e%3c/svg%3e",G7="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58%200%200%203.58%200%208s3.58%208%208%208%208-3.58%208-8-3.58-8-8-8m1%203v2H7V3zm-3%209v1h4v-1H9V6H6v1h1v5z'%20fill='%23254DDA'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e";function V({path:e,width:l,height:c,spanClassName:n="",svgClassName:t="",customSpanStyles:o={},customSvgStyles:s={},handleClick:r}){return a.jsx("span",{className:`${n}`,style:{...o},onClick:r,children:a.jsx(f7,{src:e,className:t,style:{...s},onError:i=>console.log(i.message),width:l,height:c})})}const V1={position:"top-right",autoClose:1800,hideProgressBar:!0};function L1({msg:e,info:l}){return a.jsxs("div",{className:p(z0.toastMessageBox),children:[a.jsx("h4",{className:p(z0.toastMessage,"zap-content-medium"),children:e}),a.jsx("p",{className:p(z0.toastInfo,"zap-content-regular"),children:l})]})}const Y4=({msg:e,info:l,options:c})=>y1.toast.success(a.jsx(L1,{msg:e,info:l,type:"success"}),{...V1,icon:a.jsx(V,{path:R7,svgClassName:p(z0.icon,z0.success),spanClassName:z0.iconSpan}),...c}),H7=({msg:e,info:l,options:c})=>y1.toast.error(a.jsx(L1,{msg:e,info:l,type:"error"}),{...V1,icon:a.jsx(V,{path:W4,svgClassName:p(z0.icon,z0.error),spanClassName:z0.iconSpan}),...c}),D7=({msg:e,info:l,options:c})=>y1.toast.info(a.jsx(L1,{msg:e,info:l,type:"info"}),{...V1,icon:a.jsx(V,{path:G7,svgClassName:p(z0.icon,z0.info),spanClassName:z0.iconSpan}),...c}),F7=({msg:e,info:l,options:c})=>y1.toast.warning(a.jsx(L1,{msg:e,info:l,type:"warning"}),{...V1,icon:a.jsx(V,{path:$4,svgClassName:p(z0.icon,z0.warning),spanClassName:z0.iconSpan}),...c});function P7({closeToast:e}){return a.jsx("button",{className:z0.closeToastBtn,onClick:e,children:a.jsx(V,{path:X0,svgClassName:z0.closeIcon,spanClassName:z0.closeIconSpan})})}const C3=(e,l,c)=>e===1||e===0||e===void 0||e===null?l:c,J4=(e,l)=>l&&e.length>l?`${e.substring(0,l)}...`:e,I3=e=>e.split(" ").filter(Boolean).slice(0,2).reduce((c,n)=>c+(n[0]||"").toUpperCase(),""),x3=e=>{if(!e||!e.first_name)return"-";let l=e.first_name;return e.middle_name&&(l+=` ${e.middle_name}`),e.last_name&&(l+=` ${e.last_name}`),l},_3=async(e,l=!0)=>{e&&(await navigator.clipboard.writeText(e).catch(console.error),l&&Y4({msg:`Successfully copied ${e}`,options:{toastId:e,autoClose:3e3}}))},z3=["Backspace","Tab","ArrowLeft","ArrowRight","Delete","Enter","Control","Meta"],T7=0,O7=25;var y3=(e=>(e.SEARCH="search",e.SORT_BY="sort_by",e.SORT_ORDER="sort_order",e.INITIAL_FILTER="initial_filter",e.FILTER="filter",e.RESET_FILTERS="reset_filters",e.RESET_ALL="reset_all",e.SELECTOR_FILTER="selector_filter",e.PAGE="page",e.LIMIT="limit",e.SET_DURATION="set_duration",e))(y3||{});const U4=(e,l=[])=>{const c={};return e&&Object.keys(e).forEach(n=>{e[n]&&!l.includes(n)&&(c[n]=e[n])}),c},Q4=e=>{if(e.sort_by)switch(e.sort_order){case"asc":return`+${e.sort_by}`;case"desc":return`-${e.sort_by}`;default:return`${e.sort_by}`}},Z7=e=>{const l={page:e.page,limit:e.limit};return e.search&&(l.search=e.search),e.sort_by&&(l.sort_by=Q4({sort_by:e.sort_by,sort_order:e.sort_order})),e.filters&&Object.assign(l,U4(e.filters)),Object.keys(l).forEach(c=>{l[c]===void 0&&delete l[c]}),l},X7=(e,{payload:l,type:c},n)=>{switch(c){case"search":return{...e,search:l,page:0};case"sort_by":return{...e,sort_by:l,page:0};case"sort_order":return{...e,sort_order:l};case"initial_filter":return{...e,filters:l};case"filter":{const{value:t,filterType:o}=l;return{...e,page:0,filters:{...e.filters,[o]:t}}}case"reset_all":return n;case"reset_filters":return{...e,filters:n.filters};case"page":return{...e,page:l};case"limit":return{...e,limit:l,page:0};case"set_duration":return{...e,filters:{...e.filters,filter_date_range:l}};case"selector_filter":return{...e,filters:{...e.filters,filter_status:l}};default:throw new Error(`Unhandled action type: ${c}`)}},W7=e=>G2.create(l=>({query:e,dispatch:c=>l(n=>({query:X7(n.query,c,e)}))})),K4={team:{employeeDirectory:{list:{label:"People",value:"team_list"},hiringTemplate:{label:"Hiring Templates",value:"team_hiring_template"},profileSoftwares:{label:"Profile Softwares",value:"team_profile_softwares"}}},zenIT:{inventory:{list:{label:"Inventory List",value:"inventory_list"},archive:{label:"Inventory Archive List",value:"inventory_archive_list"},allocationHistory:{label:"Inventory Allocation History",value:"inventory_allocation_history"}},software:{list:{label:"Software List",value:"software_list"},users:{label:"Software Users",value:"software_users"},detailsUsers:{label:"Software Details Users",value:"software_details_users"}},mdm:{devices:{label:"MDM Devices",value:"mdm_devices"},users:{label:"MDM Users",value:"mdm_users"}},webstore:{quotation:{label:"Quotation List",value:"quotation_list"}}},zenCore:{workflow:{list:{label:"Workflow List",value:"workflow_list"},history:{label:"Workflow History",value:"workflow_history"},forms:{label:"Workflow Forms",value:"workflow_forms"}}},zenPerformance:{goal:{list:{label:"Goal List",value:"goal_list"},departmentList:{label:"Department Goals",value:"departments_goal_list"}}},zenHR:{attendance:{timesheetList:{label:"Attendance Timesheets",value:"attendance_timesheets_list"},policyList:{label:"Attendance Policy List",value:"attendance_policy_list"}},leave:{policies:{label:"Leave Policies",value:"leave_policies"},publicHolidays:{label:"Leave Public Holidays",value:"leave_public_holidays"}}}},$7=e=>{for(const l of Object.values(K4))for(const c of Object.values(l))for(const n of Object.values(c))if(n.value===e)return n};function A3(e){return q.useMemo(()=>R4(e),[e])}function e5(e=-3,l,c){const n=l?new Date(l):null,t=n&&!isNaN(n.getTime())?n:_0.addMonths(new Date,e),o=c?new Date(c):null,s=o&&!isNaN(o.getTime())?o:new Date,[r,i]=q.useState({from:t,to:s}),u=r.from?_0.format(r.from,"yyyy-MM-dd"):"",m=r.to?_0.format(r.to,"yyyy-MM-dd"):"",d=q.useCallback(h=>{i({from:h==null?void 0:h.from,to:h==null?void 0:h.to})},[]);return{from:u,to:m,handleDateChange:d,period:r}}function l5(e,l=150){const[c,n]=q.useState(e);return q.useEffect(()=>{const t=setTimeout(()=>{n(e)},l);return()=>{clearTimeout(t)}},[e,l]),c}const w3=()=>{const[e,l]=q.useState(!1);return{isOpen:e,onOpen:()=>{l(!0)},onClose:()=>{l(!1)}}},a5=e=>{q.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e])},t5=e=>typeof window<"u"?window.matchMedia(e).matches:!1;function n5(e){const[l,c]=E.useState(t5(e));return E.useEffect(()=>{function n(){c(t5(e))}const t=window.matchMedia(e);return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e]),l}const s2={container:"_container_1htmo_1",containerRow:"_containerRow_1htmo_11",title:"_title_1htmo_16",textRow:"_textRow_1htmo_27",desc:"_desc_1htmo_31",info:"_info_1htmo_45",iconBox:"_iconBox_1htmo_49",icon:"_icon_1htmo_49"},o1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.1296%205.5226C13.4012%205.79427%2013.4012%206.23473%2013.1296%206.5064L8.49188%2011.1441C8.22021%2011.4158%207.77975%2011.4158%207.50808%2011.1441L2.8704%206.5064C2.59873%206.23473%202.59873%205.79427%202.8704%205.5226C3.14207%205.25093%203.58253%205.25093%203.8542%205.5226L7.99998%209.66838L12.1458%205.5226C12.4174%205.25093%2012.8579%205.25093%2013.1296%205.5226Z'%20fill='currentColor'/%3e%3c/svg%3e",Y7="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.66667%207.99996C6.66667%207.26358%207.25967%206.66663%207.99117%206.66663H8.00883C8.74033%206.66663%209.33333%207.26358%209.33333%207.99996C9.33333%208.73634%208.74033%209.33329%208.00883%209.33329H7.99117C7.25967%209.33329%206.66667%208.73634%206.66667%207.99996Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66667%207.99996C2.66667%207.26358%203.25967%206.66663%203.99117%206.66663H4.00883C4.74033%206.66663%205.33333%207.26358%205.33333%207.99996C5.33333%208.73634%204.74033%209.33329%204.00883%209.33329H3.99117C3.25967%209.33329%202.66667%208.73634%202.66667%207.99996Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.6667%207.99996C10.6667%207.26358%2011.2597%206.66663%2011.9912%206.66663H12.0088C12.7403%206.66663%2013.3333%207.26358%2013.3333%207.99996C13.3333%208.73634%2012.7403%209.33329%2012.0088%209.33329H11.9912C11.2597%209.33329%2010.6667%208.73634%2010.6667%207.99996Z'%20fill='currentColor'/%3e%3c/svg%3e",P={btn:"_btn_7av70_2",disabled:"_disabled_7av70_23",btnSmall:"_btnSmall_7av70_31",btnDefault:"_btnDefault_7av70_39",btnPrimary:"_btnPrimary_7av70_48",btnSecondary:"_btnSecondary_7av70_62",btnTertiary:"_btnTertiary_7av70_79",btnLink:"_btnLink_7av70_97",iconOnlySmall:"_iconOnlySmall_7av70_131",iconOnlyDefault:"_iconOnlyDefault_7av70_136",menus:"_menus_7av70_144",menu:"_menu_7av70_144",divider:"_divider_7av70_168",menuDisabled:"_menuDisabled_7av70_177",btnGrp:"_btnGrp_7av70_186",menuIcon:"_menuIcon_7av70_223",moreMenuIconTable:"_moreMenuIconTable_7av70_252",btnGrpLeft:"_btnGrpLeft_7av70_263",btnGrpRight:"_btnGrpRight_7av70_280",chevronDownSpan:"_chevronDownSpan_7av70_285",chevronDown:"_chevronDown_7av70_285",groupActionTable:"_groupActionTable_7av70_298"},c5=e=>{e.setOpen(!1)};var $=(e=>(e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.GHOST="tertiary",e.DANGER="primary",e.LINK="link",e.MINIMAL="tertiary",e))($||{}),a0=(e=>(e.SMALL="small",e.DEFAULT="default",e))(a0||{}),N0=(e=>(e.BASIC="basic",e.ICON_LEFT="iconLeft",e.ICON_RIGHT="iconRight",e.ICON_ONLY="iconOnly",e.BUTTON="button",e.RESET="reset",e))(N0||{});function t0({children:e,variant:l=$.PRIMARY,disabled:c=!1,onClick:n,type:t=N0.BASIC,size:o=a0.DEFAULT,customStyles:s={},className:r,icon:i,btnType:u,zapTriggerProps:m={}}){return a.jsxs("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,t===N0.ICON_ONLY&&o===a0.DEFAULT&&P.iconOnlyDefault,t===N0.ICON_ONLY&&o===a0.SMALL&&P.iconOnlySmall,c&&P.disabled,r),disabled:c,onClick:n,style:s,type:u,...m,children:[t===N0.ICON_LEFT&&i,t===N0.ICON_ONLY?i:e,t===N0.ICON_RIGHT&&i]})}const o5=q.forwardRef(function({children:e,variant:l=$.PRIMARY,disabled:c=!1,menuItems:n,customData:t,size:o=a0.DEFAULT,positionerProps:s,isTable:r=!1,isCustomTrigger:i=!1,customStyles:u,isSingleBtnTrigger:m=!1,hideDivider:d=!1,onClick:h},v){const x=X.useMachine(g2.machine,{id:q.useId(),positioning:{placement:(s==null?void 0:s.placement)||"bottom-end"}}),f=g2.connect(x,X.normalizeProps),b=u==null?void 0:u.customMenuStyles,I=u==null?void 0:u.customButtonStyles;q.useImperativeHandle(v,()=>({blur(){f.setOpen(!1)}}),[f]),q.useEffect(()=>{if(r){const _=document.getElementById("zap-table-scroll-container");if(_)return _.addEventListener("scroll",()=>c5(f),{passive:!0}),()=>_.removeEventListener("scroll",()=>c5(f))}},[f]);const g=a.jsx(a.Fragment,{children:n.length>0&&a.jsx("div",{...f.getPositionerProps(),children:a.jsx("div",{...f.getContentProps(),className:P.menus,style:b,children:n.filter(_=>_.filterFn?_.filterFn(t):!0).map(_=>a.jsxs("div",{className:p(P.menu,!d&&P.divider,{[P.menuDisabled]:_.disabled}),...f.getItemProps({value:_.label.toLowerCase()}),onClick:_.disabled?void 0:i?()=>_.onClick(t):_.onClick,style:_.customStyles,children:[_.iconSrc&&a.jsx(V,{path:_.iconSrc,svgClassName:p(P.menuIcon,_.customSvgClassName)}),_.label]},_.label))})})});return a.jsxs(a.Fragment,{children:[m?a.jsxs("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled),disabled:c,...f.getTriggerProps(),children:[e,a.jsx(V,{path:o1,svgClassName:P.chevronDown,spanClassName:P.chevronDownSpan})]}):i?a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,o===a0.DEFAULT&&P.iconOnlyDefault,o===a0.SMALL&&P.iconOnlySmall,r&&P.groupActionTable),style:I,...f.getTriggerProps(),children:e}):a.jsxs("div",{className:P.btnGrp,children:[a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,P.btnGrpLeft),disabled:c,onClick:h,style:I,children:e}),a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,P.btnGrpRight),disabled:c,...f.getTriggerProps(),children:a.jsx(V,{path:o1,svgClassName:P.chevronDown,spanClassName:P.chevronDownSpan})})]}),r?a.jsx(X.Portal,{children:g}):g]})}),s5=q.forwardRef(function({variant:e,disabled:l,menuItems:c,customData:n,size:t,positionerProps:o,isTable:s,children:r,hideDivider:i,customStyles:u},m){return a.jsx(o5,{variant:e,disabled:l,menuItems:c,customData:n,size:t,positionerProps:o,isTable:s,isCustomTrigger:!0,hideDivider:i,customStyles:u,ref:m,children:r||a.jsx(V,{path:Y7,width:16,height:16,svgClassName:s?P.moreMenuIconTable:void 0})})});t0.GroupAction=o5,t0.ActionsDropdown=s5;function J7({icon:e,title:l,desc:c,flexDir:n="column",btnText:t,onClick:o,customSvgClassName:s}){return a.jsxs("div",{className:p(s2.container,n==="row"&&s2.containerRow),children:[a.jsx("div",{className:s2.iconBox,children:a.jsx(V,{path:e,svgClassName:p(s2.icon,s||void 0)})}),a.jsxs("div",{className:s2.info,children:[a.jsx("h6",{className:p(s2.title,n==="row"&&s2.textRow),children:l}),c&&a.jsx("p",{className:p(s2.desc,n==="row"&&s2.textRow),children:c})]}),t&&a.jsx(t0,{onClick:o,variant:$.GHOST,children:t})]})}const i5="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5M3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011'%20fill='%23070F2C'/%3e%3c/svg%3e",w2={box:"_box_1cmss_1",search:"_search_1cmss_5",searchDisabled:"_searchDisabled_1cmss_21",searchIcon:"_searchIcon_1cmss_38",clearIcon:"_clearIcon_1cmss_39"};function F2({id:e,search:l,setSearch:c,placeholder:n="Search",clearIconClearFn:t,customStyles:o,disabled:s=!1}){const r=typeof c=="function"&&typeof l=="string",i=o==null?void 0:o.customInputStyles,u=o==null?void 0:o.customIconStyles;return a.jsxs("div",{className:w2.box,children:[r?a.jsx("input",{id:e,type:"text",className:p(w2.search,s&&w2.searchDisabled,"zap-content-medium"),placeholder:n,value:l,onChange:m=>{c(m.target.value)},style:i,disabled:s}):a.jsx("input",{id:e,type:"text",className:p(w2.search,s&&w2.searchDisabled,"zap-content-medium"),placeholder:n,style:i,disabled:s}),a.jsx("span",{children:a.jsx("img",{src:i5,alt:"search",className:w2.searchIcon,style:u})}),r&&l.length!==0&&a.jsx("span",{onClick:()=>{typeof t=="function"&&t(),c("")},children:a.jsx("img",{src:X0,alt:"Clear Search",className:w2.clearIcon,style:u})})]})}const y0={backdropLayer:"_backdropLayer_5ongu_1",show:"_show_5ongu_12",backdrop:"_backdrop_5ongu_1",showBackdrop:"_showBackdrop_5ongu_24",container:"_container_5ongu_28",rightAlign:"_rightAlign_5ongu_40",leftAlign:"_leftAlign_5ongu_44",sm:"_sm_5ongu_48",md:"_md_5ongu_52",lg:"_lg_5ongu_56",xlg:"_xlg_5ongu_60",xxlg:"_xxlg_5ongu_64",content:"_content_5ongu_68",headerContainer:"_headerContainer_5ongu_74",showBorder:"_showBorder_5ongu_82",title:"_title_5ongu_86",subTitle:"_subTitle_5ongu_94",closeBtnIcon:"_closeBtnIcon_5ongu_103",descriptionContainer:"_descriptionContainer_5ongu_113",fullHeight:"_fullHeight_5ongu_119",footer:"_footer_5ongu_124",footerBtnContainer:"_footerBtnContainer_5ongu_140",footerBtn:"_footerBtn_5ongu_140",saveBtn:"_saveBtn_5ongu_154",cancelBtn:"_cancelBtn_5ongu_155"};function U7({isOpen:e,onClose:l,children:c,title:n,subTitle:t,customHeader:o,customFooter:s,size:r="md",showBackdrop:i=!0,showHeader:u=!0,showFooter:m=!0,buttons:d,footerAddon:h,headerClassName:v,contentClassName:x,footerClassName:f,showHeaderBorder:b=!1,drawerPosition:I="right",customContainerStyles:g}){const _=q.useRef(null),y=q.useRef(null),N=q.useRef(null),S=I==="left"?"-100%":"100%",M=!u&&!m;return q.useEffect(()=>{const A=setTimeout(()=>{if(_.current&&y.current&&N.current){const H=e?"translateX(0)":`translateX(${S})`,j=`calc(100dvh - (1.75rem * 2) - ${N.current.clientHeight}px)`;_.current.style.transform=H,y.current.style.maxHeight=j,y.current.style.height=j}},0);return()=>{clearTimeout(A)}},[e]),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:p(y0.backdropLayer,e&&y0.show),onClick:l,children:i&&a.jsx("div",{className:p(y0.backdrop,e&&y0.showBackdrop)})}),a.jsx("div",{className:p(y0.container,y0[r],y0[`${I}Align`]),ref:_,style:g,children:a.jsxs("div",{className:y0.content,children:[u&&a.jsx("div",{className:p(y0.headerContainer,{[y0.showBorder]:b},v),children:o||a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"titleBox",children:[a.jsx("h1",{className:y0.title,children:n}),t&&a.jsx("h2",{className:y0.subTitle,children:t})]}),a.jsx("div",{onClick:l,children:a.jsx(V,{path:X0,svgClassName:y0.closeBtnIcon})})]})}),a.jsx("div",{className:p(y0.descriptionContainer,{[y0.fullHeight]:M},x),ref:y,children:c}),m&&a.jsx("div",{className:p(y0.footer,f),ref:N,children:s||d&&a.jsxs("div",{className:y0.footerBtnContainer,children:[a.jsx("div",{className:y0.footerBtn,children:d.map((A,H)=>a.jsx(t0,{disabled:A==null?void 0:A.disabled,variant:A==null?void 0:A.variant,onClick:A.onClick?A.onClick:void 0,type:A.btnType===N0.ICON_LEFT||A.btnType===N0.ICON_RIGHT?N0.BASIC:A==null?void 0:A.btnType,children:A.btnText},H))}),h&&a.jsx("div",{children:h})]})})]})})]})}const g0={inputContainer:"_inputContainer_ckvnt_1",adapt:"_adapt_ckvnt_5",sm:"_sm_ckvnt_9",md:"_md_ckvnt_13",inputLabelContainer:"_inputLabelContainer_ckvnt_17",inputLabel:"_inputLabel_ckvnt_17",infoCircleSvg:"_infoCircleSvg_ckvnt_36",required:"_required_ckvnt_41",inputGroup:"_inputGroup_ckvnt_47",inputWrapper:"_inputWrapper_ckvnt_53",input:"_input_ckvnt_1",textarea:"_textarea_ckvnt_59",error:"_error_ckvnt_89",errorMsg:"_errorMsg_ckvnt_106",inputElement:"_inputElement_ckvnt_115",left:"_left_ckvnt_126",right:"_right_ckvnt_130",inputAddon:"_inputAddon_ckvnt_134",dropdownContainer:"_dropdownContainer_ckvnt_163",searchContainer:"_searchContainer_ckvnt_178",dropdownOption:"_dropdownOption_ckvnt_186",disabled:"_disabled_ckvnt_205"};var q0=(e=>(e.INPUT_ADDON="InputAddon",e.INPUT_LEFT_ADDON="InputLeftAddon",e.INPUT_RIGHT_ADDON="InputRightAddon",e.INPUT_ELEMENT="InputElement",e.INPUT_LEFT_ELEMENT="InputLeftElement",e.INPUT_RIGHT_ELEMENT="InputRightElement",e.INPUT_CONTAINER="InputContainer",e.INPUT_LABEL="InputLabel",e.INPUT_GROUP="InputGroup",e.INPUT="Input",e))(q0||{});function N3({customClasses:e,customStyles:l,name:c,id:n,value:t,onChange:o,restprops:s,cols:r,errorMsg:i,disabled:u=!1,rows:m=2,type:d="text",placeholder:h="Placeholder",onBlur:v}){const x=q.useRef(null);return a.jsxs("div",{className:g0.inputWrapper,children:[d==="textarea"?a.jsx("textarea",{rows:m,cols:r,style:l,className:p(g0.textarea,i&&g0.error,e),placeholder:h,name:c,id:n,value:t,onChange:o,disabled:u,onBlur:v,...s}):a.jsx("input",{ref:x,style:l,type:d,className:p(g0.input,i&&g0.error,e),placeholder:h,name:c,id:n,value:t,onChange:o,disabled:u,onClick:()=>{var f;return(f=x.current)==null?void 0:f.showPicker()},onBlur:v,...s}),i&&a.jsx("p",{className:g0.errorMsg,children:i})]})}N3.displayName=q0.INPUT,N3.id=q0.INPUT;const N2="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.694%208.284a1.043%201.043%200%200%201%200%201.476l-6.956%206.956a1.044%201.044%200%200%201-1.476%200L4.306%209.76A1.043%201.043%200%201%201%205.78%208.284L12%2014.503l6.219-6.22a1.043%201.043%200%200%201%201.475%200'%20fill='%23070F2C'/%3e%3c/svg%3e";function k1({children:e,placement:l="left",isDropdown:c=!1,dropdownOptions:n,handleOptionClick:t=()=>{},showDropdownSearch:o=!0}){var I;const s=l==="left"?"left":"right",[r,i]=q.useState(!1),u=q.useRef(null),[m,d]=q.useState(""),[h,v]=q.useState(!0);q.useEffect(()=>(document.addEventListener("click",x),()=>{document.removeEventListener("click",x)}),[]);const x=g=>{var _;(_=u.current)!=null&&_.contains(g.target)||i(!1)},f=()=>{var g;if(r)i(!1),v(!0);else{i(!0);const _=(g=u.current)==null?void 0:g.getBoundingClientRect(),y=(_==null?void 0:_.right)+(_==null?void 0:_.width),N=window.innerWidth-100;y>N&&v(!1)}},b=g=>(g.label+" "+g.value).toLowerCase().includes(m.toLowerCase());return a.jsxs("div",{className:p(g0.inputAddon,g0[s]),onClick:()=>{c&&f()},ref:u,style:{cursor:c?"pointer":"inherit"},children:[e,c&&a.jsxs(a.Fragment,{children:[a.jsx(V,{path:N2,width:20,customSpanStyles:{width:"20px"}}),r&&a.jsxs("div",{className:g0.dropdownContainer,style:{left:h?"0":"inherit",right:h?"inherit":"0",paddingTop:o?"0":"12px"},children:[o&&a.jsx("div",{className:g0.searchContainer,onClick:g=>g.stopPropagation(),children:a.jsx(F2,{search:m,setSearch:d,id:"input-add-on-search"})}),(I=n==null?void 0:n.filter(b))==null?void 0:I.map(g=>a.jsx("div",{className:g0.dropdownOption,onClick:_=>{_.stopPropagation(),t(g),f()},children:g.label},g.value))]})]})]})}function j3({children:e,isDropdown:l=!1,dropdownOptions:c=[],handleOptionClick:n=()=>{},showDropdownSearch:t=!0}){return a.jsx(k1,{placement:"left",isDropdown:l,dropdownOptions:c,handleOptionClick:n,showDropdownSearch:t,children:e})}function M3({children:e,isDropdown:l=!1,dropdownOptions:c=[],handleOptionClick:n=()=>{},showDropdownSearch:t=!0}){return a.jsx(k1,{placement:"right",isDropdown:l,dropdownOptions:c,handleOptionClick:n,showDropdownSearch:t,children:e})}k1.displayName=q0.INPUT_ADDON,k1.id=q0.INPUT_ADDON,j3.displayName=q0.INPUT_LEFT_ADDON,j3.id=q0.INPUT_LEFT_ADDON,M3.displayName=q0.INPUT_RIGHT_ADDON,M3.id=q0.INPUT_RIGHT_ADDON;function R1({children:e,customClassName:l,customStyles:c,size:n="adapt"}){return a.jsx("div",{className:p(g0.inputContainer,g0[n],l),style:c,children:e})}R1.displayName=q0.INPUT_CONTAINER,R1.id=q0.INPUT_CONTAINER;function G1({children:e,placement:l="left"}){const c=l==="left"?"left":"right";return a.jsx("div",{className:p(g0.inputElement,g0[c]),children:e})}function E3({children:e}){return a.jsx(G1,{placement:"left",children:e})}function S3({children:e}){return a.jsx(G1,{placement:"right",children:e})}G1.displayName=q0.INPUT_ELEMENT,G1.id=q0.INPUT_ELEMENT,E3.displayName=q0.INPUT_LEFT_ELEMENT,E3.id=q0.INPUT_LEFT_ELEMENT,S3.displayName=q0.INPUT_RIGHT_ELEMENT,S3.id=q0.INPUT_RIGHT_ELEMENT;function B3({children:e}){const l={},c=q.Children.toArray(e);c.forEach(t=>{t.type.id==="InputLeftElement"&&(l.paddingInlineStart="36px"),t.type.id==="InputRightElement"&&(l.paddingInlineEnd="36px"),t.type.id==="InputLeftAddon"&&(l.borderTopLeftRadius=0,l.borderBottomLeftRadius=0),t.type.id==="InputRightAddon"&&(l.borderTopRightRadius=0,l.borderBottomRightRadius=0)});const n=c.map(t=>t.type.id!=="Input"?t:q.cloneElement(t,{...t.props,customStyles:{...l,...t.props.customStyles}}));return a.jsx("div",{className:g0.inputGroup,children:n})}B3.displayName=q0.INPUT_GROUP,B3.id=q0.INPUT_GROUP;const s1="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%203.125C6.20304%203.125%203.125%206.20304%203.125%2010C3.125%2013.797%206.20304%2016.875%2010%2016.875C13.797%2016.875%2016.875%2013.797%2016.875%2010C16.875%206.20304%2013.797%203.125%2010%203.125ZM1.875%2010C1.875%205.51269%205.51269%201.875%2010%201.875C14.4873%201.875%2018.125%205.51269%2018.125%2010C18.125%2014.4873%2014.4873%2018.125%2010%2018.125C5.51269%2018.125%201.875%2014.4873%201.875%2010Z'%20fill='%23616189'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2013.125C10.3452%2013.125%2010.625%2012.8452%2010.625%2012.5V10C10.625%209.65482%2010.3452%209.375%2010%209.375C9.65482%209.375%209.375%209.65482%209.375%2010V12.5C9.375%2012.8452%209.65482%2013.125%2010%2013.125Z'%20fill='%23616189'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%208.125C10.3452%208.125%2010.625%207.84518%2010.625%207.5V7.49992C10.625%207.15474%2010.3452%206.87492%2010%206.87492C9.65482%206.87492%209.375%207.15474%209.375%207.49992V7.5C9.375%207.84518%209.65482%208.125%2010%208.125Z'%20fill='%23616189'/%3e%3c/svg%3e",i1={trigger:"_trigger_1vdqd_1",content:"_content_1vdqd_7",arrow:"_arrow_1vdqd_18"};function Q7({children:e,api:l,customStyles:c={}}){return a.jsx("button",{...l.getTriggerProps(),type:"button",className:i1.trigger,style:{...c},children:e})}function K7({children:e,api:l,bg:c="black",positionerStyles:n={},containerStyles:t={}}){var r,i;const o=!["black","gray"].includes(c),s={...l==null?void 0:l.getArrowProps(),...o&&{style:{...(r=l==null?void 0:l.arrowProps)==null?void 0:r.style,"--arrow-background":c}}};return a.jsx(a.Fragment,{children:l.open&&a.jsxs("div",{...l.getPositionerProps(),style:{...(i=l==null?void 0:l.getPositionerProps())==null?void 0:i.style,...n},children:[a.jsx("div",{...s,className:p(i1.arrow,{[i1[c]]:!o}),children:a.jsx("div",{...l.getArrowTipProps()})}),a.jsx("div",{...l.getContentProps(),className:p(i1.content,i1[c]),style:{background:o?c:"",...t},children:e})]})})}function P2({children:e,openDelay:l=0,closeDelay:c=0,placement:n="top"}){const t=X.useMachine(j1.machine,{id:q.useId(),openDelay:l,closeDelay:c,positioning:{placement:n,gutter:3}}),o=j1.connect(t,X.normalizeProps),s=q.Children.toArray(e).map(r=>q.cloneElement(r,{...r.props??{},api:o}));return a.jsx(a.Fragment,{children:s})}P2.Trigger=Q7,P2.Content=K7;function r1({children:e,customClasses:l,customStyles:c,required:n=!1,htmlFor:t,restprops:o={},infoText:s,infoTextTooltipStyles:r={},isDisabled:i=!1}){return a.jsxs("div",{className:g0.inputLabelContainer,children:[a.jsx("label",{htmlFor:t,className:p(g0.inputLabel,l,n&&g0.required,i&&g0.disabled),style:c,...o,children:a.jsx("span",{children:e})}),s&&a.jsxs(P2,{children:[a.jsx(P2.Trigger,{children:a.jsx(V,{path:s1,svgClassName:g0.infoCircleSvg})}),a.jsx(P2.Content,{positionerStyles:r,children:s})]})]})}r1.displayName=q0.INPUT_LABEL,r1.id=q0.INPUT_LABEL;const P0={backdrop:"_backdrop_7yg3k_1",container:"_container_7yg3k_16",contentWrapper:"_contentWrapper_7yg3k_30",sm:"_sm_7yg3k_39",md:"_md_7yg3k_43",fullScreen:"_fullScreen_7yg3k_47",content:"_content_7yg3k_30",header:"_header_7yg3k_58",showBorder:"_showBorder_7yg3k_75",closeIconSpan:"_closeIconSpan_7yg3k_79",closeIcon:"_closeIcon_7yg3k_79",body:"_body_7yg3k_93",footer:"_footer_7yg3k_103",btnsContainer:"_btnsContainer_7yg3k_119",buttonLabel:"_buttonLabel_7yg3k_127"};function r5({api:e}){return a.jsx("div",{...e==null?void 0:e.getBackdropProps(),className:P0.backdrop})}function ee({isOpen:e,onClose:l,children:c,size:n="md",showOverlay:t=!0,machineProps:o={}}){const s=q.useCallback(m=>{m||l()},[l]),r=X.useMachine(M1.machine,{id:q.useId(),open:e,onOpenChange:m=>s(m.open),...o}),i=M1.connect(r,X.normalizeProps),u=q.Children.toArray(c).map(m=>q.cloneElement(m,{...m.props,api:i,size:n}));return a.jsxs(X.Portal,{children:[t&&a.jsx(r5,{api:i}),u]})}function le({children:e,api:l,customStyles:c={}}){return a.jsx("div",{...l.getDescriptionProps(),className:P0.body,style:c,children:e})}function ae({children:e,api:l,size:c="md"}){const n=q.Children.toArray(e).map(t=>q.cloneElement(t,{...t.props,api:l}));return a.jsx("div",{...l==null?void 0:l.containerProps,className:P0.container,children:a.jsx("div",{className:p(P0.contentWrapper,P0[c]),children:a.jsx("div",{...l==null?void 0:l.getContentProps(),className:P0.content,children:n})})})}function te({children:e,api:l,buttons:c,showBorder:n=!0}){return a.jsx("div",{className:p(P0.footer,{[P0.showBorder]:n}),children:e||a.jsx("div",{className:P0.btnsContainer,children:c.map((t,o)=>a.jsx(t0,{disabled:t.disabled,variant:t.variant,onClick:async()=>{await t.onClick(),l==null||l.setOpen(!1)},size:t.btnSize,children:t.isLoading?t.loadingText:a.jsxs("div",{className:P0.buttonLabel,children:[t.icon&&a.jsx("div",{children:a.jsx(V,{path:t.icon,customSvgStyles:{fill:"white",width:"20px",height:"20px"}})}),a.jsx("div",{children:t.btnText})]})},o))})})}function ne({children:e,api:l,showCrossBtn:c=!0,showBorder:n=!0}){return a.jsxs("div",{...l==null?void 0:l.getTitleProps(),className:p(P0.header,{[P0.showBorder]:n}),children:[a.jsx("div",{children:e}),c&&a.jsx("button",{...l.getCloseTriggerProps(),type:"button",onClick:()=>l==null?void 0:l.setOpen(!1),className:"zap-reset-btn",children:a.jsx(V,{path:X0,svgClassName:P0.closeIcon,spanClassName:P0.closeIconSpan})})]})}const q2={backdrop:"_backdrop_1q4yj_1",positioner:"_positioner_1q4yj_8",modal:"_modal_1q4yj_19",header:"_header_1q4yj_31",icon:"_icon_1q4yj_41",content:"_content_1q4yj_55",hideScrollbar:"_hideScrollbar_1q4yj_60",footer:"_footer_1q4yj_70"};function ce({isOpen:e,title:l,subTitle:c,trigger:n,children:t,footerButtons:o,showBackdrop:s=!1,onClose:r,customModalClasses:i,onCustomInteractOutside:u}){const m=X.useMachine(M1.machine,{id:q.useId(),open:e,onOpenChange:({open:h})=>{!h&&r&&r()},onInteractOutside:u}),d=M1.connect(m,X.normalizeProps);return a.jsxs(a.Fragment,{children:[n&&a.jsx("button",{...d.getTriggerProps(),className:"zap-reset-btn",children:n}),d.open&&a.jsxs(X.Portal,{children:[s&&a.jsx("div",{...d.getBackdropProps(),className:q2.backdrop}),a.jsx("div",{...d.getPositionerProps(),className:q2.positioner,children:a.jsxs("div",{...d.getContentProps(),className:p(q2.modal,i),children:[a.jsxs("div",{...d.getTitleProps(),className:q2.header,children:[a.jsxs("div",{children:[a.jsx("h2",{className:"zap-heading-semibold",children:l}),c&&a.jsx("p",{className:"zap-subcontent-regular",children:c})]}),a.jsx("button",{...d.getCloseTriggerProps(),className:"zap-reset-btn",children:a.jsx(V,{path:X0,svgClassName:q2.icon})})]}),a.jsx("div",{...d.getDescriptionProps(),className:p(q2.hideScrollbar,q2.content),children:t}),!!o.length&&a.jsx("div",{className:q2.footer,children:o==null?void 0:o.map(({btnText:h,isLoading:v,loadingText:x,...f},b)=>a.jsx(t0,{...f,children:v?x:h},b))})]})})]})]})}function H1({children:e,placement:l="top",popoverProps:c,closeOnScroll:n=!1,containerRef:t}){const o=X.useMachine(H2.machine,{id:q.useId(),positioning:{placement:l},closeOnInteractOutside:!0,portalled:!1,...c}),s=H2.connect(o,X.normalizeProps);function r(){s==null||s.setOpen(!1)}q.useEffect(()=>(n&&t&&t.current&&t.current.addEventListener("scroll",r),()=>{var u;n&&t&&((u=t.current)==null||u.removeEventListener("scroll",r))}),[t==null?void 0:t.current]);const i=q.Children.toArray(e).map(u=>q.cloneElement(u,{...u.props,api:s}));return a.jsx(a.Fragment,{children:i})}function oe({children:e,api:l,styles:c,className:n}){return a.jsx("button",{...l==null?void 0:l.getCloseTriggerProps(),style:c,className:p("zap-reset-btn",n),onClick:()=>l==null?void 0:l.setOpen(!1),children:e})}const T2={trigger:"_trigger_kapji_1",content:"_content_kapji_5",black:"_black_kapji_11",white:"_white_kapji_16",closeBtn:"_closeBtn_kapji_21",arrow:"_arrow_kapji_28",positioner:"_positioner_kapji_42"};function D1({children:e,api:l,bg:c="black",styles:n,className:t,positionerStyles:o,showArrow:s=!0}){var d,h;const r=l!=null&&l.portalled?X.Portal:q.Fragment,i=q.Children.toArray(e).map(v=>q.cloneElement(v,{...v.props,api:l})),u=!["black","gray"].includes(c),m={...l==null?void 0:l.getArrowProps(),...u&&{style:{...(d=l==null?void 0:l.getArrowProps())==null?void 0:d.style,"--arrow-background":c}}};return a.jsx(r,{children:a.jsxs("div",{...l==null?void 0:l.getPositionerProps(),className:T2.positioner,style:{...(h=l==null?void 0:l.getPositionerProps())==null?void 0:h.style,...o},children:[s&&a.jsx("div",{...m,className:p(T2.arrow,{[T2[c]]:!u}),children:a.jsx("div",{...l==null?void 0:l.getArrowTipProps()})}),a.jsx("div",{...l==null?void 0:l.getContentProps(),className:p(T2.content,T2[c],t),style:{background:u?c:"",...n},children:i})]})})}function se({children:e,api:l,styles:c,className:n}){return a.jsx("div",{...l==null?void 0:l.getDescriptionProps(),style:c,className:n,children:e})}function ie({children:e,api:l,styles:c,className:n}){return a.jsx("div",{...l==null?void 0:l.getTitleProps(),style:c,className:n,children:e})}function F1({children:e,api:l,openOnHover:c=!0,styles:n,className:t}){return a.jsx("button",{...l==null?void 0:l.getTriggerProps(),onMouseEnter:c?()=>l==null?void 0:l.setOpen(!0):()=>{},onMouseLeave:c?()=>l==null?void 0:l.setOpen(!1):()=>{},className:p("zap-reset-btn",T2.trigger,t),style:n,children:e})}const b0={selectContainer:"_selectContainer_9l7og_1",errorMsg:"_errorMsg_9l7og_6",multiLabelContainer:"_multiLabelContainer_9l7og_15",optionContainer:"_optionContainer_9l7og_21",profileImg:"_profileImg_9l7og_21",singleValueContainer:"_singleValueContainer_9l7og_23",label:"_label_9l7og_37",subLabel:"_subLabel_9l7og_43",closeSpan:"_closeSpan_9l7og_50",downArrowSpan:"_downArrowSpan_9l7og_51"},V3={valueContainer:e=>({...e,gap:"4px"}),option:(e,{data:l,isDisabled:c,isFocused:n,isSelected:t})=>({...e,backgroundColor:c?void 0:t?l.color:n?"var(--neutral-arch-30)":"#ffffff",color:"var(--text-primary)",cursor:c?"not-allowed":"default",padding:"8px 12px",fontSize:"16px",lineHeight:"24px",":hover":{backgroundColor:"var(--neutral-arch-30)"}}),singleValue:(e,{data:l})=>({...e,color:"var(--text-primary)",fontSize:"16px",lineHeight:"24px",display:"flex",alignItems:"center",gap:"4px",backgroundColor:"transparent",padding:l.profileImgUrl?"0px 8px 0 0 !important":"0 !important"}),multiValue:(e,{data:l,isFocused:c})=>({...e,backgroundColor:"var(--neutral-arch-50)",padding:l.profileImgUrl?"0px 8px 0 0":"0 8px",display:"flex",alignItems:"center",justifyContent:"center",gap:"4px",borderRadius:"24px",margin:"0"}),multiValueLabel:(e,{data:l})=>({...e,color:"var(--text-primary)",fontSize:"16px",lineHeight:"24px",padding:"0 !important"}),multiValueRemove:(e,{data:l})=>({...e,color:"var(--neutral-arch-600)",padding:"0",":hover":{backgroundColor:"transparent",color:"var(--neutral-arch-600)"},svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),clearIndicator:e=>({...e,svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),menu:e=>({...e,pointerEvents:"auto",zIndex:9999}),menuPortal:e=>({...e,zIndex:9999})},L3=e=>({control:(l,{isDisabled:c,isFocused:n})=>({...l,backgroundColor:c?"var(--disabled-50)":"transparent",color:"var(--text-primary)",border:"1px solid var(--neutral-arch-300)",borderColor:e?"var(--status-error) !important":n?"var(--theme-blue) !important":"var(--neutral-arch-300) !important",fontSize:"16px",boxShadow:"none",transition:"all 0.3s ease-in-out",":hover":{borderColor:e?"var(--status-error) !important":"var(--theme-blue) !important"},":focus-within":{boxShadow:e?"var(--status-error) !important":"var(--theme-blue) !important"},cursor:n?void 0:"pointer"})}),k3=e=>a.jsxs(B0.components.Option,{...e,className:p({[b0.subLabelContainer]:e.data.subLabel},b0.optionContainer),children:[a.jsxs("div",{className:p(b0.label),children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("span",{children:e.data.label})]}),e.data.subLabel&&a.jsx("div",{className:p(b0.subLabel),children:e.data.subLabel})]}),R3=e=>a.jsx(B0.components.MultiValueLabel,{...e,children:a.jsxs("div",{className:b0.multiLabelContainer,children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("div",{className:p(b0.label),children:a.jsx("span",{children:e.data.label})})]})}),G3=e=>a.jsx(B0.components.MultiValueRemove,{...e,children:a.jsx(V,{path:X0,spanClassName:b0.closeSpan})}),H3=e=>a.jsx(B0.components.ClearIndicator,{...e,children:a.jsx(V,{path:X0,spanClassName:b0.closeSpan})}),D3=e=>a.jsx(B0.components.DropdownIndicator,{...e,children:a.jsx(V,{path:N2,spanClassName:b0.downArrowSpan})}),F3=e=>a.jsx(B0.components.SingleValue,{...e,children:a.jsxs("div",{className:b0.singleValueContainer,children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("div",{className:p(b0.label),children:a.jsx("span",{children:e.data.label})})]})});function re({options:e,onChange:l,name:c,id:n,className:t,placeholder:o,selectStyles:s,defaultValue:r,formatGroupLabel:i,customContainerStyles:u,customErrorStyles:m,menuPlacement:d,errorMsg:h,extraprops:v,isDisabled:x=!1,isSearchable:f=!0,isMulti:b=!1,isClearable:I=!1,customValue:g,CustomDropdownIndicator:_}){return a.jsxs("div",{onClick:y=>y.stopPropagation(),style:u,className:b0.selectContainer,children:[a.jsx(B0,{value:g,isMulti:b,placeholder:o,defaultValue:r,options:e,maxMenuHeight:170,isClearable:I,name:c,id:n,className:p(t),isSearchable:f,styles:{...V3,...L3(h),...s},components:{Option:k3,MultiValueLabel:R3,MultiValueRemove:G3,DropdownIndicator:_||D3,ClearIndicator:H3,SingleValue:F3},isDisabled:x,onChange:(y,N)=>{l(b?y.map(S=>S.value):(y==null?void 0:y.value)??"",N)},formatGroupLabel:i,menuPlacement:d,menuPosition:"fixed",...v}),h&&a.jsx("p",{className:b0.errorMsg,style:m,children:h})]})}function W(){return W=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var n in c)({}).hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e},W.apply(null,arguments)}function j2(e){"@babel/helpers - typeof";return j2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},j2(e)}function ue(e,l){if(j2(e)!="object"||!e)return e;var c=e[Symbol.toPrimitive];if(c!==void 0){var n=c.call(e,l);if(j2(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(e)}function u5(e){var l=ue(e,"string");return j2(l)=="symbol"?l:l+""}function O2(e,l,c){return(l=u5(l))in e?Object.defineProperty(e,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[l]=c,e}function d5(e,l){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),c.push.apply(c,n)}return c}function T(e){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?d5(Object(c),!0).forEach(function(n){O2(e,n,c[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):d5(Object(c)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(c,n))})}return e}function de(e,l){if(!(e instanceof l))throw new TypeError("Cannot call a class as a function")}function m5(e,l){for(var c=0;c<l.length;c++){var n=l[c];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u5(n.key),n)}}function me(e,l,c){return l&&m5(e.prototype,l),c&&m5(e,c),Object.defineProperty(e,"prototype",{writable:!1}),e}function P3(e,l){return P3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,n){return c.__proto__=n,c},P3(e,l)}function he(e,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(l&&l.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),l&&P3(e,l)}function P1(e){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},P1(e)}function h5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h5=function(){return!!e})()}function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,l){if(l&&(j2(l)=="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ve(e)}function ge(e){var l=h5();return function(){var c,n=P1(e);if(l){var t=P1(this).constructor;c=Reflect.construct(n,arguments,t)}else c=n.apply(this,arguments);return pe(this,c)}}function T3(e,l){(l==null||l>e.length)&&(l=e.length);for(var c=0,n=Array(l);c<l;c++)n[c]=e[c];return n}function qe(e){if(Array.isArray(e))return T3(e)}function fe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function v5(e,l){if(e){if(typeof e=="string")return T3(e,l);var c={}.toString.call(e).slice(8,-1);return c==="Object"&&e.constructor&&(c=e.constructor.name),c==="Map"||c==="Set"?Array.from(e):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?T3(e,l):void 0}}function be(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
22
+ <%s key={someKey} {...props} />`,Q,l0,h0,l0),S0[l0+Q]=!0)}if(l0=null,O!==void 0&&(c(O),l0=""+O),s(F)&&(c(F.key),l0=""+F.key),"key"in F){O={};for(var c2 in F)c2!=="key"&&(O[c2]=F[c2])}else O=F;return l0&&r(O,typeof z=="function"?z.displayName||z.name||"Unknown":z),u(z,l0,i0,c0,t(),O,f0,w0)}function d(z){typeof z=="object"&&z!==null&&z.$$typeof===v&&z._store&&(z._store.validated=1)}var h=E,v=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),_=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),J=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,k=Array.isArray,w=console.createTask?console.createTask:function(){return null};h={"react-stack-bottom-frame":function(z){return z()}};var G,D={},n0=h["react-stack-bottom-frame"].bind(h,o)(),U=w(n(o)),S0={};c1.Fragment=f,c1.jsx=function(z,F,O,Q,c0){var i0=1e4>J.recentlyCreatedOwnerStacks++;return m(z,F,O,!1,Q,c0,i0?Error("react-stack-top-frame"):n0,i0?w(n(z)):U)},c1.jsxs=function(z,F,O,Q,c0){var i0=1e4>J.recentlyCreatedOwnerStacks++;return m(z,F,O,!0,Q,c0,i0?Error("react-stack-top-frame"):n0,i0?w(n(z)):U)}}()),c1}var X4;function k7(){return X4||(X4=1,process.env.NODE_ENV==="production"?B1.exports=V7():B1.exports=L7()),B1.exports}var a=k7();const z0={iconSpan:"_iconSpan_1mcv8_1",icon:"_icon_1mcv8_1",closeIconSpan:"_closeIconSpan_1mcv8_14",closeIcon:"_closeIcon_1mcv8_14",closeToastBtn:"_closeToastBtn_1mcv8_28",toastMessageBox:"_toastMessageBox_1mcv8_34",toastMessage:"_toastMessage_1mcv8_34",toastInfo:"_toastInfo_1mcv8_45"},R7="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208c0%204.42%203.58%208%208%208s8-3.58%208-8-3.58-8-8-8-8%203.58-8%208m11.29-2.71a1.003%201.003%200%200%201%201.42%201.42l-5%205c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-3-3a1.003%201.003%200%200%201%201.42-1.42L7%209.59z'%20fill='%2336B37E'/%3e%3c/svg%3e",W4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20.005A7.993%207.993%200%200%200%20.005%208%207.993%207.993%200%200%200%208%2015.995%207.993%207.993%200%200%200%2015.995%208%207.993%207.993%200%200%200%208%20.005M7%2012.997v-1.999h2v1.999zm0-9.994V10h2V3.003z'%20fill='%23E74C3C'/%3e%3c/svg%3e",$4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m15.845%2013.5.01-.01-6.996-12-.01.01A.97.97%200%200%200%208%201c-.37%200-.67.2-.85.5l-.01-.01-6.995%2012%20.01.01c-.09.15-.15.31-.15.5%200%20.55.45%201%201%201h13.99c.55%200%201-.45%201-1%200-.19-.06-.35-.15-.5M9%2012.99H7.001v-2h1.998zm-1.998-3H9v-5H7.001z'%20fill='%23F39C12'/%3e%3c/svg%3e",G7="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58%200%200%203.58%200%208s3.58%208%208%208%208-3.58%208-8-3.58-8-8-8m1%203v2H7V3zm-3%209v1h4v-1H9V6H6v1h1v5z'%20fill='%23254DDA'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e";function V({path:e,width:l,height:c,spanClassName:n="",svgClassName:t="",customSpanStyles:o={},customSvgStyles:s={},handleClick:r}){return a.jsx("span",{className:`${n}`,style:{...o},onClick:r,children:a.jsx(f7,{src:e,className:t,style:{...s},onError:i=>console.log(i.message),width:l,height:c})})}const V1={position:"top-right",autoClose:1800,hideProgressBar:!0};function L1({msg:e,info:l}){return a.jsxs("div",{className:p(z0.toastMessageBox),children:[a.jsx("h4",{className:p(z0.toastMessage,"zap-content-medium"),children:e}),a.jsx("p",{className:p(z0.toastInfo,"zap-content-regular"),children:l})]})}const Y4=({msg:e,info:l,options:c})=>y1.toast.success(a.jsx(L1,{msg:e,info:l,type:"success"}),{...V1,icon:a.jsx(V,{path:R7,svgClassName:p(z0.icon,z0.success),spanClassName:z0.iconSpan}),...c}),H7=({msg:e,info:l,options:c})=>y1.toast.error(a.jsx(L1,{msg:e,info:l,type:"error"}),{...V1,icon:a.jsx(V,{path:W4,svgClassName:p(z0.icon,z0.error),spanClassName:z0.iconSpan}),...c}),D7=({msg:e,info:l,options:c})=>y1.toast.info(a.jsx(L1,{msg:e,info:l,type:"info"}),{...V1,icon:a.jsx(V,{path:G7,svgClassName:p(z0.icon,z0.info),spanClassName:z0.iconSpan}),...c}),F7=({msg:e,info:l,options:c})=>y1.toast.warning(a.jsx(L1,{msg:e,info:l,type:"warning"}),{...V1,icon:a.jsx(V,{path:$4,svgClassName:p(z0.icon,z0.warning),spanClassName:z0.iconSpan}),...c});function P7({closeToast:e}){return a.jsx("button",{className:z0.closeToastBtn,onClick:e,children:a.jsx(V,{path:X0,svgClassName:z0.closeIcon,spanClassName:z0.closeIconSpan})})}const C3=(e,l,c)=>e===1||e===0||e===void 0||e===null?l:c,J4=(e,l)=>l&&e.length>l?`${e.substring(0,l)}...`:e,I3=e=>e.split(" ").filter(Boolean).slice(0,2).reduce((c,n)=>c+(n[0]||"").toUpperCase(),""),x3=e=>{if(!e||!e.first_name)return"-";let l=e.first_name;return e.middle_name&&(l+=` ${e.middle_name}`),e.last_name&&(l+=` ${e.last_name}`),l},_3=async(e,l=!0)=>{e&&(await navigator.clipboard.writeText(e).catch(console.error),l&&Y4({msg:`Successfully copied ${e}`,options:{toastId:e,autoClose:3e3}}))},z3=["Backspace","Tab","ArrowLeft","ArrowRight","Delete","Enter","Control","Meta"],T7=0,O7=25;var y3=(e=>(e.SEARCH="search",e.SORT_BY="sort_by",e.SORT_ORDER="sort_order",e.INITIAL_FILTER="initial_filter",e.FILTER="filter",e.RESET_FILTERS="reset_filters",e.RESET_ALL="reset_all",e.SELECTOR_FILTER="selector_filter",e.PAGE="page",e.LIMIT="limit",e.SET_DURATION="set_duration",e))(y3||{});const U4=(e,l=[])=>{const c={};return e&&Object.keys(e).forEach(n=>{e[n]&&!l.includes(n)&&(c[n]=e[n])}),c},Q4=e=>{if(e.sort_by)switch(e.sort_order){case"asc":return`+${e.sort_by}`;case"desc":return`-${e.sort_by}`;default:return`${e.sort_by}`}},Z7=e=>{const l={page:e.page,limit:e.limit};return e.search&&(l.search=e.search),e.sort_by&&(l.sort_by=Q4({sort_by:e.sort_by,sort_order:e.sort_order})),e.filters&&Object.assign(l,U4(e.filters)),Object.keys(l).forEach(c=>{l[c]===void 0&&delete l[c]}),l},X7=(e,{payload:l,type:c},n)=>{switch(c){case"search":return{...e,search:l,page:0};case"sort_by":return{...e,sort_by:l,page:0};case"sort_order":return{...e,sort_order:l};case"initial_filter":return{...e,filters:l};case"filter":{const{value:t,filterType:o}=l;return{...e,page:0,filters:{...e.filters,[o]:t}}}case"reset_all":return n;case"reset_filters":return{...e,filters:n.filters};case"page":return{...e,page:l};case"limit":return{...e,limit:l,page:0};case"set_duration":return{...e,filters:{...e.filters,filter_date_range:l}};case"selector_filter":return{...e,filters:{...e.filters,filter_status:l}};default:throw new Error(`Unhandled action type: ${c}`)}},W7=e=>G2.create(l=>({query:e,dispatch:c=>l(n=>({query:X7(n.query,c,e)}))})),K4={team:{employeeDirectory:{list:{label:"People",value:"team_list"},hiringTemplate:{label:"Hiring Templates",value:"team_hiring_template"},profileSoftwares:{label:"Profile Softwares",value:"team_profile_softwares"}}},zenIT:{inventory:{list:{label:"Inventory List",value:"inventory_list"},archive:{label:"Inventory Archive List",value:"inventory_archive_list"},allocationHistory:{label:"Inventory Allocation History",value:"inventory_allocation_history"}},software:{list:{label:"Software List",value:"software_list"},users:{label:"Software Users",value:"software_users"},detailsUsers:{label:"Software Details Users",value:"software_details_users"}},mdm:{devices:{label:"MDM Devices",value:"mdm_devices"},users:{label:"MDM Users",value:"mdm_users"}},webstore:{quotation:{label:"Quotation List",value:"quotation_list"}}},zenCore:{workflow:{list:{label:"Workflow List",value:"workflow_list"},history:{label:"Workflow History",value:"workflow_history"},forms:{label:"Workflow Forms",value:"workflow_forms"}}},zenPerformance:{goal:{list:{label:"Goal List",value:"goal_list"},departmentList:{label:"Department Goals",value:"departments_goal_list"}}},zenHR:{attendance:{timesheetList:{label:"Attendance Timesheets",value:"attendance_timesheets_list"},policyList:{label:"Attendance Policy List",value:"attendance_policy_list"}},leave:{policies:{label:"Leave Policies",value:"leave_policies"},publicHolidays:{label:"Leave Public Holidays",value:"leave_public_holidays"}}}},$7=e=>{for(const l of Object.values(K4))for(const c of Object.values(l))for(const n of Object.values(c))if(n.value===e)return n};function A3(e){return q.useMemo(()=>R4(e),[e])}function e5(e=-3,l,c){const n=l?new Date(l):null,t=n&&!isNaN(n.getTime())?n:_0.addMonths(new Date,e),o=c?new Date(c):null,s=o&&!isNaN(o.getTime())?o:new Date,[r,i]=q.useState({from:t,to:s}),u=r.from?_0.format(r.from,"yyyy-MM-dd"):"",m=r.to?_0.format(r.to,"yyyy-MM-dd"):"",d=q.useCallback(h=>{i({from:h==null?void 0:h.from,to:h==null?void 0:h.to})},[]);return{from:u,to:m,handleDateChange:d,period:r}}function l5(e,l=150){const[c,n]=q.useState(e);return q.useEffect(()=>{const t=setTimeout(()=>{n(e)},l);return()=>{clearTimeout(t)}},[e,l]),c}const w3=()=>{const[e,l]=q.useState(!1);return{isOpen:e,onOpen:()=>{l(!0)},onClose:()=>{l(!1)}}},a5=e=>{q.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e])},t5=e=>typeof window<"u"?window.matchMedia(e).matches:!1;function n5(e){const[l,c]=E.useState(t5(e));return E.useEffect(()=>{function n(){c(t5(e))}const t=window.matchMedia(e);return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e]),l}const s2={container:"_container_1htmo_1",containerRow:"_containerRow_1htmo_11",title:"_title_1htmo_16",textRow:"_textRow_1htmo_27",desc:"_desc_1htmo_31",info:"_info_1htmo_45",iconBox:"_iconBox_1htmo_49",icon:"_icon_1htmo_49"},o1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.1296%205.5226C13.4012%205.79427%2013.4012%206.23473%2013.1296%206.5064L8.49188%2011.1441C8.22021%2011.4158%207.77975%2011.4158%207.50808%2011.1441L2.8704%206.5064C2.59873%206.23473%202.59873%205.79427%202.8704%205.5226C3.14207%205.25093%203.58253%205.25093%203.8542%205.5226L7.99998%209.66838L12.1458%205.5226C12.4174%205.25093%2012.8579%205.25093%2013.1296%205.5226Z'%20fill='currentColor'/%3e%3c/svg%3e",Y7="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.66667%207.99996C6.66667%207.26358%207.25967%206.66663%207.99117%206.66663H8.00883C8.74033%206.66663%209.33333%207.26358%209.33333%207.99996C9.33333%208.73634%208.74033%209.33329%208.00883%209.33329H7.99117C7.25967%209.33329%206.66667%208.73634%206.66667%207.99996Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66667%207.99996C2.66667%207.26358%203.25967%206.66663%203.99117%206.66663H4.00883C4.74033%206.66663%205.33333%207.26358%205.33333%207.99996C5.33333%208.73634%204.74033%209.33329%204.00883%209.33329H3.99117C3.25967%209.33329%202.66667%208.73634%202.66667%207.99996Z'%20fill='currentColor'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.6667%207.99996C10.6667%207.26358%2011.2597%206.66663%2011.9912%206.66663H12.0088C12.7403%206.66663%2013.3333%207.26358%2013.3333%207.99996C13.3333%208.73634%2012.7403%209.33329%2012.0088%209.33329H11.9912C11.2597%209.33329%2010.6667%208.73634%2010.6667%207.99996Z'%20fill='currentColor'/%3e%3c/svg%3e",P={btn:"_btn_7av70_2",disabled:"_disabled_7av70_23",btnSmall:"_btnSmall_7av70_31",btnDefault:"_btnDefault_7av70_39",btnPrimary:"_btnPrimary_7av70_48",btnSecondary:"_btnSecondary_7av70_62",btnTertiary:"_btnTertiary_7av70_79",btnLink:"_btnLink_7av70_97",iconOnlySmall:"_iconOnlySmall_7av70_131",iconOnlyDefault:"_iconOnlyDefault_7av70_136",menus:"_menus_7av70_144",menu:"_menu_7av70_144",divider:"_divider_7av70_168",menuDisabled:"_menuDisabled_7av70_177",btnGrp:"_btnGrp_7av70_186",menuIcon:"_menuIcon_7av70_223",moreMenuIconTable:"_moreMenuIconTable_7av70_252",btnGrpLeft:"_btnGrpLeft_7av70_263",btnGrpRight:"_btnGrpRight_7av70_280",chevronDownSpan:"_chevronDownSpan_7av70_285",chevronDown:"_chevronDown_7av70_285",groupActionTable:"_groupActionTable_7av70_298"},c5=e=>{e.setOpen(!1)};var $=(e=>(e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.GHOST="tertiary",e.DANGER="primary",e.LINK="link",e.MINIMAL="tertiary",e))($||{}),a0=(e=>(e.SMALL="small",e.DEFAULT="default",e))(a0||{}),N0=(e=>(e.BASIC="basic",e.ICON_LEFT="iconLeft",e.ICON_RIGHT="iconRight",e.ICON_ONLY="iconOnly",e.BUTTON="button",e.RESET="reset",e))(N0||{});function t0({children:e,variant:l=$.PRIMARY,disabled:c=!1,onClick:n,type:t=N0.BASIC,size:o=a0.DEFAULT,customStyles:s={},className:r,icon:i,btnType:u,zapTriggerProps:m={}}){return a.jsxs("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,t===N0.ICON_ONLY&&o===a0.DEFAULT&&P.iconOnlyDefault,t===N0.ICON_ONLY&&o===a0.SMALL&&P.iconOnlySmall,c&&P.disabled,r),disabled:c,onClick:n,style:s,type:u,...m,children:[t===N0.ICON_LEFT&&i,t===N0.ICON_ONLY?i:e,t===N0.ICON_RIGHT&&i]})}const o5=q.forwardRef(function({children:e,variant:l=$.PRIMARY,disabled:c=!1,menuItems:n,customData:t,size:o=a0.DEFAULT,positionerProps:s,isTable:r=!1,isCustomTrigger:i=!1,customStyles:u,isSingleBtnTrigger:m=!1,hideDivider:d=!1,onClick:h},v){const x=X.useMachine(g2.machine,{id:q.useId(),positioning:{placement:(s==null?void 0:s.placement)||"bottom-end"}}),f=g2.connect(x,X.normalizeProps),b=u==null?void 0:u.customMenuStyles,I=u==null?void 0:u.customButtonStyles;q.useImperativeHandle(v,()=>({blur(){f.setOpen(!1)}}),[f]),q.useEffect(()=>{if(r){const _=document.getElementById("zap-table-scroll-container");if(_)return _.addEventListener("scroll",()=>c5(f),{passive:!0}),()=>_.removeEventListener("scroll",()=>c5(f))}},[f]);const g=a.jsx(a.Fragment,{children:n.length>0&&a.jsx("div",{...f.getPositionerProps(),children:a.jsx("div",{...f.getContentProps(),className:P.menus,style:b,children:n.filter(_=>_.filterFn?_.filterFn(t):!0).map(_=>a.jsxs("div",{className:p(P.menu,!d&&P.divider,{[P.menuDisabled]:_.disabled}),...f.getItemProps({value:_.label.toLowerCase()}),onClick:_.disabled?void 0:i?()=>_.onClick(t):_.onClick,style:_.customStyles,children:[_.iconSrc&&a.jsx(V,{path:_.iconSrc,svgClassName:p(P.menuIcon,_.customSvgClassName)}),_.label]},_.label))})})});return a.jsxs(a.Fragment,{children:[m?a.jsxs("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled),disabled:c,...f.getTriggerProps(),children:[e,a.jsx(V,{path:o1,svgClassName:P.chevronDown,spanClassName:P.chevronDownSpan})]}):i?a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,o===a0.DEFAULT&&P.iconOnlyDefault,o===a0.SMALL&&P.iconOnlySmall,r&&P.groupActionTable),style:I,...f.getTriggerProps(),children:e}):a.jsxs("div",{className:P.btnGrp,children:[a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,P.btnGrpLeft),disabled:c,onClick:h,style:I,children:e}),a.jsx("button",{className:p(P.btn,l===$.PRIMARY&&P.btnPrimary,l===$.SECONDARY&&P.btnSecondary,l===$.TERTIARY&&P.btnTertiary,l===$.LINK&&P.btnLink,o===a0.DEFAULT&&P.btnDefault,o===a0.SMALL&&P.btnSmall,c&&P.disabled,P.btnGrpRight),disabled:c,...f.getTriggerProps(),children:a.jsx(V,{path:o1,svgClassName:P.chevronDown,spanClassName:P.chevronDownSpan})})]}),r?a.jsx(X.Portal,{children:g}):g]})}),s5=q.forwardRef(function({variant:e,disabled:l,menuItems:c,customData:n,size:t,positionerProps:o,isTable:s,children:r,hideDivider:i,customStyles:u},m){return a.jsx(o5,{variant:e,disabled:l,menuItems:c,customData:n,size:t,positionerProps:o,isTable:s,isCustomTrigger:!0,hideDivider:i,customStyles:u,ref:m,children:r||a.jsx(V,{path:Y7,width:16,height:16,svgClassName:s?P.moreMenuIconTable:void 0})})});t0.GroupAction=o5,t0.ActionsDropdown=s5;function J7({icon:e,title:l,desc:c,flexDir:n="column",btnText:t,onClick:o,customSvgClassName:s}){return a.jsxs("div",{className:p(s2.container,n==="row"&&s2.containerRow),children:[a.jsx("div",{className:s2.iconBox,children:a.jsx(V,{path:e,svgClassName:p(s2.icon,s||void 0)})}),a.jsxs("div",{className:s2.info,children:[a.jsx("h6",{className:p(s2.title,n==="row"&&s2.textRow),children:l}),c&&a.jsx("p",{className:p(s2.desc,n==="row"&&s2.textRow),children:c})]}),t&&a.jsx(t0,{onClick:o,variant:$.GHOST,children:t})]})}const i5="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5M3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011'%20fill='%23070F2C'/%3e%3c/svg%3e",w2={box:"_box_1cmss_1",search:"_search_1cmss_5",searchDisabled:"_searchDisabled_1cmss_21",searchIcon:"_searchIcon_1cmss_38",clearIcon:"_clearIcon_1cmss_39"};function F2({id:e,search:l,setSearch:c,placeholder:n="Search",clearIconClearFn:t,customStyles:o,disabled:s=!1}){const r=typeof c=="function"&&typeof l=="string",i=o==null?void 0:o.customInputStyles,u=o==null?void 0:o.customIconStyles;return a.jsxs("div",{className:w2.box,children:[r?a.jsx("input",{id:e,type:"text",className:p(w2.search,s&&w2.searchDisabled,"zap-content-medium"),placeholder:n,value:l,onChange:m=>{c(m.target.value)},style:i,disabled:s}):a.jsx("input",{id:e,type:"text",className:p(w2.search,s&&w2.searchDisabled,"zap-content-medium"),placeholder:n,style:i,disabled:s}),a.jsx("span",{children:a.jsx("img",{src:i5,alt:"search",className:w2.searchIcon,style:u})}),r&&l.length!==0&&a.jsx("span",{onClick:()=>{typeof t=="function"&&t(),c("")},children:a.jsx("img",{src:X0,alt:"Clear Search",className:w2.clearIcon,style:u})})]})}const y0={backdropLayer:"_backdropLayer_5ongu_1",show:"_show_5ongu_12",backdrop:"_backdrop_5ongu_1",showBackdrop:"_showBackdrop_5ongu_24",container:"_container_5ongu_28",rightAlign:"_rightAlign_5ongu_40",leftAlign:"_leftAlign_5ongu_44",sm:"_sm_5ongu_48",md:"_md_5ongu_52",lg:"_lg_5ongu_56",xlg:"_xlg_5ongu_60",xxlg:"_xxlg_5ongu_64",content:"_content_5ongu_68",headerContainer:"_headerContainer_5ongu_74",showBorder:"_showBorder_5ongu_82",title:"_title_5ongu_86",subTitle:"_subTitle_5ongu_94",closeBtnIcon:"_closeBtnIcon_5ongu_103",descriptionContainer:"_descriptionContainer_5ongu_113",fullHeight:"_fullHeight_5ongu_119",footer:"_footer_5ongu_124",footerBtnContainer:"_footerBtnContainer_5ongu_140",footerBtn:"_footerBtn_5ongu_140",saveBtn:"_saveBtn_5ongu_154",cancelBtn:"_cancelBtn_5ongu_155"};function U7({isOpen:e,onClose:l,children:c,title:n,subTitle:t,customHeader:o,customFooter:s,size:r="md",showBackdrop:i=!0,showHeader:u=!0,showFooter:m=!0,buttons:d,footerAddon:h,headerClassName:v,contentClassName:x,footerClassName:f,showHeaderBorder:b=!1,drawerPosition:I="right",customContainerStyles:g}){const _=q.useRef(null),y=q.useRef(null),N=q.useRef(null),S=I==="left"?"-100%":"100%",M=!u&&!m;return q.useEffect(()=>{const A=setTimeout(()=>{if(_.current&&y.current&&N.current){const H=e?"translateX(0)":`translateX(${S})`,j=`calc(100dvh - (1.75rem * 2) - ${N.current.clientHeight}px)`;_.current.style.transform=H,y.current.style.maxHeight=j,y.current.style.height=j}},0);return()=>{clearTimeout(A)}},[e]),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:p(y0.backdropLayer,e&&y0.show),onClick:l,children:i&&a.jsx("div",{className:p(y0.backdrop,e&&y0.showBackdrop)})}),a.jsx("div",{className:p(y0.container,y0[r],y0[`${I}Align`]),ref:_,style:g,children:a.jsxs("div",{className:y0.content,children:[u&&a.jsx("div",{className:p(y0.headerContainer,{[y0.showBorder]:b},v),children:o||a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"titleBox",children:[a.jsx("h1",{className:y0.title,children:n}),t&&a.jsx("h2",{className:y0.subTitle,children:t})]}),a.jsx("div",{onClick:l,children:a.jsx(V,{path:X0,svgClassName:y0.closeBtnIcon})})]})}),a.jsx("div",{className:p(y0.descriptionContainer,{[y0.fullHeight]:M},x),ref:y,children:c}),m&&a.jsx("div",{className:p(y0.footer,f),ref:N,children:s||d&&a.jsxs("div",{className:y0.footerBtnContainer,children:[a.jsx("div",{className:y0.footerBtn,children:d.map((A,H)=>a.jsx(t0,{disabled:A==null?void 0:A.disabled,variant:A==null?void 0:A.variant,onClick:A.onClick?A.onClick:void 0,type:A.btnType===N0.ICON_LEFT||A.btnType===N0.ICON_RIGHT?N0.BASIC:A==null?void 0:A.btnType,children:A.btnText},H))}),h&&a.jsx("div",{children:h})]})})]})})]})}const g0={inputContainer:"_inputContainer_ckvnt_1",adapt:"_adapt_ckvnt_5",sm:"_sm_ckvnt_9",md:"_md_ckvnt_13",inputLabelContainer:"_inputLabelContainer_ckvnt_17",inputLabel:"_inputLabel_ckvnt_17",infoCircleSvg:"_infoCircleSvg_ckvnt_36",required:"_required_ckvnt_41",inputGroup:"_inputGroup_ckvnt_47",inputWrapper:"_inputWrapper_ckvnt_53",input:"_input_ckvnt_1",textarea:"_textarea_ckvnt_59",error:"_error_ckvnt_89",errorMsg:"_errorMsg_ckvnt_106",inputElement:"_inputElement_ckvnt_115",left:"_left_ckvnt_126",right:"_right_ckvnt_130",inputAddon:"_inputAddon_ckvnt_134",dropdownContainer:"_dropdownContainer_ckvnt_163",searchContainer:"_searchContainer_ckvnt_178",dropdownOption:"_dropdownOption_ckvnt_186",disabled:"_disabled_ckvnt_205"};var q0=(e=>(e.INPUT_ADDON="InputAddon",e.INPUT_LEFT_ADDON="InputLeftAddon",e.INPUT_RIGHT_ADDON="InputRightAddon",e.INPUT_ELEMENT="InputElement",e.INPUT_LEFT_ELEMENT="InputLeftElement",e.INPUT_RIGHT_ELEMENT="InputRightElement",e.INPUT_CONTAINER="InputContainer",e.INPUT_LABEL="InputLabel",e.INPUT_GROUP="InputGroup",e.INPUT="Input",e))(q0||{});function N3({customClasses:e,customStyles:l,name:c,id:n,value:t,onChange:o,restprops:s,cols:r,errorMsg:i,disabled:u=!1,rows:m=2,type:d="text",placeholder:h="Placeholder",onBlur:v}){const x=q.useRef(null);return a.jsxs("div",{className:g0.inputWrapper,children:[d==="textarea"?a.jsx("textarea",{rows:m,cols:r,style:l,className:p(g0.textarea,i&&g0.error,e),placeholder:h,name:c,id:n,value:t,onChange:o,disabled:u,onBlur:v,...s}):a.jsx("input",{ref:x,style:l,type:d,className:p(g0.input,i&&g0.error,e),placeholder:h,name:c,id:n,value:t,onChange:o,disabled:u,onClick:()=>{var f;return(f=x.current)==null?void 0:f.showPicker()},onBlur:v,...s}),i&&a.jsx("p",{className:g0.errorMsg,children:i})]})}N3.displayName=q0.INPUT,N3.id=q0.INPUT;const N2="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.694%208.284a1.043%201.043%200%200%201%200%201.476l-6.956%206.956a1.044%201.044%200%200%201-1.476%200L4.306%209.76A1.043%201.043%200%201%201%205.78%208.284L12%2014.503l6.219-6.22a1.043%201.043%200%200%201%201.475%200'%20fill='%23070F2C'/%3e%3c/svg%3e";function k1({children:e,placement:l="left",isDropdown:c=!1,dropdownOptions:n,handleOptionClick:t=()=>{},showDropdownSearch:o=!0}){var I;const s=l==="left"?"left":"right",[r,i]=q.useState(!1),u=q.useRef(null),[m,d]=q.useState(""),[h,v]=q.useState(!0);q.useEffect(()=>(document.addEventListener("click",x),()=>{document.removeEventListener("click",x)}),[]);const x=g=>{var _;(_=u.current)!=null&&_.contains(g.target)||i(!1)},f=()=>{var g;if(r)i(!1),v(!0);else{i(!0);const _=(g=u.current)==null?void 0:g.getBoundingClientRect(),y=(_==null?void 0:_.right)+(_==null?void 0:_.width),N=window.innerWidth-100;y>N&&v(!1)}},b=g=>(g.label+" "+g.value).toLowerCase().includes(m.toLowerCase());return a.jsxs("div",{className:p(g0.inputAddon,g0[s]),onClick:()=>{c&&f()},ref:u,style:{cursor:c?"pointer":"inherit"},children:[e,c&&a.jsxs(a.Fragment,{children:[a.jsx(V,{path:N2,width:20,customSpanStyles:{width:"20px"}}),r&&a.jsxs("div",{className:g0.dropdownContainer,style:{left:h?"0":"inherit",right:h?"inherit":"0",paddingTop:o?"0":"12px"},children:[o&&a.jsx("div",{className:g0.searchContainer,onClick:g=>g.stopPropagation(),children:a.jsx(F2,{search:m,setSearch:d,id:"input-add-on-search"})}),(I=n==null?void 0:n.filter(b))==null?void 0:I.map(g=>a.jsx("div",{className:g0.dropdownOption,onClick:_=>{_.stopPropagation(),t(g),f()},children:g.label},g.value))]})]})]})}function j3({children:e,isDropdown:l=!1,dropdownOptions:c=[],handleOptionClick:n=()=>{},showDropdownSearch:t=!0}){return a.jsx(k1,{placement:"left",isDropdown:l,dropdownOptions:c,handleOptionClick:n,showDropdownSearch:t,children:e})}function M3({children:e,isDropdown:l=!1,dropdownOptions:c=[],handleOptionClick:n=()=>{},showDropdownSearch:t=!0}){return a.jsx(k1,{placement:"right",isDropdown:l,dropdownOptions:c,handleOptionClick:n,showDropdownSearch:t,children:e})}k1.displayName=q0.INPUT_ADDON,k1.id=q0.INPUT_ADDON,j3.displayName=q0.INPUT_LEFT_ADDON,j3.id=q0.INPUT_LEFT_ADDON,M3.displayName=q0.INPUT_RIGHT_ADDON,M3.id=q0.INPUT_RIGHT_ADDON;function R1({children:e,customClassName:l,customStyles:c,size:n="adapt"}){return a.jsx("div",{className:p(g0.inputContainer,g0[n],l),style:c,children:e})}R1.displayName=q0.INPUT_CONTAINER,R1.id=q0.INPUT_CONTAINER;function G1({children:e,placement:l="left"}){const c=l==="left"?"left":"right";return a.jsx("div",{className:p(g0.inputElement,g0[c]),children:e})}function E3({children:e}){return a.jsx(G1,{placement:"left",children:e})}function S3({children:e}){return a.jsx(G1,{placement:"right",children:e})}G1.displayName=q0.INPUT_ELEMENT,G1.id=q0.INPUT_ELEMENT,E3.displayName=q0.INPUT_LEFT_ELEMENT,E3.id=q0.INPUT_LEFT_ELEMENT,S3.displayName=q0.INPUT_RIGHT_ELEMENT,S3.id=q0.INPUT_RIGHT_ELEMENT;function B3({children:e}){const l={},c=q.Children.toArray(e);c.forEach(t=>{t.type.id==="InputLeftElement"&&(l.paddingInlineStart="36px"),t.type.id==="InputRightElement"&&(l.paddingInlineEnd="36px"),t.type.id==="InputLeftAddon"&&(l.borderTopLeftRadius=0,l.borderBottomLeftRadius=0),t.type.id==="InputRightAddon"&&(l.borderTopRightRadius=0,l.borderBottomRightRadius=0)});const n=c.map(t=>t.type.id!=="Input"?t:q.cloneElement(t,{...t.props,customStyles:{...l,...t.props.customStyles}}));return a.jsx("div",{className:g0.inputGroup,children:n})}B3.displayName=q0.INPUT_GROUP,B3.id=q0.INPUT_GROUP;const s1="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%203.125C6.20304%203.125%203.125%206.20304%203.125%2010C3.125%2013.797%206.20304%2016.875%2010%2016.875C13.797%2016.875%2016.875%2013.797%2016.875%2010C16.875%206.20304%2013.797%203.125%2010%203.125ZM1.875%2010C1.875%205.51269%205.51269%201.875%2010%201.875C14.4873%201.875%2018.125%205.51269%2018.125%2010C18.125%2014.4873%2014.4873%2018.125%2010%2018.125C5.51269%2018.125%201.875%2014.4873%201.875%2010Z'%20fill='%23616189'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2013.125C10.3452%2013.125%2010.625%2012.8452%2010.625%2012.5V10C10.625%209.65482%2010.3452%209.375%2010%209.375C9.65482%209.375%209.375%209.65482%209.375%2010V12.5C9.375%2012.8452%209.65482%2013.125%2010%2013.125Z'%20fill='%23616189'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%208.125C10.3452%208.125%2010.625%207.84518%2010.625%207.5V7.49992C10.625%207.15474%2010.3452%206.87492%2010%206.87492C9.65482%206.87492%209.375%207.15474%209.375%207.49992V7.5C9.375%207.84518%209.65482%208.125%2010%208.125Z'%20fill='%23616189'/%3e%3c/svg%3e",i1={trigger:"_trigger_1vdqd_1",content:"_content_1vdqd_7",arrow:"_arrow_1vdqd_18"};function Q7({children:e,api:l,customStyles:c={}}){return a.jsx("button",{...l.getTriggerProps(),type:"button",className:i1.trigger,style:{...c},children:e})}function K7({children:e,api:l,bg:c="black",positionerStyles:n={},containerStyles:t={}}){var r,i;const o=!["black","gray"].includes(c),s={...l==null?void 0:l.getArrowProps(),...o&&{style:{...(r=l==null?void 0:l.arrowProps)==null?void 0:r.style,"--arrow-background":c}}};return a.jsx(a.Fragment,{children:l.open&&a.jsxs("div",{...l.getPositionerProps(),style:{...(i=l==null?void 0:l.getPositionerProps())==null?void 0:i.style,...n},children:[a.jsx("div",{...s,className:p(i1.arrow,{[i1[c]]:!o}),children:a.jsx("div",{...l.getArrowTipProps()})}),a.jsx("div",{...l.getContentProps(),className:p(i1.content,i1[c]),style:{background:o?c:"",...t},children:e})]})})}function P2({children:e,openDelay:l=0,closeDelay:c=0,placement:n="top"}){const t=X.useMachine(j1.machine,{id:q.useId(),openDelay:l,closeDelay:c,positioning:{placement:n,gutter:3}}),o=j1.connect(t,X.normalizeProps),s=q.Children.toArray(e).map(r=>q.cloneElement(r,{...r.props??{},api:o}));return a.jsx(a.Fragment,{children:s})}P2.Trigger=Q7,P2.Content=K7;function r1({children:e,customClasses:l,customStyles:c,required:n=!1,htmlFor:t,restprops:o={},infoText:s,infoTextTooltipStyles:r={},isDisabled:i=!1}){return a.jsxs("div",{className:g0.inputLabelContainer,children:[a.jsx("label",{htmlFor:t,className:p(g0.inputLabel,l,n&&g0.required,i&&g0.disabled),style:c,...o,children:a.jsx("span",{children:e})}),s&&a.jsxs(P2,{children:[a.jsx(P2.Trigger,{children:a.jsx(V,{path:s1,svgClassName:g0.infoCircleSvg})}),a.jsx(P2.Content,{positionerStyles:r,children:s})]})]})}r1.displayName=q0.INPUT_LABEL,r1.id=q0.INPUT_LABEL;const P0={backdrop:"_backdrop_7yg3k_1",container:"_container_7yg3k_16",contentWrapper:"_contentWrapper_7yg3k_30",sm:"_sm_7yg3k_39",md:"_md_7yg3k_43",fullScreen:"_fullScreen_7yg3k_47",content:"_content_7yg3k_30",header:"_header_7yg3k_58",showBorder:"_showBorder_7yg3k_75",closeIconSpan:"_closeIconSpan_7yg3k_79",closeIcon:"_closeIcon_7yg3k_79",body:"_body_7yg3k_93",footer:"_footer_7yg3k_103",btnsContainer:"_btnsContainer_7yg3k_119",buttonLabel:"_buttonLabel_7yg3k_127"};function r5({api:e}){return a.jsx("div",{...e==null?void 0:e.getBackdropProps(),className:P0.backdrop})}function ee({isOpen:e,onClose:l,children:c,size:n="md",showOverlay:t=!0,machineProps:o={}}){const s=q.useCallback(m=>{m||l()},[l]),r=X.useMachine(M1.machine,{id:q.useId(),open:e,onOpenChange:m=>s(m.open),...o}),i=M1.connect(r,X.normalizeProps),u=q.Children.toArray(c).map(m=>q.cloneElement(m,{...m.props,api:i,size:n}));return a.jsxs(X.Portal,{children:[t&&a.jsx(r5,{api:i}),u]})}function le({children:e,api:l,customStyles:c={}}){return a.jsx("div",{...l.getDescriptionProps(),className:P0.body,style:c,children:e})}function ae({children:e,api:l,size:c="md"}){const n=q.Children.toArray(e).map(t=>q.cloneElement(t,{...t.props,api:l}));return a.jsx("div",{...l==null?void 0:l.containerProps,className:P0.container,children:a.jsx("div",{className:p(P0.contentWrapper,P0[c]),children:a.jsx("div",{...l==null?void 0:l.getContentProps(),className:P0.content,children:n})})})}function te({children:e,api:l,buttons:c,showBorder:n=!0}){return a.jsx("div",{className:p(P0.footer,{[P0.showBorder]:n}),children:e||a.jsx("div",{className:P0.btnsContainer,children:c.map((t,o)=>a.jsx(t0,{disabled:t.disabled,variant:t.variant,onClick:async()=>{await t.onClick(),l==null||l.setOpen(!1)},size:t.btnSize,children:t.isLoading?t.loadingText:a.jsxs("div",{className:P0.buttonLabel,children:[t.icon&&a.jsx("div",{children:a.jsx(V,{path:t.icon,customSvgStyles:{fill:"white",width:"20px",height:"20px"}})}),a.jsx("div",{children:t.btnText})]})},o))})})}function ne({children:e,api:l,showCrossBtn:c=!0,showBorder:n=!0}){return a.jsxs("div",{...l==null?void 0:l.getTitleProps(),className:p(P0.header,{[P0.showBorder]:n}),children:[a.jsx("div",{children:e}),c&&a.jsx("button",{...l.getCloseTriggerProps(),type:"button",onClick:()=>l==null?void 0:l.setOpen(!1),className:"zap-reset-btn",children:a.jsx(V,{path:X0,svgClassName:P0.closeIcon,spanClassName:P0.closeIconSpan})})]})}const q2={backdrop:"_backdrop_1q4yj_1",positioner:"_positioner_1q4yj_8",modal:"_modal_1q4yj_19",header:"_header_1q4yj_31",icon:"_icon_1q4yj_41",content:"_content_1q4yj_55",hideScrollbar:"_hideScrollbar_1q4yj_60",footer:"_footer_1q4yj_70"};function ce({isOpen:e,title:l,subTitle:c,trigger:n,children:t,footerButtons:o,showBackdrop:s=!1,onClose:r,customModalClasses:i,onCustomInteractOutside:u,closeOnInteractOutside:m}){const d=X.useMachine(M1.machine,{id:q.useId(),open:e,onOpenChange:({open:v})=>{!v&&r&&r()},onInteractOutside:u,closeOnInteractOutside:m}),h=M1.connect(d,X.normalizeProps);return a.jsxs(a.Fragment,{children:[n&&a.jsx("button",{...h.getTriggerProps(),className:"zap-reset-btn",children:n}),h.open&&a.jsxs(X.Portal,{children:[s&&a.jsx("div",{...h.getBackdropProps(),className:q2.backdrop}),a.jsx("div",{...h.getPositionerProps(),className:q2.positioner,children:a.jsxs("div",{...h.getContentProps(),className:p(q2.modal,i),children:[a.jsxs("div",{...h.getTitleProps(),className:q2.header,children:[a.jsxs("div",{children:[a.jsx("h2",{className:"zap-heading-semibold",children:l}),c&&a.jsx("p",{className:"zap-subcontent-regular",children:c})]}),a.jsx("button",{...h.getCloseTriggerProps(),className:"zap-reset-btn",children:a.jsx(V,{path:X0,svgClassName:q2.icon})})]}),a.jsx("div",{...h.getDescriptionProps(),className:p(q2.hideScrollbar,q2.content),children:t}),!!o.length&&a.jsx("div",{className:q2.footer,children:o==null?void 0:o.map(({btnText:v,isLoading:x,loadingText:f,...b},I)=>a.jsx(t0,{...b,children:x?f:v},I))})]})})]})]})}function H1({children:e,placement:l="top",popoverProps:c,closeOnScroll:n=!1,containerRef:t}){const o=X.useMachine(H2.machine,{id:q.useId(),positioning:{placement:l},closeOnInteractOutside:!0,portalled:!1,...c}),s=H2.connect(o,X.normalizeProps);function r(){s==null||s.setOpen(!1)}q.useEffect(()=>(n&&t&&t.current&&t.current.addEventListener("scroll",r),()=>{var u;n&&t&&((u=t.current)==null||u.removeEventListener("scroll",r))}),[t==null?void 0:t.current]);const i=q.Children.toArray(e).map(u=>q.cloneElement(u,{...u.props,api:s}));return a.jsx(a.Fragment,{children:i})}function oe({children:e,api:l,styles:c,className:n}){return a.jsx("button",{...l==null?void 0:l.getCloseTriggerProps(),style:c,className:p("zap-reset-btn",n),onClick:()=>l==null?void 0:l.setOpen(!1),children:e})}const T2={trigger:"_trigger_kapji_1",content:"_content_kapji_5",black:"_black_kapji_11",white:"_white_kapji_16",closeBtn:"_closeBtn_kapji_21",arrow:"_arrow_kapji_28",positioner:"_positioner_kapji_42"};function D1({children:e,api:l,bg:c="black",styles:n,className:t,positionerStyles:o,showArrow:s=!0}){var d,h;const r=l!=null&&l.portalled?X.Portal:q.Fragment,i=q.Children.toArray(e).map(v=>q.cloneElement(v,{...v.props,api:l})),u=!["black","gray"].includes(c),m={...l==null?void 0:l.getArrowProps(),...u&&{style:{...(d=l==null?void 0:l.getArrowProps())==null?void 0:d.style,"--arrow-background":c}}};return a.jsx(r,{children:a.jsxs("div",{...l==null?void 0:l.getPositionerProps(),className:T2.positioner,style:{...(h=l==null?void 0:l.getPositionerProps())==null?void 0:h.style,...o},children:[s&&a.jsx("div",{...m,className:p(T2.arrow,{[T2[c]]:!u}),children:a.jsx("div",{...l==null?void 0:l.getArrowTipProps()})}),a.jsx("div",{...l==null?void 0:l.getContentProps(),className:p(T2.content,T2[c],t),style:{background:u?c:"",...n},children:i})]})})}function se({children:e,api:l,styles:c,className:n}){return a.jsx("div",{...l==null?void 0:l.getDescriptionProps(),style:c,className:n,children:e})}function ie({children:e,api:l,styles:c,className:n}){return a.jsx("div",{...l==null?void 0:l.getTitleProps(),style:c,className:n,children:e})}function F1({children:e,api:l,openOnHover:c=!0,styles:n,className:t}){return a.jsx("button",{...l==null?void 0:l.getTriggerProps(),onMouseEnter:c?()=>l==null?void 0:l.setOpen(!0):()=>{},onMouseLeave:c?()=>l==null?void 0:l.setOpen(!1):()=>{},className:p("zap-reset-btn",T2.trigger,t),style:n,children:e})}const b0={selectContainer:"_selectContainer_9l7og_1",errorMsg:"_errorMsg_9l7og_6",multiLabelContainer:"_multiLabelContainer_9l7og_15",optionContainer:"_optionContainer_9l7og_21",profileImg:"_profileImg_9l7og_21",singleValueContainer:"_singleValueContainer_9l7og_23",label:"_label_9l7og_37",subLabel:"_subLabel_9l7og_43",closeSpan:"_closeSpan_9l7og_50",downArrowSpan:"_downArrowSpan_9l7og_51"},V3={valueContainer:e=>({...e,gap:"4px"}),option:(e,{data:l,isDisabled:c,isFocused:n,isSelected:t})=>({...e,backgroundColor:c?void 0:t?l.color:n?"var(--neutral-arch-30)":"#ffffff",color:"var(--text-primary)",cursor:c?"not-allowed":"default",padding:"8px 12px",fontSize:"16px",lineHeight:"24px",":hover":{backgroundColor:"var(--neutral-arch-30)"}}),singleValue:(e,{data:l})=>({...e,color:"var(--text-primary)",fontSize:"16px",lineHeight:"24px",display:"flex",alignItems:"center",gap:"4px",backgroundColor:"transparent",padding:l.profileImgUrl?"0px 8px 0 0 !important":"0 !important"}),multiValue:(e,{data:l,isFocused:c})=>({...e,backgroundColor:"var(--neutral-arch-50)",padding:l.profileImgUrl?"0px 8px 0 0":"0 8px",display:"flex",alignItems:"center",justifyContent:"center",gap:"4px",borderRadius:"24px",margin:"0"}),multiValueLabel:(e,{data:l})=>({...e,color:"var(--text-primary)",fontSize:"16px",lineHeight:"24px",padding:"0 !important"}),multiValueRemove:(e,{data:l})=>({...e,color:"var(--neutral-arch-600)",padding:"0",":hover":{backgroundColor:"transparent",color:"var(--neutral-arch-600)"},svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),clearIndicator:e=>({...e,svg:{filter:"invert(66%) sepia(16%) saturate(358%) hue-rotate(202deg) brightness(95%) contrast(83%)"}}),menu:e=>({...e,pointerEvents:"auto",zIndex:9999}),menuPortal:e=>({...e,zIndex:9999})},L3=e=>({control:(l,{isDisabled:c,isFocused:n})=>({...l,backgroundColor:c?"var(--disabled-50)":"transparent",color:"var(--text-primary)",border:"1px solid var(--neutral-arch-300)",borderColor:e?"var(--status-error) !important":n?"var(--theme-blue) !important":"var(--neutral-arch-300) !important",fontSize:"16px",boxShadow:"none",transition:"all 0.3s ease-in-out",":hover":{borderColor:e?"var(--status-error) !important":"var(--theme-blue) !important"},":focus-within":{boxShadow:e?"var(--status-error) !important":"var(--theme-blue) !important"},cursor:n?void 0:"pointer"})}),k3=e=>a.jsxs(B0.components.Option,{...e,className:p({[b0.subLabelContainer]:e.data.subLabel},b0.optionContainer),children:[a.jsxs("div",{className:p(b0.label),children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("span",{children:e.data.label})]}),e.data.subLabel&&a.jsx("div",{className:p(b0.subLabel),children:e.data.subLabel})]}),R3=e=>a.jsx(B0.components.MultiValueLabel,{...e,children:a.jsxs("div",{className:b0.multiLabelContainer,children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("div",{className:p(b0.label),children:a.jsx("span",{children:e.data.label})})]})}),G3=e=>a.jsx(B0.components.MultiValueRemove,{...e,children:a.jsx(V,{path:X0,spanClassName:b0.closeSpan})}),H3=e=>a.jsx(B0.components.ClearIndicator,{...e,children:a.jsx(V,{path:X0,spanClassName:b0.closeSpan})}),D3=e=>a.jsx(B0.components.DropdownIndicator,{...e,children:a.jsx(V,{path:N2,spanClassName:b0.downArrowSpan})}),F3=e=>a.jsx(B0.components.SingleValue,{...e,children:a.jsxs("div",{className:b0.singleValueContainer,children:[e.data.profileImgUrl&&a.jsx("img",{src:e.data.profileImgUrl,className:b0.profileImg,alt:e.data.label}),a.jsx("div",{className:p(b0.label),children:a.jsx("span",{children:e.data.label})})]})});function re({options:e,onChange:l,name:c,id:n,className:t,placeholder:o,selectStyles:s,defaultValue:r,formatGroupLabel:i,customContainerStyles:u,customErrorStyles:m,menuPlacement:d,errorMsg:h,extraprops:v,isDisabled:x=!1,isSearchable:f=!0,isMulti:b=!1,isClearable:I=!1,customValue:g,CustomDropdownIndicator:_}){return a.jsxs("div",{onClick:y=>y.stopPropagation(),style:u,className:b0.selectContainer,children:[a.jsx(B0,{value:g,isMulti:b,placeholder:o,defaultValue:r,options:e,maxMenuHeight:170,isClearable:I,name:c,id:n,className:p(t),isSearchable:f,styles:{...V3,...L3(h),...s},components:{Option:k3,MultiValueLabel:R3,MultiValueRemove:G3,DropdownIndicator:_||D3,ClearIndicator:H3,SingleValue:F3},isDisabled:x,onChange:(y,N)=>{l(b?y.map(S=>S.value):(y==null?void 0:y.value)??"",N)},formatGroupLabel:i,menuPlacement:d,menuPosition:"fixed",...v}),h&&a.jsx("p",{className:b0.errorMsg,style:m,children:h})]})}function W(){return W=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var n in c)({}).hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e},W.apply(null,arguments)}function j2(e){"@babel/helpers - typeof";return j2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},j2(e)}function ue(e,l){if(j2(e)!="object"||!e)return e;var c=e[Symbol.toPrimitive];if(c!==void 0){var n=c.call(e,l);if(j2(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(e)}function u5(e){var l=ue(e,"string");return j2(l)=="symbol"?l:l+""}function O2(e,l,c){return(l=u5(l))in e?Object.defineProperty(e,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[l]=c,e}function d5(e,l){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),c.push.apply(c,n)}return c}function T(e){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?d5(Object(c),!0).forEach(function(n){O2(e,n,c[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):d5(Object(c)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(c,n))})}return e}function de(e,l){if(!(e instanceof l))throw new TypeError("Cannot call a class as a function")}function m5(e,l){for(var c=0;c<l.length;c++){var n=l[c];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u5(n.key),n)}}function me(e,l,c){return l&&m5(e.prototype,l),c&&m5(e,c),Object.defineProperty(e,"prototype",{writable:!1}),e}function P3(e,l){return P3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,n){return c.__proto__=n,c},P3(e,l)}function he(e,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(l&&l.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),l&&P3(e,l)}function P1(e){return P1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},P1(e)}function h5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h5=function(){return!!e})()}function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,l){if(l&&(j2(l)=="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ve(e)}function ge(e){var l=h5();return function(){var c,n=P1(e);if(l){var t=P1(this).constructor;c=Reflect.construct(n,arguments,t)}else c=n.apply(this,arguments);return pe(this,c)}}function T3(e,l){(l==null||l>e.length)&&(l=e.length);for(var c=0,n=Array(l);c<l;c++)n[c]=e[c];return n}function qe(e){if(Array.isArray(e))return T3(e)}function fe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function v5(e,l){if(e){if(typeof e=="string")return T3(e,l);var c={}.toString.call(e).slice(8,-1);return c==="Object"&&e.constructor&&(c=e.constructor.name),c==="Map"||c==="Set"?Array.from(e):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?T3(e,l):void 0}}function be(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
23
23
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z2(e){return qe(e)||fe(e)||v5(e)||be()}function Ce(e){if(Array.isArray(e))return e}function Ie(e,l){var c=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(c!=null){var n,t,o,s,r=[],i=!0,u=!1;try{if(o=(c=c.call(e)).next,l===0){if(Object(c)!==c)return;i=!1}else for(;!(i=(n=o.call(c)).done)&&(r.push(n.value),r.length!==l);i=!0);}catch(m){u=!0,t=m}finally{try{if(!i&&c.return!=null&&(s=c.return(),Object(s)!==s))return}finally{if(u)throw t}}return r}}function xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
24
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A0(e,l){return Ce(e)||Ie(e,l)||v5(e,l)||xe()}function _e(e,l){if(e==null)return{};var c={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(l.indexOf(n)!==-1)continue;c[n]=e[n]}return c}function Y0(e,l){if(e==null)return{};var c,n,t=_e(e,l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)c=o[n],l.indexOf(c)===-1&&{}.propertyIsEnumerable.call(e,c)&&(t[c]=e[c])}return t}function ze(e,l){return l||(l=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(l)}}))}function ye(e){const{x:l,y:c,width:n,height:t}=e;return{width:n,height:t,top:c,left:l,right:l+n,bottom:c+t,x:l,y:c}}const Ae=Math.min,we=Math.max,T1=Math.round,O1=Math.floor,Z1=e=>({x:e,y:e});function X1(){return typeof window<"u"}function p5(e){return q5(e)?(e.nodeName||"").toLowerCase():"#document"}function i2(e){var l;return(e==null||(l=e.ownerDocument)==null?void 0:l.defaultView)||window}function g5(e){var l;return(l=(q5(e)?e.ownerDocument:e.document)||window.document)==null?void 0:l.documentElement}function q5(e){return X1()?e instanceof Node||e instanceof i2(e).Node:!1}function Ne(e){return X1()?e instanceof Element||e instanceof i2(e).Element:!1}function O3(e){return X1()?e instanceof HTMLElement||e instanceof i2(e).HTMLElement:!1}function f5(e){return!X1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof i2(e).ShadowRoot}function b5(e){const{overflow:l,overflowX:c,overflowY:n,display:t}=Z3(e);return/auto|scroll|overlay|hidden|clip/.test(l+n+c)&&!["inline","contents"].includes(t)}function je(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(e){return["html","body","#document"].includes(p5(e))}function Z3(e){return i2(e).getComputedStyle(e)}function Ee(e){if(p5(e)==="html")return e;const l=e.assignedSlot||e.parentNode||f5(e)&&e.host||g5(e);return f5(l)?l.host:l}function C5(e){const l=Ee(e);return Me(l)?e.ownerDocument?e.ownerDocument.body:e.body:O3(l)&&b5(l)?l:C5(l)}function W1(e,l,c){var n;l===void 0&&(l=[]),c===void 0&&(c=!0);const t=C5(e),o=t===((n=e.ownerDocument)==null?void 0:n.body),s=i2(t);if(o){const r=X3(s);return l.concat(s,s.visualViewport||[],b5(t)?t:[],r&&c?W1(r):[])}return l.concat(t,W1(t,[],c))}function X3(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Se(e){const l=Z3(e);let c=parseFloat(l.width)||0,n=parseFloat(l.height)||0;const t=O3(e),o=t?e.offsetWidth:c,s=t?e.offsetHeight:n,r=T1(c)!==o||T1(n)!==s;return r&&(c=o,n=s),{width:c,height:n,$:r}}function W3(e){return Ne(e)?e:e.contextElement}function I5(e){const l=W3(e);if(!O3(l))return Z1(1);const c=l.getBoundingClientRect(),{width:n,height:t,$:o}=Se(l);let s=(o?T1(c.width):c.width)/n,r=(o?T1(c.height):c.height)/t;return(!s||!Number.isFinite(s))&&(s=1),(!r||!Number.isFinite(r))&&(r=1),{x:s,y:r}}const Be=Z1(0);function Ve(e){const l=i2(e);return!je()||!l.visualViewport?Be:{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function Le(e,l,c){return!1}function x5(e,l,c,n){l===void 0&&(l=!1);const t=e.getBoundingClientRect(),o=W3(e);let s=Z1(1);l&&(s=I5(e));const r=Le()?Ve(o):Z1(0);let i=(t.left+r.x)/s.x,u=(t.top+r.y)/s.y,m=t.width/s.x,d=t.height/s.y;if(o){const h=i2(o),v=n;let x=h,f=X3(x);for(;f&&n&&v!==x;){const b=I5(f),I=f.getBoundingClientRect(),g=Z3(f),_=I.left+(f.clientLeft+parseFloat(g.paddingLeft))*b.x,y=I.top+(f.clientTop+parseFloat(g.paddingTop))*b.y;i*=b.x,u*=b.y,m*=b.x,d*=b.y,i+=_,u+=y,x=i2(f),f=X3(x)}}return ye({width:m,height:d,x:i,y:u})}function ke(e,l){let c=null,n;const t=g5(e);function o(){var r;clearTimeout(n),(r=c)==null||r.disconnect(),c=null}function s(r,i){r===void 0&&(r=!1),i===void 0&&(i=1),o();const{left:u,top:m,width:d,height:h}=e.getBoundingClientRect();if(r||l(),!d||!h)return;const v=O1(m),x=O1(t.clientWidth-(u+d)),f=O1(t.clientHeight-(m+h)),b=O1(u),g={rootMargin:-v+"px "+-x+"px "+-f+"px "+-b+"px",threshold:we(0,Ae(1,i))||1};let _=!0;function y(N){const S=N[0].intersectionRatio;if(S!==i){if(!_)return s();S?s(!1,S):n=setTimeout(()=>{s(!1,1e-7)},1e3)}_=!1}try{c=new IntersectionObserver(y,{...g,root:t.ownerDocument})}catch{c=new IntersectionObserver(y,g)}c.observe(e)}return s(!0),o}function Re(e,l,c,n){n===void 0&&(n={});const{ancestorScroll:t=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:i=!1}=n,u=W3(e),m=t||o?[...u?W1(u):[],...W1(l)]:[];m.forEach(I=>{t&&I.addEventListener("scroll",c,{passive:!0}),o&&I.addEventListener("resize",c)});const d=u&&r?ke(u,c):null;let h=-1,v=null;s&&(v=new ResizeObserver(I=>{let[g]=I;g&&g.target===u&&v&&(v.unobserve(l),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var _;(_=v)==null||_.observe(l)})),c()}),u&&!i&&v.observe(u),v.observe(l));let x,f=i?x5(e):null;i&&b();function b(){const I=x5(e);f&&(I.x!==f.x||I.y!==f.y||I.width!==f.width||I.height!==f.height)&&c(),f=I,x=requestAnimationFrame(b)}return c(),()=>{var I;m.forEach(g=>{t&&g.removeEventListener("scroll",c),o&&g.removeEventListener("resize",c)}),d==null||d(),(I=v)==null||I.disconnect(),v=null,i&&cancelAnimationFrame(x)}}var $3=E.useLayoutEffect,Ge=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],$1=function(){};function He(e,l){return l?l[0]==="-"?e+l:e+"__"+l:e}function De(e,l){for(var c=arguments.length,n=new Array(c>2?c-2:0),t=2;t<c;t++)n[t-2]=arguments[t];var o=[].concat(n);if(l&&e)for(var s in l)l.hasOwnProperty(s)&&l[s]&&o.push("".concat(He(e,s)));return o.filter(function(r){return r}).map(function(r){return String(r).trim()}).join(" ")}var Y1=function(l){return Je(l)?l.filter(Boolean):j2(l)==="object"&&l!==null?[l]:[]},_5=function(l){l.className,l.clearValue,l.cx,l.getStyles,l.getClassNames,l.getValue,l.hasValue,l.isMulti,l.isRtl,l.options,l.selectOption,l.selectProps,l.setValue,l.theme;var c=Y0(l,Ge);return T({},c)},v0=function(l,c,n){var t=l.cx,o=l.getStyles,s=l.getClassNames,r=l.className;return{css:o(c,l),className:t(n??{},s(c,l),r)}};function Fe(e,l,c){if(c){var n=c(e,l);if(typeof n=="string")return n}return e}function J1(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Pe(e){return J1(e)?window.innerHeight:e.clientHeight}function z5(e){return J1(e)?window.pageYOffset:e.scrollTop}function U1(e,l){if(J1(e)){window.scrollTo(0,l);return}e.scrollTop=l}function Te(e){var l=getComputedStyle(e),c=l.position==="absolute",n=/(auto|scroll)/;if(l.position==="fixed")return document.documentElement;for(var t=e;t=t.parentElement;)if(l=getComputedStyle(t),!(c&&l.position==="static")&&n.test(l.overflow+l.overflowY+l.overflowX))return t;return document.documentElement}function Oe(e,l,c,n){return c*((e=e/n-1)*e*e+1)+l}function Q1(e,l){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:$1,t=z5(e),o=l-t,s=10,r=0;function i(){r+=s;var u=Oe(r,t,o,c);U1(e,u),r<c?window.requestAnimationFrame(i):n(e)}i()}function y5(e,l){var c=e.getBoundingClientRect(),n=l.getBoundingClientRect(),t=l.offsetHeight/3;n.bottom+t>c.bottom?U1(e,Math.min(l.offsetTop+l.clientHeight-e.offsetHeight+t,e.scrollHeight)):n.top-t<c.top&&U1(e,Math.max(l.offsetTop-t,0))}function Ze(e){var l=e.getBoundingClientRect();return{bottom:l.bottom,height:l.height,left:l.left,right:l.right,top:l.top,width:l.width}}function A5(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Xe(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var w5=!1,We={get passive(){return w5=!0}},K1=typeof window<"u"?window:{};K1.addEventListener&&K1.removeEventListener&&(K1.addEventListener("p",$1,We),K1.removeEventListener("p",$1,!1));var $e=w5;function Ye(e){return e!=null}function Je(e){return Array.isArray(e)}function u1(e,l,c){return e?l:c}function io(e){return e}function ro(e){return e}var Ue=function(l){for(var c=arguments.length,n=new Array(c>1?c-1:0),t=1;t<c;t++)n[t-1]=arguments[t];var o=Object.entries(l).filter(function(s){var r=A0(s,1),i=r[0];return!n.includes(i)});return o.reduce(function(s,r){var i=A0(r,2),u=i[0],m=i[1];return s[u]=m,s},{})},Qe=["children","innerProps"],Ke=["children","innerProps"];function e8(e){var l=e.maxHeight,c=e.menuEl,n=e.minHeight,t=e.placement,o=e.shouldScroll,s=e.isFixedPosition,r=e.controlHeight,i=Te(c),u={placement:"bottom",maxHeight:l};if(!c||!c.offsetParent)return u;var m=i.getBoundingClientRect(),d=m.height,h=c.getBoundingClientRect(),v=h.bottom,x=h.height,f=h.top,b=c.offsetParent.getBoundingClientRect(),I=b.top,g=s?window.innerHeight:Pe(i),_=z5(i),y=parseInt(getComputedStyle(c).marginBottom,10),N=parseInt(getComputedStyle(c).marginTop,10),S=I-N,M=g-f,A=S+_,H=d-_-f,j=v-g+_+y,J=_+f-N,R=160;switch(t){case"auto":case"bottom":if(M>=x)return{placement:"bottom",maxHeight:l};if(H>=x&&!s)return o&&Q1(i,j,R),{placement:"bottom",maxHeight:l};if(!s&&H>=n||s&&M>=n){o&&Q1(i,j,R);var k=s?M-y:H-y;return{placement:"bottom",maxHeight:k}}if(t==="auto"||s){var w=l,G=s?S:A;return G>=n&&(w=Math.min(G-y-r,l)),{placement:"top",maxHeight:w}}if(t==="bottom")return o&&U1(i,j),{placement:"bottom",maxHeight:l};break;case"top":if(S>=x)return{placement:"top",maxHeight:l};if(A>=x&&!s)return o&&Q1(i,J,R),{placement:"top",maxHeight:l};if(!s&&A>=n||s&&S>=n){var D=l;return(!s&&A>=n||s&&S>=n)&&(D=s?S-N:A-N),o&&Q1(i,J,R),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:l};default:throw new Error('Invalid placement provided "'.concat(t,'".'))}return u}function l8(e){var l={bottom:"top",top:"bottom"};return e?l[e]:"bottom"}var N5=function(l){return l==="auto"?"bottom":l},a8=function(l,c){var n,t=l.placement,o=l.theme,s=o.borderRadius,r=o.spacing,i=o.colors;return T((n={label:"menu"},O2(n,l8(t),"100%"),O2(n,"position","absolute"),O2(n,"width","100%"),O2(n,"zIndex",1),n),c?{}:{backgroundColor:i.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:r.menuGutter,marginTop:r.menuGutter})},j5=E.createContext(null),t8=function(l){var c=l.children,n=l.minMenuHeight,t=l.maxMenuHeight,o=l.menuPlacement,s=l.menuPosition,r=l.menuShouldScrollIntoView,i=l.theme,u=E.useContext(j5)||{},m=u.setPortalPlacement,d=E.useRef(null),h=E.useState(t),v=A0(h,2),x=v[0],f=v[1],b=E.useState(null),I=A0(b,2),g=I[0],_=I[1],y=i.spacing.controlHeight;return $3(function(){var N=d.current;if(N){var S=s==="fixed",M=r&&!S,A=e8({maxHeight:t,menuEl:N,minHeight:n,placement:o,shouldScroll:M,isFixedPosition:S,controlHeight:y});f(A.maxHeight),_(A.placement),m==null||m(A.placement)}},[t,o,s,r,n,m,y]),c({ref:d,placerProps:T(T({},l),{},{placement:g||N5(o),maxHeight:x})})},n8=function(l){var c=l.children,n=l.innerRef,t=l.innerProps;return Z.jsx("div",W({},v0(l,"menu",{menu:!0}),{ref:n},t),c)},c8=n8,o8=function(l,c){var n=l.maxHeight,t=l.theme.spacing.baseUnit;return T({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},c?{}:{paddingBottom:t,paddingTop:t})},s8=function(l){var c=l.children,n=l.innerProps,t=l.innerRef,o=l.isMulti;return Z.jsx("div",W({},v0(l,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:t},n),c)},M5=function(l,c){var n=l.theme,t=n.spacing.baseUnit,o=n.colors;return T({textAlign:"center"},c?{}:{color:o.neutral40,padding:"".concat(t*2,"px ").concat(t*3,"px")})},i8=M5,r8=M5,u8=function(l){var c=l.children,n=c===void 0?"No options":c,t=l.innerProps,o=Y0(l,Qe);return Z.jsx("div",W({},v0(T(T({},o),{},{children:n,innerProps:t}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),t),n)},d8=function(l){var c=l.children,n=c===void 0?"Loading...":c,t=l.innerProps,o=Y0(l,Ke);return Z.jsx("div",W({},v0(T(T({},o),{},{children:n,innerProps:t}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),t),n)},m8=function(l){var c=l.rect,n=l.offset,t=l.position;return{left:c.left,position:t,top:n,width:c.width,zIndex:1}},h8=function(l){var c=l.appendTo,n=l.children,t=l.controlElement,o=l.innerProps,s=l.menuPlacement,r=l.menuPosition,i=E.useRef(null),u=E.useRef(null),m=E.useState(N5(s)),d=A0(m,2),h=d[0],v=d[1],x=E.useMemo(function(){return{setPortalPlacement:v}},[]),f=E.useState(null),b=A0(f,2),I=b[0],g=b[1],_=E.useCallback(function(){if(t){var M=Ze(t),A=r==="fixed"?0:window.pageYOffset,H=M[h]+A;(H!==(I==null?void 0:I.offset)||M.left!==(I==null?void 0:I.rect.left)||M.width!==(I==null?void 0:I.rect.width))&&g({offset:H,rect:M})}},[t,r,h,I==null?void 0:I.offset,I==null?void 0:I.rect.left,I==null?void 0:I.rect.width]);$3(function(){_()},[_]);var y=E.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),t&&i.current&&(u.current=Re(t,i.current,_,{elementResize:"ResizeObserver"in window}))},[t,_]);$3(function(){y()},[y]);var N=E.useCallback(function(M){i.current=M,y()},[y]);if(!c&&r!=="fixed"||!I)return null;var S=Z.jsx("div",W({ref:N},v0(T(T({},l),{},{offset:I.offset,position:r,rect:I.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Z.jsx(j5.Provider,{value:x},c?w4.createPortal(S,c):S)},v8=function(l){var c=l.isDisabled,n=l.isRtl;return{label:"container",direction:n?"rtl":void 0,pointerEvents:c?"none":void 0,position:"relative"}},p8=function(l){var c=l.children,n=l.innerProps,t=l.isDisabled,o=l.isRtl;return Z.jsx("div",W({},v0(l,"container",{"--is-disabled":t,"--is-rtl":o}),n),c)},g8=function(l,c){var n=l.theme.spacing,t=l.isMulti,o=l.hasValue,s=l.selectProps.controlShouldRenderValue;return T({alignItems:"center",display:t&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},c?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px")})},q8=function(l){var c=l.children,n=l.innerProps,t=l.isMulti,o=l.hasValue;return Z.jsx("div",W({},v0(l,"valueContainer",{"value-container":!0,"value-container--is-multi":t,"value-container--has-value":o}),n),c)},f8=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},b8=function(l){var c=l.children,n=l.innerProps;return Z.jsx("div",W({},v0(l,"indicatorsContainer",{indicators:!0}),n),c)},E5,C8=["size"],I8=["innerProps","isRtl","size"];function x8(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var _8=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vI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HNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:x8},S5=function(l){var c=l.size,n=Y0(l,C8);return Z.jsx("svg",W({height:c,width:c,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:_8},n))},Y3=function(l){return Z.jsx(S5,W({size:20},l),Z.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},B5=function(l){return Z.jsx(S5,W({size:20},l),Z.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},V5=function(l,c){var n=l.isFocused,t=l.theme,o=t.spacing.baseUnit,s=t.colors;return T({label:"indicatorContainer",display:"flex",transition:"color 150ms"},c?{}:{color:n?s.neutral60:s.neutral20,padding:o*2,":hover":{color:n?s.neutral80:s.neutral40}})},z8=V5,y8=function(l){var c=l.children,n=l.innerProps;return Z.jsx("div",W({},v0(l,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),c||Z.jsx(B5,null))},A8=V5,w8=function(l){var c=l.children,n=l.innerProps;return Z.jsx("div",W({},v0(l,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),c||Z.jsx(Y3,null))},N8=function(l,c){var n=l.isDisabled,t=l.theme,o=t.spacing.baseUnit,s=t.colors;return T({label:"indicatorSeparator",alignSelf:"stretch",width:1},c?{}:{backgroundColor:n?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},j8=function(l){var c=l.innerProps;return Z.jsx("span",W({},c,v0(l,"indicatorSeparator",{"indicator-separator":!0})))},M8=Z.keyframes(E5||(E5=ze([`
25
25
  0%, 80%, 100% { opacity: 0; }
package/dist/index.d.ts CHANGED
@@ -1906,7 +1906,7 @@ declare type ModalProps = {
1906
1906
  * @param {ModalV2Props} props - The props for the ModalV2 component.
1907
1907
  * @returns {JSX.Element} The rendered modal component.
1908
1908
  */
1909
- export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, onCustomInteractOutside, }: ModalV2Props): JSX.Element;
1909
+ export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, onCustomInteractOutside, closeOnInteractOutside, }: ModalV2Props): JSX.Element;
1910
1910
 
1911
1911
  declare interface ModalV2Props {
1912
1912
  /** Indicates if the modal is open. */
@@ -1927,6 +1927,7 @@ declare interface ModalV2Props {
1927
1927
  showBackdrop?: boolean;
1928
1928
  customModalClasses?: string;
1929
1929
  onCustomInteractOutside?: (event: dialog.InteractOutsideEvent) => void;
1930
+ closeOnInteractOutside?: boolean;
1930
1931
  }
1931
1932
 
1932
1933
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"