@ambuj.bhaskar/react-component-library 0.11.6-alpha → 0.11.7-alpha

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/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const O=require("react"),xo=require("react-dom");function s6(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=s6(O),c6=s6(xo),vb={common:{primary:"#292929",secondary:"#767676",highlight:"#FFCC00",success:"#5DB772",warning:"#FFCC00",error:"#FF2540",info:"#0076B2",disabled:"#DEDEDE"},text:{primary:"#292929",secondary:"#767676",tertiary:"#FFFFFF",disabled:"#767676"},background:{primary:"#F3F5F7"},surface:{fill:{primary:"#FFFFFF",secondary:"#F3F5F7",tertiary:"#EAEAEA"},border:{primary:"#EAEBEE",secondary:"#BCBDBF",tertiary:"#909090"}},button:{border:"#292929",background:"#2929291a",text:"#292929"},badge:{background:"#ff2540",text:"#fff"},input:{border:"#292929",background:"#2929291a",text:"#292929"},multiselect:{icon:"#292929",trigger:{border:"#29292955",background:"#29292929",highlight:"#29292955"},menu:{border:"#29292955",background:{default:"#FFFFFF",hover:"rgba(255, 204, 0, 0.1)",active:"rgba(255, 204, 0, 0.2)"}}},sidebar:{background:"#292929",text:"#FFFFFF",border:"#292929",button:{background:"#FFCC00",text:"#292929",border:"#FFCC00"},footer:{background:"#FFCC00"}}},gb={text:{xs:"12px",s:"14px",m:"16px",l:"20px",xl:"22px"}},hb={text:{s:"400",m:"500",l:"700"}},u6={name:"default",colors:vb,sizes:gb,weights:hb};var y1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w1={exports:{}},Wi={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const O=require("react"),xo=require("react-dom");function s6(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=s6(O),c6=s6(xo),vb={common:{primary:"#292929",secondary:"#767676",highlight:"#FFCC00",success:"#5DB772",warning:"#FFCC00",error:"#FF2540",info:"#0076B2",disabled:"#DEDEDE"},text:{primary:"#292929",secondary:"#767676",tertiary:"#FFFFFF",disabled:"#767676"},background:{primary:"#F3F5F7"},surface:{fill:{primary:"#FFFFFF",secondary:"#F3F5F7",tertiary:"#EAEAEA"},border:{primary:"#EAEBEE",secondary:"#BCBDBF",tertiary:"#909090"}},button:{border:"#292929",background:"#2929291a",text:"#292929"},badge:{background:"#ff2540",text:"#fff"},input:{border:"#292929",background:"#2929291a",text:"#292929"},multiselect:{icon:"#292929",trigger:{border:"#29292955",background:"#29292929",highlight:"#29292955"},menu:{border:"#29292955",background:{default:"#FFFFFF",hover:"rgba(255, 204, 0, 0.1)",active:"rgba(255, 204, 0, 0.2)"}}},sidebar:{background:"#292929",text:"#FFFFFF",border:"#292929",button:{background:"#FFCC00",text:"#292929",border:"#FFCC00"},footer:{background:"#FFCC00"}},topbar:{background:"#FFFFFF",text:"#292929",border:"#EAEBEE"}},gb={text:{xs:"12px",s:"14px",m:"16px",l:"20px",xl:"22px"}},hb={text:{s:"400",m:"500",l:"700"}},u6={name:"default",colors:vb,sizes:gb,weights:hb};var y1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w1={exports:{}},Wi={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -265,7 +265,7 @@ html body {
265
265
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
266
266
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:c0},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
267
267
  &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:f0},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
268
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:u0},[`${t}-panel > ${t}-time-panel`]:{paddingTop:_},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${$} ease-out`},yf(e,H,F)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:H,borderRadius:V,boxShadow:j,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:P,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${we(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ds),{borderRadius:q,paddingInline:h,paddingBlock:e.calc(y).sub(I).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:S},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${we(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},hs(e,"slide-up"),hs(e,"slide-down"),gs(e,"move-up"),gs(e,"move-down")]},p9=la("DatePicker",e=>{const t=_n(i9(e),vD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mD(t),bD(t),pD(t),CD(t),uD(t),js(e,{focusElCls:`${e.componentCls}-focused`})]},hD);var yD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},wD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:yD}))},H0=i.forwardRef(wD);process.env.NODE_ENV!=="production"&&(H0.displayName="CalendarOutlined");var ED={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},SD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:ED}))},V0=i.forwardRef(SD);process.env.NODE_ENV!=="production"&&(V0.displayName="ClockCircleOutlined");var xD={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},LD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:xD}))},C9=i.forwardRef(LD);process.env.NODE_ENV!=="production"&&(C9.displayName="SwapRightOutlined");function MD(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function $D(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function b9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=gf(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[RD,_D]=["week","WeekPicker"],[OD,PD]=["month","MonthPicker"],[ID,FD]=["year","YearPicker"],[ND,DD]=["quarter","QuarterPicker"],[y9,a6]=["time","TimePicker"],TD=e=>i.createElement(Po,Object.assign({size:"small",type:"primary"},e));function w9(e){return O.useMemo(()=>Object.assign({button:TD},e),[e])}var AD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const HD=e=>{const t=O.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:v,placement:f,size:g,disabled:p,bordered:C=!0,placeholder:y,popupClassName:b,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=AD(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),M=i.useRef(null),{getPrefixCls:_,direction:N,getPopupContainer:H,rangePicker:V}=O.useContext(gn),j=_("picker",s),{compactSize:q,compactItemClassnames:U}=Ds(j,N),A=_(),[B,P]=_0("rangePicker",x,C),F=Ll(j),[I,z,k]=p9(j,F);if(process.env.NODE_ENV!=="production"){const ne=dr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=b9(n,j),Y=w9(u),J=Rl(ne=>{var oe;return(oe=g??q)!==null&&oe!==void 0?oe:ne}),X=i.useContext(Qa),ce=p??X,de=O.useContext(pi),{hasFeedback:re,status:me,feedbackIcon:he}=de,ve=i.createElement(i.Fragment,null,L===y9?i.createElement(V0,null):i.createElement(H0,null),re&&he);O.useImperativeHandle(r,()=>M.current);const[le]=ro("Calendar",ss),se=Object.assign(Object.assign({},le),n.locale),[ue]=Ml("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return I(i.createElement(Zs,{space:!0},i.createElement(r9,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(C9,null)),disabled:ce,ref:M,placement:f,placeholder:$D(se,L,y),suffixIcon:ve,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:L},$,{className:Re({[`${j}-${J}`]:J,[`${j}-${B}`]:P},$0(j,R0(me,S),re),z,U,d,V==null?void 0:V.className,k,F,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),v),locale:se.lang,prefixCls:j,getPopupContainer:c||H,generateConfig:e,components:Y,direction:N,classNames:{popup:Re(z,b||h,k,F,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var VD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const kD=e=>{const t=(d,v)=>{const f=v===a6?"timePicker":"datePicker",g=O.forwardRef((p,C)=>{var y;const{prefixCls:b,getPopupContainer:h,components:S,style:E,className:x,rootClassName:L,size:$,bordered:M,placement:_,placeholder:N,popupClassName:H,dropdownClassName:V,disabled:j,status:q,variant:U,onCalendarChange:A}=p,B=VD(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:P,direction:F,getPopupContainer:I,[f]:z}=O.useContext(gn),k=P("picker",b),{compactSize:Z,compactItemClassnames:Y}=Ds(k,F),J=i.useRef(null),[X,ce]=_0("datePicker",U,M),de=Ll(k),[re,me,he]=p9(k,de);O.useImperativeHandle(C,()=>J.current);const ve={showToday:!0},le=d||p.picker,se=P(),{onSelect:ue,multiple:ne}=B,oe=ue&&d==="time"&&!ne,ge=(lt,Qe,Ee)=>{A==null||A(lt,Qe,Ee),oe&&ue(lt)};if(process.env.NODE_ENV!=="production"){const lt=dr(v||"DatePicker");process.env.NODE_ENV!=="production"&&lt(d!=="quarter","deprecated",`DatePicker.${v} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),lt.deprecated(!V,"dropdownClassName","popupClassName"),lt.deprecated(!("bordered"in p),"bordered","variant"),lt.deprecated(!oe,"onSelect","onCalendarChange")}const[Ce,_e]=b9(p,k),Oe=w9(S),He=Rl(lt=>{var Qe;return(Qe=$??Z)!==null&&Qe!==void 0?Qe:lt}),Pe=i.useContext(Qa),qe=j??Pe,Ve=O.useContext(pi),{hasFeedback:ut,status:pt,feedbackIcon:et}=Ve,Ye=i.createElement(i.Fragment,null,le==="time"?i.createElement(V0,null):i.createElement(H0,null),ut&&et),[Ct]=ro("DatePicker",ss),tt=Object.assign(Object.assign({},Ct),p.locale),[rt]=Ml("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return re(i.createElement(Zs,{space:!0},i.createElement(o9,Object.assign({ref:J,placeholder:MD(tt,le,N),suffixIcon:Ye,placement:_,prevIcon:i.createElement("span",{className:`${k}-prev-icon`}),nextIcon:i.createElement("span",{className:`${k}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${k}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${k}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:ge},ve,B,{locale:tt.lang,className:Re({[`${k}-${He}`]:He,[`${k}-${X}`]:ce},$0(k,R0(pt,q),ut),me,Y,z==null?void 0:z.className,x,he,de,L),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:k,getPopupContainer:h||I,generateConfig:e,components:Oe,direction:F,disabled:qe,classNames:{popup:Re(me,he,de,L,H||V)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:rt})},allowClear:Ce,removeIcon:_e}))))});return process.env.NODE_ENV!=="production"&&v&&(g.displayName=v),g},n=t(),r=t(RD,_D),a=t(OD,PD),s=t(ID,FD),c=t(ND,DD),u=t(y9,a6);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},E9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=kD(e),u=HD(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},Li=E9(aN),BD=C0(Li,"popupAlign",void 0,"picker");Li._InternalPanelDoNotUseOrYouWillBeFired=BD;const jD=C0(Li.RangePicker,"popupAlign",void 0,"picker");Li._InternalRangePanelDoNotUseOrYouWillBeFired=jD;Li.generatePicker=E9;var zD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const ZD=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,v=zD(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(gn),g=f(),p=t||f("modal"),C=Ll(g),[y,b,h]=M8(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(R8,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(E8,Object.assign({},e)),children:u},y(i.createElement(g0,Object.assign({prefixCls:p,className:Re(b,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},v,{closeIcon:w8(p,r),closable:a},E)))},WD=A8(ZD);function S9(e){return Il(I8(e))}const Qr=$8;Qr.useModal=vP;Qr.info=function(t){return Il(F8(t))};Qr.success=function(t){return Il(N8(t))};Qr.error=function(t){return Il(D8(t))};Qr.warning=S9;Qr.warn=S9;Qr.confirm=function(t){return Il(T8(t))};Qr.destroyAll=function(){for(;wo.length;){const t=wo.pop();t&&t()}};Qr.config=cP;Qr._InternalPanelDoNotUseOrYouWillBeFired=WD;process.env.NODE_ENV!=="production"&&(Qr.displayName="Modal");var UD=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],x9=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,v=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,y=e.onKeyDown,b=an(e,UD),h=rr(!1,{value:c,defaultValue:u}),S=te(h,2),E=S[0],x=S[1];function L(N,H){var V=E;return d||(V=N,x(V),C==null||C(V,H)),V}function $(N){N.which===Te.LEFT?L(!1,N):N.which===Te.RIGHT&&L(!0,N),y==null||y(N)}function M(N){var H=L(!E,N);p==null||p(H,N)}var _=Re(a,s,(n={},Q(n,"".concat(a,"-checked"),E),Q(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},b,{type:"button",role:"switch","aria-checked":E,disabled:d,className:_,ref:t,onKeyDown:$,onClick:M}),v,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});x9.displayName="Switch";const qD=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,v=`${t}-inner`,f=we(d(u).add(d(r).mul(2)).equal()),g=we(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:we(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${v}-checked, ${v}-unchecked`]:{minHeight:n},[`${v}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${v}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${v}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${v}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${we(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${v}`]:{[`${v}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${v}`]:{[`${v}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},YD=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},GD=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${we(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},KD=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,v=we(u(c).add(u(r).mul(2)).equal()),f=we(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${v} - ${f})`,marginInlineEnd:`calc(100% - ${v} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${v} + ${f})`,marginInlineEnd:`calc(-100% + ${v} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},XD=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ga(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:we(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),r0(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},QD=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,v=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:v*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:v,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:v/2,innerMaxMarginSM:v+u+u*2}},JD=la("Switch",e=>{const t=_n(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[XD(t),KD(t),GD(t),YD(t),qD(t)]},QD);var eT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const tT=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:v,value:f,defaultChecked:g,defaultValue:p,onChange:C}=e,y=eT(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,h]=rr(!1,{value:v??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(gn),L=i.useContext(Qa),$=(a??L)||s,M=S("switch",n),_=i.createElement("div",{className:`${M}-handle`},s&&i.createElement(Is,{className:`${M}-loading-icon`})),[N,H,V]=JD(M),j=Rl(r),q=Re(x==null?void 0:x.className,{[`${M}-small`]:j==="small",[`${M}-loading`]:s,[`${M}-rtl`]:E==="rtl"},c,u,H,V),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),A=function(){h(arguments.length<=0?void 0:arguments[0]),C==null||C.apply(void 0,arguments)};return N(i.createElement(s0,{component:"Switch"},i.createElement(x9,Object.assign({},y,{checked:b,onChange:A,prefixCls:M,className:q,style:U,disabled:$,ref:t,loadingIcon:_}))))}),k0=tT;k0.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(k0.displayName="Switch");const L9=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:v="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:y="m",id:b="",suffixIcon:h=!0})=>pe.jsx(ao,{id:b,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":v,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),nT=e=>`https://flagsapi.com/${e}/flat/64.png`,B1=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],rT=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,v]=O.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=B1[89])==null?void 0:p.dialingCode),f=y=>{var b;v(String(y)),t(y+c+(((b=e.split(c))==null?void 0:b[1])||""))},g=y=>{const{value:b}=y.target;t(d+c+b)};return pe.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[pe.jsx(L9,{options:B1==null?void 0:B1.map(y=>({label:pe.jsx("img",{src:nT(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),pe.jsx(k2,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),pe.jsx(k2,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},aT="DD MMM YY - HH:mm:ss",oT=[{label:"Today",value:[En().startOf("day"),En().endOf("day")]},{label:"This Week",value:[En().startOf("week"),En().endOf("week")]},{label:"Last 7 Days",value:[En().subtract(7,"days"),En()]},{label:"This Month",value:[En().startOf("month"),En().endOf("month")]},{label:"Last 30 Days",value:[En().subtract(30,"days"),En()]}],iT=e=>e&&e.isAfter(En().endOf("day")),{RangePicker:lT}=Li,sT=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=aT,presetRanges:s=oT,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:v="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:y=!1,...b})=>{const h=e?[En(e[0]),En(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(L=>(L==null?void 0:L.toDate())||new Date);t(x)}else t&&t([])};return pe.jsx(lT,{showTime:r,...b,value:h,onChange:S,format:a,presets:s,disabledDate:y?iT:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":v,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var al=(e=>(e.NEXT="next",e.PREV="prev",e))(al||{});const M9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,C,y,b;const[a,s]=O.useState(0),c=(r==null?void 0:r[a])??{},u=h=>{h===al.NEXT?s(S=>(S+1)%(r==null?void 0:r.length)):h===al.PREV&&s(S=>(S-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const h=c==null?void 0:c.score;if(h)return`${(h*100).toFixed(2)}%`},v=h=>h.split("_").join(" ");return r?pe.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[pe.jsxs("header",{children:[pe.jsx("h6",{children:e}),pe.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),pe.jsxs("div",{className:"carousel_card",children:[pe.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&pe.jsxs("span",{children:[pe.jsx("p",{children:"Detection"}),pe.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&pe.jsxs("span",{children:[pe.jsx("p",{children:"Match"}),pe.jsx("img",{src:(C=c==null?void 0:c.match)==null?void 0:C.image,alt:"Matched Image"})]})]}),(y=c==null?void 0:c.labels)!=null&&y[0]?pe.jsxs("div",{className:"carousel_info_container",children:[pe.jsx("p",{className:"text_s",children:"Label"}),pe.jsx("h6",{className:"capatalize_first_letter",children:((b=c==null?void 0:c.labels)==null?void 0:b[0])||"N.A."})]}):pe.jsx(pe.Fragment,{}),d()?pe.jsxs("div",{className:"carousel_info_container",children:[pe.jsx("p",{className:"text_s",children:"Score"}),pe.jsx("h6",{className:"font_secondary",children:d()})]}):pe.jsx(pe.Fragment,{}),pe.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?pe.jsxs(pe.Fragment,{children:[pe.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((h,S)=>{var E,x;return pe.jsxs("div",{className:"event_preview_carousel_attribute",children:[pe.jsx("p",{className:"text_s capatalize_first_letter",title:v(h)||h,children:v(h)||h}),pe.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((E=c==null?void 0:c.attributes)==null?void 0:E[h])||"N.A.",children:((x=c==null?void 0:c.attributes)==null?void 0:x[h])||"N.A."})]},S)})||pe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):pe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&pe.jsxs("footer",{className:"event_preview_carousel_footer",children:[pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"leftArrow",content:"Prev Object",textSize:"xs",onClick:()=>u(al.PREV)}),pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",content:"Next Object",textSize:"xs",onClick:()=>u(al.NEXT)})]})]}):pe.jsx(pe.Fragment,{})},o6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),i6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),el=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},cT=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var f;const u=n,d=u==null?void 0:u[s];d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon);const v=O.useCallback(g=>{switch(g.key){case"ArrowUp":if(s===0)return;el(g.target),c==null||c(s-1);break;case"ArrowDown":if(s===(u==null?void 0:u.length)-1)return;el(g.target),c==null||c(s+1);break}},[s,u==null?void 0:u.length,c]);return O.useEffect(()=>(window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)),[v]),pe.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?pe.jsx("p",{children:"No data found! 📊"}):pe.jsxs(pe.Fragment,{children:[pe.jsxs("span",{className:"event_preview_dialog_header",children:[pe.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&pe.jsx("img",{src:t,alt:e})}),pe.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:pe.jsx("h6",{className:"hydra_text_limit",children:e})})]}),pe.jsxs("div",{className:"event_preview_content_container",children:[pe.jsxs("span",{className:"event_preview_image_container",children:[pe.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),pe.jsxs("div",{className:"event_preview_image_footer",children:[pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),pe.jsx("p",{children:"Severity"}),pe.jsx("h5",{title:d==null?void 0:d.severity,children:(f=d==null?void 0:d.severity)==null?void 0:f.toLocaleLowerCase()})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Source"}),pe.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Date"}),pe.jsx("h5",{title:o6.format(new Date(d==null?void 0:d.timeStamp)),children:o6.format(new Date(d==null?void 0:d.timeStamp))})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Time"}),pe.jsx("h5",{title:i6.format(new Date(d==null?void 0:d.timeStamp)),children:i6.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),pe.jsx("span",{className:"event_preview_content",children:pe.jsx(M9,{data:d==null?void 0:d.blobs})}),pe.jsxs("span",{className:"event_preview_other_events_container",children:[pe.jsxs("header",{children:[pe.jsx("h6",{children:"Events"}),pe.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),pe.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((g,p)=>pe.jsx("div",{onClick:C=>{C.target.tagName!="INPUT"&&(el(C.target),c==null||c(p))},children:pe.jsx(m6,{data:g,isFocused:p==s},p)},g==null?void 0:g.id))}),pe.jsxs("footer",{children:[pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"arrowUp",content:"Prev Event",onClick:g=>{s!==0&&(el(g.target),c==null||c(s-1))},textSize:"xs"}),pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"arrowDown",content:"Next Event",onClick:g=>{s!==(u==null?void 0:u.length)-1&&(el(g.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},uT={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},dT=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>pe.jsx(Qr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:uT[r],children:a}),fT=({options:e,onChange:t,value:n,placeholder:r="Select Items...",triggerHighlightColor:a="#29292955",triggerBackgroundColor:s="#29292929",menuBackgroundColor:c="white",menuActiveColor:u="rgba(255, 204, 0, 0.2)",menuHoverColor:d="rgba(255, 204, 0, 0.1)",borderColor:v="#29292955",disabled:f=!1,searchable:g=!0,maxTagCount:p="responsive",suffixIcon:C=!0,width:y="300px",height:b="m",id:h="",className:S=""})=>pe.jsx(ao,{id:h,disabled:f,showSearch:g,className:`multi_select_container ${S} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:y,"--c_trigger_highlight":a,"--c_trigger_background":s,"--c_menu_background":c,"--c_menu_active":u,"--c_menu_hover":d,"--c_border":v},suffixIcon:C?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:p,maxTagPlaceholder:E=>pe.jsx(O0,{styles:{root:{pointerEvents:"none"}},title:E.map(({label:x})=>x).join(", "),children:pe.jsxs("span",{children:["+",E.length]})})}),mT=({currentSection:e,currentSubSection:t,height:n="30rem",width:r="16rem",collapsedWidth:a="5.5rem",config:s,isOpen:c,onToggle:u})=>{var p,C,y;const[d,v]=O.useState(!0),f=c??d,g=()=>{const b=!f;v(b),u==null||u(b)};return pe.jsxs("span",{className:"awi_sidebar "+(f?"open":"closed"),style:{height:n,"--sidebar-width":r,"--sidebar-collapsed-width":a},children:[pe.jsxs("header",{className:"awi_sidebar_header",children:[f?pe.jsx(Eo,{name:s.header.logo,size:"auto",className:"awi_sidebar_logo open",onClick:s.header.logoClickAction}):pe.jsx(Eo,{size:"auto",name:s.header.logoCollapsed,className:"awi_sidebar_logo closed",onClick:s.header.logoClickAction}),pe.jsx(Eo,{name:f?"sidebarClose":"sidebarOpen",className:`awi_sidebar_close_icon ${f?"open":"closed"}`,onClick:g})]}),pe.jsx("main",{className:`awi_sidebar_body ${f?"open":"closed"}`,children:s.body.static.map((b,h)=>pe.jsx("div",{className:"awi_sidebar_nav_container",children:pe.jsx(Lo,{variant:e==b.key?"primary":"nav",size:"l",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)}))}),pe.jsx("div",{className:"awi_sidebar_content_dynamic",children:(p=s.body.dynamic)!=null&&p[e]?(y=(C=s.body.dynamic)==null?void 0:C[e])==null?void 0:y.map((b,h)=>pe.jsx("div",{className:"awi_sidebar_nav_container",children:pe.jsx(Lo,{variant:t==b.key?"primary":"secondary",size:"m",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)})):pe.jsx(pe.Fragment,{})}),pe.jsxs("footer",{className:`awi_sidebar_footer ${e==s.footer.key?"active":""}`,children:[pe.jsx("img",{src:s.footer.image,alt:"Footer or Profile Image"}),pe.jsxs("div",{className:"awi_sidebar_footer_content "+(f?"open":"closed"),children:[pe.jsx("p",{className:"title",children:s.footer.title}),pe.jsx("p",{className:"description",children:s.footer.description})]})]})]})},vT=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[v,f]=O.useState(e),g=e!==void 0,p=g?e:v,C=y=>{g||f(y),a==null||a(y)};return pe.jsx(k0,{checked:p,onChange:C,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var ol={exports:{}};/**
268
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:u0},[`${t}-panel > ${t}-time-panel`]:{paddingTop:_},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${$} ease-out`},yf(e,H,F)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:H,borderRadius:V,boxShadow:j,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:P,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${we(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ds),{borderRadius:q,paddingInline:h,paddingBlock:e.calc(y).sub(I).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:S},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${we(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},hs(e,"slide-up"),hs(e,"slide-down"),gs(e,"move-up"),gs(e,"move-down")]},p9=la("DatePicker",e=>{const t=_n(i9(e),vD(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mD(t),bD(t),pD(t),CD(t),uD(t),js(e,{focusElCls:`${e.componentCls}-focused`})]},hD);var yD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},wD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:yD}))},H0=i.forwardRef(wD);process.env.NODE_ENV!=="production"&&(H0.displayName="CalendarOutlined");var ED={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},SD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:ED}))},V0=i.forwardRef(SD);process.env.NODE_ENV!=="production"&&(V0.displayName="ClockCircleOutlined");var xD={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},LD=function(t,n){return i.createElement(Cr,We({},t,{ref:n,icon:xD}))},C9=i.forwardRef(LD);process.env.NODE_ENV!=="production"&&(C9.displayName="SwapRightOutlined");function MD(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function $D(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function b9(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=gf(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[RD,_D]=["week","WeekPicker"],[OD,PD]=["month","MonthPicker"],[ID,FD]=["year","YearPicker"],[ND,DD]=["quarter","QuarterPicker"],[y9,a6]=["time","TimePicker"],TD=e=>i.createElement(Po,Object.assign({size:"small",type:"primary"},e));function w9(e){return O.useMemo(()=>Object.assign({button:TD},e),[e])}var AD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const HD=e=>{const t=O.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:v,placement:f,size:g,disabled:p,bordered:C=!0,placeholder:y,popupClassName:b,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:L}=n,$=AD(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),M=i.useRef(null),{getPrefixCls:_,direction:N,getPopupContainer:H,rangePicker:V}=O.useContext(gn),j=_("picker",s),{compactSize:q,compactItemClassnames:U}=Ds(j,N),A=_(),[B,P]=_0("rangePicker",x,C),F=Ll(j),[I,z,k]=p9(j,F);if(process.env.NODE_ENV!=="production"){const ne=dr("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=b9(n,j),Y=w9(u),J=Rl(ne=>{var oe;return(oe=g??q)!==null&&oe!==void 0?oe:ne}),X=i.useContext(Qa),ce=p??X,de=O.useContext(pi),{hasFeedback:re,status:me,feedbackIcon:he}=de,ve=i.createElement(i.Fragment,null,L===y9?i.createElement(V0,null):i.createElement(H0,null),re&&he);O.useImperativeHandle(r,()=>M.current);const[le]=ro("Calendar",ss),se=Object.assign(Object.assign({},le),n.locale),[ue]=Ml("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return I(i.createElement(Zs,{space:!0},i.createElement(r9,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(C9,null)),disabled:ce,ref:M,placement:f,placeholder:$D(se,L,y),suffixIcon:ve,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:L},$,{className:Re({[`${j}-${J}`]:J,[`${j}-${B}`]:P},$0(j,R0(me,S),re),z,U,d,V==null?void 0:V.className,k,F,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),v),locale:se.lang,prefixCls:j,getPopupContainer:c||H,generateConfig:e,components:Y,direction:N,classNames:{popup:Re(z,b||h,k,F,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var VD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const kD=e=>{const t=(d,v)=>{const f=v===a6?"timePicker":"datePicker",g=O.forwardRef((p,C)=>{var y;const{prefixCls:b,getPopupContainer:h,components:S,style:E,className:x,rootClassName:L,size:$,bordered:M,placement:_,placeholder:N,popupClassName:H,dropdownClassName:V,disabled:j,status:q,variant:U,onCalendarChange:A}=p,B=VD(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:P,direction:F,getPopupContainer:I,[f]:z}=O.useContext(gn),k=P("picker",b),{compactSize:Z,compactItemClassnames:Y}=Ds(k,F),J=i.useRef(null),[X,ce]=_0("datePicker",U,M),de=Ll(k),[re,me,he]=p9(k,de);O.useImperativeHandle(C,()=>J.current);const ve={showToday:!0},le=d||p.picker,se=P(),{onSelect:ue,multiple:ne}=B,oe=ue&&d==="time"&&!ne,ge=(lt,Qe,Ee)=>{A==null||A(lt,Qe,Ee),oe&&ue(lt)};if(process.env.NODE_ENV!=="production"){const lt=dr(v||"DatePicker");process.env.NODE_ENV!=="production"&&lt(d!=="quarter","deprecated",`DatePicker.${v} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),lt.deprecated(!V,"dropdownClassName","popupClassName"),lt.deprecated(!("bordered"in p),"bordered","variant"),lt.deprecated(!oe,"onSelect","onCalendarChange")}const[Ce,_e]=b9(p,k),Oe=w9(S),He=Rl(lt=>{var Qe;return(Qe=$??Z)!==null&&Qe!==void 0?Qe:lt}),Pe=i.useContext(Qa),qe=j??Pe,Ve=O.useContext(pi),{hasFeedback:ut,status:pt,feedbackIcon:et}=Ve,Ye=i.createElement(i.Fragment,null,le==="time"?i.createElement(V0,null):i.createElement(H0,null),ut&&et),[Ct]=ro("DatePicker",ss),tt=Object.assign(Object.assign({},Ct),p.locale),[rt]=Ml("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return re(i.createElement(Zs,{space:!0},i.createElement(o9,Object.assign({ref:J,placeholder:MD(tt,le,N),suffixIcon:Ye,placement:_,prevIcon:i.createElement("span",{className:`${k}-prev-icon`}),nextIcon:i.createElement("span",{className:`${k}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${k}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${k}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:ge},ve,B,{locale:tt.lang,className:Re({[`${k}-${He}`]:He,[`${k}-${X}`]:ce},$0(k,R0(pt,q),ut),me,Y,z==null?void 0:z.className,x,he,de,L),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:k,getPopupContainer:h||I,generateConfig:e,components:Oe,direction:F,disabled:qe,classNames:{popup:Re(me,he,de,L,H||V)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:rt})},allowClear:Ce,removeIcon:_e}))))});return process.env.NODE_ENV!=="production"&&v&&(g.displayName=v),g},n=t(),r=t(RD,_D),a=t(OD,PD),s=t(ID,FD),c=t(ND,DD),u=t(y9,a6);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},E9=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=kD(e),u=HD(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},Li=E9(aN),BD=C0(Li,"popupAlign",void 0,"picker");Li._InternalPanelDoNotUseOrYouWillBeFired=BD;const jD=C0(Li.RangePicker,"popupAlign",void 0,"picker");Li._InternalRangePanelDoNotUseOrYouWillBeFired=jD;Li.generatePicker=E9;var zD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const ZD=e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,v=zD(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(gn),g=f(),p=t||f("modal"),C=Ll(g),[y,b,h]=M8(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(R8,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(E8,Object.assign({},e)),children:u},y(i.createElement(g0,Object.assign({prefixCls:p,className:Re(b,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},v,{closeIcon:w8(p,r),closable:a},E)))},WD=A8(ZD);function S9(e){return Il(I8(e))}const Qr=$8;Qr.useModal=vP;Qr.info=function(t){return Il(F8(t))};Qr.success=function(t){return Il(N8(t))};Qr.error=function(t){return Il(D8(t))};Qr.warning=S9;Qr.warn=S9;Qr.confirm=function(t){return Il(T8(t))};Qr.destroyAll=function(){for(;wo.length;){const t=wo.pop();t&&t()}};Qr.config=cP;Qr._InternalPanelDoNotUseOrYouWillBeFired=WD;process.env.NODE_ENV!=="production"&&(Qr.displayName="Modal");var UD=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],x9=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,v=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,y=e.onKeyDown,b=an(e,UD),h=rr(!1,{value:c,defaultValue:u}),S=te(h,2),E=S[0],x=S[1];function L(N,H){var V=E;return d||(V=N,x(V),C==null||C(V,H)),V}function $(N){N.which===Te.LEFT?L(!1,N):N.which===Te.RIGHT&&L(!0,N),y==null||y(N)}function M(N){var H=L(!E,N);p==null||p(H,N)}var _=Re(a,s,(n={},Q(n,"".concat(a,"-checked"),E),Q(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},b,{type:"button",role:"switch","aria-checked":E,disabled:d,className:_,ref:t,onKeyDown:$,onClick:M}),v,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});x9.displayName="Switch";const qD=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,v=`${t}-inner`,f=we(d(u).add(d(r).mul(2)).equal()),g=we(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:we(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${v}-checked, ${v}-unchecked`]:{minHeight:n},[`${v}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${v}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${v}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${v}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${we(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${v}`]:{[`${v}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${v}`]:{[`${v}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},YD=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},GD=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${we(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},KD=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,v=we(u(c).add(u(r).mul(2)).equal()),f=we(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${v} - ${f})`,marginInlineEnd:`calc(100% - ${v} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${v} + ${f})`,marginInlineEnd:`calc(-100% + ${v} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},XD=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ga(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:we(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),r0(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},QD=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,v=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:v*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:v,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:v/2,innerMaxMarginSM:v+u+u*2}},JD=la("Switch",e=>{const t=_n(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[XD(t),KD(t),GD(t),YD(t),qD(t)]},QD);var eT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const tT=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:v,value:f,defaultChecked:g,defaultValue:p,onChange:C}=e,y=eT(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,h]=rr(!1,{value:v??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(gn),L=i.useContext(Qa),$=(a??L)||s,M=S("switch",n),_=i.createElement("div",{className:`${M}-handle`},s&&i.createElement(Is,{className:`${M}-loading-icon`})),[N,H,V]=JD(M),j=Rl(r),q=Re(x==null?void 0:x.className,{[`${M}-small`]:j==="small",[`${M}-loading`]:s,[`${M}-rtl`]:E==="rtl"},c,u,H,V),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),A=function(){h(arguments.length<=0?void 0:arguments[0]),C==null||C.apply(void 0,arguments)};return N(i.createElement(s0,{component:"Switch"},i.createElement(x9,Object.assign({},y,{checked:b,onChange:A,prefixCls:M,className:q,style:U,disabled:$,ref:t,loadingIcon:_}))))}),k0=tT;k0.__ANT_SWITCH=!0;process.env.NODE_ENV!=="production"&&(k0.displayName="Switch");const L9=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:v="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:y="m",id:b="",suffixIcon:h=!0})=>pe.jsx(ao,{id:b,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":v,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),nT=e=>`https://flagsapi.com/${e}/flat/64.png`,B1=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],rT=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,v]=O.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=B1[89])==null?void 0:p.dialingCode),f=y=>{var b;v(String(y)),t(y+c+(((b=e.split(c))==null?void 0:b[1])||""))},g=y=>{const{value:b}=y.target;t(d+c+b)};return pe.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[pe.jsx(L9,{options:B1==null?void 0:B1.map(y=>({label:pe.jsx("img",{src:nT(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),pe.jsx(k2,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),pe.jsx(k2,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},aT="DD MMM YY - HH:mm:ss",oT=[{label:"Today",value:[En().startOf("day"),En().endOf("day")]},{label:"This Week",value:[En().startOf("week"),En().endOf("week")]},{label:"Last 7 Days",value:[En().subtract(7,"days"),En()]},{label:"This Month",value:[En().startOf("month"),En().endOf("month")]},{label:"Last 30 Days",value:[En().subtract(30,"days"),En()]}],iT=e=>e&&e.isAfter(En().endOf("day")),{RangePicker:lT}=Li,sT=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=aT,presetRanges:s=oT,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:v="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:y=!1,...b})=>{const h=e?[En(e[0]),En(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(L=>(L==null?void 0:L.toDate())||new Date);t(x)}else t&&t([])};return pe.jsx(lT,{showTime:r,...b,value:h,onChange:S,format:a,presets:s,disabledDate:y?iT:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":v,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var al=(e=>(e.NEXT="next",e.PREV="prev",e))(al||{});const M9=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,C,y,b;const[a,s]=O.useState(0),c=(r==null?void 0:r[a])??{},u=h=>{h===al.NEXT?s(S=>(S+1)%(r==null?void 0:r.length)):h===al.PREV&&s(S=>(S-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const h=c==null?void 0:c.score;if(h)return`${(h*100).toFixed(2)}%`},v=h=>h.split("_").join(" ");return r?pe.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[pe.jsxs("header",{children:[pe.jsx("h6",{children:e}),pe.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),pe.jsxs("div",{className:"carousel_card",children:[pe.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&pe.jsxs("span",{children:[pe.jsx("p",{children:"Detection"}),pe.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&pe.jsxs("span",{children:[pe.jsx("p",{children:"Match"}),pe.jsx("img",{src:(C=c==null?void 0:c.match)==null?void 0:C.image,alt:"Matched Image"})]})]}),(y=c==null?void 0:c.labels)!=null&&y[0]?pe.jsxs("div",{className:"carousel_info_container",children:[pe.jsx("p",{className:"text_s",children:"Label"}),pe.jsx("h6",{className:"capatalize_first_letter",children:((b=c==null?void 0:c.labels)==null?void 0:b[0])||"N.A."})]}):pe.jsx(pe.Fragment,{}),d()?pe.jsxs("div",{className:"carousel_info_container",children:[pe.jsx("p",{className:"text_s",children:"Score"}),pe.jsx("h6",{className:"font_secondary",children:d()})]}):pe.jsx(pe.Fragment,{}),pe.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?pe.jsxs(pe.Fragment,{children:[pe.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((h,S)=>{var E,x;return pe.jsxs("div",{className:"event_preview_carousel_attribute",children:[pe.jsx("p",{className:"text_s capatalize_first_letter",title:v(h)||h,children:v(h)||h}),pe.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((E=c==null?void 0:c.attributes)==null?void 0:E[h])||"N.A.",children:((x=c==null?void 0:c.attributes)==null?void 0:x[h])||"N.A."})]},S)})||pe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):pe.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&pe.jsxs("footer",{className:"event_preview_carousel_footer",children:[pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"leftArrow",content:"Prev Object",textSize:"xs",onClick:()=>u(al.PREV)}),pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",content:"Next Object",textSize:"xs",onClick:()=>u(al.NEXT)})]})]}):pe.jsx(pe.Fragment,{})},o6=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),i6=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),el=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},cT=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var f;const u=n,d=u==null?void 0:u[s];d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon);const v=O.useCallback(g=>{switch(g.key){case"ArrowUp":if(s===0)return;el(g.target),c==null||c(s-1);break;case"ArrowDown":if(s===(u==null?void 0:u.length)-1)return;el(g.target),c==null||c(s+1);break}},[s,u==null?void 0:u.length,c]);return O.useEffect(()=>(window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)),[v]),pe.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?pe.jsx("p",{children:"No data found! 📊"}):pe.jsxs(pe.Fragment,{children:[pe.jsxs("span",{className:"event_preview_dialog_header",children:[pe.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&pe.jsx("img",{src:t,alt:e})}),pe.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:pe.jsx("h6",{className:"hydra_text_limit",children:e})})]}),pe.jsxs("div",{className:"event_preview_content_container",children:[pe.jsxs("span",{className:"event_preview_image_container",children:[pe.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),pe.jsxs("div",{className:"event_preview_image_footer",children:[pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),pe.jsx("p",{children:"Severity"}),pe.jsx("h5",{title:d==null?void 0:d.severity,children:(f=d==null?void 0:d.severity)==null?void 0:f.toLocaleLowerCase()})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Source"}),pe.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Date"}),pe.jsx("h5",{title:o6.format(new Date(d==null?void 0:d.timeStamp)),children:o6.format(new Date(d==null?void 0:d.timeStamp))})]}),pe.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[pe.jsx("p",{children:"Time"}),pe.jsx("h5",{title:i6.format(new Date(d==null?void 0:d.timeStamp)),children:i6.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),pe.jsx("span",{className:"event_preview_content",children:pe.jsx(M9,{data:d==null?void 0:d.blobs})}),pe.jsxs("span",{className:"event_preview_other_events_container",children:[pe.jsxs("header",{children:[pe.jsx("h6",{children:"Events"}),pe.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),pe.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((g,p)=>pe.jsx("div",{onClick:C=>{C.target.tagName!="INPUT"&&(el(C.target),c==null||c(p))},children:pe.jsx(m6,{data:g,isFocused:p==s},p)},g==null?void 0:g.id))}),pe.jsxs("footer",{children:[pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"arrowUp",content:"Prev Event",onClick:g=>{s!==0&&(el(g.target),c==null||c(s-1))},textSize:"xs"}),pe.jsx(Lo,{variant:"secondary",size:"s",width:"50%",icon:"arrowDown",content:"Next Event",onClick:g=>{s!==(u==null?void 0:u.length)-1&&(el(g.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},uT={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},dT=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>pe.jsx(Qr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:uT[r],children:a}),fT=({options:e,onChange:t,value:n,placeholder:r="Select Items...",triggerHighlightColor:a="#29292955",triggerBackgroundColor:s="#29292929",menuBackgroundColor:c="white",menuActiveColor:u="rgba(255, 204, 0, 0.2)",menuHoverColor:d="rgba(255, 204, 0, 0.1)",borderColor:v="#29292955",disabled:f=!1,searchable:g=!0,maxTagCount:p="responsive",suffixIcon:C=!0,width:y="300px",height:b="m",id:h="",className:S=""})=>pe.jsx(ao,{id:h,disabled:f,showSearch:g,className:`multi_select_container ${S} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:y,"--c_trigger_highlight":a,"--c_trigger_background":s,"--c_menu_background":c,"--c_menu_active":u,"--c_menu_hover":d,"--c_border":v},suffixIcon:C?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:p,maxTagPlaceholder:E=>pe.jsx(O0,{styles:{root:{pointerEvents:"none"}},title:E.map(({label:x})=>x).join(", "),children:pe.jsxs("span",{children:["+",E.length]})})}),mT=({currentSection:e,currentSubSection:t,height:n="30rem",width:r="16rem",collapsedWidth:a="5.5rem",config:s,isOpen:c,onToggle:u})=>{var p,C,y;const[d,v]=O.useState(!0),f=c??d,g=()=>{const b=!f;v(b),u==null||u(b)};return pe.jsxs("span",{className:"awi_sidebar "+(f?"open":"closed"),style:{height:n,"--sidebar-width":r,"--sidebar-collapsed-width":a},children:[pe.jsxs("header",{className:"awi_sidebar_header",children:[f?pe.jsx(Eo,{name:s.header.logo,size:"auto",className:"awi_sidebar_logo open",onClick:s.header.logoClickAction}):pe.jsx(Eo,{size:"auto",name:s.header.logoCollapsed,className:"awi_sidebar_logo closed",onClick:s.header.logoClickAction}),pe.jsx(Eo,{name:f?"sidebarClose":"sidebarOpen",className:`awi_sidebar_close_icon ${f?"open":"closed"}`,onClick:g})]}),pe.jsx("main",{className:`awi_sidebar_body ${f?"open":"closed"}`,children:s.body.static.map((b,h)=>pe.jsx("div",{className:"awi_sidebar_nav_container",children:pe.jsx(Lo,{variant:e==b.key?"primary":"nav",size:"l",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)}))}),pe.jsx("div",{className:"awi_sidebar_content_dynamic",children:(p=s.body.dynamic)!=null&&p[e]?(y=(C=s.body.dynamic)==null?void 0:C[e])==null?void 0:y.map((b,h)=>pe.jsx("div",{className:"awi_sidebar_nav_container",children:pe.jsx(Lo,{variant:t==b.key?"primary":"secondary",size:"m",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)})):pe.jsx(pe.Fragment,{})}),pe.jsxs("footer",{className:`awi_sidebar_footer ${e==s.footer.key?"active":""}`,onClick:s.footer.action,children:[pe.jsx("img",{src:s.footer.image,alt:"Footer or Profile Image"}),pe.jsxs("div",{className:"awi_sidebar_footer_content "+(f?"open":"closed"),children:[pe.jsx("p",{className:"title",children:s.footer.title}),pe.jsx("p",{className:"description",children:s.footer.description})]})]})]})},vT=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[v,f]=O.useState(e),g=e!==void 0,p=g?e:v,C=y=>{g||f(y),a==null||a(y)};return pe.jsx(k0,{checked:p,onChange:C,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var ol={exports:{}};/**
269
269
  * @license
270
270
  * Lodash <https://lodash.com/>
271
271
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
package/dist/index.js CHANGED
@@ -76,6 +76,11 @@ import './assets/index.css';const Sb = {
76
76
  footer: {
77
77
  background: "#FFCC00"
78
78
  }
79
+ },
80
+ topbar: {
81
+ background: "#FFFFFF",
82
+ text: "#292929",
83
+ border: "#EAEBEE"
79
84
  }
80
85
  }, xb = {
81
86
  text: {
@@ -26773,6 +26778,7 @@ const bT = ({
26773
26778
  "footer",
26774
26779
  {
26775
26780
  className: `awi_sidebar_footer ${e == s.footer.key ? "active" : ""}`,
26781
+ onClick: s.footer.action,
26776
26782
  children: [
26777
26783
  /* @__PURE__ */ he.jsx("img", { src: s.footer.image, alt: "Footer or Profile Image" }),
26778
26784
  /* @__PURE__ */ he.jsxs(
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(_n,P){typeof exports=="object"&&typeof module<"u"?P(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],P):(_n=typeof globalThis<"u"?globalThis:_n||self,P(_n["Awiros UI"]={},_n.React,_n.ReactDOM))})(this,function(_n,P,lo){"use strict";var j0=document.createElement("style");j0.textContent=`*{box-sizing:border-box}body{margin:0}mark{background-color:unset!important;padding:0rem!important}hr,p{margin:0}.badge{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;box-sizing:border-box;background-color:var(--c_background, var(--awi-color-badge-background))}.badge_l{height:var(--awi_font_l, var(--awi-size-text-l));padding:5.5px 3px;gap:10px;color:var(--c_text, var(--awi-color-badge-text));text-align:center;font-size:var(--awi_font_s, var(--awi-size-text-s));font-style:normal;font-weight:var(--awi_font_weight_s, var(--awi-weight-text-s));line-height:normal}.badge_m{height:var(--awi_font_m, var(--awi-size-text-m));padding:5.5px 3px;gap:10px;flex-shrink:0;color:var(--c_text, var(--awi-color-badge-text));text-align:center;font-size:var(--awi_font_s, var(--awi-size-text-s));font-style:normal;font-weight:var(--awi_font_weight_s, var(--awi-weight-text-s));line-height:normal}.badge_dot{width:8px;height:8px;min-width:8px;min-height:8px;padding:0}.icon_svg{width:100%;height:100%}.icon.size_xs{width:16px;height:16px}.icon.size_s{width:20px;height:20px}.icon.size_m{width:24px;height:24px}.icon.size_l{width:32px;height:32px}.icon.size_xl{width:48px;height:48px}.spinner{animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button{display:flex;align-items:center;cursor:pointer;position:relative;border:none;outline-width:1px;outline-style:solid;border-radius:500px;background-color:unset;outline-color:var(--c_button_border, var(--awi-color-button-border));color:var(--c_button_text, var(--awi-color-button-text))}.button:after{content:"";position:absolute;z-index:0;width:100%;height:100%;top:0;left:0;border-radius:500px;background-color:var(--c_button_bg, var(--awi-color-button-background))}.button.before{flex-direction:row}.button.after{flex-direction:row-reverse}.button.primary:after{filter:opacity(.1)}.button.primary:hover:after{filter:opacity(.2)}.button.primary:active:after{filter:opacity(1)}.button.secondary:after{filter:opacity(.1)}.button.secondary:hover:after{filter:opacity(.15)}.button.secondary:active:after{filter:opacity(.2)}.button.tertiary:after{filter:opacity(0)}.button.tertiary:hover:after{filter:opacity(.1)}.button.tertiary:active:after{filter:opacity(.2)}.button.nav:after{filter:opacity(0)}.button.nav:hover:after{filter:opacity(.1)}.button.nav:active:after{filter:opacity(.2)}.button.disabled:after{background-color:var(--awi-color-common-disabled, #f5f4f4)}.button.disabled.primary:after,.button.disabled.secondary:after{filter:opacity(1)}.button.disabled.tertiary:after,.button.disabled.nav:after{filter:opacity(0)}.button.disabled{cursor:no-drop;color:var(--awi-color-text-disabled, #767676);outline-color:var(--awi-color-common-disabled, #dedede)}.button.disabled.primary,.button.disabled.primary:hover,.button.disabled.primary:active{outline-width:1px}.button.disabled.secondary,.button.disabled.secondary:hover,.button.disabled.secondary:active,.button.disabled.tertiary,.button.disabled.tertiary:hover,.button.disabled.tertiary:active,.button.disabled.nav,.button.disabled.nav:hover,.button.disabled.nav:active{outline-width:0px}.button.disabled.primary,.button.primary{outline-width:1px}.button.tertiary,.button.secondary{outline-width:0px}.button.secondary:hover,.button.secondary:active{outline-width:1px}.button.nav,.button.nav:hover{outline-width:0px}.button.nav:active{outline-width:1px}.button>p,.button>svg{z-index:2;pointer-events:none}.button.size_s{--button_height: 2rem;height:var(--button_height);padding:8px 16px}.button.size_m{--button_height: 2.5rem;height:var(--button_height);padding:10px 18px}.button.size_l{--button_height: 3rem;height:var(--button_height);padding:12px 20px}.button.size_s{padding:0 8px}.button.size_m{padding:0 9px}.button.size_l{padding:0 10px}.button.size_s.icon_button{--button_height: 2rem;height:var(--button_height);width:var(--button_height);padding:8px}.button.size_m.icon_button{--button_height: 2.5rem;height:var(--button_height);width:var(--button_height);padding:10px}.button.size_l.icon_button{--button_height: 3rem;height:var(--button_height);width:var(--button_height);padding:12px}.button>.text_xs{font-size:var(--awi-size-text-xs, 12px);line-height:12px}.button>.text_s{font-size:var(--awi-size-text-s, 14px);line-height:16px}.button>.text_m{font-size:var(--awi-size-text-m, 16px);line-height:20px}.button>.text_l{font-size:var(--awi-size-text-l, 20px);line-height:24px}.button>.text_xl{font-size:var(--awi-size-text-xl, 22px);line-height:28px}.compact_event_card{--c_surface_primary_border: #eaebee;--c_surface_primary: #fff;--c_text_primary: #292929;--c_text_secondary: #474747;--c_surface_secondary: #f3f5f7;--font_s: 14px;--font_xs: 12px}.compact_event_card{-webkit-user-select:none;user-select:none;position:relative;display:flex;justify-content:flex-start;align-items:center;background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);z-index:1}.compact_event_card>img{height:100%;width:40%;min-width:40%;max-width:40%;background-color:var(--c_surface_secondary);object-fit:contain}.compact_event_card .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.compact_event_card .compact_event_card_content{display:flex;justify-content:space-between;align-items:flex-start;flex-direction:column;width:60%;height:100%}.compact_event_card .compact_event_card_content>header{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:2% 4%;height:20%;min-height:20%;max-height:20%;border-bottom:1px solid var(--c_surface_primary_border)}.compact_event_card .compact_event_card_content>header>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details{display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;flex-grow:1;flex-wrap:wrap}.compact_event_card .compact_event_card_details>h6{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.compact_event_card .compact_event_card_details>span{display:flex;flex-direction:column;justify-content:center;gap:2%;width:50%}.compact_event_card .compact_event_card_details>span>p{text-transform:uppercase;font-size:var(--font_xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_details>span>h6{font-size:var(--font_s);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact_event_card .compact_event_card_content>footer{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;padding:2% 4%;height:20%;color:var(--c_text_primary)}.compact_event_card .compact_event_card_content>footer>.status_indicator{z-index:2}.compact_event_card .compact_event_card_content>footer>p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:capitalize}.compact_event_card .compact_event_card_content>div{word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.compact_event_card .compact_event_card_checkbox{position:absolute!important;top:.5rem;right:.5rem;z-index:10}.compact_event_card .compact_event_card_bookmark{position:absolute;top:.25rem;left:.25rem;z-index:10;height:1rem;width:1rem;max-height:1rem;max-width:1rem}.input_wrapper{display:flex;align-items:center;position:relative;border:none;box-sizing:border-box;gap:8px;border-radius:25px;background-color:var( --c_input_background, var(--awi-color-input-background) );--input_box_height_s: 2rem;--input_box_height_m: 2.5rem;--input_box_height_l: 3rem;--input_box_padding_s: 0 1rem;--input_box_padding_m: 0 1rem;--input_box_padding_l: 0 1.5rem}.input_wrapper.h_s{height:var(--input_box_height_s);padding:var(--input_box_padding_s)}.input_wrapper.h_m{height:var(--input_box_height_m);padding:var(--input_box_padding_m)}.input_wrapper.h_l{height:var(--input_box_height_l);padding:var(--input_box_padding_l)}.input_wrapper:focus-within{outline:1px solid var(--c_input_border)}.input_wrapper.icon_before{flex-direction:row}.input_wrapper.icon_after{flex-direction:row-reverse}.input{border:none;outline:none;background:transparent;text-overflow:ellipsis;overflow:hidden;min-width:0;flex-grow:1;font-size:var(--awi-size-text-s, 14px);color:var(--c_input_text, var(--awi-color-input-text))}.input::placeholder{font-size:var(--awi-size-text-s, 14px);color:var(--c_input_text, var(--awi-color-text-primary))}.icon-wrapper{display:flex;align-items:center;justify-content:center}.input_wrapper.disabled{background-color:var( --c_input_background_disabled, var(--awi-color-common-disabled) );cursor:no-drop}.input_wrapper.disabled>input{cursor:no-drop;color:var(--awi-color-text-disabled, #767676)!important}.single_select_container,.single_select_dropdown{--c_border: 1px solid #29292929;--c_trigger_background: #29292929;--c_menu_background: white;--c_menu_active: rgba(255, 204, 0, .2);--c_menu_hover: rgba(255, 204, 0, .1);--c_secondary: #292929;--c_text_primary: #292929;--font_s: 14px;--font_weight_m: 500;--select_height_s: 2rem;--select_height_m: 2.5rem;--select_height_l: 3rem;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.single_select_container{display:flex;justify-content:center;align-items:center;height:unset}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:var(--c_trigger_background)!important}.single_select_container .ant-select-selector{outline:var(--c_border)!important}.single_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--font_weight_m)!important}.single_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important}.single_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.single_select_dropdown.border{outline:var(--c_border)!important}.single_select_dropdown .ant-select-item-option{display:flex!important;align-items:center!important;background-color:var(--c_menu_background)!important;color:var(--c_text_primary)!important;border-radius:0}.single_select_dropdown .ant-select-item-option-content{display:flex!important;align-items:center!important}.single_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.single_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.single_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.single_select_dropdown .ant-select-item-option>.ant-select-item-option-content>img{max-height:1.5rem}.single_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.single_select_dropdown.items_center .ant-select-item-option-content{justify-content:center!important}.single_select_dropdown.items_start .ant-select-item-option-content{justify-content:flex-start!important}.single_select_dropdown.items_end .ant-select-item-option-content{justify-content:flex-end!important}.single_select_dropdown .ant-select-item-option-selected{background-color:var(--c_menu_active)!important}.single_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){background-color:var(--c_menu_hover)!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary)}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary)!important}.single_select_container.items_center .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:center!important}.single_select_container.items_start .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-start!important}.single_select_container.items_end .ant-select-selection-item{display:flex!important;align-items:center!important;justify-content:flex-end!important}.single_select_container .ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary)!important;background-color:unset!important}.single_select_container .ant-select-selection-item>img{max-height:1.5rem}.contact_input{display:flex;flex-direction:row;align-items:center;gap:.5rem}.ant-picker.ant-picker-range,.ant-picker-dropdown{--c_text_primary: #292929;--c_text_secondary: rgb(110, 110, 110);--c_trigger_border: #29292955;--c_trigger_background: #29292929;--c_highlight: #fc0;--c_date_range_fill: rgba(255, 204, 0, .26);--c_surface_border: rgb(234, 235, 238);--c_surface: #fff}.ant-picker.ant-picker-range{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary)!important;background-color:var(--c_trigger_background)!important;height:40px!important;padding:0 .75rem!important}.ant-picker.ant-picker-range.border{outline:1px solid var(--c_trigger_border)!important}.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px 0 0 500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end>.ant-picker-cell-inner{border-radius:0 500px 500px 0!important;background-color:var(--c_highlight)!important}.ant-picker-cell-range-end.ant-picker-cell-range-start>.ant-picker-cell-inner{border-radius:500px!important;background-color:var(--c_highlight)!important}.ant-picker-cell-today :before{border:1px solid var(--c_highlight)!important}.ant-picker-cell.ant-picker-cell-range-start.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-range-end.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-cell.ant-picker-cell-in-range.ant-picker-cell-in-view:before{background-color:var(--c_date_range_fill)!important}.ant-picker-time-panel-cell-selected>.ant-picker-time-panel-cell-inner{background-color:var(--c_date_range_fill)!important}.ant-picker-footer>.ant-picker-ranges>.ant-picker-ok>button{background-color:var(--c_highlight)!important;color:var(--c_text_primary)!important;border-radius:500px!important}.ant-picker-header>.ant-picker-header-view>button :hover{color:var(--c_text_secondary)!important}.ant-picker-active-bar{background:var(--c_highlight)!important}.ant-picker-ranges,.ant-picker-header{border-radius:0!important}.ant-picker-dropdown-range{z-index:10000;border-radius:0!important;border:1px solid var(--c_surface_border);padding:0}.ant-picker-range-wrapper{border-radius:0!important}.ant-picker-range-arrow{border:unset!important;border-color:unset!important}.ant-picker-panel-container{border-radius:0!important;background-color:var(--c_surface)!important;box-shadow:unset!important}.ant-picker-panel-layout{color:var(--c_text_primary)!important}.ant-picker-body{border-color:var(--c_surface_border)!important}.ant-picker-content>thead>tr>th,.ant-picker-cell-inner,.ant-picker-time-panel-cell-inner,.ant-picker-header-view,.ant-picker-header-super-prev-btn,.ant-picker-header-prev-btn,.ant-picker-header-next-btn,.ant-picker-header-super-next-btn{color:var(--c_text_primary)!important}.ant-picker-suffix,.ant-picker-clear{color:var(--c_text_secondary)!important}.event_preview_carousel_container{position:relative!important;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%;height:100%;--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_carousel_container>header{height:3rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--c_surface_primary_border);padding:2% 4%}.event_preview_carousel_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_carousel_container .text_s{font-size:12px}.event_preview_carousel_container .carousel_card{min-height:80%;flex-grow:1;overflow-y:auto}.event_preview_carousel_container .carousel_card_images{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span:nth-child(odd){border-right:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span{width:50%;height:10rem;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:var(--font_s)}.event_preview_carousel_container .carousel_card_images>span>img{flex-grow:1;width:100%;height:7rem;object-fit:contain;background-color:var(--c_surface_secondary)}.event_preview_carousel_container .carousel_info_container{display:flex;flex-direction:column;justify-content:center;padding:1.5% 4%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_carousel_container .carousel_card_images>span>p{height:2rem;display:flex;justify-content:flex-start;align-items:center}.event_preview_carousel_container .carousel_info_container>p{text-transform:uppercase}.event_preview_carousel_container .object_attributes_container{display:flex;flex-direction:column;padding:2% 4%;gap:.25rem;flex-grow:1}.event_preview_carousel_container .event_preview_carousel_attribute{display:flex;justify-content:space-between;align-items:center;width:100%}.event_preview_carousel_container .event_preview_carousel_attribute>p{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_attribute>h6{max-width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_carousel_container .event_preview_carousel_footer{width:100%;display:flex;justify-content:center;align-items:center;padding:.5rem;border-top:1px solid var(--c_surface_primary_border);gap:.5rem;height:3rem}.event_preview_window{--c_surface_primary_border: #eaebee;--c_surface_secondary: #f3f5f7;--c_surface_primary: #fff;--font_s: 12px;--c_text_primary: #292929;--c_text_secondary: #474747}.event_preview_window{background-color:var(--c_surface_primary);border:1px solid var(--c_surface_primary_border);border-bottom:unset;display:flex;flex-direction:column}.event_preview_window.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:1rem}.event_preview_window .event_preview_dialog_header{display:flex;justify-content:flex-start;align-items:center;height:3rem;gap:1rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_icon{width:3rem;height:100%;background-color:var(--c_surface_primary);border-right:1px solid var(--c_surface_primary_border);font-size:var(--font_s);overflow:hidden}.event_preview_window .event_preview_dialog_header_icon>img{height:100%;width:100%}.event_preview_window .event_preview_dialog_header_content{height:3rem;display:flex;justify-content:flex-start;align-items:center;gap:.25rem;width:69%}.event_preview_window .status_indicator{position:absolute;top:0;right:0;width:100%;height:100%;filter:opacity(.2);z-index:-1}.event_preview_window .event_preview_window_header_container{width:100%;display:flex;justify-content:flex-end;align-items:center;height:3rem;min-height:3rem;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_dialog_header_actions{display:flex;justify-content:flex-end;padding:0 1rem}.event_preview_window .event_preview_content_container{display:flex;width:100%;height:calc(100% - 3rem);flex-grow:1}.event_preview_window .event_preview_image_container{position:relative;display:flex;flex-direction:column;width:50%;min-height:100%;max-height:100%;height:100%}.event_preview_window .event_preview_image_container>img{width:100%;flex-grow:1;object-fit:contain;background-color:var(--c_surface_secondary);height:88%;min-height:88%}.event_preview_window .event_preview_image_footer{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--c_surface_primary_border);height:12%;max-height:12%}.event_preview_window .event_preview_image_footer_infoitem{display:flex;flex-direction:column;justify-content:space-around;height:100%;border-right:1px solid var(--c_surface_primary_border);padding:.25rem .5rem;color:var(--c_text_primary)}.event_preview_window .event_preview_image_footer_infoitem>p{text-transform:uppercase;font-size:var(--font_s)}.event_preview_window .event_preview_image_footer_infoitem>h5{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1){width:20%;position:relative;z-index:1}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>h5{text-transform:capitalize}.event_preview_window .event_preview_image_footer_infoitem:nth-child(1)>.hydra_status_indicator{z-index:2}.event_preview_window .event_preview_image_footer_infoitem:nth-child(2){width:40%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(3){width:20%}.event_preview_window .event_preview_image_footer_infoitem:nth-child(4){width:20%;border-right:unset}.event_preview_window .event_preview_content{flex-grow:1;height:100%;width:25%;background-color:var(--c_surface_primary);border-bottom:1px solid var(--c_surface_primary_border);border-right:1px solid var(--c_surface_primary_border);border-left:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events_container{width:25%;display:flex;flex-direction:column;height:100%;border-bottom:1px solid var(--c_surface_primary_border)}.event_preview_window .event_preview_other_events{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.event_preview_window .event_preview_other_events>div{width:100%}.event_preview_window .event_preview_other_events_container>header{width:100%;height:3rem;min-height:3rem;max-height:3rem;display:flex;justify-content:space-between;padding:0 2%;align-items:center;border-bottom:1px solid var(--c_surface_primary_border);background-color:var(--c_surface_primary)}.event_preview_window .event_preview_other_events_container>header>p{font-size:var(--font_s);color:var(--c_text_secondary)}.event_preview_window .event_preview_other_events_container>footer{height:3rem;padding:.5rem;gap:.5rem;display:flex;align-items:center}.event_preview_window .event_footer_color_legend_container{display:flex;justify-content:flex-start;align-items:center;padding:0 1rem 0 0}.event_preview_window .event_footer_color_legend{display:flex;justify-content:center;align-items:center;gap:.25rem;padding:0 .5rem}.event_preview_window .event_footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%}.event_preview_window .footer_action_container{display:flex;gap:1rem}.event_preview_window .load_more_container{display:flex;justify-content:center;width:100%}.event_preview_window .share_alerts_dialog{display:flex;flex-direction:column;width:100%;gap:1rem}.event_preview_window .share_alerts_dialog>input{width:100%}.ant-modal-content{padding:0!important;border-radius:0!important;border:1px solid #eaebee;box-shadow:unset!important}.ant-modal-close{top:.25rem!important;right:.25rem!important;border-radius:500px!important}.ant-modal-close .anticon{color:#292929!important}.multi_select_container,.multi_select_dropdown{--c_text_primary: #292929;--c_secondary: #292929;--c_trigger_border: #29292929;--c_menu_border: #29292929;--select_height_s: 2rem;--select_height_m: 2.5rem;--select_height_l: 3rem;--select_padding_s: 0rem 1rem;--select_padding_m: 0rem 1rem;--select_padding_l: 0rem 1.5rem}.multi_select_container{display:flex;justify-content:center;align-items:center;height:unset}.multi_select_container.border .ant-select-selector{outline:1px solid var(--c_trigger_border, var(--awi-color-multiselect-trigger-border))!important}.multi_select_container .ant-select-selector{background-color:var( --c_trigger_background, var(--awi-color-multiselect-trigger-background) )!important}.multi_select_container.ant-select-focused:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector>.ant-select-selection-item{font-weight:var(--awi-weight-text-m, 500)!important}.multi_select_container>.ant-select-selector{outline:none!important;border:none!important;border-radius:100px!important;box-shadow:none!important;color:var(--c_text_primary, var(--awi-color-text-primary))!important;background-color:var( --c_trigger_background, var(--awi-color-multiselect-trigger-background) )!important;width:100%!important;height:40px!important;padding:0 .75rem!important}.ant-select-selection-overflow-item>.ant-select-selection-item{background-color:var( --c_trigger_highlight, var(--awi-color-multiselect-trigger-highlight) )!important;border-radius:500px!important}.ant-select-selection-item{border-radius:500px!important}.multi_select_container.h_s>.ant-select-selector{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_container.h_m>.ant-select-selector{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_container.h_l>.ant-select-selector{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.ant-select-selection-wrap{height:100%}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary, var(--awi-color-text-primary))!important}.multi_select_dropdown{z-index:10000;border-radius:20px;box-shadow:unset;padding:0}.multi_select_dropdown.border{outline:1px solid var(--c_menu_border, var(--awi-color-multiselect-menu-border))}.multi_select_dropdown .ant-select-item-option{align-items:center;padding:1rem;background-color:var( --c_menu_background, var(--awi-color-multiselect-menu-background-default) )!important;color:var(--c_text_primary, var(--awi-color-text-primary))!important;border-radius:0}.multi_select_dropdown .ant-select-item-option-selected{align-items:center;padding:1rem;background-color:var( --c_menu_active, var(--awi-color-multiselect-menu-background-active) )!important}.multi_select_dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected){align-items:center;padding:1rem;background-color:var( --c_menu_hover, var(--awi-color-multiselect-menu-background-hover) )!important}.ant-select .ant-select-arrow{padding-right:.75rem;color:var(--c_secondary, var(--awi-color-multiselect-menu-icon))}.multi_select_dropdown .ant-select-item-option-state{color:var(--c_secondary, var(--awi-color-multiselect-menu-icon))!important}.ant-select-selection-placeholder{font-size:var(--font_s)!important;color:var(--c_text_primary, var(--awi-color-text-primary))!important}.ant-select-selection-item{font-size:var(--font_s)!important;color:var(--c_text_primary, var(--awi-color-text-primary))!important;background-color:unset!important}.multi_select_dropdown.h_s .ant-select-item-option{height:var(--select_height_s)!important;padding:var(--select_padding_s)!important}.multi_select_dropdown.h_m .ant-select-item-option{height:var(--select_height_m)!important;padding:var(--select_padding_m)!important}.multi_select_dropdown.h_l .ant-select-item-option{height:var(--select_height_l)!important;padding:var(--select_padding_l)!important}.multi_select_dropdown .ant-select-item-option{padding:.3rem .5rem}.awi_sidebar{transition:all .2s ease-in-out;position:sticky;z-index:1000;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;--sidebar_width: 16rem;--sidebar_collapsed_width: 5.5rem;--c_text: #292929;--c_surface: #fff;--c_surface_border: #f3f5f7;color:var(--c_text, var(--awi-color-sidebar-text));background-color:var(--c_surface, var(--awi-color-sidebar-background));border:1px solid var(--c_surface_border, var(--awi-color-sidebar-border))}.awi_sidebar.open{min-width:var(--sidebar_width);max-width:var(--sidebar_width);width:var(--sidebar_width)}.awi_sidebar.closed{min-width:var(--sidebar_collapsed_width);max-width:var(--sidebar_collapsed_width);width:var(--sidebar_collapsed_width)}.awi_sidebar_header{transition:all .2s ease-in-out;--sidebar_header_height: 5.5rem;--awiros_logo_height: 3rem;display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--sidebar_header_height);min-height:var(--sidebar_header_height);max-height:var(--sidebar_header_height);padding:1.25rem;box-sizing:border-box}.closed .awi_sidebar_header{--sidebar_header_height: 8.5rem;flex-direction:column;justify-content:flex-start;gap:1rem}.awi_sidebar_logo{--logo_aspect_ratio: 2.6;height:var(--awiros_logo_height);max-height:var(--awiros_logo_height);min-height:var(--awiros_logo_height);width:var(--logo_aspect_ratio) * var(--awiros_logo_height);min-width:var(--logo_aspect_ratio) * var(--awiros_logo_height);cursor:pointer}.awi_sidebar_close_icon{cursor:pointer!important;align-self:flex-end;margin-bottom:.15rem}.awi_sidebar_close_icon.closed{align-self:center}.awi_sidebar_body{display:flex;flex-direction:column;padding:1.25rem;gap:2px;border-bottom:1px solid var(--c_surface_border)}.awi_sidebar_body.closed{padding:0 1.25rem 1.25rem}.awi_sidebar_nav_container{position:relative;width:100%;display:flex;flex-direction:column;align-items:center}.awi_sidebar_content_dynamic{flex-grow:1;padding:1.25rem;font-size:var(--hydra_font_s);color:var(--hydra_c_text_primary);display:flex;flex-direction:column;align-items:center;gap:1rem;overflow-y:auto}.awi_sidebar_badge{position:absolute;right:1.25rem;z-index:2;top:.75rem!important}.awi_sidebar_badge.closed{right:-.5rem;z-index:100}.awi_sidebar_footer{position:relative;display:flex;cursor:pointer;padding:1.25rem;height:5rem;font-size:var(--hydra_font_s);color:var(--hydra_c_text_primary);border-top:1px solid var(--c_surface_border)}.awi_sidebar_footer.active:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--awi-color-sidebar-footer-background, #ffcc00);opacity:.1}.awi_sidebar_footer img{height:2.5rem;width:2.5rem;border-radius:500px}.awi_sidebar_footer.active img{border:2px solid var(--awi-color-sidebar-footer-background, #ffcc00)}.awi_sidebar_footer_content{display:flex;flex-direction:column;justify-content:center;margin-left:1rem;gap:.25rem;width:calc(100% - 3.75rem)}.awi_sidebar_footer_content .title{color:var(--awi-color-text-secondary, #767676);font-size:var(--awi-size-text-xs, 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.awi_sidebar_footer_content .description{color:var(--awi-color-text-primary, #292929);font-size:var(--awi-size-text-s, 14px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.awi_sidebar_footer_content.closed{width:0;display:none!important}
2
- /*$vite$:1*/`,document.head.appendChild(j0);function z0(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=z0(P),Z0=z0(lo),W0={name:"default",colors:{common:{primary:"#292929",secondary:"#767676",highlight:"#FFCC00",success:"#5DB772",warning:"#FFCC00",error:"#FF2540",info:"#0076B2",disabled:"#DEDEDE"},text:{primary:"#292929",secondary:"#767676",tertiary:"#FFFFFF",disabled:"#767676"},background:{primary:"#F3F5F7"},surface:{fill:{primary:"#FFFFFF",secondary:"#F3F5F7",tertiary:"#EAEAEA"},border:{primary:"#EAEBEE",secondary:"#BCBDBF",tertiary:"#909090"}},button:{border:"#292929",background:"#2929291a",text:"#292929"},badge:{background:"#ff2540",text:"#fff"},input:{border:"#292929",background:"#2929291a",text:"#292929"},multiselect:{icon:"#292929",trigger:{border:"#29292955",background:"#29292929",highlight:"#29292955"},menu:{border:"#29292955",background:{default:"#FFFFFF",hover:"rgba(255, 204, 0, 0.1)",active:"rgba(255, 204, 0, 0.2)"}}},sidebar:{background:"#292929",text:"#FFFFFF",border:"#292929",button:{background:"#FFCC00",text:"#292929",border:"#FFCC00"},footer:{background:"#FFCC00"}}},sizes:{text:{xs:"12px",s:"14px",m:"16px",l:"20px",xl:"22px"}},weights:{text:{s:"400",m:"500",l:"700"}}};var Tl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Al={exports:{}},Mi={};/**
2
+ /*$vite$:1*/`,document.head.appendChild(j0);function z0(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=z0(P),Z0=z0(lo),W0={name:"default",colors:{common:{primary:"#292929",secondary:"#767676",highlight:"#FFCC00",success:"#5DB772",warning:"#FFCC00",error:"#FF2540",info:"#0076B2",disabled:"#DEDEDE"},text:{primary:"#292929",secondary:"#767676",tertiary:"#FFFFFF",disabled:"#767676"},background:{primary:"#F3F5F7"},surface:{fill:{primary:"#FFFFFF",secondary:"#F3F5F7",tertiary:"#EAEAEA"},border:{primary:"#EAEBEE",secondary:"#BCBDBF",tertiary:"#909090"}},button:{border:"#292929",background:"#2929291a",text:"#292929"},badge:{background:"#ff2540",text:"#fff"},input:{border:"#292929",background:"#2929291a",text:"#292929"},multiselect:{icon:"#292929",trigger:{border:"#29292955",background:"#29292929",highlight:"#29292955"},menu:{border:"#29292955",background:{default:"#FFFFFF",hover:"rgba(255, 204, 0, 0.1)",active:"rgba(255, 204, 0, 0.2)"}}},sidebar:{background:"#292929",text:"#FFFFFF",border:"#292929",button:{background:"#FFCC00",text:"#292929",border:"#FFCC00"},footer:{background:"#FFCC00"}},topbar:{background:"#FFFFFF",text:"#292929",border:"#EAEBEE"}},sizes:{text:{xs:"12px",s:"14px",m:"16px",l:"20px",xl:"22px"}},weights:{text:{s:"400",m:"500",l:"700"}}};var Tl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Al={exports:{}},Mi={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -266,7 +266,7 @@ html body {
266
266
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
267
267
  &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:S2},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
268
268
  &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:L2},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
269
- &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:x2},[`${t}-panel > ${t}-time-panel`]:{paddingTop:O},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${M} ease-out`},Y7(e,H,F)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:H,borderRadius:k,boxShadow:j,transition:`margin ${M}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:I,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${we(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ms),{borderRadius:q,paddingInline:h,paddingBlock:e.calc(y).sub(R).div(2).equal(),cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:S},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${we(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ps(e,"slide-up"),Ps(e,"slide-down"),Os(e,"move-up"),Os(e,"move-down")]},sf=ra("DatePicker",e=>{const t=Mn(U6(e),S$(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[E$(t),$$(t),L$(t),M$(t),b$(t),Ts(e,{focusElCls:`${e.componentCls}-focused`})]},_$);var O$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},P$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:O$}))},F4=i.forwardRef(P$);process.env.NODE_ENV!=="production"&&(F4.displayName="CalendarOutlined");var I$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},R$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:I$}))},N4=i.forwardRef(R$);process.env.NODE_ENV!=="production"&&(N4.displayName="ClockCircleOutlined");var F$={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},N$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:F$}))},cf=i.forwardRef(N$);process.env.NODE_ENV!=="production"&&(cf.displayName="SwapRightOutlined");function D$(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function T$(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function uf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=z7(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[A$,H$]=["week","WeekPicker"],[k$,V$]=["month","MonthPicker"],[B$,j$]=["year","YearPicker"],[z$,Z$]=["quarter","QuarterPicker"],[df,ff]=["time","TimePicker"],W$=e=>i.createElement(po,Object.assign({size:"small",type:"primary"},e));function mf(e){return P.useMemo(()=>Object.assign({button:W$},e),[e])}var U$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const q$=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:v,placement:f,size:g,disabled:p,bordered:C=!0,placeholder:y,popupClassName:b,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=U$(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),L=i.useRef(null),{getPrefixCls:O,direction:N,getPopupContainer:H,rangePicker:k}=P.useContext(vn),j=O("picker",s),{compactSize:q,compactItemClassnames:U}=Ls(j,N),A=O(),[B,I]=g4("rangePicker",x,C),F=qi(j),[R,z,V]=sf(j,F);if(process.env.NODE_ENV!=="production"){const ne=ir("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=uf(n,j),Y=mf(u),J=Ki(ne=>{var oe;return(oe=g??q)!==null&&oe!==void 0?oe:ne}),X=i.useContext(Za),ce=p??X,de=P.useContext(ni),{hasFeedback:re,status:me,feedbackIcon:pe}=de,ve=i.createElement(i.Fragment,null,_===df?i.createElement(N4,null):i.createElement(F4,null),re&&pe);P.useImperativeHandle(r,()=>L.current);const[le]=za("Calendar",as),se=Object.assign(Object.assign({},le),n.locale),[ue]=Yi("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return R(i.createElement(Vs,{space:!0},i.createElement(z6,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(cf,null)),disabled:ce,ref:L,placement:f,placeholder:T$(se,_,y),suffixIcon:ve,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:_},M,{className:$e({[`${j}-${J}`]:J,[`${j}-${B}`]:I},m4(j,v4(me,S),re),z,U,d,k==null?void 0:k.className,V,F,E),style:Object.assign(Object.assign({},k==null?void 0:k.style),v),locale:se.lang,prefixCls:j,getPopupContainer:c||H,generateConfig:e,components:Y,direction:N,classNames:{popup:$e(z,b||h,V,F,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var Y$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const G$=e=>{const t=(d,v)=>{const f=v===ff?"timePicker":"datePicker",g=P.forwardRef((p,C)=>{var y;const{prefixCls:b,getPopupContainer:h,components:S,style:E,className:x,rootClassName:_,size:M,bordered:L,placement:O,placeholder:N,popupClassName:H,dropdownClassName:k,disabled:j,status:q,variant:U,onCalendarChange:A}=p,B=Y$(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:F,getPopupContainer:R,[f]:z}=P.useContext(vn),V=I("picker",b),{compactSize:Z,compactItemClassnames:Y}=Ls(V,F),J=i.useRef(null),[X,ce]=g4("datePicker",U,L),de=qi(V),[re,me,pe]=sf(V,de);P.useImperativeHandle(C,()=>J.current);const ve={showToday:!0},le=d||p.picker,se=I(),{onSelect:ue,multiple:ne}=B,oe=ue&&d==="time"&&!ne,ge=(lt,Qe,Ee)=>{A==null||A(lt,Qe,Ee),oe&&ue(lt)};if(process.env.NODE_ENV!=="production"){const lt=ir(v||"DatePicker");process.env.NODE_ENV!=="production"&&lt(d!=="quarter","deprecated",`DatePicker.${v} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),lt.deprecated(!k,"dropdownClassName","popupClassName"),lt.deprecated(!("bordered"in p),"bordered","variant"),lt.deprecated(!oe,"onSelect","onCalendarChange")}const[Ce,Oe]=uf(p,V),Pe=mf(S),He=Ki(lt=>{var Qe;return(Qe=M??Z)!==null&&Qe!==void 0?Qe:lt}),Ie=i.useContext(Za),qe=j??Ie,ke=P.useContext(ni),{hasFeedback:ut,status:pt,feedbackIcon:et}=ke,Ye=i.createElement(i.Fragment,null,le==="time"?i.createElement(N4,null):i.createElement(F4,null),ut&&et),[Ct]=za("DatePicker",as),tt=Object.assign(Object.assign({},Ct),p.locale),[rt]=Yi("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return re(i.createElement(Vs,{space:!0},i.createElement(W6,Object.assign({ref:J,placeholder:D$(tt,le,N),suffixIcon:Ye,placement:O,prevIcon:i.createElement("span",{className:`${V}-prev-icon`}),nextIcon:i.createElement("span",{className:`${V}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${V}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${V}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:ge},ve,B,{locale:tt.lang,className:$e({[`${V}-${He}`]:He,[`${V}-${X}`]:ce},m4(V,v4(pt,q),ut),me,Y,z==null?void 0:z.className,x,pe,de,_),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:V,getPopupContainer:h||R,generateConfig:e,components:Pe,direction:F,disabled:qe,classNames:{popup:$e(me,pe,de,_,H||k)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:rt})},allowClear:Ce,removeIcon:Oe}))))});return process.env.NODE_ENV!=="production"&&v&&(g.displayName=v),g},n=t(),r=t(A$,H$),a=t(k$,V$),s=t(B$,j$),c=t(z$,Z$),u=t(df,ff);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},vf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=G$(e),u=q$(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},fi=vf(mM),K$=Q2(fi,"popupAlign",void 0,"picker");fi._InternalPanelDoNotUseOrYouWillBeFired=K$;const X$=Q2(fi.RangePicker,"popupAlign",void 0,"picker");fi._InternalRangePanelDoNotUseOrYouWillBeFired=X$,fi.generatePicker=vf;var Q$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const J$=Zd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,v=Q$(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(vn),g=f(),p=t||f("modal"),C=qi(g),[y,b,h]=Rd(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(Nd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(Md,Object.assign({},e)),children:u},y(i.createElement(P2,Object.assign({prefixCls:p,className:$e(b,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},v,{closeIcon:Ld(p,r),closable:a},E)))});function gf(e){return nl(Hd(e))}const zr=Fd;zr.useModal=xx,zr.info=function(t){return nl(kd(t))},zr.success=function(t){return nl(Vd(t))},zr.error=function(t){return nl(Bd(t))},zr.warning=gf,zr.warn=gf,zr.confirm=function(t){return nl(jd(t))},zr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}},zr.config=bx,zr._InternalPanelDoNotUseOrYouWillBeFired=J$,process.env.NODE_ENV!=="production"&&(zr.displayName="Modal");var eO=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],hf=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,v=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,y=e.onKeyDown,b=nn(e,eO),h=tr(!1,{value:c,defaultValue:u}),S=ee(h,2),E=S[0],x=S[1];function _(N,H){var k=E;return d||(k=N,x(k),C==null||C(k,H)),k}function M(N){N.which===Te.LEFT?_(!1,N):N.which===Te.RIGHT&&_(!0,N),y==null||y(N)}function L(N){var H=_(!E,N);p==null||p(H,N)}var O=$e(a,s,(n={},Q(n,"".concat(a,"-checked"),E),Q(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},b,{type:"button",role:"switch","aria-checked":E,disabled:d,className:O,ref:t,onKeyDown:M,onClick:L}),v,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});hf.displayName="Switch";const tO=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,v=`${t}-inner`,f=we(d(u).add(d(r).mul(2)).equal()),g=we(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:we(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${v}-checked, ${v}-unchecked`]:{minHeight:n},[`${v}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${v}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${v}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${v}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${we(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${v}`]:{[`${v}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${v}`]:{[`${v}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},nO=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},rO=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${we(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},aO=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,v=we(u(c).add(u(r).mul(2)).equal()),f=we(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${v} - ${f})`,marginInlineEnd:`calc(100% - ${v} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${v} + ${f})`,marginInlineEnd:`calc(-100% + ${v} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},oO=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ma(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:we(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),e2(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},iO=ra("Switch",e=>{const t=Mn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[oO(t),aO(t),rO(t),nO(t),tO(t)]},e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,v=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:v*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:v,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:v/2,innerMaxMarginSM:v+u+u*2}});var lO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const D4=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:v,value:f,defaultChecked:g,defaultValue:p,onChange:C}=e,y=lO(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,h]=tr(!1,{value:v??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(vn),_=i.useContext(Za),M=(a??_)||s,L=S("switch",n),O=i.createElement("div",{className:`${L}-handle`},s&&i.createElement(Es,{className:`${L}-loading-icon`})),[N,H,k]=iO(L),j=Ki(r),q=$e(x==null?void 0:x.className,{[`${L}-small`]:j==="small",[`${L}-loading`]:s,[`${L}-rtl`]:E==="rtl"},c,u,H,k),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),A=function(){h(arguments.length<=0?void 0:arguments[0]),C==null||C.apply(void 0,arguments)};return N(i.createElement(p2,{component:"Switch"},i.createElement(hf,Object.assign({},y,{checked:b,onChange:A,prefixCls:L,className:q,style:U,disabled:M,ref:t,loadingIcon:O}))))});D4.__ANT_SWITCH=!0,process.env.NODE_ENV!=="production"&&(D4.displayName="Switch");const pf=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:v="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:y="m",id:b="",suffixIcon:h=!0})=>he.jsx(Ga,{id:b,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":v,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),sO=e=>`https://flagsapi.com/${e}/flat/64.png`,g1=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],cO=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,v]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=g1[89])==null?void 0:p.dialingCode),f=y=>{var b;v(String(y)),t(y+c+(((b=e.split(c))==null?void 0:b[1])||""))},g=y=>{const{value:b}=y.target;t(d+c+b)};return he.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[he.jsx(pf,{options:g1==null?void 0:g1.map(y=>({label:he.jsx("img",{src:sO(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),he.jsx(tc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),he.jsx(tc,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},uO="DD MMM YY - HH:mm:ss",dO=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],fO=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:mO}=fi,vO=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=uO,presetRanges:s=dO,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:v="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:y=!1,...b})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(_=>(_==null?void 0:_.toDate())||new Date);t(x)}else t&&t([])};return he.jsx(mO,{showTime:r,...b,value:h,onChange:S,format:a,presets:s,disabledDate:y?fO:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":v,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var vl=(e=>(e.NEXT="next",e.PREV="prev",e))(vl||{});const Cf=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,C,y,b;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=h=>{h===vl.NEXT?s(S=>(S+1)%(r==null?void 0:r.length)):h===vl.PREV&&s(S=>(S-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const h=c==null?void 0:c.score;if(h)return`${(h*100).toFixed(2)}%`},v=h=>h.split("_").join(" ");return r?he.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[he.jsxs("header",{children:[he.jsx("h6",{children:e}),he.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),he.jsxs("div",{className:"carousel_card",children:[he.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&he.jsxs("span",{children:[he.jsx("p",{children:"Detection"}),he.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&he.jsxs("span",{children:[he.jsx("p",{children:"Match"}),he.jsx("img",{src:(C=c==null?void 0:c.match)==null?void 0:C.image,alt:"Matched Image"})]})]}),(y=c==null?void 0:c.labels)!=null&&y[0]?he.jsxs("div",{className:"carousel_info_container",children:[he.jsx("p",{className:"text_s",children:"Label"}),he.jsx("h6",{className:"capatalize_first_letter",children:((b=c==null?void 0:c.labels)==null?void 0:b[0])||"N.A."})]}):he.jsx(he.Fragment,{}),d()?he.jsxs("div",{className:"carousel_info_container",children:[he.jsx("p",{className:"text_s",children:"Score"}),he.jsx("h6",{className:"font_secondary",children:d()})]}):he.jsx(he.Fragment,{}),he.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?he.jsxs(he.Fragment,{children:[he.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((h,S)=>{var E,x;return he.jsxs("div",{className:"event_preview_carousel_attribute",children:[he.jsx("p",{className:"text_s capatalize_first_letter",title:v(h)||h,children:v(h)||h}),he.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((E=c==null?void 0:c.attributes)==null?void 0:E[h])||"N.A.",children:((x=c==null?void 0:c.attributes)==null?void 0:x[h])||"N.A."})]},S)})||he.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):he.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&he.jsxs("footer",{className:"event_preview_carousel_footer",children:[he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"leftArrow",content:"Prev Object",textSize:"xs",onClick:()=>u(vl.PREV)}),he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",content:"Next Object",textSize:"xs",onClick:()=>u(vl.NEXT)})]})]}):he.jsx(he.Fragment,{})},bf=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),yf=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),gl=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},gO=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var f;const u=n,d=u==null?void 0:u[s];d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon);const v=P.useCallback(g=>{switch(g.key){case"ArrowUp":if(s===0)return;gl(g.target),c==null||c(s-1);break;case"ArrowDown":if(s===(u==null?void 0:u.length)-1)return;gl(g.target),c==null||c(s+1);break}},[s,u==null?void 0:u.length,c]);return P.useEffect(()=>(window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)),[v]),he.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?he.jsx("p",{children:"No data found! 📊"}):he.jsxs(he.Fragment,{children:[he.jsxs("span",{className:"event_preview_dialog_header",children:[he.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&he.jsx("img",{src:t,alt:e})}),he.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:he.jsx("h6",{className:"hydra_text_limit",children:e})})]}),he.jsxs("div",{className:"event_preview_content_container",children:[he.jsxs("span",{className:"event_preview_image_container",children:[he.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),he.jsxs("div",{className:"event_preview_image_footer",children:[he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),he.jsx("p",{children:"Severity"}),he.jsx("h5",{title:d==null?void 0:d.severity,children:(f=d==null?void 0:d.severity)==null?void 0:f.toLocaleLowerCase()})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Source"}),he.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Date"}),he.jsx("h5",{title:bf.format(new Date(d==null?void 0:d.timeStamp)),children:bf.format(new Date(d==null?void 0:d.timeStamp))})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Time"}),he.jsx("h5",{title:yf.format(new Date(d==null?void 0:d.timeStamp)),children:yf.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),he.jsx("span",{className:"event_preview_content",children:he.jsx(Cf,{data:d==null?void 0:d.blobs})}),he.jsxs("span",{className:"event_preview_other_events_container",children:[he.jsxs("header",{children:[he.jsx("h6",{children:"Events"}),he.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),he.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((g,p)=>he.jsx("div",{onClick:C=>{C.target.tagName!="INPUT"&&(gl(C.target),c==null||c(p))},children:he.jsx(X0,{data:g,isFocused:p==s},p)},g==null?void 0:g.id))}),he.jsxs("footer",{children:[he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"arrowUp",content:"Prev Event",onClick:g=>{s!==0&&(gl(g.target),c==null||c(s-1))},textSize:"xs"}),he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"arrowDown",content:"Next Event",onClick:g=>{s!==(u==null?void 0:u.length)-1&&(gl(g.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},hO={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},pO=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>he.jsx(zr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:hO[r],children:a}),CO=({options:e,onChange:t,value:n,placeholder:r="Select Items...",triggerHighlightColor:a="#29292955",triggerBackgroundColor:s="#29292929",menuBackgroundColor:c="white",menuActiveColor:u="rgba(255, 204, 0, 0.2)",menuHoverColor:d="rgba(255, 204, 0, 0.1)",borderColor:v="#29292955",disabled:f=!1,searchable:g=!0,maxTagCount:p="responsive",suffixIcon:C=!0,width:y="300px",height:b="m",id:h="",className:S=""})=>he.jsx(Ga,{id:h,disabled:f,showSearch:g,className:`multi_select_container ${S} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:y,"--c_trigger_highlight":a,"--c_trigger_background":s,"--c_menu_background":c,"--c_menu_active":u,"--c_menu_hover":d,"--c_border":v},suffixIcon:C?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:p,maxTagPlaceholder:E=>he.jsx(C4,{styles:{root:{pointerEvents:"none"}},title:E.map(({label:x})=>x).join(", "),children:he.jsxs("span",{children:["+",E.length]})})}),bO=({currentSection:e,currentSubSection:t,height:n="30rem",width:r="16rem",collapsedWidth:a="5.5rem",config:s,isOpen:c,onToggle:u})=>{var p,C,y;const[d,v]=P.useState(!0),f=c??d,g=()=>{const b=!f;v(b),u==null||u(b)};return he.jsxs("span",{className:"awi_sidebar "+(f?"open":"closed"),style:{height:n,"--sidebar-width":r,"--sidebar-collapsed-width":a},children:[he.jsxs("header",{className:"awi_sidebar_header",children:[f?he.jsx(so,{name:s.header.logo,size:"auto",className:"awi_sidebar_logo open",onClick:s.header.logoClickAction}):he.jsx(so,{size:"auto",name:s.header.logoCollapsed,className:"awi_sidebar_logo closed",onClick:s.header.logoClickAction}),he.jsx(so,{name:f?"sidebarClose":"sidebarOpen",className:`awi_sidebar_close_icon ${f?"open":"closed"}`,onClick:g})]}),he.jsx("main",{className:`awi_sidebar_body ${f?"open":"closed"}`,children:s.body.static.map((b,h)=>he.jsx("div",{className:"awi_sidebar_nav_container",children:he.jsx(co,{variant:e==b.key?"primary":"nav",size:"l",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)}))}),he.jsx("div",{className:"awi_sidebar_content_dynamic",children:(p=s.body.dynamic)!=null&&p[e]?(y=(C=s.body.dynamic)==null?void 0:C[e])==null?void 0:y.map((b,h)=>he.jsx("div",{className:"awi_sidebar_nav_container",children:he.jsx(co,{variant:t==b.key?"primary":"secondary",size:"m",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)})):he.jsx(he.Fragment,{})}),he.jsxs("footer",{className:`awi_sidebar_footer ${e==s.footer.key?"active":""}`,children:[he.jsx("img",{src:s.footer.image,alt:"Footer or Profile Image"}),he.jsxs("div",{className:"awi_sidebar_footer_content "+(f?"open":"closed"),children:[he.jsx("p",{className:"title",children:s.footer.title}),he.jsx("p",{className:"description",children:s.footer.description})]})]})]})},yO=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[v,f]=P.useState(e),g=e!==void 0,p=g?e:v,C=y=>{g||f(y),a==null||a(y)};return he.jsx(D4,{checked:p,onChange:C,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var hl={exports:{}};/**
269
+ &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:x2},[`${t}-panel > ${t}-time-panel`]:{paddingTop:O},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${M} ease-out`},Y7(e,H,F)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:H,borderRadius:k,boxShadow:j,transition:`margin ${M}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:I,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${we(s)} ${c} ${U}`,li:Object.assign(Object.assign({},ms),{borderRadius:q,paddingInline:h,paddingBlock:e.calc(y).sub(R).div(2).equal(),cursor:"pointer",transition:`all ${M}`,"+ li":{marginTop:S},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:u}}}}),"&-dropdown-range":{padding:`${we(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ps(e,"slide-up"),Ps(e,"slide-down"),Os(e,"move-up"),Os(e,"move-down")]},sf=ra("DatePicker",e=>{const t=Mn(U6(e),S$(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[E$(t),$$(t),L$(t),M$(t),b$(t),Ts(e,{focusElCls:`${e.componentCls}-focused`})]},_$);var O$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},P$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:O$}))},F4=i.forwardRef(P$);process.env.NODE_ENV!=="production"&&(F4.displayName="CalendarOutlined");var I$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},R$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:I$}))},N4=i.forwardRef(R$);process.env.NODE_ENV!=="production"&&(N4.displayName="ClockCircleOutlined");var F$={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},N$=function(t,n){return i.createElement(mr,We({},t,{ref:n,icon:F$}))},cf=i.forwardRef(N$);process.env.NODE_ENV!=="production"&&(cf.displayName="SwapRightOutlined");function D$(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function T$(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function uf(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=z7(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[A$,H$]=["week","WeekPicker"],[k$,V$]=["month","MonthPicker"],[B$,j$]=["year","YearPicker"],[z$,Z$]=["quarter","QuarterPicker"],[df,ff]=["time","TimePicker"],W$=e=>i.createElement(po,Object.assign({size:"small",type:"primary"},e));function mf(e){return P.useMemo(()=>Object.assign({button:W$},e),[e])}var U$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const q$=e=>{const t=P.forwardRef((n,r)=>{var a;const{prefixCls:s,getPopupContainer:c,components:u,className:d,style:v,placement:f,size:g,disabled:p,bordered:C=!0,placeholder:y,popupClassName:b,dropdownClassName:h,status:S,rootClassName:E,variant:x,picker:_}=n,M=U$(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),L=i.useRef(null),{getPrefixCls:O,direction:N,getPopupContainer:H,rangePicker:k}=P.useContext(vn),j=O("picker",s),{compactSize:q,compactItemClassnames:U}=Ls(j,N),A=O(),[B,I]=g4("rangePicker",x,C),F=qi(j),[R,z,V]=sf(j,F);if(process.env.NODE_ENV!=="production"){const ne=ir("DatePicker.RangePicker");ne.deprecated(!h,"dropdownClassName","popupClassName"),ne.deprecated(!("bordered"in n),"bordered","variant")}const[Z]=uf(n,j),Y=mf(u),J=Ki(ne=>{var oe;return(oe=g??q)!==null&&oe!==void 0?oe:ne}),X=i.useContext(Za),ce=p??X,de=P.useContext(ni),{hasFeedback:re,status:me,feedbackIcon:pe}=de,ve=i.createElement(i.Fragment,null,_===df?i.createElement(N4,null):i.createElement(F4,null),re&&pe);P.useImperativeHandle(r,()=>L.current);const[le]=za("Calendar",as),se=Object.assign(Object.assign({},le),n.locale),[ue]=Yi("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return R(i.createElement(Vs,{space:!0},i.createElement(z6,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${j}-separator`},i.createElement(cf,null)),disabled:ce,ref:L,placement:f,placeholder:T$(se,_,y),suffixIcon:ve,prevIcon:i.createElement("span",{className:`${j}-prev-icon`}),nextIcon:i.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:_},M,{className:$e({[`${j}-${J}`]:J,[`${j}-${B}`]:I},m4(j,v4(me,S),re),z,U,d,k==null?void 0:k.className,V,F,E),style:Object.assign(Object.assign({},k==null?void 0:k.style),v),locale:se.lang,prefixCls:j,getPopupContainer:c||H,generateConfig:e,components:Y,direction:N,classNames:{popup:$e(z,b||h,V,F,E)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ue})},allowClear:Z}))))});return process.env.NODE_ENV!=="production"&&(t.displayName="RangePicker"),t};var Y$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const G$=e=>{const t=(d,v)=>{const f=v===ff?"timePicker":"datePicker",g=P.forwardRef((p,C)=>{var y;const{prefixCls:b,getPopupContainer:h,components:S,style:E,className:x,rootClassName:_,size:M,bordered:L,placement:O,placeholder:N,popupClassName:H,dropdownClassName:k,disabled:j,status:q,variant:U,onCalendarChange:A}=p,B=Y$(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:I,direction:F,getPopupContainer:R,[f]:z}=P.useContext(vn),V=I("picker",b),{compactSize:Z,compactItemClassnames:Y}=Ls(V,F),J=i.useRef(null),[X,ce]=g4("datePicker",U,L),de=qi(V),[re,me,pe]=sf(V,de);P.useImperativeHandle(C,()=>J.current);const ve={showToday:!0},le=d||p.picker,se=I(),{onSelect:ue,multiple:ne}=B,oe=ue&&d==="time"&&!ne,ge=(lt,Qe,Ee)=>{A==null||A(lt,Qe,Ee),oe&&ue(lt)};if(process.env.NODE_ENV!=="production"){const lt=ir(v||"DatePicker");process.env.NODE_ENV!=="production"&&lt(d!=="quarter","deprecated",`DatePicker.${v} is legacy usage. Please use DatePicker[picker='${d}'] directly.`),lt.deprecated(!k,"dropdownClassName","popupClassName"),lt.deprecated(!("bordered"in p),"bordered","variant"),lt.deprecated(!oe,"onSelect","onCalendarChange")}const[Ce,Oe]=uf(p,V),Pe=mf(S),He=Ki(lt=>{var Qe;return(Qe=M??Z)!==null&&Qe!==void 0?Qe:lt}),Ie=i.useContext(Za),qe=j??Ie,ke=P.useContext(ni),{hasFeedback:ut,status:pt,feedbackIcon:et}=ke,Ye=i.createElement(i.Fragment,null,le==="time"?i.createElement(N4,null):i.createElement(F4,null),ut&&et),[Ct]=za("DatePicker",as),tt=Object.assign(Object.assign({},Ct),p.locale),[rt]=Yi("DatePicker",(y=p.popupStyle)===null||y===void 0?void 0:y.zIndex);return re(i.createElement(Vs,{space:!0},i.createElement(W6,Object.assign({ref:J,placeholder:D$(tt,le,N),suffixIcon:Ye,placement:O,prevIcon:i.createElement("span",{className:`${V}-prev-icon`}),nextIcon:i.createElement("span",{className:`${V}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${V}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${V}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:d,onCalendarChange:ge},ve,B,{locale:tt.lang,className:$e({[`${V}-${He}`]:He,[`${V}-${X}`]:ce},m4(V,v4(pt,q),ut),me,Y,z==null?void 0:z.className,x,pe,de,_),style:Object.assign(Object.assign({},z==null?void 0:z.style),E),prefixCls:V,getPopupContainer:h||R,generateConfig:e,components:Pe,direction:F,disabled:qe,classNames:{popup:$e(me,pe,de,_,H||k)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:rt})},allowClear:Ce,removeIcon:Oe}))))});return process.env.NODE_ENV!=="production"&&v&&(g.displayName=v),g},n=t(),r=t(A$,H$),a=t(k$,V$),s=t(B$,j$),c=t(z$,Z$),u=t(df,ff);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:s,TimePicker:u,QuarterPicker:c}},vf=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:s,QuarterPicker:c}=G$(e),u=q$(e),d=t;return d.WeekPicker=n,d.MonthPicker=r,d.YearPicker=a,d.RangePicker=u,d.TimePicker=s,d.QuarterPicker=c,process.env.NODE_ENV!=="production"&&(d.displayName="DatePicker"),d},fi=vf(mM),K$=Q2(fi,"popupAlign",void 0,"picker");fi._InternalPanelDoNotUseOrYouWillBeFired=K$;const X$=Q2(fi.RangePicker,"popupAlign",void 0,"picker");fi._InternalRangePanelDoNotUseOrYouWillBeFired=X$,fi.generatePicker=vf;var Q$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const J$=Zd(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:s,title:c,children:u,footer:d}=e,v=Q$(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(vn),g=f(),p=t||f("modal"),C=qi(g),[y,b,h]=Rd(p,C),S=`${p}-confirm`;let E={};return s?E={closable:a??!1,title:"",footer:"",children:i.createElement(Nd,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:g,content:u}))}:E={closable:a??!0,title:c,footer:d!==null&&i.createElement(Md,Object.assign({},e)),children:u},y(i.createElement(P2,Object.assign({prefixCls:p,className:$e(b,`${p}-pure-panel`,s&&S,s&&`${S}-${s}`,n,h,C)},v,{closeIcon:Ld(p,r),closable:a},E)))});function gf(e){return nl(Hd(e))}const zr=Fd;zr.useModal=xx,zr.info=function(t){return nl(kd(t))},zr.success=function(t){return nl(Vd(t))},zr.error=function(t){return nl(Bd(t))},zr.warning=gf,zr.warn=gf,zr.confirm=function(t){return nl(jd(t))},zr.destroyAll=function(){for(;yo.length;){const t=yo.pop();t&&t()}},zr.config=bx,zr._InternalPanelDoNotUseOrYouWillBeFired=J$,process.env.NODE_ENV!=="production"&&(zr.displayName="Modal");var eO=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],hf=i.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,s=e.className,c=e.checked,u=e.defaultChecked,d=e.disabled,v=e.loadingIcon,f=e.checkedChildren,g=e.unCheckedChildren,p=e.onClick,C=e.onChange,y=e.onKeyDown,b=nn(e,eO),h=tr(!1,{value:c,defaultValue:u}),S=ee(h,2),E=S[0],x=S[1];function _(N,H){var k=E;return d||(k=N,x(k),C==null||C(k,H)),k}function M(N){N.which===Te.LEFT?_(!1,N):N.which===Te.RIGHT&&_(!0,N),y==null||y(N)}function L(N){var H=_(!E,N);p==null||p(H,N)}var O=$e(a,s,(n={},Q(n,"".concat(a,"-checked"),E),Q(n,"".concat(a,"-disabled"),d),n));return i.createElement("button",We({},b,{type:"button",role:"switch","aria-checked":E,disabled:d,className:O,ref:t,onKeyDown:M,onClick:L}),v,i.createElement("span",{className:"".concat(a,"-inner")},i.createElement("span",{className:"".concat(a,"-inner-checked")},f),i.createElement("span",{className:"".concat(a,"-inner-unchecked")},g)))});hf.displayName="Switch";const tO=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:u,calc:d}=e,v=`${t}-inner`,f=we(d(u).add(d(r).mul(2)).equal()),g=we(d(c).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:we(n),[`${t}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${v}-checked, ${v}-unchecked`]:{minHeight:n},[`${v}-checked`]:{marginInlineStart:`calc(-100% + ${f} - ${g})`,marginInlineEnd:`calc(100% - ${f} + ${g})`},[`${v}-unchecked`]:{marginTop:d(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:u,height:u},[`${t}-loading-icon`]:{top:d(d(u).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${v}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${v}-unchecked`]:{marginInlineStart:`calc(100% - ${f} + ${g})`,marginInlineEnd:`calc(-100% + ${f} - ${g})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${we(d(u).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${v}`]:{[`${v}-unchecked`]:{marginInlineStart:d(e.marginXXS).div(2).equal(),marginInlineEnd:d(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${v}`]:{[`${v}-checked`]:{marginInlineStart:d(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:d(e.marginXXS).div(2).equal()}}}}}}},nO=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},rO=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:s,calc:c}=e,u=`${t}-handle`;return{[t]:{[u]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${u}`]:{insetInlineStart:`calc(100% - ${we(c(s).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${u}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},aO=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:s,handleSize:c,calc:u}=e,d=`${t}-inner`,v=we(u(c).add(u(r).mul(2)).equal()),f=we(u(s).mul(2).equal());return{[t]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${v} - ${f})`,marginInlineEnd:`calc(100% - ${v} + ${f})`},[`${d}-unchecked`]:{marginTop:u(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${d}`]:{paddingInlineStart:a,paddingInlineEnd:s,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${v} + ${f})`,marginInlineEnd:`calc(-100% + ${v} - ${f})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:u(r).mul(2).equal(),marginInlineEnd:u(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:u(r).mul(-1).mul(2).equal(),marginInlineEnd:u(r).mul(2).equal()}}}}}},oO=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},ma(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:we(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),e2(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},iO=ra("Switch",e=>{const t=Mn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[oO(t),aO(t),rO(t),nO(t),tO(t)]},e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,s=t*n,c=r/2,u=2,d=s-u*2,v=c-u*2;return{trackHeight:s,trackHeightSM:c,trackMinWidth:d*2+u*4,trackMinWidthSM:v*2+u*2,trackPadding:u,handleBg:a,handleSize:d,handleSizeSM:v,handleShadow:`0 2px 4px 0 ${new rn("#00230b").setA(.2).toRgbString()}`,innerMinMargin:d/2,innerMaxMargin:d+u+u*2,innerMinMarginSM:v/2,innerMaxMarginSM:v+u+u*2}});var lO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const D4=i.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:a,loading:s,className:c,rootClassName:u,style:d,checked:v,value:f,defaultChecked:g,defaultValue:p,onChange:C}=e,y=lO(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,h]=tr(!1,{value:v??f,defaultValue:g??p}),{getPrefixCls:S,direction:E,switch:x}=i.useContext(vn),_=i.useContext(Za),M=(a??_)||s,L=S("switch",n),O=i.createElement("div",{className:`${L}-handle`},s&&i.createElement(Es,{className:`${L}-loading-icon`})),[N,H,k]=iO(L),j=Ki(r),q=$e(x==null?void 0:x.className,{[`${L}-small`]:j==="small",[`${L}-loading`]:s,[`${L}-rtl`]:E==="rtl"},c,u,H,k),U=Object.assign(Object.assign({},x==null?void 0:x.style),d),A=function(){h(arguments.length<=0?void 0:arguments[0]),C==null||C.apply(void 0,arguments)};return N(i.createElement(p2,{component:"Switch"},i.createElement(hf,Object.assign({},y,{checked:b,onChange:A,prefixCls:L,className:q,style:U,disabled:M,ref:t,loadingIcon:O}))))});D4.__ANT_SWITCH=!0,process.env.NODE_ENV!=="production"&&(D4.displayName="Switch");const pf=({options:e,onChange:t,value:n,placeholder:r="Select Item...",placement:a="start",className:s="",triggerBackgroundColor:c="#29292929",menuBackgroundColor:u="white",menuActiveColor:d="#ffcc00",menuHoverColor:v="#ffcc00",borderColor:f="#29292955",searchable:g=!0,disabled:p=!1,width:C="300px",height:y="m",id:b="",suffixIcon:h=!0})=>he.jsx(Ga,{id:b,className:`${s} single_select_container h_${y} items_${a} ${f?"border":""}`,suffixIcon:h?void 0:null,style:{width:C,"--c_trigger_background":c,"--c_menu_background":u,"--c_menu_active":d,"--c_menu_hover":v,"--c_border":`1px solid ${f}`},value:n,onChange:t,showSearch:g,placeholder:r,disabled:p,popupClassName:`single_select_dropdown h_${y} items_${a} ${f?"border":""}`,removeIcon:!0,filterOption:(S,E)=>((E==null?void 0:E.label)??"").toLowerCase().includes(S.toLowerCase()),options:e}),sO=e=>`https://flagsapi.com/${e}/flat/64.png`,g1=[{countryCode:"AF",dialingCode:"+93"},{countryCode:"AL",dialingCode:"+355"},{countryCode:"DZ",dialingCode:"+213"},{countryCode:"AS",dialingCode:"+1-684"},{countryCode:"AD",dialingCode:"+376"},{countryCode:"AO",dialingCode:"+244"},{countryCode:"AI",dialingCode:"+1-264"},{countryCode:"AQ",dialingCode:"+672"},{countryCode:"AG",dialingCode:"+1-268"},{countryCode:"AR",dialingCode:"+54"},{countryCode:"AM",dialingCode:"+374"},{countryCode:"AW",dialingCode:"+297"},{countryCode:"AU",dialingCode:"+61"},{countryCode:"AT",dialingCode:"+43"},{countryCode:"AZ",dialingCode:"+994"},{countryCode:"BS",dialingCode:"+1-242"},{countryCode:"BH",dialingCode:"+973"},{countryCode:"BD",dialingCode:"+880"},{countryCode:"BB",dialingCode:"+1-246"},{countryCode:"BY",dialingCode:"+375"},{countryCode:"BE",dialingCode:"+32"},{countryCode:"BZ",dialingCode:"+501"},{countryCode:"BJ",dialingCode:"+229"},{countryCode:"BM",dialingCode:"+1-441"},{countryCode:"BT",dialingCode:"+975"},{countryCode:"BO",dialingCode:"+591"},{countryCode:"BA",dialingCode:"+387"},{countryCode:"BW",dialingCode:"+267"},{countryCode:"BR",dialingCode:"+55"},{countryCode:"IO",dialingCode:"+246"},{countryCode:"VG",dialingCode:"+1-284"},{countryCode:"BN",dialingCode:"+673"},{countryCode:"BG",dialingCode:"+359"},{countryCode:"BF",dialingCode:"+226"},{countryCode:"BI",dialingCode:"+257"},{countryCode:"KH",dialingCode:"+855"},{countryCode:"CM",dialingCode:"+237"},{countryCode:"CA",dialingCode:"+1"},{countryCode:"CV",dialingCode:"+238"},{countryCode:"KY",dialingCode:"+1-345"},{countryCode:"CF",dialingCode:"+236"},{countryCode:"TD",dialingCode:"+235"},{countryCode:"CL",dialingCode:"+56"},{countryCode:"CN",dialingCode:"+86"},{countryCode:"CO",dialingCode:"+57"},{countryCode:"KM",dialingCode:"+269"},{countryCode:"CG",dialingCode:"+242"},{countryCode:"CR",dialingCode:"+506"},{countryCode:"HR",dialingCode:"+385"},{countryCode:"CU",dialingCode:"+53"},{countryCode:"CY",dialingCode:"+357"},{countryCode:"CZ",dialingCode:"+420"},{countryCode:"CD",dialingCode:"+243"},{countryCode:"DK",dialingCode:"+45"},{countryCode:"DJ",dialingCode:"+253"},{countryCode:"DM",dialingCode:"+1-767"},{countryCode:"DO",dialingCode:"+1-809, 1-829, 1-849"},{countryCode:"EC",dialingCode:"+593"},{countryCode:"EG",dialingCode:"+20"},{countryCode:"SV",dialingCode:"+503"},{countryCode:"GQ",dialingCode:"+240"},{countryCode:"ER",dialingCode:"+291"},{countryCode:"EE",dialingCode:"+372"},{countryCode:"SZ",dialingCode:"+268"},{countryCode:"ET",dialingCode:"+251"},{countryCode:"FJ",dialingCode:"+679"},{countryCode:"FI",dialingCode:"+358"},{countryCode:"FR",dialingCode:"+33"},{countryCode:"GA",dialingCode:"+241"},{countryCode:"GM",dialingCode:"+220"},{countryCode:"GE",dialingCode:"+995"},{countryCode:"DE",dialingCode:"+49"},{countryCode:"GH",dialingCode:"+233"},{countryCode:"GI",dialingCode:"+350"},{countryCode:"GR",dialingCode:"+30"},{countryCode:"GL",dialingCode:"+299"},{countryCode:"GD",dialingCode:"+1-473"},{countryCode:"GU",dialingCode:"+1-671"},{countryCode:"GT",dialingCode:"+502"},{countryCode:"GG",dialingCode:"+44-1481"},{countryCode:"GN",dialingCode:"+224"},{countryCode:"GW",dialingCode:"+245"},{countryCode:"GY",dialingCode:"+592"},{countryCode:"HT",dialingCode:"+509"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"HN",dialingCode:"+504"},{countryCode:"HK",dialingCode:"+852"},{countryCode:"HU",dialingCode:"+36"},{countryCode:"IS",dialingCode:"+354"},{countryCode:"IN",dialingCode:"+91"},{countryCode:"ID",dialingCode:"+62"},{countryCode:"IR",dialingCode:"+98"},{countryCode:"IQ",dialingCode:"+964"},{countryCode:"IE",dialingCode:"+353"},{countryCode:"IL",dialingCode:"+972"},{countryCode:"IT",dialingCode:"+39"},{countryCode:"CI",dialingCode:"+225"},{countryCode:"JM",dialingCode:"+1-876"},{countryCode:"JP",dialingCode:"+81"},{countryCode:"JE",dialingCode:"+44-1534"},{countryCode:"JO",dialingCode:"+962"},{countryCode:"KZ",dialingCode:"+7"},{countryCode:"KE",dialingCode:"+254"},{countryCode:"KI",dialingCode:"+686"},{countryCode:"KW",dialingCode:"+965"},{countryCode:"KG",dialingCode:"+996"},{countryCode:"LA",dialingCode:"+856"},{countryCode:"LV",dialingCode:"+371"},{countryCode:"LB",dialingCode:"+961"},{countryCode:"LS",dialingCode:"+266"},{countryCode:"LR",dialingCode:"+231"},{countryCode:"LY",dialingCode:"+218"},{countryCode:"LI",dialingCode:"+423"},{countryCode:"LT",dialingCode:"+370"},{countryCode:"LU",dialingCode:"+352"},{countryCode:"MO",dialingCode:"+853"},{countryCode:"MK",dialingCode:"+389"},{countryCode:"MG",dialingCode:"+261"},{countryCode:"MW",dialingCode:"+265"},{countryCode:"MY",dialingCode:"+60"},{countryCode:"MV",dialingCode:"+960"},{countryCode:"ML",dialingCode:"+223"},{countryCode:"MT",dialingCode:"+356"},{countryCode:"MH",dialingCode:"+692"},{countryCode:"MQ",dialingCode:"+596"},{countryCode:"MR",dialingCode:"+222"},{countryCode:"MU",dialingCode:"+230"},{countryCode:"YT",dialingCode:"+262"},{countryCode:"MX",dialingCode:"+52"},{countryCode:"FM",dialingCode:"+691"},{countryCode:"MD",dialingCode:"+373"},{countryCode:"MC",dialingCode:"+377"},{countryCode:"MN",dialingCode:"+976"},{countryCode:"ME",dialingCode:"+382"},{countryCode:"MS",dialingCode:"+1-664"},{countryCode:"MA",dialingCode:"+212"},{countryCode:"MZ",dialingCode:"+258"},{countryCode:"MM",dialingCode:"+95"},{countryCode:"NA",dialingCode:"+264"},{countryCode:"NR",dialingCode:"+674"},{countryCode:"NP",dialingCode:"+977"},{countryCode:"NL",dialingCode:"+31"},{countryCode:"NC",dialingCode:"+687"},{countryCode:"NZ",dialingCode:"+64"},{countryCode:"NI",dialingCode:"+505"},{countryCode:"NE",dialingCode:"+227"},{countryCode:"NG",dialingCode:"+234"},{countryCode:"NU",dialingCode:"+683"},{countryCode:"NF",dialingCode:"+672"},{countryCode:"KP",dialingCode:"+850"},{countryCode:"NO",dialingCode:"+47"},{countryCode:"OM",dialingCode:"+968"},{countryCode:"PK",dialingCode:"+92"},{countryCode:"PW",dialingCode:"+680"},{countryCode:"PA",dialingCode:"+507"},{countryCode:"PG",dialingCode:"+675"},{countryCode:"PY",dialingCode:"+595"},{countryCode:"PE",dialingCode:"+51"},{countryCode:"PH",dialingCode:"+63"},{countryCode:"PN",dialingCode:"+870"},{countryCode:"PL",dialingCode:"+48"},{countryCode:"PT",dialingCode:"+351"},{countryCode:"PR",dialingCode:"+1-787, 1-939"},{countryCode:"QA",dialingCode:"+974"},{countryCode:"RE",dialingCode:"+262"},{countryCode:"RO",dialingCode:"+40"},{countryCode:"RU",dialingCode:"+7"},{countryCode:"RW",dialingCode:"+250"},{countryCode:"BL",dialingCode:"+590"},{countryCode:"SH",dialingCode:"+290"},{countryCode:"KN",dialingCode:"+1-869"},{countryCode:"LC",dialingCode:"+1-758"},{countryCode:"MF",dialingCode:"+590"},{countryCode:"PM",dialingCode:"+508"},{countryCode:"VC",dialingCode:"+1-784"},{countryCode:"WS",dialingCode:"+685"},{countryCode:"ST",dialingCode:"+239"},{countryCode:"SA",dialingCode:"+966"},{countryCode:"SN",dialingCode:"+221"},{countryCode:"RS",dialingCode:"+381"},{countryCode:"SC",dialingCode:"+248"},{countryCode:"SL",dialingCode:"+232"},{countryCode:"SG",dialingCode:"+65"},{countryCode:"SX",dialingCode:"+1-721"},{countryCode:"SK",dialingCode:"+421"},{countryCode:"SI",dialingCode:"+386"},{countryCode:"SB",dialingCode:"+677"},{countryCode:"SO",dialingCode:"+252"},{countryCode:"ZA",dialingCode:"+27"},{countryCode:"GS",dialingCode:"+500"},{countryCode:"ES",dialingCode:"+34"},{countryCode:"LK",dialingCode:"+94"},{countryCode:"SD",dialingCode:"+249"},{countryCode:"SR",dialingCode:"+597"},{countryCode:"SJ",dialingCode:"+47"},{countryCode:"SE",dialingCode:"+46"},{countryCode:"CH",dialingCode:"+41"},{countryCode:"SY",dialingCode:"+963"},{countryCode:"TW",dialingCode:"+886"},{countryCode:"TJ",dialingCode:"+992"},{countryCode:"TZ",dialingCode:"+255"},{countryCode:"TH",dialingCode:"+66"},{countryCode:"TG",dialingCode:"+228"},{countryCode:"TK",dialingCode:"+690"},{countryCode:"TO",dialingCode:"+676"},{countryCode:"TT",dialingCode:"+1-868"},{countryCode:"TN",dialingCode:"+216"},{countryCode:"TR",dialingCode:"+90"},{countryCode:"TM",dialingCode:"+993"},{countryCode:"TC",dialingCode:"+1-649"},{countryCode:"TV",dialingCode:"+688"},{countryCode:"UG",dialingCode:"+256"},{countryCode:"UA",dialingCode:"+380"},{countryCode:"AE",dialingCode:"+971"},{countryCode:"GB",dialingCode:"+44"},{countryCode:"US",dialingCode:"+1"},{countryCode:"UY",dialingCode:"+598"},{countryCode:"UZ",dialingCode:"+998"},{countryCode:"VU",dialingCode:"+678"},{countryCode:"VA",dialingCode:"+379"},{countryCode:"VE",dialingCode:"+58"},{countryCode:"VN",dialingCode:"+84"},{countryCode:"WF",dialingCode:"+681"},{countryCode:"EH",dialingCode:"+212"},{countryCode:"YE",dialingCode:"+967"},{countryCode:"ZM",dialingCode:"+260"},{countryCode:"ZW",dialingCode:"+263"}],cO=({value:e="",onChange:t=d=>{},height:n="m",width:r="16rem",className:a="",placeholder:s="XXXXXX XXXXX",separator:c=" ",disabled:u=!1})=>{var p,C;const[d,v]=P.useState(e!=null&&e.includes(c)?e.split(c)[0]:(p=g1[89])==null?void 0:p.dialingCode),f=y=>{var b;v(String(y)),t(y+c+(((b=e.split(c))==null?void 0:b[1])||""))},g=y=>{const{value:b}=y.target;t(d+c+b)};return he.jsxs("div",{className:`contact_input ${a}`,style:{width:r},children:[he.jsx(pf,{options:g1==null?void 0:g1.map(y=>({label:he.jsx("img",{src:sO(y.countryCode)}),value:y==null?void 0:y.dialingCode})),placement:"center",value:d,onChange:f,suffixIcon:!1,disabled:u,height:n,width:"25%",searchable:!1}),he.jsx(tc,{value:d,readOnly:!0,height:n,width:"25%",disabled:u}),he.jsx(tc,{value:(C=e.split(c))==null?void 0:C[1],placeholder:s,onChange:g,height:n,width:"50%",disabled:u})]})},uO="DD MMM YY - HH:mm:ss",dO=[{label:"Today",value:[wn().startOf("day"),wn().endOf("day")]},{label:"This Week",value:[wn().startOf("week"),wn().endOf("week")]},{label:"Last 7 Days",value:[wn().subtract(7,"days"),wn()]},{label:"This Month",value:[wn().startOf("month"),wn().endOf("month")]},{label:"Last 30 Days",value:[wn().subtract(30,"days"),wn()]}],fO=e=>e&&e.isAfter(wn().endOf("day")),{RangePicker:mO}=fi,vO=({value:e,onChange:t,className:n="",showTime:r=!0,format:a=uO,presetRanges:s=dO,width:c="24rem",triggerBackgroundColor:u="#29292929",triggerBorderColor:d="#29292955",pickerHighlightColor:v="#fc0",pickerRangeColor:f="#ffcc00bb",pickerBackgroundColor:g="fff",pickerBorderColor:p="rgb(234, 235, 238)",disabledDate:C=()=>!1,disableFutureDates:y=!1,...b})=>{const h=e?[wn(e[0]),wn(e[1])]:void 0,S=E=>{if(t&&E){const x=E.map(_=>(_==null?void 0:_.toDate())||new Date);t(x)}else t&&t([])};return he.jsx(mO,{showTime:r,...b,value:h,onChange:S,format:a,presets:s,disabledDate:y?fO:C,style:{width:c,"--c_trigger_background":u,"--c_trigger_border":d,"--c_highlight":v,"--c_date_range_fill":f,"--c_surface_border":p,"--c_surface":g},className:`date-range-picker ${n} ${d?"border":""}`})};var vl=(e=>(e.NEXT="next",e.PREV="prev",e))(vl||{});const Cf=({title:e="Object Detected",height:t="100%",width:n="100%",data:r})=>{var f,g,p,C,y,b;const[a,s]=P.useState(0),c=(r==null?void 0:r[a])??{},u=h=>{h===vl.NEXT?s(S=>(S+1)%(r==null?void 0:r.length)):h===vl.PREV&&s(S=>(S-1+(r==null?void 0:r.length))%(r==null?void 0:r.length))},d=()=>{const h=c==null?void 0:c.score;if(h)return`${(h*100).toFixed(2)}%`},v=h=>h.split("_").join(" ");return r?he.jsxs("div",{className:"event_preview_carousel_container",style:{width:n,height:t},children:[he.jsxs("header",{children:[he.jsx("h6",{children:e}),he.jsxs("p",{className:"font_secondary",children:["(",a+1,"/",r==null?void 0:r.length,")"]})]}),he.jsxs("div",{className:"carousel_card",children:[he.jsxs("div",{className:"carousel_card_images",children:[((f=c==null?void 0:c.detection)==null?void 0:f.image)&&he.jsxs("span",{children:[he.jsx("p",{children:"Detection"}),he.jsx("img",{src:(g=c==null?void 0:c.detection)==null?void 0:g.image,alt:"Detected Image"})]}),((p=c==null?void 0:c.match)==null?void 0:p.image)&&he.jsxs("span",{children:[he.jsx("p",{children:"Match"}),he.jsx("img",{src:(C=c==null?void 0:c.match)==null?void 0:C.image,alt:"Matched Image"})]})]}),(y=c==null?void 0:c.labels)!=null&&y[0]?he.jsxs("div",{className:"carousel_info_container",children:[he.jsx("p",{className:"text_s",children:"Label"}),he.jsx("h6",{className:"capatalize_first_letter",children:((b=c==null?void 0:c.labels)==null?void 0:b[0])||"N.A."})]}):he.jsx(he.Fragment,{}),d()?he.jsxs("div",{className:"carousel_info_container",children:[he.jsx("p",{className:"text_s",children:"Score"}),he.jsx("h6",{className:"font_secondary",children:d()})]}):he.jsx(he.Fragment,{}),he.jsx("div",{className:"object_attributes_container",children:(r==null?void 0:r.length)>0&&(c!=null&&c.attributes)?he.jsxs(he.Fragment,{children:[he.jsx("h6",{children:"Object Attributes"}),Object.keys(c.attributes).map((h,S)=>{var E,x;return he.jsxs("div",{className:"event_preview_carousel_attribute",children:[he.jsx("p",{className:"text_s capatalize_first_letter",title:v(h)||h,children:v(h)||h}),he.jsx("h6",{className:"text_s capatalize_first_letter font_secondary",title:((E=c==null?void 0:c.attributes)==null?void 0:E[h])||"N.A.",children:((x=c==null?void 0:c.attributes)==null?void 0:x[h])||"N.A."})]},S)})||he.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes found"})]}):he.jsx("p",{className:"text_s hydra_text_muted",children:"No attributes"})})]}),(r==null?void 0:r.length)>1&&he.jsxs("footer",{className:"event_preview_carousel_footer",children:[he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"leftArrow",content:"Prev Object",textSize:"xs",onClick:()=>u(vl.PREV)}),he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"rightArrow",iconPosition:"after",content:"Next Object",textSize:"xs",onClick:()=>u(vl.NEXT)})]})]}):he.jsx(he.Fragment,{})},bf=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"short",year:"numeric"}),yf=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),gl=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},gO=({title:e="Event Preview",icon:t,data:n,width:r="60rem",height:a="40rem",focusedIndex:s=0,setFocusedIndex:c})=>{var f;const u=n,d=u==null?void 0:u[s];d!=null&&d.appName&&(e=d==null?void 0:d.appName),d!=null&&d.appName&&(t=d==null?void 0:d.icon);const v=P.useCallback(g=>{switch(g.key){case"ArrowUp":if(s===0)return;gl(g.target),c==null||c(s-1);break;case"ArrowDown":if(s===(u==null?void 0:u.length)-1)return;gl(g.target),c==null||c(s+1);break}},[s,u==null?void 0:u.length,c]);return P.useEffect(()=>(window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)),[v]),he.jsx("div",{className:`event_preview_window ${u!=null&&u.length?"":"empty"}`,style:{height:a,width:r},children:(u==null?void 0:u.length)==0||d==null?he.jsx("p",{children:"No data found! 📊"}):he.jsxs(he.Fragment,{children:[he.jsxs("span",{className:"event_preview_dialog_header",children:[he.jsx("span",{className:"event_preview_dialog_header_icon",children:t&&he.jsx("img",{src:t,alt:e})}),he.jsx("span",{className:"event_preview_dialog_header_content",title:e,children:he.jsx("h6",{className:"hydra_text_limit",children:e})})]}),he.jsxs("div",{className:"event_preview_content_container",children:[he.jsxs("span",{className:"event_preview_image_container",children:[he.jsx("img",{src:d==null?void 0:d.frameUrl,alt:"Alert"}),he.jsxs("div",{className:"event_preview_image_footer",children:[he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("span",{className:"status_indicator",style:{background:`linear-gradient(90deg, rgba(0,0,0,0), ${d==null?void 0:d.color})`}}),he.jsx("p",{children:"Severity"}),he.jsx("h5",{title:d==null?void 0:d.severity,children:(f=d==null?void 0:d.severity)==null?void 0:f.toLocaleLowerCase()})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Source"}),he.jsx("h5",{title:d==null?void 0:d.location,children:d==null?void 0:d.location})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Date"}),he.jsx("h5",{title:bf.format(new Date(d==null?void 0:d.timeStamp)),children:bf.format(new Date(d==null?void 0:d.timeStamp))})]}),he.jsxs("span",{className:"event_preview_image_footer_infoitem",children:[he.jsx("p",{children:"Time"}),he.jsx("h5",{title:yf.format(new Date(d==null?void 0:d.timeStamp)),children:yf.format(new Date(d==null?void 0:d.timeStamp))})]})]})]}),he.jsx("span",{className:"event_preview_content",children:he.jsx(Cf,{data:d==null?void 0:d.blobs})}),he.jsxs("span",{className:"event_preview_other_events_container",children:[he.jsxs("header",{children:[he.jsx("h6",{children:"Events"}),he.jsxs("p",{className:"font_secondary",children:["(",s+1,"/",u==null?void 0:u.length,")"]})]}),he.jsx("div",{className:"event_preview_other_events",children:u==null?void 0:u.map((g,p)=>he.jsx("div",{onClick:C=>{C.target.tagName!="INPUT"&&(gl(C.target),c==null||c(p))},children:he.jsx(X0,{data:g,isFocused:p==s},p)},g==null?void 0:g.id))}),he.jsxs("footer",{children:[he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"arrowUp",content:"Prev Event",onClick:g=>{s!==0&&(gl(g.target),c==null||c(s-1))},textSize:"xs"}),he.jsx(co,{variant:"secondary",size:"s",width:"50%",icon:"arrowDown",content:"Next Event",onClick:g=>{s!==(u==null?void 0:u.length)-1&&(gl(g.target),c==null||c(s+1))},textSize:"xs"})]})]})]})]})})},hO={xs:"16.67%",s:"25%",m:"37.5%",l:"53.54%",xl:"75%",full:"100%"},pO=({visible:e,onClose:t,showCloseButton:n=!0,size:r="xl",children:a})=>he.jsx(zr,{open:e,onCancel:t,footer:null,closable:n,maskClosable:!0,destroyOnClose:!0,width:hO[r],children:a}),CO=({options:e,onChange:t,value:n,placeholder:r="Select Items...",triggerHighlightColor:a="#29292955",triggerBackgroundColor:s="#29292929",menuBackgroundColor:c="white",menuActiveColor:u="rgba(255, 204, 0, 0.2)",menuHoverColor:d="rgba(255, 204, 0, 0.1)",borderColor:v="#29292955",disabled:f=!1,searchable:g=!0,maxTagCount:p="responsive",suffixIcon:C=!0,width:y="300px",height:b="m",id:h="",className:S=""})=>he.jsx(Ga,{id:h,disabled:f,showSearch:g,className:`multi_select_container ${S} h_${b} ${v?"border":""}`,mode:"multiple",style:{width:y,"--c_trigger_highlight":a,"--c_trigger_background":s,"--c_menu_background":c,"--c_menu_active":u,"--c_menu_hover":d,"--c_border":v},suffixIcon:C?void 0:null,options:e,placeholder:r,onChange:t,popupClassName:`multi_select_dropdown h_${b} ${v?"border":""}`,value:n,filterOption:(E,x)=>((x==null?void 0:x.label)??"").toLowerCase().includes(E.toLowerCase()),maxTagCount:p,maxTagPlaceholder:E=>he.jsx(C4,{styles:{root:{pointerEvents:"none"}},title:E.map(({label:x})=>x).join(", "),children:he.jsxs("span",{children:["+",E.length]})})}),bO=({currentSection:e,currentSubSection:t,height:n="30rem",width:r="16rem",collapsedWidth:a="5.5rem",config:s,isOpen:c,onToggle:u})=>{var p,C,y;const[d,v]=P.useState(!0),f=c??d,g=()=>{const b=!f;v(b),u==null||u(b)};return he.jsxs("span",{className:"awi_sidebar "+(f?"open":"closed"),style:{height:n,"--sidebar-width":r,"--sidebar-collapsed-width":a},children:[he.jsxs("header",{className:"awi_sidebar_header",children:[f?he.jsx(so,{name:s.header.logo,size:"auto",className:"awi_sidebar_logo open",onClick:s.header.logoClickAction}):he.jsx(so,{size:"auto",name:s.header.logoCollapsed,className:"awi_sidebar_logo closed",onClick:s.header.logoClickAction}),he.jsx(so,{name:f?"sidebarClose":"sidebarOpen",className:`awi_sidebar_close_icon ${f?"open":"closed"}`,onClick:g})]}),he.jsx("main",{className:`awi_sidebar_body ${f?"open":"closed"}`,children:s.body.static.map((b,h)=>he.jsx("div",{className:"awi_sidebar_nav_container",children:he.jsx(co,{variant:e==b.key?"primary":"nav",size:"l",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)}))}),he.jsx("div",{className:"awi_sidebar_content_dynamic",children:(p=s.body.dynamic)!=null&&p[e]?(y=(C=s.body.dynamic)==null?void 0:C[e])==null?void 0:y.map((b,h)=>he.jsx("div",{className:"awi_sidebar_nav_container",children:he.jsx(co,{variant:t==b.key?"primary":"secondary",size:"m",gap:f?"0.25rem":"0",width:f?"100%":"max-content",borderColor:"var(--awi-color-sidebar-button-border, #FFCC00)",backgroundColor:"var(--awi-color-sidebar-button-background, #FFCC00)",textColor:"var(--awi-color-sidebar-button-text, #292929)",icon:b.icon,placement:"flex-start",content:f?b.title:void 0,onClick:b.action},h)})):he.jsx(he.Fragment,{})}),he.jsxs("footer",{className:`awi_sidebar_footer ${e==s.footer.key?"active":""}`,onClick:s.footer.action,children:[he.jsx("img",{src:s.footer.image,alt:"Footer or Profile Image"}),he.jsxs("div",{className:"awi_sidebar_footer_content "+(f?"open":"closed"),children:[he.jsx("p",{className:"title",children:s.footer.title}),he.jsx("p",{className:"description",children:s.footer.description})]})]})]})},yO=({value:e=!1,disabled:t=!1,checkedChildren:n,unCheckedChildren:r,onChange:a=()=>{},loading:s=!1,uncheckedBackgroundColor:c="#29292955",checkedBackgroundColor:u="#ffcc00",disabledBackgroundColor:d="#29292929"})=>{const[v,f]=P.useState(e),g=e!==void 0,p=g?e:v,C=y=>{g||f(y),a==null||a(y)};return he.jsx(D4,{checked:p,onChange:C,disabled:t,loading:s,checkedChildren:n,unCheckedChildren:r,style:{backgroundColor:t||s?d:p?u:c}})};var hl={exports:{}};/**
270
270
  * @license
271
271
  * Lodash <https://lodash.com/>
272
272
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ambuj.bhaskar/react-component-library",
3
3
  "private": false,
4
- "version": "0.11.6-alpha",
4
+ "version": "0.11.7-alpha",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"