wacomm 2.8.8 → 2.8.10
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-CXGNSKXl.js → index-BLu5vG1c.js} +2 -2
- package/dist/{index-B8ZWOekJ.mjs → index-Be65WdtU.mjs} +6 -3
- package/dist/{mapbox-gl-yUGMB8Hd.js → mapbox-gl-BFhHIuoI.js} +1 -1
- package/dist/{mapbox-gl-Ci0dqum1.mjs → mapbox-gl-qON3k_SO.mjs} +1 -1
- package/dist/{maplibre-gl-CFGDIaRo.js → maplibre-gl-BpNeF5jb.js} +1 -1
- package/dist/{maplibre-gl-4592OukG.mjs → maplibre-gl-Cn50YV5h.mjs} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.css +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
|
@@ -682,7 +682,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
682
682
|
* @license MIT
|
|
683
683
|
* This source code is licensed under the MIT license found in the
|
|
684
684
|
* LICENSE file in the root directory of this source tree.
|
|
685
|
-
*/function XN({value:e,setValue:t,disabled:i=!1}){return j.jsx(kl,{dateAdapter:su,children:j.jsx(YN,{value:e,disabled:i,onChange:t,slotProps:{textField:{sx:{"& .MuiPickersSectionList-root":{padding:0},"& .MuiPickersInputBase-sectionsContainer":{padding:0},width:"100%",height:30,"& .MuiInputBase-root":{height:30,"& .MuiInputBase-input":{padding:"0px 16px",color:"gray"}}}}}})})}function _N({startDate:e,endDate:t,isDayShown:i=!1,className:A=""}){const c=h=>{const y=Tr.parseDate(h);return i?y.format("dddd, MMM D"):Tr.formatDate(h)},m=Tr.parseDate(e).format("YYYY-MM-DD")===Tr.parseDate(t).format("YYYY-MM-DD")?`${c(e)}, ${Tr.formatTime(e)} - ${Tr.formatTime(t)}`:`${c(e)}, ${Tr.formatTime(e)} - ${c(t)}, ${Tr.formatTime(t)}`;return j.jsx("div",{className:ut("text-gray-600 text-sm",A),children:m})}function N7({date:e}){return!e||e.length<10?null:j.jsx("div",{className:"text-gray-600 text-sm",children:Tr.formatDateTime(e)})}const KN=U.createContext(null);function $N(e,t){const i=Array.isArray(e)?e[0]:e?e.x:0,A=Array.isArray(e)?e[1]:e?e.y:0,c=Array.isArray(t)?t[0]:t?t.x:0,p=Array.isArray(t)?t[1]:t?t.y:0;return i===c&&A===p}function Ss(e,t){if(e===t)return!0;if(!e||!t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!Ss(e[i],t[i]))return!1;return!0}else if(Array.isArray(t))return!1;if(typeof e=="object"&&typeof t=="object"){const i=Object.keys(e),A=Object.keys(t);if(i.length!==A.length)return!1;for(const c of i)if(!t.hasOwnProperty(c)||!Ss(e[c],t[c]))return!1;return!0}return!1}function eF(e){const t=e.clone();return t.pixelsToGLUnits=e.pixelsToGLUnits,t}function Y4(e,t){if(!e.getProjection)return;const i=e.getProjection(),A=t.getProjection();Ss(i,A)||t.setProjection(i)}function U4(e){return{longitude:e.center.lng,latitude:e.center.lat,zoom:e.zoom,pitch:e.pitch,bearing:e.bearing,padding:e.padding}}function J4(e,t){const i=t.viewState||t;let A=!1;if("zoom"in i){const c=e.zoom;e.zoom=i.zoom,A=A||c!==e.zoom}if("bearing"in i){const c=e.bearing;e.bearing=i.bearing,A=A||c!==e.bearing}if("pitch"in i){const c=e.pitch;e.pitch=i.pitch,A=A||c!==e.pitch}if(i.padding&&!e.isPaddingEqual(i.padding)&&(A=!0,e.padding=i.padding),"longitude"in i&&"latitude"in i){const c=e.center;e.center=new c.constructor(i.longitude,i.latitude),A=A||c!==e.center}return A}const tF=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function X4(e){if(!e)return null;if(typeof e=="string"||("toJS"in e&&(e=e.toJS()),!e.layers))return e;const t={};for(const A of e.layers)t[A.id]=A;const i=e.layers.map(A=>{let c=null;"interactive"in A&&(c=Object.assign({},A),delete c.interactive);const p=t[A.ref];if(p){c=c||Object.assign({},A),delete c.ref;for(const m of tF)m in p&&(c[m]=p[m])}return c||A});return{...e,layers:i}}const _4={version:8,sources:{},layers:[]},K4={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},sd={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},$4={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},oF=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],nF=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class na{constructor(t,i,A){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=c=>{const p=this.props[$4[c.type]];p?p(c):c.type==="error"&&console.error(c.error)},this._onPointerEvent=c=>{(c.type==="mousemove"||c.type==="mouseout")&&this._updateHover(c);const p=this.props[K4[c.type]];p&&(this.props.interactiveLayerIds&&c.type!=="mouseover"&&c.type!=="mouseout"&&(c.features=this._hoveredFeatures||this._queryRenderedFeatures(c.point)),p(c),delete c.features)},this._onCameraEvent=c=>{if(!this._internalUpdate){const p=this.props[sd[c.type]];p&&p(c)}c.type in this._deferredEvents&&(this._deferredEvents[c.type]=!1)},this._MapClass=t,this.props=i,this._initialize(A)}get map(){return this._map}get transform(){return this._renderTransform}setProps(t){const i=this.props;this.props=t;const A=this._updateSettings(t,i);A&&this._createShadowTransform(this._map);const c=this._updateSize(t),p=this._updateViewState(t,!0);this._updateStyle(t,i),this._updateStyleComponents(t,i),this._updateHandlers(t,i),(A||c||p&&!this._map.isMoving())&&this.redraw()}static reuse(t,i){const A=na.savedMaps.pop();if(!A)return null;const c=A.map,p=c.getContainer();for(i.className=p.className;p.childNodes.length>0;)i.appendChild(p.childNodes[0]);c._container=i;const m=c._resizeObserver;m&&(m.disconnect(),m.observe(i)),A.setProps({...t,styleDiffing:!1}),c.resize();const{initialViewState:h}=t;return h&&(h.bounds?c.fitBounds(h.bounds,{...h.fitBoundsOptions,duration:0}):A._updateViewState(h,!1)),c.isStyleLoaded()?c.fire("load"):c.once("styledata",()=>c.fire("load")),c._update(),A}_initialize(t){const{props:i}=this,{mapStyle:A=_4}=i,c={...i,...i.initialViewState,accessToken:i.mapboxAccessToken||rF()||null,container:t,style:X4(A)},p=c.initialViewState||c.viewState||c;if(Object.assign(c,{center:[p.longitude||0,p.latitude||0],zoom:p.zoom||0,pitch:p.pitch||0,bearing:p.bearing||0}),i.gl){const w=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=w,i.gl)}const m=new this._MapClass(c);p.padding&&m.setPadding(p.padding),i.cursor&&(m.getCanvas().style.cursor=i.cursor),this._createShadowTransform(m);const h=m._render;m._render=w=>{this._inRender=!0,h.call(m,w),this._inRender=!1};const y=m._renderTaskQueue.run;m._renderTaskQueue.run=w=>{y.call(m._renderTaskQueue,w),this._onBeforeRepaint()},m.on("render",()=>this._onAfterRepaint());const v=m.fire;m.fire=this._fireEvent.bind(this,v),m.on("resize",()=>{this._renderTransform.resize(m.transform.width,m.transform.height)}),m.on("styledata",()=>{this._updateStyleComponents(this.props,{}),Y4(m.transform,this._renderTransform)}),m.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const w in K4)m.on(w,this._onPointerEvent);for(const w in sd)m.on(w,this._onCameraEvent);for(const w in $4)m.on(w,this._onEvent);this._map=m}recycle(){const i=this.map.getContainer().querySelector("[mapboxgl-children]");i==null||i.remove(),na.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const t=this._map;!this._inRender&&t.style&&(t._frame&&(t._frame.cancel(),t._frame=null),t._render())}_createShadowTransform(t){const i=eF(t.transform);t.painter.transform=i,this._renderTransform=i}_updateSize(t){const{viewState:i}=t;if(i){const A=this._map;if(i.width!==A.transform.width||i.height!==A.transform.height)return A.resize(),!0}return!1}_updateViewState(t,i){if(this._internalUpdate)return!1;const A=this._map,c=this._renderTransform,{zoom:p,pitch:m,bearing:h}=c,y=A.isMoving();y&&(c.cameraElevationReference="sea");const v=J4(c,{...U4(A.transform),...t});if(y&&(c.cameraElevationReference="ground"),v&&i){const w=this._deferredEvents;w.move=!0,w.zoom||(w.zoom=p!==c.zoom),w.rotate||(w.rotate=h!==c.bearing),w.pitch||(w.pitch=m!==c.pitch)}return y||J4(A.transform,t),v}_updateSettings(t,i){const A=this._map;let c=!1;for(const p of oF)if(p in t&&!Ss(t[p],i[p])){c=!0;const m=A[`set${p[0].toUpperCase()}${p.slice(1)}`];m==null||m.call(A,t[p])}return c}_updateStyle(t,i){if(t.cursor!==i.cursor&&(this._map.getCanvas().style.cursor=t.cursor||""),t.mapStyle!==i.mapStyle){const{mapStyle:A=_4,styleDiffing:c=!0}=t,p={diff:c};return"localIdeographFontFamily"in t&&(p.localIdeographFontFamily=t.localIdeographFontFamily),this._map.setStyle(X4(A),p),!0}return!1}_updateStyleComponents(t,i){const A=this._map;let c=!1;return A.isStyleLoaded()&&("light"in t&&A.setLight&&!Ss(t.light,i.light)&&(c=!0,A.setLight(t.light)),"fog"in t&&A.setFog&&!Ss(t.fog,i.fog)&&(c=!0,A.setFog(t.fog)),"terrain"in t&&A.setTerrain&&!Ss(t.terrain,i.terrain)&&(!t.terrain||A.getSource(t.terrain.source))&&(c=!0,A.setTerrain(t.terrain))),c}_updateHandlers(t,i){var A,c;const p=this._map;let m=!1;for(const h of nF){const y=(A=t[h])!==null&&A!==void 0?A:!0,v=(c=i[h])!==null&&c!==void 0?c:!0;Ss(y,v)||(m=!0,y?p[h].enable(y):p[h].disable())}return m}_queryRenderedFeatures(t){const i=this._map,A=i.transform,{interactiveLayerIds:c=[]}=this.props;try{return i.transform=this._renderTransform,i.queryRenderedFeatures(t,{layers:c.filter(i.getLayer.bind(i))})}catch{return[]}finally{i.transform=A}}_updateHover(t){var i;const{props:A}=this;if(A.interactiveLayerIds&&(A.onMouseMove||A.onMouseEnter||A.onMouseLeave)){const p=t.type,m=((i=this._hoveredFeatures)===null||i===void 0?void 0:i.length)>0,h=this._queryRenderedFeatures(t.point),y=h.length>0;!y&&m&&(t.type="mouseleave",this._onPointerEvent(t)),this._hoveredFeatures=h,y&&!m&&(t.type="mouseenter",this._onPointerEvent(t)),t.type=p}else this._hoveredFeatures=null}_fireEvent(t,i,A){const c=this._map,p=c.transform,m=typeof i=="string"?i:i.type;return m==="move"&&this._updateViewState(this.props,!1),m in sd&&(typeof i=="object"&&(i.viewState=U4(p)),this._map.isMoving())?(c.transform=this._renderTransform,t.call(c,i,A),c.transform=p,c):(t.call(c,i,A),c)}_onBeforeRepaint(){const t=this._map;this._internalUpdate=!0;for(const A in this._deferredEvents)this._deferredEvents[A]&&t.fire(A);this._internalUpdate=!1;const i=this._map.transform;t.transform=this._renderTransform,this._onAfterRepaint=()=>{Y4(this._renderTransform,i),t.transform=i}}}na.savedMaps=[];function rF(){let e=null;if(typeof location<"u"){const t=/access_token=([^&\/]*)/.exec(location.search);e=t&&t[1]}try{e=e||process.env.MapboxAccessToken}catch{}try{e=e||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return e}const sF=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function iF(e){if(!e)return null;const t=e.map,i={getMap:()=>t,getCenter:()=>e.transform.center,getZoom:()=>e.transform.zoom,getBearing:()=>e.transform.bearing,getPitch:()=>e.transform.pitch,getPadding:()=>e.transform.padding,getBounds:()=>e.transform.getBounds(),project:A=>{const c=t.transform;t.transform=e.transform;const p=t.project(A);return t.transform=c,p},unproject:A=>{const c=t.transform;t.transform=e.transform;const p=t.unproject(A);return t.transform=c,p},queryTerrainElevation:(A,c)=>{const p=t.transform;t.transform=e.transform;const m=t.queryTerrainElevation(A,c);return t.transform=p,m},queryRenderedFeatures:(A,c)=>{const p=t.transform;t.transform=e.transform;const m=t.queryRenderedFeatures(A,c);return t.transform=p,m}};for(const A of aF(t))!(A in i)&&!sF.includes(A)&&(i[A]=t[A].bind(t));return i}function aF(e){const t=new Set;let i=e;for(;i;){for(const A of Object.getOwnPropertyNames(i))A[0]!=="_"&&typeof e[A]=="function"&&A!=="fire"&&A!=="setEventedParent"&&t.add(A);i=Object.getPrototypeOf(i)}return Array.from(t)}const AF=typeof document<"u"?we.useLayoutEffect:we.useEffect,lF=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"];function cF(e,t){for(const A of lF)A in t&&(e[A]=t[A]);const{RTLTextPlugin:i="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"}=t;i&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"&&e.setRTLTextPlugin(i,A=>{A&&console.error(A)},!0)}const zu=U.createContext(null);function F7(e,t,i){const A=we.useContext(KN),[c,p]=we.useState(null),m=we.useRef(),{current:h}=we.useRef({mapLib:null,map:null});we.useEffect(()=>{const w=e.mapLib;let C=!0,M;return Promise.resolve(w||i).then(P=>{if(!C)return;if(!P)throw new Error("Invalid mapLib");const I="Map"in P?P:P.default;if(!I.Map)throw new Error("Invalid mapLib");if(cF(I,e),!I.supported||I.supported(e))e.reuseMaps&&(M=na.reuse(e,m.current)),M||(M=new na(I.Map,e,m.current)),h.map=iF(M),h.mapLib=I,p(M),A==null||A.onMapMount(h.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(P=>{const{onError:I}=e;I?I({type:"error",target:null,originalEvent:null,error:P}):console.error(P)}),()=>{C=!1,M&&(A==null||A.onMapUnmount(e.id),e.reuseMaps?M.recycle():M.destroy())}},[]),AF(()=>{c&&c.setProps(e)}),we.useImperativeHandle(t,()=>h.map,[c]);const y=we.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return U.createElement("div",{id:e.id,ref:m,style:y},c&&U.createElement(zu.Provider,{value:h},U.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}const uF=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function d0(e,t){if(!e||!t)return;const i=e.style;for(const A in t){const c=t[A];Number.isFinite(c)&&!uF.test(A)?i[A]=`${c}px`:i[A]=c}}function dF(e,t){const{map:i,mapLib:A}=we.useContext(zu),c=we.useRef({props:e});c.current.props=e;const p=we.useMemo(()=>{let S=!1;U.Children.forEach(e.children,J=>{J&&(S=!0)});const O={...e,element:S?document.createElement("div"):null},F=new A.Marker(O);return F.setLngLat([e.longitude,e.latitude]),F.getElement().addEventListener("click",J=>{var X,Q;(Q=(X=c.current.props).onClick)===null||Q===void 0||Q.call(X,{type:"click",target:F,originalEvent:J})}),F.on("dragstart",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDragStart)===null||Q===void 0||Q.call(X,ee)}),F.on("drag",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDrag)===null||Q===void 0||Q.call(X,ee)}),F.on("dragend",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDragEnd)===null||Q===void 0||Q.call(X,ee)}),F},[]);we.useEffect(()=>(p.addTo(i.getMap()),()=>{p.remove()}),[]);const{longitude:m,latitude:h,offset:y,style:v,draggable:w=!1,popup:C=null,rotation:M=0,rotationAlignment:P="auto",pitchAlignment:I="auto"}=e;return we.useEffect(()=>{d0(p.getElement(),v)},[v]),we.useImperativeHandle(t,()=>p,[]),(p.getLngLat().lng!==m||p.getLngLat().lat!==h)&&p.setLngLat([m,h]),y&&!$N(p.getOffset(),y)&&p.setOffset(y),p.isDraggable()!==w&&p.setDraggable(w),p.getRotation()!==M&&p.setRotation(M),p.getRotationAlignment()!==P&&p.setRotationAlignment(P),p.getPitchAlignment()!==I&&p.setPitchAlignment(I),p.getPopup()!==C&&p.setPopup(C),is.createPortal(e.children,p.getElement())}const V7=we.memo(we.forwardRef(dF));function em(e){return new Set(e?e.trim().split(/\s+/):[])}function pF(e,t){const{map:i,mapLib:A}=we.useContext(zu),c=we.useMemo(()=>document.createElement("div"),[]),p=we.useRef({props:e});p.current.props=e;const m=we.useMemo(()=>{const h={...e},y=new A.Popup(h);return y.setLngLat([e.longitude,e.latitude]),y.once("open",v=>{var w,C;(C=(w=p.current.props).onOpen)===null||C===void 0||C.call(w,v)}),y},[]);if(we.useEffect(()=>{const h=y=>{var v,w;(w=(v=p.current.props).onClose)===null||w===void 0||w.call(v,y)};return m.on("close",h),m.setDOMContent(c).addTo(i.getMap()),()=>{m.off("close",h),m.isOpen()&&m.remove()}},[]),we.useEffect(()=>{d0(m.getElement(),e.style)},[e.style]),we.useImperativeHandle(t,()=>m,[]),m.isOpen()&&((m.getLngLat().lng!==e.longitude||m.getLngLat().lat!==e.latitude)&&m.setLngLat([e.longitude,e.latitude]),e.offset&&!Ss(m.options.offset,e.offset)&&m.setOffset(e.offset),(m.options.anchor!==e.anchor||m.options.maxWidth!==e.maxWidth)&&(m.options.anchor=e.anchor,m.setMaxWidth(e.maxWidth)),m.options.className!==e.className)){const h=em(m.options.className),y=em(e.className);for(const v of h)y.has(v)||m.removeClassName(v);for(const v of y)h.has(v)||m.addClassName(v);m.options.className=e.className}return is.createPortal(e.children,c)}const Zq=we.memo(we.forwardRef(pF));function Nl(e,t,i,A){const c=we.useContext(zu),p=we.useMemo(()=>e(c),[]);return we.useEffect(()=>{const m=A||i||t,h=typeof t=="function"&&typeof i=="function"?t:null,y=typeof i=="function"?i:typeof t=="function"?t:null,{map:v}=c;return v.hasControl(p)||(v.addControl(p,m==null?void 0:m.position),h&&h(c)),()=>{y&&y(c),v.hasControl(p)&&v.removeControl(p)}},[]),p}function fF(e){const t=Nl(({mapLib:i})=>new i.AttributionControl(e),{position:e.position});return we.useEffect(()=>{d0(t._container,e.style)},[e.style]),null}const Qq=we.memo(fF);function mF(e){const t=Nl(({mapLib:i})=>new i.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return we.useEffect(()=>{d0(t._controlContainer,e.style)},[e.style]),null}const qq=we.memo(mF);function hF(e,t){const i=we.useRef({props:e}),A=Nl(({mapLib:c})=>{const p=new c.GeolocateControl(e),m=p._setupUI;return p._setupUI=h=>{p._container.hasChildNodes()||m(h)},p.on("geolocate",h=>{var y,v;(v=(y=i.current.props).onGeolocate)===null||v===void 0||v.call(y,h)}),p.on("error",h=>{var y,v;(v=(y=i.current.props).onError)===null||v===void 0||v.call(y,h)}),p.on("outofmaxbounds",h=>{var y,v;(v=(y=i.current.props).onOutOfMaxBounds)===null||v===void 0||v.call(y,h)}),p.on("trackuserlocationstart",h=>{var y,v;(v=(y=i.current.props).onTrackUserLocationStart)===null||v===void 0||v.call(y,h)}),p.on("trackuserlocationend",h=>{var y,v;(v=(y=i.current.props).onTrackUserLocationEnd)===null||v===void 0||v.call(y,h)}),p},{position:e.position});return i.current.props=e,we.useImperativeHandle(t,()=>A,[]),we.useEffect(()=>{d0(A._container,e.style)},[e.style]),null}const Yq=we.memo(we.forwardRef(hF));function gF(e){const t=Nl(({mapLib:i})=>new i.NavigationControl(e),{position:e.position});return we.useEffect(()=>{d0(t._container,e.style)},[e.style]),null}const yF=we.memo(gF);function bF(e){const t=Nl(({mapLib:p})=>new p.ScaleControl(e),{position:e.position}),i=we.useRef(e),A=i.current;i.current=e;const{style:c}=e;return e.maxWidth!==void 0&&e.maxWidth!==A.maxWidth&&(t.options.maxWidth=e.maxWidth),e.unit!==void 0&&e.unit!==A.unit&&t.setUnit(e.unit),we.useEffect(()=>{d0(t._container,c)},[c]),null}const Uq=we.memo(bF);const vF=Promise.resolve().then(()=>require("./maplibre-gl-CFGDIaRo.js")).then(e=>e.maplibreGl),wF=U.forwardRef(function(t,i){return F7(t,i,vF)}),TF=V7;const CF=yF;const xF=Promise.resolve().then(()=>require("./mapbox-gl-yUGMB8Hd.js")).then(e=>e.mapboxGl),Jq=U.forwardRef(function(t,i){return F7(t,i,xF)}),PF=V7;function MF({locations:e}){if(Ig.IsZeroArray(e))return null;const t=({id:i,longitude:A,latitude:c,icon:p})=>j.jsx("li",{children:j.jsx(PF,{longitude:A,latitude:c,children:p})},i);return j.jsx(pa,{items:e,itemRenderer:t})}const SF=({lng:e,lat:t,zoom:i=12,setCoordinates:A,locations:c=[],token:p,navigationControl:m})=>{const h=we.useRef(null),[y,v]=we.useState({longitude:e,latitude:t,zoom:i});return we.useEffect(()=>{h.current&&m3(t,e)&&h.current.flyTo({center:[e,t],duration:3e3,essential:!0})},[t,e]),j.jsxs(wF,{ref:h,...y,mapStyle:`https://tiles.locationiq.com/v3/streets/vector.json?key=${p}`,style:{width:"100%",height:"100%"},onMove:w=>v(w.viewState),onClick:w=>{const{lng:C,lat:M}=w.lngLat;A&&A({lat:M,lng:C})},children:[m3(t,e)&&j.jsx(TF,{longitude:e,latitude:t,children:"📌"}),j.jsx(MF,{locations:c}),j.jsx(CF,{position:m.position})]})};var G7=(e=>(e.TR="top-right",e))(G7||{});const o0=Math.min,Js=Math.max,ti=Math.round,qs=Math.floor,Xn=e=>({x:e,y:e}),IF={left:"right",right:"left",bottom:"top",top:"bottom"};function pp(e,t,i){return Js(e,o0(t,i))}function Fl(e,t){return typeof e=="function"?e(t):e}function n0(e){return e.split("-")[0]}function Vl(e){return e.split("-")[1]}function H7(e){return e==="x"?"y":"x"}function Xf(e){return e==="y"?"height":"width"}function Ys(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _f(e){return H7(Ys(e))}function kF(e,t,i){i===void 0&&(i=!1);const A=Vl(e),c=_f(e),p=Xf(c);let m=c==="x"?A===(i?"end":"start")?"right":"left":A==="start"?"bottom":"top";return t.reference[p]>t.floating[p]&&(m=Yc(m)),[m,Yc(m)]}function DF(e){const t=Yc(e);return[fp(e),t,fp(t)]}function fp(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const tm=["left","right"],om=["right","left"],OF=["top","bottom"],EF=["bottom","top"];function RF(e,t,i){switch(e){case"top":case"bottom":return i?t?om:tm:t?tm:om;case"left":case"right":return t?OF:EF;default:return[]}}function jF(e,t,i,A){const c=Vl(e);let p=RF(n0(e),i==="start",A);return c&&(p=p.map(m=>m+"-"+c),t&&(p=p.concat(p.map(fp)))),p}function Yc(e){const t=n0(e);return IF[t]+e.slice(t.length)}function BF(e){return{top:0,right:0,bottom:0,left:0,...e}}function W7(e){return typeof e!="number"?BF(e):{top:e,right:e,bottom:e,left:e}}function Cl(e){const{x:t,y:i,width:A,height:c}=e;return{width:A,height:c,top:i,left:t,right:t+A,bottom:i+c,x:t,y:i}}function nm(e,t,i){let{reference:A,floating:c}=e;const p=Ys(t),m=_f(t),h=Xf(m),y=n0(t),v=p==="y",w=A.x+A.width/2-c.width/2,C=A.y+A.height/2-c.height/2,M=A[h]/2-c[h]/2;let P;switch(y){case"top":P={x:w,y:A.y-c.height};break;case"bottom":P={x:w,y:A.y+A.height};break;case"right":P={x:A.x+A.width,y:C};break;case"left":P={x:A.x-c.width,y:C};break;default:P={x:A.x,y:A.y}}switch(Vl(t)){case"start":P[m]-=M*(i&&v?-1:1);break;case"end":P[m]+=M*(i&&v?-1:1);break}return P}async function LF(e,t){var i;t===void 0&&(t={});const{x:A,y:c,platform:p,rects:m,elements:h,strategy:y}=e,{boundary:v="clippingAncestors",rootBoundary:w="viewport",elementContext:C="floating",altBoundary:M=!1,padding:P=0}=Fl(t,e),I=W7(P),O=h[M?C==="floating"?"reference":"floating":C],F=Cl(await p.getClippingRect({element:(i=await(p.isElement==null?void 0:p.isElement(O)))==null||i?O:O.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(h.floating)),boundary:v,rootBoundary:w,strategy:y})),J=C==="floating"?{x:A,y:c,width:m.floating.width,height:m.floating.height}:m.reference,X=await(p.getOffsetParent==null?void 0:p.getOffsetParent(h.floating)),Q=await(p.isElement==null?void 0:p.isElement(X))?await(p.getScale==null?void 0:p.getScale(X))||{x:1,y:1}:{x:1,y:1},ee=Cl(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:J,offsetParent:X,strategy:y}):J);return{top:(F.top-ee.top+I.top)/Q.y,bottom:(ee.bottom-F.bottom+I.bottom)/Q.y,left:(F.left-ee.left+I.left)/Q.x,right:(ee.right-F.right+I.right)/Q.x}}const zF=50,NF=async(e,t,i)=>{const{placement:A="bottom",strategy:c="absolute",middleware:p=[],platform:m}=i,h=m.detectOverflow?m:{...m,detectOverflow:LF},y=await(m.isRTL==null?void 0:m.isRTL(t));let v=await m.getElementRects({reference:e,floating:t,strategy:c}),{x:w,y:C}=nm(v,A,y),M=A,P=0;const I={};for(let S=0;S<p.length;S++){const O=p[S];if(!O)continue;const{name:F,fn:J}=O,{x:X,y:Q,data:ee,reset:Y}=await J({x:w,y:C,initialPlacement:A,placement:M,strategy:c,middlewareData:I,rects:v,platform:h,elements:{reference:e,floating:t}});w=X??w,C=Q??C,I[F]={...I[F],...ee},Y&&P<zF&&(P++,typeof Y=="object"&&(Y.placement&&(M=Y.placement),Y.rects&&(v=Y.rects===!0?await m.getElementRects({reference:e,floating:t,strategy:c}):Y.rects),{x:w,y:C}=nm(v,M,y)),S=-1)}return{x:w,y:C,placement:M,strategy:c,middlewareData:I}},FF=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:A,placement:c,rects:p,platform:m,elements:h,middlewareData:y}=t,{element:v,padding:w=0}=Fl(e,t)||{};if(v==null)return{};const C=W7(w),M={x:i,y:A},P=_f(c),I=Xf(P),S=await m.getDimensions(v),O=P==="y",F=O?"top":"left",J=O?"bottom":"right",X=O?"clientHeight":"clientWidth",Q=p.reference[I]+p.reference[P]-M[P]-p.floating[I],ee=M[P]-p.reference[P],Y=await(m.getOffsetParent==null?void 0:m.getOffsetParent(v));let q=Y?Y[X]:0;(!q||!await(m.isElement==null?void 0:m.isElement(Y)))&&(q=h.floating[X]||p.floating[I]);const te=Q/2-ee/2,oe=q/2-S[I]/2-1,W=o0(C[F],oe),H=o0(C[J],oe),R=W,re=q-S[I]-H,N=q/2-S[I]/2+te,B=pp(R,N,re),G=!y.arrow&&Vl(c)!=null&&N!==B&&p.reference[I]/2-(N<R?W:H)-S[I]/2<0,V=G?N<R?N-R:N-re:0;return{[P]:M[P]+V,data:{[P]:B,centerOffset:N-B-V,...G&&{alignmentOffset:V}},reset:G}}});const VF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,A;const{placement:c,middlewareData:p,rects:m,initialPlacement:h,platform:y,elements:v}=t,{mainAxis:w=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:S=!0,...O}=Fl(e,t);if((i=p.arrow)!=null&&i.alignmentOffset)return{};const F=n0(c),J=Ys(h),X=n0(h)===h,Q=await(y.isRTL==null?void 0:y.isRTL(v.floating)),ee=M||(X||!S?[Yc(h)]:DF(h)),Y=I!=="none";!M&&Y&&ee.push(...jF(h,S,I,Q));const q=[h,...ee],te=await y.detectOverflow(t,O),oe=[];let W=((A=p.flip)==null?void 0:A.overflows)||[];if(w&&oe.push(te[F]),C){const N=kF(c,m,Q);oe.push(te[N[0]],te[N[1]])}if(W=[...W,{placement:c,overflows:oe}],!oe.every(N=>N<=0)){var H,R;const N=(((H=p.flip)==null?void 0:H.index)||0)+1,B=q[N];if(B&&(!(C==="alignment"?J!==Ys(B):!1)||W.every(x=>Ys(x.placement)===J?x.overflows[0]>0:!0)))return{data:{index:N,overflows:W},reset:{placement:B}};let G=(R=W.filter(V=>V.overflows[0]<=0).sort((V,x)=>V.overflows[1]-x.overflows[1])[0])==null?void 0:R.placement;if(!G)switch(P){case"bestFit":{var re;const V=(re=W.filter(x=>{if(Y){const se=Ys(x.placement);return se===J||se==="y"}return!0}).map(x=>[x.placement,x.overflows.filter(se=>se>0).reduce((se,Ae)=>se+Ae,0)]).sort((x,se)=>x[1]-se[1])[0])==null?void 0:re[0];V&&(G=V);break}case"initialPlacement":G=h;break}if(c!==G)return{reset:{placement:G}}}return{}}}};const GF=new Set(["left","top"]);async function HF(e,t){const{placement:i,platform:A,elements:c}=e,p=await(A.isRTL==null?void 0:A.isRTL(c.floating)),m=n0(i),h=Vl(i),y=Ys(i)==="y",v=GF.has(m)?-1:1,w=p&&y?-1:1,C=Fl(t,e);let{mainAxis:M,crossAxis:P,alignmentAxis:I}=typeof C=="number"?{mainAxis:C,crossAxis:0,alignmentAxis:null}:{mainAxis:C.mainAxis||0,crossAxis:C.crossAxis||0,alignmentAxis:C.alignmentAxis};return h&&typeof I=="number"&&(P=h==="end"?I*-1:I),y?{x:P*w,y:M*v}:{x:M*v,y:P*w}}const WF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,A;const{x:c,y:p,placement:m,middlewareData:h}=t,y=await HF(t,e);return m===((i=h.offset)==null?void 0:i.placement)&&(A=h.arrow)!=null&&A.alignmentOffset?{}:{x:c+y.x,y:p+y.y,data:{...y,placement:m}}}}},ZF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:A,placement:c,platform:p}=t,{mainAxis:m=!0,crossAxis:h=!1,limiter:y={fn:F=>{let{x:J,y:X}=F;return{x:J,y:X}}},...v}=Fl(e,t),w={x:i,y:A},C=await p.detectOverflow(t,v),M=Ys(n0(c)),P=H7(M);let I=w[P],S=w[M];if(m){const F=P==="y"?"top":"left",J=P==="y"?"bottom":"right",X=I+C[F],Q=I-C[J];I=pp(X,I,Q)}if(h){const F=M==="y"?"top":"left",J=M==="y"?"bottom":"right",X=S+C[F],Q=S-C[J];S=pp(X,S,Q)}const O=y.fn({...t,[P]:I,[M]:S});return{...O,data:{x:O.x-i,y:O.y-A,enabled:{[P]:m,[M]:h}}}}}};function Nu(){return typeof window<"u"}function wa(e){return Z7(e)?(e.nodeName||"").toLowerCase():"#document"}function Mn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jr(e){var t;return(t=(Z7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Z7(e){return Nu()?e instanceof Node||e instanceof Mn(e).Node:!1}function Kn(e){return Nu()?e instanceof Element||e instanceof Mn(e).Element:!1}function Xr(e){return Nu()?e instanceof HTMLElement||e instanceof Mn(e).HTMLElement:!1}function rm(e){return!Nu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Mn(e).ShadowRoot}function Gl(e){const{overflow:t,overflowX:i,overflowY:A,display:c}=mr(e);return/auto|scroll|overlay|hidden|clip/.test(t+A+i)&&c!=="inline"&&c!=="contents"}function QF(e){return/^(table|td|th)$/.test(wa(e))}function Fu(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qF=/transform|translate|scale|rotate|perspective|filter/,YF=/paint|layout|strict|content/,Hi=e=>!!e&&e!=="none";let id;function Kf(e){const t=Kn(e)?mr(e):e;return Hi(t.transform)||Hi(t.translate)||Hi(t.scale)||Hi(t.rotate)||Hi(t.perspective)||!Vu()&&(Hi(t.backdropFilter)||Hi(t.filter))||qF.test(t.willChange||"")||YF.test(t.contain||"")}function UF(e){let t=oi(e);for(;Xr(t)&&!ra(t);){if(Kf(t))return t;if(Fu(t))return null;t=oi(t)}return null}function Vu(){return id==null&&(id=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),id}function ra(e){return/^(html|body|#document)$/.test(wa(e))}function mr(e){return Mn(e).getComputedStyle(e)}function Gu(e){return Kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function oi(e){if(wa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rm(e)&&e.host||Jr(e);return rm(t)?t.host:t}function Q7(e){const t=oi(e);return ra(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xr(t)&&Gl(t)?t:Q7(t)}function r0(e,t,i){var A;t===void 0&&(t=[]),i===void 0&&(i=!0);const c=Q7(e),p=c===((A=e.ownerDocument)==null?void 0:A.body),m=Mn(c);if(p){const h=xl(m);return t.concat(m,m.visualViewport||[],Gl(c)?c:[],h&&i?r0(h):[])}else return t.concat(c,r0(c,[],i))}function xl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function q7(e){const t=mr(e);let i=parseFloat(t.width)||0,A=parseFloat(t.height)||0;const c=Xr(e),p=c?e.offsetWidth:i,m=c?e.offsetHeight:A,h=ti(i)!==p||ti(A)!==m;return h&&(i=p,A=m),{width:i,height:A,$:h}}function $f(e){return Kn(e)?e:e.contextElement}function H0(e){const t=$f(e);if(!Xr(t))return Xn(1);const i=t.getBoundingClientRect(),{width:A,height:c,$:p}=q7(t);let m=(p?ti(i.width):i.width)/A,h=(p?ti(i.height):i.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!h||!Number.isFinite(h))&&(h=1),{x:m,y:h}}const JF=Xn(0);function Y7(e){const t=Mn(e);return!Vu()||!t.visualViewport?JF:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function XF(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==Mn(e)?!1:t}function s0(e,t,i,A){t===void 0&&(t=!1),i===void 0&&(i=!1);const c=e.getBoundingClientRect(),p=$f(e);let m=Xn(1);t&&(A?Kn(A)&&(m=H0(A)):m=H0(e));const h=XF(p,i,A)?Y7(p):Xn(0);let y=(c.left+h.x)/m.x,v=(c.top+h.y)/m.y,w=c.width/m.x,C=c.height/m.y;if(p){const M=Mn(p),P=A&&Kn(A)?Mn(A):A;let I=M,S=xl(I);for(;S&&A&&P!==I;){const O=H0(S),F=S.getBoundingClientRect(),J=mr(S),X=F.left+(S.clientLeft+parseFloat(J.paddingLeft))*O.x,Q=F.top+(S.clientTop+parseFloat(J.paddingTop))*O.y;y*=O.x,v*=O.y,w*=O.x,C*=O.y,y+=X,v+=Q,I=Mn(S),S=xl(I)}}return Cl({width:w,height:C,x:y,y:v})}function Hu(e,t){const i=Gu(e).scrollLeft;return t?t.left+i:s0(Jr(e)).left+i}function U7(e,t){const i=e.getBoundingClientRect(),A=i.left+t.scrollLeft-Hu(e,i),c=i.top+t.scrollTop;return{x:A,y:c}}function _F(e){let{elements:t,rect:i,offsetParent:A,strategy:c}=e;const p=c==="fixed",m=Jr(A),h=t?Fu(t.floating):!1;if(A===m||h&&p)return i;let y={scrollLeft:0,scrollTop:0},v=Xn(1);const w=Xn(0),C=Xr(A);if((C||!C&&!p)&&((wa(A)!=="body"||Gl(m))&&(y=Gu(A)),C)){const P=s0(A);v=H0(A),w.x=P.x+A.clientLeft,w.y=P.y+A.clientTop}const M=m&&!C&&!p?U7(m,y):Xn(0);return{width:i.width*v.x,height:i.height*v.y,x:i.x*v.x-y.scrollLeft*v.x+w.x+M.x,y:i.y*v.y-y.scrollTop*v.y+w.y+M.y}}function KF(e){return Array.from(e.getClientRects())}function $F(e){const t=Jr(e),i=Gu(e),A=e.ownerDocument.body,c=Js(t.scrollWidth,t.clientWidth,A.scrollWidth,A.clientWidth),p=Js(t.scrollHeight,t.clientHeight,A.scrollHeight,A.clientHeight);let m=-i.scrollLeft+Hu(e);const h=-i.scrollTop;return mr(A).direction==="rtl"&&(m+=Js(t.clientWidth,A.clientWidth)-c),{width:c,height:p,x:m,y:h}}const sm=25;function eV(e,t){const i=Mn(e),A=Jr(e),c=i.visualViewport;let p=A.clientWidth,m=A.clientHeight,h=0,y=0;if(c){p=c.width,m=c.height;const w=Vu();(!w||w&&t==="fixed")&&(h=c.offsetLeft,y=c.offsetTop)}const v=Hu(A);if(v<=0){const w=A.ownerDocument,C=w.body,M=getComputedStyle(C),P=w.compatMode==="CSS1Compat"&&parseFloat(M.marginLeft)+parseFloat(M.marginRight)||0,I=Math.abs(A.clientWidth-C.clientWidth-P);I<=sm&&(p-=I)}else v<=sm&&(p+=v);return{width:p,height:m,x:h,y}}function tV(e,t){const i=s0(e,!0,t==="fixed"),A=i.top+e.clientTop,c=i.left+e.clientLeft,p=Xr(e)?H0(e):Xn(1),m=e.clientWidth*p.x,h=e.clientHeight*p.y,y=c*p.x,v=A*p.y;return{width:m,height:h,x:y,y:v}}function im(e,t,i){let A;if(t==="viewport")A=eV(e,i);else if(t==="document")A=$F(Jr(e));else if(Kn(t))A=tV(t,i);else{const c=Y7(e);A={x:t.x-c.x,y:t.y-c.y,width:t.width,height:t.height}}return Cl(A)}function J7(e,t){const i=oi(e);return i===t||!Kn(i)||ra(i)?!1:mr(i).position==="fixed"||J7(i,t)}function oV(e,t){const i=t.get(e);if(i)return i;let A=r0(e,[],!1).filter(h=>Kn(h)&&wa(h)!=="body"),c=null;const p=mr(e).position==="fixed";let m=p?oi(e):e;for(;Kn(m)&&!ra(m);){const h=mr(m),y=Kf(m);!y&&h.position==="fixed"&&(c=null),(p?!y&&!c:!y&&h.position==="static"&&!!c&&(c.position==="absolute"||c.position==="fixed")||Gl(m)&&!y&&J7(e,m))?A=A.filter(w=>w!==m):c=h,m=oi(m)}return t.set(e,A),A}function nV(e){let{element:t,boundary:i,rootBoundary:A,strategy:c}=e;const m=[...i==="clippingAncestors"?Fu(t)?[]:oV(t,this._c):[].concat(i),A],h=im(t,m[0],c);let y=h.top,v=h.right,w=h.bottom,C=h.left;for(let M=1;M<m.length;M++){const P=im(t,m[M],c);y=Js(P.top,y),v=o0(P.right,v),w=o0(P.bottom,w),C=Js(P.left,C)}return{width:v-C,height:w-y,x:C,y}}function rV(e){const{width:t,height:i}=q7(e);return{width:t,height:i}}function sV(e,t,i){const A=Xr(t),c=Jr(t),p=i==="fixed",m=s0(e,!0,p,t);let h={scrollLeft:0,scrollTop:0};const y=Xn(0);function v(){y.x=Hu(c)}if(A||!A&&!p)if((wa(t)!=="body"||Gl(c))&&(h=Gu(t)),A){const P=s0(t,!0,p,t);y.x=P.x+t.clientLeft,y.y=P.y+t.clientTop}else c&&v();p&&!A&&c&&v();const w=c&&!A&&!p?U7(c,h):Xn(0),C=m.left+h.scrollLeft-y.x-w.x,M=m.top+h.scrollTop-y.y-w.y;return{x:C,y:M,width:m.width,height:m.height}}function ad(e){return mr(e).position==="static"}function am(e,t){if(!Xr(e)||mr(e).position==="fixed")return null;if(t)return t(e);let i=e.offsetParent;return Jr(e)===i&&(i=i.ownerDocument.body),i}function X7(e,t){const i=Mn(e);if(Fu(e))return i;if(!Xr(e)){let c=oi(e);for(;c&&!ra(c);){if(Kn(c)&&!ad(c))return c;c=oi(c)}return i}let A=am(e,t);for(;A&&QF(A)&&ad(A);)A=am(A,t);return A&&ra(A)&&ad(A)&&!Kf(A)?i:A||UF(e)||i}const iV=async function(e){const t=this.getOffsetParent||X7,i=this.getDimensions,A=await i(e.floating);return{reference:sV(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:A.width,height:A.height}}};function aV(e){return mr(e).direction==="rtl"}const AV={convertOffsetParentRelativeRectToViewportRelativeRect:_F,getDocumentElement:Jr,getClippingRect:nV,getOffsetParent:X7,getElementRects:iV,getClientRects:KF,getDimensions:rV,getScale:H0,isElement:Kn,isRTL:aV};function _7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function lV(e,t){let i=null,A;const c=Jr(e);function p(){var h;clearTimeout(A),(h=i)==null||h.disconnect(),i=null}function m(h,y){h===void 0&&(h=!1),y===void 0&&(y=1),p();const v=e.getBoundingClientRect(),{left:w,top:C,width:M,height:P}=v;if(h||t(),!M||!P)return;const I=qs(C),S=qs(c.clientWidth-(w+M)),O=qs(c.clientHeight-(C+P)),F=qs(w),X={rootMargin:-I+"px "+-S+"px "+-O+"px "+-F+"px",threshold:Js(0,o0(1,y))||1};let Q=!0;function ee(Y){const q=Y[0].intersectionRatio;if(q!==y){if(!Q)return m();q?m(!1,q):A=setTimeout(()=>{m(!1,1e-7)},1e3)}q===1&&!_7(v,e.getBoundingClientRect())&&m(),Q=!1}try{i=new IntersectionObserver(ee,{...X,root:c.ownerDocument})}catch{i=new IntersectionObserver(ee,X)}i.observe(e)}return m(!0),p}function cV(e,t,i,A){A===void 0&&(A={});const{ancestorScroll:c=!0,ancestorResize:p=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:y=!1}=A,v=$f(e),w=c||p?[...v?r0(v):[],...t?r0(t):[]]:[];w.forEach(F=>{c&&F.addEventListener("scroll",i,{passive:!0}),p&&F.addEventListener("resize",i)});const C=v&&h?lV(v,i):null;let M=-1,P=null;m&&(P=new ResizeObserver(F=>{let[J]=F;J&&J.target===v&&P&&t&&(P.unobserve(t),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var X;(X=P)==null||X.observe(t)})),i()}),v&&!y&&P.observe(v),t&&P.observe(t));let I,S=y?s0(e):null;y&&O();function O(){const F=s0(e);S&&!_7(S,F)&&i(),S=F,I=requestAnimationFrame(O)}return i(),()=>{var F;w.forEach(J=>{c&&J.removeEventListener("scroll",i),p&&J.removeEventListener("resize",i)}),C==null||C(),(F=P)==null||F.disconnect(),P=null,y&&cancelAnimationFrame(I)}}const uV=WF;const dV=ZF,pV=VF;const fV=FF;const Am=(e,t,i)=>{const A=new Map,c={platform:AV,...i},p={...c.platform,_c:A};return NF(e,t,{...c,platform:p})};var Mc={exports:{}};/*!
|
|
685
|
+
*/function XN({value:e,setValue:t,disabled:i=!1}){return j.jsx(kl,{dateAdapter:su,children:j.jsx(YN,{value:e,disabled:i,onChange:t,slotProps:{textField:{sx:{"& .MuiPickersSectionList-root":{padding:0},"& .MuiPickersInputBase-sectionsContainer":{padding:0},width:"100%",height:30,"& .MuiInputBase-root":{height:30,"& .MuiInputBase-input":{padding:"0px 16px",color:"gray"}}}}}})})}function _N({startDate:e,endDate:t,isDayShown:i=!1,className:A=""}){const c=h=>{const y=Tr.parseDate(h);return i?y.format("dddd, MMM D"):Tr.formatDate(h)},m=Tr.parseDate(e).format("YYYY-MM-DD")===Tr.parseDate(t).format("YYYY-MM-DD")?`${c(e)}, ${Tr.formatTime(e)} - ${Tr.formatTime(t)}`:`${c(e)}, ${Tr.formatTime(e)} - ${c(t)}, ${Tr.formatTime(t)}`;return j.jsx("div",{className:ut("text-gray-600 text-sm",A),children:m})}function N7({date:e}){return!e||e.length<10?null:j.jsx("div",{className:"text-gray-600 text-sm",children:Tr.formatDateTime(e)})}const KN=U.createContext(null);function $N(e,t){const i=Array.isArray(e)?e[0]:e?e.x:0,A=Array.isArray(e)?e[1]:e?e.y:0,c=Array.isArray(t)?t[0]:t?t.x:0,p=Array.isArray(t)?t[1]:t?t.y:0;return i===c&&A===p}function Ss(e,t){if(e===t)return!0;if(!e||!t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!Ss(e[i],t[i]))return!1;return!0}else if(Array.isArray(t))return!1;if(typeof e=="object"&&typeof t=="object"){const i=Object.keys(e),A=Object.keys(t);if(i.length!==A.length)return!1;for(const c of i)if(!t.hasOwnProperty(c)||!Ss(e[c],t[c]))return!1;return!0}return!1}function eF(e){const t=e.clone();return t.pixelsToGLUnits=e.pixelsToGLUnits,t}function Y4(e,t){if(!e.getProjection)return;const i=e.getProjection(),A=t.getProjection();Ss(i,A)||t.setProjection(i)}function U4(e){return{longitude:e.center.lng,latitude:e.center.lat,zoom:e.zoom,pitch:e.pitch,bearing:e.bearing,padding:e.padding}}function J4(e,t){const i=t.viewState||t;let A=!1;if("zoom"in i){const c=e.zoom;e.zoom=i.zoom,A=A||c!==e.zoom}if("bearing"in i){const c=e.bearing;e.bearing=i.bearing,A=A||c!==e.bearing}if("pitch"in i){const c=e.pitch;e.pitch=i.pitch,A=A||c!==e.pitch}if(i.padding&&!e.isPaddingEqual(i.padding)&&(A=!0,e.padding=i.padding),"longitude"in i&&"latitude"in i){const c=e.center;e.center=new c.constructor(i.longitude,i.latitude),A=A||c!==e.center}return A}const tF=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function X4(e){if(!e)return null;if(typeof e=="string"||("toJS"in e&&(e=e.toJS()),!e.layers))return e;const t={};for(const A of e.layers)t[A.id]=A;const i=e.layers.map(A=>{let c=null;"interactive"in A&&(c=Object.assign({},A),delete c.interactive);const p=t[A.ref];if(p){c=c||Object.assign({},A),delete c.ref;for(const m of tF)m in p&&(c[m]=p[m])}return c||A});return{...e,layers:i}}const _4={version:8,sources:{},layers:[]},K4={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},sd={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},$4={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},oF=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],nF=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class na{constructor(t,i,A){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=c=>{const p=this.props[$4[c.type]];p?p(c):c.type==="error"&&console.error(c.error)},this._onPointerEvent=c=>{(c.type==="mousemove"||c.type==="mouseout")&&this._updateHover(c);const p=this.props[K4[c.type]];p&&(this.props.interactiveLayerIds&&c.type!=="mouseover"&&c.type!=="mouseout"&&(c.features=this._hoveredFeatures||this._queryRenderedFeatures(c.point)),p(c),delete c.features)},this._onCameraEvent=c=>{if(!this._internalUpdate){const p=this.props[sd[c.type]];p&&p(c)}c.type in this._deferredEvents&&(this._deferredEvents[c.type]=!1)},this._MapClass=t,this.props=i,this._initialize(A)}get map(){return this._map}get transform(){return this._renderTransform}setProps(t){const i=this.props;this.props=t;const A=this._updateSettings(t,i);A&&this._createShadowTransform(this._map);const c=this._updateSize(t),p=this._updateViewState(t,!0);this._updateStyle(t,i),this._updateStyleComponents(t,i),this._updateHandlers(t,i),(A||c||p&&!this._map.isMoving())&&this.redraw()}static reuse(t,i){const A=na.savedMaps.pop();if(!A)return null;const c=A.map,p=c.getContainer();for(i.className=p.className;p.childNodes.length>0;)i.appendChild(p.childNodes[0]);c._container=i;const m=c._resizeObserver;m&&(m.disconnect(),m.observe(i)),A.setProps({...t,styleDiffing:!1}),c.resize();const{initialViewState:h}=t;return h&&(h.bounds?c.fitBounds(h.bounds,{...h.fitBoundsOptions,duration:0}):A._updateViewState(h,!1)),c.isStyleLoaded()?c.fire("load"):c.once("styledata",()=>c.fire("load")),c._update(),A}_initialize(t){const{props:i}=this,{mapStyle:A=_4}=i,c={...i,...i.initialViewState,accessToken:i.mapboxAccessToken||rF()||null,container:t,style:X4(A)},p=c.initialViewState||c.viewState||c;if(Object.assign(c,{center:[p.longitude||0,p.latitude||0],zoom:p.zoom||0,pitch:p.pitch||0,bearing:p.bearing||0}),i.gl){const w=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=w,i.gl)}const m=new this._MapClass(c);p.padding&&m.setPadding(p.padding),i.cursor&&(m.getCanvas().style.cursor=i.cursor),this._createShadowTransform(m);const h=m._render;m._render=w=>{this._inRender=!0,h.call(m,w),this._inRender=!1};const y=m._renderTaskQueue.run;m._renderTaskQueue.run=w=>{y.call(m._renderTaskQueue,w),this._onBeforeRepaint()},m.on("render",()=>this._onAfterRepaint());const v=m.fire;m.fire=this._fireEvent.bind(this,v),m.on("resize",()=>{this._renderTransform.resize(m.transform.width,m.transform.height)}),m.on("styledata",()=>{this._updateStyleComponents(this.props,{}),Y4(m.transform,this._renderTransform)}),m.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const w in K4)m.on(w,this._onPointerEvent);for(const w in sd)m.on(w,this._onCameraEvent);for(const w in $4)m.on(w,this._onEvent);this._map=m}recycle(){const i=this.map.getContainer().querySelector("[mapboxgl-children]");i==null||i.remove(),na.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const t=this._map;!this._inRender&&t.style&&(t._frame&&(t._frame.cancel(),t._frame=null),t._render())}_createShadowTransform(t){const i=eF(t.transform);t.painter.transform=i,this._renderTransform=i}_updateSize(t){const{viewState:i}=t;if(i){const A=this._map;if(i.width!==A.transform.width||i.height!==A.transform.height)return A.resize(),!0}return!1}_updateViewState(t,i){if(this._internalUpdate)return!1;const A=this._map,c=this._renderTransform,{zoom:p,pitch:m,bearing:h}=c,y=A.isMoving();y&&(c.cameraElevationReference="sea");const v=J4(c,{...U4(A.transform),...t});if(y&&(c.cameraElevationReference="ground"),v&&i){const w=this._deferredEvents;w.move=!0,w.zoom||(w.zoom=p!==c.zoom),w.rotate||(w.rotate=h!==c.bearing),w.pitch||(w.pitch=m!==c.pitch)}return y||J4(A.transform,t),v}_updateSettings(t,i){const A=this._map;let c=!1;for(const p of oF)if(p in t&&!Ss(t[p],i[p])){c=!0;const m=A[`set${p[0].toUpperCase()}${p.slice(1)}`];m==null||m.call(A,t[p])}return c}_updateStyle(t,i){if(t.cursor!==i.cursor&&(this._map.getCanvas().style.cursor=t.cursor||""),t.mapStyle!==i.mapStyle){const{mapStyle:A=_4,styleDiffing:c=!0}=t,p={diff:c};return"localIdeographFontFamily"in t&&(p.localIdeographFontFamily=t.localIdeographFontFamily),this._map.setStyle(X4(A),p),!0}return!1}_updateStyleComponents(t,i){const A=this._map;let c=!1;return A.isStyleLoaded()&&("light"in t&&A.setLight&&!Ss(t.light,i.light)&&(c=!0,A.setLight(t.light)),"fog"in t&&A.setFog&&!Ss(t.fog,i.fog)&&(c=!0,A.setFog(t.fog)),"terrain"in t&&A.setTerrain&&!Ss(t.terrain,i.terrain)&&(!t.terrain||A.getSource(t.terrain.source))&&(c=!0,A.setTerrain(t.terrain))),c}_updateHandlers(t,i){var A,c;const p=this._map;let m=!1;for(const h of nF){const y=(A=t[h])!==null&&A!==void 0?A:!0,v=(c=i[h])!==null&&c!==void 0?c:!0;Ss(y,v)||(m=!0,y?p[h].enable(y):p[h].disable())}return m}_queryRenderedFeatures(t){const i=this._map,A=i.transform,{interactiveLayerIds:c=[]}=this.props;try{return i.transform=this._renderTransform,i.queryRenderedFeatures(t,{layers:c.filter(i.getLayer.bind(i))})}catch{return[]}finally{i.transform=A}}_updateHover(t){var i;const{props:A}=this;if(A.interactiveLayerIds&&(A.onMouseMove||A.onMouseEnter||A.onMouseLeave)){const p=t.type,m=((i=this._hoveredFeatures)===null||i===void 0?void 0:i.length)>0,h=this._queryRenderedFeatures(t.point),y=h.length>0;!y&&m&&(t.type="mouseleave",this._onPointerEvent(t)),this._hoveredFeatures=h,y&&!m&&(t.type="mouseenter",this._onPointerEvent(t)),t.type=p}else this._hoveredFeatures=null}_fireEvent(t,i,A){const c=this._map,p=c.transform,m=typeof i=="string"?i:i.type;return m==="move"&&this._updateViewState(this.props,!1),m in sd&&(typeof i=="object"&&(i.viewState=U4(p)),this._map.isMoving())?(c.transform=this._renderTransform,t.call(c,i,A),c.transform=p,c):(t.call(c,i,A),c)}_onBeforeRepaint(){const t=this._map;this._internalUpdate=!0;for(const A in this._deferredEvents)this._deferredEvents[A]&&t.fire(A);this._internalUpdate=!1;const i=this._map.transform;t.transform=this._renderTransform,this._onAfterRepaint=()=>{Y4(this._renderTransform,i),t.transform=i}}}na.savedMaps=[];function rF(){let e=null;if(typeof location<"u"){const t=/access_token=([^&\/]*)/.exec(location.search);e=t&&t[1]}try{e=e||process.env.MapboxAccessToken}catch{}try{e=e||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return e}const sF=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function iF(e){if(!e)return null;const t=e.map,i={getMap:()=>t,getCenter:()=>e.transform.center,getZoom:()=>e.transform.zoom,getBearing:()=>e.transform.bearing,getPitch:()=>e.transform.pitch,getPadding:()=>e.transform.padding,getBounds:()=>e.transform.getBounds(),project:A=>{const c=t.transform;t.transform=e.transform;const p=t.project(A);return t.transform=c,p},unproject:A=>{const c=t.transform;t.transform=e.transform;const p=t.unproject(A);return t.transform=c,p},queryTerrainElevation:(A,c)=>{const p=t.transform;t.transform=e.transform;const m=t.queryTerrainElevation(A,c);return t.transform=p,m},queryRenderedFeatures:(A,c)=>{const p=t.transform;t.transform=e.transform;const m=t.queryRenderedFeatures(A,c);return t.transform=p,m}};for(const A of aF(t))!(A in i)&&!sF.includes(A)&&(i[A]=t[A].bind(t));return i}function aF(e){const t=new Set;let i=e;for(;i;){for(const A of Object.getOwnPropertyNames(i))A[0]!=="_"&&typeof e[A]=="function"&&A!=="fire"&&A!=="setEventedParent"&&t.add(A);i=Object.getPrototypeOf(i)}return Array.from(t)}const AF=typeof document<"u"?we.useLayoutEffect:we.useEffect,lF=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"];function cF(e,t){for(const A of lF)A in t&&(e[A]=t[A]);const{RTLTextPlugin:i="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"}=t;i&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"&&e.setRTLTextPlugin(i,A=>{A&&console.error(A)},!0)}const zu=U.createContext(null);function F7(e,t,i){const A=we.useContext(KN),[c,p]=we.useState(null),m=we.useRef(),{current:h}=we.useRef({mapLib:null,map:null});we.useEffect(()=>{const w=e.mapLib;let C=!0,M;return Promise.resolve(w||i).then(P=>{if(!C)return;if(!P)throw new Error("Invalid mapLib");const I="Map"in P?P:P.default;if(!I.Map)throw new Error("Invalid mapLib");if(cF(I,e),!I.supported||I.supported(e))e.reuseMaps&&(M=na.reuse(e,m.current)),M||(M=new na(I.Map,e,m.current)),h.map=iF(M),h.mapLib=I,p(M),A==null||A.onMapMount(h.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(P=>{const{onError:I}=e;I?I({type:"error",target:null,originalEvent:null,error:P}):console.error(P)}),()=>{C=!1,M&&(A==null||A.onMapUnmount(e.id),e.reuseMaps?M.recycle():M.destroy())}},[]),AF(()=>{c&&c.setProps(e)}),we.useImperativeHandle(t,()=>h.map,[c]);const y=we.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return U.createElement("div",{id:e.id,ref:m,style:y},c&&U.createElement(zu.Provider,{value:h},U.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}const uF=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function d0(e,t){if(!e||!t)return;const i=e.style;for(const A in t){const c=t[A];Number.isFinite(c)&&!uF.test(A)?i[A]=`${c}px`:i[A]=c}}function dF(e,t){const{map:i,mapLib:A}=we.useContext(zu),c=we.useRef({props:e});c.current.props=e;const p=we.useMemo(()=>{let S=!1;U.Children.forEach(e.children,J=>{J&&(S=!0)});const O={...e,element:S?document.createElement("div"):null},F=new A.Marker(O);return F.setLngLat([e.longitude,e.latitude]),F.getElement().addEventListener("click",J=>{var X,Q;(Q=(X=c.current.props).onClick)===null||Q===void 0||Q.call(X,{type:"click",target:F,originalEvent:J})}),F.on("dragstart",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDragStart)===null||Q===void 0||Q.call(X,ee)}),F.on("drag",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDrag)===null||Q===void 0||Q.call(X,ee)}),F.on("dragend",J=>{var X,Q;const ee=J;ee.lngLat=p.getLngLat(),(Q=(X=c.current.props).onDragEnd)===null||Q===void 0||Q.call(X,ee)}),F},[]);we.useEffect(()=>(p.addTo(i.getMap()),()=>{p.remove()}),[]);const{longitude:m,latitude:h,offset:y,style:v,draggable:w=!1,popup:C=null,rotation:M=0,rotationAlignment:P="auto",pitchAlignment:I="auto"}=e;return we.useEffect(()=>{d0(p.getElement(),v)},[v]),we.useImperativeHandle(t,()=>p,[]),(p.getLngLat().lng!==m||p.getLngLat().lat!==h)&&p.setLngLat([m,h]),y&&!$N(p.getOffset(),y)&&p.setOffset(y),p.isDraggable()!==w&&p.setDraggable(w),p.getRotation()!==M&&p.setRotation(M),p.getRotationAlignment()!==P&&p.setRotationAlignment(P),p.getPitchAlignment()!==I&&p.setPitchAlignment(I),p.getPopup()!==C&&p.setPopup(C),is.createPortal(e.children,p.getElement())}const V7=we.memo(we.forwardRef(dF));function em(e){return new Set(e?e.trim().split(/\s+/):[])}function pF(e,t){const{map:i,mapLib:A}=we.useContext(zu),c=we.useMemo(()=>document.createElement("div"),[]),p=we.useRef({props:e});p.current.props=e;const m=we.useMemo(()=>{const h={...e},y=new A.Popup(h);return y.setLngLat([e.longitude,e.latitude]),y.once("open",v=>{var w,C;(C=(w=p.current.props).onOpen)===null||C===void 0||C.call(w,v)}),y},[]);if(we.useEffect(()=>{const h=y=>{var v,w;(w=(v=p.current.props).onClose)===null||w===void 0||w.call(v,y)};return m.on("close",h),m.setDOMContent(c).addTo(i.getMap()),()=>{m.off("close",h),m.isOpen()&&m.remove()}},[]),we.useEffect(()=>{d0(m.getElement(),e.style)},[e.style]),we.useImperativeHandle(t,()=>m,[]),m.isOpen()&&((m.getLngLat().lng!==e.longitude||m.getLngLat().lat!==e.latitude)&&m.setLngLat([e.longitude,e.latitude]),e.offset&&!Ss(m.options.offset,e.offset)&&m.setOffset(e.offset),(m.options.anchor!==e.anchor||m.options.maxWidth!==e.maxWidth)&&(m.options.anchor=e.anchor,m.setMaxWidth(e.maxWidth)),m.options.className!==e.className)){const h=em(m.options.className),y=em(e.className);for(const v of h)y.has(v)||m.removeClassName(v);for(const v of y)h.has(v)||m.addClassName(v);m.options.className=e.className}return is.createPortal(e.children,c)}const Zq=we.memo(we.forwardRef(pF));function Nl(e,t,i,A){const c=we.useContext(zu),p=we.useMemo(()=>e(c),[]);return we.useEffect(()=>{const m=A||i||t,h=typeof t=="function"&&typeof i=="function"?t:null,y=typeof i=="function"?i:typeof t=="function"?t:null,{map:v}=c;return v.hasControl(p)||(v.addControl(p,m==null?void 0:m.position),h&&h(c)),()=>{y&&y(c),v.hasControl(p)&&v.removeControl(p)}},[]),p}function fF(e){const t=Nl(({mapLib:i})=>new i.AttributionControl(e),{position:e.position});return we.useEffect(()=>{d0(t._container,e.style)},[e.style]),null}const Qq=we.memo(fF);function mF(e){const t=Nl(({mapLib:i})=>new i.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return we.useEffect(()=>{d0(t._controlContainer,e.style)},[e.style]),null}const qq=we.memo(mF);function hF(e,t){const i=we.useRef({props:e}),A=Nl(({mapLib:c})=>{const p=new c.GeolocateControl(e),m=p._setupUI;return p._setupUI=h=>{p._container.hasChildNodes()||m(h)},p.on("geolocate",h=>{var y,v;(v=(y=i.current.props).onGeolocate)===null||v===void 0||v.call(y,h)}),p.on("error",h=>{var y,v;(v=(y=i.current.props).onError)===null||v===void 0||v.call(y,h)}),p.on("outofmaxbounds",h=>{var y,v;(v=(y=i.current.props).onOutOfMaxBounds)===null||v===void 0||v.call(y,h)}),p.on("trackuserlocationstart",h=>{var y,v;(v=(y=i.current.props).onTrackUserLocationStart)===null||v===void 0||v.call(y,h)}),p.on("trackuserlocationend",h=>{var y,v;(v=(y=i.current.props).onTrackUserLocationEnd)===null||v===void 0||v.call(y,h)}),p},{position:e.position});return i.current.props=e,we.useImperativeHandle(t,()=>A,[]),we.useEffect(()=>{d0(A._container,e.style)},[e.style]),null}const Yq=we.memo(we.forwardRef(hF));function gF(e){const t=Nl(({mapLib:i})=>new i.NavigationControl(e),{position:e.position});return we.useEffect(()=>{d0(t._container,e.style)},[e.style]),null}const yF=we.memo(gF);function bF(e){const t=Nl(({mapLib:p})=>new p.ScaleControl(e),{position:e.position}),i=we.useRef(e),A=i.current;i.current=e;const{style:c}=e;return e.maxWidth!==void 0&&e.maxWidth!==A.maxWidth&&(t.options.maxWidth=e.maxWidth),e.unit!==void 0&&e.unit!==A.unit&&t.setUnit(e.unit),we.useEffect(()=>{d0(t._container,c)},[c]),null}const Uq=we.memo(bF);const vF=Promise.resolve().then(()=>require("./maplibre-gl-BpNeF5jb.js")).then(e=>e.maplibreGl),wF=U.forwardRef(function(t,i){return F7(t,i,vF)}),TF=V7;const CF=yF;const xF=Promise.resolve().then(()=>require("./mapbox-gl-BFhHIuoI.js")).then(e=>e.mapboxGl),Jq=U.forwardRef(function(t,i){return F7(t,i,xF)}),PF=V7;function MF({locations:e}){if(Ig.IsZeroArray(e))return null;const t=({id:i,longitude:A,latitude:c,icon:p})=>j.jsx("li",{children:j.jsx(PF,{longitude:A,latitude:c,children:p})},i);return j.jsx(pa,{items:e,itemRenderer:t})}const SF=({lng:e,lat:t,zoom:i=12,setCoordinates:A,locations:c=[],token:p,navigationControl:m})=>{const h=we.useRef(null),[y,v]=we.useState({longitude:e,latitude:t,zoom:i});return we.useEffect(()=>{h.current&&m3(t,e)&&h.current.flyTo({center:[e,t],duration:3e3,essential:!0})},[t,e]),j.jsxs(wF,{ref:h,...y,mapStyle:`https://tiles.locationiq.com/v3/streets/vector.json?key=${p}`,style:{width:"100%",height:"100%"},onMove:w=>v(w.viewState),onClick:w=>{const{lng:C,lat:M}=w.lngLat;A&&A({lat:M,lng:C})},children:[m3(t,e)&&j.jsx(TF,{longitude:e,latitude:t,children:"📌"}),j.jsx(MF,{locations:c}),j.jsx(CF,{position:m.position})]})};var G7=(e=>(e.TR="top-right",e))(G7||{});const o0=Math.min,Js=Math.max,ti=Math.round,qs=Math.floor,Xn=e=>({x:e,y:e}),IF={left:"right",right:"left",bottom:"top",top:"bottom"};function pp(e,t,i){return Js(e,o0(t,i))}function Fl(e,t){return typeof e=="function"?e(t):e}function n0(e){return e.split("-")[0]}function Vl(e){return e.split("-")[1]}function H7(e){return e==="x"?"y":"x"}function Xf(e){return e==="y"?"height":"width"}function Ys(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _f(e){return H7(Ys(e))}function kF(e,t,i){i===void 0&&(i=!1);const A=Vl(e),c=_f(e),p=Xf(c);let m=c==="x"?A===(i?"end":"start")?"right":"left":A==="start"?"bottom":"top";return t.reference[p]>t.floating[p]&&(m=Yc(m)),[m,Yc(m)]}function DF(e){const t=Yc(e);return[fp(e),t,fp(t)]}function fp(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const tm=["left","right"],om=["right","left"],OF=["top","bottom"],EF=["bottom","top"];function RF(e,t,i){switch(e){case"top":case"bottom":return i?t?om:tm:t?tm:om;case"left":case"right":return t?OF:EF;default:return[]}}function jF(e,t,i,A){const c=Vl(e);let p=RF(n0(e),i==="start",A);return c&&(p=p.map(m=>m+"-"+c),t&&(p=p.concat(p.map(fp)))),p}function Yc(e){const t=n0(e);return IF[t]+e.slice(t.length)}function BF(e){return{top:0,right:0,bottom:0,left:0,...e}}function W7(e){return typeof e!="number"?BF(e):{top:e,right:e,bottom:e,left:e}}function Cl(e){const{x:t,y:i,width:A,height:c}=e;return{width:A,height:c,top:i,left:t,right:t+A,bottom:i+c,x:t,y:i}}function nm(e,t,i){let{reference:A,floating:c}=e;const p=Ys(t),m=_f(t),h=Xf(m),y=n0(t),v=p==="y",w=A.x+A.width/2-c.width/2,C=A.y+A.height/2-c.height/2,M=A[h]/2-c[h]/2;let P;switch(y){case"top":P={x:w,y:A.y-c.height};break;case"bottom":P={x:w,y:A.y+A.height};break;case"right":P={x:A.x+A.width,y:C};break;case"left":P={x:A.x-c.width,y:C};break;default:P={x:A.x,y:A.y}}switch(Vl(t)){case"start":P[m]-=M*(i&&v?-1:1);break;case"end":P[m]+=M*(i&&v?-1:1);break}return P}async function LF(e,t){var i;t===void 0&&(t={});const{x:A,y:c,platform:p,rects:m,elements:h,strategy:y}=e,{boundary:v="clippingAncestors",rootBoundary:w="viewport",elementContext:C="floating",altBoundary:M=!1,padding:P=0}=Fl(t,e),I=W7(P),O=h[M?C==="floating"?"reference":"floating":C],F=Cl(await p.getClippingRect({element:(i=await(p.isElement==null?void 0:p.isElement(O)))==null||i?O:O.contextElement||await(p.getDocumentElement==null?void 0:p.getDocumentElement(h.floating)),boundary:v,rootBoundary:w,strategy:y})),J=C==="floating"?{x:A,y:c,width:m.floating.width,height:m.floating.height}:m.reference,X=await(p.getOffsetParent==null?void 0:p.getOffsetParent(h.floating)),Q=await(p.isElement==null?void 0:p.isElement(X))?await(p.getScale==null?void 0:p.getScale(X))||{x:1,y:1}:{x:1,y:1},ee=Cl(p.convertOffsetParentRelativeRectToViewportRelativeRect?await p.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:J,offsetParent:X,strategy:y}):J);return{top:(F.top-ee.top+I.top)/Q.y,bottom:(ee.bottom-F.bottom+I.bottom)/Q.y,left:(F.left-ee.left+I.left)/Q.x,right:(ee.right-F.right+I.right)/Q.x}}const zF=50,NF=async(e,t,i)=>{const{placement:A="bottom",strategy:c="absolute",middleware:p=[],platform:m}=i,h=m.detectOverflow?m:{...m,detectOverflow:LF},y=await(m.isRTL==null?void 0:m.isRTL(t));let v=await m.getElementRects({reference:e,floating:t,strategy:c}),{x:w,y:C}=nm(v,A,y),M=A,P=0;const I={};for(let S=0;S<p.length;S++){const O=p[S];if(!O)continue;const{name:F,fn:J}=O,{x:X,y:Q,data:ee,reset:Y}=await J({x:w,y:C,initialPlacement:A,placement:M,strategy:c,middlewareData:I,rects:v,platform:h,elements:{reference:e,floating:t}});w=X??w,C=Q??C,I[F]={...I[F],...ee},Y&&P<zF&&(P++,typeof Y=="object"&&(Y.placement&&(M=Y.placement),Y.rects&&(v=Y.rects===!0?await m.getElementRects({reference:e,floating:t,strategy:c}):Y.rects),{x:w,y:C}=nm(v,M,y)),S=-1)}return{x:w,y:C,placement:M,strategy:c,middlewareData:I}},FF=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:A,placement:c,rects:p,platform:m,elements:h,middlewareData:y}=t,{element:v,padding:w=0}=Fl(e,t)||{};if(v==null)return{};const C=W7(w),M={x:i,y:A},P=_f(c),I=Xf(P),S=await m.getDimensions(v),O=P==="y",F=O?"top":"left",J=O?"bottom":"right",X=O?"clientHeight":"clientWidth",Q=p.reference[I]+p.reference[P]-M[P]-p.floating[I],ee=M[P]-p.reference[P],Y=await(m.getOffsetParent==null?void 0:m.getOffsetParent(v));let q=Y?Y[X]:0;(!q||!await(m.isElement==null?void 0:m.isElement(Y)))&&(q=h.floating[X]||p.floating[I]);const te=Q/2-ee/2,oe=q/2-S[I]/2-1,W=o0(C[F],oe),H=o0(C[J],oe),R=W,re=q-S[I]-H,N=q/2-S[I]/2+te,B=pp(R,N,re),G=!y.arrow&&Vl(c)!=null&&N!==B&&p.reference[I]/2-(N<R?W:H)-S[I]/2<0,V=G?N<R?N-R:N-re:0;return{[P]:M[P]+V,data:{[P]:B,centerOffset:N-B-V,...G&&{alignmentOffset:V}},reset:G}}});const VF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,A;const{placement:c,middlewareData:p,rects:m,initialPlacement:h,platform:y,elements:v}=t,{mainAxis:w=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:S=!0,...O}=Fl(e,t);if((i=p.arrow)!=null&&i.alignmentOffset)return{};const F=n0(c),J=Ys(h),X=n0(h)===h,Q=await(y.isRTL==null?void 0:y.isRTL(v.floating)),ee=M||(X||!S?[Yc(h)]:DF(h)),Y=I!=="none";!M&&Y&&ee.push(...jF(h,S,I,Q));const q=[h,...ee],te=await y.detectOverflow(t,O),oe=[];let W=((A=p.flip)==null?void 0:A.overflows)||[];if(w&&oe.push(te[F]),C){const N=kF(c,m,Q);oe.push(te[N[0]],te[N[1]])}if(W=[...W,{placement:c,overflows:oe}],!oe.every(N=>N<=0)){var H,R;const N=(((H=p.flip)==null?void 0:H.index)||0)+1,B=q[N];if(B&&(!(C==="alignment"?J!==Ys(B):!1)||W.every(x=>Ys(x.placement)===J?x.overflows[0]>0:!0)))return{data:{index:N,overflows:W},reset:{placement:B}};let G=(R=W.filter(V=>V.overflows[0]<=0).sort((V,x)=>V.overflows[1]-x.overflows[1])[0])==null?void 0:R.placement;if(!G)switch(P){case"bestFit":{var re;const V=(re=W.filter(x=>{if(Y){const se=Ys(x.placement);return se===J||se==="y"}return!0}).map(x=>[x.placement,x.overflows.filter(se=>se>0).reduce((se,Ae)=>se+Ae,0)]).sort((x,se)=>x[1]-se[1])[0])==null?void 0:re[0];V&&(G=V);break}case"initialPlacement":G=h;break}if(c!==G)return{reset:{placement:G}}}return{}}}};const GF=new Set(["left","top"]);async function HF(e,t){const{placement:i,platform:A,elements:c}=e,p=await(A.isRTL==null?void 0:A.isRTL(c.floating)),m=n0(i),h=Vl(i),y=Ys(i)==="y",v=GF.has(m)?-1:1,w=p&&y?-1:1,C=Fl(t,e);let{mainAxis:M,crossAxis:P,alignmentAxis:I}=typeof C=="number"?{mainAxis:C,crossAxis:0,alignmentAxis:null}:{mainAxis:C.mainAxis||0,crossAxis:C.crossAxis||0,alignmentAxis:C.alignmentAxis};return h&&typeof I=="number"&&(P=h==="end"?I*-1:I),y?{x:P*w,y:M*v}:{x:M*v,y:P*w}}const WF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,A;const{x:c,y:p,placement:m,middlewareData:h}=t,y=await HF(t,e);return m===((i=h.offset)==null?void 0:i.placement)&&(A=h.arrow)!=null&&A.alignmentOffset?{}:{x:c+y.x,y:p+y.y,data:{...y,placement:m}}}}},ZF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:A,placement:c,platform:p}=t,{mainAxis:m=!0,crossAxis:h=!1,limiter:y={fn:F=>{let{x:J,y:X}=F;return{x:J,y:X}}},...v}=Fl(e,t),w={x:i,y:A},C=await p.detectOverflow(t,v),M=Ys(n0(c)),P=H7(M);let I=w[P],S=w[M];if(m){const F=P==="y"?"top":"left",J=P==="y"?"bottom":"right",X=I+C[F],Q=I-C[J];I=pp(X,I,Q)}if(h){const F=M==="y"?"top":"left",J=M==="y"?"bottom":"right",X=S+C[F],Q=S-C[J];S=pp(X,S,Q)}const O=y.fn({...t,[P]:I,[M]:S});return{...O,data:{x:O.x-i,y:O.y-A,enabled:{[P]:m,[M]:h}}}}}};function Nu(){return typeof window<"u"}function wa(e){return Z7(e)?(e.nodeName||"").toLowerCase():"#document"}function Mn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jr(e){var t;return(t=(Z7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Z7(e){return Nu()?e instanceof Node||e instanceof Mn(e).Node:!1}function Kn(e){return Nu()?e instanceof Element||e instanceof Mn(e).Element:!1}function Xr(e){return Nu()?e instanceof HTMLElement||e instanceof Mn(e).HTMLElement:!1}function rm(e){return!Nu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Mn(e).ShadowRoot}function Gl(e){const{overflow:t,overflowX:i,overflowY:A,display:c}=mr(e);return/auto|scroll|overlay|hidden|clip/.test(t+A+i)&&c!=="inline"&&c!=="contents"}function QF(e){return/^(table|td|th)$/.test(wa(e))}function Fu(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qF=/transform|translate|scale|rotate|perspective|filter/,YF=/paint|layout|strict|content/,Hi=e=>!!e&&e!=="none";let id;function Kf(e){const t=Kn(e)?mr(e):e;return Hi(t.transform)||Hi(t.translate)||Hi(t.scale)||Hi(t.rotate)||Hi(t.perspective)||!Vu()&&(Hi(t.backdropFilter)||Hi(t.filter))||qF.test(t.willChange||"")||YF.test(t.contain||"")}function UF(e){let t=oi(e);for(;Xr(t)&&!ra(t);){if(Kf(t))return t;if(Fu(t))return null;t=oi(t)}return null}function Vu(){return id==null&&(id=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),id}function ra(e){return/^(html|body|#document)$/.test(wa(e))}function mr(e){return Mn(e).getComputedStyle(e)}function Gu(e){return Kn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function oi(e){if(wa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rm(e)&&e.host||Jr(e);return rm(t)?t.host:t}function Q7(e){const t=oi(e);return ra(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xr(t)&&Gl(t)?t:Q7(t)}function r0(e,t,i){var A;t===void 0&&(t=[]),i===void 0&&(i=!0);const c=Q7(e),p=c===((A=e.ownerDocument)==null?void 0:A.body),m=Mn(c);if(p){const h=xl(m);return t.concat(m,m.visualViewport||[],Gl(c)?c:[],h&&i?r0(h):[])}else return t.concat(c,r0(c,[],i))}function xl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function q7(e){const t=mr(e);let i=parseFloat(t.width)||0,A=parseFloat(t.height)||0;const c=Xr(e),p=c?e.offsetWidth:i,m=c?e.offsetHeight:A,h=ti(i)!==p||ti(A)!==m;return h&&(i=p,A=m),{width:i,height:A,$:h}}function $f(e){return Kn(e)?e:e.contextElement}function H0(e){const t=$f(e);if(!Xr(t))return Xn(1);const i=t.getBoundingClientRect(),{width:A,height:c,$:p}=q7(t);let m=(p?ti(i.width):i.width)/A,h=(p?ti(i.height):i.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!h||!Number.isFinite(h))&&(h=1),{x:m,y:h}}const JF=Xn(0);function Y7(e){const t=Mn(e);return!Vu()||!t.visualViewport?JF:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function XF(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==Mn(e)?!1:t}function s0(e,t,i,A){t===void 0&&(t=!1),i===void 0&&(i=!1);const c=e.getBoundingClientRect(),p=$f(e);let m=Xn(1);t&&(A?Kn(A)&&(m=H0(A)):m=H0(e));const h=XF(p,i,A)?Y7(p):Xn(0);let y=(c.left+h.x)/m.x,v=(c.top+h.y)/m.y,w=c.width/m.x,C=c.height/m.y;if(p){const M=Mn(p),P=A&&Kn(A)?Mn(A):A;let I=M,S=xl(I);for(;S&&A&&P!==I;){const O=H0(S),F=S.getBoundingClientRect(),J=mr(S),X=F.left+(S.clientLeft+parseFloat(J.paddingLeft))*O.x,Q=F.top+(S.clientTop+parseFloat(J.paddingTop))*O.y;y*=O.x,v*=O.y,w*=O.x,C*=O.y,y+=X,v+=Q,I=Mn(S),S=xl(I)}}return Cl({width:w,height:C,x:y,y:v})}function Hu(e,t){const i=Gu(e).scrollLeft;return t?t.left+i:s0(Jr(e)).left+i}function U7(e,t){const i=e.getBoundingClientRect(),A=i.left+t.scrollLeft-Hu(e,i),c=i.top+t.scrollTop;return{x:A,y:c}}function _F(e){let{elements:t,rect:i,offsetParent:A,strategy:c}=e;const p=c==="fixed",m=Jr(A),h=t?Fu(t.floating):!1;if(A===m||h&&p)return i;let y={scrollLeft:0,scrollTop:0},v=Xn(1);const w=Xn(0),C=Xr(A);if((C||!C&&!p)&&((wa(A)!=="body"||Gl(m))&&(y=Gu(A)),C)){const P=s0(A);v=H0(A),w.x=P.x+A.clientLeft,w.y=P.y+A.clientTop}const M=m&&!C&&!p?U7(m,y):Xn(0);return{width:i.width*v.x,height:i.height*v.y,x:i.x*v.x-y.scrollLeft*v.x+w.x+M.x,y:i.y*v.y-y.scrollTop*v.y+w.y+M.y}}function KF(e){return Array.from(e.getClientRects())}function $F(e){const t=Jr(e),i=Gu(e),A=e.ownerDocument.body,c=Js(t.scrollWidth,t.clientWidth,A.scrollWidth,A.clientWidth),p=Js(t.scrollHeight,t.clientHeight,A.scrollHeight,A.clientHeight);let m=-i.scrollLeft+Hu(e);const h=-i.scrollTop;return mr(A).direction==="rtl"&&(m+=Js(t.clientWidth,A.clientWidth)-c),{width:c,height:p,x:m,y:h}}const sm=25;function eV(e,t){const i=Mn(e),A=Jr(e),c=i.visualViewport;let p=A.clientWidth,m=A.clientHeight,h=0,y=0;if(c){p=c.width,m=c.height;const w=Vu();(!w||w&&t==="fixed")&&(h=c.offsetLeft,y=c.offsetTop)}const v=Hu(A);if(v<=0){const w=A.ownerDocument,C=w.body,M=getComputedStyle(C),P=w.compatMode==="CSS1Compat"&&parseFloat(M.marginLeft)+parseFloat(M.marginRight)||0,I=Math.abs(A.clientWidth-C.clientWidth-P);I<=sm&&(p-=I)}else v<=sm&&(p+=v);return{width:p,height:m,x:h,y}}function tV(e,t){const i=s0(e,!0,t==="fixed"),A=i.top+e.clientTop,c=i.left+e.clientLeft,p=Xr(e)?H0(e):Xn(1),m=e.clientWidth*p.x,h=e.clientHeight*p.y,y=c*p.x,v=A*p.y;return{width:m,height:h,x:y,y:v}}function im(e,t,i){let A;if(t==="viewport")A=eV(e,i);else if(t==="document")A=$F(Jr(e));else if(Kn(t))A=tV(t,i);else{const c=Y7(e);A={x:t.x-c.x,y:t.y-c.y,width:t.width,height:t.height}}return Cl(A)}function J7(e,t){const i=oi(e);return i===t||!Kn(i)||ra(i)?!1:mr(i).position==="fixed"||J7(i,t)}function oV(e,t){const i=t.get(e);if(i)return i;let A=r0(e,[],!1).filter(h=>Kn(h)&&wa(h)!=="body"),c=null;const p=mr(e).position==="fixed";let m=p?oi(e):e;for(;Kn(m)&&!ra(m);){const h=mr(m),y=Kf(m);!y&&h.position==="fixed"&&(c=null),(p?!y&&!c:!y&&h.position==="static"&&!!c&&(c.position==="absolute"||c.position==="fixed")||Gl(m)&&!y&&J7(e,m))?A=A.filter(w=>w!==m):c=h,m=oi(m)}return t.set(e,A),A}function nV(e){let{element:t,boundary:i,rootBoundary:A,strategy:c}=e;const m=[...i==="clippingAncestors"?Fu(t)?[]:oV(t,this._c):[].concat(i),A],h=im(t,m[0],c);let y=h.top,v=h.right,w=h.bottom,C=h.left;for(let M=1;M<m.length;M++){const P=im(t,m[M],c);y=Js(P.top,y),v=o0(P.right,v),w=o0(P.bottom,w),C=Js(P.left,C)}return{width:v-C,height:w-y,x:C,y}}function rV(e){const{width:t,height:i}=q7(e);return{width:t,height:i}}function sV(e,t,i){const A=Xr(t),c=Jr(t),p=i==="fixed",m=s0(e,!0,p,t);let h={scrollLeft:0,scrollTop:0};const y=Xn(0);function v(){y.x=Hu(c)}if(A||!A&&!p)if((wa(t)!=="body"||Gl(c))&&(h=Gu(t)),A){const P=s0(t,!0,p,t);y.x=P.x+t.clientLeft,y.y=P.y+t.clientTop}else c&&v();p&&!A&&c&&v();const w=c&&!A&&!p?U7(c,h):Xn(0),C=m.left+h.scrollLeft-y.x-w.x,M=m.top+h.scrollTop-y.y-w.y;return{x:C,y:M,width:m.width,height:m.height}}function ad(e){return mr(e).position==="static"}function am(e,t){if(!Xr(e)||mr(e).position==="fixed")return null;if(t)return t(e);let i=e.offsetParent;return Jr(e)===i&&(i=i.ownerDocument.body),i}function X7(e,t){const i=Mn(e);if(Fu(e))return i;if(!Xr(e)){let c=oi(e);for(;c&&!ra(c);){if(Kn(c)&&!ad(c))return c;c=oi(c)}return i}let A=am(e,t);for(;A&&QF(A)&&ad(A);)A=am(A,t);return A&&ra(A)&&ad(A)&&!Kf(A)?i:A||UF(e)||i}const iV=async function(e){const t=this.getOffsetParent||X7,i=this.getDimensions,A=await i(e.floating);return{reference:sV(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:A.width,height:A.height}}};function aV(e){return mr(e).direction==="rtl"}const AV={convertOffsetParentRelativeRectToViewportRelativeRect:_F,getDocumentElement:Jr,getClippingRect:nV,getOffsetParent:X7,getElementRects:iV,getClientRects:KF,getDimensions:rV,getScale:H0,isElement:Kn,isRTL:aV};function _7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function lV(e,t){let i=null,A;const c=Jr(e);function p(){var h;clearTimeout(A),(h=i)==null||h.disconnect(),i=null}function m(h,y){h===void 0&&(h=!1),y===void 0&&(y=1),p();const v=e.getBoundingClientRect(),{left:w,top:C,width:M,height:P}=v;if(h||t(),!M||!P)return;const I=qs(C),S=qs(c.clientWidth-(w+M)),O=qs(c.clientHeight-(C+P)),F=qs(w),X={rootMargin:-I+"px "+-S+"px "+-O+"px "+-F+"px",threshold:Js(0,o0(1,y))||1};let Q=!0;function ee(Y){const q=Y[0].intersectionRatio;if(q!==y){if(!Q)return m();q?m(!1,q):A=setTimeout(()=>{m(!1,1e-7)},1e3)}q===1&&!_7(v,e.getBoundingClientRect())&&m(),Q=!1}try{i=new IntersectionObserver(ee,{...X,root:c.ownerDocument})}catch{i=new IntersectionObserver(ee,X)}i.observe(e)}return m(!0),p}function cV(e,t,i,A){A===void 0&&(A={});const{ancestorScroll:c=!0,ancestorResize:p=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:y=!1}=A,v=$f(e),w=c||p?[...v?r0(v):[],...t?r0(t):[]]:[];w.forEach(F=>{c&&F.addEventListener("scroll",i,{passive:!0}),p&&F.addEventListener("resize",i)});const C=v&&h?lV(v,i):null;let M=-1,P=null;m&&(P=new ResizeObserver(F=>{let[J]=F;J&&J.target===v&&P&&t&&(P.unobserve(t),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var X;(X=P)==null||X.observe(t)})),i()}),v&&!y&&P.observe(v),t&&P.observe(t));let I,S=y?s0(e):null;y&&O();function O(){const F=s0(e);S&&!_7(S,F)&&i(),S=F,I=requestAnimationFrame(O)}return i(),()=>{var F;w.forEach(J=>{c&&J.removeEventListener("scroll",i),p&&J.removeEventListener("resize",i)}),C==null||C(),(F=P)==null||F.disconnect(),P=null,y&&cancelAnimationFrame(I)}}const uV=WF;const dV=ZF,pV=VF;const fV=FF;const Am=(e,t,i)=>{const A=new Map,c={platform:AV,...i},p={...c.platform,_c:A};return NF(e,t,{...c,platform:p})};var Mc={exports:{}};/*!
|
|
686
686
|
Copyright (c) 2018 Jed Watson.
|
|
687
687
|
Licensed under the MIT License (MIT), see
|
|
688
688
|
http://jedwatson.github.io/classnames
|
|
@@ -697,7 +697,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
697
697
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function t3(e){return OG(e)||EG(e)||n9(e)||RG()}function jG(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function BG(e){const t=mr(e);let i=parseFloat(t.width)||0,A=parseFloat(t.height)||0;const c=Xr(e),p=c?e.offsetWidth:i,m=c?e.offsetHeight:A,h=ti(i)!==p||ti(A)!==m;return h&&(i=p,A=m),{width:i,height:A,$:h}}function o3(e){return Kn(e)?e:e.contextElement}function ld(e){const t=o3(e);if(!Xr(t))return Xn(1);const i=t.getBoundingClientRect(),{width:A,height:c,$:p}=BG(t);let m=(p?ti(i.width):i.width)/A,h=(p?ti(i.height):i.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!h||!Number.isFinite(h))&&(h=1),{x:m,y:h}}const LG=Xn(0);function zG(e){const t=Mn(e);return!Vu()||!t.visualViewport?LG:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function NG(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==Mn(e)?!1:t}function vm(e,t,i,A){t===void 0&&(t=!1),i===void 0&&(i=!1);const c=e.getBoundingClientRect(),p=o3(e);let m=Xn(1);t&&(A?Kn(A)&&(m=ld(A)):m=ld(e));const h=NG(p,i,A)?zG(p):Xn(0);let y=(c.left+h.x)/m.x,v=(c.top+h.y)/m.y,w=c.width/m.x,C=c.height/m.y;if(p){const M=Mn(p),P=A&&Kn(A)?Mn(A):A;let I=M,S=xl(I);for(;S&&A&&P!==I;){const O=ld(S),F=S.getBoundingClientRect(),J=mr(S),X=F.left+(S.clientLeft+parseFloat(J.paddingLeft))*O.x,Q=F.top+(S.clientTop+parseFloat(J.paddingTop))*O.y;y*=O.x,v*=O.y,w*=O.x,C*=O.y,y+=X,v+=Q,I=Mn(S),S=xl(I)}}return Cl({width:w,height:C,x:y,y:v})}function s9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FG(e,t){let i=null,A;const c=Jr(e);function p(){var h;clearTimeout(A),(h=i)==null||h.disconnect(),i=null}function m(h,y){h===void 0&&(h=!1),y===void 0&&(y=1),p();const v=e.getBoundingClientRect(),{left:w,top:C,width:M,height:P}=v;if(h||t(),!M||!P)return;const I=qs(C),S=qs(c.clientWidth-(w+M)),O=qs(c.clientHeight-(C+P)),F=qs(w),X={rootMargin:-I+"px "+-S+"px "+-O+"px "+-F+"px",threshold:Js(0,o0(1,y))||1};let Q=!0;function ee(Y){const q=Y[0].intersectionRatio;if(q!==y){if(!Q)return m();q?m(!1,q):A=setTimeout(()=>{m(!1,1e-7)},1e3)}q===1&&!s9(v,e.getBoundingClientRect())&&m(),Q=!1}try{i=new IntersectionObserver(ee,{...X,root:c.ownerDocument})}catch{i=new IntersectionObserver(ee,X)}i.observe(e)}return m(!0),p}function VG(e,t,i,A){A===void 0&&(A={});const{ancestorScroll:c=!0,ancestorResize:p=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:y=!1}=A,v=o3(e),w=c||p?[...v?r0(v):[],...t?r0(t):[]]:[];w.forEach(F=>{c&&F.addEventListener("scroll",i,{passive:!0}),p&&F.addEventListener("resize",i)});const C=v&&h?FG(v,i):null;let M=-1,P=null;m&&(P=new ResizeObserver(F=>{let[J]=F;J&&J.target===v&&P&&t&&(P.unobserve(t),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var X;(X=P)==null||X.observe(t)})),i()}),v&&!y&&P.observe(v),t&&P.observe(t));let I,S=y?vm(e):null;y&&O();function O(){const F=vm(e);S&&!s9(S,F)&&i(),S=F,I=requestAnimationFrame(O)}return i(),()=>{var F;w.forEach(J=>{c&&J.removeEventListener("scroll",i),p&&J.removeEventListener("resize",i)}),C==null||C(),(F=P)==null||F.disconnect(),P=null,y&&cancelAnimationFrame(I)}}var GG=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Jc=function(){};function HG(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function WG(e,t){for(var i=arguments.length,A=new Array(i>2?i-2:0),c=2;c<i;c++)A[c-2]=arguments[c];var p=[].concat(A);if(t&&e)for(var m in t)t.hasOwnProperty(m)&&t[m]&&p.push("".concat(HG(e,m)));return p.filter(function(h){return h}).map(function(h){return String(h).trim()}).join(" ")}var wm=function(t){return KG(t)?t.filter(Boolean):i0(t)==="object"&&t!==null?[t]:[]},i9=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var i=Fs(t,GG);return $t({},i)},an=function(t,i,A){var c=t.cx,p=t.getStyles,m=t.getClassNames,h=t.className;return{css:p(i,t),className:c(A??{},m(i,t),h)}};function Wu(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ZG(e){return Wu(e)?window.innerHeight:e.clientHeight}function a9(e){return Wu(e)?window.pageYOffset:e.scrollTop}function Xc(e,t){if(Wu(e)){window.scrollTo(0,t);return}e.scrollTop=t}function QG(e){var t=getComputedStyle(e),i=t.position==="absolute",A=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var c=e;c=c.parentElement;)if(t=getComputedStyle(c),!(i&&t.position==="static")&&A.test(t.overflow+t.overflowY+t.overflowX))return c;return document.documentElement}function qG(e,t,i,A){return i*((e=e/A-1)*e*e+1)+t}function Ac(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Jc,c=a9(e),p=t-c,m=10,h=0;function y(){h+=m;var v=qG(h,c,p,i);Xc(e,v),h<i?window.requestAnimationFrame(y):A(e)}y()}function Tm(e,t){var i=e.getBoundingClientRect(),A=t.getBoundingClientRect(),c=t.offsetHeight/3;A.bottom+c>i.bottom?Xc(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+c,e.scrollHeight)):A.top-c<i.top&&Xc(e,Math.max(t.offsetTop-c,0))}function YG(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Cm(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function UG(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var A9=!1,JG={get passive(){return A9=!0}},lc=typeof window<"u"?window:{};lc.addEventListener&&lc.removeEventListener&&(lc.addEventListener("p",Jc,JG),lc.removeEventListener("p",Jc,!1));var XG=A9;function _G(e){return e!=null}function KG(e){return Array.isArray(e)}function cc(e,t,i){return e?t:i}var $G=function(t){for(var i=arguments.length,A=new Array(i>1?i-1:0),c=1;c<i;c++)A[c-1]=arguments[c];var p=Object.entries(t).filter(function(m){var h=ks(m,1),y=h[0];return!A.includes(y)});return p.reduce(function(m,h){var y=ks(h,2),v=y[0],w=y[1];return m[v]=w,m},{})},eH=["children","innerProps"],tH=["children","innerProps"];function oH(e){var t=e.maxHeight,i=e.menuEl,A=e.minHeight,c=e.placement,p=e.shouldScroll,m=e.isFixedPosition,h=e.controlHeight,y=QG(i),v={placement:"bottom",maxHeight:t};if(!i||!i.offsetParent)return v;var w=y.getBoundingClientRect(),C=w.height,M=i.getBoundingClientRect(),P=M.bottom,I=M.height,S=M.top,O=i.offsetParent.getBoundingClientRect(),F=O.top,J=m?window.innerHeight:ZG(y),X=a9(y),Q=parseInt(getComputedStyle(i).marginBottom,10),ee=parseInt(getComputedStyle(i).marginTop,10),Y=F-ee,q=J-S,te=Y+X,oe=C-X-S,W=P-J+X+Q,H=X+S-ee,R=160;switch(c){case"auto":case"bottom":if(q>=I)return{placement:"bottom",maxHeight:t};if(oe>=I&&!m)return p&&Ac(y,W,R),{placement:"bottom",maxHeight:t};if(!m&&oe>=A||m&&q>=A){p&&Ac(y,W,R);var re=m?q-Q:oe-Q;return{placement:"bottom",maxHeight:re}}if(c==="auto"||m){var N=t,B=m?Y:te;return B>=A&&(N=Math.min(B-Q-h,t)),{placement:"top",maxHeight:N}}if(c==="bottom")return p&&Xc(y,W),{placement:"bottom",maxHeight:t};break;case"top":if(Y>=I)return{placement:"top",maxHeight:t};if(te>=I&&!m)return p&&Ac(y,H,R),{placement:"top",maxHeight:t};if(!m&&te>=A||m&&Y>=A){var G=t;return(!m&&te>=A||m&&Y>=A)&&(G=m?Y-ee:te-ee),p&&Ac(y,H,R),{placement:"top",maxHeight:G}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(c,'".'))}return v}function nH(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var l9=function(t){return t==="auto"?"bottom":t},rH=function(t,i){var A,c=t.placement,p=t.theme,m=p.borderRadius,h=p.spacing,y=p.colors;return $t((A={label:"menu"},_A(A,nH(c),"100%"),_A(A,"position","absolute"),_A(A,"width","100%"),_A(A,"zIndex",1),A),i?{}:{backgroundColor:y.neutral0,borderRadius:m,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:h.menuGutter,marginTop:h.menuGutter})},c9=we.createContext(null),sH=function(t){var i=t.children,A=t.minMenuHeight,c=t.maxMenuHeight,p=t.menuPlacement,m=t.menuPosition,h=t.menuShouldScrollIntoView,y=t.theme,v=we.useContext(c9)||{},w=v.setPortalPlacement,C=we.useRef(null),M=we.useState(c),P=ks(M,2),I=P[0],S=P[1],O=we.useState(null),F=ks(O,2),J=F[0],X=F[1],Q=y.spacing.controlHeight;return Dc(function(){var ee=C.current;if(ee){var Y=m==="fixed",q=h&&!Y,te=oH({maxHeight:c,menuEl:ee,minHeight:A,placement:p,shouldScroll:q,isFixedPosition:Y,controlHeight:Q});S(te.maxHeight),X(te.placement),w==null||w(te.placement)}},[c,p,m,h,A,w,Q]),i({ref:C,placerProps:$t($t({},t),{},{placement:J||l9(p),maxHeight:I})})},iH=function(t){var i=t.children,A=t.innerRef,c=t.innerProps;return Yt("div",de({},an(t,"menu",{menu:!0}),{ref:A},c),i)},aH=iH,AH=function(t,i){var A=t.maxHeight,c=t.theme.spacing.baseUnit;return $t({maxHeight:A,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:c,paddingTop:c})},lH=function(t){var i=t.children,A=t.innerProps,c=t.innerRef,p=t.isMulti;return Yt("div",de({},an(t,"menuList",{"menu-list":!0,"menu-list--is-multi":p}),{ref:c},A),i)},u9=function(t,i){var A=t.theme,c=A.spacing.baseUnit,p=A.colors;return $t({textAlign:"center"},i?{}:{color:p.neutral40,padding:"".concat(c*2,"px ").concat(c*3,"px")})},cH=u9,uH=u9,dH=function(t){var i=t.children,A=i===void 0?"No options":i,c=t.innerProps,p=Fs(t,eH);return Yt("div",de({},an($t($t({},p),{},{children:A,innerProps:c}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),c),A)},pH=function(t){var i=t.children,A=i===void 0?"Loading...":i,c=t.innerProps,p=Fs(t,tH);return Yt("div",de({},an($t($t({},p),{},{children:A,innerProps:c}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),c),A)},fH=function(t){var i=t.rect,A=t.offset,c=t.position;return{left:i.left,position:c,top:A,width:i.width,zIndex:1}},mH=function(t){var i=t.appendTo,A=t.children,c=t.controlElement,p=t.innerProps,m=t.menuPlacement,h=t.menuPosition,y=we.useRef(null),v=we.useRef(null),w=we.useState(l9(m)),C=ks(w,2),M=C[0],P=C[1],I=we.useMemo(function(){return{setPortalPlacement:P}},[]),S=we.useState(null),O=ks(S,2),F=O[0],J=O[1],X=we.useCallback(function(){if(c){var q=YG(c),te=h==="fixed"?0:window.pageYOffset,oe=q[M]+te;(oe!==(F==null?void 0:F.offset)||q.left!==(F==null?void 0:F.rect.left)||q.width!==(F==null?void 0:F.rect.width))&&J({offset:oe,rect:q})}},[c,h,M,F==null?void 0:F.offset,F==null?void 0:F.rect.left,F==null?void 0:F.rect.width]);Dc(function(){X()},[X]);var Q=we.useCallback(function(){typeof v.current=="function"&&(v.current(),v.current=null),c&&y.current&&(v.current=VG(c,y.current,X,{elementResize:"ResizeObserver"in window}))},[c,X]);Dc(function(){Q()},[Q]);var ee=we.useCallback(function(q){y.current=q,Q()},[Q]);if(!i&&h!=="fixed"||!F)return null;var Y=Yt("div",de({ref:ee},an($t($t({},t),{},{offset:F.offset,position:h,rect:F.rect}),"menuPortal",{"menu-portal":!0}),p),A);return Yt(c9.Provider,{value:I},i?is.createPortal(Y,i):Y)},hH=function(t){var i=t.isDisabled,A=t.isRtl;return{label:"container",direction:A?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},gH=function(t){var i=t.children,A=t.innerProps,c=t.isDisabled,p=t.isRtl;return Yt("div",de({},an(t,"container",{"--is-disabled":c,"--is-rtl":p}),A),i)},yH=function(t,i){var A=t.theme.spacing,c=t.isMulti,p=t.hasValue,m=t.selectProps.controlShouldRenderValue;return $t({alignItems:"center",display:c&&p&&m?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(A.baseUnit/2,"px ").concat(A.baseUnit*2,"px")})},bH=function(t){var i=t.children,A=t.innerProps,c=t.isMulti,p=t.hasValue;return Yt("div",de({},an(t,"valueContainer",{"value-container":!0,"value-container--is-multi":c,"value-container--has-value":p}),A),i)},vH=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},wH=function(t){var i=t.children,A=t.innerProps;return Yt("div",de({},an(t,"indicatorsContainer",{indicators:!0}),A),i)},xm,TH=["size"],CH=["innerProps","isRtl","size"];var xH={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},d9=function(t){var i=t.size,A=Fs(t,TH);return Yt("svg",de({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:xH},A))},n3=function(t){return Yt(d9,de({size:20},t),Yt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},p9=function(t){return Yt(d9,de({size:20},t),Yt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},f9=function(t,i){var A=t.isFocused,c=t.theme,p=c.spacing.baseUnit,m=c.colors;return $t({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:A?m.neutral60:m.neutral20,padding:p*2,":hover":{color:A?m.neutral80:m.neutral40}})},PH=f9,MH=function(t){var i=t.children,A=t.innerProps;return Yt("div",de({},an(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),A),i||Yt(p9,null))},SH=f9,IH=function(t){var i=t.children,A=t.innerProps;return Yt("div",de({},an(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),A),i||Yt(n3,null))},kH=function(t,i){var A=t.isDisabled,c=t.theme,p=c.spacing.baseUnit,m=c.colors;return $t({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:A?m.neutral10:m.neutral20,marginBottom:p*2,marginTop:p*2})},DH=function(t){var i=t.innerProps;return Yt("span",de({},i,an(t,"indicatorSeparator",{"indicator-separator":!0})))},OH=Wx(xm||(xm=jG([`
|
|
698
698
|
0%, 80%, 100% { opacity: 0; }
|
|
699
699
|
40% { opacity: 1; }
|
|
700
|
-
`]))),EH=function(t,i){var A=t.isFocused,c=t.size,p=t.theme,m=p.colors,h=p.spacing.baseUnit;return $t({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:c,lineHeight:1,marginRight:c,textAlign:"center",verticalAlign:"middle"},i?{}:{color:A?m.neutral60:m.neutral20,padding:h*2})},cd=function(t){var i=t.delay,A=t.offset;return Yt("span",{css:qp({animation:"".concat(OH," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:A?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},RH=function(t){var i=t.innerProps,A=t.isRtl,c=t.size,p=c===void 0?4:c,m=Fs(t,CH);return Yt("div",de({},an($t($t({},m),{},{innerProps:i,isRtl:A,size:p}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Yt(cd,{delay:0,offset:A}),Yt(cd,{delay:160,offset:!0}),Yt(cd,{delay:320,offset:!A}))},jH=function(t,i){var A=t.isDisabled,c=t.isFocused,p=t.theme,m=p.colors,h=p.borderRadius,y=p.spacing;return $t({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:y.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:A?m.neutral5:m.neutral0,borderColor:A?m.neutral10:c?m.primary:m.neutral20,borderRadius:h,borderStyle:"solid",borderWidth:1,boxShadow:c?"0 0 0 1px ".concat(m.primary):void 0,"&:hover":{borderColor:c?m.primary:m.neutral30}})},BH=function(t){var i=t.children,A=t.isDisabled,c=t.isFocused,p=t.innerRef,m=t.innerProps,h=t.menuIsOpen;return Yt("div",de({ref:p},an(t,"control",{control:!0,"control--is-disabled":A,"control--is-focused":c,"control--menu-is-open":h}),m,{"aria-disabled":A||void 0}),i)},LH=BH,zH=["data"],NH=function(t,i){var A=t.theme.spacing;return i?{}:{paddingBottom:A.baseUnit*2,paddingTop:A.baseUnit*2}},FH=function(t){var i=t.children,A=t.cx,c=t.getStyles,p=t.getClassNames,m=t.Heading,h=t.headingProps,y=t.innerProps,v=t.label,w=t.theme,C=t.selectProps;return Yt("div",de({},an(t,"group",{group:!0}),y),Yt(m,de({},h,{selectProps:C,theme:w,getStyles:c,getClassNames:p,cx:A}),v),Yt("div",null,i))},VH=function(t,i){var A=t.theme,c=A.colors,p=A.spacing;return $t({label:"group",cursor:"default",display:"block"},i?{}:{color:c.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:p.baseUnit*3,paddingRight:p.baseUnit*3,textTransform:"uppercase"})},GH=function(t){var i=i9(t);i.data;var A=Fs(i,zH);return Yt("div",de({},an(t,"groupHeading",{"group-heading":!0}),A))},HH=FH,WH=["innerRef","isDisabled","isHidden","inputClassName"],ZH=function(t,i){var A=t.isDisabled,c=t.value,p=t.theme,m=p.spacing,h=p.colors;return $t($t({visibility:A?"hidden":"visible",transform:c?"translateZ(0)":""},QH),i?{}:{margin:m.baseUnit/2,paddingBottom:m.baseUnit/2,paddingTop:m.baseUnit/2,color:h.neutral80})},m9={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},QH={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":$t({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},m9)},qH=function(t){return $t({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},m9)},YH=function(t){var i=t.cx,A=t.value,c=i9(t),p=c.innerRef,m=c.isDisabled,h=c.isHidden,y=c.inputClassName,v=Fs(c,WH);return Yt("div",de({},an(t,"input",{"input-container":!0}),{"data-value":A||""}),Yt("input",de({className:i({input:!0},y),ref:p,style:qH(h),disabled:m},v)))},UH=YH,JH=function(t,i){var A=t.theme,c=A.spacing,p=A.borderRadius,m=A.colors;return $t({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:m.neutral10,borderRadius:p/2,margin:c.baseUnit/2})},XH=function(t,i){var A=t.theme,c=A.borderRadius,p=A.colors,m=t.cropWithEllipsis;return $t({overflow:"hidden",textOverflow:m||m===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:c/2,color:p.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},_H=function(t,i){var A=t.theme,c=A.spacing,p=A.borderRadius,m=A.colors,h=t.isFocused;return $t({alignItems:"center",display:"flex"},i?{}:{borderRadius:p/2,backgroundColor:h?m.dangerLight:void 0,paddingLeft:c.baseUnit,paddingRight:c.baseUnit,":hover":{backgroundColor:m.dangerLight,color:m.danger}})},h9=function(t){var i=t.children,A=t.innerProps;return Yt("div",A,i)},KH=h9,$H=h9;function eW(e){var t=e.children,i=e.innerProps;return Yt("div",de({role:"button"},i),t||Yt(n3,{size:14}))}var tW=function(t){var i=t.children,A=t.components,c=t.data,p=t.innerProps,m=t.isDisabled,h=t.removeProps,y=t.selectProps,v=A.Container,w=A.Label,C=A.Remove;return Yt(v,{data:c,innerProps:$t($t({},an(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":m})),p),selectProps:y},Yt(w,{data:c,innerProps:$t({},an(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:y},i),Yt(C,{data:c,innerProps:$t($t({},an(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},h),selectProps:y}))},oW=tW,nW=function(t,i){var A=t.isDisabled,c=t.isFocused,p=t.isSelected,m=t.theme,h=m.spacing,y=m.colors;return $t({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:p?y.primary:c?y.primary25:"transparent",color:A?y.neutral20:p?y.neutral0:"inherit",padding:"".concat(h.baseUnit*2,"px ").concat(h.baseUnit*3,"px"),":active":{backgroundColor:A?void 0:p?y.primary:y.primary50}})},rW=function(t){var i=t.children,A=t.isDisabled,c=t.isFocused,p=t.isSelected,m=t.innerRef,h=t.innerProps;return Yt("div",de({},an(t,"option",{option:!0,"option--is-disabled":A,"option--is-focused":c,"option--is-selected":p}),{ref:m,"aria-disabled":A},h),i)},sW=rW,iW=function(t,i){var A=t.theme,c=A.spacing,p=A.colors;return $t({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:p.neutral50,marginLeft:c.baseUnit/2,marginRight:c.baseUnit/2})},aW=function(t){var i=t.children,A=t.innerProps;return Yt("div",de({},an(t,"placeholder",{placeholder:!0}),A),i)},AW=aW,lW=function(t,i){var A=t.isDisabled,c=t.theme,p=c.spacing,m=c.colors;return $t({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:A?m.neutral40:m.neutral80,marginLeft:p.baseUnit/2,marginRight:p.baseUnit/2})},cW=function(t){var i=t.children,A=t.isDisabled,c=t.innerProps;return Yt("div",de({},an(t,"singleValue",{"single-value":!0,"single-value--is-disabled":A}),c),i)},uW=cW,dW={ClearIndicator:IH,Control:LH,DropdownIndicator:MH,DownChevron:p9,CrossIcon:n3,Group:HH,GroupHeading:GH,IndicatorsContainer:wH,IndicatorSeparator:DH,Input:UH,LoadingIndicator:RH,Menu:aH,MenuList:lH,MenuPortal:mH,LoadingMessage:pH,NoOptionsMessage:dH,MultiValue:oW,MultiValueContainer:KH,MultiValueLabel:$H,MultiValueRemove:eW,Option:sW,Placeholder:AW,SelectContainer:gH,SingleValue:uW,ValueContainer:bH},pW=function(t){return $t($t({},dW),t.components)},Pm=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function fW(e,t){return!!(e===t||Pm(e)&&Pm(t))}function mW(e,t){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!fW(e[i],t[i]))return!1;return!0}function hW(e,t){t===void 0&&(t=mW);var i=null;function A(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];if(i&&i.lastThis===this&&t(c,i.lastArgs))return i.lastResult;var m=e.apply(this,c);return i={lastResult:m,lastArgs:c,lastThis:this},m}return A.clear=function(){i=null},A}var gW={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yW=function(t){return Yt("span",de({css:gW},t))},Mm=yW,bW={guidance:function(t){var i=t.isSearchable,A=t.isMulti,c=t.tabSelectsValue,p=t.context,m=t.isInitialFocus;switch(p){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(c?", press Tab to select the option and exit the menu":"",".");case"input":return m?"".concat(t["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(A?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var i=t.action,A=t.label,c=A===void 0?"":A,p=t.labels,m=t.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(c,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(p.length>1?"s":""," ").concat(p.join(","),", selected.");case"select-option":return m?"option ".concat(c," is disabled. Select another option."):"option ".concat(c,", selected.");default:return""}},onFocus:function(t){var i=t.context,A=t.focused,c=t.options,p=t.label,m=p===void 0?"":p,h=t.selectValue,y=t.isDisabled,v=t.isSelected,w=t.isAppleDevice,C=function(S,O){return S&&S.length?"".concat(S.indexOf(O)+1," of ").concat(S.length):""};if(i==="value"&&h)return"value ".concat(m," focused, ").concat(C(h,A),".");if(i==="menu"&&w){var M=y?" disabled":"",P="".concat(v?" selected":"").concat(M);return"".concat(m).concat(P,", ").concat(C(c,A),".")}return""},onFilter:function(t){var i=t.inputValue,A=t.resultsMessage;return"".concat(A).concat(i?" for search term "+i:"",".")}},vW=function(t){var i=t.ariaSelection,A=t.focusedOption,c=t.focusedValue,p=t.focusableOptions,m=t.isFocused,h=t.selectValue,y=t.selectProps,v=t.id,w=t.isAppleDevice,C=y.ariaLiveMessages,M=y.getOptionLabel,P=y.inputValue,I=y.isMulti,S=y.isOptionDisabled,O=y.isSearchable,F=y.menuIsOpen,J=y.options,X=y.screenReaderStatus,Q=y.tabSelectsValue,ee=y.isLoading,Y=y["aria-label"],q=y["aria-live"],te=we.useMemo(function(){return $t($t({},bW),C||{})},[C]),oe=we.useMemo(function(){var B="";if(i&&te.onChange){var G=i.option,V=i.options,x=i.removedValue,se=i.removedValues,Ae=i.value,le=function(Ge){return Array.isArray(Ge)?null:Ge},he=x||G||le(Ae),ve=he?M(he):"",xe=V||se||void 0,Me=xe?xe.map(M):[],je=$t({isDisabled:he&&S(he,h),label:ve,labels:Me},i);B=te.onChange(je)}return B},[i,te,S,h,M]),W=we.useMemo(function(){var B="",G=A||c,V=!!(A&&h&&h.includes(A));if(G&&te.onFocus){var x={focused:G,label:M(G),isDisabled:S(G,h),isSelected:V,options:p,context:G===A?"menu":"value",selectValue:h,isAppleDevice:w};B=te.onFocus(x)}return B},[A,c,M,S,te,p,h,w]),H=we.useMemo(function(){var B="";if(F&&J.length&&!ee&&te.onFilter){var G=X({count:p.length});B=te.onFilter({inputValue:P,resultsMessage:G})}return B},[p,P,F,te,J,X,ee]),R=(i==null?void 0:i.action)==="initial-input-focus",re=we.useMemo(function(){var B="";if(te.guidance){var G=c?"value":F?"menu":"input";B=te.guidance({"aria-label":Y,context:G,isDisabled:A&&S(A,h),isMulti:I,isSearchable:O,tabSelectsValue:Q,isInitialFocus:R})}return B},[Y,A,c,I,S,O,F,te,h,Q,R]),N=Yt(we.Fragment,null,Yt("span",{id:"aria-selection"},oe),Yt("span",{id:"aria-focused"},W),Yt("span",{id:"aria-results"},H),Yt("span",{id:"aria-guidance"},re));return Yt(we.Fragment,null,Yt(Mm,{id:v},R&&N),Yt(Mm,{"aria-live":q,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},m&&!R&&N))},wW=vW,yp=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],TW=new RegExp("["+yp.map(function(e){return e.letters}).join("")+"]","g"),g9={};for(var ud=0;ud<yp.length;ud++)for(var dd=yp[ud],pd=0;pd<dd.letters.length;pd++)g9[dd.letters[pd]]=dd.base;var y9=function(t){return t.replace(TW,function(i){return g9[i]})},CW=hW(y9),Sm=function(t){return t.replace(/^\s+|\s+$/g,"")},xW=function(t){return"".concat(t.label," ").concat(t.value)},PW=function(t){return function(i,A){if(i.data.__isNew__)return!0;var c=$t({ignoreCase:!0,ignoreAccents:!0,stringify:xW,trim:!0,matchFrom:"any"},t),p=c.ignoreCase,m=c.ignoreAccents,h=c.stringify,y=c.trim,v=c.matchFrom,w=y?Sm(A):A,C=y?Sm(h(i)):h(i);return p&&(w=w.toLowerCase(),C=C.toLowerCase()),m&&(w=CW(w),C=y9(C)),v==="start"?C.substr(0,w.length)===w:C.indexOf(w)>-1}},MW=["innerRef"];function SW(e){var t=e.innerRef,i=Fs(e,MW),A=$G(i,"onExited","in","enter","exit","appear");return Yt("input",de({ref:t},A,{css:qp({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var IW=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function kW(e){var t=e.isEnabled,i=e.onBottomArrive,A=e.onBottomLeave,c=e.onTopArrive,p=e.onTopLeave,m=we.useRef(!1),h=we.useRef(!1),y=we.useRef(0),v=we.useRef(null),w=we.useCallback(function(O,F){if(v.current!==null){var J=v.current,X=J.scrollTop,Q=J.scrollHeight,ee=J.clientHeight,Y=v.current,q=F>0,te=Q-ee-X,oe=!1;te>F&&m.current&&(A&&A(O),m.current=!1),q&&h.current&&(p&&p(O),h.current=!1),q&&F>te?(i&&!m.current&&i(O),Y.scrollTop=Q,oe=!0,m.current=!0):!q&&-F>X&&(c&&!h.current&&c(O),Y.scrollTop=0,oe=!0,h.current=!0),oe&&IW(O)}},[i,A,c,p]),C=we.useCallback(function(O){w(O,O.deltaY)},[w]),M=we.useCallback(function(O){y.current=O.changedTouches[0].clientY},[]),P=we.useCallback(function(O){var F=y.current-O.changedTouches[0].clientY;w(O,F)},[w]),I=we.useCallback(function(O){if(O){var F=XG?{passive:!1}:!1;O.addEventListener("wheel",C,F),O.addEventListener("touchstart",M,F),O.addEventListener("touchmove",P,F)}},[P,M,C]),S=we.useCallback(function(O){O&&(O.removeEventListener("wheel",C,!1),O.removeEventListener("touchstart",M,!1),O.removeEventListener("touchmove",P,!1))},[P,M,C]);return we.useEffect(function(){if(t){var O=v.current;return I(O),function(){S(O)}}},[t,I,S]),function(O){v.current=O}}var Im=["boxSizing","height","overflow","paddingRight","position"],km={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Dm(e){e.cancelable&&e.preventDefault()}function Om(e){e.stopPropagation()}function Em(){var e=this.scrollTop,t=this.scrollHeight,i=e+this.offsetHeight;e===0?this.scrollTop=1:i===t&&(this.scrollTop=e-1)}function Rm(){return"ontouchstart"in window||navigator.maxTouchPoints}var jm=!!(typeof window<"u"&&window.document&&window.document.createElement),EA=0,I0={capture:!1,passive:!1};function DW(e){var t=e.isEnabled,i=e.accountForScrollbars,A=i===void 0?!0:i,c=we.useRef({}),p=we.useRef(null),m=we.useCallback(function(y){if(jm){var v=document.body,w=v&&v.style;if(A&&Im.forEach(function(I){var S=w&&w[I];c.current[I]=S}),A&&EA<1){var C=parseInt(c.current.paddingRight,10)||0,M=document.body?document.body.clientWidth:0,P=window.innerWidth-M+C||0;Object.keys(km).forEach(function(I){var S=km[I];w&&(w[I]=S)}),w&&(w.paddingRight="".concat(P,"px"))}v&&Rm()&&(v.addEventListener("touchmove",Dm,I0),y&&(y.addEventListener("touchstart",Em,I0),y.addEventListener("touchmove",Om,I0))),EA+=1}},[A]),h=we.useCallback(function(y){if(jm){var v=document.body,w=v&&v.style;EA=Math.max(EA-1,0),A&&EA<1&&Im.forEach(function(C){var M=c.current[C];w&&(w[C]=M)}),v&&Rm()&&(v.removeEventListener("touchmove",Dm,I0),y&&(y.removeEventListener("touchstart",Em,I0),y.removeEventListener("touchmove",Om,I0)))}},[A]);return we.useEffect(function(){if(t){var y=p.current;return m(y),function(){h(y)}}},[t,m,h]),function(y){p.current=y}}var OW=function(t){var i=t.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},EW={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function RW(e){var t=e.children,i=e.lockEnabled,A=e.captureEnabled,c=A===void 0?!0:A,p=e.onBottomArrive,m=e.onBottomLeave,h=e.onTopArrive,y=e.onTopLeave,v=kW({isEnabled:c,onBottomArrive:p,onBottomLeave:m,onTopArrive:h,onTopLeave:y}),w=DW({isEnabled:i}),C=function(P){v(P),w(P)};return Yt(we.Fragment,null,i&&Yt("div",{onClick:OW,css:EW}),t(C))}var jW={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},BW=function(t){var i=t.name,A=t.onFocus;return Yt("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:A,css:jW,value:"",onChange:function(){}})},LW=BW;function r3(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function zW(){return r3(/^iPhone/i)}function b9(){return r3(/^Mac/i)}function NW(){return r3(/^iPad/i)||b9()&&navigator.maxTouchPoints>1}function FW(){return zW()||NW()}function VW(){return b9()||FW()}var GW=function(t){return t.label},HW=function(t){return t.label},WW=function(t){return t.value},ZW=function(t){return!!t.isDisabled},QW={clearIndicator:SH,container:hH,control:jH,dropdownIndicator:PH,group:NH,groupHeading:VH,indicatorsContainer:vH,indicatorSeparator:kH,input:ZH,loadingIndicator:EH,loadingMessage:uH,menu:rH,menuList:AH,menuPortal:fH,multiValue:JH,multiValueLabel:XH,multiValueRemove:_H,noOptionsMessage:cH,option:nW,placeholder:iW,singleValue:lW,valueContainer:yH};var qW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},YW=4,v9=4,UW=38,JW=v9*2,XW={baseUnit:v9,controlHeight:UW,menuGutter:JW},fd={borderRadius:YW,colors:qW,spacing:XW},_W={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Cm(),captureMenuScroll:!Cm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:PW(),formatGroupLabel:GW,getOptionLabel:HW,getOptionValue:WW,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ZW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!UG(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var i=t.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Bm(e,t,i,A){var c=C9(e,t,i),p=x9(e,t,i),m=T9(e,t),h=_c(e,t);return{type:"option",data:t,isDisabled:c,isSelected:p,label:m,value:h,index:A}}function Sc(e,t){return e.options.map(function(i,A){if("options"in i){var c=i.options.map(function(m,h){return Bm(e,m,t,h)}).filter(function(m){return zm(e,m)});return c.length>0?{type:"group",data:i,options:c,index:A}:void 0}var p=Bm(e,i,t,A);return zm(e,p)?p:void 0}).filter(_G)}function w9(e){return e.reduce(function(t,i){return i.type==="group"?t.push.apply(t,t3(i.options.map(function(A){return A.data}))):t.push(i.data),t},[])}function Lm(e,t){return e.reduce(function(i,A){return A.type==="group"?i.push.apply(i,t3(A.options.map(function(c){return{data:c.data,id:"".concat(t,"-").concat(A.index,"-").concat(c.index)}}))):i.push({data:A.data,id:"".concat(t,"-").concat(A.index)}),i},[])}function KW(e,t){return w9(Sc(e,t))}function zm(e,t){var i=e.inputValue,A=i===void 0?"":i,c=t.data,p=t.isSelected,m=t.label,h=t.value;return(!M9(e)||!p)&&P9(e,{label:m,value:h,data:c},A)}function $W(e,t){var i=e.focusedValue,A=e.selectValue,c=A.indexOf(i);if(c>-1){var p=t.indexOf(i);if(p>-1)return i;if(c<t.length)return t[c]}return null}function eZ(e,t){var i=e.focusedOption;return i&&t.indexOf(i)>-1?i:t[0]}var md=function(t,i){var A,c=(A=t.find(function(p){return p.data===i}))===null||A===void 0?void 0:A.id;return c||null},T9=function(t,i){return t.getOptionLabel(i)},_c=function(t,i){return t.getOptionValue(i)};function C9(e,t,i){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,i):!1}function x9(e,t,i){if(i.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,i);var A=_c(e,t);return i.some(function(c){return _c(e,c)===A})}function P9(e,t,i){return e.filterOption?e.filterOption(t,i):!0}var M9=function(t){var i=t.hideSelectedOptions,A=t.isMulti;return i===void 0?A:i},tZ=1,S9=(function(e){IG(i,e);var t=DG(i);function i(A){var c;if(MG(this,i),c=t.call(this,A),c.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},c.blockOptionHover=!1,c.isComposing=!1,c.commonProps=void 0,c.initialTouchX=0,c.initialTouchY=0,c.openAfterFocus=!1,c.scrollToFocusedOptionOnUpdate=!1,c.userIsDragging=void 0,c.controlRef=null,c.getControlRef=function(y){c.controlRef=y},c.focusedOptionRef=null,c.getFocusedOptionRef=function(y){c.focusedOptionRef=y},c.menuListRef=null,c.getMenuListRef=function(y){c.menuListRef=y},c.inputRef=null,c.getInputRef=function(y){c.inputRef=y},c.focus=c.focusInput,c.blur=c.blurInput,c.onChange=function(y,v){var w=c.props,C=w.onChange,M=w.name;v.name=M,c.ariaOnChange(y,v),C(y,v)},c.setValue=function(y,v,w){var C=c.props,M=C.closeMenuOnSelect,P=C.isMulti,I=C.inputValue;c.onInputChange("",{action:"set-value",prevInputValue:I}),M&&(c.setState({inputIsHiddenAfterUpdate:!P}),c.onMenuClose()),c.setState({clearFocusValueOnUpdate:!0}),c.onChange(y,{action:v,option:w})},c.selectOption=function(y){var v=c.props,w=v.blurInputOnSelect,C=v.isMulti,M=v.name,P=c.state.selectValue,I=C&&c.isOptionSelected(y,P),S=c.isOptionDisabled(y,P);if(I){var O=c.getOptionValue(y);c.setValue(P.filter(function(F){return c.getOptionValue(F)!==O}),"deselect-option",y)}else if(!S)C?c.setValue([].concat(t3(P),[y]),"select-option",y):c.setValue(y,"select-option");else{c.ariaOnChange(y,{action:"select-option",option:y,name:M});return}w&&c.blurInput()},c.removeValue=function(y){var v=c.props.isMulti,w=c.state.selectValue,C=c.getOptionValue(y),M=w.filter(function(I){return c.getOptionValue(I)!==C}),P=cc(v,M,M[0]||null);c.onChange(P,{action:"remove-value",removedValue:y}),c.focusInput()},c.clearValue=function(){var y=c.state.selectValue;c.onChange(cc(c.props.isMulti,[],null),{action:"clear",removedValues:y})},c.popValue=function(){var y=c.props.isMulti,v=c.state.selectValue,w=v[v.length-1],C=v.slice(0,v.length-1),M=cc(y,C,C[0]||null);w&&c.onChange(M,{action:"pop-value",removedValue:w})},c.getFocusedOptionId=function(y){return md(c.state.focusableOptionsWithIds,y)},c.getFocusableOptionsWithIds=function(){return Lm(Sc(c.props,c.state.selectValue),c.getElementId("option"))},c.getValue=function(){return c.state.selectValue},c.cx=function(){for(var y=arguments.length,v=new Array(y),w=0;w<y;w++)v[w]=arguments[w];return WG.apply(void 0,[c.props.classNamePrefix].concat(v))},c.getOptionLabel=function(y){return T9(c.props,y)},c.getOptionValue=function(y){return _c(c.props,y)},c.getStyles=function(y,v){var w=c.props.unstyled,C=QW[y](v,w);C.boxSizing="border-box";var M=c.props.styles[y];return M?M(C,v):C},c.getClassNames=function(y,v){var w,C;return(w=(C=c.props.classNames)[y])===null||w===void 0?void 0:w.call(C,v)},c.getElementId=function(y){return"".concat(c.state.instancePrefix,"-").concat(y)},c.getComponents=function(){return pW(c.props)},c.buildCategorizedOptions=function(){return Sc(c.props,c.state.selectValue)},c.getCategorizedOptions=function(){return c.props.menuIsOpen?c.buildCategorizedOptions():[]},c.buildFocusableOptions=function(){return w9(c.buildCategorizedOptions())},c.getFocusableOptions=function(){return c.props.menuIsOpen?c.buildFocusableOptions():[]},c.ariaOnChange=function(y,v){c.setState({ariaSelection:$t({value:y},v)})},c.onMenuMouseDown=function(y){y.button===0&&(y.stopPropagation(),y.preventDefault(),c.focusInput())},c.onMenuMouseMove=function(y){c.blockOptionHover=!1},c.onControlMouseDown=function(y){if(!y.defaultPrevented){var v=c.props.openMenuOnClick;c.state.isFocused?c.props.menuIsOpen?y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&c.onMenuClose():v&&c.openMenu("first"):(v&&(c.openAfterFocus=!0),c.focusInput()),y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&y.preventDefault()}},c.onDropdownIndicatorMouseDown=function(y){if(!(y&&y.type==="mousedown"&&y.button!==0)&&!c.props.isDisabled){var v=c.props,w=v.isMulti,C=v.menuIsOpen;c.focusInput(),C?(c.setState({inputIsHiddenAfterUpdate:!w}),c.onMenuClose()):c.openMenu("first"),y.preventDefault()}},c.onClearIndicatorMouseDown=function(y){y&&y.type==="mousedown"&&y.button!==0||(c.clearValue(),y.preventDefault(),c.openAfterFocus=!1,y.type==="touchend"?c.focusInput():setTimeout(function(){return c.focusInput()}))},c.onScroll=function(y){typeof c.props.closeMenuOnScroll=="boolean"?y.target instanceof HTMLElement&&Wu(y.target)&&c.props.onMenuClose():typeof c.props.closeMenuOnScroll=="function"&&c.props.closeMenuOnScroll(y)&&c.props.onMenuClose()},c.onCompositionStart=function(){c.isComposing=!0},c.onCompositionEnd=function(){c.isComposing=!1},c.onTouchStart=function(y){var v=y.touches,w=v&&v.item(0);w&&(c.initialTouchX=w.clientX,c.initialTouchY=w.clientY,c.userIsDragging=!1)},c.onTouchMove=function(y){var v=y.touches,w=v&&v.item(0);if(w){var C=Math.abs(w.clientX-c.initialTouchX),M=Math.abs(w.clientY-c.initialTouchY),P=5;c.userIsDragging=C>P||M>P}},c.onTouchEnd=function(y){c.userIsDragging||(c.controlRef&&!c.controlRef.contains(y.target)&&c.menuListRef&&!c.menuListRef.contains(y.target)&&c.blurInput(),c.initialTouchX=0,c.initialTouchY=0)},c.onControlTouchEnd=function(y){c.userIsDragging||c.onControlMouseDown(y)},c.onClearIndicatorTouchEnd=function(y){c.userIsDragging||c.onClearIndicatorMouseDown(y)},c.onDropdownIndicatorTouchEnd=function(y){c.userIsDragging||c.onDropdownIndicatorMouseDown(y)},c.handleInputChange=function(y){var v=c.props.inputValue,w=y.currentTarget.value;c.setState({inputIsHiddenAfterUpdate:!1}),c.onInputChange(w,{action:"input-change",prevInputValue:v}),c.props.menuIsOpen||c.onMenuOpen()},c.onInputFocus=function(y){c.props.onFocus&&c.props.onFocus(y),c.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(c.openAfterFocus||c.props.openMenuOnFocus)&&c.openMenu("first"),c.openAfterFocus=!1},c.onInputBlur=function(y){var v=c.props.inputValue;if(c.menuListRef&&c.menuListRef.contains(document.activeElement)){c.inputRef.focus();return}c.props.onBlur&&c.props.onBlur(y),c.onInputChange("",{action:"input-blur",prevInputValue:v}),c.onMenuClose(),c.setState({focusedValue:null,isFocused:!1})},c.onOptionHover=function(y){if(!(c.blockOptionHover||c.state.focusedOption===y)){var v=c.getFocusableOptions(),w=v.indexOf(y);c.setState({focusedOption:y,focusedOptionId:w>-1?c.getFocusedOptionId(y):null})}},c.shouldHideSelectedOptions=function(){return M9(c.props)},c.onValueInputFocus=function(y){y.preventDefault(),y.stopPropagation(),c.focus()},c.onKeyDown=function(y){var v=c.props,w=v.isMulti,C=v.backspaceRemovesValue,M=v.escapeClearsValue,P=v.inputValue,I=v.isClearable,S=v.isDisabled,O=v.menuIsOpen,F=v.onKeyDown,J=v.tabSelectsValue,X=v.openMenuOnFocus,Q=c.state,ee=Q.focusedOption,Y=Q.focusedValue,q=Q.selectValue;if(!S&&!(typeof F=="function"&&(F(y),y.defaultPrevented))){switch(c.blockOptionHover=!0,y.key){case"ArrowLeft":if(!w||P)return;c.focusValue("previous");break;case"ArrowRight":if(!w||P)return;c.focusValue("next");break;case"Delete":case"Backspace":if(P)return;if(Y)c.removeValue(Y);else{if(!C)return;w?c.popValue():I&&c.clearValue()}break;case"Tab":if(c.isComposing||y.shiftKey||!O||!J||!ee||X&&c.isOptionSelected(ee,q))return;c.selectOption(ee);break;case"Enter":if(y.keyCode===229)break;if(O){if(!ee||c.isComposing)return;c.selectOption(ee);break}return;case"Escape":O?(c.setState({inputIsHiddenAfterUpdate:!1}),c.onInputChange("",{action:"menu-close",prevInputValue:P}),c.onMenuClose()):I&&M&&c.clearValue();break;case" ":if(P)return;if(!O){c.openMenu("first");break}if(!ee)return;c.selectOption(ee);break;case"ArrowUp":O?c.focusOption("up"):c.openMenu("last");break;case"ArrowDown":O?c.focusOption("down"):c.openMenu("first");break;case"PageUp":if(!O)return;c.focusOption("pageup");break;case"PageDown":if(!O)return;c.focusOption("pagedown");break;case"Home":if(!O)return;c.focusOption("first");break;case"End":if(!O)return;c.focusOption("last");break;default:return}y.preventDefault()}},c.state.instancePrefix="react-select-"+(c.props.instanceId||++tZ),c.state.selectValue=wm(A.value),A.menuIsOpen&&c.state.selectValue.length){var p=c.getFocusableOptionsWithIds(),m=c.buildFocusableOptions(),h=m.indexOf(c.state.selectValue[0]);c.state.focusableOptionsWithIds=p,c.state.focusedOption=m[h],c.state.focusedOptionId=md(p,m[h])}return c}return SG(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Tm(this.menuListRef,this.focusedOptionRef),VW()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(c){var p=this.props,m=p.isDisabled,h=p.menuIsOpen,y=this.state.isFocused;(y&&!m&&c.isDisabled||y&&h&&!c.menuIsOpen)&&this.focusInput(),y&&m&&!c.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!y&&!m&&c.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Tm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(c,p){this.props.onInputChange(c,p)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(c){var p=this,m=this.state,h=m.selectValue,y=m.isFocused,v=this.buildFocusableOptions(),w=c==="first"?0:v.length-1;if(!this.props.isMulti){var C=v.indexOf(h[0]);C>-1&&(w=C)}this.scrollToFocusedOptionOnUpdate=!(y&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:v[w],focusedOptionId:this.getFocusedOptionId(v[w])},function(){return p.onMenuOpen()})}},{key:"focusValue",value:function(c){var p=this.state,m=p.selectValue,h=p.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var y=m.indexOf(h);h||(y=-1);var v=m.length-1,w=-1;if(m.length){switch(c){case"previous":y===0?w=0:y===-1?w=v:w=y-1;break;case"next":y>-1&&y<v&&(w=y+1);break}this.setState({inputIsHidden:w!==-1,focusedValue:m[w]})}}}},{key:"focusOption",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",p=this.props.pageSize,m=this.state.focusedOption,h=this.getFocusableOptions();if(h.length){var y=0,v=h.indexOf(m);m||(v=-1),c==="up"?y=v>0?v-1:h.length-1:c==="down"?y=(v+1)%h.length:c==="pageup"?(y=v-p,y<0&&(y=0)):c==="pagedown"?(y=v+p,y>h.length-1&&(y=h.length-1)):c==="last"&&(y=h.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:h[y],focusedValue:null,focusedOptionId:this.getFocusedOptionId(h[y])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(fd):$t($t({},fd),this.props.theme):fd})},{key:"getCommonProps",value:function(){var c=this.clearValue,p=this.cx,m=this.getStyles,h=this.getClassNames,y=this.getValue,v=this.selectOption,w=this.setValue,C=this.props,M=C.isMulti,P=C.isRtl,I=C.options,S=this.hasValue();return{clearValue:c,cx:p,getStyles:m,getClassNames:h,getValue:y,hasValue:S,isMulti:M,isRtl:P,options:I,selectOption:v,selectProps:C,setValue:w,theme:this.getTheme()}}},{key:"hasValue",value:function(){var c=this.state.selectValue;return c.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var c=this.props,p=c.isClearable,m=c.isMulti;return p===void 0?m:p}},{key:"isOptionDisabled",value:function(c,p){return C9(this.props,c,p)}},{key:"isOptionSelected",value:function(c,p){return x9(this.props,c,p)}},{key:"filterOption",value:function(c,p){return P9(this.props,c,p)}},{key:"formatOptionLabel",value:function(c,p){if(typeof this.props.formatOptionLabel=="function"){var m=this.props.inputValue,h=this.state.selectValue;return this.props.formatOptionLabel(c,{context:p,inputValue:m,selectValue:h})}else return this.getOptionLabel(c)}},{key:"formatGroupLabel",value:function(c){return this.props.formatGroupLabel(c)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var c=this.props,p=c.isDisabled,m=c.isSearchable,h=c.inputId,y=c.inputValue,v=c.tabIndex,w=c.form,C=c.menuIsOpen,M=c.required,P=this.getComponents(),I=P.Input,S=this.state,O=S.inputIsHidden,F=S.ariaSelection,J=this.commonProps,X=h||this.getElementId("input"),Q=$t($t($t({"aria-autocomplete":"list","aria-expanded":C,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":M,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},C&&{"aria-controls":this.getElementId("listbox")}),!m&&{"aria-readonly":!0}),this.hasValue()?(F==null?void 0:F.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return m?U.createElement(I,de({},J,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:X,innerRef:this.getInputRef,isDisabled:p,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:v,form:w,type:"text",value:y},Q)):U.createElement(SW,de({id:X,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Jc,onFocus:this.onInputFocus,disabled:p,tabIndex:v,inputMode:"none",form:w,value:""},Q))})},{key:"renderPlaceholderOrValue",value:function(){var c=this,p=this.getComponents(),m=p.MultiValue,h=p.MultiValueContainer,y=p.MultiValueLabel,v=p.MultiValueRemove,w=p.SingleValue,C=p.Placeholder,M=this.commonProps,P=this.props,I=P.controlShouldRenderValue,S=P.isDisabled,O=P.isMulti,F=P.inputValue,J=P.placeholder,X=this.state,Q=X.selectValue,ee=X.focusedValue,Y=X.isFocused;if(!this.hasValue()||!I)return F?null:U.createElement(C,de({},M,{key:"placeholder",isDisabled:S,isFocused:Y,innerProps:{id:this.getElementId("placeholder")}}),J);if(O)return Q.map(function(te,oe){var W=te===ee,H="".concat(c.getOptionLabel(te),"-").concat(c.getOptionValue(te));return U.createElement(m,de({},M,{components:{Container:h,Label:y,Remove:v},isFocused:W,isDisabled:S,key:H,index:oe,removeProps:{onClick:function(){return c.removeValue(te)},onTouchEnd:function(){return c.removeValue(te)},onMouseDown:function(re){re.preventDefault()}},data:te}),c.formatOptionLabel(te,"value"))});if(F)return null;var q=Q[0];return U.createElement(w,de({},M,{data:q,isDisabled:S}),this.formatOptionLabel(q,"value"))}},{key:"renderClearIndicator",value:function(){var c=this.getComponents(),p=c.ClearIndicator,m=this.commonProps,h=this.props,y=h.isDisabled,v=h.isLoading,w=this.state.isFocused;if(!this.isClearable()||!p||y||!this.hasValue()||v)return null;var C={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:C,isFocused:w}))}},{key:"renderLoadingIndicator",value:function(){var c=this.getComponents(),p=c.LoadingIndicator,m=this.commonProps,h=this.props,y=h.isDisabled,v=h.isLoading,w=this.state.isFocused;if(!p||!v)return null;var C={"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:C,isDisabled:y,isFocused:w}))}},{key:"renderIndicatorSeparator",value:function(){var c=this.getComponents(),p=c.DropdownIndicator,m=c.IndicatorSeparator;if(!p||!m)return null;var h=this.commonProps,y=this.props.isDisabled,v=this.state.isFocused;return U.createElement(m,de({},h,{isDisabled:y,isFocused:v}))}},{key:"renderDropdownIndicator",value:function(){var c=this.getComponents(),p=c.DropdownIndicator;if(!p)return null;var m=this.commonProps,h=this.props.isDisabled,y=this.state.isFocused,v={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:v,isDisabled:h,isFocused:y}))}},{key:"renderMenu",value:function(){var c=this,p=this.getComponents(),m=p.Group,h=p.GroupHeading,y=p.Menu,v=p.MenuList,w=p.MenuPortal,C=p.LoadingMessage,M=p.NoOptionsMessage,P=p.Option,I=this.commonProps,S=this.state.focusedOption,O=this.props,F=O.captureMenuScroll,J=O.inputValue,X=O.isLoading,Q=O.loadingMessage,ee=O.minMenuHeight,Y=O.maxMenuHeight,q=O.menuIsOpen,te=O.menuPlacement,oe=O.menuPosition,W=O.menuPortalTarget,H=O.menuShouldBlockScroll,R=O.menuShouldScrollIntoView,re=O.noOptionsMessage,N=O.onMenuScrollToTop,B=O.onMenuScrollToBottom;if(!q)return null;var G=function(ve,xe){var Me=ve.type,je=ve.data,De=ve.isDisabled,Ge=ve.isSelected,Pe=ve.label,ne=ve.value,fe=S===je,Te=De?void 0:function(){return c.onOptionHover(je)},ze=De?void 0:function(){return c.selectOption(je)},ke="".concat(c.getElementId("option"),"-").concat(xe),Fe={id:ke,onClick:ze,onMouseMove:Te,onMouseOver:Te,tabIndex:-1,role:"option","aria-selected":c.state.isAppleDevice?void 0:Ge};return U.createElement(P,de({},I,{innerProps:Fe,data:je,isDisabled:De,isSelected:Ge,key:ke,label:Pe,type:Me,value:ne,isFocused:fe,innerRef:fe?c.getFocusedOptionRef:void 0}),c.formatOptionLabel(ve.data,"menu"))},V;if(this.hasOptions())V=this.getCategorizedOptions().map(function(he){if(he.type==="group"){var ve=he.data,xe=he.options,Me=he.index,je="".concat(c.getElementId("group"),"-").concat(Me),De="".concat(je,"-heading");return U.createElement(m,de({},I,{key:je,data:ve,options:xe,Heading:h,headingProps:{id:De,data:he.data},label:c.formatGroupLabel(he.data)}),he.options.map(function(Ge){return G(Ge,"".concat(Me,"-").concat(Ge.index))}))}else if(he.type==="option")return G(he,"".concat(he.index))});else if(X){var x=Q({inputValue:J});if(x===null)return null;V=U.createElement(C,I,x)}else{var se=re({inputValue:J});if(se===null)return null;V=U.createElement(M,I,se)}var Ae={minMenuHeight:ee,maxMenuHeight:Y,menuPlacement:te,menuPosition:oe,menuShouldScrollIntoView:R},le=U.createElement(sH,de({},I,Ae),function(he){var ve=he.ref,xe=he.placerProps,Me=xe.placement,je=xe.maxHeight;return U.createElement(y,de({},I,Ae,{innerRef:ve,innerProps:{onMouseDown:c.onMenuMouseDown,onMouseMove:c.onMenuMouseMove},isLoading:X,placement:Me}),U.createElement(RW,{captureEnabled:F,onTopArrive:N,onBottomArrive:B,lockEnabled:H},function(De){return U.createElement(v,de({},I,{innerRef:function(Pe){c.getMenuListRef(Pe),De(Pe)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:c.getElementId("listbox")},isLoading:X,maxHeight:je,focusedOption:S}),V)}))});return W||oe==="fixed"?U.createElement(w,de({},I,{appendTo:W,controlElement:this.controlRef,menuPlacement:te,menuPosition:oe}),le):le}},{key:"renderFormField",value:function(){var c=this,p=this.props,m=p.delimiter,h=p.isDisabled,y=p.isMulti,v=p.name,w=p.required,C=this.state.selectValue;if(w&&!this.hasValue()&&!h)return U.createElement(LW,{name:v,onFocus:this.onValueInputFocus});if(!(!v||h))if(y)if(m){var M=C.map(function(S){return c.getOptionValue(S)}).join(m);return U.createElement("input",{name:v,type:"hidden",value:M})}else{var P=C.length>0?C.map(function(S,O){return U.createElement("input",{key:"i-".concat(O),name:v,type:"hidden",value:c.getOptionValue(S)})}):U.createElement("input",{name:v,type:"hidden",value:""});return U.createElement("div",null,P)}else{var I=C[0]?this.getOptionValue(C[0]):"";return U.createElement("input",{name:v,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var c=this.commonProps,p=this.state,m=p.ariaSelection,h=p.focusedOption,y=p.focusedValue,v=p.isFocused,w=p.selectValue,C=this.getFocusableOptions();return U.createElement(wW,de({},c,{id:this.getElementId("live-region"),ariaSelection:m,focusedOption:h,focusedValue:y,isFocused:v,selectValue:w,focusableOptions:C,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var c=this.getComponents(),p=c.Control,m=c.IndicatorsContainer,h=c.SelectContainer,y=c.ValueContainer,v=this.props,w=v.className,C=v.id,M=v.isDisabled,P=v.menuIsOpen,I=this.state.isFocused,S=this.commonProps=this.getCommonProps();return U.createElement(h,de({},S,{className:w,innerProps:{id:C,onKeyDown:this.onKeyDown},isDisabled:M,isFocused:I}),this.renderLiveRegion(),U.createElement(p,de({},S,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:M,isFocused:I,menuIsOpen:P}),U.createElement(y,de({},S,{isDisabled:M}),this.renderPlaceholderOrValue(),this.renderInput()),U.createElement(m,de({},S,{isDisabled:M}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(c,p){var m=p.prevProps,h=p.clearFocusValueOnUpdate,y=p.inputIsHiddenAfterUpdate,v=p.ariaSelection,w=p.isFocused,C=p.prevWasFocused,M=p.instancePrefix,P=c.options,I=c.value,S=c.menuIsOpen,O=c.inputValue,F=c.isMulti,J=wm(I),X={};if(m&&(I!==m.value||P!==m.options||S!==m.menuIsOpen||O!==m.inputValue)){var Q=S?KW(c,J):[],ee=S?Lm(Sc(c,J),"".concat(M,"-option")):[],Y=h?$W(p,J):null,q=eZ(p,Q),te=md(ee,q);X={selectValue:J,focusedOption:q,focusedOptionId:te,focusableOptionsWithIds:ee,focusedValue:Y,clearFocusValueOnUpdate:!1}}var oe=y!=null&&c!==m?{inputIsHidden:y,inputIsHiddenAfterUpdate:void 0}:{},W=v,H=w&&C;return w&&!H&&(W={value:cc(F,J,J[0]||null),options:J,action:"initial-input-focus"},H=!C),(v==null?void 0:v.action)==="initial-input-focus"&&(W=null),$t($t($t({},X),oe),{},{prevProps:c,ariaSelection:W,prevWasFocused:H})}}]),i})(we.Component);S9.defaultProps=_W;var oZ=we.forwardRef(function(e,t){var i=PG(e);return U.createElement(S9,de({ref:t},i))}),nZ=oZ;function I9({defaultOption:e,options:t,onChange:i,isSearchable:A=!1,className:c="",disabled:p=!1}){const m=(h,y)=>{h&&i(h)};return j.jsx("div",{className:ut("w-full",c),children:j.jsx(nZ,{isClearable:!1,isSearchable:A,isMulti:!1,defaultValue:e,options:t,onChange:m,isDisabled:p})})}const bp=["Low to High","High to Low"],Nm=[{value:0,label:bp[0]},{value:1,label:bp[1]}];function rZ({onChange:e,className:t="",pickedType:i=0,disabled:A=!1}){const c=p=>{e(p.value)};return j.jsx(I9,{options:Nm,defaultOption:Nm[i],onChange:c,className:t,disabled:A})}const sZ=we.createContext(null),hd={didCatch:!1,error:null};class iZ extends we.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hd}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var A,c;const{error:i}=this.state;i!==null&&((c=(A=this.props).onReset)==null||c.call(A,{args:t,reason:"imperative-api"}),this.setState(hd))}componentDidCatch(t,i){var A,c;(c=(A=this.props).onError)==null||c.call(A,t,i)}componentDidUpdate(t,i){var p,m;const{didCatch:A}=this.state,{resetKeys:c}=this.props;A&&i.error!==null&&aZ(t.resetKeys,c)&&((m=(p=this.props).onReset)==null||m.call(p,{next:c,prev:t.resetKeys,reason:"keys"}),this.setState(hd))}render(){const{children:t,fallbackRender:i,FallbackComponent:A,fallback:c}=this.props,{didCatch:p,error:m}=this.state;let h=t;if(p){const y={error:m,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")h=i(y);else if(A)h=we.createElement(A,y);else if(c!==void 0)h=c;else throw m}return we.createElement(sZ.Provider,{value:{didCatch:p,error:m,resetErrorBoundary:this.resetErrorBoundary}},h)}}function aZ(e=[],t=[]){return e.length!==t.length||e.some((i,A)=>!Object.is(i,t[A]))}function Wl({label:e="Something went wrong"}){return j.jsx("div",{className:"text-red-600",children:e})}const AZ=()=>j.jsx(Wl,{label:j.jsxs(j.Fragment,{children:["Failed to load component. ",j.jsx(J8,{href:"/",children:"Go to homepage"})]})}),k9=({children:e,fallback:t=null})=>j.jsx(iZ,{fallback:t??j.jsx(AZ,{}),onError:(i,A)=>{console.error("Error details:",i),console.error("Error info:",A)},children:e});function lZ({label:e,className:t=""}){return j.jsx("div",{className:ut("NotFound bg-white p-2 text-gray-600 text-lg rounded-lg w-full",t),children:e})}function cZ({children:e,lazyFallback:t=null,errorFallback:i=null}){return j.jsx(k9,{fallback:i,children:j.jsx(we.Suspense,{fallback:t??j.jsx(K8,{}),children:e})})}const uZ=["text-lime-700 border border-lime-700 bg-white","text-violet-600 border border-violet-600 bg-white","text-blue-500 border border-blue-500 bg-white","text-slate-300 border border-slate-300 bg-white","text-cyan-600 border border-cyan-600 bg-white","text-yellow-700 border border-yellow-700 bg-white"],dZ=["bg-lime-700 text-white","bg-violet-600 text-white","bg-blue-500 text-white","bg-slate-300 text-white","bg-cyan-600 text-white","bg-yellow-700 text-white"],pZ=6,fZ=e=>(typeof e=="string"&&(e=Ng(e)),Math.abs(Math.floor(e))%pZ),mZ=(e,t)=>{const i=fZ(e);return t?dZ[i]:uZ[i]};function D9({label:e,onClick:t=io,className:i="",labelSize:A="base",isHighlighted:c=!1,color:p=0}){return j.jsx(vn,{onClick:t,className:ut("Tag w-fit h-fit px-1 rounded-full",i,`text-${A}`,mZ(p,c)),children:e})}function hZ({tags:e,highlightedTagIndex:t,className:i=""}){const A=(c,p)=>{const m=typeof t=="number"?p===t:void 0;return j.jsx(D9,{...c,...m!==void 0?{isHighlighted:m}:{}},p)};return j.jsx(pa,{className:ut("Tags flex flex-wrap gap-1",i),items:e,itemRenderer:A})}function gZ({text:e,onClick:t=io,className:i="",isHighlighted:A=!1}){return j.jsx(vn,{onClick:t,className:ut("Text",A?"text-blue-500":"text-gray-500",i),children:e})}function yZ({onClick:e=io,className:t=""}){return j.jsx(vn,{onClick:e,className:ut("ShowMore font-bold text-gray-700",t),children:"show more"})}var gd={},yd={},RA={},bd={},Fm;function bZ(){return Fm||(Fm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},i=e.default=t})(bd)),bd}var vd,Vm;function vZ(){if(Vm)return vd;Vm=1;var e={},t="Expected a function",i=NaN,A="[object Symbol]",c=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,h=/^0o[0-7]+$/i,y=parseInt,v=typeof e=="object"&&e&&e.Object===Object&&e,w=typeof self=="object"&&self&&self.Object===Object&&self,C=v||w||Function("return this")(),M=Object.prototype,P=M.toString,I=Math.max,S=Math.min,O=function(){return C.Date.now()};function F(Y,q,te){var oe,W,H,R,re,N,B=0,G=!1,V=!1,x=!0;if(typeof Y!="function")throw new TypeError(t);q=ee(q)||0,J(te)&&(G=!!te.leading,V="maxWait"in te,H=V?I(ee(te.maxWait)||0,q):H,x="trailing"in te?!!te.trailing:x);function se(Ge){var Pe=oe,ne=W;return oe=W=void 0,B=Ge,R=Y.apply(ne,Pe),R}function Ae(Ge){return B=Ge,re=setTimeout(ve,q),G?se(Ge):R}function le(Ge){var Pe=Ge-N,ne=Ge-B,fe=q-Pe;return V?S(fe,H-ne):fe}function he(Ge){var Pe=Ge-N,ne=Ge-B;return N===void 0||Pe>=q||Pe<0||V&&ne>=H}function ve(){var Ge=O();if(he(Ge))return xe(Ge);re=setTimeout(ve,le(Ge))}function xe(Ge){return re=void 0,x&&oe?se(Ge):(oe=W=void 0,R)}function Me(){re!==void 0&&clearTimeout(re),B=0,oe=N=W=re=void 0}function je(){return re===void 0?R:xe(O())}function De(){var Ge=O(),Pe=he(Ge);if(oe=arguments,W=this,N=Ge,Pe){if(re===void 0)return Ae(N);if(V)return re=setTimeout(ve,q),se(N)}return re===void 0&&(re=setTimeout(ve,q)),R}return De.cancel=Me,De.flush=je,De}function J(Y){var q=typeof Y;return!!Y&&(q=="object"||q=="function")}function X(Y){return!!Y&&typeof Y=="object"}function Q(Y){return typeof Y=="symbol"||X(Y)&&P.call(Y)==A}function ee(Y){if(typeof Y=="number")return Y;if(Q(Y))return i;if(J(Y)){var q=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=J(q)?q+"":q}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(c,"");var te=m.test(Y);return te||h.test(Y)?y(Y.slice(2),te?2:8):p.test(Y)?i:+Y}return vd=F,vd}var kt={},wd={},Gm;function O9(){return Gm||(Gm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(we);function i(p){return p&&p.__esModule?p:{default:p}}var A={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(m){return t.default.createElement("ul",{style:{display:"block"}},m)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(m){return t.default.createElement("button",null,m+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1},c=e.default=A})(wd)),wd}var Hm;function Zl(){if(Hm)return kt;Hm=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.checkSpecKeys=kt.checkNavigable=kt.changeSlide=kt.canUseDOM=kt.canGoNext=void 0,kt.clamp=v,kt.extractObject=void 0,kt.filterSettings=Ge,kt.validSettings=kt.swipeStart=kt.swipeMove=kt.swipeEnd=kt.slidesOnRight=kt.slidesOnLeft=kt.slideHandler=kt.siblingDirection=kt.safePreventDefault=kt.lazyStartIndex=kt.lazySlidesOnRight=kt.lazySlidesOnLeft=kt.lazyEndIndex=kt.keyHandler=kt.initializedState=kt.getWidth=kt.getTrackLeft=kt.getTrackCSS=kt.getTrackAnimateCSS=kt.getTotalSlides=kt.getSwipeDirection=kt.getSlideCount=kt.getRequiredLazySlides=kt.getPreClones=kt.getPostClones=kt.getOnDemandLazySlides=kt.getNavigableIndexes=kt.getHeight=void 0;var e=i(we),t=i(O9());function i(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function A(Pe){"@babel/helpers - typeof";return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},A(Pe)}function c(Pe,ne){var fe=Object.keys(Pe);if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(Pe);ne&&(Te=Te.filter(function(ze){return Object.getOwnPropertyDescriptor(Pe,ze).enumerable})),fe.push.apply(fe,Te)}return fe}function p(Pe){for(var ne=1;ne<arguments.length;ne++){var fe=arguments[ne]!=null?arguments[ne]:{};ne%2?c(Object(fe),!0).forEach(function(Te){m(Pe,Te,fe[Te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(fe)):c(Object(fe)).forEach(function(Te){Object.defineProperty(Pe,Te,Object.getOwnPropertyDescriptor(fe,Te))})}return Pe}function m(Pe,ne,fe){return(ne=h(ne))in Pe?Object.defineProperty(Pe,ne,{value:fe,enumerable:!0,configurable:!0,writable:!0}):Pe[ne]=fe,Pe}function h(Pe){var ne=y(Pe,"string");return A(ne)=="symbol"?ne:ne+""}function y(Pe,ne){if(A(Pe)!="object"||!Pe)return Pe;var fe=Pe[Symbol.toPrimitive];if(fe!==void 0){var Te=fe.call(Pe,ne||"default");if(A(Te)!="object")return Te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ne==="string"?String:Number)(Pe)}function v(Pe,ne,fe){return Math.max(ne,Math.min(Pe,fe))}var w=kt.safePreventDefault=function(ne){var fe=["onTouchStart","onTouchMove","onWheel"];fe.includes(ne._reactName)||ne.preventDefault()},C=kt.getOnDemandLazySlides=function(ne){for(var fe=[],Te=P(ne),ze=I(ne),ke=Te;ke<ze;ke++)ne.lazyLoadedList.indexOf(ke)<0&&fe.push(ke);return fe},M=kt.getRequiredLazySlides=function(ne){for(var fe=[],Te=P(ne),ze=I(ne),ke=Te;ke<ze;ke++)fe.push(ke);return fe},P=kt.lazyStartIndex=function(ne){return ne.currentSlide-S(ne)},I=kt.lazyEndIndex=function(ne){return ne.currentSlide+O(ne)},S=kt.lazySlidesOnLeft=function(ne){return ne.centerMode?Math.floor(ne.slidesToShow/2)+(parseInt(ne.centerPadding)>0?1:0):0},O=kt.lazySlidesOnRight=function(ne){return ne.centerMode?Math.floor((ne.slidesToShow-1)/2)+1+(parseInt(ne.centerPadding)>0?1:0):ne.slidesToShow},F=kt.getWidth=function(ne){return ne&&ne.offsetWidth||0},J=kt.getHeight=function(ne){return ne&&ne.offsetHeight||0},X=kt.getSwipeDirection=function(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te,ze,ke,Fe;return Te=ne.startX-ne.curX,ze=ne.startY-ne.curY,ke=Math.atan2(ze,Te),Fe=Math.round(ke*180/Math.PI),Fe<0&&(Fe=360-Math.abs(Fe)),Fe<=45&&Fe>=0||Fe<=360&&Fe>=315?"left":Fe>=135&&Fe<=225?"right":fe===!0?Fe>=35&&Fe<=135?"up":"down":"vertical"},Q=kt.canGoNext=function(ne){var fe=!0;return ne.infinite||(ne.centerMode&&ne.currentSlide>=ne.slideCount-1||ne.slideCount<=ne.slidesToShow||ne.currentSlide>=ne.slideCount-ne.slidesToShow)&&(fe=!1),fe},ee=kt.extractObject=function(ne,fe){var Te={};return fe.forEach(function(ze){return Te[ze]=ne[ze]}),Te},Y=kt.initializedState=function(ne){var fe=e.default.Children.count(ne.children),Te=ne.listRef,ze=Math.ceil(F(Te)),ke=ne.trackRef&&ne.trackRef.node,Fe=Math.ceil(F(ke)),Be;if(ne.vertical)Be=ze;else{var We=ne.centerMode&&parseInt(ne.centerPadding)*2;typeof ne.centerPadding=="string"&&ne.centerPadding.slice(-1)==="%"&&(We*=ze/100),Be=Math.ceil((ze-We)/ne.slidesToShow)}var He=Te&&J(Te.querySelector('[data-index="0"]')),Qe=He*ne.slidesToShow,Ve=ne.currentSlide===void 0?ne.initialSlide:ne.currentSlide;ne.rtl&&ne.currentSlide===void 0&&(Ve=fe-1-ne.initialSlide);var Le=ne.lazyLoadedList||[],Ye=C(p(p({},ne),{},{currentSlide:Ve,lazyLoadedList:Le}));Le=Le.concat(Ye);var at={slideCount:fe,slideWidth:Be,listWidth:ze,trackWidth:Fe,currentSlide:Ve,slideHeight:He,listHeight:Qe,lazyLoadedList:Le};return ne.autoplaying===null&&ne.autoplay&&(at.autoplaying="playing"),at},q=kt.slideHandler=function(ne){var fe=ne.waitForAnimate,Te=ne.animating,ze=ne.fade,ke=ne.infinite,Fe=ne.index,Be=ne.slideCount,We=ne.lazyLoad,He=ne.currentSlide,Qe=ne.centerMode,Ve=ne.slidesToScroll,Le=ne.slidesToShow,Ye=ne.useCSS,at=ne.lazyLoadedList;if(fe&&Te)return{};var et=Fe,Mt,Rt,vt,Gt={},wt={},Ct=ke?Fe:v(Fe,0,Be-1);if(ze){if(!ke&&(Fe<0||Fe>=Be))return{};Fe<0?et=Fe+Be:Fe>=Be&&(et=Fe-Be),We&&at.indexOf(et)<0&&(at=at.concat(et)),Gt={animating:!0,currentSlide:et,lazyLoadedList:at,targetSlide:et},wt={animating:!1,targetSlide:et}}else Mt=et,et<0?(Mt=et+Be,ke?Be%Ve!==0&&(Mt=Be-Be%Ve):Mt=0):!Q(ne)&&et>He?et=Mt=He:Qe&&et>=Be?(et=ke?Be:Be-1,Mt=ke?0:Be-1):et>=Be&&(Mt=et-Be,ke?Be%Ve!==0&&(Mt=0):Mt=Be-Le),!ke&&et+Le>=Be&&(Mt=Be-Le),Rt=se(p(p({},ne),{},{slideIndex:et})),vt=se(p(p({},ne),{},{slideIndex:Mt})),ke||(Rt===vt&&(et=Mt),Rt=vt),We&&(at=at.concat(C(p(p({},ne),{},{currentSlide:et})))),Ye?(Gt={animating:!0,currentSlide:Mt,trackStyle:x(p(p({},ne),{},{left:Rt})),lazyLoadedList:at,targetSlide:Ct},wt={animating:!1,currentSlide:Mt,trackStyle:V(p(p({},ne),{},{left:vt})),swipeLeft:null,targetSlide:Ct}):Gt={currentSlide:Mt,trackStyle:V(p(p({},ne),{},{left:vt})),lazyLoadedList:at,targetSlide:Ct};return{state:Gt,nextState:wt}},te=kt.changeSlide=function(ne,fe){var Te,ze,ke,Fe,Be,We=ne.slidesToScroll,He=ne.slidesToShow,Qe=ne.slideCount,Ve=ne.currentSlide,Le=ne.targetSlide,Ye=ne.lazyLoad,at=ne.infinite;if(Fe=Qe%We!==0,Te=Fe?0:(Qe-Ve)%We,fe.message==="previous")ke=Te===0?We:He-Te,Be=Ve-ke,Ye&&!at&&(ze=Ve-ke,Be=ze===-1?Qe-1:ze),at||(Be=Le-We);else if(fe.message==="next")ke=Te===0?We:Te,Be=Ve+ke,Ye&&!at&&(Be=(Ve+We)%Qe+Te),at||(Be=Le+We);else if(fe.message==="dots")Be=fe.index*fe.slidesToScroll;else if(fe.message==="children"){if(Be=fe.index,at){var et=ve(p(p({},ne),{},{targetSlide:Be}));Be>fe.currentSlide&&et==="left"?Be=Be-Qe:Be<fe.currentSlide&&et==="right"&&(Be=Be+Qe)}}else fe.message==="index"&&(Be=Number(fe.index));return Be},oe=kt.keyHandler=function(ne,fe,Te){return ne.target.tagName.match("TEXTAREA|INPUT|SELECT")||!fe?"":ne.keyCode===37?Te?"next":"previous":ne.keyCode===39?Te?"previous":"next":""},W=kt.swipeStart=function(ne,fe,Te){return ne.target.tagName==="IMG"&&w(ne),!fe||!Te&&ne.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:ne.touches?ne.touches[0].pageX:ne.clientX,startY:ne.touches?ne.touches[0].pageY:ne.clientY,curX:ne.touches?ne.touches[0].pageX:ne.clientX,curY:ne.touches?ne.touches[0].pageY:ne.clientY}}},H=kt.swipeMove=function(ne,fe){var Te=fe.scrolling,ze=fe.animating,ke=fe.vertical,Fe=fe.swipeToSlide,Be=fe.verticalSwiping,We=fe.rtl,He=fe.currentSlide,Qe=fe.edgeFriction,Ve=fe.edgeDragged,Le=fe.onEdge,Ye=fe.swiped,at=fe.swiping,et=fe.slideCount,Mt=fe.slidesToScroll,Rt=fe.infinite,vt=fe.touchObject,Gt=fe.swipeEvent,wt=fe.listHeight,Ct=fe.listWidth;if(!Te){if(ze)return w(ne);ke&&Fe&&Be&&w(ne);var ht,so={},ao=se(fe);vt.curX=ne.touches?ne.touches[0].pageX:ne.clientX,vt.curY=ne.touches?ne.touches[0].pageY:ne.clientY,vt.swipeLength=Math.round(Math.sqrt(Math.pow(vt.curX-vt.startX,2)));var mo=Math.round(Math.sqrt(Math.pow(vt.curY-vt.startY,2)));if(!Be&&!at&&mo>10)return{scrolling:!0};Be&&(vt.swipeLength=mo);var qt=(We?-1:1)*(vt.curX>vt.startX?1:-1);Be&&(qt=vt.curY>vt.startY?1:-1);var ho=Math.ceil(et/Mt),Ht=X(fe.touchObject,Be),go=vt.swipeLength;return Rt||(He===0&&(Ht==="right"||Ht==="down")||He+1>=ho&&(Ht==="left"||Ht==="up")||!Q(fe)&&(Ht==="left"||Ht==="up"))&&(go=vt.swipeLength*Qe,Ve===!1&&Le&&(Le(Ht),so.edgeDragged=!0)),!Ye&&Gt&&(Gt(Ht),so.swiped=!0),ke?ht=ao+go*(wt/Ct)*qt:We?ht=ao-go*qt:ht=ao+go*qt,Be&&(ht=ao+go*qt),so=p(p({},so),{},{touchObject:vt,swipeLeft:ht,trackStyle:V(p(p({},fe),{},{left:ht}))}),Math.abs(vt.curX-vt.startX)<Math.abs(vt.curY-vt.startY)*.8||vt.swipeLength>10&&(so.swiping=!0,w(ne)),so}},R=kt.swipeEnd=function(ne,fe){var Te=fe.dragging,ze=fe.swipe,ke=fe.touchObject,Fe=fe.listWidth,Be=fe.touchThreshold,We=fe.verticalSwiping,He=fe.listHeight,Qe=fe.swipeToSlide,Ve=fe.scrolling,Le=fe.onSwipe,Ye=fe.targetSlide,at=fe.currentSlide,et=fe.infinite;if(!Te)return ze&&w(ne),{};var Mt=We?He/Be:Fe/Be,Rt=X(ke,We),vt={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(Ve||!ke.swipeLength)return vt;if(ke.swipeLength>Mt){w(ne),Le&&Le(Rt);var Gt,wt,Ct=et?at:Ye;switch(Rt){case"left":case"up":wt=Ct+B(fe),Gt=Qe?N(fe,wt):wt,vt.currentDirection=0;break;case"right":case"down":wt=Ct-B(fe),Gt=Qe?N(fe,wt):wt,vt.currentDirection=1;break;default:Gt=Ct}vt.triggerSlideHandler=Gt}else{var ht=se(fe);vt.trackStyle=x(p(p({},fe),{},{left:ht}))}return vt},re=kt.getNavigableIndexes=function(ne){for(var fe=ne.infinite?ne.slideCount*2:ne.slideCount,Te=ne.infinite?ne.slidesToShow*-1:0,ze=ne.infinite?ne.slidesToShow*-1:0,ke=[];Te<fe;)ke.push(Te),Te=ze+ne.slidesToScroll,ze+=Math.min(ne.slidesToScroll,ne.slidesToShow);return ke},N=kt.checkNavigable=function(ne,fe){var Te=re(ne),ze=0;if(fe>Te[Te.length-1])fe=Te[Te.length-1];else for(var ke in Te){if(fe<Te[ke]){fe=ze;break}ze=Te[ke]}return fe},B=kt.getSlideCount=function(ne){var fe=ne.centerMode?ne.slideWidth*Math.floor(ne.slidesToShow/2):0;if(ne.swipeToSlide){var Te,ze=ne.listRef,ke=ze.querySelectorAll&&ze.querySelectorAll(".slick-slide")||[];if(Array.from(ke).every(function(We){if(ne.vertical){if(We.offsetTop+J(We)/2>ne.swipeLeft*-1)return Te=We,!1}else if(We.offsetLeft-fe+F(We)/2>ne.swipeLeft*-1)return Te=We,!1;return!0}),!Te)return 0;var Fe=ne.rtl===!0?ne.slideCount-ne.currentSlide:ne.currentSlide,Be=Math.abs(Te.dataset.index-Fe)||1;return Be}else return ne.slidesToScroll},G=kt.checkSpecKeys=function(ne,fe){return fe.reduce(function(Te,ze){return Te&&ne.hasOwnProperty(ze)},!0)?null:console.error("Keys Missing:",ne)},V=kt.getTrackCSS=function(ne){G(ne,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var fe,Te;if(!ne.vertical)fe=he(ne)*ne.slideWidth;else{var ze=ne.unslick?ne.slideCount:ne.slideCount+2*ne.slidesToShow;Te=ze*ne.slideHeight}var ke={opacity:1,transition:"",WebkitTransition:""};if(ne.useTransform){var Fe=ne.vertical?"translate3d(0px, "+ne.left+"px, 0px)":"translate3d("+ne.left+"px, 0px, 0px)",Be=ne.vertical?"translate3d(0px, "+ne.left+"px, 0px)":"translate3d("+ne.left+"px, 0px, 0px)",We=ne.vertical?"translateY("+ne.left+"px)":"translateX("+ne.left+"px)";ke=p(p({},ke),{},{WebkitTransform:Fe,transform:Be,msTransform:We})}else ne.vertical?ke.top=ne.left:ke.left=ne.left;return ne.fade&&(ke={opacity:1}),fe&&(ke.width=fe),Te&&(ke.height=Te),window&&!window.addEventListener&&window.attachEvent&&(ne.vertical?ke.marginTop=ne.left+"px":ke.marginLeft=ne.left+"px"),ke},x=kt.getTrackAnimateCSS=function(ne){G(ne,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var fe=V(ne);return ne.useTransform?(fe.WebkitTransition="-webkit-transform "+ne.speed+"ms "+ne.cssEase,fe.transition="transform "+ne.speed+"ms "+ne.cssEase):ne.vertical?fe.transition="top "+ne.speed+"ms "+ne.cssEase:fe.transition="left "+ne.speed+"ms "+ne.cssEase,fe},se=kt.getTrackLeft=function(ne){if(ne.unslick)return 0;G(ne,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var fe=ne.slideIndex,Te=ne.trackRef,ze=ne.infinite,ke=ne.centerMode,Fe=ne.slideCount,Be=ne.slidesToShow,We=ne.slidesToScroll,He=ne.slideWidth,Qe=ne.listWidth,Ve=ne.variableWidth,Le=ne.slideHeight,Ye=ne.fade,at=ne.vertical,et=0,Mt,Rt,vt=0;if(Ye||ne.slideCount===1)return 0;var Gt=0;if(ze?(Gt=-Ae(ne),Fe%We!==0&&fe+We>Fe&&(Gt=-(fe>Fe?Be-(fe-Fe):Fe%We)),ke&&(Gt+=parseInt(Be/2))):(Fe%We!==0&&fe+We>Fe&&(Gt=Be-Fe%We),ke&&(Gt=parseInt(Be/2))),et=Gt*He,vt=Gt*Le,at?Mt=fe*Le*-1+vt:Mt=fe*He*-1+et,Ve===!0){var wt,Ct=Te&&Te.node;if(wt=fe+Ae(ne),Rt=Ct&&Ct.childNodes[wt],Mt=Rt?Rt.offsetLeft*-1:0,ke===!0){wt=ze?fe+Ae(ne):fe,Rt=Ct&&Ct.children[wt],Mt=0;for(var ht=0;ht<wt;ht++)Mt-=Ct&&Ct.children[ht]&&Ct.children[ht].offsetWidth;Mt-=parseInt(ne.centerPadding),Mt+=Rt&&(Qe-Rt.offsetWidth)/2}}return Mt},Ae=kt.getPreClones=function(ne){return ne.unslick||!ne.infinite?0:ne.variableWidth?ne.slideCount:ne.slidesToShow+(ne.centerMode?1:0)},le=kt.getPostClones=function(ne){return ne.unslick||!ne.infinite?0:ne.variableWidth?ne.slideCount:ne.slidesToShow+(ne.centerMode?1:0)},he=kt.getTotalSlides=function(ne){return ne.slideCount===1?1:Ae(ne)+ne.slideCount+le(ne)},ve=kt.siblingDirection=function(ne){return ne.targetSlide>ne.currentSlide?ne.targetSlide>ne.currentSlide+xe(ne)?"left":"right":ne.targetSlide<ne.currentSlide-Me(ne)?"right":"left"},xe=kt.slidesOnRight=function(ne){var fe=ne.slidesToShow,Te=ne.centerMode,ze=ne.rtl,ke=ne.centerPadding;if(Te){var Fe=(fe-1)/2+1;return parseInt(ke)>0&&(Fe+=1),ze&&fe%2===0&&(Fe+=1),Fe}return ze?0:fe-1},Me=kt.slidesOnLeft=function(ne){var fe=ne.slidesToShow,Te=ne.centerMode,ze=ne.rtl,ke=ne.centerPadding;if(Te){var Fe=(fe-1)/2+1;return parseInt(ke)>0&&(Fe+=1),!ze&&fe%2===0&&(Fe+=1),Fe}return ze?fe-1:0},je=kt.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},De=kt.validSettings=Object.keys(t.default);function Ge(Pe){return De.reduce(function(ne,fe){return Pe.hasOwnProperty(fe)&&(ne[fe]=Pe[fe]),ne},{})}return kt}var jA={},Wm;function wZ(){if(Wm)return jA;Wm=1,Object.defineProperty(jA,"__esModule",{value:!0}),jA.Track=void 0;var e=A(we),t=A(Hl()),i=Zl();function A(W){return W&&W.__esModule?W:{default:W}}function c(W){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},c(W)}function p(){return p=Object.assign?Object.assign.bind():function(W){for(var H=1;H<arguments.length;H++){var R=arguments[H];for(var re in R)({}).hasOwnProperty.call(R,re)&&(W[re]=R[re])}return W},p.apply(null,arguments)}function m(W,H){if(!(W instanceof H))throw new TypeError("Cannot call a class as a function")}function h(W,H){for(var R=0;R<H.length;R++){var re=H[R];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(W,X(re.key),re)}}function y(W,H,R){return H&&h(W.prototype,H),R&&h(W,R),Object.defineProperty(W,"prototype",{writable:!1}),W}function v(W,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(H&&H.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),Object.defineProperty(W,"prototype",{writable:!1}),H&&w(W,H)}function w(W,H){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,re){return R.__proto__=re,R},w(W,H)}function C(W){var H=I();return function(){var R,re=S(W);if(H){var N=S(this).constructor;R=Reflect.construct(re,arguments,N)}else R=re.apply(this,arguments);return M(this,R)}}function M(W,H){if(H&&(c(H)=="object"||typeof H=="function"))return H;if(H!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P(W)}function P(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function I(){try{var W=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(I=function(){return!!W})()}function S(W){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(H){return H.__proto__||Object.getPrototypeOf(H)},S(W)}function O(W,H){var R=Object.keys(W);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(W);H&&(re=re.filter(function(N){return Object.getOwnPropertyDescriptor(W,N).enumerable})),R.push.apply(R,re)}return R}function F(W){for(var H=1;H<arguments.length;H++){var R=arguments[H]!=null?arguments[H]:{};H%2?O(Object(R),!0).forEach(function(re){J(W,re,R[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(R)):O(Object(R)).forEach(function(re){Object.defineProperty(W,re,Object.getOwnPropertyDescriptor(R,re))})}return W}function J(W,H,R){return(H=X(H))in W?Object.defineProperty(W,H,{value:R,enumerable:!0,configurable:!0,writable:!0}):W[H]=R,W}function X(W){var H=Q(W,"string");return c(H)=="symbol"?H:H+""}function Q(W,H){if(c(W)!="object"||!W)return W;var R=W[Symbol.toPrimitive];if(R!==void 0){var re=R.call(W,H||"default");if(c(re)!="object")return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(W)}var ee=function(H){var R,re,N,B,G;H.rtl?G=H.slideCount-1-H.index:G=H.index,N=G<0||G>=H.slideCount,H.centerMode?(B=Math.floor(H.slidesToShow/2),re=(G-H.currentSlide)%H.slideCount===0,G>H.currentSlide-B-1&&G<=H.currentSlide+B&&(R=!0)):R=H.currentSlide<=G&&G<H.currentSlide+H.slidesToShow;var V;H.targetSlide<0?V=H.targetSlide+H.slideCount:H.targetSlide>=H.slideCount?V=H.targetSlide-H.slideCount:V=H.targetSlide;var x=G===V;return{"slick-slide":!0,"slick-active":R,"slick-center":re,"slick-cloned":N,"slick-current":x}},Y=function(H){var R={};return(H.variableWidth===void 0||H.variableWidth===!1)&&(R.width=H.slideWidth),H.fade&&(R.position="relative",H.vertical?R.top=-H.index*parseInt(H.slideHeight):R.left=-H.index*parseInt(H.slideWidth),R.opacity=H.currentSlide===H.index?1:0,R.zIndex=H.currentSlide===H.index?999:998,H.useCSS&&(R.transition="opacity "+H.speed+"ms "+H.cssEase+", visibility "+H.speed+"ms "+H.cssEase)),R},q=function(H,R){return H.key||R},te=function(H){var R,re=[],N=[],B=[],G=e.default.Children.count(H.children),V=(0,i.lazyStartIndex)(H),x=(0,i.lazyEndIndex)(H);return e.default.Children.forEach(H.children,function(se,Ae){var le,he={message:"children",index:Ae,slidesToScroll:H.slidesToScroll,currentSlide:H.currentSlide};!H.lazyLoad||H.lazyLoad&&H.lazyLoadedList.indexOf(Ae)>=0?le=se:le=e.default.createElement("div",null);var ve=Y(F(F({},H),{},{index:Ae})),xe=le.props.className||"",Me=ee(F(F({},H),{},{index:Ae}));if(re.push(e.default.cloneElement(le,{key:"original"+q(le,Ae),"data-index":Ae,className:(0,t.default)(Me,xe),tabIndex:"-1","aria-hidden":!Me["slick-active"],style:F(F({outline:"none"},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}})),H.infinite&&G>1&&H.fade===!1&&!H.unslick){var je=G-Ae;je<=(0,i.getPreClones)(H)&&(R=-je,R>=V&&(le=se),Me=ee(F(F({},H),{},{index:R})),N.push(e.default.cloneElement(le,{key:"precloned"+q(le,R),"data-index":R,tabIndex:"-1",className:(0,t.default)(Me,xe),"aria-hidden":!Me["slick-active"],style:F(F({},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}}))),Ae<(0,i.getPostClones)(H)&&(R=G+Ae,R<x&&(le=se),Me=ee(F(F({},H),{},{index:R})),B.push(e.default.cloneElement(le,{key:"postcloned"+q(le,R),"data-index":R,tabIndex:"-1",className:(0,t.default)(Me,xe),"aria-hidden":!Me["slick-active"],style:F(F({},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}})))}}),H.rtl?N.concat(re,B).reverse():N.concat(re,B)},oe=jA.Track=(function(W){v(R,W);var H=C(R);function R(){var re;m(this,R);for(var N=arguments.length,B=new Array(N),G=0;G<N;G++)B[G]=arguments[G];return re=H.call.apply(H,[this].concat(B)),J(P(re),"node",null),J(P(re),"handleRef",function(V){re.node=V}),re}return y(R,[{key:"render",value:function(){var N=te(this.props),B=this.props,G=B.onMouseEnter,V=B.onMouseOver,x=B.onMouseLeave,se={onMouseEnter:G,onMouseOver:V,onMouseLeave:x};return e.default.createElement("div",p({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},se),N)}}]),R})(e.default.PureComponent);return jA}var BA={},Zm;function TZ(){if(Zm)return BA;Zm=1;function e(Y){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},e(Y)}Object.defineProperty(BA,"__esModule",{value:!0}),BA.Dots=void 0;var t=c(we),i=c(Hl()),A=Zl();function c(Y){return Y&&Y.__esModule?Y:{default:Y}}function p(Y,q){var te=Object.keys(Y);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Y);q&&(oe=oe.filter(function(W){return Object.getOwnPropertyDescriptor(Y,W).enumerable})),te.push.apply(te,oe)}return te}function m(Y){for(var q=1;q<arguments.length;q++){var te=arguments[q]!=null?arguments[q]:{};q%2?p(Object(te),!0).forEach(function(oe){h(Y,oe,te[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(te)):p(Object(te)).forEach(function(oe){Object.defineProperty(Y,oe,Object.getOwnPropertyDescriptor(te,oe))})}return Y}function h(Y,q,te){return(q=C(q))in Y?Object.defineProperty(Y,q,{value:te,enumerable:!0,configurable:!0,writable:!0}):Y[q]=te,Y}function y(Y,q){if(!(Y instanceof q))throw new TypeError("Cannot call a class as a function")}function v(Y,q){for(var te=0;te<q.length;te++){var oe=q[te];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(Y,C(oe.key),oe)}}function w(Y,q,te){return q&&v(Y.prototype,q),te&&v(Y,te),Object.defineProperty(Y,"prototype",{writable:!1}),Y}function C(Y){var q=M(Y,"string");return e(q)=="symbol"?q:q+""}function M(Y,q){if(e(Y)!="object"||!Y)return Y;var te=Y[Symbol.toPrimitive];if(te!==void 0){var oe=te.call(Y,q||"default");if(e(oe)!="object")return oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(q==="string"?String:Number)(Y)}function P(Y,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");Y.prototype=Object.create(q&&q.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),Object.defineProperty(Y,"prototype",{writable:!1}),q&&I(Y,q)}function I(Y,q){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(te,oe){return te.__proto__=oe,te},I(Y,q)}function S(Y){var q=J();return function(){var te,oe=X(Y);if(q){var W=X(this).constructor;te=Reflect.construct(oe,arguments,W)}else te=oe.apply(this,arguments);return O(this,te)}}function O(Y,q){if(q&&(e(q)=="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(Y)}function F(Y){if(Y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function J(){try{var Y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J=function(){return!!Y})()}function X(Y){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(q){return q.__proto__||Object.getPrototypeOf(q)},X(Y)}var Q=function(q){var te;return q.infinite?te=Math.ceil(q.slideCount/q.slidesToScroll):te=Math.ceil((q.slideCount-q.slidesToShow)/q.slidesToScroll)+1,te},ee=BA.Dots=(function(Y){P(te,Y);var q=S(te);function te(){return y(this,te),q.apply(this,arguments)}return w(te,[{key:"clickHandler",value:function(W,H){H.preventDefault(),this.props.clickHandler(W)}},{key:"render",value:function(){for(var W=this.props,H=W.onMouseEnter,R=W.onMouseOver,re=W.onMouseLeave,N=W.infinite,B=W.slidesToScroll,G=W.slidesToShow,V=W.slideCount,x=W.currentSlide,se=Q({slideCount:V,slidesToScroll:B,slidesToShow:G,infinite:N}),Ae={onMouseEnter:H,onMouseOver:R,onMouseLeave:re},le=[],he=0;he<se;he++){var ve=(he+1)*B-1,xe=N?ve:(0,A.clamp)(ve,0,V-1),Me=xe-(B-1),je=N?Me:(0,A.clamp)(Me,0,V-1),De=(0,i.default)({"slick-active":N?x>=je&&x<=xe:x===je}),Ge={message:"dots",index:he,slidesToScroll:B,currentSlide:x},Pe=this.clickHandler.bind(this,Ge);le=le.concat(t.default.createElement("li",{key:he,className:De},t.default.cloneElement(this.props.customPaging(he),{onClick:Pe})))}return t.default.cloneElement(this.props.appendDots(le),m({className:this.props.dotsClass},Ae))}}]),te})(t.default.PureComponent);return BA}var Wi={},Qm;function CZ(){if(Qm)return Wi;Qm=1;function e(q){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(te){return typeof te}:function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te},e(q)}Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.PrevArrow=Wi.NextArrow=void 0;var t=c(we),i=c(Hl()),A=Zl();function c(q){return q&&q.__esModule?q:{default:q}}function p(){return p=Object.assign?Object.assign.bind():function(q){for(var te=1;te<arguments.length;te++){var oe=arguments[te];for(var W in oe)({}).hasOwnProperty.call(oe,W)&&(q[W]=oe[W])}return q},p.apply(null,arguments)}function m(q,te){var oe=Object.keys(q);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(q);te&&(W=W.filter(function(H){return Object.getOwnPropertyDescriptor(q,H).enumerable})),oe.push.apply(oe,W)}return oe}function h(q){for(var te=1;te<arguments.length;te++){var oe=arguments[te]!=null?arguments[te]:{};te%2?m(Object(oe),!0).forEach(function(W){y(q,W,oe[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(oe)):m(Object(oe)).forEach(function(W){Object.defineProperty(q,W,Object.getOwnPropertyDescriptor(oe,W))})}return q}function y(q,te,oe){return(te=M(te))in q?Object.defineProperty(q,te,{value:oe,enumerable:!0,configurable:!0,writable:!0}):q[te]=oe,q}function v(q,te){if(!(q instanceof te))throw new TypeError("Cannot call a class as a function")}function w(q,te){for(var oe=0;oe<te.length;oe++){var W=te[oe];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(q,M(W.key),W)}}function C(q,te,oe){return te&&w(q.prototype,te),oe&&w(q,oe),Object.defineProperty(q,"prototype",{writable:!1}),q}function M(q){var te=P(q,"string");return e(te)=="symbol"?te:te+""}function P(q,te){if(e(q)!="object"||!q)return q;var oe=q[Symbol.toPrimitive];if(oe!==void 0){var W=oe.call(q,te||"default");if(e(W)!="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return(te==="string"?String:Number)(q)}function I(q,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(te&&te.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),Object.defineProperty(q,"prototype",{writable:!1}),te&&S(q,te)}function S(q,te){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(oe,W){return oe.__proto__=W,oe},S(q,te)}function O(q){var te=X();return function(){var oe,W=Q(q);if(te){var H=Q(this).constructor;oe=Reflect.construct(W,arguments,H)}else oe=W.apply(this,arguments);return F(this,oe)}}function F(q,te){if(te&&(e(te)=="object"||typeof te=="function"))return te;if(te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(q)}function J(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function X(){try{var q=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X=function(){return!!q})()}function Q(q){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(te){return te.__proto__||Object.getPrototypeOf(te)},Q(q)}var ee=Wi.PrevArrow=(function(q){I(oe,q);var te=O(oe);function oe(){return v(this,oe),te.apply(this,arguments)}return C(oe,[{key:"clickHandler",value:function(H,R){R&&R.preventDefault(),this.props.clickHandler(H,R)}},{key:"render",value:function(){var H={"slick-arrow":!0,"slick-prev":!0},R=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(H["slick-disabled"]=!0,R=null);var re={key:"0","data-role":"none",className:(0,i.default)(H),style:{display:"block"},onClick:R},N={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},B;return this.props.prevArrow?B=t.default.cloneElement(this.props.prevArrow,h(h({},re),N)):B=t.default.createElement("button",p({key:"0",type:"button"},re)," ","Previous"),B}}]),oe})(t.default.PureComponent),Y=Wi.NextArrow=(function(q){I(oe,q);var te=O(oe);function oe(){return v(this,oe),te.apply(this,arguments)}return C(oe,[{key:"clickHandler",value:function(H,R){R&&R.preventDefault(),this.props.clickHandler(H,R)}},{key:"render",value:function(){var H={"slick-arrow":!0,"slick-next":!0},R=this.clickHandler.bind(this,{message:"next"});(0,A.canGoNext)(this.props)||(H["slick-disabled"]=!0,R=null);var re={key:"1","data-role":"none",className:(0,i.default)(H),style:{display:"block"},onClick:R},N={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},B;return this.props.nextArrow?B=t.default.cloneElement(this.props.nextArrow,h(h({},re),N)):B=t.default.createElement("button",p({key:"1",type:"button"},re)," ","Next"),B}}]),oe})(t.default.PureComponent);return Wi}var Td={},E9=(function(){if(typeof Map<"u")return Map;function e(t,i){var A=-1;return t.some(function(c,p){return c[0]===i?(A=p,!0):!1}),A}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(i){var A=e(this.__entries__,i),c=this.__entries__[A];return c&&c[1]},t.prototype.set=function(i,A){var c=e(this.__entries__,i);~c?this.__entries__[c][1]=A:this.__entries__.push([i,A])},t.prototype.delete=function(i){var A=this.__entries__,c=e(A,i);~c&&A.splice(c,1)},t.prototype.has=function(i){return!!~e(this.__entries__,i)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(i,A){A===void 0&&(A=null);for(var c=0,p=this.__entries__;c<p.length;c++){var m=p[c];i.call(A,m[1],m[0])}},t})()})(),vp=typeof window<"u"&&typeof document<"u"&&window.document===document,Kc=(function(){return typeof Td<"u"&&Td.Math===Math?Td:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),xZ=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Kc):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),PZ=2;function MZ(e,t){var i=!1,A=!1,c=0;function p(){i&&(i=!1,e()),A&&h()}function m(){xZ(p)}function h(){var y=Date.now();if(i){if(y-c<PZ)return;A=!0}else i=!0,A=!1,setTimeout(m,t);c=y}return h}var SZ=20,IZ=["top","right","bottom","left","width","height","size","weight"],kZ=typeof MutationObserver<"u",DZ=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=MZ(this.refresh.bind(this),SZ)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var i=this.observers_,A=i.indexOf(t);~A&&i.splice(A,1),!i.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(i){return i.gatherActive(),i.hasActive()});return t.forEach(function(i){return i.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!vp||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),kZ?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!vp||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var i=t.propertyName,A=i===void 0?"":i,c=IZ.some(function(p){return!!~A.indexOf(p)});c&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),R9=(function(e,t){for(var i=0,A=Object.keys(t);i<A.length;i++){var c=A[i];Object.defineProperty(e,c,{value:t[c],enumerable:!1,writable:!1,configurable:!0})}return e}),sa=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Kc}),j9=Zu(0,0,0,0);function $c(e){return parseFloat(e)||0}function qm(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.reduce(function(A,c){var p=e["border-"+c+"-width"];return A+$c(p)},0)}function OZ(e){for(var t=["top","right","bottom","left"],i={},A=0,c=t;A<c.length;A++){var p=c[A],m=e["padding-"+p];i[p]=$c(m)}return i}function EZ(e){var t=e.getBBox();return Zu(0,0,t.width,t.height)}function RZ(e){var t=e.clientWidth,i=e.clientHeight;if(!t&&!i)return j9;var A=sa(e).getComputedStyle(e),c=OZ(A),p=c.left+c.right,m=c.top+c.bottom,h=$c(A.width),y=$c(A.height);if(A.boxSizing==="border-box"&&(Math.round(h+p)!==t&&(h-=qm(A,"left","right")+p),Math.round(y+m)!==i&&(y-=qm(A,"top","bottom")+m)),!BZ(e)){var v=Math.round(h+p)-t,w=Math.round(y+m)-i;Math.abs(v)!==1&&(h-=v),Math.abs(w)!==1&&(y-=w)}return Zu(c.left,c.top,h,y)}var jZ=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof sa(e).SVGGraphicsElement}:function(e){return e instanceof sa(e).SVGElement&&typeof e.getBBox=="function"}})();function BZ(e){return e===sa(e).document.documentElement}function LZ(e){return vp?jZ(e)?EZ(e):RZ(e):j9}function zZ(e){var t=e.x,i=e.y,A=e.width,c=e.height,p=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,m=Object.create(p.prototype);return R9(m,{x:t,y:i,width:A,height:c,top:i,right:t+A,bottom:c+i,left:t}),m}function Zu(e,t,i,A){return{x:e,y:t,width:i,height:A}}var NZ=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zu(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=LZ(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),FZ=(function(){function e(t,i){var A=zZ(i);R9(this,{target:t,contentRect:A})}return e})(),VZ=(function(){function e(t,i,A){if(this.activeObservations_=[],this.observations_=new E9,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=i,this.callbackCtx_=A}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)||(i.set(t,new NZ(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)&&(i.delete(t),i.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(i){i.isActive()&&t.activeObservations_.push(i)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,i=this.activeObservations_.map(function(A){return new FZ(A.target,A.broadcastRect())});this.callback_.call(t,i,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),B9=typeof WeakMap<"u"?new WeakMap:new E9,L9=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=DZ.getInstance(),A=new VZ(t,i,this);B9.set(this,A)}return e})();["observe","unobserve","disconnect"].forEach(function(e){L9.prototype[e]=function(){var t;return(t=B9.get(this))[e].apply(t,arguments)}});var GZ=(function(){return typeof Kc.ResizeObserver<"u"?Kc.ResizeObserver:L9})();const HZ=Object.freeze(Object.defineProperty({__proto__:null,default:GZ},Symbol.toStringTag,{value:"Module"})),WZ=c8(HZ);var Ym;function ZZ(){if(Ym)return RA;Ym=1,Object.defineProperty(RA,"__esModule",{value:!0}),RA.InnerSlider=void 0;var e=v(we),t=v(bZ()),i=v(vZ()),A=v(Hl()),c=Zl(),p=wZ(),m=TZ(),h=CZ(),y=v(WZ);function v(N){return N&&N.__esModule?N:{default:N}}function w(N){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},w(N)}function C(){return C=Object.assign?Object.assign.bind():function(N){for(var B=1;B<arguments.length;B++){var G=arguments[B];for(var V in G)({}).hasOwnProperty.call(G,V)&&(N[V]=G[V])}return N},C.apply(null,arguments)}function M(N,B){if(N==null)return{};var G,V,x=P(N,B);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(N);for(V=0;V<se.length;V++)G=se[V],B.includes(G)||{}.propertyIsEnumerable.call(N,G)&&(x[G]=N[G])}return x}function P(N,B){if(N==null)return{};var G={};for(var V in N)if({}.hasOwnProperty.call(N,V)){if(B.includes(V))continue;G[V]=N[V]}return G}function I(N,B){var G=Object.keys(N);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(N);B&&(V=V.filter(function(x){return Object.getOwnPropertyDescriptor(N,x).enumerable})),G.push.apply(G,V)}return G}function S(N){for(var B=1;B<arguments.length;B++){var G=arguments[B]!=null?arguments[B]:{};B%2?I(Object(G),!0).forEach(function(V){W(N,V,G[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(G)):I(Object(G)).forEach(function(V){Object.defineProperty(N,V,Object.getOwnPropertyDescriptor(G,V))})}return N}function O(N,B){if(!(N instanceof B))throw new TypeError("Cannot call a class as a function")}function F(N,B){for(var G=0;G<B.length;G++){var V=B[G];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(N,H(V.key),V)}}function J(N,B,G){return B&&F(N.prototype,B),G&&F(N,G),Object.defineProperty(N,"prototype",{writable:!1}),N}function X(N,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(B&&B.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),Object.defineProperty(N,"prototype",{writable:!1}),B&&Q(N,B)}function Q(N,B){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,V){return G.__proto__=V,G},Q(N,B)}function ee(N){var B=te();return function(){var G,V=oe(N);if(B){var x=oe(this).constructor;G=Reflect.construct(V,arguments,x)}else G=V.apply(this,arguments);return Y(this,G)}}function Y(N,B){if(B&&(w(B)=="object"||typeof B=="function"))return B;if(B!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return q(N)}function q(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function te(){try{var N=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(te=function(){return!!N})()}function oe(N){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(B){return B.__proto__||Object.getPrototypeOf(B)},oe(N)}function W(N,B,G){return(B=H(B))in N?Object.defineProperty(N,B,{value:G,enumerable:!0,configurable:!0,writable:!0}):N[B]=G,N}function H(N){var B=R(N,"string");return w(B)=="symbol"?B:B+""}function R(N,B){if(w(N)!="object"||!N)return N;var G=N[Symbol.toPrimitive];if(G!==void 0){var V=G.call(N,B||"default");if(w(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return(B==="string"?String:Number)(N)}var re=RA.InnerSlider=(function(N){X(G,N);var B=ee(G);function G(V){var x;O(this,G),x=B.call(this,V),W(q(x),"listRefHandler",function(Ae){return x.list=Ae}),W(q(x),"trackRefHandler",function(Ae){return x.track=Ae}),W(q(x),"adaptHeight",function(){if(x.props.adaptiveHeight&&x.list){var Ae=x.list.querySelector('[data-index="'.concat(x.state.currentSlide,'"]'));x.list.style.height=(0,c.getHeight)(Ae)+"px"}}),W(q(x),"componentDidMount",function(){if(x.props.onInit&&x.props.onInit(),x.props.lazyLoad){var Ae=(0,c.getOnDemandLazySlides)(S(S({},x.props),x.state));Ae.length>0&&(x.setState(function(he){return{lazyLoadedList:he.lazyLoadedList.concat(Ae)}}),x.props.onLazyLoad&&x.props.onLazyLoad(Ae))}var le=S({listRef:x.list,trackRef:x.track},x.props);x.updateState(le,!0,function(){x.adaptHeight(),x.props.autoplay&&x.autoPlay("update")}),x.props.lazyLoad==="progressive"&&(x.lazyLoadTimer=setInterval(x.progressiveLazyLoad,1e3)),x.ro=new y.default(function(){x.state.animating?(x.onWindowResized(!1),x.callbackTimers.push(setTimeout(function(){return x.onWindowResized()},x.props.speed))):x.onWindowResized()}),x.ro.observe(x.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(he){he.onfocus=x.props.pauseOnFocus?x.onSlideFocus:null,he.onblur=x.props.pauseOnFocus?x.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",x.onWindowResized):window.attachEvent("onresize",x.onWindowResized)}),W(q(x),"componentWillUnmount",function(){x.animationEndCallback&&clearTimeout(x.animationEndCallback),x.lazyLoadTimer&&clearInterval(x.lazyLoadTimer),x.callbackTimers.length&&(x.callbackTimers.forEach(function(Ae){return clearTimeout(Ae)}),x.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",x.onWindowResized):window.detachEvent("onresize",x.onWindowResized),x.autoplayTimer&&clearInterval(x.autoplayTimer),x.ro.disconnect()}),W(q(x),"componentDidUpdate",function(Ae){if(x.checkImagesLoad(),x.props.onReInit&&x.props.onReInit(),x.props.lazyLoad){var le=(0,c.getOnDemandLazySlides)(S(S({},x.props),x.state));le.length>0&&(x.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(le)}}),x.props.onLazyLoad&&x.props.onLazyLoad(le))}x.adaptHeight();var he=S(S({listRef:x.list,trackRef:x.track},x.props),x.state),ve=x.didPropsChange(Ae);ve&&x.updateState(he,ve,function(){x.state.currentSlide>=e.default.Children.count(x.props.children)&&x.changeSlide({message:"index",index:e.default.Children.count(x.props.children)-x.props.slidesToShow,currentSlide:x.state.currentSlide}),x.props.autoplay?x.autoPlay("update"):x.pause("paused")})}),W(q(x),"onWindowResized",function(Ae){x.debouncedResize&&x.debouncedResize.cancel(),x.debouncedResize=(0,i.default)(function(){return x.resizeWindow(Ae)},50),x.debouncedResize()}),W(q(x),"resizeWindow",function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,le=!!(x.track&&x.track.node);if(le){var he=S(S({listRef:x.list,trackRef:x.track},x.props),x.state);x.updateState(he,Ae,function(){x.props.autoplay?x.autoPlay("update"):x.pause("paused")}),x.setState({animating:!1}),clearTimeout(x.animationEndCallback),delete x.animationEndCallback}}),W(q(x),"updateState",function(Ae,le,he){var ve=(0,c.initializedState)(Ae);Ae=S(S(S({},Ae),ve),{},{slideIndex:ve.currentSlide});var xe=(0,c.getTrackLeft)(Ae);Ae=S(S({},Ae),{},{left:xe});var Me=(0,c.getTrackCSS)(Ae);(le||e.default.Children.count(x.props.children)!==e.default.Children.count(Ae.children))&&(ve.trackStyle=Me),x.setState(ve,he)}),W(q(x),"ssrInit",function(){if(x.props.variableWidth){var Ae=0,le=0,he=[],ve=(0,c.getPreClones)(S(S(S({},x.props),x.state),{},{slideCount:x.props.children.length})),xe=(0,c.getPostClones)(S(S(S({},x.props),x.state),{},{slideCount:x.props.children.length}));x.props.children.forEach(function(We){he.push(We.props.style.width),Ae+=We.props.style.width});for(var Me=0;Me<ve;Me++)le+=he[he.length-1-Me],Ae+=he[he.length-1-Me];for(var je=0;je<xe;je++)Ae+=he[je];for(var De=0;De<x.state.currentSlide;De++)le+=he[De];var Ge={width:Ae+"px",left:-le+"px"};if(x.props.centerMode){var Pe="".concat(he[x.state.currentSlide],"px");Ge.left="calc(".concat(Ge.left," + (100% - ").concat(Pe,") / 2 ) ")}return{trackStyle:Ge}}var ne=e.default.Children.count(x.props.children),fe=S(S(S({},x.props),x.state),{},{slideCount:ne}),Te=(0,c.getPreClones)(fe)+(0,c.getPostClones)(fe)+ne,ze=100/x.props.slidesToShow*Te,ke=100/Te,Fe=-ke*((0,c.getPreClones)(fe)+x.state.currentSlide)*ze/100;x.props.centerMode&&(Fe+=(100-ke*ze/100)/2);var Be={width:ze+"%",left:Fe+"%"};return{slideWidth:ke+"%",trackStyle:Be}}),W(q(x),"checkImagesLoad",function(){var Ae=x.list&&x.list.querySelectorAll&&x.list.querySelectorAll(".slick-slide img")||[],le=Ae.length,he=0;Array.prototype.forEach.call(Ae,function(ve){var xe=function(){return++he&&he>=le&&x.onWindowResized()};if(!ve.onclick)ve.onclick=function(){return ve.parentNode.focus()};else{var Me=ve.onclick;ve.onclick=function(je){Me(je),ve.parentNode.focus()}}ve.onload||(x.props.lazyLoad?ve.onload=function(){x.adaptHeight(),x.callbackTimers.push(setTimeout(x.onWindowResized,x.props.speed))}:(ve.onload=xe,ve.onerror=function(){xe(),x.props.onLazyLoadError&&x.props.onLazyLoadError()}))})}),W(q(x),"progressiveLazyLoad",function(){for(var Ae=[],le=S(S({},x.props),x.state),he=x.state.currentSlide;he<x.state.slideCount+(0,c.getPostClones)(le);he++)if(x.state.lazyLoadedList.indexOf(he)<0){Ae.push(he);break}for(var ve=x.state.currentSlide-1;ve>=-(0,c.getPreClones)(le);ve--)if(x.state.lazyLoadedList.indexOf(ve)<0){Ae.push(ve);break}Ae.length>0?(x.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(Ae)}}),x.props.onLazyLoad&&x.props.onLazyLoad(Ae)):x.lazyLoadTimer&&(clearInterval(x.lazyLoadTimer),delete x.lazyLoadTimer)}),W(q(x),"slideHandler",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=x.props,ve=he.asNavFor,xe=he.beforeChange,Me=he.onLazyLoad,je=he.speed,De=he.afterChange,Ge=x.state.currentSlide,Pe=(0,c.slideHandler)(S(S(S({index:Ae},x.props),x.state),{},{trackRef:x.track,useCSS:x.props.useCSS&&!le})),ne=Pe.state,fe=Pe.nextState;if(ne){xe&&xe(Ge,ne.currentSlide);var Te=ne.lazyLoadedList.filter(function(ze){return x.state.lazyLoadedList.indexOf(ze)<0});Me&&Te.length>0&&Me(Te),!x.props.waitForAnimate&&x.animationEndCallback&&(clearTimeout(x.animationEndCallback),De&&De(Ge),delete x.animationEndCallback),x.setState(ne,function(){ve&&x.asNavForIndex!==Ae&&(x.asNavForIndex=Ae,ve.innerSlider.slideHandler(Ae)),fe&&(x.animationEndCallback=setTimeout(function(){var ze=fe.animating,ke=M(fe,["animating"]);x.setState(ke,function(){x.callbackTimers.push(setTimeout(function(){return x.setState({animating:ze})},10)),De&&De(ne.currentSlide),delete x.animationEndCallback})},je))})}}),W(q(x),"changeSlide",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=S(S({},x.props),x.state),ve=(0,c.changeSlide)(he,Ae);if(!(ve!==0&&!ve)&&(le===!0?x.slideHandler(ve,le):x.slideHandler(ve),x.props.autoplay&&x.autoPlay("update"),x.props.focusOnSelect)){var xe=x.list.querySelectorAll(".slick-current");xe[0]&&xe[0].focus()}}),W(q(x),"clickHandler",function(Ae){x.clickable===!1&&(Ae.stopPropagation(),Ae.preventDefault()),x.clickable=!0}),W(q(x),"keyHandler",function(Ae){var le=(0,c.keyHandler)(Ae,x.props.accessibility,x.props.rtl);le!==""&&x.changeSlide({message:le})}),W(q(x),"selectHandler",function(Ae){x.changeSlide(Ae)}),W(q(x),"disableBodyScroll",function(){var Ae=function(he){he=he||window.event,he.preventDefault&&he.preventDefault(),he.returnValue=!1};window.ontouchmove=Ae}),W(q(x),"enableBodyScroll",function(){window.ontouchmove=null}),W(q(x),"swipeStart",function(Ae){x.props.verticalSwiping&&x.disableBodyScroll();var le=(0,c.swipeStart)(Ae,x.props.swipe,x.props.draggable);le!==""&&x.setState(le)}),W(q(x),"swipeMove",function(Ae){var le=(0,c.swipeMove)(Ae,S(S(S({},x.props),x.state),{},{trackRef:x.track,listRef:x.list,slideIndex:x.state.currentSlide}));le&&(le.swiping&&(x.clickable=!1),x.setState(le))}),W(q(x),"swipeEnd",function(Ae){var le=(0,c.swipeEnd)(Ae,S(S(S({},x.props),x.state),{},{trackRef:x.track,listRef:x.list,slideIndex:x.state.currentSlide}));if(le){var he=le.triggerSlideHandler;delete le.triggerSlideHandler,x.setState(le),he!==void 0&&(x.slideHandler(he),x.props.verticalSwiping&&x.enableBodyScroll())}}),W(q(x),"touchEnd",function(Ae){x.swipeEnd(Ae),x.clickable=!0}),W(q(x),"slickPrev",function(){x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"previous"})},0))}),W(q(x),"slickNext",function(){x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"next"})},0))}),W(q(x),"slickGoTo",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ae=Number(Ae),isNaN(Ae))return"";x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"index",index:Ae,currentSlide:x.state.currentSlide},le)},0))}),W(q(x),"play",function(){var Ae;if(x.props.rtl)Ae=x.state.currentSlide-x.props.slidesToScroll;else if((0,c.canGoNext)(S(S({},x.props),x.state)))Ae=x.state.currentSlide+x.props.slidesToScroll;else return!1;x.slideHandler(Ae)}),W(q(x),"autoPlay",function(Ae){x.autoplayTimer&&clearInterval(x.autoplayTimer);var le=x.state.autoplaying;if(Ae==="update"){if(le==="hovered"||le==="focused"||le==="paused")return}else if(Ae==="leave"){if(le==="paused"||le==="focused")return}else if(Ae==="blur"&&(le==="paused"||le==="hovered"))return;x.autoplayTimer=setInterval(x.play,x.props.autoplaySpeed+50),x.setState({autoplaying:"playing"})}),W(q(x),"pause",function(Ae){x.autoplayTimer&&(clearInterval(x.autoplayTimer),x.autoplayTimer=null);var le=x.state.autoplaying;Ae==="paused"?x.setState({autoplaying:"paused"}):Ae==="focused"?(le==="hovered"||le==="playing")&&x.setState({autoplaying:"focused"}):le==="playing"&&x.setState({autoplaying:"hovered"})}),W(q(x),"onDotsOver",function(){return x.props.autoplay&&x.pause("hovered")}),W(q(x),"onDotsLeave",function(){return x.props.autoplay&&x.state.autoplaying==="hovered"&&x.autoPlay("leave")}),W(q(x),"onTrackOver",function(){return x.props.autoplay&&x.pause("hovered")}),W(q(x),"onTrackLeave",function(){return x.props.autoplay&&x.state.autoplaying==="hovered"&&x.autoPlay("leave")}),W(q(x),"onSlideFocus",function(){return x.props.autoplay&&x.pause("focused")}),W(q(x),"onSlideBlur",function(){return x.props.autoplay&&x.state.autoplaying==="focused"&&x.autoPlay("blur")}),W(q(x),"render",function(){var Ae=(0,A.default)("slick-slider",x.props.className,{"slick-vertical":x.props.vertical,"slick-initialized":!0}),le=S(S({},x.props),x.state),he=(0,c.extractObject)(le,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),ve=x.props.pauseOnHover;he=S(S({},he),{},{onMouseEnter:ve?x.onTrackOver:null,onMouseLeave:ve?x.onTrackLeave:null,onMouseOver:ve?x.onTrackOver:null,focusOnSelect:x.props.focusOnSelect&&x.clickable?x.selectHandler:null});var xe;if(x.props.dots===!0&&x.state.slideCount>=x.props.slidesToShow){var Me=(0,c.extractObject)(le,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),je=x.props.pauseOnDotsHover;Me=S(S({},Me),{},{clickHandler:x.changeSlide,onMouseEnter:je?x.onDotsLeave:null,onMouseOver:je?x.onDotsOver:null,onMouseLeave:je?x.onDotsLeave:null}),xe=e.default.createElement(m.Dots,Me)}var De,Ge,Pe=(0,c.extractObject)(le,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);Pe.clickHandler=x.changeSlide,x.props.arrows&&(De=e.default.createElement(h.PrevArrow,Pe),Ge=e.default.createElement(h.NextArrow,Pe));var ne=null;x.props.vertical&&(ne={height:x.state.listHeight});var fe=null;x.props.vertical===!1?x.props.centerMode===!0&&(fe={padding:"0px "+x.props.centerPadding}):x.props.centerMode===!0&&(fe={padding:x.props.centerPadding+" 0px"});var Te=S(S({},ne),fe),ze=x.props.touchMove,ke={className:"slick-list",style:Te,onClick:x.clickHandler,onMouseDown:ze?x.swipeStart:null,onMouseMove:x.state.dragging&&ze?x.swipeMove:null,onMouseUp:ze?x.swipeEnd:null,onMouseLeave:x.state.dragging&&ze?x.swipeEnd:null,onTouchStart:ze?x.swipeStart:null,onTouchMove:x.state.dragging&&ze?x.swipeMove:null,onTouchEnd:ze?x.touchEnd:null,onTouchCancel:x.state.dragging&&ze?x.swipeEnd:null,onKeyDown:x.props.accessibility?x.keyHandler:null},Fe={className:Ae,dir:"ltr",style:x.props.style};return x.props.unslick&&(ke={className:"slick-list"},Fe={className:Ae,style:x.props.style}),e.default.createElement("div",Fe,x.props.unslick?"":De,e.default.createElement("div",C({ref:x.listRefHandler},ke),e.default.createElement(p.Track,C({ref:x.trackRefHandler},he),x.props.children)),x.props.unslick?"":Ge,x.props.unslick?"":xe)}),x.list=null,x.track=null,x.state=S(S({},t.default),{},{currentSlide:x.props.initialSlide,targetSlide:x.props.initialSlide?x.props.initialSlide:0,slideCount:e.default.Children.count(x.props.children)}),x.callbackTimers=[],x.clickable=!0,x.debouncedResize=null;var se=x.ssrInit();return x.state=S(S({},x.state),se),x}return J(G,[{key:"didPropsChange",value:function(x){for(var se=!1,Ae=0,le=Object.keys(this.props);Ae<le.length;Ae++){var he=le[Ae];if(!x.hasOwnProperty(he)){se=!0;break}if(!(w(x[he])==="object"||typeof x[he]=="function"||isNaN(x[he]))&&x[he]!==this.props[he]){se=!0;break}}return se||e.default.Children.count(this.props.children)!==e.default.Children.count(x.children)}}]),G})(e.default.Component);return RA}var Cd,Um;function QZ(){if(Um)return Cd;Um=1;var e=function(t){return t.replace(/[A-Z]/g,function(i){return"-"+i.toLowerCase()}).toLowerCase()};return Cd=e,Cd}var xd,Jm;function qZ(){if(Jm)return xd;Jm=1;var e=QZ(),t=function(c){var p=/[height|width]$/;return p.test(c)},i=function(c){var p="",m=Object.keys(c);return m.forEach(function(h,y){var v=c[h];h=e(h),t(h)&&typeof v=="number"&&(v=v+"px"),v===!0?p+=h:v===!1?p+="not "+h:p+="("+h+": "+v+")",y<m.length-1&&(p+=" and ")}),p},A=function(c){var p="";return typeof c=="string"?c:c instanceof Array?(c.forEach(function(m,h){p+=i(m),h<c.length-1&&(p+=", ")}),p):i(c)};return xd=A,xd}var Xm;function YZ(){return Xm||(Xm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(we),i=ZZ(),A=m(qZ()),c=m(O9()),p=Zl();function m(oe){return oe&&oe.__esModule?oe:{default:oe}}function h(oe){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},h(oe)}function y(){return y=Object.assign?Object.assign.bind():function(oe){for(var W=1;W<arguments.length;W++){var H=arguments[W];for(var R in H)({}).hasOwnProperty.call(H,R)&&(oe[R]=H[R])}return oe},y.apply(null,arguments)}function v(oe,W){var H=Object.keys(oe);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(oe);W&&(R=R.filter(function(re){return Object.getOwnPropertyDescriptor(oe,re).enumerable})),H.push.apply(H,R)}return H}function w(oe){for(var W=1;W<arguments.length;W++){var H=arguments[W]!=null?arguments[W]:{};W%2?v(Object(H),!0).forEach(function(R){ee(oe,R,H[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(H)):v(Object(H)).forEach(function(R){Object.defineProperty(oe,R,Object.getOwnPropertyDescriptor(H,R))})}return oe}function C(oe,W){if(!(oe instanceof W))throw new TypeError("Cannot call a class as a function")}function M(oe,W){for(var H=0;H<W.length;H++){var R=W[H];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(oe,Y(R.key),R)}}function P(oe,W,H){return W&&M(oe.prototype,W),H&&M(oe,H),Object.defineProperty(oe,"prototype",{writable:!1}),oe}function I(oe,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(W&&W.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),Object.defineProperty(oe,"prototype",{writable:!1}),W&&S(oe,W)}function S(oe,W){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,R){return H.__proto__=R,H},S(oe,W)}function O(oe){var W=X();return function(){var H,R=Q(oe);if(W){var re=Q(this).constructor;H=Reflect.construct(R,arguments,re)}else H=R.apply(this,arguments);return F(this,H)}}function F(oe,W){if(W&&(h(W)=="object"||typeof W=="function"))return W;if(W!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(oe)}function J(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function X(){try{var oe=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X=function(){return!!oe})()}function Q(oe){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},Q(oe)}function ee(oe,W,H){return(W=Y(W))in oe?Object.defineProperty(oe,W,{value:H,enumerable:!0,configurable:!0,writable:!0}):oe[W]=H,oe}function Y(oe){var W=q(oe,"string");return h(W)=="symbol"?W:W+""}function q(oe,W){if(h(oe)!="object"||!oe)return oe;var H=oe[Symbol.toPrimitive];if(H!==void 0){var R=H.call(oe,W||"default");if(h(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(W==="string"?String:Number)(oe)}var te=e.default=(function(oe){I(H,oe);var W=O(H);function H(R){var re;return C(this,H),re=W.call(this,R),ee(J(re),"innerSliderRefHandler",function(N){return re.innerSlider=N}),ee(J(re),"slickPrev",function(){return re.innerSlider.slickPrev()}),ee(J(re),"slickNext",function(){return re.innerSlider.slickNext()}),ee(J(re),"slickGoTo",function(N){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re.innerSlider.slickGoTo(N,B)}),ee(J(re),"slickPause",function(){return re.innerSlider.pause("paused")}),ee(J(re),"slickPlay",function(){return re.innerSlider.autoPlay("play")}),re.state={breakpoint:null},re._responsiveMediaHandlers=[],re}return P(H,[{key:"media",value:function(re,N){var B=window.matchMedia(re),G=function(x){var se=x.matches;se&&N()};B.addListener(G),this._responsiveMediaHandlers.push({mql:B,query:re,listener:G})}},{key:"componentDidMount",value:function(){var re=this;if(this.props.responsive){var N=this.props.responsive.map(function(G){return G.breakpoint});N.sort(function(G,V){return G-V}),N.forEach(function(G,V){var x;V===0?x=(0,A.default)({minWidth:0,maxWidth:G}):x=(0,A.default)({minWidth:N[V-1]+1,maxWidth:G}),(0,p.canUseDOM)()&&re.media(x,function(){re.setState({breakpoint:G})})});var B=(0,A.default)({minWidth:N.slice(-1)[0]});(0,p.canUseDOM)()&&this.media(B,function(){re.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(re){re.mql.removeListener(re.listener)})}},{key:"render",value:function(){var re=this,N,B;this.state.breakpoint?(B=this.props.responsive.filter(function(Me){return Me.breakpoint===re.state.breakpoint}),N=B[0].settings==="unslick"?"unslick":w(w(w({},c.default),this.props),B[0].settings)):N=w(w({},c.default),this.props),N.centerMode&&(N.slidesToScroll>1,N.slidesToScroll=1),N.fade&&(N.slidesToShow>1,N.slidesToScroll>1,N.slidesToShow=1,N.slidesToScroll=1);var G=t.default.Children.toArray(this.props.children);G=G.filter(function(Me){return typeof Me=="string"?!!Me.trim():!!Me}),N.variableWidth&&(N.rows>1||N.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),N.variableWidth=!1);for(var V=[],x=null,se=0;se<G.length;se+=N.rows*N.slidesPerRow){for(var Ae=[],le=se;le<se+N.rows*N.slidesPerRow;le+=N.slidesPerRow){for(var he=[],ve=le;ve<le+N.slidesPerRow&&(N.variableWidth&&G[ve].props.style&&(x=G[ve].props.style.width),!(ve>=G.length));ve+=1)he.push(t.default.cloneElement(G[ve],{key:100*se+10*le+ve,tabIndex:-1,style:{width:"".concat(100/N.slidesPerRow,"%"),display:"inline-block"}}));Ae.push(t.default.createElement("div",{key:10*se+le},he))}N.variableWidth?V.push(t.default.createElement("div",{key:se,style:{width:x}},Ae)):V.push(t.default.createElement("div",{key:se},Ae))}if(N==="unslick"){var xe="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:xe},G)}else V.length<=N.slidesToShow&&(N.unslick=!0);return t.default.createElement(i.InnerSlider,y({style:this.props.style,ref:this.innerSliderRefHandler},(0,p.filterSettings)(N)),V)}}]),H})(t.default.Component)})(yd)),yd}var _m;function UZ(){return _m||(_m=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(YZ());function i(c){return c&&c.__esModule?c:{default:c}}var A=e.default=t.default})(gd)),gd}var JZ=UZ();const XZ=Dr(JZ);function _Z({children:e,className:t="w-50"}){return j.jsx("div",{className:ut("Carousel",t),children:j.jsx(XZ,{dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,swipe:!0,swipeToSlide:!0,autoplay:!0,autoplaySpeed:3e3,arrows:!0,children:e})})}function KZ({letter:e,className:t="",onClick:i}){return j.jsx(vn,{onClick:i,className:ut("LetterAvatar flex items-center justify-center rounded-full w-full h-full bg-blue-300 text-white font-bold",t),children:j.jsx("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid meet",width:"100%",height:"100%",role:"img","aria-label":e,xmlns:"http://www.w3.org/2000/svg",children:j.jsx("text",{x:"50",y:"50",textAnchor:"middle",dominantBaseline:"central",fontFamily:"inherit",fontWeight:"700",fontSize:"80",fill:"currentColor",children:e})})})}function s3({label:e="N",className:t="w-full h-full",imgSrc:i="",fallbackImgSrc:A="",onClick:c=io}){return i||A?j.jsx(L0,{className:ut("Avatar rounded-full w-full h-full",t),src:i,fallbackSrc:A,alt:e,onClick:c}):j.jsx(KZ,{className:`LetterAvatar ${t}`,onClick:c,letter:e})}function $Z({label:e="N",onClick:t=io,className:i="",imgSrc:A="",fallbackImgSrc:c="",avatarClassName:p="w-8 h-8"}){return j.jsxs(nn,{className:ut("AvatarTag bg-white rounded-lg py-1",i),children:[j.jsx(s3,{className:p,onClick:t,label:e==null?void 0:e.charAt(0).toUpperCase(),imgSrc:A,fallbackImgSrc:c}),j.jsx(ou,{label:e})]})}function eQ({label:e="N",time:t,onClick:i=io,className:A="",avatarClassName:c="h-11 w-11",imgSrc:p="",fallbackImgSrc:m}){return j.jsxs(nn,{className:ut("AvatarTimeTag bg-white rounded-lg py-1",A),children:[j.jsx("div",{className:ut("rounded-full overflow-hidden",c),children:j.jsx(s3,{className:"w-full h-full",onClick:i,label:e==null?void 0:e.charAt(0).toUpperCase(),imgSrc:p,fallbackImgSrc:m})}),j.jsxs(Ds,{className:"gap-0",children:[j.jsx(ou,{label:e,className:"text-xl"}),Tr.isOlderThanDays(t)?j.jsx(N7,{date:t}):j.jsx(Ah,{timestamp:t,className:"text-xs"})]})]})}function z9({file:e,objectUrl:t,onRemove:i,className:A="",imgClassName:c=""}){return j.jsxs("div",{className:ut("relative flex-shrink-0",A),children:[j.jsx(nu,{src:t,alt:e.name,className:ut("h-20 w-auto rounded",c)}),j.jsx("div",{className:"absolute top-0.5 right-0.5 bg-white rounded-full shadow",children:j.jsx(ua,{onClick:i,className:"w-4 h-4"})})]})}const N9="image/jpeg,image/png,image/webp,image/avif,image/bmp,image/svg+xml,image/tiff,image/heic,image/heif",tQ=["video/","image/gif","image/apng"];function oQ(e){return!tQ.some(t=>e.type===t||e.type.startsWith(t))}function eu({onChange:e,accept:t=N9,multiple:i=!1}){const A=we.useRef(null),c=we.useRef(e);c.current=e;const p=()=>{var h;return(h=A.current)==null?void 0:h.click()};return{inputElement:j.jsx("input",{ref:A,type:"file",accept:t,multiple:i,className:"hidden",onChange:h=>{const y=Array.from(h.target.files??[]).filter(oQ);h.target.value="",y.length>0&&c.current(y)}}),trigger:p}}function nQ({onChange:e,multiple:t=!0,maxFiles:i=9,className:A="",accept:c=N9,loading:p=!1}){const[m,h]=we.useState([]),[y,v]=we.useState("");we.useEffect(()=>()=>{m.forEach(S=>URL.revokeObjectURL(S.objectUrl))},[]);const{inputElement:w,trigger:C}=eu({onChange:S=>M(S),accept:c,multiple:t}),M=S=>{h(O=>{const F=i-O.length;if(S.length>F)return v(`You can only upload up to ${i} images.`),O;v("");const J=S.map(Q=>({file:Q,objectUrl:URL.createObjectURL(Q)})),X=[...O,...J];return e(X.map(Q=>Q.file)),X})},P=S=>{h(O=>{URL.revokeObjectURL(O[S].objectUrl);const F=O.filter((J,X)=>X!==S);return e(F.map(J=>J.file)),F})},I=m.length<i;return j.jsxs(nn,{className:`items-end ${A}`,children:[j.jsxs(nn,{className:"gap-2 items-end overflow-x-auto",children:[m.map((S,O)=>j.jsx(z9,{file:S.file,objectUrl:S.objectUrl,onRemove:()=>P(O)},S.objectUrl)),p&&j.jsx(a0,{className:"w-6 self-center"})]}),j.jsx(vn,{onClick:I?C:io,className:`flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-full transition-colors ${I?"hover:bg-gray-100":"cursor-default"}`,children:j.jsx(G8,{size:Ze.md,className:I?"fill-blue-500":"fill-gray-300"})}),w,y&&j.jsx(Wl,{label:y})]})}const Km={background:"transparent",border:"none",boxShadow:"none",padding:"0",width:"fit-content",height:"fit-content"};function F9({onSelect:e,selectedSrc:t,srcs:i,onDelete:A,className:c="",isMobile:p=!1,extraCell:m}){const[h,y]=we.useState(null),v={overlay:{backgroundColor:"rgba(0, 0, 0, 0.75)"},content:p?{...Km,top:"0",left:"0",transform:"none",width:"100vw"}:{...Km,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},w=()=>{h!==null&&A(h),y(null)};return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:ut("w-full grid grid-cols-3 gap-0.5",c),children:[i.map((C,M)=>j.jsxs("div",{className:"relative aspect-square overflow-hidden group cursor-pointer",children:[j.jsx(L0,{src:C.src,fallbackSrc:C.fallbackSrc,alt:"",containerClassName:"w-full h-full",className:"w-full h-full object-cover object-center",onClick:()=>e(M)}),j.jsx("div",{className:"absolute inset-0 bg-white/0 group-hover:bg-white/20 transition-colors duration-200 pointer-events-none"}),A&&j.jsx("div",{className:"absolute top-1 right-1 w-4 h-4 flex items-center justify-center bg-black/40 rounded-full opacity-0 group-hover:opacity-70 transition-opacity duration-200 cursor-pointer",onClick:P=>{P.stopPropagation(),y(M)},children:j.jsx("span",{className:"text-white text-xs leading-none select-none",children:"✕"})})]},M)),m]}),t&&j.jsx(Z0,{isOpen:!0,onClose:()=>e(-1),title:"",isHeaderHidden:!0,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,style:v,content:j.jsxs("div",{className:"relative",children:[j.jsx(L0,{src:t.src,fallbackSrc:t.fallbackSrc,alt:"",className:"w-full max-h-[90vh] object-contain rounded"}),j.jsx(ua,{onClick:()=>e(-1),className:"absolute top-2 right-2 bg-white rounded-full shadow"})]})}),h!==null&&j.jsx(Z0,{isOpen:!0,onClose:()=>y(null),title:"Delete image",shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,content:j.jsxs("div",{className:"flex flex-col items-center gap-4",children:[j.jsx(L0,{src:i[h].src,fallbackSrc:i[h].fallbackSrc,alt:"",className:"max-h-64 object-contain rounded"}),j.jsxs("div",{className:"flex gap-2",children:[j.jsx(Xs,{onClick:()=>y(null),label:"Cancel",isHighlighted:!0,className:"w-fit px-6"}),j.jsx(Xs,{onClick:w,label:"Delete",className:"w-fit px-6 bg-red-500 border-red-500",labelClassName:"text-white"})]})]})})]})}function rQ(e){return j.jsx(F9,{...e})}const $m=e=>e.map(t=>({file:t,objectUrl:URL.createObjectURL(t)})),uc=e=>e.forEach(t=>URL.revokeObjectURL(t.objectUrl));function sQ({onUpload:e,onChange:t,onDelete:i,isEditable:A=!1,maxImages:c=9,uploadLabel:p="Upload",loading:m=!1,isUploaded:h=!1,...y}){const[v,w]=we.useState([]),[C,M]=we.useState(!1),[P,I]=we.useState(""),S=we.useRef(v);S.current=v,we.useEffect(()=>()=>uc(S.current),[]);const O=()=>c-y.srcs.length-S.current.length,{inputElement:F,trigger:J}=eu({onChange:oe=>{uc(S.current);const W=c-y.srcs.length,H=oe.slice(0,W);I(oe.length>W?`You can only add ${c} images in total.`:""),w($m(H)),t==null||t(H),M(!0)},multiple:!0}),{inputElement:X,trigger:Q}=eu({onChange:oe=>{const W=O(),H=oe.slice(0,W);I(oe.length>W?`You can only add ${c} images in total.`:""),w(R=>[...R,...$m(H)]),t==null||t(H),M(!0)},multiple:!0}),ee=oe=>{w(W=>(URL.revokeObjectURL(W[oe].objectUrl),W.filter((H,R)=>R!==oe))),I("")},Y=()=>{e(v.map(oe=>oe.file)),uc(v),w([]),I("")},q=()=>{uc(v),w([]),M(!1),I("")};we.useEffect(()=>{h&&q()},[h]);const te=A&&y.srcs.length<c?j.jsxs(ru,{className:"aspect-square gap-1 flex items-center justify-center bg-gray-100 hover:bg-gray-200 transition-colors cursor-pointer",onClick:J,children:[j.jsx("span",{className:"text-md text-gray-400 select-none",children:"Upload Image"}),j.jsx("span",{className:"text-4xl text-gray-400 select-none",children:"+"})]}):void 0;return j.jsxs(j.Fragment,{children:[F,X,j.jsx(F9,{...y,onDelete:A?i:void 0,extraCell:te}),j.jsx(Z0,{isOpen:C,onClose:q,title:"Selected Images",shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,content:j.jsxs("div",{className:"flex flex-col gap-4",children:[j.jsx(nn,{className:"overflow-x-auto gap-2",children:v.map((oe,W)=>j.jsx(z9,{file:oe.file,objectUrl:oe.objectUrl,onRemove:()=>ee(W),imgClassName:"h-40"},oe.objectUrl))}),P&&j.jsx(Wl,{label:P}),j.jsxs("div",{className:"flex justify-center gap-2 items-center",children:[m&&j.jsx(a0,{className:"w-6"}),j.jsx(Xs,{onClick:Q,label:"Add more",className:"w-fit px-6 my-2"}),j.jsx(Xs,{onClick:Y,label:p,isHighlighted:!0,disabled:v.length===0||m,className:"w-fit px-6 my-2"})]})]})})]})}var wp=function(e,t){return wp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,A){i.__proto__=A}||function(i,A){for(var c in A)Object.prototype.hasOwnProperty.call(A,c)&&(i[c]=A[c])},wp(e,t)};function iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wp(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var xn=function(){return xn=Object.assign||function(t){for(var i,A=1,c=arguments.length;A<c;A++){i=arguments[A];for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&(t[p]=i[p])}return t},xn.apply(this,arguments)};var Pd,e8;function aQ(){if(e8)return Pd;e8=1;var e=!1,t,i,A,c,p,m,h,y,v,w,C,M,P,I,S;function O(){if(!e){e=!0;var J=navigator.userAgent,X=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(J),Q=/(Mac OS X)|(Windows)|(Linux)/.exec(J);if(M=/\b(iPhone|iP[ao]d)/.exec(J),P=/\b(iP[ao]d)/.exec(J),w=/Android/i.exec(J),I=/FBAN\/\w+;/i.exec(J),S=/Mobile/i.exec(J),C=!!/Win64/.exec(J),X){t=X[1]?parseFloat(X[1]):X[5]?parseFloat(X[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var ee=/(?:Trident\/(\d+.\d+))/.exec(J);m=ee?parseFloat(ee[1])+4:t,i=X[2]?parseFloat(X[2]):NaN,A=X[3]?parseFloat(X[3]):NaN,c=X[4]?parseFloat(X[4]):NaN,c?(X=/(?:Chrome\/(\d+\.\d+))/.exec(J),p=X&&X[1]?parseFloat(X[1]):NaN):p=NaN}else t=i=A=p=c=NaN;if(Q){if(Q[1]){var Y=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(J);h=Y?parseFloat(Y[1].replace("_",".")):!0}else h=!1;y=!!Q[2],v=!!Q[3]}else h=y=v=!1}}var F={ie:function(){return O()||t},ieCompatibilityMode:function(){return O()||m>t},ie64:function(){return F.ie()&&C},firefox:function(){return O()||i},opera:function(){return O()||A},webkit:function(){return O()||c},safari:function(){return F.webkit()},chrome:function(){return O()||p},windows:function(){return O()||y},osx:function(){return O()||h},linux:function(){return O()||v},iphone:function(){return O()||M},mobile:function(){return O()||M||P||w||S},nativeApp:function(){return O()||I},android:function(){return O()||w},ipad:function(){return O()||P}};return Pd=F,Pd}var Md,t8;function AQ(){if(t8)return Md;t8=1;var e=!!(typeof window<"u"&&window.document&&window.document.createElement),t={canUseDOM:e,canUseWorkers:typeof Worker<"u",canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};return Md=t,Md}var Sd,o8;function lQ(){if(o8)return Sd;o8=1;var e=AQ(),t;e.canUseDOM&&(t=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
700
|
+
`]))),EH=function(t,i){var A=t.isFocused,c=t.size,p=t.theme,m=p.colors,h=p.spacing.baseUnit;return $t({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:c,lineHeight:1,marginRight:c,textAlign:"center",verticalAlign:"middle"},i?{}:{color:A?m.neutral60:m.neutral20,padding:h*2})},cd=function(t){var i=t.delay,A=t.offset;return Yt("span",{css:qp({animation:"".concat(OH," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:A?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},RH=function(t){var i=t.innerProps,A=t.isRtl,c=t.size,p=c===void 0?4:c,m=Fs(t,CH);return Yt("div",de({},an($t($t({},m),{},{innerProps:i,isRtl:A,size:p}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Yt(cd,{delay:0,offset:A}),Yt(cd,{delay:160,offset:!0}),Yt(cd,{delay:320,offset:!A}))},jH=function(t,i){var A=t.isDisabled,c=t.isFocused,p=t.theme,m=p.colors,h=p.borderRadius,y=p.spacing;return $t({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:y.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:A?m.neutral5:m.neutral0,borderColor:A?m.neutral10:c?m.primary:m.neutral20,borderRadius:h,borderStyle:"solid",borderWidth:1,boxShadow:c?"0 0 0 1px ".concat(m.primary):void 0,"&:hover":{borderColor:c?m.primary:m.neutral30}})},BH=function(t){var i=t.children,A=t.isDisabled,c=t.isFocused,p=t.innerRef,m=t.innerProps,h=t.menuIsOpen;return Yt("div",de({ref:p},an(t,"control",{control:!0,"control--is-disabled":A,"control--is-focused":c,"control--menu-is-open":h}),m,{"aria-disabled":A||void 0}),i)},LH=BH,zH=["data"],NH=function(t,i){var A=t.theme.spacing;return i?{}:{paddingBottom:A.baseUnit*2,paddingTop:A.baseUnit*2}},FH=function(t){var i=t.children,A=t.cx,c=t.getStyles,p=t.getClassNames,m=t.Heading,h=t.headingProps,y=t.innerProps,v=t.label,w=t.theme,C=t.selectProps;return Yt("div",de({},an(t,"group",{group:!0}),y),Yt(m,de({},h,{selectProps:C,theme:w,getStyles:c,getClassNames:p,cx:A}),v),Yt("div",null,i))},VH=function(t,i){var A=t.theme,c=A.colors,p=A.spacing;return $t({label:"group",cursor:"default",display:"block"},i?{}:{color:c.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:p.baseUnit*3,paddingRight:p.baseUnit*3,textTransform:"uppercase"})},GH=function(t){var i=i9(t);i.data;var A=Fs(i,zH);return Yt("div",de({},an(t,"groupHeading",{"group-heading":!0}),A))},HH=FH,WH=["innerRef","isDisabled","isHidden","inputClassName"],ZH=function(t,i){var A=t.isDisabled,c=t.value,p=t.theme,m=p.spacing,h=p.colors;return $t($t({visibility:A?"hidden":"visible",transform:c?"translateZ(0)":""},QH),i?{}:{margin:m.baseUnit/2,paddingBottom:m.baseUnit/2,paddingTop:m.baseUnit/2,color:h.neutral80})},m9={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},QH={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":$t({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},m9)},qH=function(t){return $t({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},m9)},YH=function(t){var i=t.cx,A=t.value,c=i9(t),p=c.innerRef,m=c.isDisabled,h=c.isHidden,y=c.inputClassName,v=Fs(c,WH);return Yt("div",de({},an(t,"input",{"input-container":!0}),{"data-value":A||""}),Yt("input",de({className:i({input:!0},y),ref:p,style:qH(h),disabled:m},v)))},UH=YH,JH=function(t,i){var A=t.theme,c=A.spacing,p=A.borderRadius,m=A.colors;return $t({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:m.neutral10,borderRadius:p/2,margin:c.baseUnit/2})},XH=function(t,i){var A=t.theme,c=A.borderRadius,p=A.colors,m=t.cropWithEllipsis;return $t({overflow:"hidden",textOverflow:m||m===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:c/2,color:p.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},_H=function(t,i){var A=t.theme,c=A.spacing,p=A.borderRadius,m=A.colors,h=t.isFocused;return $t({alignItems:"center",display:"flex"},i?{}:{borderRadius:p/2,backgroundColor:h?m.dangerLight:void 0,paddingLeft:c.baseUnit,paddingRight:c.baseUnit,":hover":{backgroundColor:m.dangerLight,color:m.danger}})},h9=function(t){var i=t.children,A=t.innerProps;return Yt("div",A,i)},KH=h9,$H=h9;function eW(e){var t=e.children,i=e.innerProps;return Yt("div",de({role:"button"},i),t||Yt(n3,{size:14}))}var tW=function(t){var i=t.children,A=t.components,c=t.data,p=t.innerProps,m=t.isDisabled,h=t.removeProps,y=t.selectProps,v=A.Container,w=A.Label,C=A.Remove;return Yt(v,{data:c,innerProps:$t($t({},an(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":m})),p),selectProps:y},Yt(w,{data:c,innerProps:$t({},an(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:y},i),Yt(C,{data:c,innerProps:$t($t({},an(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},h),selectProps:y}))},oW=tW,nW=function(t,i){var A=t.isDisabled,c=t.isFocused,p=t.isSelected,m=t.theme,h=m.spacing,y=m.colors;return $t({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:p?y.primary:c?y.primary25:"transparent",color:A?y.neutral20:p?y.neutral0:"inherit",padding:"".concat(h.baseUnit*2,"px ").concat(h.baseUnit*3,"px"),":active":{backgroundColor:A?void 0:p?y.primary:y.primary50}})},rW=function(t){var i=t.children,A=t.isDisabled,c=t.isFocused,p=t.isSelected,m=t.innerRef,h=t.innerProps;return Yt("div",de({},an(t,"option",{option:!0,"option--is-disabled":A,"option--is-focused":c,"option--is-selected":p}),{ref:m,"aria-disabled":A},h),i)},sW=rW,iW=function(t,i){var A=t.theme,c=A.spacing,p=A.colors;return $t({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:p.neutral50,marginLeft:c.baseUnit/2,marginRight:c.baseUnit/2})},aW=function(t){var i=t.children,A=t.innerProps;return Yt("div",de({},an(t,"placeholder",{placeholder:!0}),A),i)},AW=aW,lW=function(t,i){var A=t.isDisabled,c=t.theme,p=c.spacing,m=c.colors;return $t({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:A?m.neutral40:m.neutral80,marginLeft:p.baseUnit/2,marginRight:p.baseUnit/2})},cW=function(t){var i=t.children,A=t.isDisabled,c=t.innerProps;return Yt("div",de({},an(t,"singleValue",{"single-value":!0,"single-value--is-disabled":A}),c),i)},uW=cW,dW={ClearIndicator:IH,Control:LH,DropdownIndicator:MH,DownChevron:p9,CrossIcon:n3,Group:HH,GroupHeading:GH,IndicatorsContainer:wH,IndicatorSeparator:DH,Input:UH,LoadingIndicator:RH,Menu:aH,MenuList:lH,MenuPortal:mH,LoadingMessage:pH,NoOptionsMessage:dH,MultiValue:oW,MultiValueContainer:KH,MultiValueLabel:$H,MultiValueRemove:eW,Option:sW,Placeholder:AW,SelectContainer:gH,SingleValue:uW,ValueContainer:bH},pW=function(t){return $t($t({},dW),t.components)},Pm=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function fW(e,t){return!!(e===t||Pm(e)&&Pm(t))}function mW(e,t){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!fW(e[i],t[i]))return!1;return!0}function hW(e,t){t===void 0&&(t=mW);var i=null;function A(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];if(i&&i.lastThis===this&&t(c,i.lastArgs))return i.lastResult;var m=e.apply(this,c);return i={lastResult:m,lastArgs:c,lastThis:this},m}return A.clear=function(){i=null},A}var gW={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yW=function(t){return Yt("span",de({css:gW},t))},Mm=yW,bW={guidance:function(t){var i=t.isSearchable,A=t.isMulti,c=t.tabSelectsValue,p=t.context,m=t.isInitialFocus;switch(p){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(c?", press Tab to select the option and exit the menu":"",".");case"input":return m?"".concat(t["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(A?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var i=t.action,A=t.label,c=A===void 0?"":A,p=t.labels,m=t.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(c,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(p.length>1?"s":""," ").concat(p.join(","),", selected.");case"select-option":return m?"option ".concat(c," is disabled. Select another option."):"option ".concat(c,", selected.");default:return""}},onFocus:function(t){var i=t.context,A=t.focused,c=t.options,p=t.label,m=p===void 0?"":p,h=t.selectValue,y=t.isDisabled,v=t.isSelected,w=t.isAppleDevice,C=function(S,O){return S&&S.length?"".concat(S.indexOf(O)+1," of ").concat(S.length):""};if(i==="value"&&h)return"value ".concat(m," focused, ").concat(C(h,A),".");if(i==="menu"&&w){var M=y?" disabled":"",P="".concat(v?" selected":"").concat(M);return"".concat(m).concat(P,", ").concat(C(c,A),".")}return""},onFilter:function(t){var i=t.inputValue,A=t.resultsMessage;return"".concat(A).concat(i?" for search term "+i:"",".")}},vW=function(t){var i=t.ariaSelection,A=t.focusedOption,c=t.focusedValue,p=t.focusableOptions,m=t.isFocused,h=t.selectValue,y=t.selectProps,v=t.id,w=t.isAppleDevice,C=y.ariaLiveMessages,M=y.getOptionLabel,P=y.inputValue,I=y.isMulti,S=y.isOptionDisabled,O=y.isSearchable,F=y.menuIsOpen,J=y.options,X=y.screenReaderStatus,Q=y.tabSelectsValue,ee=y.isLoading,Y=y["aria-label"],q=y["aria-live"],te=we.useMemo(function(){return $t($t({},bW),C||{})},[C]),oe=we.useMemo(function(){var B="";if(i&&te.onChange){var G=i.option,V=i.options,x=i.removedValue,se=i.removedValues,Ae=i.value,le=function(Ge){return Array.isArray(Ge)?null:Ge},he=x||G||le(Ae),ve=he?M(he):"",xe=V||se||void 0,Me=xe?xe.map(M):[],je=$t({isDisabled:he&&S(he,h),label:ve,labels:Me},i);B=te.onChange(je)}return B},[i,te,S,h,M]),W=we.useMemo(function(){var B="",G=A||c,V=!!(A&&h&&h.includes(A));if(G&&te.onFocus){var x={focused:G,label:M(G),isDisabled:S(G,h),isSelected:V,options:p,context:G===A?"menu":"value",selectValue:h,isAppleDevice:w};B=te.onFocus(x)}return B},[A,c,M,S,te,p,h,w]),H=we.useMemo(function(){var B="";if(F&&J.length&&!ee&&te.onFilter){var G=X({count:p.length});B=te.onFilter({inputValue:P,resultsMessage:G})}return B},[p,P,F,te,J,X,ee]),R=(i==null?void 0:i.action)==="initial-input-focus",re=we.useMemo(function(){var B="";if(te.guidance){var G=c?"value":F?"menu":"input";B=te.guidance({"aria-label":Y,context:G,isDisabled:A&&S(A,h),isMulti:I,isSearchable:O,tabSelectsValue:Q,isInitialFocus:R})}return B},[Y,A,c,I,S,O,F,te,h,Q,R]),N=Yt(we.Fragment,null,Yt("span",{id:"aria-selection"},oe),Yt("span",{id:"aria-focused"},W),Yt("span",{id:"aria-results"},H),Yt("span",{id:"aria-guidance"},re));return Yt(we.Fragment,null,Yt(Mm,{id:v},R&&N),Yt(Mm,{"aria-live":q,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},m&&!R&&N))},wW=vW,yp=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],TW=new RegExp("["+yp.map(function(e){return e.letters}).join("")+"]","g"),g9={};for(var ud=0;ud<yp.length;ud++)for(var dd=yp[ud],pd=0;pd<dd.letters.length;pd++)g9[dd.letters[pd]]=dd.base;var y9=function(t){return t.replace(TW,function(i){return g9[i]})},CW=hW(y9),Sm=function(t){return t.replace(/^\s+|\s+$/g,"")},xW=function(t){return"".concat(t.label," ").concat(t.value)},PW=function(t){return function(i,A){if(i.data.__isNew__)return!0;var c=$t({ignoreCase:!0,ignoreAccents:!0,stringify:xW,trim:!0,matchFrom:"any"},t),p=c.ignoreCase,m=c.ignoreAccents,h=c.stringify,y=c.trim,v=c.matchFrom,w=y?Sm(A):A,C=y?Sm(h(i)):h(i);return p&&(w=w.toLowerCase(),C=C.toLowerCase()),m&&(w=CW(w),C=y9(C)),v==="start"?C.substr(0,w.length)===w:C.indexOf(w)>-1}},MW=["innerRef"];function SW(e){var t=e.innerRef,i=Fs(e,MW),A=$G(i,"onExited","in","enter","exit","appear");return Yt("input",de({ref:t},A,{css:qp({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var IW=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function kW(e){var t=e.isEnabled,i=e.onBottomArrive,A=e.onBottomLeave,c=e.onTopArrive,p=e.onTopLeave,m=we.useRef(!1),h=we.useRef(!1),y=we.useRef(0),v=we.useRef(null),w=we.useCallback(function(O,F){if(v.current!==null){var J=v.current,X=J.scrollTop,Q=J.scrollHeight,ee=J.clientHeight,Y=v.current,q=F>0,te=Q-ee-X,oe=!1;te>F&&m.current&&(A&&A(O),m.current=!1),q&&h.current&&(p&&p(O),h.current=!1),q&&F>te?(i&&!m.current&&i(O),Y.scrollTop=Q,oe=!0,m.current=!0):!q&&-F>X&&(c&&!h.current&&c(O),Y.scrollTop=0,oe=!0,h.current=!0),oe&&IW(O)}},[i,A,c,p]),C=we.useCallback(function(O){w(O,O.deltaY)},[w]),M=we.useCallback(function(O){y.current=O.changedTouches[0].clientY},[]),P=we.useCallback(function(O){var F=y.current-O.changedTouches[0].clientY;w(O,F)},[w]),I=we.useCallback(function(O){if(O){var F=XG?{passive:!1}:!1;O.addEventListener("wheel",C,F),O.addEventListener("touchstart",M,F),O.addEventListener("touchmove",P,F)}},[P,M,C]),S=we.useCallback(function(O){O&&(O.removeEventListener("wheel",C,!1),O.removeEventListener("touchstart",M,!1),O.removeEventListener("touchmove",P,!1))},[P,M,C]);return we.useEffect(function(){if(t){var O=v.current;return I(O),function(){S(O)}}},[t,I,S]),function(O){v.current=O}}var Im=["boxSizing","height","overflow","paddingRight","position"],km={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Dm(e){e.cancelable&&e.preventDefault()}function Om(e){e.stopPropagation()}function Em(){var e=this.scrollTop,t=this.scrollHeight,i=e+this.offsetHeight;e===0?this.scrollTop=1:i===t&&(this.scrollTop=e-1)}function Rm(){return"ontouchstart"in window||navigator.maxTouchPoints}var jm=!!(typeof window<"u"&&window.document&&window.document.createElement),EA=0,I0={capture:!1,passive:!1};function DW(e){var t=e.isEnabled,i=e.accountForScrollbars,A=i===void 0?!0:i,c=we.useRef({}),p=we.useRef(null),m=we.useCallback(function(y){if(jm){var v=document.body,w=v&&v.style;if(A&&Im.forEach(function(I){var S=w&&w[I];c.current[I]=S}),A&&EA<1){var C=parseInt(c.current.paddingRight,10)||0,M=document.body?document.body.clientWidth:0,P=window.innerWidth-M+C||0;Object.keys(km).forEach(function(I){var S=km[I];w&&(w[I]=S)}),w&&(w.paddingRight="".concat(P,"px"))}v&&Rm()&&(v.addEventListener("touchmove",Dm,I0),y&&(y.addEventListener("touchstart",Em,I0),y.addEventListener("touchmove",Om,I0))),EA+=1}},[A]),h=we.useCallback(function(y){if(jm){var v=document.body,w=v&&v.style;EA=Math.max(EA-1,0),A&&EA<1&&Im.forEach(function(C){var M=c.current[C];w&&(w[C]=M)}),v&&Rm()&&(v.removeEventListener("touchmove",Dm,I0),y&&(y.removeEventListener("touchstart",Em,I0),y.removeEventListener("touchmove",Om,I0)))}},[A]);return we.useEffect(function(){if(t){var y=p.current;return m(y),function(){h(y)}}},[t,m,h]),function(y){p.current=y}}var OW=function(t){var i=t.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},EW={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function RW(e){var t=e.children,i=e.lockEnabled,A=e.captureEnabled,c=A===void 0?!0:A,p=e.onBottomArrive,m=e.onBottomLeave,h=e.onTopArrive,y=e.onTopLeave,v=kW({isEnabled:c,onBottomArrive:p,onBottomLeave:m,onTopArrive:h,onTopLeave:y}),w=DW({isEnabled:i}),C=function(P){v(P),w(P)};return Yt(we.Fragment,null,i&&Yt("div",{onClick:OW,css:EW}),t(C))}var jW={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},BW=function(t){var i=t.name,A=t.onFocus;return Yt("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:A,css:jW,value:"",onChange:function(){}})},LW=BW;function r3(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function zW(){return r3(/^iPhone/i)}function b9(){return r3(/^Mac/i)}function NW(){return r3(/^iPad/i)||b9()&&navigator.maxTouchPoints>1}function FW(){return zW()||NW()}function VW(){return b9()||FW()}var GW=function(t){return t.label},HW=function(t){return t.label},WW=function(t){return t.value},ZW=function(t){return!!t.isDisabled},QW={clearIndicator:SH,container:hH,control:jH,dropdownIndicator:PH,group:NH,groupHeading:VH,indicatorsContainer:vH,indicatorSeparator:kH,input:ZH,loadingIndicator:EH,loadingMessage:uH,menu:rH,menuList:AH,menuPortal:fH,multiValue:JH,multiValueLabel:XH,multiValueRemove:_H,noOptionsMessage:cH,option:nW,placeholder:iW,singleValue:lW,valueContainer:yH};var qW={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},YW=4,v9=4,UW=38,JW=v9*2,XW={baseUnit:v9,controlHeight:UW,menuGutter:JW},fd={borderRadius:YW,colors:qW,spacing:XW},_W={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Cm(),captureMenuScroll:!Cm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:PW(),formatGroupLabel:GW,getOptionLabel:HW,getOptionValue:WW,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ZW,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!UG(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var i=t.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Bm(e,t,i,A){var c=C9(e,t,i),p=x9(e,t,i),m=T9(e,t),h=_c(e,t);return{type:"option",data:t,isDisabled:c,isSelected:p,label:m,value:h,index:A}}function Sc(e,t){return e.options.map(function(i,A){if("options"in i){var c=i.options.map(function(m,h){return Bm(e,m,t,h)}).filter(function(m){return zm(e,m)});return c.length>0?{type:"group",data:i,options:c,index:A}:void 0}var p=Bm(e,i,t,A);return zm(e,p)?p:void 0}).filter(_G)}function w9(e){return e.reduce(function(t,i){return i.type==="group"?t.push.apply(t,t3(i.options.map(function(A){return A.data}))):t.push(i.data),t},[])}function Lm(e,t){return e.reduce(function(i,A){return A.type==="group"?i.push.apply(i,t3(A.options.map(function(c){return{data:c.data,id:"".concat(t,"-").concat(A.index,"-").concat(c.index)}}))):i.push({data:A.data,id:"".concat(t,"-").concat(A.index)}),i},[])}function KW(e,t){return w9(Sc(e,t))}function zm(e,t){var i=e.inputValue,A=i===void 0?"":i,c=t.data,p=t.isSelected,m=t.label,h=t.value;return(!M9(e)||!p)&&P9(e,{label:m,value:h,data:c},A)}function $W(e,t){var i=e.focusedValue,A=e.selectValue,c=A.indexOf(i);if(c>-1){var p=t.indexOf(i);if(p>-1)return i;if(c<t.length)return t[c]}return null}function eZ(e,t){var i=e.focusedOption;return i&&t.indexOf(i)>-1?i:t[0]}var md=function(t,i){var A,c=(A=t.find(function(p){return p.data===i}))===null||A===void 0?void 0:A.id;return c||null},T9=function(t,i){return t.getOptionLabel(i)},_c=function(t,i){return t.getOptionValue(i)};function C9(e,t,i){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,i):!1}function x9(e,t,i){if(i.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,i);var A=_c(e,t);return i.some(function(c){return _c(e,c)===A})}function P9(e,t,i){return e.filterOption?e.filterOption(t,i):!0}var M9=function(t){var i=t.hideSelectedOptions,A=t.isMulti;return i===void 0?A:i},tZ=1,S9=(function(e){IG(i,e);var t=DG(i);function i(A){var c;if(MG(this,i),c=t.call(this,A),c.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},c.blockOptionHover=!1,c.isComposing=!1,c.commonProps=void 0,c.initialTouchX=0,c.initialTouchY=0,c.openAfterFocus=!1,c.scrollToFocusedOptionOnUpdate=!1,c.userIsDragging=void 0,c.controlRef=null,c.getControlRef=function(y){c.controlRef=y},c.focusedOptionRef=null,c.getFocusedOptionRef=function(y){c.focusedOptionRef=y},c.menuListRef=null,c.getMenuListRef=function(y){c.menuListRef=y},c.inputRef=null,c.getInputRef=function(y){c.inputRef=y},c.focus=c.focusInput,c.blur=c.blurInput,c.onChange=function(y,v){var w=c.props,C=w.onChange,M=w.name;v.name=M,c.ariaOnChange(y,v),C(y,v)},c.setValue=function(y,v,w){var C=c.props,M=C.closeMenuOnSelect,P=C.isMulti,I=C.inputValue;c.onInputChange("",{action:"set-value",prevInputValue:I}),M&&(c.setState({inputIsHiddenAfterUpdate:!P}),c.onMenuClose()),c.setState({clearFocusValueOnUpdate:!0}),c.onChange(y,{action:v,option:w})},c.selectOption=function(y){var v=c.props,w=v.blurInputOnSelect,C=v.isMulti,M=v.name,P=c.state.selectValue,I=C&&c.isOptionSelected(y,P),S=c.isOptionDisabled(y,P);if(I){var O=c.getOptionValue(y);c.setValue(P.filter(function(F){return c.getOptionValue(F)!==O}),"deselect-option",y)}else if(!S)C?c.setValue([].concat(t3(P),[y]),"select-option",y):c.setValue(y,"select-option");else{c.ariaOnChange(y,{action:"select-option",option:y,name:M});return}w&&c.blurInput()},c.removeValue=function(y){var v=c.props.isMulti,w=c.state.selectValue,C=c.getOptionValue(y),M=w.filter(function(I){return c.getOptionValue(I)!==C}),P=cc(v,M,M[0]||null);c.onChange(P,{action:"remove-value",removedValue:y}),c.focusInput()},c.clearValue=function(){var y=c.state.selectValue;c.onChange(cc(c.props.isMulti,[],null),{action:"clear",removedValues:y})},c.popValue=function(){var y=c.props.isMulti,v=c.state.selectValue,w=v[v.length-1],C=v.slice(0,v.length-1),M=cc(y,C,C[0]||null);w&&c.onChange(M,{action:"pop-value",removedValue:w})},c.getFocusedOptionId=function(y){return md(c.state.focusableOptionsWithIds,y)},c.getFocusableOptionsWithIds=function(){return Lm(Sc(c.props,c.state.selectValue),c.getElementId("option"))},c.getValue=function(){return c.state.selectValue},c.cx=function(){for(var y=arguments.length,v=new Array(y),w=0;w<y;w++)v[w]=arguments[w];return WG.apply(void 0,[c.props.classNamePrefix].concat(v))},c.getOptionLabel=function(y){return T9(c.props,y)},c.getOptionValue=function(y){return _c(c.props,y)},c.getStyles=function(y,v){var w=c.props.unstyled,C=QW[y](v,w);C.boxSizing="border-box";var M=c.props.styles[y];return M?M(C,v):C},c.getClassNames=function(y,v){var w,C;return(w=(C=c.props.classNames)[y])===null||w===void 0?void 0:w.call(C,v)},c.getElementId=function(y){return"".concat(c.state.instancePrefix,"-").concat(y)},c.getComponents=function(){return pW(c.props)},c.buildCategorizedOptions=function(){return Sc(c.props,c.state.selectValue)},c.getCategorizedOptions=function(){return c.props.menuIsOpen?c.buildCategorizedOptions():[]},c.buildFocusableOptions=function(){return w9(c.buildCategorizedOptions())},c.getFocusableOptions=function(){return c.props.menuIsOpen?c.buildFocusableOptions():[]},c.ariaOnChange=function(y,v){c.setState({ariaSelection:$t({value:y},v)})},c.onMenuMouseDown=function(y){y.button===0&&(y.stopPropagation(),y.preventDefault(),c.focusInput())},c.onMenuMouseMove=function(y){c.blockOptionHover=!1},c.onControlMouseDown=function(y){if(!y.defaultPrevented){var v=c.props.openMenuOnClick;c.state.isFocused?c.props.menuIsOpen?y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&c.onMenuClose():v&&c.openMenu("first"):(v&&(c.openAfterFocus=!0),c.focusInput()),y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&y.preventDefault()}},c.onDropdownIndicatorMouseDown=function(y){if(!(y&&y.type==="mousedown"&&y.button!==0)&&!c.props.isDisabled){var v=c.props,w=v.isMulti,C=v.menuIsOpen;c.focusInput(),C?(c.setState({inputIsHiddenAfterUpdate:!w}),c.onMenuClose()):c.openMenu("first"),y.preventDefault()}},c.onClearIndicatorMouseDown=function(y){y&&y.type==="mousedown"&&y.button!==0||(c.clearValue(),y.preventDefault(),c.openAfterFocus=!1,y.type==="touchend"?c.focusInput():setTimeout(function(){return c.focusInput()}))},c.onScroll=function(y){typeof c.props.closeMenuOnScroll=="boolean"?y.target instanceof HTMLElement&&Wu(y.target)&&c.props.onMenuClose():typeof c.props.closeMenuOnScroll=="function"&&c.props.closeMenuOnScroll(y)&&c.props.onMenuClose()},c.onCompositionStart=function(){c.isComposing=!0},c.onCompositionEnd=function(){c.isComposing=!1},c.onTouchStart=function(y){var v=y.touches,w=v&&v.item(0);w&&(c.initialTouchX=w.clientX,c.initialTouchY=w.clientY,c.userIsDragging=!1)},c.onTouchMove=function(y){var v=y.touches,w=v&&v.item(0);if(w){var C=Math.abs(w.clientX-c.initialTouchX),M=Math.abs(w.clientY-c.initialTouchY),P=5;c.userIsDragging=C>P||M>P}},c.onTouchEnd=function(y){c.userIsDragging||(c.controlRef&&!c.controlRef.contains(y.target)&&c.menuListRef&&!c.menuListRef.contains(y.target)&&c.blurInput(),c.initialTouchX=0,c.initialTouchY=0)},c.onControlTouchEnd=function(y){c.userIsDragging||c.onControlMouseDown(y)},c.onClearIndicatorTouchEnd=function(y){c.userIsDragging||c.onClearIndicatorMouseDown(y)},c.onDropdownIndicatorTouchEnd=function(y){c.userIsDragging||c.onDropdownIndicatorMouseDown(y)},c.handleInputChange=function(y){var v=c.props.inputValue,w=y.currentTarget.value;c.setState({inputIsHiddenAfterUpdate:!1}),c.onInputChange(w,{action:"input-change",prevInputValue:v}),c.props.menuIsOpen||c.onMenuOpen()},c.onInputFocus=function(y){c.props.onFocus&&c.props.onFocus(y),c.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(c.openAfterFocus||c.props.openMenuOnFocus)&&c.openMenu("first"),c.openAfterFocus=!1},c.onInputBlur=function(y){var v=c.props.inputValue;if(c.menuListRef&&c.menuListRef.contains(document.activeElement)){c.inputRef.focus();return}c.props.onBlur&&c.props.onBlur(y),c.onInputChange("",{action:"input-blur",prevInputValue:v}),c.onMenuClose(),c.setState({focusedValue:null,isFocused:!1})},c.onOptionHover=function(y){if(!(c.blockOptionHover||c.state.focusedOption===y)){var v=c.getFocusableOptions(),w=v.indexOf(y);c.setState({focusedOption:y,focusedOptionId:w>-1?c.getFocusedOptionId(y):null})}},c.shouldHideSelectedOptions=function(){return M9(c.props)},c.onValueInputFocus=function(y){y.preventDefault(),y.stopPropagation(),c.focus()},c.onKeyDown=function(y){var v=c.props,w=v.isMulti,C=v.backspaceRemovesValue,M=v.escapeClearsValue,P=v.inputValue,I=v.isClearable,S=v.isDisabled,O=v.menuIsOpen,F=v.onKeyDown,J=v.tabSelectsValue,X=v.openMenuOnFocus,Q=c.state,ee=Q.focusedOption,Y=Q.focusedValue,q=Q.selectValue;if(!S&&!(typeof F=="function"&&(F(y),y.defaultPrevented))){switch(c.blockOptionHover=!0,y.key){case"ArrowLeft":if(!w||P)return;c.focusValue("previous");break;case"ArrowRight":if(!w||P)return;c.focusValue("next");break;case"Delete":case"Backspace":if(P)return;if(Y)c.removeValue(Y);else{if(!C)return;w?c.popValue():I&&c.clearValue()}break;case"Tab":if(c.isComposing||y.shiftKey||!O||!J||!ee||X&&c.isOptionSelected(ee,q))return;c.selectOption(ee);break;case"Enter":if(y.keyCode===229)break;if(O){if(!ee||c.isComposing)return;c.selectOption(ee);break}return;case"Escape":O?(c.setState({inputIsHiddenAfterUpdate:!1}),c.onInputChange("",{action:"menu-close",prevInputValue:P}),c.onMenuClose()):I&&M&&c.clearValue();break;case" ":if(P)return;if(!O){c.openMenu("first");break}if(!ee)return;c.selectOption(ee);break;case"ArrowUp":O?c.focusOption("up"):c.openMenu("last");break;case"ArrowDown":O?c.focusOption("down"):c.openMenu("first");break;case"PageUp":if(!O)return;c.focusOption("pageup");break;case"PageDown":if(!O)return;c.focusOption("pagedown");break;case"Home":if(!O)return;c.focusOption("first");break;case"End":if(!O)return;c.focusOption("last");break;default:return}y.preventDefault()}},c.state.instancePrefix="react-select-"+(c.props.instanceId||++tZ),c.state.selectValue=wm(A.value),A.menuIsOpen&&c.state.selectValue.length){var p=c.getFocusableOptionsWithIds(),m=c.buildFocusableOptions(),h=m.indexOf(c.state.selectValue[0]);c.state.focusableOptionsWithIds=p,c.state.focusedOption=m[h],c.state.focusedOptionId=md(p,m[h])}return c}return SG(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Tm(this.menuListRef,this.focusedOptionRef),VW()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(c){var p=this.props,m=p.isDisabled,h=p.menuIsOpen,y=this.state.isFocused;(y&&!m&&c.isDisabled||y&&h&&!c.menuIsOpen)&&this.focusInput(),y&&m&&!c.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!y&&!m&&c.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Tm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(c,p){this.props.onInputChange(c,p)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(c){var p=this,m=this.state,h=m.selectValue,y=m.isFocused,v=this.buildFocusableOptions(),w=c==="first"?0:v.length-1;if(!this.props.isMulti){var C=v.indexOf(h[0]);C>-1&&(w=C)}this.scrollToFocusedOptionOnUpdate=!(y&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:v[w],focusedOptionId:this.getFocusedOptionId(v[w])},function(){return p.onMenuOpen()})}},{key:"focusValue",value:function(c){var p=this.state,m=p.selectValue,h=p.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var y=m.indexOf(h);h||(y=-1);var v=m.length-1,w=-1;if(m.length){switch(c){case"previous":y===0?w=0:y===-1?w=v:w=y-1;break;case"next":y>-1&&y<v&&(w=y+1);break}this.setState({inputIsHidden:w!==-1,focusedValue:m[w]})}}}},{key:"focusOption",value:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",p=this.props.pageSize,m=this.state.focusedOption,h=this.getFocusableOptions();if(h.length){var y=0,v=h.indexOf(m);m||(v=-1),c==="up"?y=v>0?v-1:h.length-1:c==="down"?y=(v+1)%h.length:c==="pageup"?(y=v-p,y<0&&(y=0)):c==="pagedown"?(y=v+p,y>h.length-1&&(y=h.length-1)):c==="last"&&(y=h.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:h[y],focusedValue:null,focusedOptionId:this.getFocusedOptionId(h[y])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(fd):$t($t({},fd),this.props.theme):fd})},{key:"getCommonProps",value:function(){var c=this.clearValue,p=this.cx,m=this.getStyles,h=this.getClassNames,y=this.getValue,v=this.selectOption,w=this.setValue,C=this.props,M=C.isMulti,P=C.isRtl,I=C.options,S=this.hasValue();return{clearValue:c,cx:p,getStyles:m,getClassNames:h,getValue:y,hasValue:S,isMulti:M,isRtl:P,options:I,selectOption:v,selectProps:C,setValue:w,theme:this.getTheme()}}},{key:"hasValue",value:function(){var c=this.state.selectValue;return c.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var c=this.props,p=c.isClearable,m=c.isMulti;return p===void 0?m:p}},{key:"isOptionDisabled",value:function(c,p){return C9(this.props,c,p)}},{key:"isOptionSelected",value:function(c,p){return x9(this.props,c,p)}},{key:"filterOption",value:function(c,p){return P9(this.props,c,p)}},{key:"formatOptionLabel",value:function(c,p){if(typeof this.props.formatOptionLabel=="function"){var m=this.props.inputValue,h=this.state.selectValue;return this.props.formatOptionLabel(c,{context:p,inputValue:m,selectValue:h})}else return this.getOptionLabel(c)}},{key:"formatGroupLabel",value:function(c){return this.props.formatGroupLabel(c)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var c=this.props,p=c.isDisabled,m=c.isSearchable,h=c.inputId,y=c.inputValue,v=c.tabIndex,w=c.form,C=c.menuIsOpen,M=c.required,P=this.getComponents(),I=P.Input,S=this.state,O=S.inputIsHidden,F=S.ariaSelection,J=this.commonProps,X=h||this.getElementId("input"),Q=$t($t($t({"aria-autocomplete":"list","aria-expanded":C,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":M,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},C&&{"aria-controls":this.getElementId("listbox")}),!m&&{"aria-readonly":!0}),this.hasValue()?(F==null?void 0:F.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return m?U.createElement(I,de({},J,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:X,innerRef:this.getInputRef,isDisabled:p,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:v,form:w,type:"text",value:y},Q)):U.createElement(SW,de({id:X,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Jc,onFocus:this.onInputFocus,disabled:p,tabIndex:v,inputMode:"none",form:w,value:""},Q))})},{key:"renderPlaceholderOrValue",value:function(){var c=this,p=this.getComponents(),m=p.MultiValue,h=p.MultiValueContainer,y=p.MultiValueLabel,v=p.MultiValueRemove,w=p.SingleValue,C=p.Placeholder,M=this.commonProps,P=this.props,I=P.controlShouldRenderValue,S=P.isDisabled,O=P.isMulti,F=P.inputValue,J=P.placeholder,X=this.state,Q=X.selectValue,ee=X.focusedValue,Y=X.isFocused;if(!this.hasValue()||!I)return F?null:U.createElement(C,de({},M,{key:"placeholder",isDisabled:S,isFocused:Y,innerProps:{id:this.getElementId("placeholder")}}),J);if(O)return Q.map(function(te,oe){var W=te===ee,H="".concat(c.getOptionLabel(te),"-").concat(c.getOptionValue(te));return U.createElement(m,de({},M,{components:{Container:h,Label:y,Remove:v},isFocused:W,isDisabled:S,key:H,index:oe,removeProps:{onClick:function(){return c.removeValue(te)},onTouchEnd:function(){return c.removeValue(te)},onMouseDown:function(re){re.preventDefault()}},data:te}),c.formatOptionLabel(te,"value"))});if(F)return null;var q=Q[0];return U.createElement(w,de({},M,{data:q,isDisabled:S}),this.formatOptionLabel(q,"value"))}},{key:"renderClearIndicator",value:function(){var c=this.getComponents(),p=c.ClearIndicator,m=this.commonProps,h=this.props,y=h.isDisabled,v=h.isLoading,w=this.state.isFocused;if(!this.isClearable()||!p||y||!this.hasValue()||v)return null;var C={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:C,isFocused:w}))}},{key:"renderLoadingIndicator",value:function(){var c=this.getComponents(),p=c.LoadingIndicator,m=this.commonProps,h=this.props,y=h.isDisabled,v=h.isLoading,w=this.state.isFocused;if(!p||!v)return null;var C={"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:C,isDisabled:y,isFocused:w}))}},{key:"renderIndicatorSeparator",value:function(){var c=this.getComponents(),p=c.DropdownIndicator,m=c.IndicatorSeparator;if(!p||!m)return null;var h=this.commonProps,y=this.props.isDisabled,v=this.state.isFocused;return U.createElement(m,de({},h,{isDisabled:y,isFocused:v}))}},{key:"renderDropdownIndicator",value:function(){var c=this.getComponents(),p=c.DropdownIndicator;if(!p)return null;var m=this.commonProps,h=this.props.isDisabled,y=this.state.isFocused,v={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return U.createElement(p,de({},m,{innerProps:v,isDisabled:h,isFocused:y}))}},{key:"renderMenu",value:function(){var c=this,p=this.getComponents(),m=p.Group,h=p.GroupHeading,y=p.Menu,v=p.MenuList,w=p.MenuPortal,C=p.LoadingMessage,M=p.NoOptionsMessage,P=p.Option,I=this.commonProps,S=this.state.focusedOption,O=this.props,F=O.captureMenuScroll,J=O.inputValue,X=O.isLoading,Q=O.loadingMessage,ee=O.minMenuHeight,Y=O.maxMenuHeight,q=O.menuIsOpen,te=O.menuPlacement,oe=O.menuPosition,W=O.menuPortalTarget,H=O.menuShouldBlockScroll,R=O.menuShouldScrollIntoView,re=O.noOptionsMessage,N=O.onMenuScrollToTop,B=O.onMenuScrollToBottom;if(!q)return null;var G=function(ve,xe){var Me=ve.type,je=ve.data,De=ve.isDisabled,Ge=ve.isSelected,Pe=ve.label,ne=ve.value,fe=S===je,Te=De?void 0:function(){return c.onOptionHover(je)},ze=De?void 0:function(){return c.selectOption(je)},ke="".concat(c.getElementId("option"),"-").concat(xe),Fe={id:ke,onClick:ze,onMouseMove:Te,onMouseOver:Te,tabIndex:-1,role:"option","aria-selected":c.state.isAppleDevice?void 0:Ge};return U.createElement(P,de({},I,{innerProps:Fe,data:je,isDisabled:De,isSelected:Ge,key:ke,label:Pe,type:Me,value:ne,isFocused:fe,innerRef:fe?c.getFocusedOptionRef:void 0}),c.formatOptionLabel(ve.data,"menu"))},V;if(this.hasOptions())V=this.getCategorizedOptions().map(function(he){if(he.type==="group"){var ve=he.data,xe=he.options,Me=he.index,je="".concat(c.getElementId("group"),"-").concat(Me),De="".concat(je,"-heading");return U.createElement(m,de({},I,{key:je,data:ve,options:xe,Heading:h,headingProps:{id:De,data:he.data},label:c.formatGroupLabel(he.data)}),he.options.map(function(Ge){return G(Ge,"".concat(Me,"-").concat(Ge.index))}))}else if(he.type==="option")return G(he,"".concat(he.index))});else if(X){var x=Q({inputValue:J});if(x===null)return null;V=U.createElement(C,I,x)}else{var se=re({inputValue:J});if(se===null)return null;V=U.createElement(M,I,se)}var Ae={minMenuHeight:ee,maxMenuHeight:Y,menuPlacement:te,menuPosition:oe,menuShouldScrollIntoView:R},le=U.createElement(sH,de({},I,Ae),function(he){var ve=he.ref,xe=he.placerProps,Me=xe.placement,je=xe.maxHeight;return U.createElement(y,de({},I,Ae,{innerRef:ve,innerProps:{onMouseDown:c.onMenuMouseDown,onMouseMove:c.onMenuMouseMove},isLoading:X,placement:Me}),U.createElement(RW,{captureEnabled:F,onTopArrive:N,onBottomArrive:B,lockEnabled:H},function(De){return U.createElement(v,de({},I,{innerRef:function(Pe){c.getMenuListRef(Pe),De(Pe)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:c.getElementId("listbox")},isLoading:X,maxHeight:je,focusedOption:S}),V)}))});return W||oe==="fixed"?U.createElement(w,de({},I,{appendTo:W,controlElement:this.controlRef,menuPlacement:te,menuPosition:oe}),le):le}},{key:"renderFormField",value:function(){var c=this,p=this.props,m=p.delimiter,h=p.isDisabled,y=p.isMulti,v=p.name,w=p.required,C=this.state.selectValue;if(w&&!this.hasValue()&&!h)return U.createElement(LW,{name:v,onFocus:this.onValueInputFocus});if(!(!v||h))if(y)if(m){var M=C.map(function(S){return c.getOptionValue(S)}).join(m);return U.createElement("input",{name:v,type:"hidden",value:M})}else{var P=C.length>0?C.map(function(S,O){return U.createElement("input",{key:"i-".concat(O),name:v,type:"hidden",value:c.getOptionValue(S)})}):U.createElement("input",{name:v,type:"hidden",value:""});return U.createElement("div",null,P)}else{var I=C[0]?this.getOptionValue(C[0]):"";return U.createElement("input",{name:v,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var c=this.commonProps,p=this.state,m=p.ariaSelection,h=p.focusedOption,y=p.focusedValue,v=p.isFocused,w=p.selectValue,C=this.getFocusableOptions();return U.createElement(wW,de({},c,{id:this.getElementId("live-region"),ariaSelection:m,focusedOption:h,focusedValue:y,isFocused:v,selectValue:w,focusableOptions:C,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var c=this.getComponents(),p=c.Control,m=c.IndicatorsContainer,h=c.SelectContainer,y=c.ValueContainer,v=this.props,w=v.className,C=v.id,M=v.isDisabled,P=v.menuIsOpen,I=this.state.isFocused,S=this.commonProps=this.getCommonProps();return U.createElement(h,de({},S,{className:w,innerProps:{id:C,onKeyDown:this.onKeyDown},isDisabled:M,isFocused:I}),this.renderLiveRegion(),U.createElement(p,de({},S,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:M,isFocused:I,menuIsOpen:P}),U.createElement(y,de({},S,{isDisabled:M}),this.renderPlaceholderOrValue(),this.renderInput()),U.createElement(m,de({},S,{isDisabled:M}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(c,p){var m=p.prevProps,h=p.clearFocusValueOnUpdate,y=p.inputIsHiddenAfterUpdate,v=p.ariaSelection,w=p.isFocused,C=p.prevWasFocused,M=p.instancePrefix,P=c.options,I=c.value,S=c.menuIsOpen,O=c.inputValue,F=c.isMulti,J=wm(I),X={};if(m&&(I!==m.value||P!==m.options||S!==m.menuIsOpen||O!==m.inputValue)){var Q=S?KW(c,J):[],ee=S?Lm(Sc(c,J),"".concat(M,"-option")):[],Y=h?$W(p,J):null,q=eZ(p,Q),te=md(ee,q);X={selectValue:J,focusedOption:q,focusedOptionId:te,focusableOptionsWithIds:ee,focusedValue:Y,clearFocusValueOnUpdate:!1}}var oe=y!=null&&c!==m?{inputIsHidden:y,inputIsHiddenAfterUpdate:void 0}:{},W=v,H=w&&C;return w&&!H&&(W={value:cc(F,J,J[0]||null),options:J,action:"initial-input-focus"},H=!C),(v==null?void 0:v.action)==="initial-input-focus"&&(W=null),$t($t($t({},X),oe),{},{prevProps:c,ariaSelection:W,prevWasFocused:H})}}]),i})(we.Component);S9.defaultProps=_W;var oZ=we.forwardRef(function(e,t){var i=PG(e);return U.createElement(S9,de({ref:t},i))}),nZ=oZ;function I9({defaultOption:e,options:t,onChange:i,isSearchable:A=!1,className:c="",disabled:p=!1}){const m=(h,y)=>{h&&i(h)};return j.jsx("div",{className:ut("w-full",c),children:j.jsx(nZ,{isClearable:!1,isSearchable:A,isMulti:!1,defaultValue:e,options:t,onChange:m,isDisabled:p,menuPortalTarget:document.body,menuPosition:"fixed",styles:{menuPortal:h=>({...h,zIndex:9999})}})})}const bp=["Low to High","High to Low"],Nm=[{value:0,label:bp[0]},{value:1,label:bp[1]}];function rZ({onChange:e,className:t="",pickedType:i=0,disabled:A=!1}){const c=p=>{e(p.value)};return j.jsx(I9,{options:Nm,defaultOption:Nm[i],onChange:c,className:t,disabled:A})}const sZ=we.createContext(null),hd={didCatch:!1,error:null};class iZ extends we.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hd}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var A,c;const{error:i}=this.state;i!==null&&((c=(A=this.props).onReset)==null||c.call(A,{args:t,reason:"imperative-api"}),this.setState(hd))}componentDidCatch(t,i){var A,c;(c=(A=this.props).onError)==null||c.call(A,t,i)}componentDidUpdate(t,i){var p,m;const{didCatch:A}=this.state,{resetKeys:c}=this.props;A&&i.error!==null&&aZ(t.resetKeys,c)&&((m=(p=this.props).onReset)==null||m.call(p,{next:c,prev:t.resetKeys,reason:"keys"}),this.setState(hd))}render(){const{children:t,fallbackRender:i,FallbackComponent:A,fallback:c}=this.props,{didCatch:p,error:m}=this.state;let h=t;if(p){const y={error:m,resetErrorBoundary:this.resetErrorBoundary};if(typeof i=="function")h=i(y);else if(A)h=we.createElement(A,y);else if(c!==void 0)h=c;else throw m}return we.createElement(sZ.Provider,{value:{didCatch:p,error:m,resetErrorBoundary:this.resetErrorBoundary}},h)}}function aZ(e=[],t=[]){return e.length!==t.length||e.some((i,A)=>!Object.is(i,t[A]))}function Wl({label:e="Something went wrong"}){return j.jsx("div",{className:"text-red-600",children:e})}const AZ=()=>j.jsx(Wl,{label:j.jsxs(j.Fragment,{children:["Failed to load component. ",j.jsx(J8,{href:"/",children:"Go to homepage"})]})}),k9=({children:e,fallback:t=null})=>j.jsx(iZ,{fallback:t??j.jsx(AZ,{}),onError:(i,A)=>{console.error("Error details:",i),console.error("Error info:",A)},children:e});function lZ({label:e,className:t=""}){return j.jsx("div",{className:ut("NotFound bg-white p-2 text-gray-600 text-lg rounded-lg w-full",t),children:e})}function cZ({children:e,lazyFallback:t=null,errorFallback:i=null}){return j.jsx(k9,{fallback:i,children:j.jsx(we.Suspense,{fallback:t??j.jsx(K8,{}),children:e})})}const uZ=["text-lime-700 border border-lime-700 bg-white","text-violet-600 border border-violet-600 bg-white","text-blue-500 border border-blue-500 bg-white","text-slate-300 border border-slate-300 bg-white","text-cyan-600 border border-cyan-600 bg-white","text-yellow-700 border border-yellow-700 bg-white"],dZ=["bg-lime-700 text-white","bg-violet-600 text-white","bg-blue-500 text-white","bg-slate-300 text-white","bg-cyan-600 text-white","bg-yellow-700 text-white"],pZ=6,fZ=e=>(typeof e=="string"&&(e=Ng(e)),Math.abs(Math.floor(e))%pZ),mZ=(e,t)=>{const i=fZ(e);return t?dZ[i]:uZ[i]};function D9({label:e,onClick:t=io,className:i="",labelSize:A="base",isHighlighted:c=!1,color:p=0}){return j.jsx(vn,{onClick:t,className:ut("Tag w-fit h-fit px-1 rounded-full",i,`text-${A}`,mZ(p,c)),children:e})}function hZ({tags:e,highlightedTagIndex:t,className:i=""}){const A=(c,p)=>{const m=typeof t=="number"?p===t:void 0;return j.jsx(D9,{...c,...m!==void 0?{isHighlighted:m}:{}},p)};return j.jsx(pa,{className:ut("Tags flex flex-wrap gap-1",i),items:e,itemRenderer:A})}function gZ({text:e,onClick:t=io,className:i="",isHighlighted:A=!1}){return j.jsx(vn,{onClick:t,className:ut("Text",A?"text-blue-500":"text-gray-500",i),children:e})}function yZ({onClick:e=io,className:t=""}){return j.jsx(vn,{onClick:e,className:ut("ShowMore font-bold text-gray-700",t),children:"show more"})}var gd={},yd={},RA={},bd={},Fm;function bZ(){return Fm||(Fm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},i=e.default=t})(bd)),bd}var vd,Vm;function vZ(){if(Vm)return vd;Vm=1;var e={},t="Expected a function",i=NaN,A="[object Symbol]",c=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,h=/^0o[0-7]+$/i,y=parseInt,v=typeof e=="object"&&e&&e.Object===Object&&e,w=typeof self=="object"&&self&&self.Object===Object&&self,C=v||w||Function("return this")(),M=Object.prototype,P=M.toString,I=Math.max,S=Math.min,O=function(){return C.Date.now()};function F(Y,q,te){var oe,W,H,R,re,N,B=0,G=!1,V=!1,x=!0;if(typeof Y!="function")throw new TypeError(t);q=ee(q)||0,J(te)&&(G=!!te.leading,V="maxWait"in te,H=V?I(ee(te.maxWait)||0,q):H,x="trailing"in te?!!te.trailing:x);function se(Ge){var Pe=oe,ne=W;return oe=W=void 0,B=Ge,R=Y.apply(ne,Pe),R}function Ae(Ge){return B=Ge,re=setTimeout(ve,q),G?se(Ge):R}function le(Ge){var Pe=Ge-N,ne=Ge-B,fe=q-Pe;return V?S(fe,H-ne):fe}function he(Ge){var Pe=Ge-N,ne=Ge-B;return N===void 0||Pe>=q||Pe<0||V&&ne>=H}function ve(){var Ge=O();if(he(Ge))return xe(Ge);re=setTimeout(ve,le(Ge))}function xe(Ge){return re=void 0,x&&oe?se(Ge):(oe=W=void 0,R)}function Me(){re!==void 0&&clearTimeout(re),B=0,oe=N=W=re=void 0}function je(){return re===void 0?R:xe(O())}function De(){var Ge=O(),Pe=he(Ge);if(oe=arguments,W=this,N=Ge,Pe){if(re===void 0)return Ae(N);if(V)return re=setTimeout(ve,q),se(N)}return re===void 0&&(re=setTimeout(ve,q)),R}return De.cancel=Me,De.flush=je,De}function J(Y){var q=typeof Y;return!!Y&&(q=="object"||q=="function")}function X(Y){return!!Y&&typeof Y=="object"}function Q(Y){return typeof Y=="symbol"||X(Y)&&P.call(Y)==A}function ee(Y){if(typeof Y=="number")return Y;if(Q(Y))return i;if(J(Y)){var q=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=J(q)?q+"":q}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(c,"");var te=m.test(Y);return te||h.test(Y)?y(Y.slice(2),te?2:8):p.test(Y)?i:+Y}return vd=F,vd}var kt={},wd={},Gm;function O9(){return Gm||(Gm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(we);function i(p){return p&&p.__esModule?p:{default:p}}var A={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(m){return t.default.createElement("ul",{style:{display:"block"}},m)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(m){return t.default.createElement("button",null,m+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,asNavFor:null,unslick:!1},c=e.default=A})(wd)),wd}var Hm;function Zl(){if(Hm)return kt;Hm=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.checkSpecKeys=kt.checkNavigable=kt.changeSlide=kt.canUseDOM=kt.canGoNext=void 0,kt.clamp=v,kt.extractObject=void 0,kt.filterSettings=Ge,kt.validSettings=kt.swipeStart=kt.swipeMove=kt.swipeEnd=kt.slidesOnRight=kt.slidesOnLeft=kt.slideHandler=kt.siblingDirection=kt.safePreventDefault=kt.lazyStartIndex=kt.lazySlidesOnRight=kt.lazySlidesOnLeft=kt.lazyEndIndex=kt.keyHandler=kt.initializedState=kt.getWidth=kt.getTrackLeft=kt.getTrackCSS=kt.getTrackAnimateCSS=kt.getTotalSlides=kt.getSwipeDirection=kt.getSlideCount=kt.getRequiredLazySlides=kt.getPreClones=kt.getPostClones=kt.getOnDemandLazySlides=kt.getNavigableIndexes=kt.getHeight=void 0;var e=i(we),t=i(O9());function i(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function A(Pe){"@babel/helpers - typeof";return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},A(Pe)}function c(Pe,ne){var fe=Object.keys(Pe);if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(Pe);ne&&(Te=Te.filter(function(ze){return Object.getOwnPropertyDescriptor(Pe,ze).enumerable})),fe.push.apply(fe,Te)}return fe}function p(Pe){for(var ne=1;ne<arguments.length;ne++){var fe=arguments[ne]!=null?arguments[ne]:{};ne%2?c(Object(fe),!0).forEach(function(Te){m(Pe,Te,fe[Te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(fe)):c(Object(fe)).forEach(function(Te){Object.defineProperty(Pe,Te,Object.getOwnPropertyDescriptor(fe,Te))})}return Pe}function m(Pe,ne,fe){return(ne=h(ne))in Pe?Object.defineProperty(Pe,ne,{value:fe,enumerable:!0,configurable:!0,writable:!0}):Pe[ne]=fe,Pe}function h(Pe){var ne=y(Pe,"string");return A(ne)=="symbol"?ne:ne+""}function y(Pe,ne){if(A(Pe)!="object"||!Pe)return Pe;var fe=Pe[Symbol.toPrimitive];if(fe!==void 0){var Te=fe.call(Pe,ne||"default");if(A(Te)!="object")return Te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ne==="string"?String:Number)(Pe)}function v(Pe,ne,fe){return Math.max(ne,Math.min(Pe,fe))}var w=kt.safePreventDefault=function(ne){var fe=["onTouchStart","onTouchMove","onWheel"];fe.includes(ne._reactName)||ne.preventDefault()},C=kt.getOnDemandLazySlides=function(ne){for(var fe=[],Te=P(ne),ze=I(ne),ke=Te;ke<ze;ke++)ne.lazyLoadedList.indexOf(ke)<0&&fe.push(ke);return fe},M=kt.getRequiredLazySlides=function(ne){for(var fe=[],Te=P(ne),ze=I(ne),ke=Te;ke<ze;ke++)fe.push(ke);return fe},P=kt.lazyStartIndex=function(ne){return ne.currentSlide-S(ne)},I=kt.lazyEndIndex=function(ne){return ne.currentSlide+O(ne)},S=kt.lazySlidesOnLeft=function(ne){return ne.centerMode?Math.floor(ne.slidesToShow/2)+(parseInt(ne.centerPadding)>0?1:0):0},O=kt.lazySlidesOnRight=function(ne){return ne.centerMode?Math.floor((ne.slidesToShow-1)/2)+1+(parseInt(ne.centerPadding)>0?1:0):ne.slidesToShow},F=kt.getWidth=function(ne){return ne&&ne.offsetWidth||0},J=kt.getHeight=function(ne){return ne&&ne.offsetHeight||0},X=kt.getSwipeDirection=function(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Te,ze,ke,Fe;return Te=ne.startX-ne.curX,ze=ne.startY-ne.curY,ke=Math.atan2(ze,Te),Fe=Math.round(ke*180/Math.PI),Fe<0&&(Fe=360-Math.abs(Fe)),Fe<=45&&Fe>=0||Fe<=360&&Fe>=315?"left":Fe>=135&&Fe<=225?"right":fe===!0?Fe>=35&&Fe<=135?"up":"down":"vertical"},Q=kt.canGoNext=function(ne){var fe=!0;return ne.infinite||(ne.centerMode&&ne.currentSlide>=ne.slideCount-1||ne.slideCount<=ne.slidesToShow||ne.currentSlide>=ne.slideCount-ne.slidesToShow)&&(fe=!1),fe},ee=kt.extractObject=function(ne,fe){var Te={};return fe.forEach(function(ze){return Te[ze]=ne[ze]}),Te},Y=kt.initializedState=function(ne){var fe=e.default.Children.count(ne.children),Te=ne.listRef,ze=Math.ceil(F(Te)),ke=ne.trackRef&&ne.trackRef.node,Fe=Math.ceil(F(ke)),Be;if(ne.vertical)Be=ze;else{var We=ne.centerMode&&parseInt(ne.centerPadding)*2;typeof ne.centerPadding=="string"&&ne.centerPadding.slice(-1)==="%"&&(We*=ze/100),Be=Math.ceil((ze-We)/ne.slidesToShow)}var He=Te&&J(Te.querySelector('[data-index="0"]')),Qe=He*ne.slidesToShow,Ve=ne.currentSlide===void 0?ne.initialSlide:ne.currentSlide;ne.rtl&&ne.currentSlide===void 0&&(Ve=fe-1-ne.initialSlide);var Le=ne.lazyLoadedList||[],Ye=C(p(p({},ne),{},{currentSlide:Ve,lazyLoadedList:Le}));Le=Le.concat(Ye);var at={slideCount:fe,slideWidth:Be,listWidth:ze,trackWidth:Fe,currentSlide:Ve,slideHeight:He,listHeight:Qe,lazyLoadedList:Le};return ne.autoplaying===null&&ne.autoplay&&(at.autoplaying="playing"),at},q=kt.slideHandler=function(ne){var fe=ne.waitForAnimate,Te=ne.animating,ze=ne.fade,ke=ne.infinite,Fe=ne.index,Be=ne.slideCount,We=ne.lazyLoad,He=ne.currentSlide,Qe=ne.centerMode,Ve=ne.slidesToScroll,Le=ne.slidesToShow,Ye=ne.useCSS,at=ne.lazyLoadedList;if(fe&&Te)return{};var et=Fe,Mt,Rt,vt,Gt={},wt={},Ct=ke?Fe:v(Fe,0,Be-1);if(ze){if(!ke&&(Fe<0||Fe>=Be))return{};Fe<0?et=Fe+Be:Fe>=Be&&(et=Fe-Be),We&&at.indexOf(et)<0&&(at=at.concat(et)),Gt={animating:!0,currentSlide:et,lazyLoadedList:at,targetSlide:et},wt={animating:!1,targetSlide:et}}else Mt=et,et<0?(Mt=et+Be,ke?Be%Ve!==0&&(Mt=Be-Be%Ve):Mt=0):!Q(ne)&&et>He?et=Mt=He:Qe&&et>=Be?(et=ke?Be:Be-1,Mt=ke?0:Be-1):et>=Be&&(Mt=et-Be,ke?Be%Ve!==0&&(Mt=0):Mt=Be-Le),!ke&&et+Le>=Be&&(Mt=Be-Le),Rt=se(p(p({},ne),{},{slideIndex:et})),vt=se(p(p({},ne),{},{slideIndex:Mt})),ke||(Rt===vt&&(et=Mt),Rt=vt),We&&(at=at.concat(C(p(p({},ne),{},{currentSlide:et})))),Ye?(Gt={animating:!0,currentSlide:Mt,trackStyle:x(p(p({},ne),{},{left:Rt})),lazyLoadedList:at,targetSlide:Ct},wt={animating:!1,currentSlide:Mt,trackStyle:V(p(p({},ne),{},{left:vt})),swipeLeft:null,targetSlide:Ct}):Gt={currentSlide:Mt,trackStyle:V(p(p({},ne),{},{left:vt})),lazyLoadedList:at,targetSlide:Ct};return{state:Gt,nextState:wt}},te=kt.changeSlide=function(ne,fe){var Te,ze,ke,Fe,Be,We=ne.slidesToScroll,He=ne.slidesToShow,Qe=ne.slideCount,Ve=ne.currentSlide,Le=ne.targetSlide,Ye=ne.lazyLoad,at=ne.infinite;if(Fe=Qe%We!==0,Te=Fe?0:(Qe-Ve)%We,fe.message==="previous")ke=Te===0?We:He-Te,Be=Ve-ke,Ye&&!at&&(ze=Ve-ke,Be=ze===-1?Qe-1:ze),at||(Be=Le-We);else if(fe.message==="next")ke=Te===0?We:Te,Be=Ve+ke,Ye&&!at&&(Be=(Ve+We)%Qe+Te),at||(Be=Le+We);else if(fe.message==="dots")Be=fe.index*fe.slidesToScroll;else if(fe.message==="children"){if(Be=fe.index,at){var et=ve(p(p({},ne),{},{targetSlide:Be}));Be>fe.currentSlide&&et==="left"?Be=Be-Qe:Be<fe.currentSlide&&et==="right"&&(Be=Be+Qe)}}else fe.message==="index"&&(Be=Number(fe.index));return Be},oe=kt.keyHandler=function(ne,fe,Te){return ne.target.tagName.match("TEXTAREA|INPUT|SELECT")||!fe?"":ne.keyCode===37?Te?"next":"previous":ne.keyCode===39?Te?"previous":"next":""},W=kt.swipeStart=function(ne,fe,Te){return ne.target.tagName==="IMG"&&w(ne),!fe||!Te&&ne.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:ne.touches?ne.touches[0].pageX:ne.clientX,startY:ne.touches?ne.touches[0].pageY:ne.clientY,curX:ne.touches?ne.touches[0].pageX:ne.clientX,curY:ne.touches?ne.touches[0].pageY:ne.clientY}}},H=kt.swipeMove=function(ne,fe){var Te=fe.scrolling,ze=fe.animating,ke=fe.vertical,Fe=fe.swipeToSlide,Be=fe.verticalSwiping,We=fe.rtl,He=fe.currentSlide,Qe=fe.edgeFriction,Ve=fe.edgeDragged,Le=fe.onEdge,Ye=fe.swiped,at=fe.swiping,et=fe.slideCount,Mt=fe.slidesToScroll,Rt=fe.infinite,vt=fe.touchObject,Gt=fe.swipeEvent,wt=fe.listHeight,Ct=fe.listWidth;if(!Te){if(ze)return w(ne);ke&&Fe&&Be&&w(ne);var ht,so={},ao=se(fe);vt.curX=ne.touches?ne.touches[0].pageX:ne.clientX,vt.curY=ne.touches?ne.touches[0].pageY:ne.clientY,vt.swipeLength=Math.round(Math.sqrt(Math.pow(vt.curX-vt.startX,2)));var mo=Math.round(Math.sqrt(Math.pow(vt.curY-vt.startY,2)));if(!Be&&!at&&mo>10)return{scrolling:!0};Be&&(vt.swipeLength=mo);var qt=(We?-1:1)*(vt.curX>vt.startX?1:-1);Be&&(qt=vt.curY>vt.startY?1:-1);var ho=Math.ceil(et/Mt),Ht=X(fe.touchObject,Be),go=vt.swipeLength;return Rt||(He===0&&(Ht==="right"||Ht==="down")||He+1>=ho&&(Ht==="left"||Ht==="up")||!Q(fe)&&(Ht==="left"||Ht==="up"))&&(go=vt.swipeLength*Qe,Ve===!1&&Le&&(Le(Ht),so.edgeDragged=!0)),!Ye&&Gt&&(Gt(Ht),so.swiped=!0),ke?ht=ao+go*(wt/Ct)*qt:We?ht=ao-go*qt:ht=ao+go*qt,Be&&(ht=ao+go*qt),so=p(p({},so),{},{touchObject:vt,swipeLeft:ht,trackStyle:V(p(p({},fe),{},{left:ht}))}),Math.abs(vt.curX-vt.startX)<Math.abs(vt.curY-vt.startY)*.8||vt.swipeLength>10&&(so.swiping=!0,w(ne)),so}},R=kt.swipeEnd=function(ne,fe){var Te=fe.dragging,ze=fe.swipe,ke=fe.touchObject,Fe=fe.listWidth,Be=fe.touchThreshold,We=fe.verticalSwiping,He=fe.listHeight,Qe=fe.swipeToSlide,Ve=fe.scrolling,Le=fe.onSwipe,Ye=fe.targetSlide,at=fe.currentSlide,et=fe.infinite;if(!Te)return ze&&w(ne),{};var Mt=We?He/Be:Fe/Be,Rt=X(ke,We),vt={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(Ve||!ke.swipeLength)return vt;if(ke.swipeLength>Mt){w(ne),Le&&Le(Rt);var Gt,wt,Ct=et?at:Ye;switch(Rt){case"left":case"up":wt=Ct+B(fe),Gt=Qe?N(fe,wt):wt,vt.currentDirection=0;break;case"right":case"down":wt=Ct-B(fe),Gt=Qe?N(fe,wt):wt,vt.currentDirection=1;break;default:Gt=Ct}vt.triggerSlideHandler=Gt}else{var ht=se(fe);vt.trackStyle=x(p(p({},fe),{},{left:ht}))}return vt},re=kt.getNavigableIndexes=function(ne){for(var fe=ne.infinite?ne.slideCount*2:ne.slideCount,Te=ne.infinite?ne.slidesToShow*-1:0,ze=ne.infinite?ne.slidesToShow*-1:0,ke=[];Te<fe;)ke.push(Te),Te=ze+ne.slidesToScroll,ze+=Math.min(ne.slidesToScroll,ne.slidesToShow);return ke},N=kt.checkNavigable=function(ne,fe){var Te=re(ne),ze=0;if(fe>Te[Te.length-1])fe=Te[Te.length-1];else for(var ke in Te){if(fe<Te[ke]){fe=ze;break}ze=Te[ke]}return fe},B=kt.getSlideCount=function(ne){var fe=ne.centerMode?ne.slideWidth*Math.floor(ne.slidesToShow/2):0;if(ne.swipeToSlide){var Te,ze=ne.listRef,ke=ze.querySelectorAll&&ze.querySelectorAll(".slick-slide")||[];if(Array.from(ke).every(function(We){if(ne.vertical){if(We.offsetTop+J(We)/2>ne.swipeLeft*-1)return Te=We,!1}else if(We.offsetLeft-fe+F(We)/2>ne.swipeLeft*-1)return Te=We,!1;return!0}),!Te)return 0;var Fe=ne.rtl===!0?ne.slideCount-ne.currentSlide:ne.currentSlide,Be=Math.abs(Te.dataset.index-Fe)||1;return Be}else return ne.slidesToScroll},G=kt.checkSpecKeys=function(ne,fe){return fe.reduce(function(Te,ze){return Te&&ne.hasOwnProperty(ze)},!0)?null:console.error("Keys Missing:",ne)},V=kt.getTrackCSS=function(ne){G(ne,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var fe,Te;if(!ne.vertical)fe=he(ne)*ne.slideWidth;else{var ze=ne.unslick?ne.slideCount:ne.slideCount+2*ne.slidesToShow;Te=ze*ne.slideHeight}var ke={opacity:1,transition:"",WebkitTransition:""};if(ne.useTransform){var Fe=ne.vertical?"translate3d(0px, "+ne.left+"px, 0px)":"translate3d("+ne.left+"px, 0px, 0px)",Be=ne.vertical?"translate3d(0px, "+ne.left+"px, 0px)":"translate3d("+ne.left+"px, 0px, 0px)",We=ne.vertical?"translateY("+ne.left+"px)":"translateX("+ne.left+"px)";ke=p(p({},ke),{},{WebkitTransform:Fe,transform:Be,msTransform:We})}else ne.vertical?ke.top=ne.left:ke.left=ne.left;return ne.fade&&(ke={opacity:1}),fe&&(ke.width=fe),Te&&(ke.height=Te),window&&!window.addEventListener&&window.attachEvent&&(ne.vertical?ke.marginTop=ne.left+"px":ke.marginLeft=ne.left+"px"),ke},x=kt.getTrackAnimateCSS=function(ne){G(ne,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var fe=V(ne);return ne.useTransform?(fe.WebkitTransition="-webkit-transform "+ne.speed+"ms "+ne.cssEase,fe.transition="transform "+ne.speed+"ms "+ne.cssEase):ne.vertical?fe.transition="top "+ne.speed+"ms "+ne.cssEase:fe.transition="left "+ne.speed+"ms "+ne.cssEase,fe},se=kt.getTrackLeft=function(ne){if(ne.unslick)return 0;G(ne,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var fe=ne.slideIndex,Te=ne.trackRef,ze=ne.infinite,ke=ne.centerMode,Fe=ne.slideCount,Be=ne.slidesToShow,We=ne.slidesToScroll,He=ne.slideWidth,Qe=ne.listWidth,Ve=ne.variableWidth,Le=ne.slideHeight,Ye=ne.fade,at=ne.vertical,et=0,Mt,Rt,vt=0;if(Ye||ne.slideCount===1)return 0;var Gt=0;if(ze?(Gt=-Ae(ne),Fe%We!==0&&fe+We>Fe&&(Gt=-(fe>Fe?Be-(fe-Fe):Fe%We)),ke&&(Gt+=parseInt(Be/2))):(Fe%We!==0&&fe+We>Fe&&(Gt=Be-Fe%We),ke&&(Gt=parseInt(Be/2))),et=Gt*He,vt=Gt*Le,at?Mt=fe*Le*-1+vt:Mt=fe*He*-1+et,Ve===!0){var wt,Ct=Te&&Te.node;if(wt=fe+Ae(ne),Rt=Ct&&Ct.childNodes[wt],Mt=Rt?Rt.offsetLeft*-1:0,ke===!0){wt=ze?fe+Ae(ne):fe,Rt=Ct&&Ct.children[wt],Mt=0;for(var ht=0;ht<wt;ht++)Mt-=Ct&&Ct.children[ht]&&Ct.children[ht].offsetWidth;Mt-=parseInt(ne.centerPadding),Mt+=Rt&&(Qe-Rt.offsetWidth)/2}}return Mt},Ae=kt.getPreClones=function(ne){return ne.unslick||!ne.infinite?0:ne.variableWidth?ne.slideCount:ne.slidesToShow+(ne.centerMode?1:0)},le=kt.getPostClones=function(ne){return ne.unslick||!ne.infinite?0:ne.variableWidth?ne.slideCount:ne.slidesToShow+(ne.centerMode?1:0)},he=kt.getTotalSlides=function(ne){return ne.slideCount===1?1:Ae(ne)+ne.slideCount+le(ne)},ve=kt.siblingDirection=function(ne){return ne.targetSlide>ne.currentSlide?ne.targetSlide>ne.currentSlide+xe(ne)?"left":"right":ne.targetSlide<ne.currentSlide-Me(ne)?"right":"left"},xe=kt.slidesOnRight=function(ne){var fe=ne.slidesToShow,Te=ne.centerMode,ze=ne.rtl,ke=ne.centerPadding;if(Te){var Fe=(fe-1)/2+1;return parseInt(ke)>0&&(Fe+=1),ze&&fe%2===0&&(Fe+=1),Fe}return ze?0:fe-1},Me=kt.slidesOnLeft=function(ne){var fe=ne.slidesToShow,Te=ne.centerMode,ze=ne.rtl,ke=ne.centerPadding;if(Te){var Fe=(fe-1)/2+1;return parseInt(ke)>0&&(Fe+=1),!ze&&fe%2===0&&(Fe+=1),Fe}return ze?fe-1:0},je=kt.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},De=kt.validSettings=Object.keys(t.default);function Ge(Pe){return De.reduce(function(ne,fe){return Pe.hasOwnProperty(fe)&&(ne[fe]=Pe[fe]),ne},{})}return kt}var jA={},Wm;function wZ(){if(Wm)return jA;Wm=1,Object.defineProperty(jA,"__esModule",{value:!0}),jA.Track=void 0;var e=A(we),t=A(Hl()),i=Zl();function A(W){return W&&W.__esModule?W:{default:W}}function c(W){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},c(W)}function p(){return p=Object.assign?Object.assign.bind():function(W){for(var H=1;H<arguments.length;H++){var R=arguments[H];for(var re in R)({}).hasOwnProperty.call(R,re)&&(W[re]=R[re])}return W},p.apply(null,arguments)}function m(W,H){if(!(W instanceof H))throw new TypeError("Cannot call a class as a function")}function h(W,H){for(var R=0;R<H.length;R++){var re=H[R];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(W,X(re.key),re)}}function y(W,H,R){return H&&h(W.prototype,H),R&&h(W,R),Object.defineProperty(W,"prototype",{writable:!1}),W}function v(W,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(H&&H.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),Object.defineProperty(W,"prototype",{writable:!1}),H&&w(W,H)}function w(W,H){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,re){return R.__proto__=re,R},w(W,H)}function C(W){var H=I();return function(){var R,re=S(W);if(H){var N=S(this).constructor;R=Reflect.construct(re,arguments,N)}else R=re.apply(this,arguments);return M(this,R)}}function M(W,H){if(H&&(c(H)=="object"||typeof H=="function"))return H;if(H!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P(W)}function P(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function I(){try{var W=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(I=function(){return!!W})()}function S(W){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(H){return H.__proto__||Object.getPrototypeOf(H)},S(W)}function O(W,H){var R=Object.keys(W);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(W);H&&(re=re.filter(function(N){return Object.getOwnPropertyDescriptor(W,N).enumerable})),R.push.apply(R,re)}return R}function F(W){for(var H=1;H<arguments.length;H++){var R=arguments[H]!=null?arguments[H]:{};H%2?O(Object(R),!0).forEach(function(re){J(W,re,R[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(R)):O(Object(R)).forEach(function(re){Object.defineProperty(W,re,Object.getOwnPropertyDescriptor(R,re))})}return W}function J(W,H,R){return(H=X(H))in W?Object.defineProperty(W,H,{value:R,enumerable:!0,configurable:!0,writable:!0}):W[H]=R,W}function X(W){var H=Q(W,"string");return c(H)=="symbol"?H:H+""}function Q(W,H){if(c(W)!="object"||!W)return W;var R=W[Symbol.toPrimitive];if(R!==void 0){var re=R.call(W,H||"default");if(c(re)!="object")return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(W)}var ee=function(H){var R,re,N,B,G;H.rtl?G=H.slideCount-1-H.index:G=H.index,N=G<0||G>=H.slideCount,H.centerMode?(B=Math.floor(H.slidesToShow/2),re=(G-H.currentSlide)%H.slideCount===0,G>H.currentSlide-B-1&&G<=H.currentSlide+B&&(R=!0)):R=H.currentSlide<=G&&G<H.currentSlide+H.slidesToShow;var V;H.targetSlide<0?V=H.targetSlide+H.slideCount:H.targetSlide>=H.slideCount?V=H.targetSlide-H.slideCount:V=H.targetSlide;var x=G===V;return{"slick-slide":!0,"slick-active":R,"slick-center":re,"slick-cloned":N,"slick-current":x}},Y=function(H){var R={};return(H.variableWidth===void 0||H.variableWidth===!1)&&(R.width=H.slideWidth),H.fade&&(R.position="relative",H.vertical?R.top=-H.index*parseInt(H.slideHeight):R.left=-H.index*parseInt(H.slideWidth),R.opacity=H.currentSlide===H.index?1:0,R.zIndex=H.currentSlide===H.index?999:998,H.useCSS&&(R.transition="opacity "+H.speed+"ms "+H.cssEase+", visibility "+H.speed+"ms "+H.cssEase)),R},q=function(H,R){return H.key||R},te=function(H){var R,re=[],N=[],B=[],G=e.default.Children.count(H.children),V=(0,i.lazyStartIndex)(H),x=(0,i.lazyEndIndex)(H);return e.default.Children.forEach(H.children,function(se,Ae){var le,he={message:"children",index:Ae,slidesToScroll:H.slidesToScroll,currentSlide:H.currentSlide};!H.lazyLoad||H.lazyLoad&&H.lazyLoadedList.indexOf(Ae)>=0?le=se:le=e.default.createElement("div",null);var ve=Y(F(F({},H),{},{index:Ae})),xe=le.props.className||"",Me=ee(F(F({},H),{},{index:Ae}));if(re.push(e.default.cloneElement(le,{key:"original"+q(le,Ae),"data-index":Ae,className:(0,t.default)(Me,xe),tabIndex:"-1","aria-hidden":!Me["slick-active"],style:F(F({outline:"none"},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}})),H.infinite&&G>1&&H.fade===!1&&!H.unslick){var je=G-Ae;je<=(0,i.getPreClones)(H)&&(R=-je,R>=V&&(le=se),Me=ee(F(F({},H),{},{index:R})),N.push(e.default.cloneElement(le,{key:"precloned"+q(le,R),"data-index":R,tabIndex:"-1",className:(0,t.default)(Me,xe),"aria-hidden":!Me["slick-active"],style:F(F({},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}}))),Ae<(0,i.getPostClones)(H)&&(R=G+Ae,R<x&&(le=se),Me=ee(F(F({},H),{},{index:R})),B.push(e.default.cloneElement(le,{key:"postcloned"+q(le,R),"data-index":R,tabIndex:"-1",className:(0,t.default)(Me,xe),"aria-hidden":!Me["slick-active"],style:F(F({},le.props.style||{}),ve),onClick:function(Ge){le.props&&le.props.onClick&&le.props.onClick(Ge),H.focusOnSelect&&H.focusOnSelect(he)}})))}}),H.rtl?N.concat(re,B).reverse():N.concat(re,B)},oe=jA.Track=(function(W){v(R,W);var H=C(R);function R(){var re;m(this,R);for(var N=arguments.length,B=new Array(N),G=0;G<N;G++)B[G]=arguments[G];return re=H.call.apply(H,[this].concat(B)),J(P(re),"node",null),J(P(re),"handleRef",function(V){re.node=V}),re}return y(R,[{key:"render",value:function(){var N=te(this.props),B=this.props,G=B.onMouseEnter,V=B.onMouseOver,x=B.onMouseLeave,se={onMouseEnter:G,onMouseOver:V,onMouseLeave:x};return e.default.createElement("div",p({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},se),N)}}]),R})(e.default.PureComponent);return jA}var BA={},Zm;function TZ(){if(Zm)return BA;Zm=1;function e(Y){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},e(Y)}Object.defineProperty(BA,"__esModule",{value:!0}),BA.Dots=void 0;var t=c(we),i=c(Hl()),A=Zl();function c(Y){return Y&&Y.__esModule?Y:{default:Y}}function p(Y,q){var te=Object.keys(Y);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Y);q&&(oe=oe.filter(function(W){return Object.getOwnPropertyDescriptor(Y,W).enumerable})),te.push.apply(te,oe)}return te}function m(Y){for(var q=1;q<arguments.length;q++){var te=arguments[q]!=null?arguments[q]:{};q%2?p(Object(te),!0).forEach(function(oe){h(Y,oe,te[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(te)):p(Object(te)).forEach(function(oe){Object.defineProperty(Y,oe,Object.getOwnPropertyDescriptor(te,oe))})}return Y}function h(Y,q,te){return(q=C(q))in Y?Object.defineProperty(Y,q,{value:te,enumerable:!0,configurable:!0,writable:!0}):Y[q]=te,Y}function y(Y,q){if(!(Y instanceof q))throw new TypeError("Cannot call a class as a function")}function v(Y,q){for(var te=0;te<q.length;te++){var oe=q[te];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(Y,C(oe.key),oe)}}function w(Y,q,te){return q&&v(Y.prototype,q),te&&v(Y,te),Object.defineProperty(Y,"prototype",{writable:!1}),Y}function C(Y){var q=M(Y,"string");return e(q)=="symbol"?q:q+""}function M(Y,q){if(e(Y)!="object"||!Y)return Y;var te=Y[Symbol.toPrimitive];if(te!==void 0){var oe=te.call(Y,q||"default");if(e(oe)!="object")return oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(q==="string"?String:Number)(Y)}function P(Y,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");Y.prototype=Object.create(q&&q.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),Object.defineProperty(Y,"prototype",{writable:!1}),q&&I(Y,q)}function I(Y,q){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(te,oe){return te.__proto__=oe,te},I(Y,q)}function S(Y){var q=J();return function(){var te,oe=X(Y);if(q){var W=X(this).constructor;te=Reflect.construct(oe,arguments,W)}else te=oe.apply(this,arguments);return O(this,te)}}function O(Y,q){if(q&&(e(q)=="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(Y)}function F(Y){if(Y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function J(){try{var Y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J=function(){return!!Y})()}function X(Y){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(q){return q.__proto__||Object.getPrototypeOf(q)},X(Y)}var Q=function(q){var te;return q.infinite?te=Math.ceil(q.slideCount/q.slidesToScroll):te=Math.ceil((q.slideCount-q.slidesToShow)/q.slidesToScroll)+1,te},ee=BA.Dots=(function(Y){P(te,Y);var q=S(te);function te(){return y(this,te),q.apply(this,arguments)}return w(te,[{key:"clickHandler",value:function(W,H){H.preventDefault(),this.props.clickHandler(W)}},{key:"render",value:function(){for(var W=this.props,H=W.onMouseEnter,R=W.onMouseOver,re=W.onMouseLeave,N=W.infinite,B=W.slidesToScroll,G=W.slidesToShow,V=W.slideCount,x=W.currentSlide,se=Q({slideCount:V,slidesToScroll:B,slidesToShow:G,infinite:N}),Ae={onMouseEnter:H,onMouseOver:R,onMouseLeave:re},le=[],he=0;he<se;he++){var ve=(he+1)*B-1,xe=N?ve:(0,A.clamp)(ve,0,V-1),Me=xe-(B-1),je=N?Me:(0,A.clamp)(Me,0,V-1),De=(0,i.default)({"slick-active":N?x>=je&&x<=xe:x===je}),Ge={message:"dots",index:he,slidesToScroll:B,currentSlide:x},Pe=this.clickHandler.bind(this,Ge);le=le.concat(t.default.createElement("li",{key:he,className:De},t.default.cloneElement(this.props.customPaging(he),{onClick:Pe})))}return t.default.cloneElement(this.props.appendDots(le),m({className:this.props.dotsClass},Ae))}}]),te})(t.default.PureComponent);return BA}var Wi={},Qm;function CZ(){if(Qm)return Wi;Qm=1;function e(q){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(te){return typeof te}:function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te},e(q)}Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.PrevArrow=Wi.NextArrow=void 0;var t=c(we),i=c(Hl()),A=Zl();function c(q){return q&&q.__esModule?q:{default:q}}function p(){return p=Object.assign?Object.assign.bind():function(q){for(var te=1;te<arguments.length;te++){var oe=arguments[te];for(var W in oe)({}).hasOwnProperty.call(oe,W)&&(q[W]=oe[W])}return q},p.apply(null,arguments)}function m(q,te){var oe=Object.keys(q);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(q);te&&(W=W.filter(function(H){return Object.getOwnPropertyDescriptor(q,H).enumerable})),oe.push.apply(oe,W)}return oe}function h(q){for(var te=1;te<arguments.length;te++){var oe=arguments[te]!=null?arguments[te]:{};te%2?m(Object(oe),!0).forEach(function(W){y(q,W,oe[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(oe)):m(Object(oe)).forEach(function(W){Object.defineProperty(q,W,Object.getOwnPropertyDescriptor(oe,W))})}return q}function y(q,te,oe){return(te=M(te))in q?Object.defineProperty(q,te,{value:oe,enumerable:!0,configurable:!0,writable:!0}):q[te]=oe,q}function v(q,te){if(!(q instanceof te))throw new TypeError("Cannot call a class as a function")}function w(q,te){for(var oe=0;oe<te.length;oe++){var W=te[oe];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(q,M(W.key),W)}}function C(q,te,oe){return te&&w(q.prototype,te),oe&&w(q,oe),Object.defineProperty(q,"prototype",{writable:!1}),q}function M(q){var te=P(q,"string");return e(te)=="symbol"?te:te+""}function P(q,te){if(e(q)!="object"||!q)return q;var oe=q[Symbol.toPrimitive];if(oe!==void 0){var W=oe.call(q,te||"default");if(e(W)!="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return(te==="string"?String:Number)(q)}function I(q,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");q.prototype=Object.create(te&&te.prototype,{constructor:{value:q,writable:!0,configurable:!0}}),Object.defineProperty(q,"prototype",{writable:!1}),te&&S(q,te)}function S(q,te){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(oe,W){return oe.__proto__=W,oe},S(q,te)}function O(q){var te=X();return function(){var oe,W=Q(q);if(te){var H=Q(this).constructor;oe=Reflect.construct(W,arguments,H)}else oe=W.apply(this,arguments);return F(this,oe)}}function F(q,te){if(te&&(e(te)=="object"||typeof te=="function"))return te;if(te!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(q)}function J(q){if(q===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q}function X(){try{var q=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X=function(){return!!q})()}function Q(q){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(te){return te.__proto__||Object.getPrototypeOf(te)},Q(q)}var ee=Wi.PrevArrow=(function(q){I(oe,q);var te=O(oe);function oe(){return v(this,oe),te.apply(this,arguments)}return C(oe,[{key:"clickHandler",value:function(H,R){R&&R.preventDefault(),this.props.clickHandler(H,R)}},{key:"render",value:function(){var H={"slick-arrow":!0,"slick-prev":!0},R=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(H["slick-disabled"]=!0,R=null);var re={key:"0","data-role":"none",className:(0,i.default)(H),style:{display:"block"},onClick:R},N={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},B;return this.props.prevArrow?B=t.default.cloneElement(this.props.prevArrow,h(h({},re),N)):B=t.default.createElement("button",p({key:"0",type:"button"},re)," ","Previous"),B}}]),oe})(t.default.PureComponent),Y=Wi.NextArrow=(function(q){I(oe,q);var te=O(oe);function oe(){return v(this,oe),te.apply(this,arguments)}return C(oe,[{key:"clickHandler",value:function(H,R){R&&R.preventDefault(),this.props.clickHandler(H,R)}},{key:"render",value:function(){var H={"slick-arrow":!0,"slick-next":!0},R=this.clickHandler.bind(this,{message:"next"});(0,A.canGoNext)(this.props)||(H["slick-disabled"]=!0,R=null);var re={key:"1","data-role":"none",className:(0,i.default)(H),style:{display:"block"},onClick:R},N={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},B;return this.props.nextArrow?B=t.default.cloneElement(this.props.nextArrow,h(h({},re),N)):B=t.default.createElement("button",p({key:"1",type:"button"},re)," ","Next"),B}}]),oe})(t.default.PureComponent);return Wi}var Td={},E9=(function(){if(typeof Map<"u")return Map;function e(t,i){var A=-1;return t.some(function(c,p){return c[0]===i?(A=p,!0):!1}),A}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(i){var A=e(this.__entries__,i),c=this.__entries__[A];return c&&c[1]},t.prototype.set=function(i,A){var c=e(this.__entries__,i);~c?this.__entries__[c][1]=A:this.__entries__.push([i,A])},t.prototype.delete=function(i){var A=this.__entries__,c=e(A,i);~c&&A.splice(c,1)},t.prototype.has=function(i){return!!~e(this.__entries__,i)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(i,A){A===void 0&&(A=null);for(var c=0,p=this.__entries__;c<p.length;c++){var m=p[c];i.call(A,m[1],m[0])}},t})()})(),vp=typeof window<"u"&&typeof document<"u"&&window.document===document,Kc=(function(){return typeof Td<"u"&&Td.Math===Math?Td:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),xZ=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Kc):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),PZ=2;function MZ(e,t){var i=!1,A=!1,c=0;function p(){i&&(i=!1,e()),A&&h()}function m(){xZ(p)}function h(){var y=Date.now();if(i){if(y-c<PZ)return;A=!0}else i=!0,A=!1,setTimeout(m,t);c=y}return h}var SZ=20,IZ=["top","right","bottom","left","width","height","size","weight"],kZ=typeof MutationObserver<"u",DZ=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=MZ(this.refresh.bind(this),SZ)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var i=this.observers_,A=i.indexOf(t);~A&&i.splice(A,1),!i.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(i){return i.gatherActive(),i.hasActive()});return t.forEach(function(i){return i.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!vp||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),kZ?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!vp||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var i=t.propertyName,A=i===void 0?"":i,c=IZ.some(function(p){return!!~A.indexOf(p)});c&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),R9=(function(e,t){for(var i=0,A=Object.keys(t);i<A.length;i++){var c=A[i];Object.defineProperty(e,c,{value:t[c],enumerable:!1,writable:!1,configurable:!0})}return e}),sa=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Kc}),j9=Zu(0,0,0,0);function $c(e){return parseFloat(e)||0}function qm(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.reduce(function(A,c){var p=e["border-"+c+"-width"];return A+$c(p)},0)}function OZ(e){for(var t=["top","right","bottom","left"],i={},A=0,c=t;A<c.length;A++){var p=c[A],m=e["padding-"+p];i[p]=$c(m)}return i}function EZ(e){var t=e.getBBox();return Zu(0,0,t.width,t.height)}function RZ(e){var t=e.clientWidth,i=e.clientHeight;if(!t&&!i)return j9;var A=sa(e).getComputedStyle(e),c=OZ(A),p=c.left+c.right,m=c.top+c.bottom,h=$c(A.width),y=$c(A.height);if(A.boxSizing==="border-box"&&(Math.round(h+p)!==t&&(h-=qm(A,"left","right")+p),Math.round(y+m)!==i&&(y-=qm(A,"top","bottom")+m)),!BZ(e)){var v=Math.round(h+p)-t,w=Math.round(y+m)-i;Math.abs(v)!==1&&(h-=v),Math.abs(w)!==1&&(y-=w)}return Zu(c.left,c.top,h,y)}var jZ=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof sa(e).SVGGraphicsElement}:function(e){return e instanceof sa(e).SVGElement&&typeof e.getBBox=="function"}})();function BZ(e){return e===sa(e).document.documentElement}function LZ(e){return vp?jZ(e)?EZ(e):RZ(e):j9}function zZ(e){var t=e.x,i=e.y,A=e.width,c=e.height,p=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,m=Object.create(p.prototype);return R9(m,{x:t,y:i,width:A,height:c,top:i,right:t+A,bottom:c+i,left:t}),m}function Zu(e,t,i,A){return{x:e,y:t,width:i,height:A}}var NZ=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zu(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=LZ(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),FZ=(function(){function e(t,i){var A=zZ(i);R9(this,{target:t,contentRect:A})}return e})(),VZ=(function(){function e(t,i,A){if(this.activeObservations_=[],this.observations_=new E9,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=i,this.callbackCtx_=A}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)||(i.set(t,new NZ(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof sa(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var i=this.observations_;i.has(t)&&(i.delete(t),i.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(i){i.isActive()&&t.activeObservations_.push(i)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,i=this.activeObservations_.map(function(A){return new FZ(A.target,A.broadcastRect())});this.callback_.call(t,i,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),B9=typeof WeakMap<"u"?new WeakMap:new E9,L9=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=DZ.getInstance(),A=new VZ(t,i,this);B9.set(this,A)}return e})();["observe","unobserve","disconnect"].forEach(function(e){L9.prototype[e]=function(){var t;return(t=B9.get(this))[e].apply(t,arguments)}});var GZ=(function(){return typeof Kc.ResizeObserver<"u"?Kc.ResizeObserver:L9})();const HZ=Object.freeze(Object.defineProperty({__proto__:null,default:GZ},Symbol.toStringTag,{value:"Module"})),WZ=c8(HZ);var Ym;function ZZ(){if(Ym)return RA;Ym=1,Object.defineProperty(RA,"__esModule",{value:!0}),RA.InnerSlider=void 0;var e=v(we),t=v(bZ()),i=v(vZ()),A=v(Hl()),c=Zl(),p=wZ(),m=TZ(),h=CZ(),y=v(WZ);function v(N){return N&&N.__esModule?N:{default:N}}function w(N){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},w(N)}function C(){return C=Object.assign?Object.assign.bind():function(N){for(var B=1;B<arguments.length;B++){var G=arguments[B];for(var V in G)({}).hasOwnProperty.call(G,V)&&(N[V]=G[V])}return N},C.apply(null,arguments)}function M(N,B){if(N==null)return{};var G,V,x=P(N,B);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(N);for(V=0;V<se.length;V++)G=se[V],B.includes(G)||{}.propertyIsEnumerable.call(N,G)&&(x[G]=N[G])}return x}function P(N,B){if(N==null)return{};var G={};for(var V in N)if({}.hasOwnProperty.call(N,V)){if(B.includes(V))continue;G[V]=N[V]}return G}function I(N,B){var G=Object.keys(N);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(N);B&&(V=V.filter(function(x){return Object.getOwnPropertyDescriptor(N,x).enumerable})),G.push.apply(G,V)}return G}function S(N){for(var B=1;B<arguments.length;B++){var G=arguments[B]!=null?arguments[B]:{};B%2?I(Object(G),!0).forEach(function(V){W(N,V,G[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(G)):I(Object(G)).forEach(function(V){Object.defineProperty(N,V,Object.getOwnPropertyDescriptor(G,V))})}return N}function O(N,B){if(!(N instanceof B))throw new TypeError("Cannot call a class as a function")}function F(N,B){for(var G=0;G<B.length;G++){var V=B[G];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(N,H(V.key),V)}}function J(N,B,G){return B&&F(N.prototype,B),G&&F(N,G),Object.defineProperty(N,"prototype",{writable:!1}),N}function X(N,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(B&&B.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),Object.defineProperty(N,"prototype",{writable:!1}),B&&Q(N,B)}function Q(N,B){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(G,V){return G.__proto__=V,G},Q(N,B)}function ee(N){var B=te();return function(){var G,V=oe(N);if(B){var x=oe(this).constructor;G=Reflect.construct(V,arguments,x)}else G=V.apply(this,arguments);return Y(this,G)}}function Y(N,B){if(B&&(w(B)=="object"||typeof B=="function"))return B;if(B!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return q(N)}function q(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function te(){try{var N=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(te=function(){return!!N})()}function oe(N){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(B){return B.__proto__||Object.getPrototypeOf(B)},oe(N)}function W(N,B,G){return(B=H(B))in N?Object.defineProperty(N,B,{value:G,enumerable:!0,configurable:!0,writable:!0}):N[B]=G,N}function H(N){var B=R(N,"string");return w(B)=="symbol"?B:B+""}function R(N,B){if(w(N)!="object"||!N)return N;var G=N[Symbol.toPrimitive];if(G!==void 0){var V=G.call(N,B||"default");if(w(V)!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return(B==="string"?String:Number)(N)}var re=RA.InnerSlider=(function(N){X(G,N);var B=ee(G);function G(V){var x;O(this,G),x=B.call(this,V),W(q(x),"listRefHandler",function(Ae){return x.list=Ae}),W(q(x),"trackRefHandler",function(Ae){return x.track=Ae}),W(q(x),"adaptHeight",function(){if(x.props.adaptiveHeight&&x.list){var Ae=x.list.querySelector('[data-index="'.concat(x.state.currentSlide,'"]'));x.list.style.height=(0,c.getHeight)(Ae)+"px"}}),W(q(x),"componentDidMount",function(){if(x.props.onInit&&x.props.onInit(),x.props.lazyLoad){var Ae=(0,c.getOnDemandLazySlides)(S(S({},x.props),x.state));Ae.length>0&&(x.setState(function(he){return{lazyLoadedList:he.lazyLoadedList.concat(Ae)}}),x.props.onLazyLoad&&x.props.onLazyLoad(Ae))}var le=S({listRef:x.list,trackRef:x.track},x.props);x.updateState(le,!0,function(){x.adaptHeight(),x.props.autoplay&&x.autoPlay("update")}),x.props.lazyLoad==="progressive"&&(x.lazyLoadTimer=setInterval(x.progressiveLazyLoad,1e3)),x.ro=new y.default(function(){x.state.animating?(x.onWindowResized(!1),x.callbackTimers.push(setTimeout(function(){return x.onWindowResized()},x.props.speed))):x.onWindowResized()}),x.ro.observe(x.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(he){he.onfocus=x.props.pauseOnFocus?x.onSlideFocus:null,he.onblur=x.props.pauseOnFocus?x.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",x.onWindowResized):window.attachEvent("onresize",x.onWindowResized)}),W(q(x),"componentWillUnmount",function(){x.animationEndCallback&&clearTimeout(x.animationEndCallback),x.lazyLoadTimer&&clearInterval(x.lazyLoadTimer),x.callbackTimers.length&&(x.callbackTimers.forEach(function(Ae){return clearTimeout(Ae)}),x.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",x.onWindowResized):window.detachEvent("onresize",x.onWindowResized),x.autoplayTimer&&clearInterval(x.autoplayTimer),x.ro.disconnect()}),W(q(x),"componentDidUpdate",function(Ae){if(x.checkImagesLoad(),x.props.onReInit&&x.props.onReInit(),x.props.lazyLoad){var le=(0,c.getOnDemandLazySlides)(S(S({},x.props),x.state));le.length>0&&(x.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(le)}}),x.props.onLazyLoad&&x.props.onLazyLoad(le))}x.adaptHeight();var he=S(S({listRef:x.list,trackRef:x.track},x.props),x.state),ve=x.didPropsChange(Ae);ve&&x.updateState(he,ve,function(){x.state.currentSlide>=e.default.Children.count(x.props.children)&&x.changeSlide({message:"index",index:e.default.Children.count(x.props.children)-x.props.slidesToShow,currentSlide:x.state.currentSlide}),x.props.autoplay?x.autoPlay("update"):x.pause("paused")})}),W(q(x),"onWindowResized",function(Ae){x.debouncedResize&&x.debouncedResize.cancel(),x.debouncedResize=(0,i.default)(function(){return x.resizeWindow(Ae)},50),x.debouncedResize()}),W(q(x),"resizeWindow",function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,le=!!(x.track&&x.track.node);if(le){var he=S(S({listRef:x.list,trackRef:x.track},x.props),x.state);x.updateState(he,Ae,function(){x.props.autoplay?x.autoPlay("update"):x.pause("paused")}),x.setState({animating:!1}),clearTimeout(x.animationEndCallback),delete x.animationEndCallback}}),W(q(x),"updateState",function(Ae,le,he){var ve=(0,c.initializedState)(Ae);Ae=S(S(S({},Ae),ve),{},{slideIndex:ve.currentSlide});var xe=(0,c.getTrackLeft)(Ae);Ae=S(S({},Ae),{},{left:xe});var Me=(0,c.getTrackCSS)(Ae);(le||e.default.Children.count(x.props.children)!==e.default.Children.count(Ae.children))&&(ve.trackStyle=Me),x.setState(ve,he)}),W(q(x),"ssrInit",function(){if(x.props.variableWidth){var Ae=0,le=0,he=[],ve=(0,c.getPreClones)(S(S(S({},x.props),x.state),{},{slideCount:x.props.children.length})),xe=(0,c.getPostClones)(S(S(S({},x.props),x.state),{},{slideCount:x.props.children.length}));x.props.children.forEach(function(We){he.push(We.props.style.width),Ae+=We.props.style.width});for(var Me=0;Me<ve;Me++)le+=he[he.length-1-Me],Ae+=he[he.length-1-Me];for(var je=0;je<xe;je++)Ae+=he[je];for(var De=0;De<x.state.currentSlide;De++)le+=he[De];var Ge={width:Ae+"px",left:-le+"px"};if(x.props.centerMode){var Pe="".concat(he[x.state.currentSlide],"px");Ge.left="calc(".concat(Ge.left," + (100% - ").concat(Pe,") / 2 ) ")}return{trackStyle:Ge}}var ne=e.default.Children.count(x.props.children),fe=S(S(S({},x.props),x.state),{},{slideCount:ne}),Te=(0,c.getPreClones)(fe)+(0,c.getPostClones)(fe)+ne,ze=100/x.props.slidesToShow*Te,ke=100/Te,Fe=-ke*((0,c.getPreClones)(fe)+x.state.currentSlide)*ze/100;x.props.centerMode&&(Fe+=(100-ke*ze/100)/2);var Be={width:ze+"%",left:Fe+"%"};return{slideWidth:ke+"%",trackStyle:Be}}),W(q(x),"checkImagesLoad",function(){var Ae=x.list&&x.list.querySelectorAll&&x.list.querySelectorAll(".slick-slide img")||[],le=Ae.length,he=0;Array.prototype.forEach.call(Ae,function(ve){var xe=function(){return++he&&he>=le&&x.onWindowResized()};if(!ve.onclick)ve.onclick=function(){return ve.parentNode.focus()};else{var Me=ve.onclick;ve.onclick=function(je){Me(je),ve.parentNode.focus()}}ve.onload||(x.props.lazyLoad?ve.onload=function(){x.adaptHeight(),x.callbackTimers.push(setTimeout(x.onWindowResized,x.props.speed))}:(ve.onload=xe,ve.onerror=function(){xe(),x.props.onLazyLoadError&&x.props.onLazyLoadError()}))})}),W(q(x),"progressiveLazyLoad",function(){for(var Ae=[],le=S(S({},x.props),x.state),he=x.state.currentSlide;he<x.state.slideCount+(0,c.getPostClones)(le);he++)if(x.state.lazyLoadedList.indexOf(he)<0){Ae.push(he);break}for(var ve=x.state.currentSlide-1;ve>=-(0,c.getPreClones)(le);ve--)if(x.state.lazyLoadedList.indexOf(ve)<0){Ae.push(ve);break}Ae.length>0?(x.setState(function(xe){return{lazyLoadedList:xe.lazyLoadedList.concat(Ae)}}),x.props.onLazyLoad&&x.props.onLazyLoad(Ae)):x.lazyLoadTimer&&(clearInterval(x.lazyLoadTimer),delete x.lazyLoadTimer)}),W(q(x),"slideHandler",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=x.props,ve=he.asNavFor,xe=he.beforeChange,Me=he.onLazyLoad,je=he.speed,De=he.afterChange,Ge=x.state.currentSlide,Pe=(0,c.slideHandler)(S(S(S({index:Ae},x.props),x.state),{},{trackRef:x.track,useCSS:x.props.useCSS&&!le})),ne=Pe.state,fe=Pe.nextState;if(ne){xe&&xe(Ge,ne.currentSlide);var Te=ne.lazyLoadedList.filter(function(ze){return x.state.lazyLoadedList.indexOf(ze)<0});Me&&Te.length>0&&Me(Te),!x.props.waitForAnimate&&x.animationEndCallback&&(clearTimeout(x.animationEndCallback),De&&De(Ge),delete x.animationEndCallback),x.setState(ne,function(){ve&&x.asNavForIndex!==Ae&&(x.asNavForIndex=Ae,ve.innerSlider.slideHandler(Ae)),fe&&(x.animationEndCallback=setTimeout(function(){var ze=fe.animating,ke=M(fe,["animating"]);x.setState(ke,function(){x.callbackTimers.push(setTimeout(function(){return x.setState({animating:ze})},10)),De&&De(ne.currentSlide),delete x.animationEndCallback})},je))})}}),W(q(x),"changeSlide",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=S(S({},x.props),x.state),ve=(0,c.changeSlide)(he,Ae);if(!(ve!==0&&!ve)&&(le===!0?x.slideHandler(ve,le):x.slideHandler(ve),x.props.autoplay&&x.autoPlay("update"),x.props.focusOnSelect)){var xe=x.list.querySelectorAll(".slick-current");xe[0]&&xe[0].focus()}}),W(q(x),"clickHandler",function(Ae){x.clickable===!1&&(Ae.stopPropagation(),Ae.preventDefault()),x.clickable=!0}),W(q(x),"keyHandler",function(Ae){var le=(0,c.keyHandler)(Ae,x.props.accessibility,x.props.rtl);le!==""&&x.changeSlide({message:le})}),W(q(x),"selectHandler",function(Ae){x.changeSlide(Ae)}),W(q(x),"disableBodyScroll",function(){var Ae=function(he){he=he||window.event,he.preventDefault&&he.preventDefault(),he.returnValue=!1};window.ontouchmove=Ae}),W(q(x),"enableBodyScroll",function(){window.ontouchmove=null}),W(q(x),"swipeStart",function(Ae){x.props.verticalSwiping&&x.disableBodyScroll();var le=(0,c.swipeStart)(Ae,x.props.swipe,x.props.draggable);le!==""&&x.setState(le)}),W(q(x),"swipeMove",function(Ae){var le=(0,c.swipeMove)(Ae,S(S(S({},x.props),x.state),{},{trackRef:x.track,listRef:x.list,slideIndex:x.state.currentSlide}));le&&(le.swiping&&(x.clickable=!1),x.setState(le))}),W(q(x),"swipeEnd",function(Ae){var le=(0,c.swipeEnd)(Ae,S(S(S({},x.props),x.state),{},{trackRef:x.track,listRef:x.list,slideIndex:x.state.currentSlide}));if(le){var he=le.triggerSlideHandler;delete le.triggerSlideHandler,x.setState(le),he!==void 0&&(x.slideHandler(he),x.props.verticalSwiping&&x.enableBodyScroll())}}),W(q(x),"touchEnd",function(Ae){x.swipeEnd(Ae),x.clickable=!0}),W(q(x),"slickPrev",function(){x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"previous"})},0))}),W(q(x),"slickNext",function(){x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"next"})},0))}),W(q(x),"slickGoTo",function(Ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ae=Number(Ae),isNaN(Ae))return"";x.callbackTimers.push(setTimeout(function(){return x.changeSlide({message:"index",index:Ae,currentSlide:x.state.currentSlide},le)},0))}),W(q(x),"play",function(){var Ae;if(x.props.rtl)Ae=x.state.currentSlide-x.props.slidesToScroll;else if((0,c.canGoNext)(S(S({},x.props),x.state)))Ae=x.state.currentSlide+x.props.slidesToScroll;else return!1;x.slideHandler(Ae)}),W(q(x),"autoPlay",function(Ae){x.autoplayTimer&&clearInterval(x.autoplayTimer);var le=x.state.autoplaying;if(Ae==="update"){if(le==="hovered"||le==="focused"||le==="paused")return}else if(Ae==="leave"){if(le==="paused"||le==="focused")return}else if(Ae==="blur"&&(le==="paused"||le==="hovered"))return;x.autoplayTimer=setInterval(x.play,x.props.autoplaySpeed+50),x.setState({autoplaying:"playing"})}),W(q(x),"pause",function(Ae){x.autoplayTimer&&(clearInterval(x.autoplayTimer),x.autoplayTimer=null);var le=x.state.autoplaying;Ae==="paused"?x.setState({autoplaying:"paused"}):Ae==="focused"?(le==="hovered"||le==="playing")&&x.setState({autoplaying:"focused"}):le==="playing"&&x.setState({autoplaying:"hovered"})}),W(q(x),"onDotsOver",function(){return x.props.autoplay&&x.pause("hovered")}),W(q(x),"onDotsLeave",function(){return x.props.autoplay&&x.state.autoplaying==="hovered"&&x.autoPlay("leave")}),W(q(x),"onTrackOver",function(){return x.props.autoplay&&x.pause("hovered")}),W(q(x),"onTrackLeave",function(){return x.props.autoplay&&x.state.autoplaying==="hovered"&&x.autoPlay("leave")}),W(q(x),"onSlideFocus",function(){return x.props.autoplay&&x.pause("focused")}),W(q(x),"onSlideBlur",function(){return x.props.autoplay&&x.state.autoplaying==="focused"&&x.autoPlay("blur")}),W(q(x),"render",function(){var Ae=(0,A.default)("slick-slider",x.props.className,{"slick-vertical":x.props.vertical,"slick-initialized":!0}),le=S(S({},x.props),x.state),he=(0,c.extractObject)(le,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),ve=x.props.pauseOnHover;he=S(S({},he),{},{onMouseEnter:ve?x.onTrackOver:null,onMouseLeave:ve?x.onTrackLeave:null,onMouseOver:ve?x.onTrackOver:null,focusOnSelect:x.props.focusOnSelect&&x.clickable?x.selectHandler:null});var xe;if(x.props.dots===!0&&x.state.slideCount>=x.props.slidesToShow){var Me=(0,c.extractObject)(le,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),je=x.props.pauseOnDotsHover;Me=S(S({},Me),{},{clickHandler:x.changeSlide,onMouseEnter:je?x.onDotsLeave:null,onMouseOver:je?x.onDotsOver:null,onMouseLeave:je?x.onDotsLeave:null}),xe=e.default.createElement(m.Dots,Me)}var De,Ge,Pe=(0,c.extractObject)(le,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);Pe.clickHandler=x.changeSlide,x.props.arrows&&(De=e.default.createElement(h.PrevArrow,Pe),Ge=e.default.createElement(h.NextArrow,Pe));var ne=null;x.props.vertical&&(ne={height:x.state.listHeight});var fe=null;x.props.vertical===!1?x.props.centerMode===!0&&(fe={padding:"0px "+x.props.centerPadding}):x.props.centerMode===!0&&(fe={padding:x.props.centerPadding+" 0px"});var Te=S(S({},ne),fe),ze=x.props.touchMove,ke={className:"slick-list",style:Te,onClick:x.clickHandler,onMouseDown:ze?x.swipeStart:null,onMouseMove:x.state.dragging&&ze?x.swipeMove:null,onMouseUp:ze?x.swipeEnd:null,onMouseLeave:x.state.dragging&&ze?x.swipeEnd:null,onTouchStart:ze?x.swipeStart:null,onTouchMove:x.state.dragging&&ze?x.swipeMove:null,onTouchEnd:ze?x.touchEnd:null,onTouchCancel:x.state.dragging&&ze?x.swipeEnd:null,onKeyDown:x.props.accessibility?x.keyHandler:null},Fe={className:Ae,dir:"ltr",style:x.props.style};return x.props.unslick&&(ke={className:"slick-list"},Fe={className:Ae,style:x.props.style}),e.default.createElement("div",Fe,x.props.unslick?"":De,e.default.createElement("div",C({ref:x.listRefHandler},ke),e.default.createElement(p.Track,C({ref:x.trackRefHandler},he),x.props.children)),x.props.unslick?"":Ge,x.props.unslick?"":xe)}),x.list=null,x.track=null,x.state=S(S({},t.default),{},{currentSlide:x.props.initialSlide,targetSlide:x.props.initialSlide?x.props.initialSlide:0,slideCount:e.default.Children.count(x.props.children)}),x.callbackTimers=[],x.clickable=!0,x.debouncedResize=null;var se=x.ssrInit();return x.state=S(S({},x.state),se),x}return J(G,[{key:"didPropsChange",value:function(x){for(var se=!1,Ae=0,le=Object.keys(this.props);Ae<le.length;Ae++){var he=le[Ae];if(!x.hasOwnProperty(he)){se=!0;break}if(!(w(x[he])==="object"||typeof x[he]=="function"||isNaN(x[he]))&&x[he]!==this.props[he]){se=!0;break}}return se||e.default.Children.count(this.props.children)!==e.default.Children.count(x.children)}}]),G})(e.default.Component);return RA}var Cd,Um;function QZ(){if(Um)return Cd;Um=1;var e=function(t){return t.replace(/[A-Z]/g,function(i){return"-"+i.toLowerCase()}).toLowerCase()};return Cd=e,Cd}var xd,Jm;function qZ(){if(Jm)return xd;Jm=1;var e=QZ(),t=function(c){var p=/[height|width]$/;return p.test(c)},i=function(c){var p="",m=Object.keys(c);return m.forEach(function(h,y){var v=c[h];h=e(h),t(h)&&typeof v=="number"&&(v=v+"px"),v===!0?p+=h:v===!1?p+="not "+h:p+="("+h+": "+v+")",y<m.length-1&&(p+=" and ")}),p},A=function(c){var p="";return typeof c=="string"?c:c instanceof Array?(c.forEach(function(m,h){p+=i(m),h<c.length-1&&(p+=", ")}),p):i(c)};return xd=A,xd}var Xm;function YZ(){return Xm||(Xm=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(we),i=ZZ(),A=m(qZ()),c=m(O9()),p=Zl();function m(oe){return oe&&oe.__esModule?oe:{default:oe}}function h(oe){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},h(oe)}function y(){return y=Object.assign?Object.assign.bind():function(oe){for(var W=1;W<arguments.length;W++){var H=arguments[W];for(var R in H)({}).hasOwnProperty.call(H,R)&&(oe[R]=H[R])}return oe},y.apply(null,arguments)}function v(oe,W){var H=Object.keys(oe);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(oe);W&&(R=R.filter(function(re){return Object.getOwnPropertyDescriptor(oe,re).enumerable})),H.push.apply(H,R)}return H}function w(oe){for(var W=1;W<arguments.length;W++){var H=arguments[W]!=null?arguments[W]:{};W%2?v(Object(H),!0).forEach(function(R){ee(oe,R,H[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(H)):v(Object(H)).forEach(function(R){Object.defineProperty(oe,R,Object.getOwnPropertyDescriptor(H,R))})}return oe}function C(oe,W){if(!(oe instanceof W))throw new TypeError("Cannot call a class as a function")}function M(oe,W){for(var H=0;H<W.length;H++){var R=W[H];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(oe,Y(R.key),R)}}function P(oe,W,H){return W&&M(oe.prototype,W),H&&M(oe,H),Object.defineProperty(oe,"prototype",{writable:!1}),oe}function I(oe,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(W&&W.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),Object.defineProperty(oe,"prototype",{writable:!1}),W&&S(oe,W)}function S(oe,W){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,R){return H.__proto__=R,H},S(oe,W)}function O(oe){var W=X();return function(){var H,R=Q(oe);if(W){var re=Q(this).constructor;H=Reflect.construct(R,arguments,re)}else H=R.apply(this,arguments);return F(this,H)}}function F(oe,W){if(W&&(h(W)=="object"||typeof W=="function"))return W;if(W!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(oe)}function J(oe){if(oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function X(){try{var oe=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X=function(){return!!oe})()}function Q(oe){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(W){return W.__proto__||Object.getPrototypeOf(W)},Q(oe)}function ee(oe,W,H){return(W=Y(W))in oe?Object.defineProperty(oe,W,{value:H,enumerable:!0,configurable:!0,writable:!0}):oe[W]=H,oe}function Y(oe){var W=q(oe,"string");return h(W)=="symbol"?W:W+""}function q(oe,W){if(h(oe)!="object"||!oe)return oe;var H=oe[Symbol.toPrimitive];if(H!==void 0){var R=H.call(oe,W||"default");if(h(R)!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(W==="string"?String:Number)(oe)}var te=e.default=(function(oe){I(H,oe);var W=O(H);function H(R){var re;return C(this,H),re=W.call(this,R),ee(J(re),"innerSliderRefHandler",function(N){return re.innerSlider=N}),ee(J(re),"slickPrev",function(){return re.innerSlider.slickPrev()}),ee(J(re),"slickNext",function(){return re.innerSlider.slickNext()}),ee(J(re),"slickGoTo",function(N){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re.innerSlider.slickGoTo(N,B)}),ee(J(re),"slickPause",function(){return re.innerSlider.pause("paused")}),ee(J(re),"slickPlay",function(){return re.innerSlider.autoPlay("play")}),re.state={breakpoint:null},re._responsiveMediaHandlers=[],re}return P(H,[{key:"media",value:function(re,N){var B=window.matchMedia(re),G=function(x){var se=x.matches;se&&N()};B.addListener(G),this._responsiveMediaHandlers.push({mql:B,query:re,listener:G})}},{key:"componentDidMount",value:function(){var re=this;if(this.props.responsive){var N=this.props.responsive.map(function(G){return G.breakpoint});N.sort(function(G,V){return G-V}),N.forEach(function(G,V){var x;V===0?x=(0,A.default)({minWidth:0,maxWidth:G}):x=(0,A.default)({minWidth:N[V-1]+1,maxWidth:G}),(0,p.canUseDOM)()&&re.media(x,function(){re.setState({breakpoint:G})})});var B=(0,A.default)({minWidth:N.slice(-1)[0]});(0,p.canUseDOM)()&&this.media(B,function(){re.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(re){re.mql.removeListener(re.listener)})}},{key:"render",value:function(){var re=this,N,B;this.state.breakpoint?(B=this.props.responsive.filter(function(Me){return Me.breakpoint===re.state.breakpoint}),N=B[0].settings==="unslick"?"unslick":w(w(w({},c.default),this.props),B[0].settings)):N=w(w({},c.default),this.props),N.centerMode&&(N.slidesToScroll>1,N.slidesToScroll=1),N.fade&&(N.slidesToShow>1,N.slidesToScroll>1,N.slidesToShow=1,N.slidesToScroll=1);var G=t.default.Children.toArray(this.props.children);G=G.filter(function(Me){return typeof Me=="string"?!!Me.trim():!!Me}),N.variableWidth&&(N.rows>1||N.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),N.variableWidth=!1);for(var V=[],x=null,se=0;se<G.length;se+=N.rows*N.slidesPerRow){for(var Ae=[],le=se;le<se+N.rows*N.slidesPerRow;le+=N.slidesPerRow){for(var he=[],ve=le;ve<le+N.slidesPerRow&&(N.variableWidth&&G[ve].props.style&&(x=G[ve].props.style.width),!(ve>=G.length));ve+=1)he.push(t.default.cloneElement(G[ve],{key:100*se+10*le+ve,tabIndex:-1,style:{width:"".concat(100/N.slidesPerRow,"%"),display:"inline-block"}}));Ae.push(t.default.createElement("div",{key:10*se+le},he))}N.variableWidth?V.push(t.default.createElement("div",{key:se,style:{width:x}},Ae)):V.push(t.default.createElement("div",{key:se},Ae))}if(N==="unslick"){var xe="regular slider "+(this.props.className||"");return t.default.createElement("div",{className:xe},G)}else V.length<=N.slidesToShow&&(N.unslick=!0);return t.default.createElement(i.InnerSlider,y({style:this.props.style,ref:this.innerSliderRefHandler},(0,p.filterSettings)(N)),V)}}]),H})(t.default.Component)})(yd)),yd}var _m;function UZ(){return _m||(_m=1,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(YZ());function i(c){return c&&c.__esModule?c:{default:c}}var A=e.default=t.default})(gd)),gd}var JZ=UZ();const XZ=Dr(JZ);function _Z({children:e,className:t="w-50"}){return j.jsx("div",{className:ut("Carousel",t),children:j.jsx(XZ,{dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,swipe:!0,swipeToSlide:!0,autoplay:!0,autoplaySpeed:3e3,arrows:!0,children:e})})}function KZ({letter:e,className:t="",onClick:i}){return j.jsx(vn,{onClick:i,className:ut("LetterAvatar flex items-center justify-center rounded-full w-full h-full bg-blue-300 text-white font-bold",t),children:j.jsx("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid meet",width:"100%",height:"100%",role:"img","aria-label":e,xmlns:"http://www.w3.org/2000/svg",children:j.jsx("text",{x:"50",y:"50",textAnchor:"middle",dominantBaseline:"central",fontFamily:"inherit",fontWeight:"700",fontSize:"80",fill:"currentColor",children:e})})})}function s3({label:e="N",className:t="w-full h-full",imgSrc:i="",fallbackImgSrc:A="",onClick:c=io}){return i||A?j.jsx(L0,{className:ut("Avatar rounded-full w-full h-full",t),src:i,fallbackSrc:A,alt:e,onClick:c}):j.jsx(KZ,{className:`LetterAvatar ${t}`,onClick:c,letter:e})}function $Z({label:e="N",onClick:t=io,className:i="",imgSrc:A="",fallbackImgSrc:c="",avatarClassName:p="w-8 h-8"}){return j.jsxs(nn,{className:ut("AvatarTag bg-white rounded-lg py-1",i),children:[j.jsx(s3,{className:p,onClick:t,label:e==null?void 0:e.charAt(0).toUpperCase(),imgSrc:A,fallbackImgSrc:c}),j.jsx(ou,{label:e})]})}function eQ({label:e="N",time:t,onClick:i=io,className:A="",avatarClassName:c="h-11 w-11",imgSrc:p="",fallbackImgSrc:m}){return j.jsxs(nn,{className:ut("AvatarTimeTag bg-white rounded-lg py-1",A),children:[j.jsx("div",{className:ut("rounded-full overflow-hidden",c),children:j.jsx(s3,{className:"w-full h-full",onClick:i,label:e==null?void 0:e.charAt(0).toUpperCase(),imgSrc:p,fallbackImgSrc:m})}),j.jsxs(Ds,{className:"gap-0",children:[j.jsx(ou,{label:e,className:"text-xl"}),Tr.isOlderThanDays(t)?j.jsx(N7,{date:t}):j.jsx(Ah,{timestamp:t,className:"text-xs"})]})]})}function z9({file:e,objectUrl:t,onRemove:i,className:A="",imgClassName:c=""}){return j.jsxs("div",{className:ut("relative flex-shrink-0",A),children:[j.jsx(nu,{src:t,alt:e.name,className:ut("h-20 w-auto rounded",c)}),j.jsx("div",{className:"absolute top-0.5 right-0.5 bg-white rounded-full shadow",children:j.jsx(ua,{onClick:i,className:"w-4 h-4"})})]})}const N9="image/jpeg,image/png,image/webp,image/avif,image/bmp,image/svg+xml,image/tiff,image/heic,image/heif",tQ=["video/","image/gif","image/apng"];function oQ(e){return!tQ.some(t=>e.type===t||e.type.startsWith(t))}function eu({onChange:e,accept:t=N9,multiple:i=!1}){const A=we.useRef(null),c=we.useRef(e);c.current=e;const p=()=>{var h;return(h=A.current)==null?void 0:h.click()};return{inputElement:j.jsx("input",{ref:A,type:"file",accept:t,multiple:i,className:"hidden",onChange:h=>{const y=Array.from(h.target.files??[]).filter(oQ);h.target.value="",y.length>0&&c.current(y)}}),trigger:p}}function nQ({onChange:e,multiple:t=!0,maxFiles:i=9,className:A="",accept:c=N9,loading:p=!1}){const[m,h]=we.useState([]),[y,v]=we.useState("");we.useEffect(()=>()=>{m.forEach(S=>URL.revokeObjectURL(S.objectUrl))},[]);const{inputElement:w,trigger:C}=eu({onChange:S=>M(S),accept:c,multiple:t}),M=S=>{h(O=>{const F=i-O.length;if(S.length>F)return v(`You can only upload up to ${i} images.`),O;v("");const J=S.map(Q=>({file:Q,objectUrl:URL.createObjectURL(Q)})),X=[...O,...J];return e(X.map(Q=>Q.file)),X})},P=S=>{h(O=>{URL.revokeObjectURL(O[S].objectUrl);const F=O.filter((J,X)=>X!==S);return e(F.map(J=>J.file)),F})},I=m.length<i;return j.jsxs(nn,{className:`items-end ${A}`,children:[j.jsxs(nn,{className:"gap-2 items-end overflow-x-auto",children:[m.map((S,O)=>j.jsx(z9,{file:S.file,objectUrl:S.objectUrl,onRemove:()=>P(O)},S.objectUrl)),p&&j.jsx(a0,{className:"w-6 self-center"})]}),j.jsx(vn,{onClick:I?C:io,className:`flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-full transition-colors ${I?"hover:bg-gray-100":"cursor-default"}`,children:j.jsx(G8,{size:Ze.md,className:I?"fill-blue-500":"fill-gray-300"})}),w,y&&j.jsx(Wl,{label:y})]})}const Km={background:"transparent",border:"none",boxShadow:"none",padding:"0",width:"fit-content",height:"fit-content"};function F9({onSelect:e,selectedSrc:t,srcs:i,onDelete:A,className:c="",isMobile:p=!1,extraCell:m}){const[h,y]=we.useState(null),v={overlay:{backgroundColor:"rgba(0, 0, 0, 0.75)"},content:p?{...Km,top:"0",left:"0",transform:"none",width:"100vw"}:{...Km,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},w=()=>{h!==null&&A(h),y(null)};return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:ut("w-full grid grid-cols-3 gap-0.5",c),children:[i.map((C,M)=>j.jsxs("div",{className:"relative aspect-square overflow-hidden group cursor-pointer",children:[j.jsx(L0,{src:C.src,fallbackSrc:C.fallbackSrc,alt:"",containerClassName:"w-full h-full",className:"w-full h-full object-cover object-center",onClick:()=>e(M)}),j.jsx("div",{className:"absolute inset-0 bg-white/0 group-hover:bg-white/20 transition-colors duration-200 pointer-events-none"}),A&&j.jsx("div",{className:"absolute top-1 right-1 w-4 h-4 flex items-center justify-center bg-black/40 rounded-full opacity-0 group-hover:opacity-70 transition-opacity duration-200 cursor-pointer",onClick:P=>{P.stopPropagation(),y(M)},children:j.jsx("span",{className:"text-white text-xs leading-none select-none",children:"✕"})})]},M)),m]}),t&&j.jsx(Z0,{isOpen:!0,onClose:()=>e(-1),title:"",isHeaderHidden:!0,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,style:v,content:j.jsxs("div",{className:"relative",children:[j.jsx(L0,{src:t.src,fallbackSrc:t.fallbackSrc,alt:"",className:"w-full max-h-[90vh] object-contain rounded"}),j.jsx(ua,{onClick:()=>e(-1),className:"absolute top-2 right-2 bg-white rounded-full shadow"})]})}),h!==null&&j.jsx(Z0,{isOpen:!0,onClose:()=>y(null),title:"Delete image",shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,content:j.jsxs("div",{className:"flex flex-col items-center gap-4",children:[j.jsx(L0,{src:i[h].src,fallbackSrc:i[h].fallbackSrc,alt:"",className:"max-h-64 object-contain rounded"}),j.jsxs("div",{className:"flex gap-2",children:[j.jsx(Xs,{onClick:()=>y(null),label:"Cancel",isHighlighted:!0,className:"w-fit px-6"}),j.jsx(Xs,{onClick:w,label:"Delete",className:"w-fit px-6 bg-red-500 border-red-500",labelClassName:"text-white"})]})]})})]})}function rQ(e){return j.jsx(F9,{...e})}const $m=e=>e.map(t=>({file:t,objectUrl:URL.createObjectURL(t)})),uc=e=>e.forEach(t=>URL.revokeObjectURL(t.objectUrl));function sQ({onUpload:e,onChange:t,onDelete:i,isEditable:A=!1,maxImages:c=9,uploadLabel:p="Upload",loading:m=!1,isUploaded:h=!1,...y}){const[v,w]=we.useState([]),[C,M]=we.useState(!1),[P,I]=we.useState(""),S=we.useRef(v);S.current=v,we.useEffect(()=>()=>uc(S.current),[]);const O=()=>c-y.srcs.length-S.current.length,{inputElement:F,trigger:J}=eu({onChange:oe=>{uc(S.current);const W=c-y.srcs.length,H=oe.slice(0,W);I(oe.length>W?`You can only add ${c} images in total.`:""),w($m(H)),t==null||t(H),M(!0)},multiple:!0}),{inputElement:X,trigger:Q}=eu({onChange:oe=>{const W=O(),H=oe.slice(0,W);I(oe.length>W?`You can only add ${c} images in total.`:""),w(R=>[...R,...$m(H)]),t==null||t(H),M(!0)},multiple:!0}),ee=oe=>{w(W=>(URL.revokeObjectURL(W[oe].objectUrl),W.filter((H,R)=>R!==oe))),I("")},Y=()=>{e(v.map(oe=>oe.file)),uc(v),w([]),I("")},q=()=>{uc(v),w([]),M(!1),I("")};we.useEffect(()=>{h&&q()},[h]);const te=A&&y.srcs.length<c?j.jsxs(ru,{className:"aspect-square gap-1 flex items-center justify-center bg-gray-100 hover:bg-gray-200 transition-colors cursor-pointer",onClick:J,children:[j.jsx("span",{className:"text-md text-gray-400 select-none",children:"Upload Image"}),j.jsx("span",{className:"text-4xl text-gray-400 select-none",children:"+"})]}):void 0;return j.jsxs(j.Fragment,{children:[F,X,j.jsx(F9,{...y,onDelete:A?i:void 0,extraCell:te}),j.jsx(Z0,{isOpen:C,onClose:q,title:"Selected Images",shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0,content:j.jsxs("div",{className:"flex flex-col gap-4",children:[j.jsx(nn,{className:"overflow-x-auto gap-2",children:v.map((oe,W)=>j.jsx(z9,{file:oe.file,objectUrl:oe.objectUrl,onRemove:()=>ee(W),imgClassName:"h-40"},oe.objectUrl))}),P&&j.jsx(Wl,{label:P}),j.jsxs("div",{className:"flex justify-center gap-2 items-center",children:[m&&j.jsx(a0,{className:"w-6"}),j.jsx(Xs,{onClick:Q,label:"Add more",className:"w-fit px-6 my-2"}),j.jsx(Xs,{onClick:Y,label:p,isHighlighted:!0,disabled:v.length===0||m,className:"w-fit px-6 my-2"})]})]})})]})}var wp=function(e,t){return wp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,A){i.__proto__=A}||function(i,A){for(var c in A)Object.prototype.hasOwnProperty.call(A,c)&&(i[c]=A[c])},wp(e,t)};function iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wp(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var xn=function(){return xn=Object.assign||function(t){for(var i,A=1,c=arguments.length;A<c;A++){i=arguments[A];for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&(t[p]=i[p])}return t},xn.apply(this,arguments)};var Pd,e8;function aQ(){if(e8)return Pd;e8=1;var e=!1,t,i,A,c,p,m,h,y,v,w,C,M,P,I,S;function O(){if(!e){e=!0;var J=navigator.userAgent,X=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(J),Q=/(Mac OS X)|(Windows)|(Linux)/.exec(J);if(M=/\b(iPhone|iP[ao]d)/.exec(J),P=/\b(iP[ao]d)/.exec(J),w=/Android/i.exec(J),I=/FBAN\/\w+;/i.exec(J),S=/Mobile/i.exec(J),C=!!/Win64/.exec(J),X){t=X[1]?parseFloat(X[1]):X[5]?parseFloat(X[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var ee=/(?:Trident\/(\d+.\d+))/.exec(J);m=ee?parseFloat(ee[1])+4:t,i=X[2]?parseFloat(X[2]):NaN,A=X[3]?parseFloat(X[3]):NaN,c=X[4]?parseFloat(X[4]):NaN,c?(X=/(?:Chrome\/(\d+\.\d+))/.exec(J),p=X&&X[1]?parseFloat(X[1]):NaN):p=NaN}else t=i=A=p=c=NaN;if(Q){if(Q[1]){var Y=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(J);h=Y?parseFloat(Y[1].replace("_",".")):!0}else h=!1;y=!!Q[2],v=!!Q[3]}else h=y=v=!1}}var F={ie:function(){return O()||t},ieCompatibilityMode:function(){return O()||m>t},ie64:function(){return F.ie()&&C},firefox:function(){return O()||i},opera:function(){return O()||A},webkit:function(){return O()||c},safari:function(){return F.webkit()},chrome:function(){return O()||p},windows:function(){return O()||y},osx:function(){return O()||h},linux:function(){return O()||v},iphone:function(){return O()||M},mobile:function(){return O()||M||P||w||S},nativeApp:function(){return O()||I},android:function(){return O()||w},ipad:function(){return O()||P}};return Pd=F,Pd}var Md,t8;function AQ(){if(t8)return Md;t8=1;var e=!!(typeof window<"u"&&window.document&&window.document.createElement),t={canUseDOM:e,canUseWorkers:typeof Worker<"u",canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};return Md=t,Md}var Sd,o8;function lQ(){if(o8)return Sd;o8=1;var e=AQ(),t;e.canUseDOM&&(t=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
701
701
|
* Checks if an event is supported in the current execution environment.
|
|
702
702
|
*
|
|
703
703
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|