@reltio/remotes 1.4.1048 → 1.4.1051
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/1242.js +1 -0
- package/1396.js +1 -0
- package/1607.js +1 -0
- package/1707.js +1 -1
- package/1962.js +1 -0
- package/2400.js +1 -1
- package/2606.js +1 -0
- package/2899.js +2 -0
- package/{861.js.LICENSE.txt → 2899.js.LICENSE.txt} +0 -0
- package/3124.js +1 -0
- package/3269.js +1 -0
- package/3431.js +1 -0
- package/3845.js +1 -0
- package/39.js +1 -0
- package/4064.js +1 -0
- package/4589.js +1 -0
- package/5092.js +1 -1
- package/5108.js +1 -1
- package/5127.js +2 -0
- package/{7238.js.LICENSE.txt → 5127.js.LICENSE.txt} +0 -0
- package/5267.js +1 -0
- package/5271a9e7b6651c852e93.png +0 -0
- package/546.js +1 -0
- package/5674.js +1 -0
- package/5783.js +1 -1
- package/590.css +633 -0
- package/590.js +1 -0
- package/6071.js +1 -0
- package/{9225.css → 6252.css} +0 -0
- package/6252.js +1 -0
- package/658.js +1 -0
- package/6615.js +1 -1
- package/6784.js +1 -0
- package/7478.js +2 -0
- package/{1135.js.LICENSE.txt → 7478.js.LICENSE.txt} +0 -0
- package/7827.js +1 -1
- package/7830.js +1 -1
- package/8534.js +1 -1
- package/8694.js +1 -0
- package/8862.js +1 -0
- package/888.js +2 -0
- package/{7729.js.LICENSE.txt → 888.js.LICENSE.txt} +0 -0
- package/8911.js +1 -1
- package/9002.js +1 -0
- package/9147.js +1 -0
- package/9550.js +1 -1
- package/9945.js +1 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/1135.js +0 -2
- package/3325.js +0 -1
- package/3349.js +0 -1
- package/4162.js +0 -1
- package/5264.js +0 -1
- package/5534.js +0 -1
- package/6215.js +0 -1
- package/6244.js +0 -1
- package/6619.js +0 -1
- package/7238.js +0 -2
- package/7729.js +0 -2
- package/8482.js +0 -1
- package/861.js +0 -2
- package/8684.js +0 -1
- package/9039.js +0 -1
- package/9078.js +0 -1
- package/9205.js +0 -1
- package/9225.js +0 -1
- package/9422.js +0 -1
- package/9519.js +0 -1
- package/9810.js +0 -1
package/7729.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 7729.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7729],{61932:(t,e,s)=>{var i=s(14859);e.Z=void 0;var n=i(s(24328)),o=(0,i(s(50175)).default)(n.default.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}),"CloudDownload");e.Z=o},38016:(t,e,s)=>{var i=s(14859);e.Z=void 0;var n=i(s(24328)),o=(0,i(s(50175)).default)(n.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");e.Z=o},17871:(t,e,s)=>{s.d(e,{j_:()=>z,b6:()=>u,vD:()=>Q,Jx:()=>j,XL:()=>G,mg:()=>ut,Ji:()=>S});var i=s(24328),n=s(75047),o=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==s.g?s.g:"undefined"!=typeof self&&self,function(t,e,s,i,n,o,r,a){if(!t){var h;if(void 0===e)h=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[s,i,n,o,r,a],p=0;(h=new Error(e.replace(/%s/g,(function(){return l[p++]})))).name="Invariant Violation"}throw h.framesToPop=1,h}});const r=(0,i.createContext)(null);function a(t){google.maps.event.removeListener(t)}function h(t=[]){t.forEach(a)}function l({updaterMap:t,eventMap:e,prevProps:s,nextProps:i,instance:n}){const o=function(t,e,s){const i=(n=s,o=function(s,i,n){return"function"==typeof t[n]&&s.push(google.maps.event.addListener(e,i,t[n])),s},r=[],Object.keys(n).reduce((function(t,e){return o(t,n[e],e)}),r));var n,o,r;return i}(i,n,e);return((t,e,s,i)=>{const n={};var o,r;o=t,r=(t,o)=>{const r=s[o];r!==e[o]&&(n[o]=r,t(i,r))},Object.keys(o).forEach((function(t){return r(o[t],t)}))})(t,s,i,n),o}const p={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},c={extraMapTypes(t,e){e.forEach((function(e,s){t.mapTypes.set(String(s),e)}))},center(t,e){t.setCenter(e)},clickableIcons(t,e){t.setClickableIcons(e)},heading(t,e){t.setHeading(e)},mapTypeId(t,e){t.setMapTypeId(e)},options(t,e){t.setOptions(e)},streetView(t,e){t.setStreetView(e)},tilt(t,e){t.setTilt(e)},zoom(t,e){t.setZoom(e)}};class u extends i.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=t=>{const e=this.getInstance();e&&e.panTo(t)},this.setMapCallback=()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=t=>{this.mapRef=t}}componentDidMount(){const t=this.getInstance();this.registeredEvents=l({updaterMap:c,eventMap:p,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{map:t}}),this.setMapCallback)}componentDidUpdate(t){null!==this.state.map&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:c,eventMap:p,prevProps:t,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),h(this.registeredEvents))}render(){return i.createElement("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},i.createElement(r.Provider,{value:this.state.map},null!==this.state.map?this.props.children:i.createElement(i.Fragment,null)))}}function d(t,e){var s={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(s[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(s[i[n]]=t[i[n]])}return s}const g="undefined"!=typeof document,m=({url:t,id:e,nonce:s})=>g?new Promise((function(i,n){const o=document.getElementById(e),r=window;if(o){const s=o.getAttribute("data-state");if(o.src===t&&"error"!==s){if("ready"===s)return i(e);{const t=r.initMap,s=o.onerror;return r.initMap=function(){t&&t(),i(e)},void(o.onerror=function(t){s&&s(t),n(t)})}}o.remove()}const a=document.createElement("script");a.type="text/javascript",a.src=t,a.id=e,a.async=!0,a.nonce=s,a.onerror=function(t){a.setAttribute("data-state","error"),n(t)},r.initMap=function(){a.setAttribute("data-state","ready"),i(e)},document.head.appendChild(a)})).catch((t=>{throw console.error("injectScript error: ",t),t})):Promise.reject(new Error("document is undefined")),v=t=>!((!t.href||0!==t.href.indexOf("https://fonts.googleapis.com/css?family=Roboto"))&&("style"===t.tagName.toLowerCase()&&t.styleSheet&&t.styleSheet.cssText&&0===t.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(t.styleSheet.cssText="",0):"style"===t.tagName.toLowerCase()&&t.innerHTML&&0===t.innerHTML.replace("\r\n","").indexOf(".gm-style")?(t.innerHTML="",0):"style"!==t.tagName.toLowerCase()||t.styleSheet||t.innerHTML)),f=()=>{const t=document.getElementsByTagName("head")[0],e=t.insertBefore.bind(t);t.insertBefore=function(s,i){v(s)||Reflect.apply(e,t,[s,i])};const s=t.appendChild.bind(t);t.appendChild=function(e){v(e)||Reflect.apply(s,t,[e])}};function y({googleMapsApiKey:t,googleMapsClientId:e,version:s="weekly",language:i,region:n,libraries:r,channel:a,mapIds:h}){const l=[];return o(t&&e||!(t&&e),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),t?l.push(`key=${t}`):e&&l.push(`client=${e}`),s&&l.push(`v=${s}`),i&&l.push(`language=${i}`),n&&l.push(`region=${n}`),r&&r.length&&l.push(`libraries=${r.sort().join(",")}`),a&&l.push(`channel=${a}`),h&&h.length&&l.push(`map_ids=${h.join(",")}`),l.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${l.join("&")}`}let x=!1;function C(){return i.createElement("div",null,"Loading...")}const M={id:"script-loader",version:"weekly"};class b extends i.PureComponent{constructor(){super(...arguments),this.check=i.createRef(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>{return t=this,e=void 0,i=function*(){return new Promise((function(t){if(x){if(g){const e=window.setInterval((function(){x||(window.clearInterval(e),t())}),1)}}else t()}))},new((s=void 0)||(s=Promise))((function(n,o){function r(t){try{h(i.next(t))}catch(t){o(t)}}function a(t){try{h(i.throw(t))}catch(t){o(t)}}function h(t){var e;t.done?n(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(r,a)}h((i=i.apply(t,e||[])).next())}));var t,e,s,i},this.cleanup=()=>{x=!0;const t=document.getElementById(this.props.id);t&&t.parentNode&&t.parentNode.removeChild(t),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(t){return"string"==typeof t.src&&t.src.includes("maps.googleapis")})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(t){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===t.href})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(t){return void 0!==t.innerText&&t.innerText.length>0&&t.innerText.includes(".gm-")})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&f(),o(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);const t={id:this.props.id,nonce:this.props.nonce,url:y(this.props)};m(t).then((()=>{this.props.onLoad&&this.props.onLoad(),this.setState((function(){return{loaded:!0}}))})).catch((t=>{this.props.onError&&this.props.onError(t),console.error(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />\n Otherwise it is a Network issue.\n `)}))}}componentDidMount(){if(g){if(window.google&&window.google.maps&&!x)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(t){console.error("Error at injecting script after cleaning up: ",t)}))}}componentDidUpdate(t){this.props.libraries!==t.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),g&&t.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))}componentWillUnmount(){if(g){this.cleanup();const t=()=>{this.check.current||(delete window.google,x=!1)};window.setTimeout(t,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return i.createElement(i.Fragment,null,i.createElement("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||i.createElement(C,null))}}let w;b.defaultProps=M;const L=i.createElement(C,null);i.memo((function(t){var{loadingElement:e,onLoad:s,onError:n,onUnmount:r,children:a}=t,h=d(t,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:l,loadError:p}=function({id:t=M.id,version:e=M.version,nonce:s,googleMapsApiKey:n,googleMapsClientId:r,language:a,region:h,libraries:l,preventGoogleFontsLoading:p,channel:c,mapIds:u}){const d=i.useRef(!1),[v,x]=i.useState(!1),[C,b]=i.useState(void 0);i.useEffect((function(){return d.current=!0,()=>{d.current=!1}}),[]),i.useEffect((function(){g&&p&&f()}),[p]),i.useEffect((function(){v&&o(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[v]);const L=y({version:e,googleMapsApiKey:n,googleMapsClientId:r,language:a,region:h,libraries:l,channel:c,mapIds:u});i.useEffect((function(){function e(){d.current&&(x(!0),w=L)}g&&(window.google&&window.google.maps&&w===L?e():m({id:t,url:L,nonce:s}).then(e).catch((function(t){d.current&&b(t),console.warn(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${n||"-"}) or Client ID (${r||"-"})\n Otherwise it is a Network issue.\n `),console.error(t)})))}),[t,L,s]);const k=i.useRef();return i.useEffect((function(){k.current&&l!==k.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),k.current=l}),[l]),{isLoaded:v,loadError:C,url:L}}(h);return i.useEffect((function(){l&&"function"==typeof s&&s()}),[l,s]),i.useEffect((function(){p&&"function"==typeof n&&n(p)}),[p,n]),i.useEffect((function(){return()=>{r&&r()}}),[r]),l?a:e||L}));var k=function t(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var i,n,o;if(Array.isArray(e)){if((i=e.length)!=s.length)return!1;for(n=i;0!=n--;)if(!t(e[n],s[n]))return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((i=(o=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(n=i;0!=n--;)if(!Object.prototype.hasOwnProperty.call(s,o[n]))return!1;for(n=i;0!=n--;){var r=o[n];if(!t(e[r],s[r]))return!1}return!0}return e!=e&&s!=s};const P="__googleMapsScriptId";class E{constructor({apiKey:t,channel:e,client:s,id:i=P,libraries:n=[],language:o,region:r,version:a,mapIds:h,nonce:l,retries:p=3,url:c="https://maps.googleapis.com/maps/api/js"}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.version=a,this.apiKey=t,this.channel=e,this.client=s,this.id=i||P,this.libraries=n,this.language=o,this.region=r,this.mapIds=h,this.nonce=l,this.retries=p,this.url=c,E.instance){if(!k(this.options,E.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(E.instance.options)}`);return E.instance}E.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url}}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+=`?callback=${this.CALLBACK}`,this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((t,e)=>{this.loadCallback((s=>{s?e(s.error):t(window.google)}))}))}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const t=this.createUrl(),e=document.createElement("script");e.id=this.id,e.type="text/javascript",e.src=t,e.onerror=this.loadErrorCallback.bind(this),e.defer=!0,e.async=!0,this.nonce&&(e.nonce=this.nonce),document.head.appendChild(e)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),t)}else this.onerrorEvent=t,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((t=>{t(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}function S({id:t=M.id,version:e=M.version,nonce:s,googleMapsApiKey:n,language:o,region:r,libraries:a,preventGoogleFontsLoading:h,mapIds:l}){const p=i.useRef(!1),[c,u]=i.useState(!1),[d,m]=i.useState(void 0);i.useEffect((function(){return p.current=!0,()=>{p.current=!1}}),[]);const v=i.useMemo((function(){return new E({id:t,apiKey:n,version:e,libraries:a,language:o,region:r,mapIds:l,nonce:s})}),[t,n,e,a,o,r,l,s]);i.useEffect((function(){c||v.load().then((function(){p.current&&u(!0)})).catch((function(t){m(t)}))}),[]),i.useEffect((function(){g&&h&&f()}),[h]);const y=i.useRef();return i.useEffect((function(){y.current&&a!==y.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),y.current=a}),[a]),{isLoaded:c,loadError:d}}const _={},I={options(t,e){t.setOptions(e)}};class O extends i.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){const t=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:I,eventMap:_,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{trafficLayer:t}}),this.setTrafficLayerCallback)}componentDidUpdate(t){null!==this.state.trafficLayer&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:I,eventMap:_,prevProps:t,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),h(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}O.contextType=r;class D extends i.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){const t=new google.maps.BicyclingLayer;this.setState((function(){return{bicyclingLayer:t}}),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}D.contextType=r;class T extends i.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){const t=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:t}}),this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}T.contextType=r;const B={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},U={drawingMode(t,e){t.setDrawingMode(e)},options(t,e){t.setOptions(e)}};class z extends i.PureComponent{constructor(t){super(t),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},o(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){const t=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:U,eventMap:B,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{drawingManager:t}}),this.setDrawingManagerCallback)}componentDidUpdate(t){null!==this.state.drawingManager&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:U,eventMap:B,prevProps:t,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),h(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return i.createElement(i.Fragment,null)}}z.contextType=r;const R={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},A={animation(t,e){t.setAnimation(e)},clickable(t,e){t.setClickable(e)},cursor(t,e){t.setCursor(e)},draggable(t,e){t.setDraggable(e)},icon(t,e){t.setIcon(e)},label(t,e){t.setLabel(e)},map(t,e){t.setMap(e)},opacity(t,e){t.setOpacity(e)},options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},shape(t,e){t.setShape(e)},title(t,e){t.setTitle(e)},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}};class j extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const t=Object.assign(Object.assign(Object.assign({},this.props.options||{}),this.props.clusterer?{}:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(t),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=l({updaterMap:A,eventMap:R,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(t){this.marker&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:A,eventMap:R,prevProps:t,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),h(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let t=null;return this.props.children&&(t=i.Children.map(this.props.children,(t=>{if(!i.isValidElement(t))return t;let e=t;return i.cloneElement(e,{anchor:this.marker})}))),t||null}}j.contextType=r;var W=function(){function t(e,s){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=s,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.setMap(e.getMap())}return t.prototype.onAdd=function(){var t,e,s=this;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div),this.boundsChangedListener=google.maps.event.addListener(this.getMap(),"boundschanged",(function(){e=t})),google.maps.event.addDomListener(this.div,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div,"click",(function(i){if(t=!1,!e){var n=s.cluster.getClusterer();if(google.maps.event.trigger(n,"click",s.cluster),google.maps.event.trigger(n,"clusterclick",s.cluster),n.getZoomOnClick()){var o=n.getMaxZoom(),r=s.cluster.getBounds();n.getMap().fitBounds(r),setTimeout((function(){n.getMap().fitBounds(r),null!==o&&n.getMap().getZoom()>o&&n.getMap().setZoom(o+1)}),100)}i.cancelBubble=!0,i.stopPropagation&&i.stopPropagation()}})),google.maps.event.addDomListener(this.div,"mouseover",(function(){google.maps.event.trigger(s.cluster.getClusterer(),"mouseover",s.cluster)})),google.maps.event.addDomListener(this.div,"mouseout",(function(){google.maps.event.trigger(s.cluster.getClusterer(),"mouseout",s.cluster)}))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),google.maps.event.clearInstanceListeners(this.div),this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var t=this.getPosFromLatLng(this.center),e=t.x,s=t.y;this.div.style.top=s+"px",this.div.style.left=e+"px"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){if(this.div&&this.center){var t,e="",s=this.backgroundPosition.split(" "),i=parseInt(s[0].replace(/^\s+|\s+$/g,""),10),n=parseInt(s[1].replace(/^\s+|\s+$/g,""),10),o=this.getPosFromLatLng(this.center);t=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.style.cssText=this.createCss(o),e="<img alt='"+t+"' src='"+this.url+"' style='position: absolute; top: "+n+"px; left: "+i+"px; ",this.cluster.getClusterer().enableRetinaIcons||(e+="clip: rect("+-1*n+"px, "+(-1*i+this.width)+"px, "+(-1*n+this.height)+"px, "+-1*i+"px);"),e+="'>",this.div.innerHTML=e+"<div style='position: absolute;top: "+this.anchorText[0]+"px;left: "+this.anchorText[1]+"px;color: "+this.textColor+";font-size: "+this.textSize+"px;font-family: "+this.fontFamily+";font-weight: "+this.fontWeight+";font-style: "+this.fontStyle+";text-decoration: "+this.textDecoration+";text-align: center;width: "+this.width+"px;line-height:"+this.height+"px;'>"+this.sums.text+"</div>",this.div.title=t,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(t){this.sums=t;var e=this.cluster.getClusterer().getStyles(),s=e[Math.min(e.length-1,Math.max(0,t.index-1))];this.url=s.url,this.height=s.height,this.width=s.width,s.className&&(this.className=this.clusterClassName+" "+s.className),this.anchorText=s.anchorText||[0,0],this.anchorIcon=s.anchorIcon||[this.height/2,this.width/2],this.textColor=s.textColor||"black",this.textSize=s.textSize||11,this.textDecoration=s.textDecoration||"none",this.fontWeight=s.fontWeight||"bold",this.fontStyle=s.fontStyle||"normal",this.fontFamily=s.fontFamily||"Arial,sans-serif",this.backgroundPosition=s.backgroundPosition||"0 0"},t.prototype.setCenter=function(t){this.center=t},t.prototype.createCss=function(t){var e=[];return e.push("cursor: pointer;"),e.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),e.push("width: "+this.width+"px; height: "+this.height+"px;"),e.join("")},t.prototype.getPosFromLatLng=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=this.anchorIcon[1],e.y-=this.anchorIcon[0],e},t}(),V=function(){function t(t){this.markerClusterer=t,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new W(this,this.markerClusterer.getStyles())}return t.prototype.getSize=function(){return this.markers.length},t.prototype.getMarkers=function(){return this.markers},t.prototype.getCenter=function(){return this.center},t.prototype.getMap=function(){return this.map},t.prototype.getClusterer=function(){return this.markerClusterer},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center,this.center),e=this.getMarkers(),s=0;s<e.length;s++){var i=e[s].getPosition();i&&t.extend(i)}return t},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded(t))return!1;var e;if(this.center){if(this.averageCenter&&(e=t.getPosition())){var s=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(s-1)+e.lat())/s,(this.center.lng()*(s-1)+e.lng())/s),this.calculateBounds()}}else(e=t.getPosition())&&(this.center=e,this.calculateBounds());t.isAdded=!0,this.markers.push(t);var i=this.markers.length,n=this.markerClusterer.getMaxZoom(),o=this.map.getZoom();if(null!==n&&void 0!==o&&o>n)t.getMap()!==this.map&&t.setMap(this.map);else if(i<this.minClusterSize)t.getMap()!==this.map&&t.setMap(this.map);else if(i===this.minClusterSize)for(var r=0;r<i;r++)this.markers[r].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){if(null!==this.bounds){var e=t.getPosition();if(e)return this.bounds.contains(e)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var t=this.markers.length,e=this.markerClusterer.getMaxZoom(),s=this.map.getZoom();null!==e&&void 0!==s&&s>e||t<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},t.prototype.isMarkerAlreadyAdded=function(t){if(this.markers.includes)return this.markers.includes(t);for(var e=0;e<this.markers.length;e++)if(t===this.markers[e])return!0;return!1},t}(),N=function(t,e){var s=t.length,i=s.toString().length,n=Math.min(i,e);return{text:s.toString(),index:n,title:""}},Z=[53,56,66,78,90],H=function(){function t(e,s,i){void 0===s&&(s=[]),void 0===i&&(i={}),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=i.gridSize||60,this.minClusterSize=i.minimumClusterSize||2,this.maxZoom=i.maxZoom||null,this.styles=i.styles||[],this.title=i.title||"",this.zoomOnClick=!0,void 0!==i.zoomOnClick&&(this.zoomOnClick=i.zoomOnClick),this.averageCenter=!1,void 0!==i.averageCenter&&(this.averageCenter=i.averageCenter),this.ignoreHidden=!1,void 0!==i.ignoreHidden&&(this.ignoreHidden=i.ignoreHidden),this.enableRetinaIcons=!1,void 0!==i.enableRetinaIcons&&(this.enableRetinaIcons=i.enableRetinaIcons),this.imagePath=i.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=i.imageExtension||"png",this.imageSizes=i.imageSizes||Z,this.calculator=i.calculator||N,this.batchSize=i.batchSize||2e3,this.batchSizeIE=i.batchSizeIE||500,this.clusterClass=i.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(s,!0),this.setMap(e)}return t.prototype.onAdd=function(){var t=this;this.activeMap=this.getMap(),this.ready=!0,this.repaint(),this.listeners=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){t.resetViewport(!1),t.getMap().getZoom()!==(t.get("minZoom")||0)&&t.getMap().getZoom()!==t.get("maxZoom")||google.maps.event.trigger(t,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw()}))]},t.prototype.onRemove=function(){for(var t=0;t<this.markers.length;t++)this.markers[t].getMap()!==this.activeMap&&this.markers[t].setMap(this.activeMap);for(t=0;t<this.clusters.length;t++)this.clusters[t].remove();for(this.clusters=[],t=0;t<this.listeners.length;t++)google.maps.event.removeListener(this.listeners[t]);this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var t=0;t<this.imageSizes.length;t++)this.styles.push({url:this.imagePath+(t+1)+"."+this.imageExtension,height:this.imageSizes[t],width:this.imageSizes[t]})},t.prototype.fitMapToMarkers=function(){for(var t=this.getMarkers(),e=new google.maps.LatLngBounds,s=0;s<t.length;s++){var i=t[s].getPosition();i&&e.extend(i)}this.getMap().fitBounds(e)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(t){this.gridSize=t},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(t){this.minClusterSize=t},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(t){this.maxZoom=t},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(t){this.styles=t},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(t){this.title=t},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(t){this.zoomOnClick=t},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(t){this.averageCenter=t},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(t){this.ignoreHidden=t},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons=t},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(t){this.imageExtension=t},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(t){this.imagePath=t},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(t){this.imageSizes=t},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(t){this.calculator=t},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(t){this.batchSizeIE=t},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(t){this.clusterClass=t},t.prototype.getMarkers=function(){return this.markers},t.prototype.getTotalMarkers=function(){return this.markers.length},t.prototype.getClusters=function(){return this.clusters},t.prototype.getTotalClusters=function(){return this.clusters.length},t.prototype.addMarker=function(t,e){this.pushMarkerTo(t),e||this.redraw()},t.prototype.addMarkers=function(t,e){for(var s in t)t.hasOwnProperty(s)&&this.pushMarkerTo(t[s]);e||this.redraw()},t.prototype.pushMarkerTo=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers.push(t)},t.prototype.removeMarker_=function(t){var e=-1;if(this.markers.indexOf)e=this.markers.indexOf(t);else for(var s=0;s<this.markers.length;s++)if(t===this.markers[s]){e=s;break}return-1!==e&&(t.setMap(null),this.markers.splice(e,1),!0)},t.prototype.removeMarker=function(t,e){var s=this.removeMarker_(t);return!e&&s&&this.repaint(),s},t.prototype.removeMarkers=function(t,e){for(var s=!1,i=0;i<t.length;i++)s=s||this.removeMarker_(t[i]);return!e&&s&&this.repaint(),s},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var t=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},t.prototype.getExtendedBounds=function(t){var e=this.getProjection(),s=e.fromLatLngToDivPixel(new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()));s.x+=this.gridSize,s.y-=this.gridSize;var i=e.fromLatLngToDivPixel(new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()));return i.x-=this.gridSize,i.y+=this.gridSize,t.extend(e.fromDivPixelToLatLng(s)),t.extend(e.fromDivPixelToLatLng(i)),t},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(t){for(var e=0;e<this.clusters.length;e++)this.clusters[e].remove();for(this.clusters=[],e=0;e<this.markers.length;e++){var s=this.markers[e];s.isAdded=!1,t&&s.setMap(null)}},t.prototype.distanceBetweenPoints=function(t,e){var s=(e.lat()-t.lat())*Math.PI/180,i=(e.lng()-t.lng())*Math.PI/180,n=Math.sin(s/2)*Math.sin(s/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return 2*Math.atan2(Math.sqrt(n),Math.sqrt(1-n))*6371},t.prototype.isMarkerInBounds=function(t,e){var s=t.getPosition();return!!s&&e.contains(s)},t.prototype.addToClosestCluster=function(t){for(var e,s=4e4,i=null,n=0;n<this.clusters.length;n++){var o=(e=this.clusters[n]).getCenter(),r=t.getPosition();if(o&&r){var a=this.distanceBetweenPoints(o,r);a<s&&(s=a,i=e)}}i&&i.isMarkerInClusterBounds(t)?i.addMarker(t):((e=new V(this)).addMarker(t),this.clusters.push(e))},t.prototype.createClusters=function(t){var e=this;if(this.ready){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var s=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),i=this.getExtendedBounds(s),n=Math.min(t+this.batchSize,this.markers.length),o=t;o<n;o++){var r=this.markers[o];!r.isAdded&&this.isMarkerInBounds(r,i)&&(!this.ignoreHidden||this.ignoreHidden&&r.getVisible())&&this.addToClosestCluster(r)}if(n<this.markers.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters(n)}),0);else for(this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this),o=0;o<this.clusters.length;o++)this.clusters[o].updateIcon()}},t.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},t}();const F={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},$={averageCenter(t,e){t.setAverageCenter(e)},batchSizeIE(t,e){t.setBatchSizeIE(e)},calculator(t,e){t.setCalculator(e)},clusterClass(t,e){t.setClusterClass(e)},enableRetinaIcons(t,e){t.setEnableRetinaIcons(e)},gridSize(t,e){t.setGridSize(e)},ignoreHidden(t,e){t.setIgnoreHidden(e)},imageExtension(t,e){t.setImageExtension(e)},imagePath(t,e){t.setImagePath(e)},imageSizes(t,e){t.setImageSizes(e)},maxZoom(t,e){t.setMaxZoom(e)},minimumClusterSize(t,e){t.setMinimumClusterSize(e)},styles(t,e){t.setStyles(e)},title(t,e){t.setTitle(e)},zoomOnClick(t,e){t.setZoomOnClick(e)}};class G extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){const t=new H(this.context,[],this.props.options);this.registeredEvents=l({updaterMap:$,eventMap:F,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{markerClusterer:t}}),this.setClustererCallback)}}componentDidUpdate(t){this.state.markerClusterer&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:$,eventMap:F,prevProps:t,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),h(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}G.contextType=r;var q=function(){function t(e){void 0===e&&(e={}),this.extend(t,google.maps.OverlayView),this.content=e.content||"",this.disableAutoPan=e.disableAutoPan||!1,this.maxWidth=e.maxWidth||0,this.pixelOffset=e.pixelOffset||new google.maps.Size(0,0),this.position=e.position||new google.maps.LatLng(0,0),this.zIndex=e.zIndex||null,this.boxClass=e.boxClass||"infoBox",this.boxStyle=e.boxStyle||{},this.closeBoxMargin=e.closeBoxMargin||"2px",this.closeBoxURL=e.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===e.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=e.infoBoxClearance||new google.maps.Size(1,1),void 0===e.visible&&(void 0===e.isHidden?e.visible=!0:e.visible=!e.isHidden),this.isHidden=!e.visible,this.alignBottom=e.alignBottom||!1,this.pane=e.pane||"floatPane",this.enableEventPropagation=e.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return t.prototype.createInfoBoxDiv=function(){var t=this;function e(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}if(!this.div){if(this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content)),this.getPanes()[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var s=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-s.left-s.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var i=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],n=0;n<i.length;n++)this.eventListeners.push(google.maps.event.addDomListener(this.div,i[n],e));this.eventListeners.push(google.maps.event.addDomListener(this.div,"mouseover",(function(){t.div&&(t.div.style.cursor="default")})))}this.contextListener=google.maps.event.addDomListener(this.div,"contextmenu",(function(s){s.returnValue=!1,s.preventDefault&&s.preventDefault(),t.enableEventPropagation||e(s)})),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var t="";return""!==this.closeBoxURL&&(t='<img alt=""',t+=' aria-hidden="true"',t+=" src='"+this.closeBoxURL+"'",t+=" align=right",t+=" style='",t+=" position: relative;",t+=" cursor: pointer;",t+=" margin: "+this.closeBoxMargin+";",t+="'>"),t},t.prototype.addClickHandler=function(){if(this.div&&this.div.firstChild&&""!==this.closeBoxURL){var t=this.div.firstChild;this.closeListener=google.maps.event.addDomListener(t,"click",this.getCloseClickHandler())}else this.closeListener=null},t.prototype.getCloseClickHandler=function(){var t=this;return function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(t,"closeclick"),t.close()}},t.prototype.panBox=function(t){if(this.div&&!t){var e=this.getMap();if(e instanceof google.maps.Map){var s=0,i=0,n=e.getBounds();n&&!n.contains(this.position)&&e.setCenter(this.position);var o=e.getDiv(),r=o.offsetWidth,a=o.offsetHeight,h=this.pixelOffset.width,l=this.pixelOffset.height,p=this.div.offsetWidth,c=this.div.offsetHeight,u=this.infoBoxClearance.width,d=this.infoBoxClearance.height,g=this.getProjection().fromLatLngToContainerPixel(this.position);null!==g&&(g.x<-h+u?s=g.x+h-u:g.x+p+h+u>r&&(s=g.x+p+h+u-r),this.alignBottom?g.y<-l+d+c?i=g.y+l-d-c:g.y+l+d>a&&(i=g.y+l+d-a):g.y<-l+d?i=g.y+l-d:g.y+c+l+d>a&&(i=g.y+c+l+d-a)),0===s&&0===i||e.panBy(s,i)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var t=this.boxStyle;for(var e in t)t.hasOwnProperty(e)&&(this.div.style[e]=t[e]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var s=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*s+')"',this.div.style.filter="alpha(opacity="+100*s+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var t={top:0,bottom:0,left:0,right:0};if(!this.div)return t;if(document.defaultView&&document.defaultView.getComputedStyle){var e=this.div.ownerDocument,s=e&&e.defaultView?e.defaultView.getComputedStyle(this.div,""):null;s&&(t.top=parseInt(s.borderTopWidth||"",10)||0,t.bottom=parseInt(s.borderBottomWidth||"",10)||0,t.left=parseInt(s.borderLeftWidth||"",10)||0,t.right=parseInt(s.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var i=this.div.currentStyle;i&&(t.top=parseInt(i.borderTopWidth||"",10)||0,t.bottom=parseInt(i.borderBottomWidth||"",10)||0,t.left=parseInt(i.borderLeftWidth||"",10)||0,t.right=parseInt(i.borderRightWidth||"",10)||0)}return t},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var t=this.getProjection().fromLatLngToDivPixel(this.position);null!==t&&(this.div.style.left=t.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(t.y+this.pixelOffset.height)+"px":this.div.style.top=t.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(t){void 0===t&&(t={}),void 0!==t.boxClass&&(this.boxClass=t.boxClass,this.setBoxStyle()),void 0!==t.boxStyle&&(this.boxStyle=t.boxStyle,this.setBoxStyle()),void 0!==t.content&&this.setContent(t.content),void 0!==t.disableAutoPan&&(this.disableAutoPan=t.disableAutoPan),void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.pixelOffset&&(this.pixelOffset=t.pixelOffset),void 0!==t.alignBottom&&(this.alignBottom=t.alignBottom),void 0!==t.position&&this.setPosition(t.position),void 0!==t.zIndex&&this.setZIndex(t.zIndex),void 0!==t.closeBoxMargin&&(this.closeBoxMargin=t.closeBoxMargin),void 0!==t.closeBoxURL&&(this.closeBoxURL=t.closeBoxURL),void 0!==t.infoBoxClearance&&(this.infoBoxClearance=t.infoBoxClearance),void 0!==t.isHidden&&(this.isHidden=t.isHidden),void 0!==t.visible&&(this.isHidden=!t.visible),void 0!==t.enableEventPropagation&&(this.enableEventPropagation=t.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(t){this.content=t,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof t?this.div.innerHTML=this.getCloseBoxImg()+t:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(t)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof t?this.div.innerHTML=this.getCloseBoxImg()+t:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(t))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(t){this.position=t,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(t){this.isHidden=!t,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(t){this.zIndex=t,this.div&&(this.div.style.zIndex=t+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(t,e){var s=this;e&&(this.position=e.getPosition(),this.moveListener=google.maps.event.addListener(e,"position_changed",(function(){var t=e.getPosition();s.setPosition(t)})),this.mapListener=google.maps.event.addListener(e,"map_changed",(function(){s.setMap(e.map)}))),this.setMap(t),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var t=0;t<this.eventListeners.length;t++)google.maps.event.removeListener(this.eventListeners[t]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype.hasOwnProperty(e)||(this.prototype[e]=t.prototype[e]);return this}.apply(t,[e])},t}();const K={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Y={options(t,e){t.setOptions(e)},position(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}};class Q extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(t,e)=>{e?t.open(this.context,e):t.getPosition()?t.open(this.context):o(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{const{anchor:t,onLoad:e}=this.props,{infoBox:s}=this.state;null!==s&&null!==this.containerElement&&(s.setContent(this.containerElement),this.open(s,t),e&&e(s))}}componentDidMount(){const{options:t}=this.props,e=t||{},{position:s}=e,i=d(e,["position"]);let n;!s||s instanceof google.maps.LatLng||(n=new google.maps.LatLng(s.lat,s.lng));const o=new q(Object.assign(Object.assign({},i),n?{position:n}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=l({updaterMap:Y,eventMap:K,prevProps:{},nextProps:this.props,instance:o}),this.setState({infoBox:o},this.setInfoBoxCallback)}componentDidUpdate(t){const{infoBox:e}=this.state;null!==e&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:Y,eventMap:K,prevProps:t,nextProps:this.props,instance:e}))}componentWillUnmount(){const{onUnmount:t}=this.props,{infoBox:e}=this.state;null!==e&&(t&&t(e),h(this.registeredEvents),e.close())}render(){return this.containerElement?n.createPortal(i.Children.only(this.props.children),this.containerElement):null}}Q.contextType=r;var J={exports:{}};!function(t){function e(t,e,s,i){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,s,i)}e.prototype.run=function(t,e,s,i){this._init(t,e,s,i);for(var n=0;n<this._datasetLength;n++)if(1!==this._visited[n]){this._visited[n]=1;var o=this._regionQuery(n);if(o.length<this.minPts)this.noise.push(n);else{var r=this.clusters.length;this.clusters.push([]),this._addToCluster(n,r),this._expandCluster(r,o)}}return this.clusters},e.prototype._init=function(t,e,s,i){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),s&&(this.minPts=s),i&&(this.distance=i)},e.prototype._expandCluster=function(t,e){for(var s=0;s<e.length;s++){var i=e[s];if(1!==this._visited[i]){this._visited[i]=1;var n=this._regionQuery(i);n.length>=this.minPts&&(e=this._mergeArrays(e,n))}1!==this._assigned[i]&&this._addToCluster(i,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],s=0;s<this._datasetLength;s++)this.distance(this.dataset[t],this.dataset[s])<this.epsilon&&e.push(s);return e},e.prototype._mergeArrays=function(t,e){for(var s=e.length,i=0;i<s;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}return t},e.prototype._euclideanDistance=function(t,e){for(var s=0,i=Math.min(t.length,e.length);i--;)s+=(t[i]-e[i])*(t[i]-e[i]);return Math.sqrt(s)},t.exports&&(t.exports=e)}(J);var X={exports:{}};!function(t){function e(t,e,s){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,s)}e.prototype.init=function(t,e,s){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==s&&(this.distance=s)},e.prototype.run=function(t,e){this.init(t,e);for(var s=this.dataset.length,i=0;i<this.k;i++)this.centroids[i]=this.randomCentroid();for(var n=!0;n;){n=this.assign();for(var o=0;o<this.k;o++){for(var r=new Array(p),a=0,h=0;h<p;h++)r[h]=0;for(var l=0;l<s;l++){var p=this.dataset[l].length;if(o===this.assignments[l]){for(h=0;h<p;h++)r[h]+=this.dataset[l][h];a++}}if(a>0){for(h=0;h<p;h++)r[h]/=a;this.centroids[o]=r}else this.centroids[o]=this.randomCentroid(),n=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,s=this.dataset.length-1;do{e=Math.round(Math.random()*s),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,s=this.dataset.length,i=0;i<s;i++)(t=this.argmin(this.dataset[i],this.centroids,this.distance))!=this.assignments[i]&&(this.assignments[i]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),s=0;s<this.assignments.length;s++)void 0===e[t=this.assignments[s]]&&(e[t]=[]),e[t].push(s);return e},e.prototype.argmin=function(t,e,s){for(var i,n=Number.MAX_VALUE,o=0,r=e.length,a=0;a<r;a++)(i=s(t,e[a]))<n&&(n=i,o=a);return o},e.prototype.distance=function(t,e){for(var s=0,i=Math.min(t.length,e.length);i--;){var n=t[i]-e[i];s+=n*n}return Math.sqrt(s)},t.exports&&(t.exports=e)}(X);var tt,et={exports:{}},st={exports:{}};!function(t){function e(t,e,s){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,s)}e.prototype.insert=function(t,e){for(var s=this._queue.length,i=s;i--;){var n=this._priorities[i];"desc"===this._sorting?e>n&&(s=i):e<n&&(s=i)}this._insertAt(t,e,s)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,s=this._queue.length;e<s;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,s){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var i=0;i<t.length;i++)this.insert(t[i],e[i])}s&&(this._sorting=s)},e.prototype._insertAt=function(t,e,s){this._queue.length===s?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(s,0,t),this._priorities.splice(s,0,e))},t.exports&&(t.exports=e)}(st),function(t){if(t.exports)var e=st.exports;function s(t,e,s,i){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,s,i)}s.prototype.run=function(t,s,i,n){this._init(t,s,i,n);for(var o=0,r=this.dataset.length;o<r;o++)if(1!==this._processed[o]){this._processed[o]=1,this.clusters.push([o]);var a=this.clusters.length-1;this._orderedList.push(o);var h=new e(null,null,"asc"),l=this._regionQuery(o);void 0!==this._distanceToCore(o)&&(this._updateQueue(o,l,h),this._expandCluster(a,h))}return this.clusters},s.prototype.getReachabilityPlot=function(){for(var t=[],e=0,s=this._orderedList.length;e<s;e++){var i=this._orderedList[e],n=this._reachability[i];t.push([i,n])}return t},s.prototype._init=function(t,e,s,i){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),s&&(this.minPts=s),i&&(this.distance=i)},s.prototype._updateQueue=function(t,e,s){var i=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===i._processed[e]){var n=i.distance(i.dataset[t],i.dataset[e]),o=Math.max(i._coreDistance,n);void 0===i._reachability[e]?(i._reachability[e]=o,s.insert(e,o)):o<i._reachability[e]&&(i._reachability[e]=o,s.remove(e),s.insert(e,o))}}))},s.prototype._expandCluster=function(t,e){for(var s=e.getElements(),i=0,n=s.length;i<n;i++){var o=s[i];if(void 0===this._processed[o]){var r=this._regionQuery(o);this._processed[o]=1,this.clusters[t].push(o),this._orderedList.push(o),void 0!==this._distanceToCore(o)&&(this._updateQueue(o,r,e),this._expandCluster(t,e))}}},s.prototype._distanceToCore=function(t){for(var e=this.epsilon,s=0;s<e;s++)if(this._regionQuery(t,s).length>=this.minPts)return s},s.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var s=[],i=0,n=this.dataset.length;i<n;i++)this.distance(this.dataset[t],this.dataset[i])<e&&s.push(i);return s},s.prototype._euclideanDistance=function(t,e){for(var s=0,i=Math.min(t.length,e.length);i--;)s+=(t[i]-e[i])*(t[i]-e[i]);return Math.sqrt(s)},t.exports&&(t.exports=s)}(et),(tt={exports:{}}).exports&&(tt.exports={DBSCAN:J.exports,KMEANS:X.exports,OPTICS:et.exports,PriorityQueue:st.exports});var it;!function(t,e){t.exports=function(){function t(s,i,n,o,r,a){if(!(r-o<=n)){var h=o+r>>1;e(s,i,h,o,r,a%2),t(s,i,n,o,h-1,a+1),t(s,i,n,h+1,r,a+1)}}function e(t,i,n,o,r,a){for(;r>o;){if(r-o>600){var h=r-o+1,l=n-o+1,p=Math.log(h),c=.5*Math.exp(2*p/3),u=.5*Math.sqrt(p*c*(h-c)/h)*(l-h/2<0?-1:1);e(t,i,n,Math.max(o,Math.floor(n-l*c/h+u)),Math.min(r,Math.floor(n+(h-l)*c/h+u)),a)}var d=i[2*n+a],g=o,m=r;for(s(t,i,o,n),i[2*r+a]>d&&s(t,i,o,r);g<m;){for(s(t,i,g,m),g++,m--;i[2*g+a]<d;)g++;for(;i[2*m+a]>d;)m--}i[2*o+a]===d?s(t,i,o,m):s(t,i,++m,r),m<=n&&(o=m+1),n<=m&&(r=m-1)}}function s(t,e,s,n){i(t,s,n),i(e,2*s,2*n),i(e,2*s+1,2*n+1)}function i(t,e,s){var i=t[e];t[e]=t[s],t[s]=i}function n(t,e,s,i){var n=t-s,o=e-i;return n*n+o*o}var o=function(t){return t[0]},r=function(t){return t[1]},a=function(e,s,i,n,a){void 0===s&&(s=o),void 0===i&&(i=r),void 0===n&&(n=64),void 0===a&&(a=Float64Array),this.nodeSize=n,this.points=e;for(var h=e.length<65536?Uint16Array:Uint32Array,l=this.ids=new h(e.length),p=this.coords=new a(2*e.length),c=0;c<e.length;c++)l[c]=c,p[2*c]=s(e[c]),p[2*c+1]=i(e[c]);t(l,p,n,0,l.length-1,0)};a.prototype.range=function(t,e,s,i){return function(t,e,s,i,n,o,r){for(var a,h,l=[0,t.length-1,0],p=[];l.length;){var c=l.pop(),u=l.pop(),d=l.pop();if(u-d<=r)for(var g=d;g<=u;g++)a=e[2*g],h=e[2*g+1],a>=s&&a<=n&&h>=i&&h<=o&&p.push(t[g]);else{var m=Math.floor((d+u)/2);a=e[2*m],h=e[2*m+1],a>=s&&a<=n&&h>=i&&h<=o&&p.push(t[m]);var v=(c+1)%2;(0===c?s<=a:i<=h)&&(l.push(d),l.push(m-1),l.push(v)),(0===c?n>=a:o>=h)&&(l.push(m+1),l.push(u),l.push(v))}}return p}(this.ids,this.coords,t,e,s,i,this.nodeSize)},a.prototype.within=function(t,e,s){return function(t,e,s,i,o,r){for(var a=[0,t.length-1,0],h=[],l=o*o;a.length;){var p=a.pop(),c=a.pop(),u=a.pop();if(c-u<=r)for(var d=u;d<=c;d++)n(e[2*d],e[2*d+1],s,i)<=l&&h.push(t[d]);else{var g=Math.floor((u+c)/2),m=e[2*g],v=e[2*g+1];n(m,v,s,i)<=l&&h.push(t[g]);var f=(p+1)%2;(0===p?s-o<=m:i-o<=v)&&(a.push(u),a.push(g-1),a.push(f)),(0===p?s+o>=m:i+o>=v)&&(a.push(g+1),a.push(c),a.push(f))}}return h}(this.ids,this.coords,t,e,s,this.nodeSize)};var h,l={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},p=Math.fround||(h=new Float32Array(1),function(t){return h[0]=+t,h[0]}),c=function(t){this.options=y(Object.create(l),t),this.trees=new Array(this.options.maxZoom+1)};function u(t,e,s,i,n){return{x:p(t),y:p(e),zoom:1/0,id:s,parentId:-1,numPoints:i,properties:n}}function d(t,e){var s=t.geometry.coordinates,i=s[0],n=s[1];return{x:p(v(i)),y:p(f(n)),zoom:1/0,index:e,parentId:-1}}function g(t){return{type:"Feature",id:t.id,properties:m(t),geometry:{type:"Point",coordinates:[(i=t.x,360*(i-.5)),(e=t.y,s=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(s))/Math.PI-90)]}};var e,s,i}function m(t){var e=t.numPoints,s=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return y(y({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:s})}function v(t){return t/360+.5}function f(t){var e=Math.sin(t*Math.PI/180),s=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return s<0?0:s>1?1:s}function y(t,e){for(var s in e)t[s]=e[s];return t}function x(t){return t.x}function C(t){return t.y}return c.prototype.load=function(t){var e=this.options,s=e.log,i=e.minZoom,n=e.maxZoom,o=e.nodeSize;s&&console.time("total time");var r="prepare "+t.length+" points";s&&console.time(r),this.points=t;for(var h=[],l=0;l<t.length;l++)t[l].geometry&&h.push(d(t[l],l));this.trees[n+1]=new a(h,x,C,o,Float32Array),s&&console.timeEnd(r);for(var p=n;p>=i;p--){var c=+Date.now();h=this._cluster(h,p),this.trees[p]=new a(h,x,C,o,Float32Array),s&&console.log("z%d: %d clusters in %dms",p,h.length,+Date.now()-c)}return s&&console.timeEnd("total time"),this},c.prototype.getClusters=function(t,e){var s=((t[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[1])),n=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)s=-180,n=180;else if(s>n){var r=this.getClusters([s,i,180,o],e),a=this.getClusters([-180,i,n,o],e);return r.concat(a)}for(var h=this.trees[this._limitZoom(e)],l=[],p=0,c=h.range(v(s),f(o),v(n),f(i));p<c.length;p+=1){var u=c[p],d=h.points[u];l.push(d.numPoints?g(d):this.points[d.index])}return l},c.prototype.getChildren=function(t){var e=this._getOriginId(t),s=this._getOriginZoom(t),i="No cluster with the specified id.",n=this.trees[s];if(!n)throw new Error(i);var o=n.points[e];if(!o)throw new Error(i);for(var r=this.options.radius/(this.options.extent*Math.pow(2,s-1)),a=[],h=0,l=n.within(o.x,o.y,r);h<l.length;h+=1){var p=l[h],c=n.points[p];c.parentId===t&&a.push(c.numPoints?g(c):this.points[c.index])}if(0===a.length)throw new Error(i);return a},c.prototype.getLeaves=function(t,e,s){e=e||10,s=s||0;var i=[];return this._appendLeaves(i,t,e,s,0),i},c.prototype.getTile=function(t,e,s){var i=this.trees[this._limitZoom(t)],n=Math.pow(2,t),o=this.options,r=o.extent,a=o.radius/r,h=(s-a)/n,l=(s+1+a)/n,p={features:[]};return this._addTileFeatures(i.range((e-a)/n,h,(e+1+a)/n,l),i.points,e,s,n,p),0===e&&this._addTileFeatures(i.range(1-a/n,h,1,l),i.points,n,s,n,p),e===n-1&&this._addTileFeatures(i.range(0,h,a/n,l),i.points,-1,s,n,p),p.features.length?p:null},c.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var s=this.getChildren(t);if(e++,1!==s.length)break;t=s[0].properties.cluster_id}return e},c.prototype._appendLeaves=function(t,e,s,i,n){for(var o=0,r=this.getChildren(e);o<r.length;o+=1){var a=r[o],h=a.properties;if(h&&h.cluster?n+h.point_count<=i?n+=h.point_count:n=this._appendLeaves(t,h.cluster_id,s,i,n):n<i?n++:t.push(a),t.length===s)break}return n},c.prototype._addTileFeatures=function(t,e,s,i,n,o){for(var r=0,a=t;r<a.length;r+=1){var h=e[a[r]],l=h.numPoints,p=void 0,c=void 0,u=void 0;if(l)p=m(h),c=h.x,u=h.y;else{var d=this.points[h.index];p=d.properties,c=v(d.geometry.coordinates[0]),u=f(d.geometry.coordinates[1])}var g={type:1,geometry:[[Math.round(this.options.extent*(c*n-s)),Math.round(this.options.extent*(u*n-i))]],tags:p},y=void 0;l?y=h.id:this.options.generateId?y=h.index:this.points[h.index].id&&(y=this.points[h.index].id),void 0!==y&&(g.id=y),o.features.push(g)}},c.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(+t,this.options.maxZoom+1))},c.prototype._cluster=function(t,e){for(var s=[],i=this.options,n=i.radius,o=i.extent,r=i.reduce,a=i.minPoints,h=n/(o*Math.pow(2,e)),l=0;l<t.length;l++){var p=t[l];if(!(p.zoom<=e)){p.zoom=e;for(var c=this.trees[e+1],d=c.within(p.x,p.y,h),g=p.numPoints||1,m=g,v=0,f=d;v<f.length;v+=1){var y=f[v],x=c.points[y];x.zoom>e&&(m+=x.numPoints||1)}if(m>g&&m>=a){for(var C=p.x*g,M=p.y*g,b=r&&g>1?this._map(p,!0):null,w=(l<<5)+(e+1)+this.points.length,L=0,k=d;L<k.length;L+=1){var P=k[L],E=c.points[P];if(!(E.zoom<=e)){E.zoom=e;var S=E.numPoints||1;C+=E.x*S,M+=E.y*S,E.parentId=w,r&&(b||(b=this._map(p,!0)),r(b,this._map(E)))}}p.parentId=w,s.push(u(C/m,M/m,w,m,b))}else if(s.push(p),m>1)for(var _=0,I=d;_<I.length;_+=1){var O=I[_],D=c.points[O];D.zoom<=e||(D.zoom=e,s.push(D))}}}return s},c.prototype._getOriginId=function(t){return t-this.points.length>>5},c.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},c.prototype._map=function(t,e){if(t.numPoints)return e?y({},t.properties):t.properties;var s=this.points[t.index].properties,i=this.options.map(s);return e&&i===s?y({},i):i},c}()}({exports:{}}),function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"}(it||(it={}));const nt={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},ot={options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},zIndex(t,e){t.setZIndex(e)}};class rt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(t,e)=>{e?t.open(this.context,e):t.getPosition()?t.open(this.context):o(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){const t=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=l({updaterMap:ot,eventMap:nt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{infoWindow:t}}),this.setInfoWindowCallback)}componentDidUpdate(t){null!==this.state.infoWindow&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:ot,eventMap:nt,prevProps:t,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(h(this.registeredEvents),this.state.infoWindow.close())}render(){return this.containerElement?n.createPortal(i.Children.only(this.props.children),this.containerElement):i.createElement(i.Fragment,null)}}rt.contextType=r;const at={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ht={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},visible(t,e){t.setVisible(e)}};class lt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){const t=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:ht,eventMap:at,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{polyline:t}}),this.setPolylineCallback)}componentDidUpdate(t){null!==this.state.polyline&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:ht,eventMap:at,prevProps:t,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),h(this.registeredEvents),this.state.polyline.setMap(null))}render(){return i.createElement(i.Fragment,null)}}lt.contextType=r;const pt={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ct={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},paths(t,e){t.setPaths(e)},visible(t,e){t.setVisible(e)}};class ut extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{null!==this.state.polygon&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){const t=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:ct,eventMap:pt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{polygon:t}}),this.setPolygonCallback)}componentDidUpdate(t){null!==this.state.polygon&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:ct,eventMap:pt,prevProps:t,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),h(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}ut.contextType=r;const dt={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},gt={bounds(t,e){t.setBounds(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},visible(t,e){t.setVisible(e)}};class mt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){const t=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:gt,eventMap:dt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{rectangle:t}}),this.setRectangleCallback)}componentDidUpdate(t){null!==this.state.rectangle&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:gt,eventMap:dt,prevProps:t,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),h(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return i.createElement(i.Fragment,null)}}mt.contextType=r;const vt={onCenterChanged:"center_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRadiusChanged:"radius_changed",onRightClick:"rightclick"},ft={center(t,e){t.setCenter(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},radius(t,e){t.setRadius(e)},visible(t,e){t.setVisible(e)}};class yt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){const t=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:ft,eventMap:vt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{circle:t}}),this.setCircleCallback)}componentDidUpdate(t){null!==this.state.circle&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:ft,eventMap:vt,prevProps:t,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),h(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return i.createElement(i.Fragment,null)}}yt.contextType=r;const xt={onAddFeature:"addfeature",onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onRightClick:"rightclick",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},Ct={add(t,e){t.add(e)},addgeojson(t,e,s){t.addGeoJson(e,s)},contains(t,e){t.contains(e)},foreach(t,e){t.forEach(e)},loadgeojson(t,e,s,i){t.loadGeoJson(e,s,i)},overridestyle(t,e,s){t.overrideStyle(e,s)},remove(t,e){t.remove(e)},revertstyle(t,e){t.revertStyle(e)},controlposition(t,e){t.setControlPosition(e)},controls(t,e){t.setControls(e)},drawingmode(t,e){t.setDrawingMode(e)},map(t,e){t.setMap(e)},style(t,e){t.setStyle(e)},togeojson(t,e){t.toGeoJson(e)}};class Mt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){const t=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:Ct,eventMap:xt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{data:t}}),this.setDataCallback)}componentDidUpdate(t){null!==this.state.data&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:Ct,eventMap:xt,prevProps:t,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),h(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}Mt.contextType=r;const bt={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},wt={options(t,e){t.setOptions(e)},url(t,e){t.setUrl(e)},zIndex(t,e){t.setZIndex(e)}};class Lt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){const t=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=l({updaterMap:wt,eventMap:bt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{kmlLayer:t}}),this.setKmlLayerCallback)}componentDidUpdate(t){null!==this.state.kmlLayer&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:wt,eventMap:bt,prevProps:t,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),h(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}Lt.contextType=r;const kt=(t,e)=>new e(t.lat,t.lng),Pt=(t,e)=>new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng)),Et=(t,e,s)=>t instanceof e?t:s(t,e);function St(t){return t?(t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng))+"":""}function _t(t){return t?(t instanceof google.maps.LatLngBounds?t:new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.east),new google.maps.LatLng(t.north,t.west)))+"":""}class It extends i.PureComponent{constructor(t){super(t),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{const t=this.props.mapPaneName,e=this.overlayView.getPanes();o(!!t,"OverlayView requires props.mapPaneName but got %s",t),e?this.setState({paneEl:e[t]}):this.setState({paneEl:null})},this.onAdd=()=>{var t,e;this.updatePane(),null===(e=(t=this.props).onLoad)||void 0===e||e.call(t,this.overlayView)},this.onPositionElement=()=>{var t,e;const s=(a=this.overlayView.getProjection(),h=Object.assign({x:0,y:0},this.containerRef.current?(t=this.containerRef.current,"function"==typeof(e=this.props.getPixelPositionOffset)?e(t.offsetWidth,t.offsetHeight):{}):{}),l=this.props.bounds,p=this.props.position,void 0!==l?((t,e,s)=>{const i=t&&t.fromLatLngToDivPixel(s.getNorthEast()),n=t&&t.fromLatLngToDivPixel(s.getSouthWest());return i&&n?{left:`${n.x+e.x}px`,top:`${i.y+e.y}px`,width:i.x-n.x-e.x+"px",height:n.y-i.y-e.y+"px"}:{left:"-9999px",top:"-9999px"}})(a,h,Et(l,google.maps.LatLngBounds,Pt)):((t,e,s)=>{const i=t&&t.fromLatLngToDivPixel(s);if(i){const{x:t,y:s}=i;return{left:`${t+e.x}px`,top:`${s+e.y}px`}}return{left:"-9999px",top:"-9999px"}})(a,h,Et(p,google.maps.LatLng,kt))),{left:i,top:n,width:o,height:r}=this.state.containerStyle;var a,h,l,p,c,u;u={left:i,top:n,width:o,height:r},((c=s).left!==u.left||c.top!==u.top||c.width!==u.height||c.height!==u.height)&&this.setState({containerStyle:Object.assign(Object.assign({},s),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var t,e;this.setState((()=>({paneEl:null}))),null===(e=(t=this.props).onUnmount)||void 0===e||e.call(t,this.overlayView)},this.containerRef=i.createRef();const e=new google.maps.OverlayView;e.onAdd=this.onAdd,e.draw=this.draw,e.onRemove=this.onRemove,this.overlayView=e}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(t){const e=St(t.position),s=St(this.props.position),i=_t(t.bounds),n=_t(this.props.bounds);e===s&&i===n||this.overlayView.draw(),t.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const t=this.state.paneEl;return t?n.createPortal(i.createElement("div",{ref:this.containerRef,style:this.state.containerStyle},i.Children.only(this.props.children)),t):null}}It.FLOAT_PANE="floatPane",It.MAP_PANE="mapPane",It.MARKER_LAYER="markerLayer",It.OVERLAY_LAYER="overlayLayer",It.OVERLAY_MOUSE_TARGET="overlayMouseTarget",It.contextType=r;const Ot={onDblClick:"dblclick",onClick:"click"},Dt={opacity(t,e){t.setOpacity(e)}};class Tt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){o(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");const t=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=l({updaterMap:Dt,eventMap:Ot,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{groundOverlay:t}}),this.setGroundOverlayCallback)}componentDidUpdate(t){null!==this.state.groundOverlay&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:Dt,eventMap:Ot,prevProps:t,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}Tt.defaultProps={onLoad:function(){}},Tt.contextType=r;const Bt={},Ut={data(t,e){t.setData(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)}};class zt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){o(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),o(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);const t=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=l({updaterMap:Ut,eventMap:Bt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{heatmapLayer:t}}),this.setHeatmapLayerCallback)}componentDidUpdate(t){h(this.registeredEvents),this.registeredEvents=l({updaterMap:Ut,eventMap:Bt,prevProps:t,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),h(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}zt.contextType=r;const Rt={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},At={register(t,e,s){t.registerPanoProvider(e,s)},links(t,e){t.setLinks(e)},motionTracking(t,e){t.setMotionTracking(e)},options(t,e){t.setOptions(e)},pano(t,e){t.setPano(e)},position(t,e){t.setPosition(e)},pov(t,e){t.setPov(e)},visible(t,e){t.setVisible(e)},zoom(t,e){t.setZoom(e)}};class jt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){const t=this.context.getStreetView();this.registeredEvents=l({updaterMap:At,eventMap:Rt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{streetViewPanorama:t}}),this.setStreetViewPanoramaCallback)}componentDidUpdate(t){null!==this.state.streetViewPanorama&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:At,eventMap:Rt,prevProps:t,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),h(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}jt.contextType=r;class Wt extends i.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){const t=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:t}}),this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}Wt.contextType=r,i.PureComponent;const Vt={onDirectionsChanged:"directions_changed"},Nt={directions(t,e){t.setDirections(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},panel(t,e){t.setPanel(e)},routeIndex(t,e){t.setRouteIndex(e)}};class Zt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){const t=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=l({updaterMap:Nt,eventMap:Vt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{directionsRenderer:t}}),this.setDirectionsRendererCallback)}componentDidUpdate(t){null!==this.state.directionsRenderer&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:Nt,eventMap:Vt,prevProps:t,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),h(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return i.createElement(i.Fragment,null)}}Zt.contextType=r,i.PureComponent;const Ht={onPlacesChanged:"places_changed"},Ft={bounds(t,e){t.setBounds(e)}};class $t extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=i.createRef(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(o(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){const t=this.containerElement.current.querySelector("input");if(null!==t){const e=new google.maps.places.SearchBox(t,this.props.options);this.registeredEvents=l({updaterMap:Ft,eventMap:Ht,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{searchBox:e}}),this.setSearchBoxCallback)}}}componentDidUpdate(t){null!==this.state.searchBox&&(h(this.registeredEvents),this.registeredEvents=l({updaterMap:Ft,eventMap:Ht,prevProps:t,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),h(this.registeredEvents))}render(){return i.createElement("div",{ref:this.containerElement},i.Children.only(this.props.children))}}$t.contextType=r;const Gt={onPlaceChanged:"place_changed"},qt={bounds(t,e){t.setBounds(e)},restrictions(t,e){t.setComponentRestrictions(e)},fields(t,e){t.setFields(e)},options(t,e){t.setOptions(e)},types(t,e){t.setTypes(e)}};class Kt extends i.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=i.createRef(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){o(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);const t=this.containerElement.current.querySelector("input");if(t){const e=new google.maps.places.Autocomplete(t,this.props.options);this.registeredEvents=l({updaterMap:qt,eventMap:Gt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{autocomplete:e}}),this.setAutocompleteCallback)}}componentDidUpdate(t){h(this.registeredEvents),this.registeredEvents=l({updaterMap:qt,eventMap:Gt,prevProps:t,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&h(this.registeredEvents)}render(){return i.createElement("div",{ref:this.containerElement,className:this.props.className||""},i.Children.only(this.props.children))}}Kt.contextType=r}}]);
|
package/8482.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8482],{50548:(e,t,l)=>{l.d(t,{l:()=>o});var a=l(24328),r=l.n(a);function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},n.apply(this,arguments)}const o=(e,t,l)=>{if(e&&t){const o=(0,a.memo)(l);return l=>r().createElement(e.Consumer,null,(e=>r().createElement(o,n({},l,t(e,l)))))}return l}},42639:(e,t,l)=>{l.d(t,{Z:()=>p});var a,r=l(43434),n=l(71153),o=l.n(n),i=l(24328),c=l.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},s.apply(this,arguments)}!function(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const p=e=>{let{className:t,icon:l,avatarText:n,rootClasses:p}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","icon","avatarText","rootClasses"]);const[f,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{m(l?a.ICON_MODE:a.TEXT_MODE)}),[l,n]);const u=()=>{m(a.ERROR_MODE)};switch(f){case a.ICON_MODE:return c().createElement(r.Z,s({className:o()(t,null==p?void 0:p.iconRoot),src:l,onError:u},d));case a.TEXT_MODE:case a.ERROR_MODE:return c().createElement(r.Z,s({className:o()(t,null==p?void 0:p.textRoot)},d),n);default:return null}}},30488:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(38748),r=l(50548);const n=e=>t=>(0,r.l)(a.X,e,t)},42011:(e,t,l)=>{l.d(t,{Z:()=>y});var a=l(13980),r=l.n(a),n=l(24328),o=l.n(n),i=l(71153),c=l.n(i),s=l(28899),p=l(87918),d=l.n(p),f=l(79573),m=l(17440);const u=(0,l(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){g(e,t,l[t])}))}return e}function g(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const E=e=>{let{classes:t={},count:l,rowsPerPageOptions:a,page:r,onChangePage:i,rowsPerPage:p,onChangeRowsPerPage:g,basicTableRef:E,labelRowsPerPage:y}=e;const v=u(),x=(0,n.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],E)()}),[E]),b=(0,n.useCallback)((e=>{i(e),x()}),[i,x]),w=(0,n.useCallback)((e=>{i(0),g(e),x()}),[i,g,x]);return o().createElement(s.Z,{classes:h({},t,{root:c()(v.pagination,t.root),select:c()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:y||d().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:l,count:a}=e;return d().text("${fromRow}-${toRow} of ${countRows}",{fromRow:d().number(t,"0,0"),toRow:d().number(l,"0,0"),countRows:d().number(a,"0,0")})},count:l,rowsPerPageOptions:a,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),b),rowsPerPage:p,onChangeRowsPerPage:(0,m.pipe)(f.NA,w)})};E.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const y=o().memo(E)},91431:(e,t,l)=>{l.d(t,{Z:()=>m});var a=l(24328),r=l.n(a),n=l(13980),o=l.n(n),i=l(3073),c=l(28831),s=l(71153),p=l.n(s);const d=(0,l(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),f=e=>{let{rowIndex:t,rowValue:l,className:n}=e;const o=d(),{toggleRowCollapse:s,getIsRowCollapsible:f,getIsRowCollapsed:m}=(0,a.useContext)(i.x),u=f(l),h=m(t);return r().createElement(c.Z,{className:p()(n,{[o.hidden]:!u}),isOpen:!h,onClick:e=>{s(t),e.stopPropagation()}})};f.propTypes={rowIndex:o().number,rowValue:o().object,className:o().string};const m=f},28831:(e,t,l)=>{l.d(t,{Z:()=>d});var a=l(24328),r=l.n(a),n=l(71153),o=l.n(n),i=l(39475),c=l(38016);const s=(0,l(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}const d=e=>{let{isOpen:t=!1,tooltipTitle:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isOpen","tooltipTitle"]);const n=s(),d={icon:c.Z,className:n.collapseButton,iconClassName:o()({[n.expandLess]:t})},f={tooltipTitle:l};return r().createElement(i.k,p({},d,f,a))}},89902:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(71153),o=l.n(n),i=l(17440);const c=(0,l(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,i.is)(Number,e),p=e=>{let{className:t,width:l=0,maxWidth:n}=e;const i=c(),p=(0,a.useCallback)((e=>(n?100*e/n:0)+"%"),[n]);return l?r().createElement("div",{className:o()(i.bar,t),style:{width:s(l)?p(l):l}}):null}},80560:(e,t,l)=>{l.d(t,{Z:()=>O});var a=l(24328),r=l.n(a),n=l(13980),o=l.n(n),i=l(87918),c=l.n(i),s=l(71153),p=l.n(s),d=l(17440),f=l(18435),m=l(22311),u=l(33117),h=l(41008),g=l(63485),E=l(26638),y=l(94792);const v=(0,l(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},x.apply(this,arguments)}function b(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){w(e,t,l[t])}))}return e}function w(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const C=e=>{let{open:t,anchorEl:l,data:n,onSearch:o,onClose:i,titleText:c,filterText:s,onListItemClick:w,selected:C,hideCheckBox:O,renderGroupTitle:S}=e,_=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const z=(0,a.useCallback)((e=>e.label.toLowerCase().includes(s.toLowerCase())),[s]),M=(0,a.useCallback)((e=>z(e)||(e.children||[]).some(M)),[z]),R=(0,a.useMemo)((()=>{const e=(0,d.curry)(((e,l,a,r)=>[{item:b({},l,{filterText:s}),level:e,groupId:a,groupName:r},...t(l.children||[],a,r,e+1)])),t=function(t,l,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const n=t=>e(r,t,l,a),o=t.filter(M);return(S?d.map:d.chain)(n,o)};return t}),[s,S,M]),F=(0,a.useCallback)((e=>e.map((e=>({item:e,items:R(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[R]),B=(0,a.useCallback)((e=>{let{item:t}=e;w(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[w,C]),k=(0,a.useMemo)((()=>(S?F:R)(n)),[n,S,F,R]),D=(0,a.useMemo)((()=>(0,h.LG)(k)),[k]),{focusIndex:I,handleKeyDown:H}=(0,E.t)({items:D,open:t,onSelectFocusedItem:B,selectedItems:C}),A=(0,a.useRef)(null);A.current=I;const T=(0,a.useCallback)(((e,t,l)=>{let{item:a,level:n=0}=t;const o=!!C.find((e=>e.id===a.id||e.id.includes(`${a.id}.`))),i=A.current===l;return r().createElement(u.Z,{key:a.id,onClick:w,checked:o,level:n,data:a,label:r().createElement(y.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,hideCheckBox:O,isFocused:i,notSelectable:a.notSelectable,LogoIcon:a.LogoIcon})}),[O,w,C]),P=(0,f.fW1)("label")(k)||308,N=v();return r().createElement(m.Z,x({open:t,className:p()(N.container,N.popupContainer),anchorEl:l,onClose:i,onSearch:o,title:c,containerWidth:P,searchInputOnKeyDown:H},_),r().createElement(g.Z,{height:300,renderItem:T,items:D,hideSubtitles:!0,getItemSize:()=>32,containerWidth:P,focusIndex:I,renderGroupTitle:S}))};C.propTypes={open:o().bool,hideCheckBox:o().bool,anchorEl:o().any,selected:o().array,data:o().array,filterText:o().string,titleText:o().string,onClose:o().func,onListItemClick:o().func,onSearch:o().func,renderGroupTitle:o().func},C.defaultProps={data:[],selected:[],titleText:c().text("Show/hide columns"),filterText:""};const O=C},87086:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(4190),o=l(60364);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},i.apply(this,arguments)}const c=e=>{let{open:t=!0,children:l}=e,c=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["open","children"]);const[s,p]=(0,a.useState)(t),d=(0,o.Z)().transitions.duration.leavingScreen;return(0,a.useEffect)((()=>{if(t!==s){if(!t){const e=setTimeout((()=>{p(!1)}),d);return()=>clearTimeout(e)}p(!0)}}),[t,d,s]),r().createElement(n.ZP,i({open:t},c),s&&l)};c.displayName="Drawer";const s=c},79002:(e,t,l)=>{l.d(t,{B9:()=>u,tC:()=>m,ZP:()=>h});var a=l(24328),r=l.n(a),n=l(17440),o=l(90436),i=l(77277);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},c.apply(this,arguments)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},s.apply(this,arguments)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},d.apply(this,arguments)}const f=(0,l(79692).Z)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","& $text":{color:e.palette.text.secondary,fontSize:"20px",fontWeight:300,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:"rgba(0, 0, 0, 0.54)",fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let m;!function(e){e.full="full",e.embedded="embedded"}(m||(m={}));const u={SEARCH_RESULTS:e=>r().createElement("svg",c({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},r().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),r().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},r().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},r().createElement("stop",{stopColor:"#FFF",offset:"0%"}),r().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},r().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),r().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),r().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},r().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),r().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("g",{transform:"translate(56 34)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),r().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),r().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),r().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),r().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),r().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),r().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),r().createElement("g",null,r().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),r().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>r().createElement("svg",s({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"79.375%",y1:"86.747%",x2:"32.207%",y2:"33.403%",id:"SelectAttributes_svg__c"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("circle",{id:"SelectAttributes_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"SelectAttributes_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#SelectAttributes_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#SelectAttributes_svg__a"}),r().createElement("path",{fill:"#F4F4F4",mask:"url(#SelectAttributes_svg__b)",d:"M-16 9h256v239H-16z"}),r().createElement("path",{fill:"url(#SelectAttributes_svg__c)",opacity:.05,mask:"url(#SelectAttributes_svg__b)",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865z"}),r().createElement("path",{d:"M53 58h202a7 7 0 017 7v157a7 7 0 01-7 7H53a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000",opacity:.06,mask:"url(#SelectAttributes_svg__b)"}),r().createElement("g",{mask:"url(#SelectAttributes_svg__b)"},r().createElement("path",{d:"M56 56h201a5 5 0 015 5v157a5 5 0 01-5 5H56a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#FFF",fillRule:"evenodd"}),r().createElement("path",{d:"M114.376 69.635H156a3 3 0 010 6h-41.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 81.635h64.205a3 3 0 010 6H114a3 3 0 110-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M114.376 160H156a3 3 0 010 6h-41.624a3 3 0 010-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 172h64.205a3 3 0 010 6H114a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M114.376 190H196a3 3 0 010 6h-81.624a3 3 0 010-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M114 202h74.205a3 3 0 010 6H114a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M82 190a2 2 0 012 2v14a2 2 0 01-2 2H68a2 2 0 01-2-2v-14a2 2 0 012-2h14zm0 2H68v14h14v-14z",fillOpacity:.18,fill:"#000",fillRule:"nonzero"}),r().createElement("path",{d:"M138.376 100H220a3 3 0 010 6h-81.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M138 112h64.205a3 3 0 010 6H138a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M82 100a2 2 0 012 2v14a2 2 0 01-2 2H68a2 2 0 01-2-2v-14a2 2 0 012-2h14zm0 2H68v14h14v-14z",fillOpacity:.18,fill:"#000",fillRule:"nonzero"}),r().createElement("path",{d:"M138.376 130H220a3 3 0 010 6h-81.624a3 3 0 110-6z",fill:"#B6C7DB",fillRule:"evenodd",opacity:.8}),r().createElement("path",{d:"M138 142h74.205a3 3 0 010 6H138a3 3 0 010-6z",fill:"#979797",fillRule:"evenodd",opacity:.2}),r().createElement("path",{d:"M96.514 100h2v8h9.179v2h-9.179v28.365h9.179v2H96.514V100z",fill:"#2B98F0",fillRule:"nonzero",opacity:.2}),r().createElement("path",{d:"M82 70H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V72a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 73.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 80.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{d:"M82 160H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-14a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 163.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 170.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{d:"M82 130H68a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-14a2 2 0 00-2-2z",fill:"#2B98F0",fillRule:"nonzero"}),r().createElement("path",{d:"M80.097 133.255a1.5 1.5 0 012.224 2.007l-.103.114-8.157 8.156a1.5 1.5 0 01-2.007.103l-.114-.103-3.164-3.164a1.5 1.5 0 012.007-2.225l.114.103L73 140.35l7.097-7.095z",fill:"#FFF",fillRule:"nonzero"}),r().createElement("path",{fill:"#000",fillRule:"evenodd",opacity:.54,d:"M101.071 77l-3.535 3.536L94 77z"})),r().createElement("path",{d:"M56 22h186a6 6 0 016 6v18a6 6 0 01-6 6H56a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#FFF",opacity:.6,mask:"url(#SelectAttributes_svg__b)"}),r().createElement("path",{d:"M70 31h70a6 6 0 010 12H70a6 6 0 110-12zM160 31h10a6 6 0 010 12h-10a6 6 0 010-12z",fill:"#979797",opacity:.2,mask:"url(#SelectAttributes_svg__b)"}))),NO_DATA:e=>r().createElement("svg",p({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),r().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},r().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),r().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),r().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},r().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),r().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),r().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),r().createElement("feMerge",null,r().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),r().createElement("feMergeNode",{in:"SourceGraphic"}))),r().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},r().createElement("use",{xlinkHref:"#NoData_svg__a"})),r().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),r().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("g",{transform:"translate(29 37)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),r().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),r().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),r().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),r().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},r().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),r().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),r().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>r().createElement("svg",d({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("mask",{id:"Error_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:88,height:88},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),r().createElement("g",{mask:"url(#Error_svg__a)"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:.3}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),r().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.5,d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.3,d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.8,d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.2,d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#Error_svg__filter0_d)"},r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),r().createElement("path",{opacity:.15,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),r().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#Error_svg__paint0_linear)"}),r().createElement("g",{filter:"url(#Error_svg__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#Error_svg__filter2_d)"},r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),r().createElement("defs",null,r().createElement("filter",{id:"Error_svg__filter0_d",x:36.219,y:37.875,width:42.375,height:42.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter1_d",x:51.688,y:62.625,width:11.438,height:11.438,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter2_d",x:51.688,y:44.063,width:11.438,height:23.813,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"Error_svg__paint0_linear",x1:68.438,y1:71.571,x2:60.119,y2:58.801,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:0}),r().createElement("stop",{offset:1}))))},h=e=>{let{variant:t=m.full,LogoRenderer:l=u.SEARCH_RESULTS,text:a,secondaryText:c,buttonTitle:s,onClick:p=n.identity,access:d}=e;const h=f(),g=d&&s;return r().createElement("div",{className:h.root},r().createElement(l,{className:h[`${t}`]}),r().createElement("div",{className:h.textBox},r().createElement(o.Z,{variant:"h5",classes:{h5:h.text}},a),c&&r().createElement(o.Z,{variant:"subtitle1",classes:{subtitle1:h.secondaryText}},c)),g&&r().createElement(i.Z,{className:h.button,variant:"contained",color:"primary",onClick:p},s))}},20146:(e,t,l)=>{l.d(t,{Z:()=>f});var a=l(24328),r=l.n(a),n=l(52730),o=l(71153),i=l.n(o),c=l(90436),s=l(18435),p=l(89810);const d=(0,l(79692).Z)({"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",display:"inline-flex",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px"}}),f=e=>{let{entity:t,className:l,size:a="small"}=e;const o=d(),f=(0,n.useSelector)(p.ZP.selectors.getMetadata),m=t.type,u=(0,s.nt9)(f,m)||{},h=(0,s.VD3)(f,u,"typeColor")||s.rSc.palette.primary.main;return r().createElement(c.Z,{style:{backgroundColor:h,color:s.P6Y.Colors.getColor(h)?"#FFFFFF":"#212121"},className:i()(o[`entityType-${a}`],l),component:"div"},(0,s.jFi)(f,t))}},92934:(e,t,l)=>{l.d(t,{Q:()=>s});var a=l(24328),r=l.n(a),n=l(87918),o=l.n(n),i=l(18435),c=l(72108);const s=(0,a.memo)((e=>{let{entityTypes:t,selectedEntityTypes:l,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:f={},ListLabelProps:m={},disabled:u=!1}=e;const h=(0,a.useMemo)((()=>t.filter(i.oDv)),[t]);return r().createElement(c.S,{items:h,selectedItemsUris:l,single:n,placeholder:s,enableEmptyValueUnderline:p,onChange:d,classes:f,ListLabelProps:m,disabled:u,label:o().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:o().text("Select entity types")})}));s.displayName="EntityTypesSelector"},76283:(e,t,l)=>{l.d(t,{E:()=>m,Z:()=>u});var a=l(24328),r=l.n(a),n=l(4614),o=l(39475),i=l(61932),c=l(27291),s=l(79573),p=l(71153),d=l.n(p);const f=(0,l(79692).Z)({root:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px"},check:{color:"#8CC152"}});let m;!function(e){e[e.INIT=1]="INIT",e[e.PROGRESS=2]="PROGRESS",e[e.SUCCESS=3]="SUCCESS",e[e.DONE=4]="DONE"}(m||(m={}));const u=e=>{let{classes:t={},tooltip:l="",onClick:a=s.ZT,mode:p=m.INIT}=e;const u=f();return r().createElement("div",{className:d()(u.root,t.root)},(()=>{switch(p){case m.INIT:return r().createElement(o.k,{className:t.button,size:"M",tooltipTitle:l,icon:i.Z,onClick:a});case m.PROGRESS:return r().createElement(n.Z,{className:t.spinner,size:24});case m.SUCCESS:return r().createElement(c.Z,{className:d()(u.check,t.check)});default:return null}})())}},72108:(e,t,l)=>{l.d(t,{S:()=>B});var a=l(24328),r=l.n(a),n=l(71153),o=l.n(n),i=l(17440),c=l(18435),s=l(86619),p=l(83543),d=l(80030),f=l(79692);const m=(0,f.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),u=(e,t)=>{const{childNodes:l,clientLeft:a,clientWidth:r}=t;if(l.length>0){const[t]=Array.from(l),n=document.createRange();n.setStart(t,0);for(let l=0;l<e.length;l++){n.setEnd(t,n.endOffset+e[l].length);const{width:o}=n.getBoundingClientRect();if(a+o>r)return l;l!==e.length-1&&n.setEnd(t,n.endOffset+", ".length)}}return-1},h=e=>e.join(", "),g=e=>`calc(${(0,i.isNil)(e)?"100%":`${e}px`} - 35px)`,E=e=>{let{list:t,maxWidth:l}=e;const n=m(),o=(0,a.useRef)(),[i,c]=(0,a.useState)(0);(0,a.useEffect)((()=>{c(((e,t)=>{const l=e.length,a=((e,t)=>{if(t){const l=u(e,t);return-1===l?0:e.length-l}return 0})(e,t);return l-Math.max(1,l-a)})(t,o.current))}),[t]);const s=h(t),p=i>0,f=p?h(t.slice(0,-i)):s;return r().createElement(d.ZP,{title:p?s:""},r().createElement("div",{className:n.listLabelContainer},r().createElement("div",{style:{width:g(l)},className:n.listLabel,ref:o},s),r().createElement("div",{className:n.visibleItemsLabel},f),p&&r().createElement("div",{className:n.hiddenCount},`+${i}`)))};var y=l(40435),v=l(22311),x=l(26638),b=l(33117),w=l(94792),C=l(63485);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},O.apply(this,arguments)}const S=(0,i.always)(32),_=(0,a.memo)((e=>{let{selectedItems:t,onItemClick:l,focusIndex:a,width:n,height:o}=e,i=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return r().createElement(C.Z,O({getItemSize:S,renderItem:(e,n,o)=>{let{item:i}=n;const c=!!t.find((e=>i.uri===e)),s=o===a;return r().createElement(b.Z,{key:i.uri,onClick:l,checked:c,data:i,label:r().createElement(w.Z,{text:i.label,highlight:i.filterText}),labelInText:i.label,style:e,isFocused:s,hideIcon:!0,LogoIcon:i.LogoIcon})},focusIndex:a,fixedTitle:!1,disableHorizontalScrollbar:!0,width:n,height:o},i))}));_.displayName="SelectMetadataTypesList";const z=(0,f.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},M.apply(this,arguments)}function R(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){F(e,t,l[t])}))}return e}function F(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const B=(0,a.memo)((e=>{let{placeholder:t,classes:l={},items:n,selectedItemsUris:d,onChange:f,ListLabelProps:m={},disabled:u,enableEmptyValueUnderline:h,single:g,label:b,dataReltioId:w,selectionPopupTitle:C}=e;const O=z(),[S,F]=(0,a.useState)(!1),B=(0,a.useCallback)((()=>F(!0)),[]),k=(0,a.useCallback)((()=>F(!1)),[]),[D,I]=(0,a.useState)(""),H=(0,a.useCallback)((()=>I("")),[]),A=(0,a.useCallback)((0,i.pipe)(H,k),[k,H]),T=n.filter((e=>{let{label:t}=e;return c.P6Y.strings.search(t,D)})).map(((e,t)=>({item:{item:R({},e,{filterText:D})},index:t}))),P=(0,a.useMemo)((()=>d.map((e=>n.find((0,i.propEq)("uri",e)))).map((0,i.prop)("label"))),[d,n]),N=(0,a.useCallback)(((e,t)=>{g?(f(t?[e.uri]:[]),A()):f(t?d.concat(e.uri):d.filter((t=>t!==e.uri)))}),[d,f,g,A]),j=(0,a.useCallback)((e=>{let{item:t}=e;const l=!d.includes(t.uri);N(t,l)}),[d,N]),{focusIndex:L,handleKeyDown:Z}=(0,x.t)({items:T,open:S,onSelectFocusedItem:j,selectedItems:d,onClose:A}),V=(0,a.useRef)(),W=V.current?V.current.getBoundingClientRect().width:0,G=Math.max(W,255),U=0===d.length;return r().createElement(r().Fragment,null,r().createElement(s.Z,{label:b,ref:V,InputProps:{startAdornment:U&&!t?null:r().createElement("div",{className:o()(O.inputText,l.inputText)},U?r().createElement("div",null,t):r().createElement(E,M({},m,{list:P}))),classes:{root:O.inputRoot,input:o()(O.input,l.input,{[O.emptyInput]:U&&!t}),disabled:o()(O.disabledInput,{[O.disabledPointer]:u}),underline:O.disabledUnderline},endAdornment:r().createElement(y.Z,{size:"L",icon:p.Z,iconClassName:o()(O.icon,{[O["popup-opened-icon"]]:S}),disabled:u}),readOnly:!0,disabled:!0,disableUnderline:U&&!h},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:o()(O.inputLabel,l.label)}},value:"",onClick:u?void 0:B,classes:{root:o()(O.root,l.root)},margin:"dense",variant:"filled",disabled:u,"data-reltio-id":w}),r().createElement(v.Z,{open:S,anchorEl:V.current,onClose:A,onSearch:I,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:Z,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${w}-popup`}},r().createElement(_,{items:T,onItemClick:N,selectedItems:d,width:G,height:245,focusIndex:L})))}));B.displayName="MetadataTypesSelector"},66072:(e,t,l)=>{l.d(t,{Z:()=>w});var a=l(52730),r=l(89810),n=l(24328),o=l.n(n),i=l(71153),c=l.n(i),s=l(17440),p=l(18435),d=l(20146),f=l(18527),m=l(37573),u=l(76283);const h=e=>e&&e.scrollIntoView({block:"end",behavior:"smooth"}),g=e=>{e&&clearTimeout(e)},E=(e,t)=>{if(e&&t){const l=e.offsetTop,a=e.offsetTop+e.clientHeight,{clientHeight:r,scrollTop:n}=t;return l>=0&&a>n&&a<n+r}};var y=l(55962),v=l(79692),x=l(41128);const b=(0,v.Z)((e=>({"@keyframes animate":{from:{background:"transparent"},"66%":{background:"#f2e68e"},"100%":{background:"transparent"}},highlighted:{animationName:"$animate",animationDuration:"3s",animationIterationCount:1},item:{display:"flex",minHeight:"40px",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",flexDirection:"row","&:after":{content:"",minHeight:"inherit",fontSize:0},"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},clickable:{cursor:"pointer"},selected:{background:(0,x.U1)(e.palette.primary.main,.12),"&:hover":{background:(0,x.U1)(e.palette.primary.main,.24)}},inactive:{background:e.inactiveBackground,"&:hover":{background:e.inactiveHoverBackground},"&$selected":{background:e.inactiveSelectedBackground,"&:hover":{background:e.inactiveSelectedHoverBackground}}},justImported:{backgroundColor:"#FFFBEB !important"},avatar:{marginLeft:"20px"},image:{height:"32px",width:"32px",marginTop:"8px",marginBottom:"7px"},info:{marginLeft:"20px",flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"center",fontSize:"13px",width:"100%",overflow:"hidden",overflowWrap:"break-word",wordWrap:"break-word"},label:{fontSize:"13px",lineHeight:"15px",fontWeight:500,color:e.palette.primary.main,marginRight:"17px",textDecoration:"none"},secondaryLabel:{marginRight:"12px"},businessCard:{color:"rgba(0, 0, 0, 0.54)"},secondRow:{display:"flex",marginTop:"2px",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",fontSize:"12px"}}))),w=(0,a.connect)((e=>({metadata:r.ZP.selectors.getMetadata(e)})))((e=>{let{entities:t,metadata:l,entityToHighlight:a,selectedEntityUri:r,onEntityClick:i,onEntityHover:v,entitiesImportStatus:x,entityButtonsRenderer:w}=e;const C=b(),O=(0,n.useRef)(null),S=(0,n.useRef)(null);return(0,y.D)((()=>{if(a){var e;const l=null===(e=O.current)||void 0===e?void 0:e.querySelectorAll(`[data-entity-uri='${a}']`);if(g(S.current),(null==l?void 0:l.length)>0){var t;const e=null===(t=O.current)||void 0===t?void 0:t.parentElement;E(l[0],e)||(h(l[0]),S.current=setTimeout((()=>{E(l[0],e)||h(l[0])}),1e3))}}return()=>{g(S.current)}}),[a]),o().createElement("div",{ref:O},(t||[]).map((e=>{const t=(0,p.idV)(e.label),n=e.secondaryLabel,h=(0,p.ptG)(l,e),g=(0,p.Fn9)(e),E=e.uri,y=(0,p.wwR)(e),b=(0,s.prop)(E,x);return o().createElement("div",{key:E,className:c()(C.item,{[C.clickable]:!!i,[C.selected]:E===r,[C.highlighted]:E===a,[C.inactive]:!g,[C.justImported]:b===u.E.SUCCESS}),onClick:i?()=>i(E):void 0,onMouseEnter:v?()=>v(E):void 0,onMouseLeave:v?()=>v(null):void 0,"data-entity-uri":E},o().createElement(m.Z,{entity:e,avatarClassName:C.avatar,imageClassName:C.image}),o().createElement("div",{className:C.info},o().createElement("div",null,o().createElement(f.Z,{value:y,className:C.label},t),n&&o().createElement("span",{className:C.secondaryLabel},n," "),h&&o().createElement("span",{className:C.businessCard},h)),o().createElement("div",{className:C.secondRow},o().createElement(d.Z,{entity:e}),o().createElement("div",null,(0,p.BTI)(e)))),w&&w(e))})))}))},88357:(e,t,l)=>{l.d(t,{Z:()=>C});var a=l(24328),r=l.n(a),n=l(13980),o=l.n(n),i=l(71153),c=l.n(i),s=l(79692);const p=(0,s.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));var d=l(87918),f=l.n(d),m=l(6782);const u="46px",h=(0,s.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:u},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:u}}))),g=e=>{let{className:t,rowData:l}=e;const a=h();return r().createElement("div",{className:c()(a.readOnlyLogicOperatorContainer,t)},l&&l.operator?(0,m.Z)(l.operator):f().text("Where"))};g.propTypes={className:o().string,rowData:o().object};const E=g;var y=l(18435);const v=e=>{let{className:t,rowData:l}=e;const a=h();return r().createElement("div",{className:c()(a.readOnlyFilter,t)},l&&l.filter?(0,y.XS2)(l.filter):f().text("equals"))};v.propTypes={className:o().string,rowData:o().object};const x=v;var b=l(53862);const w=e=>{let{classes:t={},rowData:l,previousRowData:a,LogicOperatorComponent:n=E,AttributeSelectorComponent:o,FilterSelectorComponent:i=x,ValuesEditorComponent:s,ActionsComponent:d,filterSelectorRef:f,attributeSelectorProps:m={}}=e,u=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const h=p();return r().createElement("div",{className:c()(h.row,t.root)},r().createElement(n,{className:t.logicOperatorContainer,rowContext:u,rowData:a}),r().createElement("div",{className:c()(h.rowItem,t.attributeSelectorContainer)},r().createElement(o,{attributeSelectorProps:m,rowContext:u,rowData:l})),r().createElement("div",{className:c()(h.rowItem,t.filterSelectorContainer)},r().createElement(i,{textFieldInputRef:f,rowContext:u,rowData:l})),r().createElement("div",{className:c()(h.rowItem,h.fullWidth,t.valuesEditorContainer)},r().createElement(s,{rowContext:u,rowData:l})),r().createElement("div",{className:c()(h.rowItem,t.actionsContainer,{[h.hidden]:!l})},r().createElement(d,{rowContext:u,rowData:l})))};w.propTypes={classes:o().shape({root:o().string,logicOperatorContainer:o().string,attributeSelectorContainer:o().string,filterSelectorContainer:o().string,valuesEditorContainer:o().string,actionsContainer:o().string}),rowData:b.Xw,previousRowData:b.Xw,LogicOperatorComponent:o().elementType,AttributeSelectorComponent:o().elementType,FilterSelectorComponent:o().elementType,ValuesEditorComponent:o().elementType,ActionsComponent:o().elementType,filterSelectorRef:o().object,attributeSelectorProps:o().shape({onRestoreFocus:o().func,onOpen:o().func,disablePopoverRestoreFocus:o().bool})};const C=(0,a.memo)(w)},51586:(e,t,l)=>{l.d(t,{Z:()=>f});var a=l(24328),r=l.n(a),n=l(13980),o=l.n(n),i=l(17440),c=l(88357),s=l(53862);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}const d=e=>{let{className:t,rowClasses:l,rowsData:a,lastRowAttributeSelectorProps:n,filterSelectorRef:o,filterSelectorRefIndex:s}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const f=(e,t,a)=>{const f=t>0?(0,i.path)([t-1],a):null,m=t===a.length?{attributeSelectorProps:n}:{};return r().createElement(c.Z,p({key:e&&e.id,rowData:e,previousRowData:f,classes:l,filterSelectorRef:t===s?o:void 0},d,m))};return r().createElement("div",{className:t},a.map(f),f(null,a.length,a))};d.propTypes={className:o().string,rowClasses:o().shape({root:o().string,logicOperatorContainer:o().string,attributeSelectorContainer:o().string,filterSelectorContainer:o().string,valuesEditorContainer:o().string,actionsContainer:o().string}),rowsData:o().arrayOf(s.Xw),LogicOperatorComponent:o().elementType,AttributeSelectorComponent:o().elementType,FilterSelectorComponent:o().elementType,ValuesEditorComponent:o().elementType,ActionsComponent:o().elementType,filterSelectorRef:o().object,filterSelectorRefIndex:o().number,lastRowAttributeSelectorProps:o().shape({onRestoreFocus:o().func,onOpen:o().func,disablePopoverRestoreFocus:o().bool})};const f=(0,a.memo)(d)},2633:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(54573),r=l(17440);const n={BY_LABEL:(0,a.c)({stringify:(0,r.prop)("label")})}}}]);
|