@omnic/widget-locations 1.0.53 → 1.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/components/CourierDetailsView/CourierDetailsView.d.ts +5 -0
- package/dist/lib/components/LocationView/LocationView.d.ts +5 -0
- package/dist/lib/components/MapGoogle/MapGoogle.constants.d.ts +0 -1
- package/dist/lib/components/MapGoogle/MapGoogle.hooks.d.ts +4 -4
- package/dist/lib/components/MapGoogle/MapGoogle.utils.d.ts +2 -0
- package/dist/lib/constants/map.d.ts +4 -1
- package/dist/lib/geocode.d.ts +1 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
- package/dist/lib/stores/map.d.ts +2 -1
- package/dist/lib/style.css +1 -1
- package/dist/lib/utils/getAddressFromLatLng.d.ts +13 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/isFallbackCenter.d.ts +1 -0
- package/dist/lib/utils/stopImmediatePropagation.d.ts +1 -0
- package/dist/lib/views/Widget/Widget.hooks.d.ts +1 -0
- package/dist/lib/widget.es.js +6614 -6198
- package/dist/lib/widget.umd.js +34 -21
- package/package.json +19 -19
- package/dist/lib/hooks/useMediaQuery/index.d.ts +0 -1
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.d.ts +0 -2
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.types.d.ts +0 -7
- package/dist/lib/hooks/useMediaQuery/useMediaQuery.utils.d.ts +0 -4
package/dist/lib/widget.umd.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
(function(kt,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-dom/server")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-dom/server"],L):(kt=typeof globalThis<"u"?globalThis:kt||self,L(kt["@omnic/widget-locations"]={},kt["react/jsx-runtime"],kt.React,kt.ReactDOM,kt["react-dom/server"]))})(this,function(kt,L,c,Bn,Ui){"use strict";function Sa(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const be=Sa(c),La=Sa(Bn),Gw="",Vw="";function no(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Pd=function(t,e,n,r,o,i,s,a){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,s,a],f=0;l=new Error(e.replace(/%s/g,function(){return u[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},kd=Pd;const xa=no(kd);function Hi(t){return!!(t&&typeof t.then=="function")}function ro(t,e){return Hi(t)?Promise.resolve(t).then(e):e(t)}function Aa(t){const e=(Array.isArray(t)?t:[t]).map(i=>`'${i}'`),n=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),n].join(", ")} option`}function Id(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function Oa(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function mt(t){return Oa(t)||[]}function Dd(t,e){return Id(e)?mt(e==null?void 0:e[t]):mt(e)}function zi(t){return Array.from(new Set(t))}function Ma(t){return t&&t.replace(/\/+$/,"")}function Td(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}function dn(t){let e=[];return Object.freeze({listen(n){const r=o=>{n(o)};return e.push(r),{unsubscribe(){e=e.filter(o=>r!==o)}}},emit(n){t()&&e.forEach(r=>r({value:n}))}})}function Bd(t,e,n){const r=new Set,o=new Set;function i(l){const u=new Set(e());o.forEach(f=>{(l===void 0||(l==null?void 0:l.findIndex(p=>u.has(p)||f.namespaces.has(p)))!==-1)&&f.fn({value:void 0})})}let s=[];function a(){if(s.length===0)return;const l=s;s=[],r.forEach(d=>{d({value:void 0})});let u=new Set;l.forEach(d=>{d===void 0?u=void 0:u!==void 0&&d.forEach(p=>u.add(p))});const f=u?Array.from(u.keys()):void 0;i(f)}return Object.freeze({emit(l,u){t()&&(s.push(l),u?setTimeout(a,0):a())},listen(l){return r.add(l),{unsubscribe:()=>{r.delete(l)}}},listenSome(l){const u={fn:d=>{l(d)},namespaces:new Set};o.add(u);const f={unsubscribe:()=>{o.delete(u)},subscribeNs:d=>(mt(d).forEach(p=>u.namespaces.add(p)),d===void 0&&u.namespaces.add(n()),f)};return f}})}function Nd(t,e){let n=!0;function r(){return n}const o=Object.freeze({onPendingLanguageChange:dn(r),onLanguageChange:dn(r),onLoadingChange:dn(r),onFetchingChange:dn(r),onInitialLoaded:dn(r),onRunningChange:dn(r),onCacheChange:dn(r),onUpdate:Bd(r,t,e),setEmitterActive(i){n=i},on:(i,s)=>{switch(i){case"pendingLanguage":return o.onPendingLanguageChange.listen(s);case"language":return o.onLanguageChange.listen(s);case"loading":return o.onLoadingChange.listen(s);case"fetching":return o.onFetchingChange.listen(s);case"initialLoad":return o.onInitialLoaded.listen(s);case"running":return o.onRunningChange.listen(s);case"cache":return o.onCacheChange.listen(s);case"update":return o.onUpdate.listen(s)}}});return o.onInitialLoaded.listen(()=>o.onUpdate.emit()),o.onLanguageChange.listen(()=>o.onUpdate.emit()),o.onCacheChange.listen(({value:i})=>o.onUpdate.emit([i.namespace],!0)),o}const Pa=t=>{const e=new Map;return Object.entries(t).forEach(([n,r])=>{if(r!=null){if(typeof r=="object"){Pa(r).forEach((o,i)=>{e.set(n+"."+i,o)});return}e.set(n,r)}}),e},ur=t=>{const[e,...n]=t.split(":"),r=n.join(":");return{language:e,namespace:r||""}},Gt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function jd(t,e,n,r,o,i,s){const a=new Map,l=new Map;let u={},f=0;function d(h,S,C){const b=Gt(h);l.set(b,{data:Pa(S),version:C}),t.emit(h)}function p(h){let S;if(!S){const C=u[Gt(h)];typeof C=="function"&&(S=C())}return S||(S=e(h)),S}function g(h,S){var C;let b;return S&&(b=(C=n(h))===null||C===void 0?void 0:C.catch(()=>(console.warn("Tolgee: Failed to fetch data from dev backend"),p(h)))),b||(b=p(h)),b}const m=Object.freeze({addStaticData(h){h&&(u=Object.assign(Object.assign({},u),h),Object.entries(h).forEach(([S,C])=>{if(typeof C!="function"){const b=ur(S),y=l.get(S);(!y||y.version===0)&&d(b,C,0)}}))},invalidate(){a.clear(),f+=1},addRecord(h,S){d(h,S,f)},exists(h,S=!1){const C=l.get(Gt(h));return C&&S?C.version===f:!!C},getRecord(h){var S;return(S=l.get(Gt(r(h))))===null||S===void 0?void 0:S.data},getTranslation(h,S){var C;return(C=l.get(Gt(h)))===null||C===void 0?void 0:C.data.get(S)},getTranslationNs(h,S,C){var b;for(const y of h)for(const A of S){const E=(b=l.get(Gt({language:A,namespace:y})))===null||b===void 0?void 0:b.data.get(C);if(E!=null)return[y]}return zi(h)},getTranslationFallback(h,S,C){var b;for(const y of h)for(const A of S){const E=(b=l.get(Gt({language:A,namespace:y})))===null||b===void 0?void 0:b.data.get(C);if(E!=null)return E}},changeTranslation(h,S,C){var b;const y=(b=l.get(Gt(h)))===null||b===void 0?void 0:b.data;y==null||y.set(S,C),t.emit(Object.assign(Object.assign({},h),{key:S}))},isFetching(h){if(o())return!0;if(h===void 0)return a.size>0;const S=mt(h);return!!Array.from(a.keys()).find(C=>S.includes(ur(C).namespace))},isLoading(h,S){const C=mt(S);return!!(o()||Array.from(a.keys()).find(b=>{const y=ur(b);return(!C.length||C.includes(y.namespace))&&!m.exists({namespace:y.namespace,language:h})}))},async loadRecords(h,S){const C=h.map(y=>{const A=r(y),E=Gt(A),v=a.get(E);if(v)return{new:!1,promise:v,keyObject:A,cacheKey:E};const x=g(A,S)||Promise.resolve(void 0);return a.set(E,x),{new:!0,promise:x,keyObject:A,cacheKey:E}});i.notify(),s.notify();const b=await Promise.all(C.map(y=>y.promise));return C.forEach((y,A)=>{const E=a.get(y.cacheKey)!==y.promise;if(y.new&&!E){a.delete(y.cacheKey);const v=b[A];v?m.addRecord(y.keyObject,v):m.getRecord(y.keyObject)||m.addRecord(y.keyObject,{})}}),i.notify(),s.notify(),C.map(y=>m.getRecord(y.keyObject))},getAllRecords(){return Array.from(l.entries()).map(([S,C])=>Object.assign(Object.assign({},ur(S)),{data:C.data}))}});return m}function ka(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}const Ud={tagAttributes:{textarea:["placeholder"],input:["value","placeholder"],img:["alt"],"*":["aria-label","title"]},restrictedElements:["script","style"],highlightKeys:["Alt"],highlightColor:"rgb(255, 0, 0)",highlightWidth:5,inputPrefix:"%-%tolgee:",inputSuffix:"%-%",passToParent:["option","optgroup"]},Fi="invalid",Hd={defaultNs:"",observerOptions:Ud,observerType:"invisible",onFormatError:Fi,apiUrl:"https://app.tolgee.io"},Gi=(...t)=>{let e={};return t.forEach(n=>{e=Object.assign(Object.assign(Object.assign({},e),n),{observerOptions:Object.assign(Object.assign({},e.observerOptions),n==null?void 0:n.observerOptions)})}),e};function Ia(t,e){const n=Gi(Hd,e==null?void 0:e.initialOptions,t);return n.apiUrl=Ma(n.apiUrl),{initialOptions:n,activeNamespaces:(e==null?void 0:e.activeNamespaces)||new Map,language:e==null?void 0:e.language,pendingLanguage:e==null?void 0:e.language,isInitialLoading:!1,isRunning:!1}}function zd(t,e,n,r,o,i){const s={ui:void 0},a={formatters:[],finalFormatter:void 0,observer:void 0,devBackend:void 0,backends:[],ui:void 0,languageDetector:void 0,languageStorage:void 0},l=async({keysAndDefaults:w,event:M})=>{var O;const P=w.map(({key:T,ns:z,defaultValue:Q})=>({key:T,defaultValue:Q,ns:r({key:T,ns:z}),translation:o({key:T,ns:z})}));(O=a.ui)===null||O===void 0||O.handleElementClick(P,M)},u=(w,M)=>{var O;return((O=a.observer)===null||O===void 0?void 0:O.findPositions(w,M))||[]};function f(w){const M=o({key:w.key,ns:w.ns});return x.formatTranslation(Object.assign(Object.assign({},w),{translation:M,formatEnabled:!0}))}function d(w){a.observer=w==null?void 0:w()}function p(){return!!a.observer}function g(w){w&&a.formatters.push(w)}function m(w){a.finalFormatter=w}function h(w){s.ui=w}function S(){return!!s.ui}function C(w){a.languageStorage=w}function b(w){a.languageDetector=w}function y(){if(!a.languageDetector)return;const w=n();return a.languageDetector.getLanguage({availableLanguages:w})}function A(w){w&&a.backends.push(w)}function E(w){a.devBackend=w}function v(w,M){const O=Object.freeze({setFinalFormatter:m,addFormatter:g,setObserver:d,hasObserver:p,setUi:h,hasUi:S,setDevBackend:E,addBackend:A,setLanguageDetector:b,setLanguageStorage:C});M(w,O)}const x=Object.freeze({addPlugin:v,run(){var w,M;const{apiKey:O,apiUrl:P,projectId:T,observerOptions:z}=e();a.ui=(w=s.ui)===null||w===void 0?void 0:w.call(s,{apiKey:O,apiUrl:P,projectId:T,highlight:x.highlight,changeTranslation:i,findPositions:u}),(M=a.observer)===null||M===void 0||M.run({mouseHighlight:!0,options:z,translate:f,onClick:l})},stop(){var w;a.ui=void 0,(w=a.observer)===null||w===void 0||w.stop()},getLanguageStorage(){return a.languageStorage},getInitialLanguage(){var w;const M=n(),O=(w=a.languageStorage)===null||w===void 0?void 0:w.getLanguage();return ro(O,P=>(!M||M.includes(P))&&P?P:y())},setStoredLanguage(w){var M;(M=a.languageStorage)===null||M===void 0||M.setLanguage(w)},getDevBackend(){return a.devBackend},getBackendRecord:({language:w,namespace:M})=>{for(const O of a.backends){const P=O.getRecord({language:w,namespace:M});if(Hi(P))return P==null?void 0:P.catch(T=>(console.error(T),{}));if(P!==void 0)return P}},getBackendDevRecord:({language:w,namespace:M})=>{var O;const{apiKey:P,apiUrl:T,projectId:z}=e();return(O=a.devBackend)===null||O===void 0?void 0:O.getRecord({apiKey:P,apiUrl:T,projectId:z,language:w,namespace:M})},getLanguageDetector(){return a.languageDetector},retranslate(){var w;(w=a.observer)===null||w===void 0||w.retranslate()},highlight:(w,M)=>{var O,P;return((P=(O=a.observer)===null||O===void 0?void 0:O.highlight)===null||P===void 0?void 0:P.call(O,w,M))||{unhighlight(){}}},unwrap(w){var M;return a.observer?(M=a.observer)===null||M===void 0?void 0:M.unwrap(w):{text:w,keys:[]}},wrap(w){var M;return a.observer?(M=a.observer)===null||M===void 0?void 0:M.wrap(w):w.translation},hasDevBackend(){return!!x.getDevBackend()},formatTranslation(w){var M,{formatEnabled:O}=w,P=ka(w,["formatEnabled"]);const{key:T,translation:z,defaultValue:Q,noWrap:K,params:J,orEmpty:G,ns:W}=P,D=z||Q;let k=D||(G?"":T);const I=t(),H=O||!(!((M=a.observer)===null||M===void 0)&&M.outputNotFormattable),F=V=>a.observer&&!K?a.observer.wrap({key:T,translation:V,defaultValue:Q,params:J,ns:W}):V;k=F(k);try{if(D&&I&&H)for(const V of a.formatters)k=V.format({translation:k,language:I,params:J});a.finalFormatter&&D&&I&&H&&(k=a.finalFormatter.format({translation:k,language:I,params:J}))}catch(V){console.error(V);const te=Td(V)||Fi,j=e().onFormatError,ne=typeof j;ne==="string"?k=j:ne==="function"?k=j(te,P):k=Fi,k=F(k)}return k}});return x}const Da=(t,e,n)=>{let r=t;return Object.freeze({init(o){r=o},notify(){const o=e();r!==o&&n(o),r=o}})};function Fd(t,e,n){let r=Ia(),o;const i=Object.freeze({init(s){r=Ia(s,r)},isRunning(){return r.isRunning},setRunning(s){r.isRunning!==s&&(r.isRunning=s,n.emit(s))},isInitialLoading(){return r.isInitialLoading},setInitialLoading(s){r.isInitialLoading=s},getLanguage(){return r.language||r.initialOptions.language},setLanguage(s){r.language!==s&&(r.language=s,t.emit(s))},getPendingLanguage(){return r.pendingLanguage||i.getLanguage()},setPendingLanguage(s){r.pendingLanguage!==s&&(r.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},r.initialOptions),o)},addActiveNs(s){mt(s).forEach(l=>{const u=r.activeNamespaces.get(l);u!==void 0?r.activeNamespaces.set(l,u+1):r.activeNamespaces.set(l,1)})},removeActiveNs(s){mt(s).forEach(l=>{const u=r.activeNamespaces.get(l);u!==void 0&&u>1?r.activeNamespaces.set(l,u-1):r.activeNamespaces.delete(l)})},getRequiredNamespaces(){return zi([...r.initialOptions.ns||[r.initialOptions.defaultNs],...mt(r.initialOptions.fallbackNs),...r.activeNamespaces.keys()])},getFallbackLangs(s){const a=s||i.getLanguage();return a?zi([a,...Dd(a,r.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return mt(r.initialOptions.fallbackNs)},getDefaultNs(s){return s===void 0?r.initialOptions.defaultNs:s},getAvailableLanguages(){if(r.initialOptions.availableLanguages)return r.initialOptions.availableLanguages;if(r.initialOptions.staticData){const s=Object.keys(r.initialOptions.staticData).map(a=>ur(a).language);return Array.from(new Set(s))}},withDefaultNs(s){return{namespace:s.namespace===void 0?i.getInitialOptions().defaultNs:s.namespace,language:s.language}},overrideCredentials(s){s?o=Object.assign(Object.assign({},s),{apiUrl:Ma(s.apiUrl)}):o=void 0}});return i}function Gd(t){var{ns:e,noWrap:n,orEmpty:r,params:o,language:i}=t,s=ka(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:n,orEmpty:r,language:i}),{params:Object.assign({},s)})}const Ta=(t,...e)=>{let n={},r;return typeof t=="object"?n=t:(n.key=t,typeof e[0]=="string"?(n.defaultValue=e[0],r=e[1]):typeof e[0]=="object"&&(r=e[0])),r&&(n=Object.assign(Object.assign({},Gd(r)),n)),n};function Vd({options:t}){const e=Nd(a,l),n=Da(!1,()=>s.isFetching(),e.onFetchingChange.emit),r=Da(!1,()=>A.isLoading(),e.onLoadingChange.emit),o=Fd(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),i=zd(o.getLanguage,o.getInitialOptions,o.getAvailableLanguages,h,S,d),s=jd(e.onCacheChange,i.getBackendRecord,i.getBackendDevRecord,o.withDefaultNs,o.isInitialLoading,n,r);t&&p(t),e.onUpdate.listen(()=>{o.isRunning()&&i.retranslate()});function a(){return o.getFallbackNs()}function l(E){return o.getDefaultNs(E)}function u(E){return[...mt(l(E)),...a()]}function f(E){return[...mt(E||l()),...o.getRequiredNamespaces()]}function d(E,v,x){const w=o.withDefaultNs(E),M=s.getTranslation(w,v);return s.changeTranslation(w,v,x),{revert(){s.changeTranslation(w,v,M)}}}function p(E){o.init(E),s.addStaticData(o.getInitialOptions().staticData)}function g(E,v){const x=o.getFallbackLangs(E),w=f(v),M=[];return x.forEach(O=>{w.forEach(P=>{s.exists({language:O,namespace:P},!0)||M.push({language:O,namespace:P})})}),M}function m(E,v){const x=g(E,v);if(x.length)return ro(A.loadRecords(x),()=>{})}function h({key:E,ns:v}){const x=o.getFallbackLangs(),w=u(v||void 0);return s.getTranslationNs(w,x,E)}function S({key:E,ns:v,language:x}){const w=u(v||void 0),M=o.getFallbackLangs(x);return s.getTranslationFallback(w,M,E)}function C(){const E=ro(b(),()=>m());if(Hi(E))return o.setInitialLoading(!0),n.notify(),r.notify(),Promise.resolve(E).then(()=>{o.setInitialLoading(!1),n.notify(),r.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function b(){if(o.getLanguage())return;const v=i.getInitialLanguage();return ro(v,x=>{const w=x||o.getInitialOptions().defaultLanguage;w&&o.setLanguage(w)})}function y(){if((i.getLanguageDetector()||i.getLanguageStorage())&&!o.getAvailableLanguages())throw new Error(Aa("availableLanguages"));if(!o.getLanguage()&&!o.getInitialOptions().defaultLanguage)throw new Error(Aa(["defaultLanguage","language"]))}const A=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),o),i),s),{init:p,getTranslation:S,changeTranslation:d,async changeLanguage(E){o.getPendingLanguage()===E&&o.getLanguage()===E||(o.setPendingLanguage(E),o.isRunning()&&await m(E),E===o.getPendingLanguage()&&(o.setLanguage(E),i.setStoredLanguage(E)))},async addActiveNs(E,v){v||o.addActiveNs(E),o.isRunning()&&await m(void 0,E)},loadRecords(E){return s.loadRecords(E,A.isDev())},async loadRecord(E){return(await A.loadRecords([E]))[0]},isLoading(E){return s.isLoading(o.getLanguage(),E)},isLoaded(E){const v=o.getLanguage();if(!v)return!1;const x=o.getFallbackLangs(v),w=f(E),M=[];return x.forEach(O=>{w.forEach(P=>{s.exists({language:O,namespace:P})||M.push({language:O,namespace:P})})}),M.length===0},t:(...E)=>{const v=Ta(...E),x=S(v);return i.formatTranslation(Object.assign(Object.assign({},v),{translation:x}))},isDev(){return!!(o.getInitialOptions().apiKey&&o.getInitialOptions().apiUrl)},run(){let E;return y(),o.isRunning()||(o.setRunning(!0),i.run(),E=C()),Promise.resolve(E)},stop(){o.isRunning()&&(i.stop(),o.setRunning(!1))}}));return A}function Qd(t){const e=Vd({options:t});e.isDev()&&e.invalidate();function n(o){const i=e.isRunning();i&&e.stop(),o(),e.isDev()&&e.invalidate(),i&&e.run()}const r=Object.freeze({on:e.on,onNsUpdate:e.onUpdate.listenSome,setEmitterActive:e.setEmitterActive,getLanguage:e.getLanguage,getPendingLanguage:e.getPendingLanguage,changeLanguage:e.changeLanguage,changeTranslation:e.changeTranslation,addActiveNs:e.addActiveNs,removeActiveNs:e.removeActiveNs,loadRecords:e.loadRecords,loadRecord:e.loadRecord,addStaticData:e.addStaticData,getRecord:e.getRecord,getAllRecords:e.getAllRecords,isLoaded:e.isLoaded,isInitialLoading:e.isInitialLoading,isLoading:e.isLoading,isFetching:e.isFetching,isRunning:e.isRunning,run:e.run,stop:e.stop,t:e.t,highlight:e.highlight,getInitialOptions:e.getInitialOptions,isDev:e.isDev,wrap:e.wrap,unwrap:e.unwrap,overrideCredentials(o){n(()=>e.overrideCredentials(o))},addPlugin(o){o&&n(()=>e.addPlugin(r,o))},updateOptions(o){o&&n(()=>e.init(o))}});return r}const Yd=()=>{const t={plugins:[],options:{}},e=Object.freeze({use(n){return t.plugins.push(n),e},updateDefaults(n){return t.options=Gi(t.options,n),e},init(n){const r=Qd(Gi(t.options,n));return t.plugins.forEach(r.addPlugin),r}});return e},Ba=0,Vi=1,Wd=2;class Kd extends Error{constructor(e,n,r){let o;e===Ba?o="Empty parameter":e===Vi?o="Unexpected character":o="Unexpected end",super(`Tolgee parser: ${o} at ${n} in "${r}"`),this.code=e,this.index=n}}function Na(t){return/\s/.test(t)}const Zt=0,Qi=1,oo=2,Yi=3,Wi=4,Rd=new Set([oo,Qi,Zt]),Ki="'",qd=new Set(["{","}",Ki]),Jd=t=>/[0-9a-zA-Z_]/.test(t);function Zd(t){let e=Zt,n="",r="",o="";const i=[],s=[];let a=0;function l(p){throw new Kd(p,a,t)}const u=()=>{i.push(n),n=""},f=()=>{Jd(o)||l(Vi),r+=o},d=()=>{r===""&&l(Ba),s.push(r),r=""};for(a=0;a<t.length;a++)switch(o=t[a],e){case Zt:o===Ki?(n+=o,e=Qi):o==="{"?(u(),e=Yi):(n+=o,e=Zt);break;case Qi:qd.has(o)?(n=n.slice(0,-1)+o,e=oo):(n+=o,e=Zt);break;case oo:o===Ki?e=Zt:(n+=o,e=oo);break;case Yi:o==="}"?(d(),e=Zt):Na(o)?r!==""&&(d(),e=Wi):(f(),e=Yi);break;case Wi:o=="}"?e=Zt:Na(o)?e=Wi:l(Vi)}return Rd.has(e)||l(Wd),u(),[i,s]}function Xd(t,e){const[n,r]=Zd(t),o=[n[0]];for(let i=1;i<n.length;i++){const s=e==null?void 0:e[r[i-1]];if(s===void 0)throw new Error(`Missing parameter "${r[i-1]}" in "${t}"`);o.push(String(s)),o.push(n[i])}return o.join("")}function _d(){return{format:({translation:t,params:e})=>Xd(t,e)}}const $d=()=>(t,e)=>(e.setFinalFormatter(_d()),t),ep="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function tp(t){const e=ep.indexOf(t);if(e===-1)throw new Error("Invalid character found: "+t);return e}function np(t){const e=new Uint8Array(t),n=e.length;let r="",o=Math.pow(2,16)-1;for(let i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+o));return r}function rp(t){t=t.toUpperCase();const e=t.length;let n=0,r=0,o=0;const i=new Uint8Array(e*5/8|0);for(let s=0;s<e;s++)r=r<<5|tp(t[s]),n+=5,n>=8&&(i[o++]=r>>>n-8&255,n-=8);return np(i.buffer)}function op(t){if(t)try{const[e,n]=t.split("_");if(e==="tgpak"){const[r]=rp(n).split("_");return Number(r)}}catch{console.warn("Tolgee: Api key can't be parsed")}}function ip(t){if(!t)return;const[e]=t.split("_");return e==="tgpak"?"tgpak":e==="tgpat"?"tgpat":"legacy"}function sp(){return{getRecord({apiUrl:t,apiKey:e,language:n,namespace:r,projectId:o}){var i;const s=(i=op(e))!==null&&i!==void 0?i:o;let a=s!==void 0?`${t}/v2/projects/${s}/translations/${n}`:`${t}/v2/projects/translations/${n}`;if(r&&(a+=`?ns=${r}`),ip(e)==="tgpat"&&o===void 0)throw new Error("You need to specify 'projectId' when using PAT key");return fetch(a,{headers:{"X-API-Key":e||"","Content-Type":"application/json"}}).then(l=>{if(l.ok)return l.json().then(u=>u[n]);throw new Error(l.statusText)})}}}const ap=()=>(t,e)=>(e.setDevBackend(sp()),t);function lp(t,e){const n=r=>{var o,i;t.includes((o=r.data)===null||o===void 0?void 0:o.type)&&e((i=r.data)===null||i===void 0?void 0:i.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}function up({message:t,recievingMessage:e,data:n,attempts:r=1}){let o=!1;const i=()=>new Promise((a,l)=>{const u=lp(e,d);window.postMessage({type:t,data:n},window.origin);const f=setTimeout(g,300);function d(m){clearTimeout(f),p(),a(m)}function p(){u.unsubscribe()}function g(){p(),l()}});return{cancel(){o=!0},promise:(async()=>{for(let a=0;a<r;a++){if(o)return new Promise(()=>{});try{return await i()}catch{continue}}if(!o)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})()}}function cp(){let t;async function e(n){t==null||t();const{cancel:r,promise:o}=up({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:n,attempts:4});return t=r,o}return{update:e}}const fp="tolgee-in-context-tools.umd.min.js",dp="@tolgee/in-context-tools",pp="InContextTools",hp="https://cdn.jsdelivr.net/npm";function gp(t){return new Promise((e,n)=>{const r=document.createElement("script");r.src=t,r.addEventListener("load",()=>e()),r.addEventListener("error",o=>n(o.error)),document.body.appendChild(r)})}let Ri=null;function vp(t){return Ri||(Ri=gp(`${hp}/@tolgee/web@${t}/dist/${fp}`).then(()=>window[dp][pp])),Ri}const ja="__tolgee_apiKey",Ua="__tolgee_apiUrl";function Ha(){const t=sessionStorage.getItem(ja)||void 0,e=sessionStorage.getItem(Ua)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function mp(){sessionStorage.removeItem(ja),sessionStorage.removeItem(Ua)}function yp(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}let za=()=>t=>t;typeof window<"u"&&typeof sessionStorage<"u"&&(za=()=>t=>{const e=cp(),n=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),r=async()=>{const i=await vp("5.10.2");return s=>{const a=Ha();return s.addPlugin(i({credentials:a})),s}};return t.on("running",({value:i})=>{i&&yp(()=>{e.update(n()).catch(mp)})}),Ha()&&r().then(i=>{t.addPlugin(i)}).catch(i=>{console.error("Tolgee: Failed to load in-context tools"),console.error(i)}),t});function bp(){return Yd().use(za())}const Ep=()=>t=>t,wp={useSuspense:!0},qi=c.createContext(void 0),Cp=({tolgee:t,options:e,children:n,fallback:r})=>{const[o,i]=c.useState(!t.isLoaded());c.useEffect(()=>{t.run().catch(a=>{console.error(a)}).finally(()=>{i(!1)})},[t]);const s=Object.assign(Object.assign({},wp),e);return s.useSuspense?c.createElement(qi.Provider,{value:{tolgee:t,options:s}},o?r:c.createElement(c.Suspense,{fallback:r||null},n)):c.createElement(qi.Provider,{value:{tolgee:t,options:s}},o?r:n)};let Sp;function Lp(){return Sp}const Fa=()=>{const t=c.useContext(qi)||Lp();if(!t)throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");return t},Ga=()=>{const[t,e]=c.useState(0),n=c.useCallback(()=>{e(r=>r+1)},[e]);return{instance:t,rerender:n}},Va=(t,e)=>{const{tolgee:n,options:r}=Fa(),o=Oa(t),i=mt(o).join(":"),s=Object.assign(Object.assign({},r),e),{rerender:a,instance:l}=Ga(),u=c.useRef(),f=c.useRef([]);f.current=[];const d=m=>{var h;f.current.push(m),(h=u.current)===null||h===void 0||h.subscribeNs(m)},p=n.isLoaded(o);c.useEffect(()=>{const m=n.onNsUpdate(a);return u.current=m,p||m.subscribeNs(o),f.current.forEach(h=>{m.subscribeNs(h)}),()=>{m.unsubscribe()}},[p,i,n]),c.useEffect(()=>(n.addActiveNs(o),()=>n.removeActiveNs(o)),[i,n]);const g=c.useCallback(m=>{var h;const S=(h=m.ns)!==null&&h!==void 0?h:o==null?void 0:o[0];return d(S),n.t(Object.assign(Object.assign({},m),{ns:S}))},[n,l]);if(s.useSuspense&&!p)throw n.addActiveNs(o,!0);return{t:g,isLoading:!p}},St=(t,e)=>{const{t:n,isLoading:r}=Va(t,e);return{t:c.useCallback((...i)=>{const s=Ta(...i);return n(s)},[n]),isLoading:r}},xp=t=>{if(!t)return;const e={};return Object.entries(t||{}).forEach(([n,r])=>{if(typeof r=="function")e[n]=o=>r(Ji(o));else if(c.isValidElement(r)){const o=r;e[n]=i=>o.props.children===void 0&&(i!=null&&i.length)?c.cloneElement(o,{},Ji(i)):c.cloneElement(o)}else e[n]=r}),e},Ji=t=>Array.isArray(t)?c.Children.toArray(t):t,pn=t=>{const e=t.keyName||t.children;e===void 0&&console.error("T component: keyName not defined");const n=t.defaultValue||(t.keyName?t.children:void 0),{t:r}=Va(),o=Ji(r({key:e,params:xp(t.params),defaultValue:n,noWrap:t.noWrap,ns:t.ns,language:t.language}));return c.createElement(c.Fragment,null,o)},Ap=t=>{const{tolgee:e}=Fa(),{rerender:n}=Ga();return c.useEffect(()=>{const r=t==null?void 0:t.map(o=>e.on(o,n));return()=>{r==null||r.forEach(o=>o.unsubscribe())}},[t==null?void 0:t.join(":")]),e},Op=bp().use(Ep()).use(ap()).use($d()).init({language:"en",defaultNs:"common",ns:["common","courier_balloon","current_location","details_modal","header","location_aside","location_selector","receive_filter","send_filter","type_filter"],apiUrl:"https://tms.omnic.solutions",apiKey:"tgpak_gfpwi2dimy3domrsnezham3ugbvw24tfm5vwk3bqgntxa"});var Qa={exports:{}};/*!
|
|
1
|
+
(function(It,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-dom/server")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-dom/server"],L):(It=typeof globalThis<"u"?globalThis:It||self,L(It["@omnic/widget-locations"]={},It["react/jsx-runtime"],It.React,It.ReactDOM,It["react-dom/server"]))})(this,function(It,L,c,jn,so){"use strict";function Oa(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const ce=Oa(c),Ma=Oa(jn),eC="",tC="";function zi(t){return!!(t&&typeof t.then=="function")}function ao(t,e){return zi(t)?Promise.resolve(t).then(e):e(t)}function Pa(t){const e=(Array.isArray(t)?t:[t]).map(i=>`'${i}'`),n=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),n].join(", ")} option`}function Hd(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function ka(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function yt(t){return ka(t)||[]}function zd(t,e){return Hd(e)?yt(e==null?void 0:e[t]):yt(e)}function Fi(t){return Array.from(new Set(t))}function Ia(t){return t&&t.replace(/\/+$/,"")}function Fd(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}const Vd=(t,e)=>fetch(t,e),Da=(t=Vd)=>(e,n)=>t(e,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.12.0"},n==null?void 0:n.headers)}));function Zt(t){let e=[];return Object.freeze({listen(n){const r=o=>{n(o)};return e.push(r),{unsubscribe(){e=e.filter(o=>r!==o)}}},emit(n){t()&&e.forEach(r=>r({value:n}))}})}function Gd(t,e,n){const r=new Set,o=new Set;function i(u){const l=new Set(e());o.forEach(f=>{(u===void 0||(u==null?void 0:u.findIndex(h=>l.has(h)||f.namespaces.has(h)))!==-1)&&f.fn({value:void 0})})}let s=[];function a(){if(s.length===0)return;const u=s;s=[],r.forEach(d=>{d({value:void 0})});let l=new Set;u.forEach(d=>{d===void 0?l=void 0:l!==void 0&&d.forEach(h=>l.add(h))});const f=l?Array.from(l.keys()):void 0;i(f)}return Object.freeze({emit(u,l){t()&&(s.push(u),l?setTimeout(a,0):a())},listen(u){return r.add(u),{unsubscribe:()=>{r.delete(u)}}},listenSome(u){const l={fn:d=>{u(d)},namespaces:new Set};o.add(l);const f={unsubscribe:()=>{o.delete(l)},subscribeNs:d=>(yt(d).forEach(h=>l.namespaces.add(h)),d===void 0&&l.namespaces.add(n()),f)};return f}})}function Qd(t,e){let n=!0;function r(){return n}const o=Object.freeze({onPendingLanguageChange:Zt(r),onLanguageChange:Zt(r),onLoadingChange:Zt(r),onFetchingChange:Zt(r),onInitialLoaded:Zt(r),onRunningChange:Zt(r),onCacheChange:Zt(r),onUpdate:Gd(r,t,e),onPermanentChange:Zt(r),setEmitterActive(i){n=i},on:(i,s)=>{switch(i){case"pendingLanguage":return o.onPendingLanguageChange.listen(s);case"language":return o.onLanguageChange.listen(s);case"loading":return o.onLoadingChange.listen(s);case"fetching":return o.onFetchingChange.listen(s);case"initialLoad":return o.onInitialLoaded.listen(s);case"running":return o.onRunningChange.listen(s);case"cache":return o.onCacheChange.listen(s);case"update":return o.onUpdate.listen(s);case"permanentChange":return o.onPermanentChange.listen(s)}}});return o.onInitialLoaded.listen(()=>o.onUpdate.emit()),o.onLanguageChange.listen(()=>o.onUpdate.emit()),o.onCacheChange.listen(({value:i})=>o.onUpdate.emit([i.namespace],!0)),o}const Ta=t=>{const e=new Map;return Object.entries(t).forEach(([n,r])=>{if(r!=null){if(typeof r=="object"){Ta(r).forEach((o,i)=>{e.set(n+"."+i,o)});return}e.set(n,r)}}),e},dr=t=>{const[e,...n]=t.split(":"),r=n.join(":");return{language:e,namespace:r||""}},Vt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function Yd(t,e,n,r,o,i,s){const a=new Map,u=new Map;let l={},f=0;function d(p,w,E){const m=Vt(p);u.set(m,{data:Ta(w),version:E}),t.emit(p)}function h(p){let w;if(!w){const E=l[Vt(p)];typeof E=="function"&&(w=E())}return w||(w=e(p)),w}function g(p,w){var E;let m;return w&&(m=(E=n(p))===null||E===void 0?void 0:E.catch(()=>(console.warn("Tolgee: Failed to fetch data from dev backend"),h(p)))),m||(m=h(p)),m}const v=Object.freeze({addStaticData(p){p&&(l=Object.assign(Object.assign({},l),p),Object.entries(p).forEach(([w,E])=>{if(typeof E!="function"){const m=dr(w),b=u.get(w);(!b||b.version===0)&&d(m,E,0)}}))},invalidate(){a.clear(),f+=1},addRecord(p,w){d(p,w,f)},exists(p,w=!1){const E=u.get(Vt(p));return E&&w?E.version===f:!!E},getRecord(p){var w;return(w=u.get(Vt(r(p))))===null||w===void 0?void 0:w.data},getTranslation(p,w){var E;return(E=u.get(Vt(p)))===null||E===void 0?void 0:E.data.get(w)},getTranslationNs(p,w,E){var m;for(const b of p)for(const O of w){const S=(m=u.get(Vt({language:O,namespace:b})))===null||m===void 0?void 0:m.data.get(E);if(S!=null)return[b]}return Fi(p)},getTranslationFallback(p,w,E){var m;for(const b of p)for(const O of w){const S=(m=u.get(Vt({language:O,namespace:b})))===null||m===void 0?void 0:m.data.get(E);if(S!=null)return S}},changeTranslation(p,w,E){var m;const b=(m=u.get(Vt(p)))===null||m===void 0?void 0:m.data;b==null||b.set(w,E),t.emit(Object.assign(Object.assign({},p),{key:w}))},isFetching(p){if(o())return!0;if(p===void 0)return a.size>0;const w=yt(p);return!!Array.from(a.keys()).find(E=>w.includes(dr(E).namespace))},isLoading(p,w){const E=yt(w);return!!(o()||Array.from(a.keys()).find(m=>{const b=dr(m);return(!E.length||E.includes(b.namespace))&&!v.exists({namespace:b.namespace,language:p})}))},async loadRecords(p,w){const E=p.map(b=>{const O=r(b),S=Vt(O),y=a.get(S);if(y)return{new:!1,promise:y,keyObject:O,cacheKey:S};const C=g(O,w)||Promise.resolve(void 0);return a.set(S,C),{new:!0,promise:C,keyObject:O,cacheKey:S}});i.notify(),s.notify();const m=await Promise.all(E.map(b=>b.promise));return E.forEach((b,O)=>{const S=a.get(b.cacheKey)!==b.promise;if(b.new&&!S){a.delete(b.cacheKey);const y=m[O];y?v.addRecord(b.keyObject,y):v.getRecord(b.keyObject)||v.addRecord(b.keyObject,{})}}),i.notify(),s.notify(),E.map(b=>v.getRecord(b.keyObject))},getAllRecords(){return Array.from(u.entries()).map(([w,E])=>Object.assign(Object.assign({},dr(w)),{data:E.data}))}});return v}function Ba(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}const Wd={tagAttributes:{textarea:["placeholder"],input:["value","placeholder"],img:["alt"],"*":["aria-label","title"]},restrictedElements:["script","style"],highlightKeys:["Alt"],highlightColor:"rgb(255, 0, 0)",highlightWidth:5,inputPrefix:"%-%tolgee:",inputSuffix:"%-%",passToParent:["option","optgroup"],fullKeyEncode:!1},Vi="invalid",Kd={defaultNs:"",observerOptions:Wd,observerType:"invisible",onFormatError:Vi,apiUrl:"https://app.tolgee.io",fetch:Da()},Gi=(...t)=>{let e={};return t.forEach(n=>{e=Object.assign(Object.assign(Object.assign({},e),n),{observerOptions:Object.assign(Object.assign({},e.observerOptions),n==null?void 0:n.observerOptions)})}),e};function Na(t,e){const n=Gi(Kd,e==null?void 0:e.initialOptions,t);return n.apiUrl=Ia(n.apiUrl),t!=null&&t.fetch&&(n.fetch=Da(t.fetch)),{initialOptions:n,activeNamespaces:(e==null?void 0:e.activeNamespaces)||new Map,language:e==null?void 0:e.language,pendingLanguage:e==null?void 0:e.language,isInitialLoading:!1,isRunning:!1}}function Rd(t,e,n,r,o,i,s,a){const u={ui:void 0},l={formatters:[],finalFormatter:void 0,observer:void 0,devBackend:void 0,backends:[],ui:void 0,languageDetector:void 0,languageStorage:void 0},f=async({keysAndDefaults:x,event:k})=>{var N;const z=x.map(({key:Q,ns:R,defaultValue:G})=>({key:Q,defaultValue:G,fallbackNamespaces:r(R),namespace:o({key:Q,ns:R})[0],translation:i({key:Q,ns:R})}));(N=l.ui)===null||N===void 0||N.handleElementClick(z,k)},d=(x,k)=>{var N;return((N=l.observer)===null||N===void 0?void 0:N.findPositions(x,k))||[]};function h(x){const k=i({key:x.key,ns:x.ns});return M.formatTranslation(Object.assign(Object.assign({},x),{translation:k,formatEnabled:!0}))}function g(){return{fetch:e().fetch}}function v(x){l.observer=x==null?void 0:x()}function p(){return!!l.observer}function w(x){x&&l.formatters.push(x)}function E(x){l.finalFormatter=x}function m(x){u.ui=x}function b(){return!!u.ui}function O(x){l.languageStorage=x}function S(x){l.languageDetector=x}function y(){if(!l.languageDetector)return;const x=n();return l.languageDetector.getLanguage(Object.assign({availableLanguages:x},g()))}function C(x){x&&l.backends.push(x)}function A(x){l.devBackend=x}function P(x,k){const N=Object.freeze({setFinalFormatter:E,addFormatter:w,setObserver:v,hasObserver:p,setUi:m,hasUi:b,setDevBackend:A,addBackend:C,setLanguageDetector:S,setLanguageStorage:O});k(x,N)}const M=Object.freeze({addPlugin:P,run(){var x,k;const{apiKey:N,apiUrl:z,projectId:Q,observerOptions:R}=e();l.ui=(x=u.ui)===null||x===void 0?void 0:x.call(u,{apiKey:N,apiUrl:z,projectId:Q,highlight:M.highlight,changeTranslation:s,findPositions:d,onPermanentChange:a}),(k=l.observer)===null||k===void 0||k.run({mouseHighlight:!0,options:R,translate:h,onClick:f})},stop(){var x;l.ui=void 0,(x=l.observer)===null||x===void 0||x.stop()},getLanguageStorage(){return l.languageStorage},getInitialLanguage(){var x;const k=n(),N=(x=l.languageStorage)===null||x===void 0?void 0:x.getLanguage(g());return ao(N,z=>(!k||k.includes(z))&&z?z:y())},setStoredLanguage(x){var k;(k=l.languageStorage)===null||k===void 0||k.setLanguage(x,g())},getDevBackend(){return l.devBackend},getBackendRecord:({language:x,namespace:k})=>{for(const N of l.backends){const z=N.getRecord(Object.assign({language:x,namespace:k},g()));if(zi(z))return z==null?void 0:z.catch(Q=>(console.error(Q),{}));if(z!==void 0)return z}},getBackendDevRecord:({language:x,namespace:k})=>{var N;const{apiKey:z,apiUrl:Q,projectId:R}=e();return(N=l.devBackend)===null||N===void 0?void 0:N.getRecord(Object.assign({apiKey:z,apiUrl:Q,projectId:R,language:x,namespace:k},g()))},getLanguageDetector(){return l.languageDetector},retranslate(){var x;(x=l.observer)===null||x===void 0||x.retranslate()},highlight:(x,k)=>{var N,z;return((z=(N=l.observer)===null||N===void 0?void 0:N.highlight)===null||z===void 0?void 0:z.call(N,x,k))||{unhighlight(){}}},unwrap(x){var k;return l.observer?(k=l.observer)===null||k===void 0?void 0:k.unwrap(x):{text:x,keys:[]}},wrap(x){var k;return l.observer?(k=l.observer)===null||k===void 0?void 0:k.wrap(x):x.translation},hasDevBackend(){return!!M.getDevBackend()},formatTranslation(x){var k,{formatEnabled:N}=x,z=Ba(x,["formatEnabled"]);const{key:Q,translation:R,defaultValue:G,noWrap:K,params:T,orEmpty:I,ns:D}=z,V=R||G;let H=V||(I?"":Q);const Y=t(),ne=N||!(!((k=l.observer)===null||k===void 0)&&k.outputNotFormattable),U=ee=>l.observer&&!K?l.observer.wrap({key:Q,translation:ee,defaultValue:G,params:T,ns:D}):ee;H=U(H);try{if(V&&Y&&ne)for(const ee of l.formatters)H=ee.format({translation:H,language:Y,params:T});l.finalFormatter&&V&&Y&&ne&&(H=l.finalFormatter.format({translation:H,language:Y,params:T}))}catch(ee){console.error(ee);const le=Fd(ee)||Vi,J=e().onFormatError,B=typeof J;B==="string"?H=J:B==="function"?H=J(le,z):H=Vi,H=U(H)}return H}});return M}const ja=(t,e,n)=>{let r=t;return Object.freeze({init(o){r=o},notify(){const o=e();r!==o&&n(o),r=o}})};function qd(t,e,n){let r=Na(),o;const i=Object.freeze({init(s){r=Na(s,r)},isRunning(){return r.isRunning},setRunning(s){r.isRunning!==s&&(r.isRunning=s,n.emit(s))},isInitialLoading(){return r.isInitialLoading},setInitialLoading(s){r.isInitialLoading=s},getLanguage(){return r.language||r.initialOptions.language},setLanguage(s){r.language!==s&&(r.language=s,t.emit(s))},getPendingLanguage(){return r.pendingLanguage||i.getLanguage()},setPendingLanguage(s){r.pendingLanguage!==s&&(r.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},r.initialOptions),o)},addActiveNs(s){yt(s).forEach(u=>{const l=r.activeNamespaces.get(u);l!==void 0?r.activeNamespaces.set(u,l+1):r.activeNamespaces.set(u,1)})},removeActiveNs(s){yt(s).forEach(u=>{const l=r.activeNamespaces.get(u);l!==void 0&&l>1?r.activeNamespaces.set(u,l-1):r.activeNamespaces.delete(u)})},getRequiredNamespaces(){return Fi([...r.initialOptions.ns||[r.initialOptions.defaultNs],...yt(r.initialOptions.fallbackNs),...r.activeNamespaces.keys()])},getFallbackLangs(s){const a=s||i.getLanguage();return a?Fi([a,...zd(a,r.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return yt(r.initialOptions.fallbackNs)},getDefaultNs(s){return s===void 0?r.initialOptions.defaultNs:s},getAvailableLanguages(){if(r.initialOptions.availableLanguages)return r.initialOptions.availableLanguages;if(r.initialOptions.staticData){const s=Object.keys(r.initialOptions.staticData).map(a=>dr(a).language);return Array.from(new Set(s))}},withDefaultNs(s){return{namespace:s.namespace===void 0?i.getInitialOptions().defaultNs:s.namespace,language:s.language}},overrideCredentials(s){s?o=Object.assign(Object.assign({},s),{apiUrl:Ia(s.apiUrl)}):o=void 0}});return i}function Jd(t){var{ns:e,noWrap:n,orEmpty:r,params:o,language:i}=t,s=Ba(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:n,orEmpty:r,language:i}),{params:Object.assign({},s)})}const Ua=(t,...e)=>{let n={},r;return typeof t=="object"?n=t:(n.key=t,typeof e[0]=="string"?(n.defaultValue=e[0],r=e[1]):typeof e[0]=="object"&&(r=e[0])),r&&(n=Object.assign(Object.assign({},Jd(r)),n)),n};function Zd({options:t}){const e=Qd(u,l),n=ja(!1,()=>s.isFetching(),e.onFetchingChange.emit),r=ja(!1,()=>y.isLoading(),e.onLoadingChange.emit),o=qd(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),i=Rd(o.getLanguage,o.getInitialOptions,o.getAvailableLanguages,f,E,m,h,g),s=Yd(e.onCacheChange,i.getBackendRecord,i.getBackendDevRecord,o.withDefaultNs,o.isInitialLoading,n,r);t&&v(t);let a;e.onUpdate.listen(()=>{o.isRunning()&&i.retranslate()});function u(){return o.getFallbackNs()}function l(C){return o.getDefaultNs(C)}function f(C){return[...yt(l(C)),...u()]}function d(C){return[...yt(C??l()),...o.getRequiredNamespaces()]}function h(C,A,P){const M=o.withDefaultNs(C),x=s.getTranslation(M,A);return s.changeTranslation(M,A,P),{revert(){s.changeTranslation(M,A,x)}}}function g(C){e.onPermanentChange.emit({key:C.key,namespace:C.namespace})}function v(C){o.init(C),s.addStaticData(o.getInitialOptions().staticData)}function p(C,A){const P=o.getFallbackLangs(C),M=d(A),x=[];return P.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N},!0)||x.push({language:k,namespace:N})})}),x}function w(C,A){const P=p(C,A);if(P.length)return ao(y.loadRecords(P),()=>{})}function E({key:C,ns:A}){const P=o.getFallbackLangs(),M=f(A??void 0);return s.getTranslationNs(M,P,C)}function m({key:C,ns:A,language:P}){const M=f(A??void 0),x=o.getFallbackLangs(P);return s.getTranslationFallback(M,x,C)}function b(){const C=ao(O(),()=>w());if(zi(C))return o.setInitialLoading(!0),n.notify(),r.notify(),Promise.resolve(C).then(()=>{o.setInitialLoading(!1),n.notify(),r.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function O(){if(o.getLanguage())return;const A=i.getInitialLanguage();return ao(A,P=>{const M=P||o.getInitialOptions().defaultLanguage;M&&o.setLanguage(M)})}function S(){if((i.getLanguageDetector()||i.getLanguageStorage())&&!o.getAvailableLanguages())throw new Error(Pa("availableLanguages"));if(!o.getLanguage()&&!o.getInitialOptions().defaultLanguage)throw new Error(Pa(["defaultLanguage","language"]))}const y=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),o),i),s),{init:v,getTranslation:m,changeTranslation:h,getTranslationNs:E,getDefaultAndFallbackNs:f,async changeLanguage(C){o.getPendingLanguage()===C&&o.getLanguage()===C||(o.setPendingLanguage(C),o.isRunning()&&await w(C),C===o.getPendingLanguage()&&(o.setLanguage(C),i.setStoredLanguage(C)))},async addActiveNs(C,A){A||o.addActiveNs(C),o.isRunning()&&await w(void 0,C)},loadRecords(C){return s.loadRecords(C,y.isDev())},async loadRecord(C){return(await y.loadRecords([C]))[0]},isLoading(C){return s.isLoading(o.getLanguage(),C)},isLoaded(C){const A=o.getLanguage();if(!A)return!1;const P=o.getFallbackLangs(A),M=d(C),x=[];return P.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N})||x.push({language:k,namespace:N})})}),x.length===0},t:(...C)=>{const A=Ua(...C),P=m(A);return i.formatTranslation(Object.assign(Object.assign({},A),{translation:P}))},isDev(){return!!(o.getInitialOptions().apiKey&&o.getInitialOptions().apiUrl)},run(){return S(),o.isRunning()||(o.setRunning(!0),i.run(),a=b()),Promise.resolve(a)},stop(){o.isRunning()&&(i.stop(),o.setRunning(!1))}}));return y}function _d(t){const e=Zd({options:t});e.isDev()&&e.invalidate();function n(o){const i=e.isRunning();i&&e.stop(),o(),e.isDev()&&e.invalidate(),i&&e.run()}const r=Object.freeze({on:e.on,onNsUpdate:e.onUpdate.listenSome,setEmitterActive:e.setEmitterActive,getLanguage:e.getLanguage,getPendingLanguage:e.getPendingLanguage,changeLanguage:e.changeLanguage,changeTranslation:e.changeTranslation,addActiveNs:e.addActiveNs,removeActiveNs:e.removeActiveNs,loadRecords:e.loadRecords,loadRecord:e.loadRecord,addStaticData:e.addStaticData,getRecord:e.getRecord,getAllRecords:e.getAllRecords,isLoaded:e.isLoaded,isInitialLoading:e.isInitialLoading,isLoading:e.isLoading,isFetching:e.isFetching,isRunning:e.isRunning,run:e.run,stop:e.stop,t:e.t,highlight:e.highlight,getInitialOptions:e.getInitialOptions,isDev:e.isDev,wrap:e.wrap,unwrap:e.unwrap,overrideCredentials(o){n(()=>e.overrideCredentials(o))},addPlugin(o){o&&n(()=>e.addPlugin(r,o))},updateOptions(o){o&&n(()=>e.init(o))}});return r}const Xd=()=>{const t={plugins:[],options:{}},e=Object.freeze({use(n){return t.plugins.push(n),e},updateDefaults(n){return t.options=Gi(t.options,n),e},init(n){const r=_d(Gi(t.options,n));return t.plugins.forEach(r.addPlugin),r}});return e},Ha=0,Qi=1,$d=2;class eh extends Error{constructor(e,n,r){let o;e===Ha?o="Empty parameter":e===Qi?o="Unexpected character":o="Unexpected end",super(`Tolgee parser: ${o} at ${n} in "${r}"`),this.code=e,this.index=n}}function za(t){return/\s/.test(t)}const _t=0,Yi=1,lo=2,Wi=3,Ki=4,th=new Set([lo,Yi,_t]),Ri="'",nh=new Set(["{","}",Ri]),rh=t=>/[0-9a-zA-Z_]/.test(t);function oh(t){let e=_t,n="",r="",o="";const i=[],s=[];let a=0;function u(h){throw new eh(h,a,t)}const l=()=>{i.push(n),n=""},f=()=>{rh(o)||u(Qi),r+=o},d=()=>{r===""&&u(Ha),s.push(r),r=""};for(a=0;a<t.length;a++)switch(o=t[a],e){case _t:o===Ri?(n+=o,e=Yi):o==="{"?(l(),e=Wi):(n+=o,e=_t);break;case Yi:nh.has(o)?(n=n.slice(0,-1)+o,e=lo):(n+=o,e=_t);break;case lo:o===Ri?e=_t:(n+=o,e=lo);break;case Wi:o==="}"?(d(),e=_t):za(o)?r!==""&&(d(),e=Ki):(f(),e=Wi);break;case Ki:o=="}"?e=_t:za(o)?e=Ki:u(Qi)}return th.has(e)||u($d),l(),[i,s]}function ih(t,e){const[n,r]=oh(t),o=[n[0]];for(let i=1;i<n.length;i++){const s=e==null?void 0:e[r[i-1]];if(s===void 0)throw new Error(`Missing parameter "${r[i-1]}" in "${t}"`);o.push(String(s)),o.push(n[i])}return o.join("")}function sh(){return{format:({translation:t,params:e})=>ih(t,e)}}const ah=()=>(t,e)=>(e.setFinalFormatter(sh()),t),lh="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function uh(t){const e=lh.indexOf(t);if(e===-1)throw new Error("Invalid character found: "+t);return e}function ch(t){const e=new Uint8Array(t),n=e.length;let r="",o=Math.pow(2,16)-1;for(let i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+o));return r}function fh(t){t=t.toUpperCase();const e=t.length;let n=0,r=0,o=0;const i=new Uint8Array(e*5/8|0);for(let s=0;s<e;s++)r=r<<5|uh(t[s]),n+=5,n>=8&&(i[o++]=r>>>n-8&255,n-=8);return ch(i.buffer)}function dh(t){if(t)try{const[e,n]=t.split("_");if(e==="tgpak"){const[r]=fh(n).split("_");return Number(r)}}catch{console.warn("Tolgee: Api key can't be parsed")}}function hh(t){if(!t)return;const[e]=t.split("_");return e==="tgpak"?"tgpak":e==="tgpat"?"tgpat":"legacy"}function ph(){return{getRecord({apiUrl:t,apiKey:e,language:n,namespace:r,projectId:o,fetch:i}){var s;const a=(s=dh(e))!==null&&s!==void 0?s:o;let u=a!==void 0?`${t}/v2/projects/${a}/translations/${n}`:`${t}/v2/projects/translations/${n}`;if(r&&(u+=`?ns=${r}`),hh(e)==="tgpat"&&o===void 0)throw new Error("You need to specify 'projectId' when using PAT key");return i(u,{headers:{"X-API-Key":e||"","Content-Type":"application/json"}}).then(l=>{if(l.ok)return l.json().then(f=>f[n]);throw new Error(l.statusText)})}}}const gh=()=>(t,e)=>(e.setDevBackend(ph()),t);function vh(t,e){const n=r=>{var o,i;t.includes((o=r.data)===null||o===void 0?void 0:o.type)&&e((i=r.data)===null||i===void 0?void 0:i.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}function mh({message:t,recievingMessage:e,data:n,attempts:r=1}){let o=!1;const i=()=>new Promise((a,u)=>{const l=vh(e,d);window.postMessage({type:t,data:n},window.origin);const f=setTimeout(g,300);function d(v){clearTimeout(f),h(),a(v)}function h(){l.unsubscribe()}function g(){h(),u()}});return{cancel(){o=!0},promise:(async()=>{for(let a=0;a<r;a++){if(o)return new Promise(()=>{});try{return await i()}catch{continue}}if(!o)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})()}}function yh(){let t;async function e(n){t==null||t();const{cancel:r,promise:o}=mh({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:n,attempts:4});return t=r,o}return{update:e}}const bh="tolgee-in-context-tools.umd.min.js",Eh="@tolgee/in-context-tools",wh="InContextTools",Ch="https://cdn.jsdelivr.net/npm";function Sh(t){return new Promise((e,n)=>{const r=document.createElement("script");r.src=t,r.addEventListener("load",()=>e()),r.addEventListener("error",o=>n(o.error)),document.body.appendChild(r)})}let qi=null;function Lh(t){return qi||(qi=Sh(`${Ch}/@tolgee/web@${t}/dist/${bh}`).then(()=>window[Eh][wh])),qi}const Fa="__tolgee_apiKey",Va="__tolgee_apiUrl";function Ga(){const t=sessionStorage.getItem(Fa)||void 0,e=sessionStorage.getItem(Va)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function Ah(){sessionStorage.removeItem(Fa),sessionStorage.removeItem(Va)}function xh(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}let Qa=()=>t=>t;(()=>{if(typeof window>"u")return!1;try{return typeof sessionStorage<"u"&&sessionStorage}catch(t){return console.error("sessionStorage not available",t),!1}})()&&(Qa=()=>t=>{const e=yh(),n=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),r=async()=>{const i=await Lh("5.12.0");return s=>{const a=Ga();return s.addPlugin(i({credentials:a})),s}};return t.on("running",({value:i})=>{i&&xh(()=>{e.update(n()).catch(Ah)})}),Ga()&&r().then(i=>{t.addPlugin(i)}).catch(i=>{console.error("Tolgee: Failed to load in-context tools"),console.error(i)}),t});function Oh(){return Xd().use(Qa())}const Mh={useSuspense:!0};let Ji;const Ya=()=>(Ji||(Ji=c.createContext(void 0)),Ji),Ph=({tolgee:t,options:e,children:n,fallback:r})=>{const[o,i]=c.useState(!t.isLoaded());c.useEffect(()=>{t.run().catch(u=>{console.error(u)}).finally(()=>{i(!1)})},[t]);const s=Object.assign(Object.assign({},Mh),e),a=Ya();return s.useSuspense?c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:c.createElement(c.Suspense,{fallback:r||null},n)):c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:n)};let kh;function Ih(){return kh}const Wa=()=>{const t=Ya(),e=c.useContext(t)||Ih();if(!e)throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");return e},Ka=()=>{const[t,e]=c.useState(0),n=c.useCallback(()=>{e(r=>r+1)},[e]);return{instance:t,rerender:n}},Ra=(t,e)=>{const{tolgee:n,options:r}=Wa(),o=ka(t),i=yt(o).join(":"),s=Object.assign(Object.assign({},r),e),{rerender:a,instance:u}=Ka(),l=c.useRef(),f=c.useRef([]);f.current=[];const d=v=>{var p;f.current.push(v),(p=l.current)===null||p===void 0||p.subscribeNs(v)},h=n.isLoaded(o);c.useEffect(()=>{const v=n.onNsUpdate(a);return l.current=v,v.subscribeNs(o),f.current.forEach(p=>{v.subscribeNs(p)}),()=>{v.unsubscribe()}},[i,n]),c.useEffect(()=>(n.addActiveNs(o),()=>n.removeActiveNs(o)),[i,n]);const g=c.useCallback(v=>{var p;const w=(p=v.ns)!==null&&p!==void 0?p:o==null?void 0:o[0];return d(w),n.t(Object.assign(Object.assign({},v),{ns:w}))},[n,u]);if(s.useSuspense&&!h)throw n.addActiveNs(o,!0);return{t:g,isLoading:!h}},Lt=(t,e)=>{const{t:n,isLoading:r}=Ra(t,e);return{t:c.useCallback((...i)=>{const s=Ua(...i);return n(s)},[n]),isLoading:r}},Dh=t=>{if(!t)return;const e={};return Object.entries(t||{}).forEach(([n,r])=>{if(typeof r=="function")e[n]=o=>r(Zi(o));else if(c.isValidElement(r)){const o=r;e[n]=i=>o.props.children===void 0&&(i!=null&&i.length)?c.cloneElement(o,{},Zi(i)):c.cloneElement(o)}else e[n]=r}),e},Zi=t=>Array.isArray(t)?c.Children.toArray(t):t,Th=t=>{const e=t.keyName||t.children;e===void 0&&console.error("T component: keyName not defined");const n=t.defaultValue||(t.keyName?t.children:void 0),r=Zi(t.t({key:e,params:Dh(t.params),defaultValue:n,noWrap:t.noWrap,ns:t.ns,language:t.language}));return c.createElement(c.Fragment,null,r)},pn=t=>{const{t:e}=Ra();return c.createElement(Th,Object.assign({t:e},t))},Bh=t=>{const{tolgee:e}=Wa(),{rerender:n}=Ka();return c.useEffect(()=>{const r=t==null?void 0:t.map(o=>e.on(o,n));return()=>{r==null||r.forEach(o=>o.unsubscribe())}},[t==null?void 0:t.join(":")]),e};function uo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Nh=function(t,e,n,r,o,i,s,a){if(!t){var u;if(e===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,s,a],f=0;u=new Error(e.replace(/%s/g,function(){return l[f++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},jh=Nh;const co=uo(jh);var qa={},Ja={exports:{}};(function(t){var e=function(n){var r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(T,I,D){T[I]=D.value},s,a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(T,I,D){return Object.defineProperty(T,I,{value:D,enumerable:!0,configurable:!0,writable:!0}),T[I]}try{d({},"")}catch{d=function(I,D,V){return I[D]=V}}function h(T,I,D,V){var H=I&&I.prototype instanceof b?I:b,Y=Object.create(H.prototype),ne=new R(V||[]);return i(Y,"_invoke",{value:k(T,D,ne)}),Y}n.wrap=h;function g(T,I,D){try{return{type:"normal",arg:T.call(I,D)}}catch(V){return{type:"throw",arg:V}}}var v="suspendedStart",p="suspendedYield",w="executing",E="completed",m={};function b(){}function O(){}function S(){}var y={};d(y,u,function(){return this});var C=Object.getPrototypeOf,A=C&&C(C(G([])));A&&A!==r&&o.call(A,u)&&(y=A);var P=S.prototype=b.prototype=Object.create(y);O.prototype=S,i(P,"constructor",{value:S,configurable:!0}),i(S,"constructor",{value:O,configurable:!0}),O.displayName=d(S,f,"GeneratorFunction");function M(T){["next","throw","return"].forEach(function(I){d(T,I,function(D){return this._invoke(I,D)})})}n.isGeneratorFunction=function(T){var I=typeof T=="function"&&T.constructor;return I?I===O||(I.displayName||I.name)==="GeneratorFunction":!1},n.mark=function(T){return Object.setPrototypeOf?Object.setPrototypeOf(T,S):(T.__proto__=S,d(T,f,"GeneratorFunction")),T.prototype=Object.create(P),T},n.awrap=function(T){return{__await:T}};function x(T,I){function D(Y,ne,U,ee){var le=g(T[Y],T,ne);if(le.type==="throw")ee(le.arg);else{var J=le.arg,B=J.value;return B&&typeof B=="object"&&o.call(B,"__await")?I.resolve(B.__await).then(function(q){D("next",q,U,ee)},function(q){D("throw",q,U,ee)}):I.resolve(B).then(function(q){J.value=q,U(J)},function(q){return D("throw",q,U,ee)})}}var V;function H(Y,ne){function U(){return new I(function(ee,le){D(Y,ne,ee,le)})}return V=V?V.then(U,U):U()}i(this,"_invoke",{value:H})}M(x.prototype),d(x.prototype,l,function(){return this}),n.AsyncIterator=x,n.async=function(T,I,D,V,H){H===void 0&&(H=Promise);var Y=new x(h(T,I,D,V),H);return n.isGeneratorFunction(I)?Y:Y.next().then(function(ne){return ne.done?ne.value:Y.next()})};function k(T,I,D){var V=v;return function(Y,ne){if(V===w)throw new Error("Generator is already running");if(V===E){if(Y==="throw")throw ne;return K()}for(D.method=Y,D.arg=ne;;){var U=D.delegate;if(U){var ee=N(U,D);if(ee){if(ee===m)continue;return ee}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(V===v)throw V=E,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);V=w;var le=g(T,I,D);if(le.type==="normal"){if(V=D.done?E:p,le.arg===m)continue;return{value:le.arg,done:D.done}}else le.type==="throw"&&(V=E,D.method="throw",D.arg=le.arg)}}}function N(T,I){var D=I.method,V=T.iterator[D];if(V===s)return I.delegate=null,D==="throw"&&T.iterator.return&&(I.method="return",I.arg=s,N(T,I),I.method==="throw")||D!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+D+"' method")),m;var H=g(V,T.iterator,I.arg);if(H.type==="throw")return I.method="throw",I.arg=H.arg,I.delegate=null,m;var Y=H.arg;if(!Y)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,m;if(Y.done)I[T.resultName]=Y.value,I.next=T.nextLoc,I.method!=="return"&&(I.method="next",I.arg=s);else return Y;return I.delegate=null,m}M(P),d(P,f,"Generator"),d(P,u,function(){return this}),d(P,"toString",function(){return"[object Generator]"});function z(T){var I={tryLoc:T[0]};1 in T&&(I.catchLoc=T[1]),2 in T&&(I.finallyLoc=T[2],I.afterLoc=T[3]),this.tryEntries.push(I)}function Q(T){var I=T.completion||{};I.type="normal",delete I.arg,T.completion=I}function R(T){this.tryEntries=[{tryLoc:"root"}],T.forEach(z,this),this.reset(!0)}n.keys=function(T){var I=Object(T),D=[];for(var V in I)D.push(V);return D.reverse(),function H(){for(;D.length;){var Y=D.pop();if(Y in I)return H.value=Y,H.done=!1,H}return H.done=!0,H}};function G(T){if(T){var I=T[u];if(I)return I.call(T);if(typeof T.next=="function")return T;if(!isNaN(T.length)){var D=-1,V=function H(){for(;++D<T.length;)if(o.call(T,D))return H.value=T[D],H.done=!1,H;return H.value=s,H.done=!0,H};return V.next=V}}return{next:K}}n.values=G;function K(){return{value:s,done:!0}}return R.prototype={constructor:R,reset:function(T){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(Q),!T)for(var I in this)I.charAt(0)==="t"&&o.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=s)},stop:function(){this.done=!0;var T=this.tryEntries[0],I=T.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var I=this;function D(ee,le){return Y.type="throw",Y.arg=T,I.next=ee,le&&(I.method="next",I.arg=s),!!le}for(var V=this.tryEntries.length-1;V>=0;--V){var H=this.tryEntries[V],Y=H.completion;if(H.tryLoc==="root")return D("end");if(H.tryLoc<=this.prev){var ne=o.call(H,"catchLoc"),U=o.call(H,"finallyLoc");if(ne&&U){if(this.prev<H.catchLoc)return D(H.catchLoc,!0);if(this.prev<H.finallyLoc)return D(H.finallyLoc)}else if(ne){if(this.prev<H.catchLoc)return D(H.catchLoc,!0)}else if(U){if(this.prev<H.finallyLoc)return D(H.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(T,I){for(var D=this.tryEntries.length-1;D>=0;--D){var V=this.tryEntries[D];if(V.tryLoc<=this.prev&&o.call(V,"finallyLoc")&&this.prev<V.finallyLoc){var H=V;break}}H&&(T==="break"||T==="continue")&&H.tryLoc<=I&&I<=H.finallyLoc&&(H=null);var Y=H?H.completion:{};return Y.type=T,Y.arg=I,H?(this.method="next",this.next=H.finallyLoc,m):this.complete(Y)},complete:function(T,I){if(T.type==="throw")throw T.arg;return T.type==="break"||T.type==="continue"?this.next=T.arg:T.type==="return"?(this.rval=this.arg=T.arg,this.method="return",this.next="end"):T.type==="normal"&&I&&(this.next=I),m},finish:function(T){for(var I=this.tryEntries.length-1;I>=0;--I){var D=this.tryEntries[I];if(D.finallyLoc===T)return this.complete(D.completion,D.afterLoc),Q(D),m}},catch:function(T){for(var I=this.tryEntries.length-1;I>=0;--I){var D=this.tryEntries[I];if(D.tryLoc===T){var V=D.completion;if(V.type==="throw"){var H=V.arg;Q(D)}return H}}throw new Error("illegal catch attempt")},delegateYield:function(T,I,D){return this.delegate={iterator:G(T),resultName:I,nextLoc:D},this.method==="next"&&(this.arg=s),m}},n}(t.exports);try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Ja);var Uh=Ja.exports;(function(t){var e=Uh;function n(v,p,w,E,m,b,O){try{var S=v[b](O),y=S.value}catch(C){return void w(C)}S.done?p(y):Promise.resolve(y).then(E,m)}function r(v){return function(){var p=this,w=arguments;return new Promise(function(E,m){var b=v.apply(p,w);function O(y){n(b,E,m,O,S,"next",y)}function S(y){n(b,E,m,O,S,"throw",y)}O(void 0)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=!1,i=null,s="en",a=null,u=null,l="https://maps.googleapis.com/maps/api/geocode/json";function f(v){var p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];o&&(p?console.warn(v):console.log(v))}function d(v){return h.apply(this,arguments)}function h(){return(h=r(e.mark(function v(p){var w,E;return e.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,fetch(p).catch(function(){return Promise.reject(new Error("Error fetching data"))});case 2:return w=m.sent,m.next=5,w.json().catch(function(){return f("Error parsing server response"),Promise.reject(new Error("Error parsing server response"))});case 5:if((E=m.sent).status!=="OK"){m.next=9;break}return f(E),m.abrupt("return",E);case 9:return f("".concat(E.error_message,`.
|
|
2
|
+
Server returned status code `).concat(E.status),!0),m.abrupt("return",Promise.reject(new Error("".concat(E.error_message,`.
|
|
3
|
+
Server returned status code `).concat(E.status))));case 11:case"end":return m.stop()}},v)}))).apply(this,arguments)}var g={setApiKey:function(v){i=v},setLanguage:function(v){s=v},setRegion:function(v){a=v},setLocationType:function(v){u=v},enableDebug:function(){var v=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];o=v},fromLatLng:function(v,p,w,E,m,b){return r(e.mark(function O(){var S,y;return e.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(v&&p){C.next=3;break}return f("Provided coordinates are invalid",!0),C.abrupt("return",Promise.reject(new Error("Provided coordinates are invalid")));case 3:return S="".concat(v,",").concat(p),y="".concat(l,"?latlng=").concat(encodeURIComponent(S)),(w||i)&&(y+="&key=".concat(i=w||i)),(E||s)&&(y+="&language=".concat(s=E||s)),(m||a)&&(a=m||a,y+="®ion=".concat(encodeURIComponent(a))),(b||u)&&(u=b||u,y+="&location_type=".concat(encodeURIComponent(u))),C.abrupt("return",d(y));case 9:case"end":return C.stop()}},O)}))()},fromAddress:function(v,p,w,E){return r(e.mark(function m(){var b;return e.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(v){O.next=3;break}return f("Provided address is invalid",!0),O.abrupt("return",Promise.reject(new Error("Provided address is invalid")));case 3:return b="".concat(l,"?address=").concat(encodeURIComponent(v)),(p||i)&&(b+="&key=".concat(i=p||i)),(w||s)&&(b+="&language=".concat(s=w||s)),(E||a)&&(a=E||a,b+="®ion=".concat(encodeURIComponent(a))),O.abrupt("return",d(b));case 8:case"end":return O.stop()}},m)}))()}};t.default=g})(qa);const fo=uo(qa);fo.setApiKey("AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA");const Hh=Oh().use(gh()).use(ah()).init({language:"en",defaultNs:"common",ns:["common","courier_balloon","current_location","details_modal","header","location_aside","location_selector","receive_filter","send_filter","type_filter"],apiUrl:"https://tms.omnic.solutions",apiKey:"tgpak_gfpwi2dimy3domrsnezham3ugbvw24tfm5vwk3bqgntxa"});var Za={exports:{}};/*!
|
|
2
4
|
Copyright (c) 2018 Jed Watson.
|
|
3
5
|
Licensed under the MIT License (MIT), see
|
|
4
6
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var s=typeof i;if(s==="string"||s==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&r.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var
|
|
7
|
+
*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var s=typeof i;if(s==="string"||s==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&r.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var u in i)e.call(i,u)&&i[u]&&r.push(u)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Za);var zh=Za.exports;const Ce=uo(zh),_a=t=>{let e;const n=new Set,r=(u,l)=>{const f=typeof u=="function"?u(e):u;if(!Object.is(f,e)){const d=e;e=l??typeof f!="object"?f:Object.assign({},e,f),n.forEach(h=>h(e,d))}},o=()=>e,a={setState:r,getState:o,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{n.clear()}};return e=t(r,o,a),a},Fh=t=>t?_a(t):_a;var Xa={exports:{}},$a={},el={exports:{}},tl={};/**
|
|
6
8
|
* @license React
|
|
7
9
|
* use-sync-external-store-shim.production.min.js
|
|
8
10
|
*
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
*
|
|
11
13
|
* This source code is licensed under the MIT license found in the
|
|
12
14
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/var
|
|
15
|
+
*/var Un=c;function Vh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Gh=typeof Object.is=="function"?Object.is:Vh,Qh=Un.useState,Yh=Un.useEffect,Wh=Un.useLayoutEffect,Kh=Un.useDebugValue;function Rh(t,e){var n=e(),r=Qh({inst:{value:n,getSnapshot:e}}),o=r[0].inst,i=r[1];return Wh(function(){o.value=n,o.getSnapshot=e,_i(o)&&i({inst:o})},[t,n,e]),Yh(function(){return _i(o)&&i({inst:o}),t(function(){_i(o)&&i({inst:o})})},[t]),Kh(n),n}function _i(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Gh(t,n)}catch{return!0}}function qh(t,e){return e()}var Jh=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?qh:Rh;tl.useSyncExternalStore=Un.useSyncExternalStore!==void 0?Un.useSyncExternalStore:Jh,el.exports=tl;var Zh=el.exports;/**
|
|
14
16
|
* @license React
|
|
15
17
|
* use-sync-external-store-shim/with-selector.production.min.js
|
|
16
18
|
*
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
*
|
|
19
21
|
* This source code is licensed under the MIT license found in the
|
|
20
22
|
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/var
|
|
23
|
+
*/var ho=c,_h=Zh;function Xh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var $h=typeof Object.is=="function"?Object.is:Xh,ep=_h.useSyncExternalStore,tp=ho.useRef,np=ho.useEffect,rp=ho.useMemo,op=ho.useDebugValue;$a.useSyncExternalStoreWithSelector=function(t,e,n,r,o){var i=tp(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=rp(function(){function u(g){if(!l){if(l=!0,f=g,g=r(g),o!==void 0&&s.hasValue){var v=s.value;if(o(v,g))return d=v}return d=g}if(v=d,$h(f,g))return v;var p=r(g);return o!==void 0&&o(v,p)?v:(f=g,d=p)}var l=!1,f,d,h=n===void 0?null:n;return[function(){return u(e())},h===null?void 0:function(){return u(h())}]},[e,n,r,o]);var a=ep(t,i[0],i[1]);return np(function(){s.hasValue=!0,s.value=a},[a]),op(a),a},Xa.exports=$a;var ip=Xa.exports;const sp=uo(ip),{useSyncExternalStoreWithSelector:ap}=sp;let oC=!1;function lp(t,e=t.getState,n){const r=ap(t.subscribe,t.getState,t.getServerState||t.getState,e,n);return c.useDebugValue(r),r}const nl=t=>{const e=typeof t=="function"?Fh(t):t,n=(r,o)=>lp(e,r,o);return Object.assign(n,e),n},Xt=t=>t?nl(t):nl;let po;const up=new Uint8Array(16);function cp(){if(!po&&(po=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!po))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return po(up)}const nt=[];for(let t=0;t<256;++t)nt.push((t+256).toString(16).slice(1));function fp(t,e=0){return nt[t[e+0]]+nt[t[e+1]]+nt[t[e+2]]+nt[t[e+3]]+"-"+nt[t[e+4]]+nt[t[e+5]]+"-"+nt[t[e+6]]+nt[t[e+7]]+"-"+nt[t[e+8]]+nt[t[e+9]]+"-"+nt[t[e+10]]+nt[t[e+11]]+nt[t[e+12]]+nt[t[e+13]]+nt[t[e+14]]+nt[t[e+15]]}const rl={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ol(t,e,n){if(rl.randomUUID&&!e&&!t)return rl.randomUUID();t=t||{};const r=t.random||(t.rng||cp)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(let o=0;o<16;++o)e[n+o]=r[o];return e}return fp(r)}const Xi=ol(),go=ol(),Gt=[48,66],Hn=[58,80],$i=10,dp=5,vo=20,il=10,zn=[49.3478969,14.0983344],hp="en",pp={mode:"self_pickup",bounds:null,blurred:!1,loaded:!1,loading:!0,zoom:vo,detailsOpen:!1},We=Xt()(t=>({...pp,setLoaded(){t({loaded:!0,loading:!1})},setMode(e){t({mode:e})},setBounds(e){t({bounds:e})},setZoom(e){t({zoom:e})},setDetailsOpen(e){t({detailsOpen:e})},setBlurred(e){t({blurred:e})}})),sl={locale:hp,map:{provider:"google",center:zn}},al=c.createContext(sl),Dt=()=>c.useContext(al),gp={courierPoint:null},Qt=Xt()(t=>({...gp,setCourierPoint(e){t({courierPoint:e})}})),mo={root:"Button-module__root__8NAnx6",primary:"Button-module__primary__UsjvpK",secondary:"Button-module__secondary__VtNj8s"},bt=({className:t,variant:e="primary",...n})=>{if(n.as==="link"){const{as:i,...s}=n;return L.jsx("a",{className:Ce(mo.root,t,mo[e]),...s})}const{as:r,...o}=n;return L.jsx("button",{className:Ce(mo.root,t,mo[e]),...o})};bt.defaultProps={as:"button"};const vp=t=>ce.createElement("svg",{width:123,height:32,viewBox:"0 0 123 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("path",{d:"M6.69783 32C5.49102 32 4.3747 31.7038 3.34892 31.1112C2.32312 30.5186 1.50852 29.7186 0.905114 28.7112C0.301705 27.7038 0 26.6074 0 25.4222V6.57778C0 5.36296 0.301705 4.26666 0.905114 3.28888C1.50852 2.28148 2.32312 1.48148 3.34892 0.888888C4.3747 0.296296 5.49102 0 6.69783 0H25.8862C27.093 0 28.1942 0.296296 29.1899 0.888888C30.2156 1.48148 31.0302 2.28148 31.6338 3.28888C32.2673 4.26666 32.5841 5.36296 32.5841 6.57778V25.4222C32.5841 26.6074 32.2673 27.7038 31.6338 28.7112C31.0302 29.7186 30.2156 30.5186 29.1899 31.1112C28.1942 31.7038 27.093 32 25.8862 32H6.69783ZM7.01462 25.0666H25.4789V6.93334H7.01462V25.0666Z",fill:"currentcolor"}),ce.createElement("path",{d:"M37.5678 32V0H44.8087L55.851 12.9333L66.8482 0H74.1345V32H67.0745V10.5333L55.851 23.6888L44.5824 10.5778V32H37.5678Z",fill:"currentcolor"}),ce.createElement("path",{d:"M79.5533 32V0H86.7941L105.032 21.3334V0H112.137V32H104.896L86.5679 10.5778V32H79.5533Z",fill:"currentcolor"}),ce.createElement("path",{d:"M116.076 32V0H123V32H116.076Z",fill:"currentcolor"})),hr={root:"Header-module__root__HQYeJV",nav:"Header-module__nav__E5j1Pg",navItem:"Header-module__navItem__9yWrFL",logo:"Header-module__logo__RE3idO"},mp=()=>{const{hideLogo:t}=Dt();return t?null:L.jsx("div",{className:hr.logo,children:L.jsx(vp,{})})},yp=t=>ce.createElement("svg",{width:24,height:28,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 11.7765C24 4.05176 17.6057 0 12 0C6.39429 0 0 4.05176 0 11.7765C0 16.9153 3.99429 22.3341 12 28C20.0057 22.3341 24 16.9153 24 11.7765ZM12.0001 16C14.2093 16 16.0001 14.2091 16.0001 12C16.0001 9.79086 14.2093 8 12.0001 8C9.79098 8 8.00012 9.79086 8.00012 12C8.00012 14.2091 9.79098 16 12.0001 16Z",fill:"#1760EE"})),bp={open:!1},yo=Xt(t=>({...bp,toggle(e){t(n=>({open:e??!n.open}))}})),Ep={place:null},gn=Xt(t=>({...Ep,setPlace(e){t({place:e})}})),es={root:"CurrentLocation-module__root__OP569R",text:"CurrentLocation-module__text__r-F6NH",icon:"CurrentLocation-module__icon__tNWTkm"},ll=({className:t})=>{var s;const{t:e}=Lt("current_location"),n=gn(a=>a.place),r=yo(a=>a.toggle),o=()=>{r(!0)},i=(s=n==null?void 0:n.address_components)==null?void 0:s.find(a=>a.types.includes("locality"));return L.jsxs("div",{className:Ce(es.root,t),onClick:o,children:[L.jsx(yp,{className:es.icon}),L.jsxs("span",{className:es.text,children:[!n&&e("choose_from_map"),n&&`${(i==null?void 0:i.long_name)??n.formatted_address}`]})]})},wp=({className:t})=>{const{t:e}=Lt("header"),{disableCourierDelivery:n}=Dt(),r=Qt(d=>d.courierPoint),o=Qt(d=>d.setCourierPoint),i=We(d=>d.mode),s=We(d=>d.setMode);c.useEffect(()=>{s(r?"courier_delivery":"self_pickup")},[r,s]);const a=()=>{o(null),s("self_pickup")},u=()=>{o(null),s("courier_delivery")},l=i==="self_pickup",f=i==="courier_delivery";return L.jsxs("div",{className:Ce(hr.root,t),children:[L.jsx(mp,{}),L.jsxs("nav",{className:hr.nav,children:[!n&&L.jsx(bt,{as:"link",className:hr.navItem,variant:l?"primary":"secondary",onClick:a,children:e("self_pickup")}),!n&&L.jsx(bt,{as:"link",className:hr.navItem,variant:f?"primary":"secondary",onClick:u,children:e("courier_delivery")}),L.jsx(ll,{})]})]})},Cp=c.memo(wp),Sp={open:!1},Fn=Xt(t=>({...Sp,toggle(e){t(n=>({open:e??!n.open}))}})),ul={root:"Layout-module__root__ahSFBs",sidebarOpen:"Layout-module__sidebarOpen__vFWl9b"},Lp=({children:t})=>{const e=Fn(n=>n.open);return L.jsx("div",{className:Ce(ul.root,{[ul.sidebarOpen]:e}),children:t})};var Ap=xp()?c.useLayoutEffect:c.useEffect;function xp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Op(){var t=c.useState(Object.create(null)),e=t[1];return c.useCallback(function(){e(Object.create(null))},[])}var Mp=function(e){var n=e.children,r=e.type,o=r===void 0?"reach-portal":r,i=c.useRef(null),s=c.useRef(null),a=Op();return Ap(function(){if(i.current){var u=i.current.ownerDocument;return s.current=u==null?void 0:u.createElement(o),u.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[o,a]),s.current?jn.createPortal(n,s.current):c.createElement("span",{ref:i})};/*! *****************************************************************************
|
|
22
24
|
Copyright (c) Microsoft Corporation.
|
|
23
25
|
|
|
24
26
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -31,19 +33,19 @@
|
|
|
31
33
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
32
34
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33
35
|
PERFORMANCE OF THIS SOFTWARE.
|
|
34
|
-
***************************************************************************** */var Y=function(){return Y=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Y.apply(this,arguments)};function es(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Ee(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function ze(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var Ne;(function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"})(Ne||(Ne={}));var Hn;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(Hn||(Hn={}));var ts=Ne.Start,ns=Ne.Stop,dr=Ne.Raise,fo=Ne.Send,rl=Ne.Cancel,mh=Ne.NullEvent,rs=Ne.Assign;Ne.After,Ne.DoneState;var ol=Ne.Log,yh=Ne.Init,os=Ne.Invoke;Ne.ErrorExecution;var il=Ne.ErrorPlatform,bh=Ne.ErrorCustom,sl=Ne.Update,Eh=Ne.Choose,wh=Ne.Pure,al=".",ll={},is="xstate.guard",Ch="",po;function ss(t,e,n){n===void 0&&(n=al);var r=pr(t,n),o=pr(e,n);return Ie(o)?Ie(r)?o===r:!1:Ie(r)?r in o:Object.keys(r).every(function(i){return i in o?ss(r[i],o[i]):!1})}function ul(t){try{return Ie(t)||typeof t=="number"?"".concat(t):t.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function as(t,e){try{return zn(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Sh(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function pr(t,e){if(Sh(t))return t.value;if(zn(t))return ho(t);if(typeof t!="string")return t;var n=as(t,e);return ho(n)}function ho(t){if(t.length===1)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function hr(t,e){for(var n={},r=Object.keys(t),o=0;o<r.length;o++){var i=r[o];n[i]=e(t[i],i,t,o)}return n}function cl(t,e,n){var r,o,i={};try{for(var s=Ee(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,u=t[l];n(u)&&(i[l]=e(u,l,t))}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var Lh=function(t){return function(e){var n,r,o=e;try{for(var i=Ee(t),s=i.next();!s.done;s=i.next()){var a=s.value;o=o[a]}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function xh(t,e){return function(n){var r,o,i=n;try{for(var s=Ee(t),a=s.next();!a.done;a=s.next()){var l=a.value;i=i[e][l]}}catch(u){r={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}}function go(t){if(!t)return[[]];if(Ie(t))return[[t]];var e=Qe(Object.keys(t).map(function(n){var r=t[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:go(t[n]).map(function(o){return[n].concat(o)})}));return e}function Qe(t){var e;return(e=[]).concat.apply(e,ze([],xe(t),!1))}function fl(t){return zn(t)?t:[t]}function xt(t){return t===void 0?[]:fl(t)}function vo(t,e,n){var r,o;if(Pe(t))return t(e,n.data);var i={};try{for(var s=Ee(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,u=t[l];Pe(u)?i[l]=u(e,n.data):i[l]=u}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function Ah(t){return/^(done|error)\./.test(t)}function dl(t){return!!(t instanceof Promise||t!==null&&(Pe(t)||typeof t=="object")&&Pe(t.then))}function Oh(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function Mh(t,e){var n,r,o=xe([[],[]],2),i=o[0],s=o[1];try{for(var a=Ee(t),l=a.next();!l.done;l=a.next()){var u=l.value;e(u)?i.push(u):s.push(u)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}function pl(t,e){return hr(t.states,function(n,r){if(n){var o=(Ie(e)?void 0:e[r])||(n?n.current:void 0);if(o)return{current:o,states:pl(n,o)}}})}function Ph(t,e){return{current:e,states:pl(t,e)}}function hl(t,e,n,r){var o=t&&n.reduce(function(i,s){var a,l,u=s.assignment,f={state:r,action:s,_event:e},d={};if(Pe(u))d=u(i,e.data,f);else try{for(var p=Ee(Object.keys(u)),g=p.next();!g.done;g=p.next()){var m=g.value,h=u[m];d[m]=Pe(h)?h(i,e.data,f):h}}catch(S){a={error:S}}finally{try{g&&!g.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}return Object.assign({},i,d)},t);return o}var kh=function(){};function zn(t){return Array.isArray(t)}function Pe(t){return typeof t=="function"}function Ie(t){return typeof t=="string"}function gl(t,e){if(t)return Ie(t)?{type:is,name:t,predicate:e?e[t]:void 0}:Pe(t)?{type:is,name:t.name,predicate:t}:t}function Ih(t){try{return"subscribe"in t&&Pe(t.subscribe)}catch{return!1}}var _t=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();po={},po[_t]=function(){return this},po[Symbol.observable]=function(){return this};function Fn(t){return!!t&&"__xstatenode"in t}function Dh(t){return!!t&&typeof t.send=="function"}function mo(t,e){return Ie(t)||typeof t=="number"?Y({type:t},e):t}function nt(t,e){if(!Ie(t)&&"$$type"in t&&t.$$type==="scxml")return t;var n=mo(t);return Y({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Gn(t,e){var n=fl(e).map(function(r){return typeof r>"u"||typeof r=="string"||Fn(r)?{target:r,event:t}:Y(Y({},r),{event:t})});return n}function Th(t){if(!(t===void 0||t===Ch))return xt(t)}function vl(t,e,n,r,o){var i=t.options.guards,s={state:o,cond:e,_event:r};if(e.type===is)return((i==null?void 0:i[e.name])||e.predicate)(n,r.data,s);var a=i==null?void 0:i[e.type];if(!a)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return a(n,r.data,s)}function ml(t){return typeof t=="string"?{type:t}:t}function yo(t,e,n){var r=function(){},o=typeof t=="object",i=o?t:null;return{next:((o?t.next:t)||r).bind(i),error:((o?t.error:e)||r).bind(i),complete:((o?t.complete:n)||r).bind(i)}}function bo(t,e){return"".concat(t,":invocation[").concat(e,"]")}function ls(t){return(t.type===dr||t.type===fo&&t.to===Hn.Internal)&&typeof t.delay!="number"}var Vn=nt({type:yh});function us(t,e){return e&&e[t]||void 0}function gr(t,e){var n;if(Ie(t)||typeof t=="number"){var r=us(t,e);Pe(r)?n={type:t,exec:r}:r?n=r:n={type:t,exec:void 0}}else if(Pe(t))n={type:t.name||t.toString(),exec:t};else{var r=us(t.type,e);if(Pe(r))n=Y(Y({},t),{exec:r});else if(r){var o=r.type||t.type;n=Y(Y(Y({},r),t),{type:o})}else n=t}return n}var $t=function(t,e){if(!t)return[];var n=zn(t)?t:[t];return n.map(function(r){return gr(r,e)})};function cs(t){var e=gr(t);return Y(Y({id:Ie(t)?t:e.id},e),{type:e.type})}function Bh(t,e){return{type:dr,event:typeof t=="function"?t:mo(t),delay:e?e.delay:void 0,id:e==null?void 0:e.id}}function Nh(t,e,n,r){var o={_event:n},i=nt(Pe(t.event)?t.event(e,n.data,o):t.event),s;if(Ie(t.delay)){var a=r&&r[t.delay];s=Pe(a)?a(e,n.data,o):a}else s=Pe(t.delay)?t.delay(e,n.data,o):t.delay;return Y(Y({},t),{type:dr,_event:i,delay:s})}function jh(t,e){return{to:e?e.to:void 0,type:fo,event:Pe(t)?t:mo(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:Pe(t)?t.name:ul(t)}}function Uh(t,e,n,r){var o={_event:n},i=nt(Pe(t.event)?t.event(e,n.data,o):t.event),s;if(Ie(t.delay)){var a=r&&r[t.delay];s=Pe(a)?a(e,n.data,o):a}else s=Pe(t.delay)?t.delay(e,n.data,o):t.delay;var l=Pe(t.to)?t.to(e,n.data,o):t.to;return Y(Y({},t),{to:l,_event:i,event:i.data,delay:s})}var Hh=function(t,e,n){return Y(Y({},t),{value:Ie(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},zh=function(t){return{type:rl,sendId:t}};function Fh(t){var e=cs(t);return{type:Ne.Start,activity:e,exec:void 0}}function Gh(t){var e=Pe(t)?t:cs(t);return{type:Ne.Stop,activity:e,exec:void 0}}function Vh(t,e,n){var r=Pe(t.activity)?t.activity(e,n.data):t.activity,o=typeof r=="string"?{id:r}:r,i={type:Ne.Stop,activity:o};return i}var Qh=function(t){return{type:rs,assignment:t}};function Yh(t,e){var n=e?"#".concat(e):"";return"".concat(Ne.After,"(").concat(t,")").concat(n)}function Eo(t,e){var n="".concat(Ne.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function wo(t,e){var n="".concat(Ne.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function vr(t,e){var n="".concat(Ne.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}var Wh=function(t){var e,n,r=[];try{for(var o=Ee(t),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;){if(s.actions[a].type===rs){r.push(s.actions[a]),s.actions.splice(a,1);continue}a++}}catch(l){e={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r};function Co(t,e,n,r,o,i,s){s===void 0&&(s=!1);var a=s?[]:Wh(o),l=a.length?hl(n,r,a,e):n,u=s?[n]:void 0,f=[];function d(m,h){var S;switch(h.type){case dr:{var C=Nh(h,l,r,t.options.delays);return i&&typeof C.delay=="number"&&i(C,l,r),C}case fo:var b=Uh(h,l,r,t.options.delays);return i&&b.to!==Hn.Internal&&(m==="entry"?f.push(b):i(b,l,r)),b;case ol:{var y=Hh(h,l,r);return i==null||i(y,l,r),y}case Eh:{var A=h,E=(S=A.conds.find(function(J){var G=gl(J.cond,t.options.guards);return!G||vl(t,G,l,r,i?void 0:e)}))===null||S===void 0?void 0:S.actions;if(!E)return[];var v=xe(Co(t,e,l,r,[{type:m,actions:$t(xt(E),t.options.actions)}],i,s),2),x=v[0],w=v[1];return l=w,u==null||u.push(l),x}case wh:{var E=h.get(l,r.data);if(!E)return[];var M=xe(Co(t,e,l,r,[{type:m,actions:$t(xt(E),t.options.actions)}],i,s),2),O=M[0],P=M[1];return l=P,u==null||u.push(l),O}case ns:{var y=Vh(h,l,r);return i==null||i(y,n,r),y}case rs:{l=hl(l,r,[h],i?void 0:e),u==null||u.push(l);break}default:var T=gr(h,t.options.actions),z=T.exec;if(i)i(T,l,r);else if(z&&u){var Q=u.length-1,K=Y(Y({},T),{exec:function(J){for(var G=[],W=1;W<arguments.length;W++)G[W-1]=arguments[W];z.apply(void 0,ze([u[Q]],xe(G),!1))}});T=K}return T}}function p(m){var h,S,C=[];try{for(var b=Ee(m.actions),y=b.next();!y.done;y=b.next()){var A=y.value,E=d(m.type,A);E&&(C=C.concat(E))}}catch(v){h={error:v}}finally{try{y&&!y.done&&(S=b.return)&&S.call(b)}finally{if(h)throw h.error}}return f.forEach(function(v){i(v,l,r)}),f.length=0,C}var g=Qe(o.map(p));return[g,l]}var yl=[],Qn=function(t,e){yl.push(t);var n=e(t);return yl.pop(),n};function bl(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[_t]=function(){return this},e}function Kh(t,e,n,r){var o,i=ml(t.src),s=(o=e==null?void 0:e.options.services)===null||o===void 0?void 0:o[i.type],a=t.data?vo(t.data,n,r):void 0,l=s?El(s,t.id,a):bl(t.id);return l.meta=t,l}function El(t,e,n){var r=bl(e);if(r.deferred=!0,Fn(t)){var o=r.state=Qn(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return o}}return r}function Rh(t){try{return typeof t.send=="function"}catch{return!1}}function qh(t){return Rh(t)&&"id"in t}function Jh(t){var e;return Y((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[_t]=function(){return this},e),t)}var So=function(t){return t.type==="atomic"||t.type==="final"};function wl(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function mr(t){return wl(t).filter(function(e){return e.type!=="history"})}function Cl(t){var e=[t];return So(t)?e:e.concat(Qe(mr(t).map(Cl)))}function yr(t,e){var n,r,o,i,s,a,l,u,f=new Set(t),d=fs(f),p=new Set(e);try{for(var g=Ee(p),m=g.next();!m.done;m=g.next())for(var h=m.value,S=h.parent;S&&!p.has(S);)p.add(S),S=S.parent}catch(M){n={error:M}}finally{try{m&&!m.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var C=fs(p);try{for(var b=Ee(p),y=b.next();!y.done;y=b.next()){var h=y.value;if(h.type==="compound"&&(!C.get(h)||!C.get(h).length))d.get(h)?d.get(h).forEach(function(O){return p.add(O)}):h.initialStateNodes.forEach(function(O){return p.add(O)});else if(h.type==="parallel")try{for(var A=(s=void 0,Ee(mr(h))),E=A.next();!E.done;E=A.next()){var v=E.value;p.has(v)||(p.add(v),d.get(v)?d.get(v).forEach(function(O){return p.add(O)}):v.initialStateNodes.forEach(function(O){return p.add(O)}))}}catch(O){s={error:O}}finally{try{E&&!E.done&&(a=A.return)&&a.call(A)}finally{if(s)throw s.error}}}}catch(M){o={error:M}}finally{try{y&&!y.done&&(i=b.return)&&i.call(b)}finally{if(o)throw o.error}}try{for(var x=Ee(p),w=x.next();!w.done;w=x.next())for(var h=w.value,S=h.parent;S&&!p.has(S);)p.add(S),S=S.parent}catch(M){l={error:M}}finally{try{w&&!w.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}return p}function Sl(t,e){var n=e.get(t);if(!n)return{};if(t.type==="compound"){var r=n[0];if(r){if(So(r))return r.key}else return{}}var o={};return n.forEach(function(i){o[i.key]=Sl(i,e)}),o}function fs(t){var e,n,r=new Map;try{for(var o=Ee(t),i=o.next();!i.done;i=o.next()){var s=i.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Zh(t,e){var n=yr([t],e);return Sl(t,fs(n))}function br(t,e){return Array.isArray(t)?t.some(function(n){return n===e}):t instanceof Set?t.has(e):!1}function Xh(t){return ze([],xe(new Set(Qe(ze([],xe(t.map(function(e){return e.ownEvents})),!1)))),!1)}function Lo(t,e){return e.type==="compound"?mr(e).some(function(n){return n.type==="final"&&br(t,n)}):e.type==="parallel"?mr(e).every(function(n){return Lo(t,n)}):!1}function _h(t){return t===void 0&&(t=[]),t.reduce(function(e,n){return n.meta!==void 0&&(e[n.id]=n.meta),e},{})}function Ll(t){return new Set(Qe(t.map(function(e){return e.tags})))}function xl(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(Ie(t)||Ie(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(o){return xl(t[o],e[o])})}function $h(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function eg(t,e){var n=t.exec,r=Y(Y({},t),{exec:n!==void 0?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var bt=function(){function t(e){var n=this,r;this.actions=[],this.activities=ll,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||ll,this.meta=_h(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=(r=Array.isArray(e.tags)?new Set(e.tags):e.tags)!==null&&r!==void 0?r:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return Xh(n.configuration)}})}return t.from=function(e,n){if(e instanceof t)return e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e;var r=Vn;return new t({value:e,context:n,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=Vn;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(e,n){var r=this;if(e===void 0&&(e=this.value),n===void 0&&(n="."),Ie(e))return[e];var o=Object.keys(e);return o.concat.apply(o,ze([],xe(o.map(function(i){return r.toStrings(e[i],n).map(function(s){return i+n+s})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var n=e.tags;e.machine;var r=es(e,["configuration","transitions","tags","machine"]);return Y(Y({},r),{tags:Array.from(n)})},t.prototype.matches=function(e){return ss(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var n;kh(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,e);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(o){return o.target!==void 0||o.actions.length})},t}(),tg={deferEvents:!1},Al=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=Y(Y({},tg),e)}return t.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},t.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},t.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},t}(),ds=new Map,ng=0,Er={bookId:function(){return"x:".concat(ng++)},register:function(t,e){return ds.set(t,e),t},get:function(t){return ds.get(t)},free:function(t){ds.delete(t)}};function ps(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function rg(){var t=ps();if(t&&"__xstate__"in t)return t.__xstate__}function og(t){if(ps()){var e=rg();e&&e.register(t)}}function ig(t,e){e===void 0&&(e={});var n=t.initialState,r=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var u=o.shift();n=t.transition(n,u,l),r.forEach(function(f){return f.next(n)})}i=!1}},a=Jh({id:e.id,send:function(u){o.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,f,d){var p=yo(u,f,d);return r.add(p),p.next(n),{unsubscribe:function(){r.delete(p)}}}}),l={parent:e.parent,self:a,id:e.id||"anonymous",observers:r};return n=t.start?t.start(l):n,a}var sg={sync:!1,autoForward:!1},Ze;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Ze||(Ze={}));var ag=function(){function t(e,n){n===void 0&&(n=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Ze.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(f,d){if(zn(f))return r.batch(f),r.state;var p=nt(mo(f,d));if(r.status===Ze.Stopped)return r.state;if(r.status!==Ze.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(p.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
|
|
35
|
-
Event: `).concat(JSON.stringify(p.data)));return r.scheduler.schedule(function(){r.forward(p);var g=r._nextState(p);r.update(g,p)}),r._state},this.sendTo=function(f,d,p){var g=r.parent&&(d===Hn.Parent||r.parent.id===d),m=g?r.parent:Ie(d)?d===Hn.Internal?r:r.children.get(d)||Er.get(d):Dh(d)?d:void 0;if(!m){if(!g)throw new Error("Unable to send event to child '".concat(d,"' from service '").concat(r.id,"'."));return}if("machine"in m){if(r.status!==Ze.Stopped||r.parent!==m||r.state.done){var h=Y(Y({},f),{name:f.name===bh?"".concat(vr(r.id)):f.name,origin:r.sessionId});!p&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,h]):m.send(h)}}else!p&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,f.data]):m.send(f.data)},this._exec=function(f,d,p,g){g===void 0&&(g=r.machine.options.actions);var m=f.exec||us(f.type,g),h=Pe(m)?m:m?m.exec:f.exec;if(h)try{return h(d,p.data,r.machine.config.predictableActionArguments?{action:f,_event:p}:{action:f,state:r.state,_event:p})}catch(Q){throw r.parent&&r.parent.send({type:"xstate.error",data:Q}),Q}switch(f.type){case dr:{var S=f;r.defer(S);break}case fo:var C=f;if(typeof C.delay=="number"){r.defer(C);return}else C.to?r.sendTo(C._event,C.to,p===Vn):r.send(C._event);break;case rl:r.cancel(f.sendId);break;case ts:{if(r.status!==Ze.Running)return;var b=f.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[b.id||b.type])break;if(b.type===Ne.Invoke){var y=ml(b.src),A=r.machine.options.services?r.machine.options.services[y.type]:void 0,E=b.id,v=b.data,x="autoForward"in b?b.autoForward:!!b.forward;if(!A)return;var w=v?vo(v,d,p):void 0;if(typeof A=="string")return;var M=Pe(A)?A(d,p.data,{data:w,src:y,meta:b.meta}):A;if(!M)return;var O=void 0;Fn(M)&&(M=w?M.withContext(w):M,O={autoForward:x}),r.spawn(M,E,O)}else r.spawnActivity(b);break}case ns:{r.stopChild(f.activity.id);break}case ol:var P=f,T=P.label,z=P.value;T?r.logger(T,z):r.logger(z);break}};var o=Y(Y({},t.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,l=o.id,u=l!==void 0?l:e.id;this.id=u,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new Al({deferEvents:this.options.deferEvents}),this.sessionId=Er.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:Qn(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(e,n){var r,o;try{for(var i=Ee(e.actions),s=i.next();!s.done;s=i.next()){var a=s.value;this.exec(a,e,n)}}catch(l){r={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},t.prototype.update=function(e,n){var r,o,i,s,a,l,u,f,d=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||n===Vn)&&this.options.execute)this.execute(this.state);else for(var p=void 0;p=this._outgoingQueue.shift();)p[0].send(p[1]);if(this.children.forEach(function(M){d.state.children[M.id]=M}),this.devTools&&this.devTools.send(n.data,e),e.event)try{for(var g=Ee(this.eventListeners),m=g.next();!m.done;m=g.next()){var h=m.value;h(e.event)}}catch(M){r={error:M}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}try{for(var S=Ee(this.listeners),C=S.next();!C.done;C=S.next()){var h=C.value;h(e,e.event)}}catch(M){i={error:M}}finally{try{C&&!C.done&&(s=S.return)&&s.call(S)}finally{if(i)throw i.error}}try{for(var b=Ee(this.contextListeners),y=b.next();!y.done;y=b.next()){var A=y.value;A(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(M){a={error:M}}finally{try{y&&!y.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(this.state.done){var E=e.configuration.find(function(M){return M.type==="final"&&M.parent===d.machine}),v=E&&E.doneData?vo(E.doneData,e.context,n):void 0;this._doneEvent=wo(this.id,v);try{for(var x=Ee(this.doneListeners),w=x.next();!w.done;w=x.next()){var h=w.value;h(this._doneEvent)}}catch(M){u={error:M}}finally{try{w&&!w.done&&(f=x.return)&&f.call(x)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),Er.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===Ze.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,n,r){var o=this,i=yo(e,n,r);this.listeners.add(i.next),this.status!==Ze.NotStarted&&i.next(this.state);var s=function(){o.doneListeners.delete(s),o.stopListeners.delete(s),i.complete()};return this.status===Ze.Stopped?i.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){o.listeners.delete(i.next),o.doneListeners.delete(s),o.stopListeners.delete(s)}}},t.prototype.onEvent=function(e){return this.eventListeners.add(e),this},t.prototype.onSend=function(e){return this.sendListeners.add(e),this},t.prototype.onChange=function(e){return this.contextListeners.add(e),this},t.prototype.onStop=function(e){return this.stopListeners.add(e),this},t.prototype.onDone=function(e){return this.status===Ze.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},t.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},t.prototype.start=function(e){var n=this;if(this.status===Ze.Running)return this;this.machine._init(),Er.register(this.sessionId,this),this.initialized=!0,this.status=Ze.Running;var r=e===void 0?this.initialState:Qn(this,function(){return $h(e)?n.machine.resolveState(e):n.machine.resolveState(bt.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Vn)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){Pe(e.stop)&&e.stop()}),this.children.clear()},t.prototype._stop=function(){var e,n,r,o,i,s,a,l,u,f;try{for(var d=Ee(this.listeners),p=d.next();!p.done;p=d.next()){var g=p.value;this.listeners.delete(g)}}catch(x){e={error:x}}finally{try{p&&!p.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var m=Ee(this.stopListeners),h=m.next();!h.done;h=m.next()){var g=h.value;g(),this.stopListeners.delete(g)}}catch(x){r={error:x}}finally{try{h&&!h.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}try{for(var S=Ee(this.contextListeners),C=S.next();!C.done;C=S.next()){var g=C.value;this.contextListeners.delete(g)}}catch(x){i={error:x}}finally{try{C&&!C.done&&(s=S.return)&&s.call(S)}finally{if(i)throw i.error}}try{for(var b=Ee(this.doneListeners),y=b.next();!y.done;y=b.next()){var g=y.value;this.doneListeners.delete(g)}}catch(x){a={error:x}}finally{try{y&&!y.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Ze.Stopped,this._initialState=void 0;try{for(var A=Ee(Object.keys(this.delayedEventsMap)),E=A.next();!E.done;E=A.next()){var v=E.value;this.clock.clearTimeout(this.delayedEventsMap[v])}}catch(x){u={error:x}}finally{try{E&&!E.done&&(f=A.return)&&f.call(A)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new Al({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=nt({type:"xstate.stop"}),o=Qn(e,function(){var i=Qe(ze([],xe(e.state.configuration),!1).sort(function(f,d){return d.order-f.order}).map(function(f){return $t(f.onExit,e.machine.options.actions)})),s=xe(Co(e.machine,e.state,e.state.context,r,[{type:"exit",actions:i}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),a=s[0],l=s[1],u=new bt({value:e.state.value,context:l,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:a.filter(function(f){return!ls(f)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return u.changed=!0,u});e.update(o,r),e._stopChildren(),Er.free(e.sessionId)}),this},t.prototype.batch=function(e){var n=this;if(!(this.status===Ze.NotStarted&&this.options.deferEvents)){if(this.status!==Ze.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(e.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var o,i,s=n.state,a=!1,l=[],u=function(g){var m=nt(g);n.forward(m),s=Qn(n,function(){return n.machine.transition(s,m,void 0,r||void 0)}),l.push.apply(l,ze([],xe(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(h){return eg(h,s)})),!1)),a=a||!!s.changed};try{for(var f=Ee(e),d=f.next();!d.done;d=f.next()){var p=d.value;u(p)}}catch(g){o={error:g}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}s.changed=a,s.actions=l,n.update(s,nt(e[e.length-1]))})}},t.prototype.sender=function(e){return this.send.bind(this,e)},t.prototype._nextState=function(e,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var o=nt(e);if(o.name.indexOf(il)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(il)===0}))throw o.data.data;var i=Qn(this,function(){return r.machine.transition(r.state,o,void 0,n||void 0)});return i},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var n,r;try{for(var o=Ee(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.children.get(s);if(!a)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));a.send(e)}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},t.prototype.defer=function(e){var n=this,r=this.clock.setTimeout(function(){"to"in e&&e.to?n.sendTo(e._event,e.to,!0):n.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=r)},t.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},t.prototype.exec=function(e,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(e,n.context,n._event,r)},t.prototype.removeChild=function(e){var n;this.children.delete(e),this.forwardTo.delete(e),(n=this.state)===null||n===void 0||delete n.children[e]},t.prototype.stopChild=function(e){var n=this.children.get(e);n&&(this.removeChild(e),Pe(n.stop)&&n.stop())},t.prototype.spawn=function(e,n,r){if(this.status!==Ze.Running)return El(e,n);if(dl(e))return this.spawnPromise(Promise.resolve(e),n);if(Pe(e))return this.spawnCallback(e,n);if(qh(e))return this.spawnActor(e,n);if(Ih(e))return this.spawnObservable(e,n);if(Fn(e))return this.spawnMachine(e,Y(Y({},r),{id:n}));if(Oh(e))return this.spawnBehavior(e,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof e,'".'))},t.prototype.spawnMachine=function(e,n){var r=this;n===void 0&&(n={});var o=new t(e,Y(Y({},this.options),{parent:this,id:n.id||e.id})),i=Y(Y({},sg),n);i.sync&&o.onTransition(function(a){r.send(sl,{state:a,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(a){r.removeChild(o.id),r.send(nt(a,{origin:o.id}))}).start(),s},t.prototype.spawnBehavior=function(e,n){var r=ig(e,{id:n,parent:this});return this.children.set(n,r),r},t.prototype.spawnPromise=function(e,n){var r,o=this,i=!1,s;e.then(function(l){i||(s=l,o.removeChild(n),o.send(nt(wo(n,l),{origin:n})))},function(l){if(!i){o.removeChild(n);var u=vr(n,l);try{o.send(nt(u,{origin:n}))}catch{o.devTools&&o.devTools.send(u,o.state),o.machine.strict&&o.stop()}}});var a=(r={id:n,send:function(){},subscribe:function(l,u,f){var d=yo(l,u,f),p=!1;return e.then(function(g){p||(d.next(g),!p&&d.complete())},function(g){p||d.error(g)}),{unsubscribe:function(){return p=!0}}},stop:function(){i=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[_t]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnCallback=function(e,n){var r,o=this,i=!1,s=new Set,a=new Set,l,u=function(p){l=p,a.forEach(function(g){return g(p)}),!i&&o.send(nt(p,{origin:n}))},f;try{f=e(u,function(p){s.add(p)})}catch(p){this.send(vr(n,p))}if(dl(f))return this.spawnPromise(f,n);var d=(r={id:n,send:function(p){return s.forEach(function(g){return g(p)})},subscribe:function(p){var g=yo(p);return a.add(g.next),{unsubscribe:function(){a.delete(g.next)}}},stop:function(){i=!0,Pe(f)&&f()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},r[_t]=function(){return this},r);return this.children.set(n,d),d},t.prototype.spawnObservable=function(e,n){var r,o=this,i,s=e.subscribe(function(l){i=l,o.send(nt(l,{origin:n}))},function(l){o.removeChild(n),o.send(nt(vr(n,l),{origin:n}))},function(){o.removeChild(n),o.send(nt(wo(n),{origin:n}))}),a=(r={id:n,send:function(){},subscribe:function(l,u,f){return e.subscribe(l,u,f)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:n}}},r[_t]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnActor=function(e,n){return this.children.set(n,e),e},t.prototype.spawnActivity=function(e){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(n){var r=n(this.state.context,e);this.spawnEffect(e.id,r)}},t.prototype.spawnEffect=function(e,n){var r;this.children.set(e,(r={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}},r[_t]=function(){return this},r))},t.prototype.attachDev=function(){var e=ps();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(Y(Y({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:Y({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}og(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[_t]=function(){return this},t.prototype.getSnapshot=function(){return this.status===Ze.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,n){return setTimeout(e,n)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},t.interpret=Ol,t}();function Ol(t,e){var n=new ag(t,e);return n}function lg(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function xo(t){return Y(Y({type:os},t),{toJSON:function(){t.onDone,t.onError;var e=es(t,["onDone","onError"]);return Y(Y({},e),{type:os,src:lg(t.src)})}})}var Ao="",hs="#",gs="*",Yn={},Wn=function(t){return t[0]===hs},ug=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},cg=function(){function t(e,n,r,o){r===void 0&&(r="context"in e?e.context:void 0);var i=this,s;this.config=e,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(ug(),n),this.parent=o==null?void 0:o.parent,this.key=this.config.key||(o==null?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:al),this.id=this.config.id||ze([this.machine.key],xe(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?hr(this.config.states,function(u,f){var d,p=new t(u,{},void 0,{parent:i,key:f});return Object.assign(i.idMap,Y((d={},d[p.id]=p,d),p.idMap)),p}):Yn;var a=0;function l(u){var f,d;u.order=a++;try{for(var p=Ee(wl(u)),g=p.next();!g.done;g=p.next()){var m=g.value;l(m)}}catch(h){f={error:h}}finally{try{g&&!g.done&&(d=p.return)&&d.call(p)}finally{if(f)throw f.error}}}l(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(u){var f=u.event;return f===Ao}):Ao in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=xt(this.config.entry||this.config.onEntry).map(function(u){return gr(u)}),this.onExit=xt(this.config.exit||this.config.onExit).map(function(u){return gr(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=xt(this.config.invoke).map(function(u,f){var d,p;if(Fn(u)){var g=bo(i.id,f);return i.machine.options.services=Y((d={},d[g]=u,d),i.machine.options.services),xo({src:g,id:g})}else if(Ie(u.src)){var g=u.id||bo(i.id,f);return xo(Y(Y({},u),{id:g,src:u.src}))}else if(Fn(u.src)||Pe(u.src)){var g=u.id||bo(i.id,f);return i.machine.options.services=Y((p={},p[g]=u.src,p),i.machine.options.services),xo(Y(Y({id:g},u),{src:g}))}else{var m=u.src;return xo(Y(Y({id:bo(i.id,f)},u),{src:m}))}}),this.activities=xt(this.config.activities).concat(this.invoke).map(function(u){return cs(u)}),this.transition=this.transition.bind(this),this.tags=xt(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||Cl(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,l=r.delays;return new t(this.config,{actions:Y(Y({},o),e.actions),activities:Y(Y({},i),e.activities),guards:Y(Y({},s),e.guards),services:Y(Y({},a),e.services),delays:Y(Y({},l),e.delays)},n??this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return Pe(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:hr(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(n,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var n=e===Ao,r=this.transitions.filter(function(o){var i=o.eventType===e;return n?i:i||o.eventType===gs});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,n=this.config.after;if(!n)return[];var r=function(i,s){var a=Pe(i)?"".concat(e.id,":delay[").concat(s,"]"):i,l=Yh(a,e.id);return e.onEntry.push(jh(l,{delay:i})),e.onExit.push(zh(l)),l},o=zn(n)?n.map(function(i,s){var a=r(i.delay,s);return Y(Y({},i),{event:a})}):Qe(Object.keys(n).map(function(i,s){var a=n[i],l=Ie(a)?{target:a}:a,u=isNaN(+i)?i:+i,f=r(u,s);return xt(l).map(function(d){return Y(Y({},d),{event:f,delay:u})})}));return o.map(function(i){var s=i.delay;return Y(Y({},e.formatTransition(i)),{delay:s})})},t.prototype.getStateNodes=function(e){var n,r=this;if(!e)return[];var o=e instanceof bt?e.value:pr(e,this.delimiter);if(Ie(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((n={},n[o]=i,n)):[this,this.states[o]]}var s=Object.keys(o),a=[this];return a.push.apply(a,ze([],xe(Qe(s.map(function(l){return r.getStateNode(l).getStateNodes(o[l])}))),!1)),a},t.prototype.handles=function(e){var n=ul(e);return this.events.includes(n)},t.prototype.resolveState=function(e){var n=e instanceof bt?e:bt.create(e),r=Array.from(yr([],this.getStateNodes(n.value)));return new bt(Y(Y({},n),{value:this.resolve(n.value),configuration:r,done:Lo(r,this),tags:Ll(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,n,r){var o=this.getStateNode(e),i=o.next(n,r);return!i||!i.transitions.length?this.next(n,r):i},t.prototype.transitionCompoundNode=function(e,n,r){var o=Object.keys(e),i=this.getStateNode(o[0]),s=i._transition(e[o[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},t.prototype.transitionParallelNode=function(e,n,r){var o,i,s={};try{for(var a=Ee(Object.keys(e)),l=a.next();!l.done;l=a.next()){var u=l.value,f=e[u];if(f){var d=this.getStateNode(u),p=d._transition(f,n,r);p&&(s[u]=p)}}}catch(C){o={error:C}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}var g=Object.keys(s).map(function(C){return s[C]}),m=Qe(g.map(function(C){return C.transitions})),h=g.some(function(C){return C.transitions.length>0});if(!h)return this.next(n,r);var S=Qe(Object.keys(s).map(function(C){return s[C].configuration}));return{transitions:m,exitSet:Qe(g.map(function(C){return C.exitSet})),configuration:S,source:n,actions:Qe(Object.keys(s).map(function(C){return s[C].actions}))}},t.prototype._transition=function(e,n,r){return Ie(e)?this.transitionLeafNode(e,n,r):Object.keys(e).length===1?this.transitionCompoundNode(e,n,r):this.transitionParallelNode(e,n,r)},t.prototype.getTransitionData=function(e,n){return this._transition(e.value,e,nt(n))},t.prototype.next=function(e,n){var r,o,i=this,s=n.name,a=[],l=[],u;try{for(var f=Ee(this.getCandidates(s)),d=f.next();!d.done;d=f.next()){var p=d.value,g=p.cond,m=p.in,h=e.context,S=m?Ie(m)&&Wn(m)?e.matches(pr(this.getStateNodeById(m).path,this.delimiter)):ss(pr(m,this.delimiter),Lh(this.path.slice(0,-2))(e.value)):!0,C=!1;try{C=!g||vl(this.machine,g,h,n,e)}catch(A){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
|
|
36
|
-
`).concat(A.message))}if(C&&S){p.target!==void 0&&(l=p.target),a.push.apply(a,ze([],xe(p.actions),!1)),u=p;break}}}catch(A){r={error:A}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(u){if(!l.length)return{transitions:[u],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var b=Qe(l.map(function(A){return i.getRelativeStateNodes(A,e.historyValue)})),y=!!u.internal;return{transitions:[u],exitSet:y?[]:Qe(l.map(function(A){return i.getPotentiallyReenteringNodes(A)})),configuration:b,source:e,actions:a}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var n=[],r=this,o=e;r&&r!==o;)n.push(r),r=r.parent;return r!==o?[]:(n.push(o),n)},t.prototype.getActions=function(e,n,r,o,i,s,a){var l,u,f,d,p=this,g=s?yr([],this.getStateNodes(s.value)):[],m=new Set;try{for(var h=Ee(Array.from(e).sort(function(P,T){return P.order-T.order})),S=h.next();!S.done;S=h.next()){var C=S.value;(!br(g,C)||br(r.exitSet,C)||C.parent&&m.has(C.parent))&&m.add(C)}}catch(P){l={error:P}}finally{try{S&&!S.done&&(u=h.return)&&u.call(h)}finally{if(l)throw l.error}}try{for(var b=Ee(g),y=b.next();!y.done;y=b.next()){var C=y.value;(!br(e,C)||br(r.exitSet,C.parent))&&r.exitSet.push(C)}}catch(P){f={error:P}}finally{try{y&&!y.done&&(d=b.return)&&d.call(b)}finally{if(f)throw f.error}}r.exitSet.sort(function(P,T){return T.order-P.order});var A=Array.from(m).sort(function(P,T){return P.order-T.order}),E=new Set(r.exitSet),v=Qe(A.map(function(P){var T=[];if(P.type!=="final")return T;var z=P.parent;if(!z.parent)return T;T.push(Eo(P.id,P.doneData),Eo(z.id,P.doneData?vo(P.doneData,o,i):void 0));var Q=z.parent;return Q.type==="parallel"&&mr(Q).every(function(K){return Lo(r.configuration,K)})&&T.push(Eo(Q.id)),T})),x=A.map(function(P){var T=P.onEntry,z=P.activities.map(function(Q){return Fh(Q)});return{type:"entry",actions:$t(a?ze(ze([],xe(T),!1),xe(z),!1):ze(ze([],xe(z),!1),xe(T),!1),p.machine.options.actions)}}).concat({type:"state_done",actions:v.map(function(P){return Bh(P)})}),w=Array.from(E).map(function(P){return{type:"exit",actions:$t(ze(ze([],xe(P.onExit),!1),xe(P.activities.map(function(T){return Gh(T)})),!1),p.machine.options.actions)}}),M=w.concat({type:"transition",actions:$t(r.actions,this.machine.options.actions)}).concat(x);if(n){var O=$t(Qe(ze([],xe(e),!1).sort(function(P,T){return T.order-P.order}).map(function(P){return P.onExit})),this.machine.options.actions).filter(function(P){return!ls(P)});return M.concat({type:"stop",actions:O})}return M},t.prototype.transition=function(e,n,r,o){e===void 0&&(e=this.initialState);var i=nt(n),s;if(e instanceof bt)s=r===void 0?e:this.resolveState(bt.from(e,r));else{var a=Ie(e)?this.resolve(ho(this.getResolvedPath(e))):this.resolve(e),l=r??this.machine.context;s=this.resolveState(bt.from(a,l))}if(this.strict&&!this.events.includes(i.name)&&!Ah(i.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var u=this._transition(s.value,s,i)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},f=yr([],this.getStateNodes(s.value)),d=u.configuration.length?yr(f,u.configuration):f;return u.configuration=ze([],xe(d),!1),this.resolveTransition(u,s,s.context,o,i)},t.prototype.resolveRaisedTransition=function(e,n,r,o){var i,s=e.actions;return e=this.transition(e,n,void 0,o),e._event=r,e.event=r.data,(i=e.actions).unshift.apply(i,ze([],xe(s),!1)),e},t.prototype.resolveTransition=function(e,n,r,o,i){var s,a,l,u,f=this;i===void 0&&(i=Vn);var d=e.configuration,p=!n||e.transitions.length>0,g=p?e.configuration:n?n.configuration:[],m=Lo(g,this),h=p?Zh(this.machine,d):void 0,S=n?n.historyValue?n.historyValue:e.source?this.machine.historyValue(n.value):void 0:void 0,C=this.getActions(new Set(g),m,e,r,i,n,o),b=n?Y({},n.activities):{};try{for(var y=Ee(C),A=y.next();!A.done;A=y.next()){var E=A.value;try{for(var v=(l=void 0,Ee(E.actions)),x=v.next();!x.done;x=v.next()){var w=x.value;w.type===ts?b[w.activity.id||w.activity.type]=w:w.type===ns&&(b[w.activity.id||w.activity.type]=!1)}}catch(V){l={error:V}}finally{try{x&&!x.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}}}catch(V){s={error:V}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(s)throw s.error}}var M=xe(Co(this,n,r,i,C,o,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),O=M[0],P=M[1],T=xe(Mh(O,ls),2),z=T[0],Q=T[1],K=O.filter(function(V){var te;return V.type===ts&&((te=V.activity)===null||te===void 0?void 0:te.type)===os}),J=K.reduce(function(V,te){return V[te.activity.id]=Kh(te.activity,f.machine,P,i),V},n?Y({},n.children):{}),G=new bt({value:h||n.value,context:P,_event:i,_sessionid:n?n._sessionid:null,historyValue:h?S?Ph(S,h):void 0:n?n.historyValue:void 0,history:!h||e.source?n:void 0,actions:h?Q:[],activities:h?b:n?n.activities:{},events:[],configuration:g,transitions:e.transitions,children:J,done:m,tags:Ll(g),machine:this}),W=r!==P;G.changed=i.name===sl||W;var D=G.history;D&&delete D.history;var k=!m&&(this._transient||d.some(function(V){return V._transient}));if(!p&&(!k||i.name===Ao))return G;var I=G;if(!m)for(k&&(I=this.resolveRaisedTransition(I,{type:mh},i,o));z.length;){var H=z.shift();I=this.resolveRaisedTransition(I,H._event,i,o)}var F=I.changed||(D?!!I.actions.length||W||typeof D.value!=typeof I.value||!xl(I.value,D.value):void 0);return I.changed=F,I.history=D,I},t.prototype.getStateNode=function(e){if(Wn(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[e];if(!n)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return n},t.prototype.getStateNodeById=function(e){var n=Wn(e)?e.slice(hs.length):e;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},t.prototype.getStateNodeByPath=function(e){if(typeof e=="string"&&Wn(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var n=as(e,this.delimiter).slice(),r=this;n.length;){var o=n.shift();if(!o.length)break;r=r.getStateNode(o)}return r},t.prototype.resolve=function(e){var n,r=this;if(!e)return this.initialStateValue||Yn;switch(this.type){case"parallel":return hr(this.initialStateValue,function(i,s){return i?r.getStateNode(s).resolve(e[s]||i):Yn});case"compound":if(Ie(e)){var o=this.getStateNode(e);return o.type==="parallel"||o.type==="compound"?(n={},n[e]=o.initialStateValue,n):e}return Object.keys(e).length?hr(e,function(i,s){return i?r.getStateNode(s).resolve(i):Yn}):this.initialStateValue||{};default:return e||Yn}},t.prototype.getResolvedPath=function(e){if(Wn(e)){var n=this.machine.idMap[e.slice(hs.length)];if(!n)throw new Error("Unable to find state node '".concat(e,"'"));return n.path}return as(e,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=cl(this.states,function(r){return r.initialStateValue||Yn},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=So(this.states[this.initial])?this.initial:(e={},e[this.initial]=this.states[this.initial].initialStateValue,e)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(e,n){this._init();var r=this.getStateNodes(e);return this.resolveTransition({configuration:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n??this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var e;if(this.type==="history"){var n=this.config;Ie(n.target)?e=Wn(n.target)?ho(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:e=n.target}return e},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(e,n,r){return r===void 0&&(r=!0),r?e.type==="history"?e.resolveHistory(n):e.initialStateNodes:[e]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var e=this;if(So(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=go(this.initialStateValue);return Qe(n.map(function(r){return e.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var n=xe(e),r=n[0],o=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var i=this.getStateNode(r);if(i.type==="history")return i.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(o)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:cl(this.states,function(n,r){if(!e)return n.historyValue();var o=Ie(e)?void 0:e[r];return n.historyValue(o||n.initialStateValue)},function(n){return!n.history})}},t.prototype.resolveHistory=function(e){var n=this;if(this.type!=="history")return[this];var r=this.parent;if(!e){var o=this.target;return o?Qe(go(o).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var i=xh(r.path,"states")(e).current;return Ie(i)?[r.getStateNode(i)]:Qe(go(i).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var e=this,n=Qe(Object.keys(this.states).map(function(r){return e.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var e,n,r,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var a=Ee(Object.keys(i)),l=a.next();!l.done;l=a.next()){var u=l.value,f=i[u];if(f.states)try{for(var d=(r=void 0,Ee(f.events)),p=d.next();!p.done;p=d.next()){var g=p.value;s.add("".concat(g))}}catch(m){r={error:m}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}}catch(m){e={error:m}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(e)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(e){var n=this;if(e!==void 0)return e.map(function(r){if(!Ie(r))return r;var o=r[0]===n.delimiter;if(o&&!n.parent)return n.getStateNodeByPath(r.slice(1));var i=o?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(i);return s}catch(a){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
|
|
37
|
-
`).concat(a.message))}else return n.getStateNodeByPath(i)})},t.prototype.formatTransition=function(e){var n=this,r=Th(e.target),o="internal"in e?e.internal:r?r.some(function(l){return Ie(l)&&l[0]===n.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(r),a=Y(Y({},e),{actions:$t(xt(e.actions)),cond:gl(e.cond,i),target:s,source:this,internal:o,eventType:e.event,toJSON:function(){return Y(Y({},a),{target:a.target?a.target.map(function(l){return"#".concat(l.id)}):void 0,source:"#".concat(n.id)})}});return a},t.prototype.formatTransitions=function(){var e,n,r=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=gs,a=i[s],l=a===void 0?[]:a,u=es(i,[typeof s=="symbol"?s:s+""]);o=Qe(Object.keys(u).map(function(b){var y=Gn(b,u[b]);return y}).concat(Gn(gs,l)))}var f=this.config.always?Gn("",this.config.always):[],d=this.config.onDone?Gn(String(Eo(this.id)),this.config.onDone):[],p=Qe(this.invoke.map(function(b){var y=[];return b.onDone&&y.push.apply(y,ze([],xe(Gn(String(wo(b.id)),b.onDone)),!1)),b.onError&&y.push.apply(y,ze([],xe(Gn(String(vr(b.id)),b.onError)),!1)),y})),g=this.after,m=Qe(ze(ze(ze(ze([],xe(d),!1),xe(p),!1),xe(o),!1),xe(f),!1).map(function(b){return xt(b).map(function(y){return r.formatTransition(y)})}));try{for(var h=Ee(g),S=h.next();!S.done;S=h.next()){var C=S.value;m.push(C)}}catch(b){e={error:b}}finally{try{S&&!S.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}return m},t}();function fg(t,e,n){return n===void 0&&(n=t.context),new cg(t,e,n)}var dg=Qh,vs;(function(t){t[t.Effect=1]="Effect",t[t.LayoutEffect=2]="LayoutEffect"})(vs||(vs={}));var wr=c.useLayoutEffect;function Ml(t){var e=be.useRef();return e.current||(e.current={v:t()}),e.current.v}var pg=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},hg=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function gg(t,e){var n,r,o=pg([[],[]],2),i=o[0],s=o[1];try{for(var a=hg(t),l=a.next();!l.done;l=a.next()){var u=l.value;e(u)?i.push(u):s.push(u)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}var Cr=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Pl=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};function kl(t,e){var n=t.exec,r=n(e.context,e._event.data,{action:t,state:e,_event:e._event});r()}function vg(t){var e=c.useRef([]),n=c.useRef([]);wr(function(){var r=t.subscribe(function(o){var i,s;if(o.actions.length){var a=o.actions.filter(function(d){return typeof d.exec=="function"&&"__effect"in d.exec}),l=Cr(gg(a,function(d){return d.exec.__effect===vs.Effect}),2),u=l[0],f=l[1];(i=e.current).push.apply(i,Pl([],Cr(u.map(function(d){return[d,o]})),!1)),(s=n.current).push.apply(s,Pl([],Cr(f.map(function(d){return[d,o]})),!1))}});return function(){r.unsubscribe()}},[]),wr(function(){for(;n.current.length;){var r=Cr(n.current.shift(),2),o=r[0],i=r[1];kl(o,i)}}),c.useEffect(function(){for(;e.current.length;){var r=Cr(e.current.shift(),2),o=r[0],i=r[1];kl(o,i)}})}var Sr=globalThis&&globalThis.__assign||function(){return Sr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Sr.apply(this,arguments)},mg=globalThis&&globalThis.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};globalThis&&globalThis.__read;function yg(t,e,n){if(typeof t=="object")return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}function bg(t,e,n){e===void 0&&(e={});var r=Ml(function(){return typeof t=="function"?t():t}),o=e.context,i=e.guards,s=e.actions,a=e.activities,l=e.services,u=e.delays,f=e.state,d=mg(e,["context","guards","actions","activities","services","delays","state"]),p=Ml(function(){var g={context:o,guards:i,actions:s,activities:a,services:l,delays:u},m=r.withConfig(g,function(){return Sr(Sr({},r.context),o)});return Ol(m,Sr({deferEvents:!0},d))});return wr(function(){var g;return n&&(g=p.subscribe(yg(n))),function(){g==null||g.unsubscribe()}},[n]),wr(function(){return p.start(f?bt.create(f):void 0),function(){p.stop()}},[]),wr(function(){Object.assign(p.machine.options.actions,s),Object.assign(p.machine.options.guards,i),Object.assign(p.machine.options.activities,a),Object.assign(p.machine.options.services,l),Object.assign(p.machine.options.delays,u)},[s,i,a,l,u]),vg(p),p}var Eg=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i};globalThis&&globalThis.__spreadArray;function wg(t,e){e===void 0&&(e={});var n=c.useCallback(function(a){var l=a.changed===void 0&&Object.keys(a.children).length;(a.changed||l)&&s(a)},[]),r=bg(t,e,n),o=Eg(c.useState(function(){var a=r.machine.initialState;return e.state?bt.create(e.state):a}),2),i=o[0],s=o[1];return[i,r.send,r]}function Ye(){return Ye=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ye.apply(this,arguments)}function Kn(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}const ve={arr:Array.isArray,obj:t=>Object.prototype.toString.call(t)==="[object Object]",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0,nul:t=>t===null,set:t=>t instanceof Set,map:t=>t instanceof Map,equ(t,e){if(typeof t!=typeof e)return!1;if(ve.str(t)||ve.num(t))return t===e;if(ve.obj(t)&&ve.obj(e)&&Object.keys(t).length+Object.keys(e).length===0)return!0;let n;for(n in t)if(!(n in e))return!1;for(n in e)if(t[n]!==e[n])return!1;return ve.und(n)?t===e:!0}};function Cg(t,e){return e===void 0&&(e=!0),n=>(ve.arr(n)?n:Object.keys(n)).reduce((r,o)=>{const i=e?o[0].toLowerCase()+o.substring(1):o;return r[i]=t(i),r},t)}function Sg(){const t=c.useState(!1),e=t[1];return c.useCallback(()=>e(r=>!r),[])}function hn(t,e){return ve.und(t)||ve.nul(t)?e:t}function Oo(t){return ve.und(t)?[]:ve.arr(t)?t:[t]}function Rn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return ve.fun(t)?t(...n):t}function Lg(t){return t.to,t.from,t.config,t.onStart,t.onRest,t.onFrame,t.children,t.reset,t.reverse,t.force,t.immediate,t.delay,t.attach,t.destroyed,t.interpolateTo,t.ref,t.lazy,Kn(t,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function ms(t){const e=Lg(t);if(ve.und(e))return Ye({to:e},t);const n=Object.keys(t).reduce((r,o)=>ve.und(e[o])?Ye({},r,{[o]:t[o]}):r,{});return Ye({to:e},n)}function xg(t,e){return e&&(ve.fun(e)?e(t):ve.obj(e)&&(e.current=t)),t}class At{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){this.children.length===0&&this.attach(),this.children.push(e)}removeChild(e){const n=this.children.indexOf(e);this.children.splice(n,1),this.children.length===0&&this.detach()}}class ys extends At{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof At&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof At&&e.removeChild(this))}}class Il extends At{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof At&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof At&&e.removeChild(this))}getValue(e){e===void 0&&(e=!1);const n={};for(const r in this.payload){const o=this.payload[r];e&&!(o instanceof At)||(n[r]=o instanceof At?o[e?"getAnimatedValue":"getValue"]():o)}return n}getAnimatedValue(){return this.getValue(!0)}}let bs;function Ag(t,e){bs={fn:t,transform:e}}let Dl;function Og(t){Dl=t}let Tl=t=>typeof window<"u"?window.requestAnimationFrame(t):-1,Mo;function Mg(t){Mo=t}let Bl=()=>Date.now(),Pg=t=>t.current,Nl;function kg(t){Nl=t}class Ig extends Il{constructor(e,n){super(),this.update=void 0,this.payload=e.style?Ye({},e,{style:Nl(e.style)}):e,this.update=n,this.attach()}}const Dg=t=>ve.fun(t)&&!(t.prototype instanceof c.Component),Tg=t=>c.forwardRef((n,r)=>{const o=Sg(),i=c.useRef(!0),s=c.useRef(null),a=c.useRef(null),l=c.useCallback(p=>{const g=s.current,m=()=>{let h=!1;a.current&&(h=bs.fn(a.current,s.current.getAnimatedValue())),(!a.current||h===!1)&&o()};s.current=new Ig(p,m),g&&g.detach()},[]);c.useEffect(()=>()=>{i.current=!1,s.current&&s.current.detach()},[]),c.useImperativeHandle(r,()=>Pg(a)),l(n);const u=s.current.getValue();u.scrollTop,u.scrollLeft;const f=Kn(u,["scrollTop","scrollLeft"]),d=Dg(t)?void 0:p=>a.current=xg(p,r);return c.createElement(t,Ye({},f,{ref:d}))});let Lr=!1;const gn=new Set,jl=()=>{if(!Lr)return!1;let t=Bl();for(let e of gn){let n=!1;for(let r=0;r<e.configs.length;r++){let o=e.configs[r],i,s;for(let a=0;a<o.animatedValues.length;a++){let l=o.animatedValues[a];if(l.done)continue;let u=o.fromValues[a],f=o.toValues[a],d=l.lastPosition,p=f instanceof At,g=Array.isArray(o.initialVelocity)?o.initialVelocity[a]:o.initialVelocity;if(p&&(f=f.getValue()),o.immediate){l.setValue(f),l.done=!0;continue}if(typeof u=="string"||typeof f=="string"){l.setValue(f),l.done=!0;continue}if(o.duration!==void 0)d=u+o.easing((t-l.startTime)/o.duration)*(f-u),i=t>=l.startTime+o.duration;else if(o.decay)d=u+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-l.startTime))),i=Math.abs(l.lastPosition-d)<.1,i&&(f=d);else{s=l.lastTime!==void 0?l.lastTime:t,g=l.lastVelocity!==void 0?l.lastVelocity:o.initialVelocity,t>s+64&&(s=t);let m=Math.floor(t-s);for(let b=0;b<m;++b){let y=-o.tension*(d-f),A=-o.friction*g,E=(y+A)/o.mass;g=g+E*1/1e3,d=d+g*1/1e3}let h=o.clamp&&o.tension!==0?u<f?d>f:d<f:!1,S=Math.abs(g)<=o.precision,C=o.tension!==0?Math.abs(f-d)<=o.precision:!0;i=h||S&&C,l.lastVelocity=g,l.lastTime=t}p&&!o.toValues[a].done&&(i=!1),i?(l.value!==f&&(d=f),l.done=!0):n=!0,l.setValue(d),l.lastPosition=d}e.props.onFrame&&(e.values[o.name]=o.interpolation.getValue())}e.props.onFrame&&e.props.onFrame(e.values),n||(gn.delete(e),e.stop(!0))}return gn.size?Tl(jl):Lr=!1,Lr},Bg=t=>{gn.has(t)||gn.add(t),Lr||(Lr=!0,Tl(jl))},Ng=t=>{gn.has(t)&&gn.delete(t)};function Po(t,e,n){if(typeof t=="function")return t;if(Array.isArray(t))return Po({range:t,output:e,extrapolate:n});if(Mo&&typeof t.output[0]=="string")return Mo(t);const r=t,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const f=Ug(u,i);return jg(u,i[f],i[f+1],o[f],o[f+1],l,s,a,r.map)}}function jg(t,e,n,r,o,i,s,a,l){let u=l?l(t):t;if(u<e){if(s==="identity")return u;s==="clamp"&&(u=e)}if(u>n){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===o?r:e===n?t<=e?r:o:(e===-1/0?u=-u:n===1/0?u=u-e:u=(u-e)/(n-e),u=i(u),r===-1/0?u=-u:o===1/0?u=u+r:u=u*(o-r)+r,u)}function Ug(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}class qn extends ys{constructor(e,n,r,o){super(),this.calc=void 0,this.payload=e instanceof ys&&!(e instanceof qn)?e.getPayload():Array.isArray(e)?e:[e],this.calc=Po(n,r,o)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,n,r){this.calc=Po(e,n,r)}interpolate(e,n,r){return new qn(this,e,n,r)}}const Jn=(t,e,n)=>t&&new qn(t,e,n),Hg={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};function Ul(t,e){"update"in t?e.add(t):t.getChildren().forEach(n=>Ul(n,e))}class Es extends At{constructor(e){var n;super(),n=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(r,o){o===void 0&&(o=!0),n.value=r,o&&n.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){this.animatedStyles.size===0&&Ul(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,n,r){return new qn(this,e,n,r)}}class zg extends ys{constructor(e){super(),this.payload=e.map(n=>new Es(n))}setValue(e,n){n===void 0&&(n=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((r,o)=>this.payload[o].setValue(r,n)):this.payload.forEach(r=>r.setValue(e,n))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,n){return new qn(this,e,n)}}let Fg=0,Gg=class{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=Fg++}update(e){if(!e)return this;const n=ms(e),r=n.delay,o=r===void 0?0:r,i=n.to,s=Kn(n,["delay","to"]);if(ve.arr(i)||ve.fun(i))this.queue.push(Ye({},s,{delay:o,to:i}));else if(i){let a={};Object.entries(i).forEach(l=>{let u=l[0],f=l[1];const d=Ye({to:{[u]:f},delay:Rn(o,u)},s),p=a[d.delay]&&a[d.delay].to;a[d.delay]=Ye({},a[d.delay],d,{to:Ye({},p,d.to)})}),this.queue=Object.values(a)}return this.queue=this.queue.sort((a,l)=>a.delay-l.delay),this.diff(s),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(o=>{let i=o.from,s=i===void 0?{}:i,a=o.to,l=a===void 0?{}:a;ve.obj(s)&&(this.merged=Ye({},s,this.merged)),ve.obj(l)&&(this.merged=Ye({},this.merged,l))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((o,i)=>{let s=o.delay,a=Kn(o,["delay"]);const l=f=>{i===r.length-1&&n===this.guid&&f&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let u=ve.arr(a.to)||ve.fun(a.to);s?setTimeout(()=>{n===this.guid&&(u?this.runAsync(a,l):this.diff(a).start(l))},s):u?this.runAsync(a,l):this.diff(a).start(l)})}else ve.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),Bg(this);return this}stop(e){return this.listeners.forEach(n=>n(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&Ng(this),this}runAsync(e,n){var r=this;e.delay;let o=Kn(e,["delay"]);const i=this.local;let s=Promise.resolve(void 0);if(ve.arr(o.to))for(let a=0;a<o.to.length;a++){const l=a,u=Ye({},o,ms(o.to[l]));ve.arr(u.config)&&(u.config=u.config[l]),s=s.then(()=>{if(i===this.guid)return new Promise(f=>this.diff(u).start(f))})}else if(ve.fun(o.to)){let a=0,l;s=s.then(()=>o.to(u=>{const f=Ye({},o,ms(u));if(ve.arr(f.config)&&(f.config=f.config[a]),a++,i===this.guid)return l=new Promise(d=>this.diff(f).start(d))},function(u){return u===void 0&&(u=!0),r.stop(u)}).then(()=>l))}s.then(n)}diff(e){this.props=Ye({},this.props,e);let n=this.props,r=n.from,o=r===void 0?{}:r,i=n.to,s=i===void 0?{}:i,a=n.config,l=a===void 0?{}:a,u=n.reverse,f=n.attach,d=n.reset,p=n.immediate;if(u){var g=[s,o];o=g[0],s=g[1]}this.merged=Ye({},o,this.merged,s),this.hasChanged=!1;let m=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((h,S)=>{let C=S[0],b=S[1],y=h[C]||{};const A=ve.num(b),E=ve.str(b)&&!b.startsWith("#")&&!/\d/.test(b)&&!Dl[b],v=ve.arr(b),x=!A&&!v&&!E;let w=ve.und(o[C])?b:o[C],M=A||v||E?b:1,O=Rn(l,C);m&&(M=m.animations[C].parent);let P=y.parent,T=y.interpolation,z=Oo(m?M.getPayload():M),Q,K=b;x&&(K=Mo({range:[0,1],output:[b,b]})(1));let J=T&&T.getValue();const W=!ve.und(P)&&y.animatedValues.some(H=>!H.done),D=!ve.equ(K,J),k=!ve.equ(K,y.previous),I=!ve.equ(O,y.config);if(d||k&&D||I){if(A||E)P=T=y.parent||new Es(w);else if(v)P=T=y.parent||new zg(w);else if(x){let H=y.interpolation&&y.interpolation.calc(y.parent.value);H=H!==void 0&&!d?H:w,y.parent?(P=y.parent,P.setValue(0,!1)):P=new Es(0);const F={output:[H,b]};y.interpolation?(T=y.interpolation,y.interpolation.updateConfig(F)):T=P.interpolate(F)}return z=Oo(m?M.getPayload():M),Q=Oo(P.getPayload()),d&&!x&&P.setValue(w,!1),this.hasChanged=!0,Q.forEach(H=>{H.startPosition=H.value,H.lastPosition=H.value,H.lastVelocity=W?H.lastVelocity:void 0,H.lastTime=W?H.lastTime:void 0,H.startTime=Bl(),H.done=!1,H.animatedStyles.clear()}),Rn(p,C)&&P.setValue(x?M:b,!1),Ye({},h,{[C]:Ye({},y,{name:C,parent:P,interpolation:T,animatedValues:Q,toValues:z,previous:K,config:O,fromValues:Oo(P.getValue()),immediate:Rn(p,C),initialVelocity:hn(O.velocity,0),clamp:hn(O.clamp,!1),precision:hn(O.precision,.01),tension:hn(O.tension,170),friction:hn(O.friction,26),mass:hn(O.mass,1),duration:O.duration,easing:hn(O.easing,H=>H),decay:O.decay})})}else return D?h:(x&&(P.setValue(1,!1),T.updateConfig({output:[K,K]})),P.done=!0,this.hasChanged=!0,Ye({},h,{[C]:Ye({},h[C],{previous:K})}))},this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let h in this.animations)this.interpolations[h]=this.animations[h].interpolation,this.values[h]=this.animations[h].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}};const Vg=(t,e)=>{const n=c.useRef(!1),r=c.useRef(),o=ve.fun(e),i=c.useMemo(()=>{r.current&&(r.current.map(d=>d.destroy()),r.current=void 0);let f;return[new Array(t).fill().map((d,p)=>{const g=new Gg,m=o?Rn(e,p,g):e[p];return p===0&&(f=m.ref),g.update(m),f||g.start(),g}),f]},[t]),s=i[0],a=i[1];r.current=s,c.useImperativeHandle(a,()=>({start:()=>Promise.all(r.current.map(f=>new Promise(d=>f.start(d)))),stop:f=>r.current.forEach(d=>d.stop(f)),get controllers(){return r.current}}));const l=c.useMemo(()=>f=>r.current.map((d,p)=>{d.update(o?Rn(f,p,d):f[p]),a||d.start()}),[t]);c.useEffect(()=>{n.current?o||l(e):a||r.current.forEach(f=>f.start())}),c.useEffect(()=>(n.current=!0,()=>r.current.forEach(f=>f.destroy())),[]);const u=r.current.map(f=>f.getValues());return o?[u,l,f=>r.current.forEach(d=>d.pause(f))]:u},Qg=t=>{const e=ve.fun(t),n=Vg(1,e?t:[t]),r=n[0],o=n[1],i=n[2];return e?[r[0],o,i]:r};class Yg extends Il{constructor(e){e===void 0&&(e={}),super(),e.transform&&!(e.transform instanceof At)&&(e=bs.transform(e)),this.payload=e}}const ko={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ot="[-+]?\\d*\\.?\\d+",Io=Ot+"%";function Do(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Wg=new RegExp("rgb"+Do(Ot,Ot,Ot)),Kg=new RegExp("rgba"+Do(Ot,Ot,Ot,Ot)),Rg=new RegExp("hsl"+Do(Ot,Io,Io)),qg=new RegExp("hsla"+Do(Ot,Io,Io,Ot)),Jg=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Zg=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Xg=/^#([0-9a-fA-F]{6})$/,_g=/^#([0-9a-fA-F]{8})$/;function $g(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=Xg.exec(t))?parseInt(e[1]+"ff",16)>>>0:ko.hasOwnProperty(t)?ko[t]:(e=Wg.exec(t))?(Zn(e[1])<<24|Zn(e[2])<<16|Zn(e[3])<<8|255)>>>0:(e=Kg.exec(t))?(Zn(e[1])<<24|Zn(e[2])<<16|Zn(e[3])<<8|Fl(e[4]))>>>0:(e=Jg.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=_g.exec(t))?parseInt(e[1],16)>>>0:(e=Zg.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=Rg.exec(t))?(Hl(zl(e[1]),To(e[2]),To(e[3]))|255)>>>0:(e=qg.exec(t))?(Hl(zl(e[1]),To(e[2]),To(e[3]))|Fl(e[4]))>>>0:null}function ws(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Hl(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,o=2*n-r,i=ws(o,r,t+1/3),s=ws(o,r,t),a=ws(o,r,t-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Zn(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function zl(t){return(parseFloat(t)%360+360)%360/360}function Fl(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function To(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function Gl(t){let e=$g(t);if(e===null)return t;e=e||0;let n=(e&4278190080)>>>24,r=(e&16711680)>>>16,o=(e&65280)>>>8,i=(e&255)/255;return`rgba(${n}, ${r}, ${o}, ${i})`}const Bo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ev=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,tv=new RegExp(`(${Object.keys(ko).join("|")})`,"g"),nv=t=>{const e=t.output.map(o=>o.replace(ev,Gl)).map(o=>o.replace(tv,Gl)),n=e[0].match(Bo).map(()=>[]);e.forEach(o=>{o.match(Bo).forEach((i,s)=>n[s].push(+i))});const r=e[0].match(Bo).map((o,i)=>Po(Ye({},t,{output:n[i]})));return o=>{let i=0;return e[0].replace(Bo,()=>r[i++](o)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(s,a,l,u,f)=>`rgba(${Math.round(a)}, ${Math.round(l)}, ${Math.round(u)}, ${f})`)}};let xr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const rv=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),ov=["Webkit","Ms","Moz","O"];xr=Object.keys(xr).reduce((t,e)=>(ov.forEach(n=>t[rv(n,e)]=t[e]),t),xr);function iv(t,e,n){return e==null||typeof e=="boolean"||e===""?"":!n&&typeof e=="number"&&e!==0&&!(xr.hasOwnProperty(t)&&xr[t])?e+"px":(""+e).trim()}const Vl={};kg(t=>new Yg(t)),Mg(nv),Og(ko),Ag((t,e)=>{if(t.nodeType&&t.setAttribute!==void 0){const o=e.style,i=e.children,s=e.scrollTop,a=e.scrollLeft,l=Kn(e,["style","children","scrollTop","scrollLeft"]),u=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter";s!==void 0&&(t.scrollTop=s),a!==void 0&&(t.scrollLeft=a),i!==void 0&&(t.textContent=i);for(let f in o)if(o.hasOwnProperty(f)){var n=f.indexOf("--")===0,r=iv(f,o[f],n);f==="float"&&(f="cssFloat"),n?t.style.setProperty(f,r):t.style[f]=r}for(let f in l){const d=u?f:Vl[f]||(Vl[f]=f.replace(/([A-Z])/g,p=>"-"+p.toLowerCase()));typeof t.getAttribute(d)<"u"&&t.setAttribute(d,l[f])}return}else return!1},t=>t);const sv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],av=Cg(Tg,!1)(sv);function Ql(t,e){return t.map(function(n,r){return n+e[r]})}function Yl(t,e){return t.map(function(n,r){return n-e[r]})}function Cs(t){return Math.hypot.apply(Math,t)}function lv(t,e,n){var r=Cs(e),o=r===0?0:1/r,i=n===0?0:1/n,s=i*r,a=e.map(function(f){return i*f}),l=e.map(function(f){return o*f}),u=Cs(t);return{velocities:a,velocity:s,distance:u,direction:l}}function Ss(t){return Math.sign?Math.sign(t):+(t>0)-+(t<0)||+t}function uv(t,e,n){return Math.max(e,Math.min(t,n))}function cv(t,e){return Math.pow(t,e*5)}function Wl(t,e,n){return e===0||Math.abs(e)===1/0?cv(t,n):t*e*n/(e+n*t)}function Ar(t,e,n,r){return r===void 0&&(r=.15),r===0?uv(t,e,n):t<e?-Wl(e-t,n-e,r)+e:t>n?+Wl(t-n,n-e,r)+n:t}function Kl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fv(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function lt(){return lt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},lt.apply(this,arguments)}function Rl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function dv(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function No(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pv(t,e){if(t){if(typeof t=="string")return ql(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ql(t,e)}}function ql(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function jo(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=pv(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
38
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=t[Symbol.iterator](),n.next.bind(n)}function Jl(){}function Zl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?Jl:e.length===1?e[0]:function(){for(var r,o=jo(e),i;!(i=o()).done;){var s=i.value;r=s.apply(this,arguments)||r}return r}}function en(t,e){if(t===void 0){if(e===void 0)throw new Error("Must define fallback value if undefined is expected");t=e}return Array.isArray(t)?t:[t,t]}function Uo(t){if(typeof t=="function"){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n)}else return t}function Ls(t,e){t===void 0&&(t={});for(var n={},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,t[s],s,t);break;case"object":n[s]=Ls(t[s],a);break;case"boolean":a&&(n[s]=t[s]);break}}return n}var hv=180,gv=.15,vv=.5,mv=60,yv={threshold:function(e){return e===void 0&&(e=0),en(e)},rubberband:function(e){switch(e===void 0&&(e=0),e){case!0:return en(gv);case!1:return en(0);default:return en(e)}},enabled:function(e){return e===void 0&&(e=!0),e},triggerAllEvents:function(e){return e===void 0&&(e=!1),e},initial:function(e){return e===void 0&&(e=0),typeof e=="function"?e:en(e)}},Xl=lt({},yv,{axis:!0,lockDirection:function(e){return e===void 0&&(e=!1),e},bounds:function(e){if(e===void 0&&(e={}),typeof e=="function")return function(d){return Xl.bounds(e(d))};var n=e,r=n.left,o=r===void 0?-1/0:r,i=n.right,s=i===void 0?1/0:i,a=n.top,l=a===void 0?-1/0:a,u=n.bottom,f=u===void 0?1/0:u;return[[o,s],[l,f]]}}),bv=typeof window<"u"&&window.document&&window.document.createElement,Ev={enabled:function(e){return e===void 0&&(e=!0),e},domTarget:!0,window:function(t){function e(n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return t===void 0&&(t=bv?window:void 0),t}),eventOptions:function(e){var n=e===void 0?{}:e,r=n.passive,o=r===void 0?!0:r,i=n.capture,s=i===void 0?!1:i;return{passive:o,capture:s}}},wv=lt({},Xl,{threshold:function(e,n,r){var o=r.filterTaps,i=o===void 0?!1:o,s=r.lockDirection,a=s===void 0?!1:s,l=r.axis,u=l===void 0?void 0:l,f=en(e,i?3:a||u?1:0);return this.filterTaps=i||f[0]+f[1]>0,f},swipeVelocity:function(e){return e===void 0&&(e=vv),en(e)},swipeDistance:function(e){return e===void 0&&(e=mv),en(e)},delay:function(e){switch(e===void 0&&(e=0),e){case!0:return hv;case!1:return 0;default:return e}}});function Cv(t){return t===void 0&&(t={}),Ls(t,Ev)}function Sv(t){return t===void 0&&(t={}),Ls(t,wv)}function Lv(t){var e=t.domTarget,n=t.eventOptions,r=t.window,o=t.enabled,i=dv(t,["domTarget","eventOptions","window","enabled"]),s=Cv({domTarget:e,eventOptions:n,window:r,enabled:o});return s.drag=Sv(i),s}function Or(t){return lt({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:Jl,canceled:!1,memo:void 0,args:void 0},t)}function _l(){var t={hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},e=Or({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),n=Or({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=Or({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=Or({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),i=Or({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:t,drag:e,pinch:n,wheel:r,move:o,scroll:i}}var vn=new Map,xv=function(){function t(n,r){var o=this;r===void 0&&(r=[]),this.controller=n,this.args=r,this.debounced=!0,this.setTimeout=function(i,s){var a;s===void 0&&(s=140),clearTimeout(o.controller.timeouts[o.stateKey]);for(var l=arguments.length,u=new Array(l>2?l-2:0),f=2;f<l;f++)u[f-2]=arguments[f];o.controller.timeouts[o.stateKey]=(a=window).setTimeout.apply(a,[i,s].concat(u))},this.clearTimeout=function(){clearTimeout(o.controller.timeouts[o.stateKey])},this.fireGestureHandler=function(i){if(i===void 0&&(i=!1),o.state._blocked)return o.debounced||(o.state._active=!1,o.clean()),null;if(!i&&!o.state.intentional&&!o.config.triggerAllEvents)return null;if(o.state.intentional){var s=o.state.active,a=o.state._active;o.state.active=a,o.state.first=a&&!s,o.state.last=s&&!a,o.controller.state.shared[o.ingKey]=a}var l=lt({},o.controller.state.shared,o.state,o.mapStateValues(o.state)),u=o.handler(l);return o.state.memo=u!==void 0?u:o.state.memo,o.state._active||o.clean(),l}}var e=t.prototype;return e.updateSharedState=function(r){Object.assign(this.controller.state.shared,r)},e.updateGestureState=function(r){Object.assign(this.state,r)},e.checkIntentionality=function(r,o){return{_intentional:r,_blocked:!1}},e.getMovement=function(r){var o=this.config,i=o.initial,s=o.bounds,a=o.rubberband,l=o.threshold,u=this.state,f=u._bounds,d=u._initial,p=u._active,g=u._intentional,m=u.lastOffset,h=u.movement,S=this.getInternalMovement(r,this.state),C=g[0]===!1?$l(S[0],l[0]):g[0],b=g[1]===!1?$l(S[1],l[1]):g[1],y=this.checkIntentionality([C,b],S);if(y._blocked)return lt({},y,{_movement:S,delta:[0,0]});var A=y._intentional,E=S,v,x;if(A[0]!==!1&&g[0]===!1&&(x=Uo(i,this.state),v=Uo(s,this.state),d[0]=x[0],f[0]=v[0]),A[1]!==!1&&g[1]===!1){var w,M;x=(w=x)!=null?w:Uo(i,this.state),v=(M=v)!=null?M:Uo(s,this.state),d[1]=x[1],f[1]=v[1]}var O=[A[0]!==!1?S[0]-A[0]:d[0],A[1]!==!1?S[1]-A[1]:d[1]],P=Ql(O,m),T=p?a:[0,0];return O=eu(f,Ql(O,d),T),lt({},y,{intentional:A[0]!==!1||A[1]!==!1,_initial:d,_movement:E,movement:O,values:r,offset:eu(f,P,T),delta:Yl(O,h)})},e.clean=function(){this.clearTimeout()},fv(t,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),t}();function $l(t,e){return Math.abs(t)>=e?Ss(t)*e:!1}function eu(t,e,n){var r=e[0],o=e[1],i=n[0],s=n[1],a=t[0],l=a[0],u=a[1],f=t[1],d=f[0],p=f[1];return[Ar(r,l,u,i),Ar(o,d,p,s)]}function xs(t,e,n){var r=t.state,o=t.args,i=e.timeStamp,s=e.type,a=r.values,l=n?0:i-r.startTime;return{_lastEventType:s,event:e,timeStamp:i,elapsedTime:l,args:o,previous:a}}function Av(t,e,n){var r=t.state.offset,o=n.timeStamp;return lt({},_l()[t.stateKey],{_active:!0,values:e,initial:e,offset:r,lastOffset:r,startTime:o})}function Ov(t,e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.call.apply(t,[this,lt({},e,{event:n})].concat(o))}}var Mv=function(e){var n=this;this.classes=e,this.bind=function(){for(var r={},o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];for(var a=jo(n.classes),l;!(l=a()).done;){var u=l.value;new u(n,i).addBindings(r)}for(var f=0,d=Object.entries(n.nativeRefs);f<d.length;f++){var p=d[f],g=p[0],m=p[1];As(r,g,Ov(m,lt({},n.state.shared,{args:i})))}return n.config.domTarget?Dv(n,r):Tv(n,r)},this.effect=function(){return n.config.domTarget&&n.bind(),n.clean},this.clean=function(){var r=nu(n.config),o=n.config.eventOptions;r&&Mr(r,tu(n.domListeners),o),Object.values(n.timeouts).forEach(clearTimeout),Pv(n)},this.state=_l(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Pv(t){var e=t.config,n=e.window,r=e.eventOptions,o=t.windowListeners;if(n){for(var i in o){var s=o[i];Mr(n,s,r)}t.windowListeners={}}}function kv(t,e){var n=t.config,r=t.windowListeners;n.window&&(Mr(n.window,r[e],n.eventOptions),delete r[e])}function Iv(t,e,n){var r=t.config,o=t.windowListeners;n===void 0&&(n=[]),r.window&&(Mr(r.window,o[e],r.eventOptions),ru(r.window,o[e]=n,r.eventOptions))}function Dv(t,e){var n=t.config,r=t.domListeners,o=nu(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;Mr(o,tu(r),i);for(var s=0,a=Object.entries(e);s<a.length;s++){var l=a[s],u=l[0],f=l[1],d=u.slice(2).toLowerCase();r.push([d,Zl.apply(void 0,f)])}ru(o,r,i)}function Tv(t,e){for(var n=t.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(e);i<s.length;i++){var a=s[i],l=a[0],u=a[1],f=Array.isArray(u)?u:[u],d=l+o;r[d]=Zl.apply(void 0,f)}return r}function tu(t){return t===void 0&&(t=[]),t.splice(0,t.length)}function nu(t){var e=t.domTarget;return e&&"current"in e?e.current:e}function As(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}function ru(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=jo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.addEventListener(s,a,n)}}function Mr(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=jo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.removeEventListener(s,a,n)}}function Bv(t,e,n){n===void 0&&(n={});var r=jv(t),o=c.useMemo(function(){return new Mv(r)},[]);return o.config=e,o.handlers=t,o.nativeRefs=n,c.useEffect(o.effect,[]),o.config.domTarget?Nv:o.bind}function Nv(){}function jv(t){var e=new Set;return t.drag&&e.add(vn.get("drag")),t.wheel&&e.add(vn.get("wheel")),t.scroll&&e.add(vn.get("scroll")),t.move&&e.add(vn.get("move")),t.pinch&&e.add(vn.get("pinch")),t.hover&&e.add(vn.get("hover")),e}var Uv=function(t){Rl(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.getInternalMovement=function(o,i){return Yl(o,i.initial)},n.checkIntentionality=function(o,i){if(o[0]===!1&&o[1]===!1)return{_intentional:o,axis:this.state.axis};var s=i.map(Math.abs),a=s[0],l=s[1],u=this.state.axis||(a>l?"x":a<l?"y":void 0);return!this.config.axis&&!this.config.lockDirection?{_intentional:o,_blocked:!1,axis:u}:u?this.config.axis&&u!==this.config.axis?{_intentional:o,_blocked:!0,axis:u}:(o[u==="x"?1:0]=!1,{_intentional:o,_blocked:!1,axis:u}):{_intentional:[!1,!1],_blocked:!1,axis:u}},n.getKinematics=function(o,i){var s=this.getMovement(o);if(!s._blocked){var a=i.timeStamp-this.state.timeStamp;Object.assign(s,lv(s.movement,s.delta,a))}return s},n.mapStateValues=function(o){return{xy:o.values,vxvy:o.velocities}},e}(xv);function ou(t){if("touches"in t){var e=t.targetTouches,n=t.changedTouches;return e.length>0?e:n}return null}function iu(t){var e="buttons"in t?t.buttons:0,n=ou(t),r=n&&n.length||0,o=r>0||e>0,i=t.shiftKey,s=t.altKey,a=t.metaKey,l=t.ctrlKey;return{touches:r,down:o,buttons:e,shiftKey:i,altKey:s,metaKey:a,ctrlKey:l}}function su(t){var e=ou(t),n=e?e[0]:t,r=n.clientX,o=n.clientY;return[r,o]}var Hv=3,zv=220,Fv=function(t){Rl(e,t);function e(){var r;return r=t.apply(this,arguments)||this,r.ingKey="dragging",r.stateKey="drag",r.onDragStart=function(o){!r.enabled||r.state._active||(Iv(r.controller,r.stateKey,[["pointermove",r.onDragChange],["pointerup",r.onDragEnd],["pointercancel",r.onDragEnd]]),r.updateGestureState({_pointerId:o.pointerId}),r.config.delay>0?(r.state._delayedEvent=!0,"persist"in o&&typeof o.persist=="function"&&o.persist(),r.setTimeout(r.startDrag.bind(No(r)),r.config.delay,o)):r.startDrag(o))},r.onDragChange=function(o){if(!r.state.canceled&&o.pointerId===r.state._pointerId){if(!r.state._active){r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(o));return}var i=iu(o);if(!i.down){r.onDragEnd(o);return}r.updateSharedState(i);var s=su(o),a=r.getKinematics(s,o),l=xs(No(r),o),u=r.state._isTap,f=Cs(a._movement);u&&f>=Hv&&(u=!1),r.updateGestureState(lt({},l,a,{_isTap:u})),r.fireGestureHandler()}},r.onDragEnd=function(o){if(o.pointerId===r.state._pointerId){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var i=r.state._isTap,s=r.state.velocities,a=s[0],l=s[1],u=r.state.movement,f=u[0],d=u[1],p=r.state._intentional,g=p[0],m=p[1],h=r.config.swipeVelocity,S=h[0],C=h[1],b=r.config.swipeDistance,y=b[0],A=b[1],E=lt({},xs(No(r),o),r.getMovement(r.state.values)),v=[0,0];E.elapsedTime<zv&&(g!==!1&&Math.abs(a)>S&&Math.abs(f)>y&&(v[0]=Ss(a)),m!==!1&&Math.abs(l)>C&&Math.abs(d)>A&&(v[1]=Ss(l))),r.updateGestureState(lt({},E,{tap:i,swipe:v})),r.fireGestureHandler(i===!0)}},r.clean=function(){t.prototype.clean.call(No(r)),r.state._delayedEvent=!1,kv(r.controller,r.stateKey)},r.onCancel=function(){r.state.canceled||(r.updateGestureState({canceled:!0}),r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame(function(){return r.fireGestureHandler()}))},r.onClick=function(o){r.state._isTap||o.stopPropagation()},r}var n=e.prototype;return n.startDrag=function(o){var i=su(o);this.updateSharedState(iu(o)),this.updateGestureState(lt({},Av(this,i,o),xs(this,o,!0),{_pointerId:o.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(i)),this.fireGestureHandler()},n.addBindings=function(o){if(As(o,"onPointerDown",this.onDragStart),this.config.filterTaps){var i=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";As(o,i,this.onClick)}},e}(Uv);function Gv(t,e){var n,r=[],o,i=!1;function s(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return i&&n===this&&e(l,r)||(o=t.apply(this,l),i=!0,n=this,r=l),o}return s}function Ho(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,o;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Ho(t[r],e[r]))return!1;return!0}var i;if(typeof Map=="function"&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!Ho(r.value[1],e.get(r.value[0])))return!1;return!0}if(typeof Set=="function"&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(typeof Element<"u"&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!(o[r]==="_owner"&&t.$$typeof)&&!Ho(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}function Vv(t,e){try{return Ho(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}function Qv(t,e){e===void 0&&(e={}),vn.set("drag",Fv);var n=c.useRef();return n.current||(n.current=Gv(Lv,Vv)),Bv({drag:t},n.current(e))}/*!
|
|
36
|
+
***************************************************************************** */var W=function(){return W=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},W.apply(this,arguments)};function ts(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Ee(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function ze(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var Ne;(function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"})(Ne||(Ne={}));var Vn;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(Vn||(Vn={}));var ns=Ne.Start,rs=Ne.Stop,pr=Ne.Raise,bo=Ne.Send,cl=Ne.Cancel,Pp=Ne.NullEvent,os=Ne.Assign;Ne.After,Ne.DoneState;var fl=Ne.Log,kp=Ne.Init,is=Ne.Invoke;Ne.ErrorExecution;var dl=Ne.ErrorPlatform,Ip=Ne.ErrorCustom,hl=Ne.Update,Dp=Ne.Choose,Tp=Ne.Pure,pl=".",gl={},ss="xstate.guard",Bp="",Eo;function as(t,e,n){n===void 0&&(n=pl);var r=gr(t,n),o=gr(e,n);return Ie(o)?Ie(r)?o===r:!1:Ie(r)?r in o:Object.keys(r).every(function(i){return i in o?as(r[i],o[i]):!1})}function vl(t){try{return Ie(t)||typeof t=="number"?"".concat(t):t.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function ls(t,e){try{return Gn(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Np(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function gr(t,e){if(Np(t))return t.value;if(Gn(t))return wo(t);if(typeof t!="string")return t;var n=ls(t,e);return wo(n)}function wo(t){if(t.length===1)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function vr(t,e){for(var n={},r=Object.keys(t),o=0;o<r.length;o++){var i=r[o];n[i]=e(t[i],i,t,o)}return n}function ml(t,e,n){var r,o,i={};try{for(var s=Ee(Object.keys(t)),a=s.next();!a.done;a=s.next()){var u=a.value,l=t[u];n(l)&&(i[u]=e(l,u,t))}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var jp=function(t){return function(e){var n,r,o=e;try{for(var i=Ee(t),s=i.next();!s.done;s=i.next()){var a=s.value;o=o[a]}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function Up(t,e){return function(n){var r,o,i=n;try{for(var s=Ee(t),a=s.next();!a.done;a=s.next()){var u=a.value;i=i[e][u]}}catch(l){r={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}}function Co(t){if(!t)return[[]];if(Ie(t))return[[t]];var e=Qe(Object.keys(t).map(function(n){var r=t[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:Co(t[n]).map(function(o){return[n].concat(o)})}));return e}function Qe(t){var e;return(e=[]).concat.apply(e,ze([],xe(t),!1))}function yl(t){return Gn(t)?t:[t]}function At(t){return t===void 0?[]:yl(t)}function So(t,e,n){var r,o;if(ke(t))return t(e,n.data);var i={};try{for(var s=Ee(Object.keys(t)),a=s.next();!a.done;a=s.next()){var u=a.value,l=t[u];ke(l)?i[u]=l(e,n.data):i[u]=l}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function Hp(t){return/^(done|error)\./.test(t)}function bl(t){return!!(t instanceof Promise||t!==null&&(ke(t)||typeof t=="object")&&ke(t.then))}function zp(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function Fp(t,e){var n,r,o=xe([[],[]],2),i=o[0],s=o[1];try{for(var a=Ee(t),u=a.next();!u.done;u=a.next()){var l=u.value;e(l)?i.push(l):s.push(l)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}function El(t,e){return vr(t.states,function(n,r){if(n){var o=(Ie(e)?void 0:e[r])||(n?n.current:void 0);if(o)return{current:o,states:El(n,o)}}})}function Vp(t,e){return{current:e,states:El(t,e)}}function wl(t,e,n,r){var o=t&&n.reduce(function(i,s){var a,u,l=s.assignment,f={state:r,action:s,_event:e},d={};if(ke(l))d=l(i,e.data,f);else try{for(var h=Ee(Object.keys(l)),g=h.next();!g.done;g=h.next()){var v=g.value,p=l[v];d[v]=ke(p)?p(i,e.data,f):p}}catch(w){a={error:w}}finally{try{g&&!g.done&&(u=h.return)&&u.call(h)}finally{if(a)throw a.error}}return Object.assign({},i,d)},t);return o}var Gp=function(){};function Gn(t){return Array.isArray(t)}function ke(t){return typeof t=="function"}function Ie(t){return typeof t=="string"}function Cl(t,e){if(t)return Ie(t)?{type:ss,name:t,predicate:e?e[t]:void 0}:ke(t)?{type:ss,name:t.name,predicate:t}:t}function Qp(t){try{return"subscribe"in t&&ke(t.subscribe)}catch{return!1}}var $t=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Eo={},Eo[$t]=function(){return this},Eo[Symbol.observable]=function(){return this};function Qn(t){return!!t&&"__xstatenode"in t}function Yp(t){return!!t&&typeof t.send=="function"}function Lo(t,e){return Ie(t)||typeof t=="number"?W({type:t},e):t}function rt(t,e){if(!Ie(t)&&"$$type"in t&&t.$$type==="scxml")return t;var n=Lo(t);return W({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Yn(t,e){var n=yl(e).map(function(r){return typeof r>"u"||typeof r=="string"||Qn(r)?{target:r,event:t}:W(W({},r),{event:t})});return n}function Wp(t){if(!(t===void 0||t===Bp))return At(t)}function Sl(t,e,n,r,o){var i=t.options.guards,s={state:o,cond:e,_event:r};if(e.type===ss)return((i==null?void 0:i[e.name])||e.predicate)(n,r.data,s);var a=i==null?void 0:i[e.type];if(!a)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return a(n,r.data,s)}function Ll(t){return typeof t=="string"?{type:t}:t}function Ao(t,e,n){var r=function(){},o=typeof t=="object",i=o?t:null;return{next:((o?t.next:t)||r).bind(i),error:((o?t.error:e)||r).bind(i),complete:((o?t.complete:n)||r).bind(i)}}function xo(t,e){return"".concat(t,":invocation[").concat(e,"]")}function us(t){return(t.type===pr||t.type===bo&&t.to===Vn.Internal)&&typeof t.delay!="number"}var Wn=rt({type:kp});function cs(t,e){return e&&e[t]||void 0}function mr(t,e){var n;if(Ie(t)||typeof t=="number"){var r=cs(t,e);ke(r)?n={type:t,exec:r}:r?n=r:n={type:t,exec:void 0}}else if(ke(t))n={type:t.name||t.toString(),exec:t};else{var r=cs(t.type,e);if(ke(r))n=W(W({},t),{exec:r});else if(r){var o=r.type||t.type;n=W(W(W({},r),t),{type:o})}else n=t}return n}var en=function(t,e){if(!t)return[];var n=Gn(t)?t:[t];return n.map(function(r){return mr(r,e)})};function fs(t){var e=mr(t);return W(W({id:Ie(t)?t:e.id},e),{type:e.type})}function Kp(t,e){return{type:pr,event:typeof t=="function"?t:Lo(t),delay:e?e.delay:void 0,id:e==null?void 0:e.id}}function Rp(t,e,n,r){var o={_event:n},i=rt(ke(t.event)?t.event(e,n.data,o):t.event),s;if(Ie(t.delay)){var a=r&&r[t.delay];s=ke(a)?a(e,n.data,o):a}else s=ke(t.delay)?t.delay(e,n.data,o):t.delay;return W(W({},t),{type:pr,_event:i,delay:s})}function qp(t,e){return{to:e?e.to:void 0,type:bo,event:ke(t)?t:Lo(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:ke(t)?t.name:vl(t)}}function Jp(t,e,n,r){var o={_event:n},i=rt(ke(t.event)?t.event(e,n.data,o):t.event),s;if(Ie(t.delay)){var a=r&&r[t.delay];s=ke(a)?a(e,n.data,o):a}else s=ke(t.delay)?t.delay(e,n.data,o):t.delay;var u=ke(t.to)?t.to(e,n.data,o):t.to;return W(W({},t),{to:u,_event:i,event:i.data,delay:s})}var Zp=function(t,e,n){return W(W({},t),{value:Ie(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},_p=function(t){return{type:cl,sendId:t}};function Xp(t){var e=fs(t);return{type:Ne.Start,activity:e,exec:void 0}}function $p(t){var e=ke(t)?t:fs(t);return{type:Ne.Stop,activity:e,exec:void 0}}function eg(t,e,n){var r=ke(t.activity)?t.activity(e,n.data):t.activity,o=typeof r=="string"?{id:r}:r,i={type:Ne.Stop,activity:o};return i}var tg=function(t){return{type:os,assignment:t}};function ng(t,e){var n=e?"#".concat(e):"";return"".concat(Ne.After,"(").concat(t,")").concat(n)}function Oo(t,e){var n="".concat(Ne.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function Mo(t,e){var n="".concat(Ne.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function yr(t,e){var n="".concat(Ne.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}var rg=function(t){var e,n,r=[];try{for(var o=Ee(t),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;){if(s.actions[a].type===os){r.push(s.actions[a]),s.actions.splice(a,1);continue}a++}}catch(u){e={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r};function Po(t,e,n,r,o,i,s){s===void 0&&(s=!1);var a=s?[]:rg(o),u=a.length?wl(n,r,a,e):n,l=s?[n]:void 0,f=[];function d(v,p){var w;switch(p.type){case pr:{var E=Rp(p,u,r,t.options.delays);return i&&typeof E.delay=="number"&&i(E,u,r),E}case bo:var m=Jp(p,u,r,t.options.delays);return i&&m.to!==Vn.Internal&&(v==="entry"?f.push(m):i(m,u,r)),m;case fl:{var b=Zp(p,u,r);return i==null||i(b,u,r),b}case Dp:{var O=p,S=(w=O.conds.find(function(R){var G=Cl(R.cond,t.options.guards);return!G||Sl(t,G,u,r,i?void 0:e)}))===null||w===void 0?void 0:w.actions;if(!S)return[];var y=xe(Po(t,e,u,r,[{type:v,actions:en(At(S),t.options.actions)}],i,s),2),C=y[0],A=y[1];return u=A,l==null||l.push(u),C}case Tp:{var S=p.get(u,r.data);if(!S)return[];var P=xe(Po(t,e,u,r,[{type:v,actions:en(At(S),t.options.actions)}],i,s),2),M=P[0],x=P[1];return u=x,l==null||l.push(u),M}case rs:{var b=eg(p,u,r);return i==null||i(b,n,r),b}case os:{u=wl(u,r,[p],i?void 0:e),l==null||l.push(u);break}default:var k=mr(p,t.options.actions),N=k.exec;if(i)i(k,u,r);else if(N&&l){var z=l.length-1,Q=W(W({},k),{exec:function(R){for(var G=[],K=1;K<arguments.length;K++)G[K-1]=arguments[K];N.apply(void 0,ze([l[z]],xe(G),!1))}});k=Q}return k}}function h(v){var p,w,E=[];try{for(var m=Ee(v.actions),b=m.next();!b.done;b=m.next()){var O=b.value,S=d(v.type,O);S&&(E=E.concat(S))}}catch(y){p={error:y}}finally{try{b&&!b.done&&(w=m.return)&&w.call(m)}finally{if(p)throw p.error}}return f.forEach(function(y){i(y,u,r)}),f.length=0,E}var g=Qe(o.map(h));return[g,u]}var Al=[],Kn=function(t,e){Al.push(t);var n=e(t);return Al.pop(),n};function xl(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[$t]=function(){return this},e}function og(t,e,n,r){var o,i=Ll(t.src),s=(o=e==null?void 0:e.options.services)===null||o===void 0?void 0:o[i.type],a=t.data?So(t.data,n,r):void 0,u=s?Ol(s,t.id,a):xl(t.id);return u.meta=t,u}function Ol(t,e,n){var r=xl(e);if(r.deferred=!0,Qn(t)){var o=r.state=Kn(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return o}}return r}function ig(t){try{return typeof t.send=="function"}catch{return!1}}function sg(t){return ig(t)&&"id"in t}function ag(t){var e;return W((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[$t]=function(){return this},e),t)}var ko=function(t){return t.type==="atomic"||t.type==="final"};function Ml(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function br(t){return Ml(t).filter(function(e){return e.type!=="history"})}function Pl(t){var e=[t];return ko(t)?e:e.concat(Qe(br(t).map(Pl)))}function Er(t,e){var n,r,o,i,s,a,u,l,f=new Set(t),d=ds(f),h=new Set(e);try{for(var g=Ee(h),v=g.next();!v.done;v=g.next())for(var p=v.value,w=p.parent;w&&!h.has(w);)h.add(w),w=w.parent}catch(P){n={error:P}}finally{try{v&&!v.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var E=ds(h);try{for(var m=Ee(h),b=m.next();!b.done;b=m.next()){var p=b.value;if(p.type==="compound"&&(!E.get(p)||!E.get(p).length))d.get(p)?d.get(p).forEach(function(M){return h.add(M)}):p.initialStateNodes.forEach(function(M){return h.add(M)});else if(p.type==="parallel")try{for(var O=(s=void 0,Ee(br(p))),S=O.next();!S.done;S=O.next()){var y=S.value;h.has(y)||(h.add(y),d.get(y)?d.get(y).forEach(function(M){return h.add(M)}):y.initialStateNodes.forEach(function(M){return h.add(M)}))}}catch(M){s={error:M}}finally{try{S&&!S.done&&(a=O.return)&&a.call(O)}finally{if(s)throw s.error}}}}catch(P){o={error:P}}finally{try{b&&!b.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}try{for(var C=Ee(h),A=C.next();!A.done;A=C.next())for(var p=A.value,w=p.parent;w&&!h.has(w);)h.add(w),w=w.parent}catch(P){u={error:P}}finally{try{A&&!A.done&&(l=C.return)&&l.call(C)}finally{if(u)throw u.error}}return h}function kl(t,e){var n=e.get(t);if(!n)return{};if(t.type==="compound"){var r=n[0];if(r){if(ko(r))return r.key}else return{}}var o={};return n.forEach(function(i){o[i.key]=kl(i,e)}),o}function ds(t){var e,n,r=new Map;try{for(var o=Ee(t),i=o.next();!i.done;i=o.next()){var s=i.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function lg(t,e){var n=Er([t],e);return kl(t,ds(n))}function wr(t,e){return Array.isArray(t)?t.some(function(n){return n===e}):t instanceof Set?t.has(e):!1}function ug(t){return ze([],xe(new Set(Qe(ze([],xe(t.map(function(e){return e.ownEvents})),!1)))),!1)}function Io(t,e){return e.type==="compound"?br(e).some(function(n){return n.type==="final"&&wr(t,n)}):e.type==="parallel"?br(e).every(function(n){return Io(t,n)}):!1}function cg(t){return t===void 0&&(t=[]),t.reduce(function(e,n){return n.meta!==void 0&&(e[n.id]=n.meta),e},{})}function Il(t){return new Set(Qe(t.map(function(e){return e.tags})))}function Dl(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(Ie(t)||Ie(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(o){return Dl(t[o],e[o])})}function fg(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function dg(t,e){var n=t.exec,r=W(W({},t),{exec:n!==void 0?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var Et=function(){function t(e){var n=this,r;this.actions=[],this.activities=gl,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||gl,this.meta=cg(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=(r=Array.isArray(e.tags)?new Set(e.tags):e.tags)!==null&&r!==void 0?r:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return ug(n.configuration)}})}return t.from=function(e,n){if(e instanceof t)return e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e;var r=Wn;return new t({value:e,context:n,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=Wn;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(e,n){var r=this;if(e===void 0&&(e=this.value),n===void 0&&(n="."),Ie(e))return[e];var o=Object.keys(e);return o.concat.apply(o,ze([],xe(o.map(function(i){return r.toStrings(e[i],n).map(function(s){return i+n+s})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var n=e.tags;e.machine;var r=ts(e,["configuration","transitions","tags","machine"]);return W(W({},r),{tags:Array.from(n)})},t.prototype.matches=function(e){return as(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var n;Gp(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,e);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(o){return o.target!==void 0||o.actions.length})},t}(),hg={deferEvents:!1},Tl=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=W(W({},hg),e)}return t.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},t.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},t.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},t}(),hs=new Map,pg=0,Cr={bookId:function(){return"x:".concat(pg++)},register:function(t,e){return hs.set(t,e),t},get:function(t){return hs.get(t)},free:function(t){hs.delete(t)}};function ps(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function gg(){var t=ps();if(t&&"__xstate__"in t)return t.__xstate__}function vg(t){if(ps()){var e=gg();e&&e.register(t)}}function mg(t,e){e===void 0&&(e={});var n=t.initialState,r=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var l=o.shift();n=t.transition(n,l,u),r.forEach(function(f){return f.next(n)})}i=!1}},a=ag({id:e.id,send:function(l){o.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,f,d){var h=Ao(l,f,d);return r.add(h),h.next(n),{unsubscribe:function(){r.delete(h)}}}}),u={parent:e.parent,self:a,id:e.id||"anonymous",observers:r};return n=t.start?t.start(u):n,a}var yg={sync:!1,autoForward:!1},Xe;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Xe||(Xe={}));var bg=function(){function t(e,n){n===void 0&&(n=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Xe.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(f,d){if(Gn(f))return r.batch(f),r.state;var h=rt(Lo(f,d));if(r.status===Xe.Stopped)return r.state;if(r.status!==Xe.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(h.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
|
|
37
|
+
Event: `).concat(JSON.stringify(h.data)));return r.scheduler.schedule(function(){r.forward(h);var g=r._nextState(h);r.update(g,h)}),r._state},this.sendTo=function(f,d,h){var g=r.parent&&(d===Vn.Parent||r.parent.id===d),v=g?r.parent:Ie(d)?d===Vn.Internal?r:r.children.get(d)||Cr.get(d):Yp(d)?d:void 0;if(!v){if(!g)throw new Error("Unable to send event to child '".concat(d,"' from service '").concat(r.id,"'."));return}if("machine"in v){if(r.status!==Xe.Stopped||r.parent!==v||r.state.done){var p=W(W({},f),{name:f.name===Ip?"".concat(yr(r.id)):f.name,origin:r.sessionId});!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,p]):v.send(p)}}else!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,f.data]):v.send(f.data)},this._exec=function(f,d,h,g){g===void 0&&(g=r.machine.options.actions);var v=f.exec||cs(f.type,g),p=ke(v)?v:v?v.exec:f.exec;if(p)try{return p(d,h.data,r.machine.config.predictableActionArguments?{action:f,_event:h}:{action:f,state:r.state,_event:h})}catch(z){throw r.parent&&r.parent.send({type:"xstate.error",data:z}),z}switch(f.type){case pr:{var w=f;r.defer(w);break}case bo:var E=f;if(typeof E.delay=="number"){r.defer(E);return}else E.to?r.sendTo(E._event,E.to,h===Wn):r.send(E._event);break;case cl:r.cancel(f.sendId);break;case ns:{if(r.status!==Xe.Running)return;var m=f.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[m.id||m.type])break;if(m.type===Ne.Invoke){var b=Ll(m.src),O=r.machine.options.services?r.machine.options.services[b.type]:void 0,S=m.id,y=m.data,C="autoForward"in m?m.autoForward:!!m.forward;if(!O)return;var A=y?So(y,d,h):void 0;if(typeof O=="string")return;var P=ke(O)?O(d,h.data,{data:A,src:b,meta:m.meta}):O;if(!P)return;var M=void 0;Qn(P)&&(P=A?P.withContext(A):P,M={autoForward:C}),r.spawn(P,S,M)}else r.spawnActivity(m);break}case rs:{r.stopChild(f.activity.id);break}case fl:var x=f,k=x.label,N=x.value;k?r.logger(k,N):r.logger(N);break}};var o=W(W({},t.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,u=o.id,l=u!==void 0?u:e.id;this.id=l,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new Tl({deferEvents:this.options.deferEvents}),this.sessionId=Cr.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:Kn(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(e,n){var r,o;try{for(var i=Ee(e.actions),s=i.next();!s.done;s=i.next()){var a=s.value;this.exec(a,e,n)}}catch(u){r={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},t.prototype.update=function(e,n){var r,o,i,s,a,u,l,f,d=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||n===Wn)&&this.options.execute)this.execute(this.state);else for(var h=void 0;h=this._outgoingQueue.shift();)h[0].send(h[1]);if(this.children.forEach(function(P){d.state.children[P.id]=P}),this.devTools&&this.devTools.send(n.data,e),e.event)try{for(var g=Ee(this.eventListeners),v=g.next();!v.done;v=g.next()){var p=v.value;p(e.event)}}catch(P){r={error:P}}finally{try{v&&!v.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}try{for(var w=Ee(this.listeners),E=w.next();!E.done;E=w.next()){var p=E.value;p(e,e.event)}}catch(P){i={error:P}}finally{try{E&&!E.done&&(s=w.return)&&s.call(w)}finally{if(i)throw i.error}}try{for(var m=Ee(this.contextListeners),b=m.next();!b.done;b=m.next()){var O=b.value;O(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(P){a={error:P}}finally{try{b&&!b.done&&(u=m.return)&&u.call(m)}finally{if(a)throw a.error}}if(this.state.done){var S=e.configuration.find(function(P){return P.type==="final"&&P.parent===d.machine}),y=S&&S.doneData?So(S.doneData,e.context,n):void 0;this._doneEvent=Mo(this.id,y);try{for(var C=Ee(this.doneListeners),A=C.next();!A.done;A=C.next()){var p=A.value;p(this._doneEvent)}}catch(P){l={error:P}}finally{try{A&&!A.done&&(f=C.return)&&f.call(C)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),Cr.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===Xe.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,n,r){var o=this,i=Ao(e,n,r);this.listeners.add(i.next),this.status!==Xe.NotStarted&&i.next(this.state);var s=function(){o.doneListeners.delete(s),o.stopListeners.delete(s),i.complete()};return this.status===Xe.Stopped?i.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){o.listeners.delete(i.next),o.doneListeners.delete(s),o.stopListeners.delete(s)}}},t.prototype.onEvent=function(e){return this.eventListeners.add(e),this},t.prototype.onSend=function(e){return this.sendListeners.add(e),this},t.prototype.onChange=function(e){return this.contextListeners.add(e),this},t.prototype.onStop=function(e){return this.stopListeners.add(e),this},t.prototype.onDone=function(e){return this.status===Xe.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},t.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},t.prototype.start=function(e){var n=this;if(this.status===Xe.Running)return this;this.machine._init(),Cr.register(this.sessionId,this),this.initialized=!0,this.status=Xe.Running;var r=e===void 0?this.initialState:Kn(this,function(){return fg(e)?n.machine.resolveState(e):n.machine.resolveState(Et.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Wn)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){ke(e.stop)&&e.stop()}),this.children.clear()},t.prototype._stop=function(){var e,n,r,o,i,s,a,u,l,f;try{for(var d=Ee(this.listeners),h=d.next();!h.done;h=d.next()){var g=h.value;this.listeners.delete(g)}}catch(C){e={error:C}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var v=Ee(this.stopListeners),p=v.next();!p.done;p=v.next()){var g=p.value;g(),this.stopListeners.delete(g)}}catch(C){r={error:C}}finally{try{p&&!p.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}try{for(var w=Ee(this.contextListeners),E=w.next();!E.done;E=w.next()){var g=E.value;this.contextListeners.delete(g)}}catch(C){i={error:C}}finally{try{E&&!E.done&&(s=w.return)&&s.call(w)}finally{if(i)throw i.error}}try{for(var m=Ee(this.doneListeners),b=m.next();!b.done;b=m.next()){var g=b.value;this.doneListeners.delete(g)}}catch(C){a={error:C}}finally{try{b&&!b.done&&(u=m.return)&&u.call(m)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Xe.Stopped,this._initialState=void 0;try{for(var O=Ee(Object.keys(this.delayedEventsMap)),S=O.next();!S.done;S=O.next()){var y=S.value;this.clock.clearTimeout(this.delayedEventsMap[y])}}catch(C){l={error:C}}finally{try{S&&!S.done&&(f=O.return)&&f.call(O)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new Tl({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=rt({type:"xstate.stop"}),o=Kn(e,function(){var i=Qe(ze([],xe(e.state.configuration),!1).sort(function(f,d){return d.order-f.order}).map(function(f){return en(f.onExit,e.machine.options.actions)})),s=xe(Po(e.machine,e.state,e.state.context,r,[{type:"exit",actions:i}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),a=s[0],u=s[1],l=new Et({value:e.state.value,context:u,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:a.filter(function(f){return!us(f)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return l.changed=!0,l});e.update(o,r),e._stopChildren(),Cr.free(e.sessionId)}),this},t.prototype.batch=function(e){var n=this;if(!(this.status===Xe.NotStarted&&this.options.deferEvents)){if(this.status!==Xe.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(e.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var o,i,s=n.state,a=!1,u=[],l=function(g){var v=rt(g);n.forward(v),s=Kn(n,function(){return n.machine.transition(s,v,void 0,r||void 0)}),u.push.apply(u,ze([],xe(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(p){return dg(p,s)})),!1)),a=a||!!s.changed};try{for(var f=Ee(e),d=f.next();!d.done;d=f.next()){var h=d.value;l(h)}}catch(g){o={error:g}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}s.changed=a,s.actions=u,n.update(s,rt(e[e.length-1]))})}},t.prototype.sender=function(e){return this.send.bind(this,e)},t.prototype._nextState=function(e,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var o=rt(e);if(o.name.indexOf(dl)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(dl)===0}))throw o.data.data;var i=Kn(this,function(){return r.machine.transition(r.state,o,void 0,n||void 0)});return i},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var n,r;try{for(var o=Ee(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.children.get(s);if(!a)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));a.send(e)}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},t.prototype.defer=function(e){var n=this,r=this.clock.setTimeout(function(){"to"in e&&e.to?n.sendTo(e._event,e.to,!0):n.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=r)},t.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},t.prototype.exec=function(e,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(e,n.context,n._event,r)},t.prototype.removeChild=function(e){var n;this.children.delete(e),this.forwardTo.delete(e),(n=this.state)===null||n===void 0||delete n.children[e]},t.prototype.stopChild=function(e){var n=this.children.get(e);n&&(this.removeChild(e),ke(n.stop)&&n.stop())},t.prototype.spawn=function(e,n,r){if(this.status!==Xe.Running)return Ol(e,n);if(bl(e))return this.spawnPromise(Promise.resolve(e),n);if(ke(e))return this.spawnCallback(e,n);if(sg(e))return this.spawnActor(e,n);if(Qp(e))return this.spawnObservable(e,n);if(Qn(e))return this.spawnMachine(e,W(W({},r),{id:n}));if(zp(e))return this.spawnBehavior(e,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof e,'".'))},t.prototype.spawnMachine=function(e,n){var r=this;n===void 0&&(n={});var o=new t(e,W(W({},this.options),{parent:this,id:n.id||e.id})),i=W(W({},yg),n);i.sync&&o.onTransition(function(a){r.send(hl,{state:a,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(a){r.removeChild(o.id),r.send(rt(a,{origin:o.id}))}).start(),s},t.prototype.spawnBehavior=function(e,n){var r=mg(e,{id:n,parent:this});return this.children.set(n,r),r},t.prototype.spawnPromise=function(e,n){var r,o=this,i=!1,s;e.then(function(u){i||(s=u,o.removeChild(n),o.send(rt(Mo(n,u),{origin:n})))},function(u){if(!i){o.removeChild(n);var l=yr(n,u);try{o.send(rt(l,{origin:n}))}catch{o.devTools&&o.devTools.send(l,o.state),o.machine.strict&&o.stop()}}});var a=(r={id:n,send:function(){},subscribe:function(u,l,f){var d=Ao(u,l,f),h=!1;return e.then(function(g){h||(d.next(g),!h&&d.complete())},function(g){h||d.error(g)}),{unsubscribe:function(){return h=!0}}},stop:function(){i=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[$t]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnCallback=function(e,n){var r,o=this,i=!1,s=new Set,a=new Set,u,l=function(h){u=h,a.forEach(function(g){return g(h)}),!i&&o.send(rt(h,{origin:n}))},f;try{f=e(l,function(h){s.add(h)})}catch(h){this.send(yr(n,h))}if(bl(f))return this.spawnPromise(f,n);var d=(r={id:n,send:function(h){return s.forEach(function(g){return g(h)})},subscribe:function(h){var g=Ao(h);return a.add(g.next),{unsubscribe:function(){a.delete(g.next)}}},stop:function(){i=!0,ke(f)&&f()},toJSON:function(){return{id:n}},getSnapshot:function(){return u}},r[$t]=function(){return this},r);return this.children.set(n,d),d},t.prototype.spawnObservable=function(e,n){var r,o=this,i,s=e.subscribe(function(u){i=u,o.send(rt(u,{origin:n}))},function(u){o.removeChild(n),o.send(rt(yr(n,u),{origin:n}))},function(){o.removeChild(n),o.send(rt(Mo(n),{origin:n}))}),a=(r={id:n,send:function(){},subscribe:function(u,l,f){return e.subscribe(u,l,f)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:n}}},r[$t]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnActor=function(e,n){return this.children.set(n,e),e},t.prototype.spawnActivity=function(e){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(n){var r=n(this.state.context,e);this.spawnEffect(e.id,r)}},t.prototype.spawnEffect=function(e,n){var r;this.children.set(e,(r={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}},r[$t]=function(){return this},r))},t.prototype.attachDev=function(){var e=ps();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(W(W({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:W({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}vg(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[$t]=function(){return this},t.prototype.getSnapshot=function(){return this.status===Xe.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,n){return setTimeout(e,n)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},t.interpret=Bl,t}();function Bl(t,e){var n=new bg(t,e);return n}function Eg(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function Do(t){return W(W({type:is},t),{toJSON:function(){t.onDone,t.onError;var e=ts(t,["onDone","onError"]);return W(W({},e),{type:is,src:Eg(t.src)})}})}var To="",gs="#",vs="*",Rn={},qn=function(t){return t[0]===gs},wg=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},Cg=function(){function t(e,n,r,o){r===void 0&&(r="context"in e?e.context:void 0);var i=this,s;this.config=e,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(wg(),n),this.parent=o==null?void 0:o.parent,this.key=this.config.key||(o==null?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:pl),this.id=this.config.id||ze([this.machine.key],xe(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?vr(this.config.states,function(l,f){var d,h=new t(l,{},void 0,{parent:i,key:f});return Object.assign(i.idMap,W((d={},d[h.id]=h,d),h.idMap)),h}):Rn;var a=0;function u(l){var f,d;l.order=a++;try{for(var h=Ee(Ml(l)),g=h.next();!g.done;g=h.next()){var v=g.value;u(v)}}catch(p){f={error:p}}finally{try{g&&!g.done&&(d=h.return)&&d.call(h)}finally{if(f)throw f.error}}}u(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var f=l.event;return f===To}):To in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=At(this.config.entry||this.config.onEntry).map(function(l){return mr(l)}),this.onExit=At(this.config.exit||this.config.onExit).map(function(l){return mr(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=At(this.config.invoke).map(function(l,f){var d,h;if(Qn(l)){var g=xo(i.id,f);return i.machine.options.services=W((d={},d[g]=l,d),i.machine.options.services),Do({src:g,id:g})}else if(Ie(l.src)){var g=l.id||xo(i.id,f);return Do(W(W({},l),{id:g,src:l.src}))}else if(Qn(l.src)||ke(l.src)){var g=l.id||xo(i.id,f);return i.machine.options.services=W((h={},h[g]=l.src,h),i.machine.options.services),Do(W(W({id:g},l),{src:g}))}else{var v=l.src;return Do(W(W({id:xo(i.id,f)},l),{src:v}))}}),this.activities=At(this.config.activities).concat(this.invoke).map(function(l){return fs(l)}),this.transition=this.transition.bind(this),this.tags=At(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||Pl(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,u=r.delays;return new t(this.config,{actions:W(W({},o),e.actions),activities:W(W({},i),e.activities),guards:W(W({},s),e.guards),services:W(W({},a),e.services),delays:W(W({},u),e.delays)},n??this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return ke(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:vr(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(n,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var n=e===To,r=this.transitions.filter(function(o){var i=o.eventType===e;return n?i:i||o.eventType===vs});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,n=this.config.after;if(!n)return[];var r=function(i,s){var a=ke(i)?"".concat(e.id,":delay[").concat(s,"]"):i,u=ng(a,e.id);return e.onEntry.push(qp(u,{delay:i})),e.onExit.push(_p(u)),u},o=Gn(n)?n.map(function(i,s){var a=r(i.delay,s);return W(W({},i),{event:a})}):Qe(Object.keys(n).map(function(i,s){var a=n[i],u=Ie(a)?{target:a}:a,l=isNaN(+i)?i:+i,f=r(l,s);return At(u).map(function(d){return W(W({},d),{event:f,delay:l})})}));return o.map(function(i){var s=i.delay;return W(W({},e.formatTransition(i)),{delay:s})})},t.prototype.getStateNodes=function(e){var n,r=this;if(!e)return[];var o=e instanceof Et?e.value:gr(e,this.delimiter);if(Ie(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((n={},n[o]=i,n)):[this,this.states[o]]}var s=Object.keys(o),a=[this];return a.push.apply(a,ze([],xe(Qe(s.map(function(u){return r.getStateNode(u).getStateNodes(o[u])}))),!1)),a},t.prototype.handles=function(e){var n=vl(e);return this.events.includes(n)},t.prototype.resolveState=function(e){var n=e instanceof Et?e:Et.create(e),r=Array.from(Er([],this.getStateNodes(n.value)));return new Et(W(W({},n),{value:this.resolve(n.value),configuration:r,done:Io(r,this),tags:Il(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,n,r){var o=this.getStateNode(e),i=o.next(n,r);return!i||!i.transitions.length?this.next(n,r):i},t.prototype.transitionCompoundNode=function(e,n,r){var o=Object.keys(e),i=this.getStateNode(o[0]),s=i._transition(e[o[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},t.prototype.transitionParallelNode=function(e,n,r){var o,i,s={};try{for(var a=Ee(Object.keys(e)),u=a.next();!u.done;u=a.next()){var l=u.value,f=e[l];if(f){var d=this.getStateNode(l),h=d._transition(f,n,r);h&&(s[l]=h)}}}catch(E){o={error:E}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}var g=Object.keys(s).map(function(E){return s[E]}),v=Qe(g.map(function(E){return E.transitions})),p=g.some(function(E){return E.transitions.length>0});if(!p)return this.next(n,r);var w=Qe(Object.keys(s).map(function(E){return s[E].configuration}));return{transitions:v,exitSet:Qe(g.map(function(E){return E.exitSet})),configuration:w,source:n,actions:Qe(Object.keys(s).map(function(E){return s[E].actions}))}},t.prototype._transition=function(e,n,r){return Ie(e)?this.transitionLeafNode(e,n,r):Object.keys(e).length===1?this.transitionCompoundNode(e,n,r):this.transitionParallelNode(e,n,r)},t.prototype.getTransitionData=function(e,n){return this._transition(e.value,e,rt(n))},t.prototype.next=function(e,n){var r,o,i=this,s=n.name,a=[],u=[],l;try{for(var f=Ee(this.getCandidates(s)),d=f.next();!d.done;d=f.next()){var h=d.value,g=h.cond,v=h.in,p=e.context,w=v?Ie(v)&&qn(v)?e.matches(gr(this.getStateNodeById(v).path,this.delimiter)):as(gr(v,this.delimiter),jp(this.path.slice(0,-2))(e.value)):!0,E=!1;try{E=!g||Sl(this.machine,g,p,n,e)}catch(O){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
|
|
38
|
+
`).concat(O.message))}if(E&&w){h.target!==void 0&&(u=h.target),a.push.apply(a,ze([],xe(h.actions),!1)),l=h;break}}}catch(O){r={error:O}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(l){if(!u.length)return{transitions:[l],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var m=Qe(u.map(function(O){return i.getRelativeStateNodes(O,e.historyValue)})),b=!!l.internal;return{transitions:[l],exitSet:b?[]:Qe(u.map(function(O){return i.getPotentiallyReenteringNodes(O)})),configuration:m,source:e,actions:a}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var n=[],r=this,o=e;r&&r!==o;)n.push(r),r=r.parent;return r!==o?[]:(n.push(o),n)},t.prototype.getActions=function(e,n,r,o,i,s,a){var u,l,f,d,h=this,g=s?Er([],this.getStateNodes(s.value)):[],v=new Set;try{for(var p=Ee(Array.from(e).sort(function(x,k){return x.order-k.order})),w=p.next();!w.done;w=p.next()){var E=w.value;(!wr(g,E)||wr(r.exitSet,E)||E.parent&&v.has(E.parent))&&v.add(E)}}catch(x){u={error:x}}finally{try{w&&!w.done&&(l=p.return)&&l.call(p)}finally{if(u)throw u.error}}try{for(var m=Ee(g),b=m.next();!b.done;b=m.next()){var E=b.value;(!wr(e,E)||wr(r.exitSet,E.parent))&&r.exitSet.push(E)}}catch(x){f={error:x}}finally{try{b&&!b.done&&(d=m.return)&&d.call(m)}finally{if(f)throw f.error}}r.exitSet.sort(function(x,k){return k.order-x.order});var O=Array.from(v).sort(function(x,k){return x.order-k.order}),S=new Set(r.exitSet),y=Qe(O.map(function(x){var k=[];if(x.type!=="final")return k;var N=x.parent;if(!N.parent)return k;k.push(Oo(x.id,x.doneData),Oo(N.id,x.doneData?So(x.doneData,o,i):void 0));var z=N.parent;return z.type==="parallel"&&br(z).every(function(Q){return Io(r.configuration,Q)})&&k.push(Oo(z.id)),k})),C=O.map(function(x){var k=x.onEntry,N=x.activities.map(function(z){return Xp(z)});return{type:"entry",actions:en(a?ze(ze([],xe(k),!1),xe(N),!1):ze(ze([],xe(N),!1),xe(k),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:y.map(function(x){return Kp(x)})}),A=Array.from(S).map(function(x){return{type:"exit",actions:en(ze(ze([],xe(x.onExit),!1),xe(x.activities.map(function(k){return $p(k)})),!1),h.machine.options.actions)}}),P=A.concat({type:"transition",actions:en(r.actions,this.machine.options.actions)}).concat(C);if(n){var M=en(Qe(ze([],xe(e),!1).sort(function(x,k){return k.order-x.order}).map(function(x){return x.onExit})),this.machine.options.actions).filter(function(x){return!us(x)});return P.concat({type:"stop",actions:M})}return P},t.prototype.transition=function(e,n,r,o){e===void 0&&(e=this.initialState);var i=rt(n),s;if(e instanceof Et)s=r===void 0?e:this.resolveState(Et.from(e,r));else{var a=Ie(e)?this.resolve(wo(this.getResolvedPath(e))):this.resolve(e),u=r??this.machine.context;s=this.resolveState(Et.from(a,u))}if(this.strict&&!this.events.includes(i.name)&&!Hp(i.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var l=this._transition(s.value,s,i)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},f=Er([],this.getStateNodes(s.value)),d=l.configuration.length?Er(f,l.configuration):f;return l.configuration=ze([],xe(d),!1),this.resolveTransition(l,s,s.context,o,i)},t.prototype.resolveRaisedTransition=function(e,n,r,o){var i,s=e.actions;return e=this.transition(e,n,void 0,o),e._event=r,e.event=r.data,(i=e.actions).unshift.apply(i,ze([],xe(s),!1)),e},t.prototype.resolveTransition=function(e,n,r,o,i){var s,a,u,l,f=this;i===void 0&&(i=Wn);var d=e.configuration,h=!n||e.transitions.length>0,g=h?e.configuration:n?n.configuration:[],v=Io(g,this),p=h?lg(this.machine,d):void 0,w=n?n.historyValue?n.historyValue:e.source?this.machine.historyValue(n.value):void 0:void 0,E=this.getActions(new Set(g),v,e,r,i,n,o),m=n?W({},n.activities):{};try{for(var b=Ee(E),O=b.next();!O.done;O=b.next()){var S=O.value;try{for(var y=(u=void 0,Ee(S.actions)),C=y.next();!C.done;C=y.next()){var A=C.value;A.type===ns?m[A.activity.id||A.activity.type]=A:A.type===rs&&(m[A.activity.id||A.activity.type]=!1)}}catch(Y){u={error:Y}}finally{try{C&&!C.done&&(l=y.return)&&l.call(y)}finally{if(u)throw u.error}}}}catch(Y){s={error:Y}}finally{try{O&&!O.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}var P=xe(Po(this,n,r,i,E,o,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),M=P[0],x=P[1],k=xe(Fp(M,us),2),N=k[0],z=k[1],Q=M.filter(function(Y){var ne;return Y.type===ns&&((ne=Y.activity)===null||ne===void 0?void 0:ne.type)===is}),R=Q.reduce(function(Y,ne){return Y[ne.activity.id]=og(ne.activity,f.machine,x,i),Y},n?W({},n.children):{}),G=new Et({value:p||n.value,context:x,_event:i,_sessionid:n?n._sessionid:null,historyValue:p?w?Vp(w,p):void 0:n?n.historyValue:void 0,history:!p||e.source?n:void 0,actions:p?z:[],activities:p?m:n?n.activities:{},events:[],configuration:g,transitions:e.transitions,children:R,done:v,tags:Il(g),machine:this}),K=r!==x;G.changed=i.name===hl||K;var T=G.history;T&&delete T.history;var I=!v&&(this._transient||d.some(function(Y){return Y._transient}));if(!h&&(!I||i.name===To))return G;var D=G;if(!v)for(I&&(D=this.resolveRaisedTransition(D,{type:Pp},i,o));N.length;){var V=N.shift();D=this.resolveRaisedTransition(D,V._event,i,o)}var H=D.changed||(T?!!D.actions.length||K||typeof T.value!=typeof D.value||!Dl(D.value,T.value):void 0);return D.changed=H,D.history=T,D},t.prototype.getStateNode=function(e){if(qn(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[e];if(!n)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return n},t.prototype.getStateNodeById=function(e){var n=qn(e)?e.slice(gs.length):e;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},t.prototype.getStateNodeByPath=function(e){if(typeof e=="string"&&qn(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var n=ls(e,this.delimiter).slice(),r=this;n.length;){var o=n.shift();if(!o.length)break;r=r.getStateNode(o)}return r},t.prototype.resolve=function(e){var n,r=this;if(!e)return this.initialStateValue||Rn;switch(this.type){case"parallel":return vr(this.initialStateValue,function(i,s){return i?r.getStateNode(s).resolve(e[s]||i):Rn});case"compound":if(Ie(e)){var o=this.getStateNode(e);return o.type==="parallel"||o.type==="compound"?(n={},n[e]=o.initialStateValue,n):e}return Object.keys(e).length?vr(e,function(i,s){return i?r.getStateNode(s).resolve(i):Rn}):this.initialStateValue||{};default:return e||Rn}},t.prototype.getResolvedPath=function(e){if(qn(e)){var n=this.machine.idMap[e.slice(gs.length)];if(!n)throw new Error("Unable to find state node '".concat(e,"'"));return n.path}return ls(e,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=ml(this.states,function(r){return r.initialStateValue||Rn},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=ko(this.states[this.initial])?this.initial:(e={},e[this.initial]=this.states[this.initial].initialStateValue,e)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(e,n){this._init();var r=this.getStateNodes(e);return this.resolveTransition({configuration:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n??this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var e;if(this.type==="history"){var n=this.config;Ie(n.target)?e=qn(n.target)?wo(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:e=n.target}return e},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(e,n,r){return r===void 0&&(r=!0),r?e.type==="history"?e.resolveHistory(n):e.initialStateNodes:[e]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var e=this;if(ko(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Co(this.initialStateValue);return Qe(n.map(function(r){return e.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var n=xe(e),r=n[0],o=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var i=this.getStateNode(r);if(i.type==="history")return i.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(o)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:ml(this.states,function(n,r){if(!e)return n.historyValue();var o=Ie(e)?void 0:e[r];return n.historyValue(o||n.initialStateValue)},function(n){return!n.history})}},t.prototype.resolveHistory=function(e){var n=this;if(this.type!=="history")return[this];var r=this.parent;if(!e){var o=this.target;return o?Qe(Co(o).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var i=Up(r.path,"states")(e).current;return Ie(i)?[r.getStateNode(i)]:Qe(Co(i).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var e=this,n=Qe(Object.keys(this.states).map(function(r){return e.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var e,n,r,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var a=Ee(Object.keys(i)),u=a.next();!u.done;u=a.next()){var l=u.value,f=i[l];if(f.states)try{for(var d=(r=void 0,Ee(f.events)),h=d.next();!h.done;h=d.next()){var g=h.value;s.add("".concat(g))}}catch(v){r={error:v}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}}catch(v){e={error:v}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(e)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(e){var n=this;if(e!==void 0)return e.map(function(r){if(!Ie(r))return r;var o=r[0]===n.delimiter;if(o&&!n.parent)return n.getStateNodeByPath(r.slice(1));var i=o?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(i);return s}catch(a){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
|
|
39
|
+
`).concat(a.message))}else return n.getStateNodeByPath(i)})},t.prototype.formatTransition=function(e){var n=this,r=Wp(e.target),o="internal"in e?e.internal:r?r.some(function(u){return Ie(u)&&u[0]===n.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(r),a=W(W({},e),{actions:en(At(e.actions)),cond:Cl(e.cond,i),target:s,source:this,internal:o,eventType:e.event,toJSON:function(){return W(W({},a),{target:a.target?a.target.map(function(u){return"#".concat(u.id)}):void 0,source:"#".concat(n.id)})}});return a},t.prototype.formatTransitions=function(){var e,n,r=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=vs,a=i[s],u=a===void 0?[]:a,l=ts(i,[typeof s=="symbol"?s:s+""]);o=Qe(Object.keys(l).map(function(m){var b=Yn(m,l[m]);return b}).concat(Yn(vs,u)))}var f=this.config.always?Yn("",this.config.always):[],d=this.config.onDone?Yn(String(Oo(this.id)),this.config.onDone):[],h=Qe(this.invoke.map(function(m){var b=[];return m.onDone&&b.push.apply(b,ze([],xe(Yn(String(Mo(m.id)),m.onDone)),!1)),m.onError&&b.push.apply(b,ze([],xe(Yn(String(yr(m.id)),m.onError)),!1)),b})),g=this.after,v=Qe(ze(ze(ze(ze([],xe(d),!1),xe(h),!1),xe(o),!1),xe(f),!1).map(function(m){return At(m).map(function(b){return r.formatTransition(b)})}));try{for(var p=Ee(g),w=p.next();!w.done;w=p.next()){var E=w.value;v.push(E)}}catch(m){e={error:m}}finally{try{w&&!w.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return v},t}();function Sg(t,e,n){return n===void 0&&(n=t.context),new Cg(t,e,n)}var Lg=tg,ms;(function(t){t[t.Effect=1]="Effect",t[t.LayoutEffect=2]="LayoutEffect"})(ms||(ms={}));var Sr=c.useLayoutEffect;function Nl(t){var e=ce.useRef();return e.current||(e.current={v:t()}),e.current.v}var Ag=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},xg=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function Og(t,e){var n,r,o=Ag([[],[]],2),i=o[0],s=o[1];try{for(var a=xg(t),u=a.next();!u.done;u=a.next()){var l=u.value;e(l)?i.push(l):s.push(l)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}var Lr=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},jl=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};function Ul(t,e){var n=t.exec,r=n(e.context,e._event.data,{action:t,state:e,_event:e._event});r()}function Mg(t){var e=c.useRef([]),n=c.useRef([]);Sr(function(){var r=t.subscribe(function(o){var i,s;if(o.actions.length){var a=o.actions.filter(function(d){return typeof d.exec=="function"&&"__effect"in d.exec}),u=Lr(Og(a,function(d){return d.exec.__effect===ms.Effect}),2),l=u[0],f=u[1];(i=e.current).push.apply(i,jl([],Lr(l.map(function(d){return[d,o]})),!1)),(s=n.current).push.apply(s,jl([],Lr(f.map(function(d){return[d,o]})),!1))}});return function(){r.unsubscribe()}},[]),Sr(function(){for(;n.current.length;){var r=Lr(n.current.shift(),2),o=r[0],i=r[1];Ul(o,i)}}),c.useEffect(function(){for(;e.current.length;){var r=Lr(e.current.shift(),2),o=r[0],i=r[1];Ul(o,i)}})}var Ar=globalThis&&globalThis.__assign||function(){return Ar=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Ar.apply(this,arguments)},Pg=globalThis&&globalThis.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};globalThis&&globalThis.__read;function kg(t,e,n){if(typeof t=="object")return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}function Ig(t,e,n){e===void 0&&(e={});var r=Nl(function(){return typeof t=="function"?t():t}),o=e.context,i=e.guards,s=e.actions,a=e.activities,u=e.services,l=e.delays,f=e.state,d=Pg(e,["context","guards","actions","activities","services","delays","state"]),h=Nl(function(){var g={context:o,guards:i,actions:s,activities:a,services:u,delays:l},v=r.withConfig(g,function(){return Ar(Ar({},r.context),o)});return Bl(v,Ar({deferEvents:!0},d))});return Sr(function(){var g;return n&&(g=h.subscribe(kg(n))),function(){g==null||g.unsubscribe()}},[n]),Sr(function(){return h.start(f?Et.create(f):void 0),function(){h.stop()}},[]),Sr(function(){Object.assign(h.machine.options.actions,s),Object.assign(h.machine.options.guards,i),Object.assign(h.machine.options.activities,a),Object.assign(h.machine.options.services,u),Object.assign(h.machine.options.delays,l)},[s,i,a,u,l]),Mg(h),h}var Dg=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i};globalThis&&globalThis.__spreadArray;function Tg(t,e){e===void 0&&(e={});var n=c.useCallback(function(a){var u=a.changed===void 0&&Object.keys(a.children).length;(a.changed||u)&&s(a)},[]),r=Ig(t,e,n),o=Dg(c.useState(function(){var a=r.machine.initialState;return e.state?Et.create(e.state):a}),2),i=o[0],s=o[1];return[i,r.send,r]}function Ye(){return Ye=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ye.apply(this,arguments)}function Jn(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}const me={arr:Array.isArray,obj:t=>Object.prototype.toString.call(t)==="[object Object]",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0,nul:t=>t===null,set:t=>t instanceof Set,map:t=>t instanceof Map,equ(t,e){if(typeof t!=typeof e)return!1;if(me.str(t)||me.num(t))return t===e;if(me.obj(t)&&me.obj(e)&&Object.keys(t).length+Object.keys(e).length===0)return!0;let n;for(n in t)if(!(n in e))return!1;for(n in e)if(t[n]!==e[n])return!1;return me.und(n)?t===e:!0}};function Bg(t,e){return e===void 0&&(e=!0),n=>(me.arr(n)?n:Object.keys(n)).reduce((r,o)=>{const i=e?o[0].toLowerCase()+o.substring(1):o;return r[i]=t(i),r},t)}function Ng(){const t=c.useState(!1),e=t[1];return c.useCallback(()=>e(r=>!r),[])}function vn(t,e){return me.und(t)||me.nul(t)?e:t}function Bo(t){return me.und(t)?[]:me.arr(t)?t:[t]}function Zn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return me.fun(t)?t(...n):t}function jg(t){return t.to,t.from,t.config,t.onStart,t.onRest,t.onFrame,t.children,t.reset,t.reverse,t.force,t.immediate,t.delay,t.attach,t.destroyed,t.interpolateTo,t.ref,t.lazy,Jn(t,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function ys(t){const e=jg(t);if(me.und(e))return Ye({to:e},t);const n=Object.keys(t).reduce((r,o)=>me.und(e[o])?Ye({},r,{[o]:t[o]}):r,{});return Ye({to:e},n)}function Ug(t,e){return e&&(me.fun(e)?e(t):me.obj(e)&&(e.current=t)),t}class xt{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){this.children.length===0&&this.attach(),this.children.push(e)}removeChild(e){const n=this.children.indexOf(e);this.children.splice(n,1),this.children.length===0&&this.detach()}}class bs extends xt{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof xt&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof xt&&e.removeChild(this))}}class Hl extends xt{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof xt&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof xt&&e.removeChild(this))}getValue(e){e===void 0&&(e=!1);const n={};for(const r in this.payload){const o=this.payload[r];e&&!(o instanceof xt)||(n[r]=o instanceof xt?o[e?"getAnimatedValue":"getValue"]():o)}return n}getAnimatedValue(){return this.getValue(!0)}}let Es;function Hg(t,e){Es={fn:t,transform:e}}let zl;function zg(t){zl=t}let Fl=t=>typeof window<"u"?window.requestAnimationFrame(t):-1,No;function Fg(t){No=t}let Vl=()=>Date.now(),Vg=t=>t.current,Gl;function Gg(t){Gl=t}class Qg extends Hl{constructor(e,n){super(),this.update=void 0,this.payload=e.style?Ye({},e,{style:Gl(e.style)}):e,this.update=n,this.attach()}}const Yg=t=>me.fun(t)&&!(t.prototype instanceof c.Component),Wg=t=>c.forwardRef((n,r)=>{const o=Ng(),i=c.useRef(!0),s=c.useRef(null),a=c.useRef(null),u=c.useCallback(h=>{const g=s.current,v=()=>{let p=!1;a.current&&(p=Es.fn(a.current,s.current.getAnimatedValue())),(!a.current||p===!1)&&o()};s.current=new Qg(h,v),g&&g.detach()},[]);c.useEffect(()=>()=>{i.current=!1,s.current&&s.current.detach()},[]),c.useImperativeHandle(r,()=>Vg(a)),u(n);const l=s.current.getValue();l.scrollTop,l.scrollLeft;const f=Jn(l,["scrollTop","scrollLeft"]),d=Yg(t)?void 0:h=>a.current=Ug(h,r);return c.createElement(t,Ye({},f,{ref:d}))});let xr=!1;const mn=new Set,Ql=()=>{if(!xr)return!1;let t=Vl();for(let e of mn){let n=!1;for(let r=0;r<e.configs.length;r++){let o=e.configs[r],i,s;for(let a=0;a<o.animatedValues.length;a++){let u=o.animatedValues[a];if(u.done)continue;let l=o.fromValues[a],f=o.toValues[a],d=u.lastPosition,h=f instanceof xt,g=Array.isArray(o.initialVelocity)?o.initialVelocity[a]:o.initialVelocity;if(h&&(f=f.getValue()),o.immediate){u.setValue(f),u.done=!0;continue}if(typeof l=="string"||typeof f=="string"){u.setValue(f),u.done=!0;continue}if(o.duration!==void 0)d=l+o.easing((t-u.startTime)/o.duration)*(f-l),i=t>=u.startTime+o.duration;else if(o.decay)d=l+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-u.startTime))),i=Math.abs(u.lastPosition-d)<.1,i&&(f=d);else{s=u.lastTime!==void 0?u.lastTime:t,g=u.lastVelocity!==void 0?u.lastVelocity:o.initialVelocity,t>s+64&&(s=t);let v=Math.floor(t-s);for(let m=0;m<v;++m){let b=-o.tension*(d-f),O=-o.friction*g,S=(b+O)/o.mass;g=g+S*1/1e3,d=d+g*1/1e3}let p=o.clamp&&o.tension!==0?l<f?d>f:d<f:!1,w=Math.abs(g)<=o.precision,E=o.tension!==0?Math.abs(f-d)<=o.precision:!0;i=p||w&&E,u.lastVelocity=g,u.lastTime=t}h&&!o.toValues[a].done&&(i=!1),i?(u.value!==f&&(d=f),u.done=!0):n=!0,u.setValue(d),u.lastPosition=d}e.props.onFrame&&(e.values[o.name]=o.interpolation.getValue())}e.props.onFrame&&e.props.onFrame(e.values),n||(mn.delete(e),e.stop(!0))}return mn.size?Fl(Ql):xr=!1,xr},Kg=t=>{mn.has(t)||mn.add(t),xr||(xr=!0,Fl(Ql))},Rg=t=>{mn.has(t)&&mn.delete(t)};function jo(t,e,n){if(typeof t=="function")return t;if(Array.isArray(t))return jo({range:t,output:e,extrapolate:n});if(No&&typeof t.output[0]=="string")return No(t);const r=t,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(l=>l);return l=>{const f=Jg(l,i);return qg(l,i[f],i[f+1],o[f],o[f+1],u,s,a,r.map)}}function qg(t,e,n,r,o,i,s,a,u){let l=u?u(t):t;if(l<e){if(s==="identity")return l;s==="clamp"&&(l=e)}if(l>n){if(a==="identity")return l;a==="clamp"&&(l=n)}return r===o?r:e===n?t<=e?r:o:(e===-1/0?l=-l:n===1/0?l=l-e:l=(l-e)/(n-e),l=i(l),r===-1/0?l=-l:o===1/0?l=l+r:l=l*(o-r)+r,l)}function Jg(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}class _n extends bs{constructor(e,n,r,o){super(),this.calc=void 0,this.payload=e instanceof bs&&!(e instanceof _n)?e.getPayload():Array.isArray(e)?e:[e],this.calc=jo(n,r,o)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,n,r){this.calc=jo(e,n,r)}interpolate(e,n,r){return new _n(this,e,n,r)}}const Xn=(t,e,n)=>t&&new _n(t,e,n),Zg={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};function Yl(t,e){"update"in t?e.add(t):t.getChildren().forEach(n=>Yl(n,e))}class ws extends xt{constructor(e){var n;super(),n=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(r,o){o===void 0&&(o=!0),n.value=r,o&&n.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){this.animatedStyles.size===0&&Yl(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,n,r){return new _n(this,e,n,r)}}class _g extends bs{constructor(e){super(),this.payload=e.map(n=>new ws(n))}setValue(e,n){n===void 0&&(n=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((r,o)=>this.payload[o].setValue(r,n)):this.payload.forEach(r=>r.setValue(e,n))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,n){return new _n(this,e,n)}}let Xg=0,$g=class{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=Xg++}update(e){if(!e)return this;const n=ys(e),r=n.delay,o=r===void 0?0:r,i=n.to,s=Jn(n,["delay","to"]);if(me.arr(i)||me.fun(i))this.queue.push(Ye({},s,{delay:o,to:i}));else if(i){let a={};Object.entries(i).forEach(u=>{let l=u[0],f=u[1];const d=Ye({to:{[l]:f},delay:Zn(o,l)},s),h=a[d.delay]&&a[d.delay].to;a[d.delay]=Ye({},a[d.delay],d,{to:Ye({},h,d.to)})}),this.queue=Object.values(a)}return this.queue=this.queue.sort((a,u)=>a.delay-u.delay),this.diff(s),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(o=>{let i=o.from,s=i===void 0?{}:i,a=o.to,u=a===void 0?{}:a;me.obj(s)&&(this.merged=Ye({},s,this.merged)),me.obj(u)&&(this.merged=Ye({},this.merged,u))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((o,i)=>{let s=o.delay,a=Jn(o,["delay"]);const u=f=>{i===r.length-1&&n===this.guid&&f&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let l=me.arr(a.to)||me.fun(a.to);s?setTimeout(()=>{n===this.guid&&(l?this.runAsync(a,u):this.diff(a).start(u))},s):l?this.runAsync(a,u):this.diff(a).start(u)})}else me.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),Kg(this);return this}stop(e){return this.listeners.forEach(n=>n(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&Rg(this),this}runAsync(e,n){var r=this;e.delay;let o=Jn(e,["delay"]);const i=this.local;let s=Promise.resolve(void 0);if(me.arr(o.to))for(let a=0;a<o.to.length;a++){const u=a,l=Ye({},o,ys(o.to[u]));me.arr(l.config)&&(l.config=l.config[u]),s=s.then(()=>{if(i===this.guid)return new Promise(f=>this.diff(l).start(f))})}else if(me.fun(o.to)){let a=0,u;s=s.then(()=>o.to(l=>{const f=Ye({},o,ys(l));if(me.arr(f.config)&&(f.config=f.config[a]),a++,i===this.guid)return u=new Promise(d=>this.diff(f).start(d))},function(l){return l===void 0&&(l=!0),r.stop(l)}).then(()=>u))}s.then(n)}diff(e){this.props=Ye({},this.props,e);let n=this.props,r=n.from,o=r===void 0?{}:r,i=n.to,s=i===void 0?{}:i,a=n.config,u=a===void 0?{}:a,l=n.reverse,f=n.attach,d=n.reset,h=n.immediate;if(l){var g=[s,o];o=g[0],s=g[1]}this.merged=Ye({},o,this.merged,s),this.hasChanged=!1;let v=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((p,w)=>{let E=w[0],m=w[1],b=p[E]||{};const O=me.num(m),S=me.str(m)&&!m.startsWith("#")&&!/\d/.test(m)&&!zl[m],y=me.arr(m),C=!O&&!y&&!S;let A=me.und(o[E])?m:o[E],P=O||y||S?m:1,M=Zn(u,E);v&&(P=v.animations[E].parent);let x=b.parent,k=b.interpolation,N=Bo(v?P.getPayload():P),z,Q=m;C&&(Q=No({range:[0,1],output:[m,m]})(1));let R=k&&k.getValue();const K=!me.und(x)&&b.animatedValues.some(V=>!V.done),T=!me.equ(Q,R),I=!me.equ(Q,b.previous),D=!me.equ(M,b.config);if(d||I&&T||D){if(O||S)x=k=b.parent||new ws(A);else if(y)x=k=b.parent||new _g(A);else if(C){let V=b.interpolation&&b.interpolation.calc(b.parent.value);V=V!==void 0&&!d?V:A,b.parent?(x=b.parent,x.setValue(0,!1)):x=new ws(0);const H={output:[V,m]};b.interpolation?(k=b.interpolation,b.interpolation.updateConfig(H)):k=x.interpolate(H)}return N=Bo(v?P.getPayload():P),z=Bo(x.getPayload()),d&&!C&&x.setValue(A,!1),this.hasChanged=!0,z.forEach(V=>{V.startPosition=V.value,V.lastPosition=V.value,V.lastVelocity=K?V.lastVelocity:void 0,V.lastTime=K?V.lastTime:void 0,V.startTime=Vl(),V.done=!1,V.animatedStyles.clear()}),Zn(h,E)&&x.setValue(C?P:m,!1),Ye({},p,{[E]:Ye({},b,{name:E,parent:x,interpolation:k,animatedValues:z,toValues:N,previous:Q,config:M,fromValues:Bo(x.getValue()),immediate:Zn(h,E),initialVelocity:vn(M.velocity,0),clamp:vn(M.clamp,!1),precision:vn(M.precision,.01),tension:vn(M.tension,170),friction:vn(M.friction,26),mass:vn(M.mass,1),duration:M.duration,easing:vn(M.easing,V=>V),decay:M.decay})})}else return T?p:(C&&(x.setValue(1,!1),k.updateConfig({output:[Q,Q]})),x.done=!0,this.hasChanged=!0,Ye({},p,{[E]:Ye({},p[E],{previous:Q})}))},this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let p in this.animations)this.interpolations[p]=this.animations[p].interpolation,this.values[p]=this.animations[p].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}};const ev=(t,e)=>{const n=c.useRef(!1),r=c.useRef(),o=me.fun(e),i=c.useMemo(()=>{r.current&&(r.current.map(d=>d.destroy()),r.current=void 0);let f;return[new Array(t).fill().map((d,h)=>{const g=new $g,v=o?Zn(e,h,g):e[h];return h===0&&(f=v.ref),g.update(v),f||g.start(),g}),f]},[t]),s=i[0],a=i[1];r.current=s,c.useImperativeHandle(a,()=>({start:()=>Promise.all(r.current.map(f=>new Promise(d=>f.start(d)))),stop:f=>r.current.forEach(d=>d.stop(f)),get controllers(){return r.current}}));const u=c.useMemo(()=>f=>r.current.map((d,h)=>{d.update(o?Zn(f,h,d):f[h]),a||d.start()}),[t]);c.useEffect(()=>{n.current?o||u(e):a||r.current.forEach(f=>f.start())}),c.useEffect(()=>(n.current=!0,()=>r.current.forEach(f=>f.destroy())),[]);const l=r.current.map(f=>f.getValues());return o?[l,u,f=>r.current.forEach(d=>d.pause(f))]:l},tv=t=>{const e=me.fun(t),n=ev(1,e?t:[t]),r=n[0],o=n[1],i=n[2];return e?[r[0],o,i]:r};class nv extends Hl{constructor(e){e===void 0&&(e={}),super(),e.transform&&!(e.transform instanceof xt)&&(e=Es.transform(e)),this.payload=e}}const Uo={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ot="[-+]?\\d*\\.?\\d+",Ho=Ot+"%";function zo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const rv=new RegExp("rgb"+zo(Ot,Ot,Ot)),ov=new RegExp("rgba"+zo(Ot,Ot,Ot,Ot)),iv=new RegExp("hsl"+zo(Ot,Ho,Ho)),sv=new RegExp("hsla"+zo(Ot,Ho,Ho,Ot)),av=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,lv=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,uv=/^#([0-9a-fA-F]{6})$/,cv=/^#([0-9a-fA-F]{8})$/;function fv(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=uv.exec(t))?parseInt(e[1]+"ff",16)>>>0:Uo.hasOwnProperty(t)?Uo[t]:(e=rv.exec(t))?($n(e[1])<<24|$n(e[2])<<16|$n(e[3])<<8|255)>>>0:(e=ov.exec(t))?($n(e[1])<<24|$n(e[2])<<16|$n(e[3])<<8|Rl(e[4]))>>>0:(e=av.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=cv.exec(t))?parseInt(e[1],16)>>>0:(e=lv.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=iv.exec(t))?(Wl(Kl(e[1]),Fo(e[2]),Fo(e[3]))|255)>>>0:(e=sv.exec(t))?(Wl(Kl(e[1]),Fo(e[2]),Fo(e[3]))|Rl(e[4]))>>>0:null}function Cs(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Wl(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,o=2*n-r,i=Cs(o,r,t+1/3),s=Cs(o,r,t),a=Cs(o,r,t-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function $n(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function Kl(t){return(parseFloat(t)%360+360)%360/360}function Rl(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Fo(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function ql(t){let e=fv(t);if(e===null)return t;e=e||0;let n=(e&4278190080)>>>24,r=(e&16711680)>>>16,o=(e&65280)>>>8,i=(e&255)/255;return`rgba(${n}, ${r}, ${o}, ${i})`}const Vo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,dv=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,hv=new RegExp(`(${Object.keys(Uo).join("|")})`,"g"),pv=t=>{const e=t.output.map(o=>o.replace(dv,ql)).map(o=>o.replace(hv,ql)),n=e[0].match(Vo).map(()=>[]);e.forEach(o=>{o.match(Vo).forEach((i,s)=>n[s].push(+i))});const r=e[0].match(Vo).map((o,i)=>jo(Ye({},t,{output:n[i]})));return o=>{let i=0;return e[0].replace(Vo,()=>r[i++](o)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(s,a,u,l,f)=>`rgba(${Math.round(a)}, ${Math.round(u)}, ${Math.round(l)}, ${f})`)}};let Or={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const gv=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),vv=["Webkit","Ms","Moz","O"];Or=Object.keys(Or).reduce((t,e)=>(vv.forEach(n=>t[gv(n,e)]=t[e]),t),Or);function mv(t,e,n){return e==null||typeof e=="boolean"||e===""?"":!n&&typeof e=="number"&&e!==0&&!(Or.hasOwnProperty(t)&&Or[t])?e+"px":(""+e).trim()}const Jl={};Gg(t=>new nv(t)),Fg(pv),zg(Uo),Hg((t,e)=>{if(t.nodeType&&t.setAttribute!==void 0){const o=e.style,i=e.children,s=e.scrollTop,a=e.scrollLeft,u=Jn(e,["style","children","scrollTop","scrollLeft"]),l=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter";s!==void 0&&(t.scrollTop=s),a!==void 0&&(t.scrollLeft=a),i!==void 0&&(t.textContent=i);for(let f in o)if(o.hasOwnProperty(f)){var n=f.indexOf("--")===0,r=mv(f,o[f],n);f==="float"&&(f="cssFloat"),n?t.style.setProperty(f,r):t.style[f]=r}for(let f in u){const d=l?f:Jl[f]||(Jl[f]=f.replace(/([A-Z])/g,h=>"-"+h.toLowerCase()));typeof t.getAttribute(d)<"u"&&t.setAttribute(d,u[f])}return}else return!1},t=>t);const yv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],bv=Bg(Wg,!1)(yv);function Zl(t,e){return t.map(function(n,r){return n+e[r]})}function _l(t,e){return t.map(function(n,r){return n-e[r]})}function Ss(t){return Math.hypot.apply(Math,t)}function Ev(t,e,n){var r=Ss(e),o=r===0?0:1/r,i=n===0?0:1/n,s=i*r,a=e.map(function(f){return i*f}),u=e.map(function(f){return o*f}),l=Ss(t);return{velocities:a,velocity:s,distance:l,direction:u}}function Ls(t){return Math.sign?Math.sign(t):+(t>0)-+(t<0)||+t}function wv(t,e,n){return Math.max(e,Math.min(t,n))}function Cv(t,e){return Math.pow(t,e*5)}function Xl(t,e,n){return e===0||Math.abs(e)===1/0?Cv(t,n):t*e*n/(e+n*t)}function Mr(t,e,n,r){return r===void 0&&(r=.15),r===0?wv(t,e,n):t<e?-Xl(e-t,n-e,r)+e:t>n?+Xl(t-n,n-e,r)+n:t}function $l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Sv(t,e,n){return e&&$l(t.prototype,e),n&&$l(t,n),t}function ut(){return ut=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ut.apply(this,arguments)}function eu(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Lv(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Go(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Av(t,e){if(t){if(typeof t=="string")return tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tu(t,e)}}function tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Qo(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=Av(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
40
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=t[Symbol.iterator](),n.next.bind(n)}function nu(){}function ru(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?nu:e.length===1?e[0]:function(){for(var r,o=Qo(e),i;!(i=o()).done;){var s=i.value;r=s.apply(this,arguments)||r}return r}}function tn(t,e){if(t===void 0){if(e===void 0)throw new Error("Must define fallback value if undefined is expected");t=e}return Array.isArray(t)?t:[t,t]}function Yo(t){if(typeof t=="function"){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n)}else return t}function As(t,e){t===void 0&&(t={});for(var n={},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,t[s],s,t);break;case"object":n[s]=As(t[s],a);break;case"boolean":a&&(n[s]=t[s]);break}}return n}var xv=180,Ov=.15,Mv=.5,Pv=60,kv={threshold:function(e){return e===void 0&&(e=0),tn(e)},rubberband:function(e){switch(e===void 0&&(e=0),e){case!0:return tn(Ov);case!1:return tn(0);default:return tn(e)}},enabled:function(e){return e===void 0&&(e=!0),e},triggerAllEvents:function(e){return e===void 0&&(e=!1),e},initial:function(e){return e===void 0&&(e=0),typeof e=="function"?e:tn(e)}},ou=ut({},kv,{axis:!0,lockDirection:function(e){return e===void 0&&(e=!1),e},bounds:function(e){if(e===void 0&&(e={}),typeof e=="function")return function(d){return ou.bounds(e(d))};var n=e,r=n.left,o=r===void 0?-1/0:r,i=n.right,s=i===void 0?1/0:i,a=n.top,u=a===void 0?-1/0:a,l=n.bottom,f=l===void 0?1/0:l;return[[o,s],[u,f]]}}),Iv=typeof window<"u"&&window.document&&window.document.createElement,Dv={enabled:function(e){return e===void 0&&(e=!0),e},domTarget:!0,window:function(t){function e(n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return t===void 0&&(t=Iv?window:void 0),t}),eventOptions:function(e){var n=e===void 0?{}:e,r=n.passive,o=r===void 0?!0:r,i=n.capture,s=i===void 0?!1:i;return{passive:o,capture:s}}},Tv=ut({},ou,{threshold:function(e,n,r){var o=r.filterTaps,i=o===void 0?!1:o,s=r.lockDirection,a=s===void 0?!1:s,u=r.axis,l=u===void 0?void 0:u,f=tn(e,i?3:a||l?1:0);return this.filterTaps=i||f[0]+f[1]>0,f},swipeVelocity:function(e){return e===void 0&&(e=Mv),tn(e)},swipeDistance:function(e){return e===void 0&&(e=Pv),tn(e)},delay:function(e){switch(e===void 0&&(e=0),e){case!0:return xv;case!1:return 0;default:return e}}});function Bv(t){return t===void 0&&(t={}),As(t,Dv)}function Nv(t){return t===void 0&&(t={}),As(t,Tv)}function jv(t){var e=t.domTarget,n=t.eventOptions,r=t.window,o=t.enabled,i=Lv(t,["domTarget","eventOptions","window","enabled"]),s=Bv({domTarget:e,eventOptions:n,window:r,enabled:o});return s.drag=Nv(i),s}function Pr(t){return ut({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:nu,canceled:!1,memo:void 0,args:void 0},t)}function iu(){var t={hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},e=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),n=Pr({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),i=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:t,drag:e,pinch:n,wheel:r,move:o,scroll:i}}var yn=new Map,Uv=function(){function t(n,r){var o=this;r===void 0&&(r=[]),this.controller=n,this.args=r,this.debounced=!0,this.setTimeout=function(i,s){var a;s===void 0&&(s=140),clearTimeout(o.controller.timeouts[o.stateKey]);for(var u=arguments.length,l=new Array(u>2?u-2:0),f=2;f<u;f++)l[f-2]=arguments[f];o.controller.timeouts[o.stateKey]=(a=window).setTimeout.apply(a,[i,s].concat(l))},this.clearTimeout=function(){clearTimeout(o.controller.timeouts[o.stateKey])},this.fireGestureHandler=function(i){if(i===void 0&&(i=!1),o.state._blocked)return o.debounced||(o.state._active=!1,o.clean()),null;if(!i&&!o.state.intentional&&!o.config.triggerAllEvents)return null;if(o.state.intentional){var s=o.state.active,a=o.state._active;o.state.active=a,o.state.first=a&&!s,o.state.last=s&&!a,o.controller.state.shared[o.ingKey]=a}var u=ut({},o.controller.state.shared,o.state,o.mapStateValues(o.state)),l=o.handler(u);return o.state.memo=l!==void 0?l:o.state.memo,o.state._active||o.clean(),u}}var e=t.prototype;return e.updateSharedState=function(r){Object.assign(this.controller.state.shared,r)},e.updateGestureState=function(r){Object.assign(this.state,r)},e.checkIntentionality=function(r,o){return{_intentional:r,_blocked:!1}},e.getMovement=function(r){var o=this.config,i=o.initial,s=o.bounds,a=o.rubberband,u=o.threshold,l=this.state,f=l._bounds,d=l._initial,h=l._active,g=l._intentional,v=l.lastOffset,p=l.movement,w=this.getInternalMovement(r,this.state),E=g[0]===!1?su(w[0],u[0]):g[0],m=g[1]===!1?su(w[1],u[1]):g[1],b=this.checkIntentionality([E,m],w);if(b._blocked)return ut({},b,{_movement:w,delta:[0,0]});var O=b._intentional,S=w,y,C;if(O[0]!==!1&&g[0]===!1&&(C=Yo(i,this.state),y=Yo(s,this.state),d[0]=C[0],f[0]=y[0]),O[1]!==!1&&g[1]===!1){var A,P;C=(A=C)!=null?A:Yo(i,this.state),y=(P=y)!=null?P:Yo(s,this.state),d[1]=C[1],f[1]=y[1]}var M=[O[0]!==!1?w[0]-O[0]:d[0],O[1]!==!1?w[1]-O[1]:d[1]],x=Zl(M,v),k=h?a:[0,0];return M=au(f,Zl(M,d),k),ut({},b,{intentional:O[0]!==!1||O[1]!==!1,_initial:d,_movement:S,movement:M,values:r,offset:au(f,x,k),delta:_l(M,p)})},e.clean=function(){this.clearTimeout()},Sv(t,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),t}();function su(t,e){return Math.abs(t)>=e?Ls(t)*e:!1}function au(t,e,n){var r=e[0],o=e[1],i=n[0],s=n[1],a=t[0],u=a[0],l=a[1],f=t[1],d=f[0],h=f[1];return[Mr(r,u,l,i),Mr(o,d,h,s)]}function xs(t,e,n){var r=t.state,o=t.args,i=e.timeStamp,s=e.type,a=r.values,u=n?0:i-r.startTime;return{_lastEventType:s,event:e,timeStamp:i,elapsedTime:u,args:o,previous:a}}function Hv(t,e,n){var r=t.state.offset,o=n.timeStamp;return ut({},iu()[t.stateKey],{_active:!0,values:e,initial:e,offset:r,lastOffset:r,startTime:o})}function zv(t,e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.call.apply(t,[this,ut({},e,{event:n})].concat(o))}}var Fv=function(e){var n=this;this.classes=e,this.bind=function(){for(var r={},o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];for(var a=Qo(n.classes),u;!(u=a()).done;){var l=u.value;new l(n,i).addBindings(r)}for(var f=0,d=Object.entries(n.nativeRefs);f<d.length;f++){var h=d[f],g=h[0],v=h[1];Os(r,g,zv(v,ut({},n.state.shared,{args:i})))}return n.config.domTarget?Yv(n,r):Wv(n,r)},this.effect=function(){return n.config.domTarget&&n.bind(),n.clean},this.clean=function(){var r=uu(n.config),o=n.config.eventOptions;r&&kr(r,lu(n.domListeners),o),Object.values(n.timeouts).forEach(clearTimeout),Vv(n)},this.state=iu(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Vv(t){var e=t.config,n=e.window,r=e.eventOptions,o=t.windowListeners;if(n){for(var i in o){var s=o[i];kr(n,s,r)}t.windowListeners={}}}function Gv(t,e){var n=t.config,r=t.windowListeners;n.window&&(kr(n.window,r[e],n.eventOptions),delete r[e])}function Qv(t,e,n){var r=t.config,o=t.windowListeners;n===void 0&&(n=[]),r.window&&(kr(r.window,o[e],r.eventOptions),cu(r.window,o[e]=n,r.eventOptions))}function Yv(t,e){var n=t.config,r=t.domListeners,o=uu(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;kr(o,lu(r),i);for(var s=0,a=Object.entries(e);s<a.length;s++){var u=a[s],l=u[0],f=u[1],d=l.slice(2).toLowerCase();r.push([d,ru.apply(void 0,f)])}cu(o,r,i)}function Wv(t,e){for(var n=t.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(e);i<s.length;i++){var a=s[i],u=a[0],l=a[1],f=Array.isArray(l)?l:[l],d=u+o;r[d]=ru.apply(void 0,f)}return r}function lu(t){return t===void 0&&(t=[]),t.splice(0,t.length)}function uu(t){var e=t.domTarget;return e&&"current"in e?e.current:e}function Os(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}function cu(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Qo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.addEventListener(s,a,n)}}function kr(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Qo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.removeEventListener(s,a,n)}}function Kv(t,e,n){n===void 0&&(n={});var r=qv(t),o=c.useMemo(function(){return new Fv(r)},[]);return o.config=e,o.handlers=t,o.nativeRefs=n,c.useEffect(o.effect,[]),o.config.domTarget?Rv:o.bind}function Rv(){}function qv(t){var e=new Set;return t.drag&&e.add(yn.get("drag")),t.wheel&&e.add(yn.get("wheel")),t.scroll&&e.add(yn.get("scroll")),t.move&&e.add(yn.get("move")),t.pinch&&e.add(yn.get("pinch")),t.hover&&e.add(yn.get("hover")),e}var Jv=function(t){eu(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.getInternalMovement=function(o,i){return _l(o,i.initial)},n.checkIntentionality=function(o,i){if(o[0]===!1&&o[1]===!1)return{_intentional:o,axis:this.state.axis};var s=i.map(Math.abs),a=s[0],u=s[1],l=this.state.axis||(a>u?"x":a<u?"y":void 0);return!this.config.axis&&!this.config.lockDirection?{_intentional:o,_blocked:!1,axis:l}:l?this.config.axis&&l!==this.config.axis?{_intentional:o,_blocked:!0,axis:l}:(o[l==="x"?1:0]=!1,{_intentional:o,_blocked:!1,axis:l}):{_intentional:[!1,!1],_blocked:!1,axis:l}},n.getKinematics=function(o,i){var s=this.getMovement(o);if(!s._blocked){var a=i.timeStamp-this.state.timeStamp;Object.assign(s,Ev(s.movement,s.delta,a))}return s},n.mapStateValues=function(o){return{xy:o.values,vxvy:o.velocities}},e}(Uv);function fu(t){if("touches"in t){var e=t.targetTouches,n=t.changedTouches;return e.length>0?e:n}return null}function du(t){var e="buttons"in t?t.buttons:0,n=fu(t),r=n&&n.length||0,o=r>0||e>0,i=t.shiftKey,s=t.altKey,a=t.metaKey,u=t.ctrlKey;return{touches:r,down:o,buttons:e,shiftKey:i,altKey:s,metaKey:a,ctrlKey:u}}function hu(t){var e=fu(t),n=e?e[0]:t,r=n.clientX,o=n.clientY;return[r,o]}var Zv=3,_v=220,Xv=function(t){eu(e,t);function e(){var r;return r=t.apply(this,arguments)||this,r.ingKey="dragging",r.stateKey="drag",r.onDragStart=function(o){!r.enabled||r.state._active||(Qv(r.controller,r.stateKey,[["pointermove",r.onDragChange],["pointerup",r.onDragEnd],["pointercancel",r.onDragEnd]]),r.updateGestureState({_pointerId:o.pointerId}),r.config.delay>0?(r.state._delayedEvent=!0,"persist"in o&&typeof o.persist=="function"&&o.persist(),r.setTimeout(r.startDrag.bind(Go(r)),r.config.delay,o)):r.startDrag(o))},r.onDragChange=function(o){if(!r.state.canceled&&o.pointerId===r.state._pointerId){if(!r.state._active){r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(o));return}var i=du(o);if(!i.down){r.onDragEnd(o);return}r.updateSharedState(i);var s=hu(o),a=r.getKinematics(s,o),u=xs(Go(r),o),l=r.state._isTap,f=Ss(a._movement);l&&f>=Zv&&(l=!1),r.updateGestureState(ut({},u,a,{_isTap:l})),r.fireGestureHandler()}},r.onDragEnd=function(o){if(o.pointerId===r.state._pointerId){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var i=r.state._isTap,s=r.state.velocities,a=s[0],u=s[1],l=r.state.movement,f=l[0],d=l[1],h=r.state._intentional,g=h[0],v=h[1],p=r.config.swipeVelocity,w=p[0],E=p[1],m=r.config.swipeDistance,b=m[0],O=m[1],S=ut({},xs(Go(r),o),r.getMovement(r.state.values)),y=[0,0];S.elapsedTime<_v&&(g!==!1&&Math.abs(a)>w&&Math.abs(f)>b&&(y[0]=Ls(a)),v!==!1&&Math.abs(u)>E&&Math.abs(d)>O&&(y[1]=Ls(u))),r.updateGestureState(ut({},S,{tap:i,swipe:y})),r.fireGestureHandler(i===!0)}},r.clean=function(){t.prototype.clean.call(Go(r)),r.state._delayedEvent=!1,Gv(r.controller,r.stateKey)},r.onCancel=function(){r.state.canceled||(r.updateGestureState({canceled:!0}),r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame(function(){return r.fireGestureHandler()}))},r.onClick=function(o){r.state._isTap||o.stopPropagation()},r}var n=e.prototype;return n.startDrag=function(o){var i=hu(o);this.updateSharedState(du(o)),this.updateGestureState(ut({},Hv(this,i,o),xs(this,o,!0),{_pointerId:o.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(i)),this.fireGestureHandler()},n.addBindings=function(o){if(Os(o,"onPointerDown",this.onDragStart),this.config.filterTaps){var i=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";Os(o,i,this.onClick)}},e}(Jv);function $v(t,e){var n,r=[],o,i=!1;function s(){for(var a=arguments.length,u=new Array(a),l=0;l<a;l++)u[l]=arguments[l];return i&&n===this&&e(u,r)||(o=t.apply(this,u),i=!0,n=this,r=u),o}return s}function Wo(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,o;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Wo(t[r],e[r]))return!1;return!0}var i;if(typeof Map=="function"&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!Wo(r.value[1],e.get(r.value[0])))return!1;return!0}if(typeof Set=="function"&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(typeof Element<"u"&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!(o[r]==="_owner"&&t.$$typeof)&&!Wo(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}function em(t,e){try{return Wo(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}function tm(t,e){e===void 0&&(e={}),yn.set("drag",Xv);var n=c.useRef();return n.current||(n.current=$v(jv,em)),Kv({drag:t},n.current(e))}/*!
|
|
39
41
|
* tabbable 5.3.3
|
|
40
42
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
41
|
-
*/var
|
|
43
|
+
*/var pu=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Ko=pu.join(","),gu=typeof Element>"u",bn=gu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ms=!gu&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},vu=function(e,n,r){var o=Array.prototype.slice.apply(e.querySelectorAll(Ko));return n&&bn.call(e,Ko)&&o.unshift(e),o=o.filter(r),o},mu=function t(e,n,r){for(var o=[],i=Array.from(e);i.length;){var s=i.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),u=a.length?a:s.children,l=t(u,!0,r);r.flatten?o.push.apply(o,l):o.push({scope:s,candidates:l})}else{var f=bn.call(s,Ko);f&&r.filter(s)&&(n||!e.includes(s))&&o.push(s);var d=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),h=!r.shadowRootFilter||r.shadowRootFilter(s);if(d&&h){var g=t(d===!0?s.children:d.children,!0,r);r.flatten?o.push.apply(o,g):o.push({scope:s,candidates:g})}else i.unshift.apply(i,s.children)}}return o},yu=function(e,n){return e.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},nm=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},bu=function(e){return e.tagName==="INPUT"},rm=function(e){return bu(e)&&e.type==="hidden"},om=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},im=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},sm=function(e){if(!e.name)return!0;var n=e.form||Ms(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=r(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=im(o,e.form);return!i||i===e},am=function(e){return bu(e)&&e.type==="radio"},lm=function(e){return am(e)&&!sm(e)},Eu=function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},um=function(e,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=bn.call(e,"details>summary:first-of-type"),s=i?e.parentElement:e;if(bn.call(s,"details:not([open]) *"))return!0;var a=Ms(e).host,u=(a==null?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(!r||r==="full"){if(typeof o=="function"){for(var l=e;e;){var f=e.parentElement,d=Ms(e);if(f&&!f.shadowRoot&&o(f)===!0)return Eu(e);e.assignedSlot?e=e.assignedSlot:!f&&d!==e.ownerDocument?e=d.host:e=f}e=l}if(u)return!e.getClientRects().length}else if(r==="non-zero-area")return Eu(e);return!1},cm=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return bn.call(n,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}n=n.parentElement}return!1},Ro=function(e,n){return!(n.disabled||rm(n)||um(n,e)||om(n)||cm(n))},Ps=function(e,n){return!(lm(n)||yu(n)<0||!Ro(e,n))},fm=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},dm=function t(e){var n=[],r=[];return e.forEach(function(o,i){var s=!!o.scope,a=s?o.scope:o,u=yu(a,s),l=s?t(o.candidates):a;u===0?s?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:u,item:o,isScope:s,content:l})}),r.sort(nm).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},hm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=mu([e],n.includeContainer,{filter:Ps.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:fm}):r=vu(e,n.includeContainer,Ps.bind(null,n)),dm(r)},pm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=mu([e],n.includeContainer,{filter:Ro.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=vu(e,n.includeContainer,Ro.bind(null,n)),r},qo=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return bn.call(e,Ko)===!1?!1:Ps(n,e)},gm=pu.concat("iframe").join(","),ks=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return bn.call(e,gm)===!1?!1:Ro(n,e)};/*!
|
|
42
44
|
* focus-trap 6.9.4
|
|
43
45
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
44
|
-
*/function hu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function gu(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?hu(Object(n),!0).forEach(function(r){om(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function om(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vu=function(){var t=[];return{activateTrap:function(n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}}}(),im=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},sm=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},am=function(e){return e.key==="Tab"||e.keyCode===9},mu=function(e){return setTimeout(e,0)},yu=function(e,n){var r=-1;return e.every(function(o,i){return n(o)?(r=i,!1):!0}),r},Pr=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,r):e},Vo=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},lm=function(e,n){var r=(n==null?void 0:n.document)||document,o=gu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(v,x,w){return v&&v[x]!==void 0?v[x]:o[w||x]},l=function(v){return i.containerGroups.findIndex(function(x){var w=x.container,M=x.tabbableNodes;return w.contains(v)||M.find(function(O){return O===v})})},u=function(v){var x=o[v];if(typeof x=="function"){for(var w=arguments.length,M=new Array(w>1?w-1:0),O=1;O<w;O++)M[O-1]=arguments[O];x=x.apply(void 0,M)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat(v,"` was specified but was not a node, or did not return a node"))}var P=x;if(typeof x=="string"&&(P=r.querySelector(x),!P))throw new Error("`".concat(v,"` as selector refers to no known node"));return P},f=function(){var v=u("initialFocus");if(v===!1)return!1;if(v===void 0)if(l(r.activeElement)>=0)v=r.activeElement;else{var x=i.tabbableGroups[0],w=x&&x.firstTabbableNode;v=w||u("fallbackFocus")}if(!v)throw new Error("Your focus-trap needs to have at least one focusable element");return v},d=function(){if(i.containerGroups=i.containers.map(function(v){var x=tm(v,o.tabbableOptions),w=nm(v,o.tabbableOptions);return{container:v,tabbableNodes:x,focusableNodes:w,firstTabbableNode:x.length>0?x[0]:null,lastTabbableNode:x.length>0?x[x.length-1]:null,nextTabbableNode:function(O){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,T=w.findIndex(function(z){return z===O});if(!(T<0))return P?w.slice(T+1).find(function(z){return Go(z,o.tabbableOptions)}):w.slice(0,T).reverse().find(function(z){return Go(z,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(v){return v.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function E(v){if(v!==!1&&v!==r.activeElement){if(!v||!v.focus){E(f());return}v.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=v,im(v)&&v.select()}},g=function(v){var x=u("setReturnFocus",v);return x||(x===!1?!1:v)},m=function(v){var x=Vo(v);if(!(l(x)>=0)){if(Pr(o.clickOutsideDeactivates,v)){s.deactivate({returnFocus:o.returnFocusOnDeactivate&&!Ps(x,o.tabbableOptions)});return}Pr(o.allowOutsideClick,v)||v.preventDefault()}},h=function(v){var x=Vo(v),w=l(x)>=0;w||x instanceof Document?w&&(i.mostRecentlyFocusedNode=x):(v.stopImmediatePropagation(),p(i.mostRecentlyFocusedNode||f()))},S=function(v){var x=Vo(v);d();var w=null;if(i.tabbableGroups.length>0){var M=l(x),O=M>=0?i.containerGroups[M]:void 0;if(M<0)v.shiftKey?w=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:w=i.tabbableGroups[0].firstTabbableNode;else if(v.shiftKey){var P=yu(i.tabbableGroups,function(G){var W=G.firstTabbableNode;return x===W});if(P<0&&(O.container===x||Ps(x,o.tabbableOptions)&&!Go(x,o.tabbableOptions)&&!O.nextTabbableNode(x,!1))&&(P=M),P>=0){var T=P===0?i.tabbableGroups.length-1:P-1,z=i.tabbableGroups[T];w=z.lastTabbableNode}}else{var Q=yu(i.tabbableGroups,function(G){var W=G.lastTabbableNode;return x===W});if(Q<0&&(O.container===x||Ps(x,o.tabbableOptions)&&!Go(x,o.tabbableOptions)&&!O.nextTabbableNode(x))&&(Q=M),Q>=0){var K=Q===i.tabbableGroups.length-1?0:Q+1,J=i.tabbableGroups[K];w=J.firstTabbableNode}}}else w=u("fallbackFocus");w&&(v.preventDefault(),p(w))},C=function(v){if(sm(v)&&Pr(o.escapeDeactivates,v)!==!1){v.preventDefault(),s.deactivate();return}if(am(v)){S(v);return}},b=function(v){var x=Vo(v);l(x)>=0||Pr(o.clickOutsideDeactivates,v)||Pr(o.allowOutsideClick,v)||(v.preventDefault(),v.stopImmediatePropagation())},y=function(){if(i.active)return vu.activateTrap(s),i.delayInitialFocusTimer=o.delayInitialFocus?mu(function(){p(f())}):p(f()),r.addEventListener("focusin",h,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",C,{capture:!0,passive:!1}),s},A=function(){if(i.active)return r.removeEventListener("focusin",h,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",C,!0),s};return s={get active(){return i.active},get paused(){return i.paused},activate:function(v){if(i.active)return this;var x=a(v,"onActivate"),w=a(v,"onPostActivate"),M=a(v,"checkCanFocusTrap");M||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,x&&x();var O=function(){M&&d(),y(),w&&w()};return M?(M(i.containers.concat()).then(O,O),this):(O(),this)},deactivate:function(v){if(!i.active)return this;var x=gu({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},v);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,A(),i.active=!1,i.paused=!1,vu.deactivateTrap(s);var w=a(x,"onDeactivate"),M=a(x,"onPostDeactivate"),O=a(x,"checkCanReturnFocus"),P=a(x,"returnFocus","returnFocusOnDeactivate");w&&w();var T=function(){mu(function(){P&&p(g(i.nodeFocusedBeforeActivation)),M&&M()})};return P&&O?(O(g(i.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,A(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,d(),y(),this)},updateContainerElements:function(v){var x=[].concat(v).filter(Boolean);return i.containers=x.map(function(w){return typeof w=="string"?r.querySelector(w):w}),i.active&&d(),this}},s.updateContainerElements(e),s};function um(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}else return Array.from(t)}var ks=!1;if(typeof window<"u"){var bu={get passive(){ks=!0}};window.addEventListener("testPassive",null,bu),window.removeEventListener("testPassive",null,bu)}var Eu=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),tn=[],Qo=!1,wu=-1,kr=void 0,Ir=void 0,Cu=function(e){return tn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},Yo=function(e){var n=e||window.event;return Cu(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},cm=function(e){if(Ir===void 0){var n=!!e&&e.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Ir=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}kr===void 0&&(kr=document.body.style.overflow,document.body.style.overflow="hidden")},fm=function(){Ir!==void 0&&(document.body.style.paddingRight=Ir,Ir=void 0),kr!==void 0&&(document.body.style.overflow=kr,kr=void 0)},dm=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},pm=function(e,n){var r=e.targetTouches[0].clientY-wu;return Cu(e.target)?!1:n&&n.scrollTop===0&&r>0||dm(n)&&r<0?Yo(e):(e.stopPropagation(),!0)},hm=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!tn.some(function(o){return o.targetElement===e})){var r={targetElement:e,options:n||{}};tn=[].concat(um(tn),[r]),Eu?(e.ontouchstart=function(o){o.targetTouches.length===1&&(wu=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&pm(o,e)},Qo||(document.addEventListener("touchmove",Yo,ks?{passive:!1}:void 0),Qo=!0)):cm(n)}},gm=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}tn=tn.filter(function(n){return n.targetElement!==e}),Eu?(e.ontouchstart=null,e.ontouchmove=null,Qo&&tn.length===0&&(document.removeEventListener("touchmove",Yo,ks?{passive:!1}:void 0),Qo=!1)):tn.length||fm()},yn=[],vm=function(){return yn.some(function(t){return t.activeTargets.length>0})},mm=function(){return yn.some(function(t){return t.skippedTargets.length>0})},Su="ResizeObserver loop completed with undelivered notifications.",ym=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:Su}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=Su),window.dispatchEvent(t)},Dr;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Dr||(Dr={}));var bn=function(t){return Object.freeze(t)},bm=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,bn(this)}return t}(),Lu=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,bn(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,a=e.left,l=e.width,u=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:a,width:l,height:u}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Is=function(t){return t instanceof SVGElement&&"getBBox"in t},xu=function(t){if(Is(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},Au=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Em=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Tr=typeof window<"u"?window:{},Wo=new WeakMap,Ou=/auto|scroll/,wm=/^tb|vertical/,Cm=/msie|trident/i.test(Tr.navigator&&Tr.navigator.userAgent),It=function(t){return parseFloat(t||"0")},Xn=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new bm((n?e:t)||0,(n?t:e)||0)},Mu=bn({devicePixelContentBoxSize:Xn(),borderBoxSize:Xn(),contentBoxSize:Xn(),contentRect:new Lu(0,0,0,0)}),Pu=function(t,e){if(e===void 0&&(e=!1),Wo.has(t)&&!e)return Wo.get(t);if(xu(t))return Wo.set(t,Mu),Mu;var n=getComputedStyle(t),r=Is(t)&&t.ownerSVGElement&&t.getBBox(),o=!Cm&&n.boxSizing==="border-box",i=wm.test(n.writingMode||""),s=!r&&Ou.test(n.overflowY||""),a=!r&&Ou.test(n.overflowX||""),l=r?0:It(n.paddingTop),u=r?0:It(n.paddingRight),f=r?0:It(n.paddingBottom),d=r?0:It(n.paddingLeft),p=r?0:It(n.borderTopWidth),g=r?0:It(n.borderRightWidth),m=r?0:It(n.borderBottomWidth),h=r?0:It(n.borderLeftWidth),S=d+u,C=l+f,b=h+g,y=p+m,A=a?t.offsetHeight-y-t.clientHeight:0,E=s?t.offsetWidth-b-t.clientWidth:0,v=o?S+b:0,x=o?C+y:0,w=r?r.width:It(n.width)-v-E,M=r?r.height:It(n.height)-x-A,O=w+S+E+b,P=M+C+A+y,T=bn({devicePixelContentBoxSize:Xn(Math.round(w*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Xn(O,P,i),contentBoxSize:Xn(w,M,i),contentRect:new Lu(d,l,w,M)});return Wo.set(t,T),T},ku=function(t,e,n){var r=Pu(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case Dr.DEVICE_PIXEL_CONTENT_BOX:return s;case Dr.BORDER_BOX:return o;default:return i}},Sm=function(){function t(e){var n=Pu(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=bn([n.borderBoxSize]),this.contentBoxSize=bn([n.contentBoxSize]),this.devicePixelContentBoxSize=bn([n.devicePixelContentBoxSize])}return t}(),Iu=function(t){if(xu(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Lm=function(){var t=1/0,e=[];yn.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(u){var f=new Sm(u.target),d=Iu(u.target);a.push(f),u.lastReportedSize=ku(u.target,u.observedBox),d<t&&(t=d)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var o=r[n];o()}return t},Du=function(t){yn.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(Iu(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},xm=function(){var t=0;for(Du(t);vm();)t=Lm(),Du(t);return mm()&&ym(),t>0},Ds,Tu=[],Am=function(){return Tu.splice(0).forEach(function(t){return t()})},Om=function(t){if(!Ds){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Am()}).observe(n,r),Ds=function(){n.textContent="".concat(e?e--:e++)}}Tu.push(t),Ds()},Mm=function(t){Om(function(){requestAnimationFrame(t)})},Ko=0,Pm=function(){return!!Ko},km=250,Im={attributes:!0,characterData:!0,childList:!0,subtree:!0},Bu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Nu=function(t){return t===void 0&&(t=0),Date.now()+t},Ts=!1,Dm=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=km),!Ts){Ts=!0;var r=Nu(e);Mm(function(){var o=!1;try{o=xm()}finally{if(Ts=!1,e=r-Nu(),!Pm())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Im)};document.body?n():Tr.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Bu.forEach(function(n){return Tr.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Bu.forEach(function(n){return Tr.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Bs=new Dm,ju=function(t){!Ko&&t>0&&Bs.start(),Ko+=t,!Ko&&Bs.stop()},Tm=function(t){return!Is(t)&&!Em(t)&&getComputedStyle(t).display==="inline"},Bm=function(){function t(e,n){this.target=e,this.observedBox=n||Dr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=ku(this.target,this.observedBox,!0);return Tm(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Nm=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Ro=new WeakMap,Uu=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},qo=function(){function t(){}return t.connect=function(e,n){var r=new Nm(e,n);Ro.set(e,r)},t.observe=function(e,n,r){var o=Ro.get(e),i=o.observationTargets.length===0;Uu(o.observationTargets,n)<0&&(i&&yn.push(o),o.observationTargets.push(new Bm(n,r&&r.box)),ju(1),Bs.schedule())},t.unobserve=function(e,n){var r=Ro.get(e),o=Uu(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&yn.splice(yn.indexOf(r),1),r.observationTargets.splice(o,1),ju(-1))},t.disconnect=function(e){var n=this,r=Ro.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),jm=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");qo.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Au(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");qo.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Au(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");qo.unobserve(this,e)},t.prototype.disconnect=function(){qo.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();function ot(){return ot=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ot.apply(this,arguments)}function Jo(t,e){if(t==null)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}var Br=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Nr(t,e,n){return e=(e=+e)==e?e:0,n=(n=+n)==n?n:0,(t=+t)==t&&(t=(t=t<=n?t:n)>=e?t:e),t}function Zo(t){var e=Math.round(t);if(Number.isNaN(t))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return e}var Um={box:"border-box"};function Ns(t,e){var n=e.label,r=e.enabled,o=e.resizeSourceRef,i=c.useState(0),s=i[0],a=i[1];c.useDebugValue(n+": "+s);var l=c.useCallback(function(u){a(u[0].borderBoxSize[0].blockSize),o.current="element"},[o]);return Br(function(){if(t.current&&r){var u=new jm(l);return u.observe(t.current,Um),function(){u.disconnect()}}},[t,l,r]),r?s:0}function it(t){return t===void 0&&(t=1e3),new Promise(function(e){return setTimeout(e,t)})}var Hu={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},zu={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},Hm=fg({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:ot({},Hu,zu)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:ot({},Hu,zu)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:ot({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[dg({y:function(t,e){return e.payload.y},velocity:function(t,e){return e.payload.velocity},snapSource:function(t,e){var n=e.payload.source;return n===void 0?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(t,e){},onSnapCancel:function(t,e){},onResizeCancel:function(t,e){},onCloseCancel:function(t,e){},onOpenEnd:function(t,e){},onSnapEnd:function(t,e){},onRezizeEnd:function(t,e){}},services:{onSnapStart:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenStart:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseStart:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeStart:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onSnapEnd:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenEnd:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseEnd:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeEnd:function(){try{return Promise.resolve(it()).then(function(){})}catch(t){return Promise.reject(t)}},renderVisuallyHidden:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},activate:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},deactivate:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},openSmoothly:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},openImmediately:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},snapSmoothly:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},resizeSmoothly:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}},closeSmoothly:function(t,e){try{return Promise.resolve(it()).then(function(){})}catch(n){return Promise.reject(n)}}},guards:{initiallyClosed:function(t){return t.initialState==="CLOSED"},initiallyOpen:function(t){return t.initialState==="OPEN"}}}),zm=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],Fm=["velocity"],Gm=["onRest","config"],Fu=Hg.default,Vm=Fu.tension,Xo=Fu.friction,Qm=c.forwardRef(function(t,e){var n=t.children,r=t.sibling,o=t.className,i=t.footer,s=t.header,a=t.open,l=t.initialState,u=t.lastSnapRef,f=t.initialFocusRef,d=t.onDismiss,p=t.maxHeight,g=t.defaultSnap,m=g===void 0?Wm:g,h=t.snapPoints,S=h===void 0?Km:h,C=t.blocking,b=C===void 0||C,y=t.scrollLocking,A=y===void 0||y,E=t.style,v=t.onSpringStart,x=t.onSpringCancel,w=t.onSpringEnd,M=t.reserveScrollBarGap,O=M===void 0?b:M,P=t.expandOnContentDrag,T=P!==void 0&&P,z=Jo(t,zm),Q=function(){var U=c.useState(!1),ie=U[0],q=U[1],ye=c.useState({}),Te=ye[0],Le=ye[1],Be=c.useCallback(function(De){return Le(function(He){var he;return ot({},He,((he={})[De]=!1,he))}),function(){Le(function(He){var he;return ot({},He,((he={})[De]=!0,he))})}},[]);return c.useEffect(function(){var De=Object.values(Te);De.length!==0&&De.every(Boolean)&&q(!0)},[Te]),{ready:ie,registerReady:Be}}(),K=Q.ready,J=Q.registerReady,G=c.useRef(!1),W=c.useRef(v),D=c.useRef(x),k=c.useRef(w);c.useEffect(function(){W.current=v,D.current=x,k.current=w},[x,v,w]);var I,H,F=Qg(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),V=F[0],te=F[1],j=c.useRef(null),ne=c.useRef(null),ue=c.useRef(null),Z=c.useRef(null),B=c.useRef(null),R=c.useRef(null),X=c.useRef(0),re=c.useRef(),pe=c.useRef(!1),oe=(I=c.useMemo(function(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),H=c.useRef(I==null?void 0:I.matches),c.useDebugValue(H.current?"reduce":"no-preference"),c.useEffect(function(){var U=function(ie){H.current=ie.matches};return I==null||I.addListener(U),function(){return I==null?void 0:I.removeListener(U)}},[I]),H),le=function(U){var ie=U.targetRef,q=U.enabled,ye=U.reserveScrollBarGap,Te=c.useRef({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return c.useDebugValue(q?"Enabled":"Disabled"),c.useEffect(function(){if(!q)return Te.current.deactivate(),void(Te.current={activate:function(){},deactivate:function(){}});var Le=ie.current,Be=!1;Te.current={activate:function(){Be||(Be=!0,hm(Le,{allowTouchMove:function(De){return De.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:ye}))},deactivate:function(){Be&&(Be=!1,gm(Le))}}},[q,ie,ye]),Te}({targetRef:ne,enabled:K&&A,reserveScrollBarGap:O}),Se=function(U){var ie=U.targetRef,q=U.enabled,ye=c.useRef({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return c.useDebugValue(q?"Enabled":"Disabled"),c.useEffect(function(){if(!q)return ye.current.deactivate(),void(ye.current={activate:function(){},deactivate:function(){}});var Te=ie.current,Le=!1,Be=[],De=[];ye.current={activate:function(){if(!Le){Le=!0;var He=Te.parentNode;document.querySelectorAll("body > *").forEach(function(he){if(he!==He){var we=he.getAttribute("aria-hidden");we!==null&&we!=="false"||(Be.push(we),De.push(he),he.setAttribute("aria-hidden","true"))}})}},deactivate:function(){Le&&(Le=!1,De.forEach(function(He,he){var we=Be[he];we===null?He.removeAttribute("aria-hidden"):He.setAttribute("aria-hidden",we)}),Be=[],De=[])}}},[ie,q]),ye}({targetRef:j,enabled:K&&b}),Oe=function(U){var ie=U.targetRef,q=U.fallbackRef,ye=U.initialFocusRef,Te=U.enabled,Le=c.useRef({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return c.useDebugValue(Te?"Enabled":"Disabled"),c.useEffect(function(){if(!Te)return Le.current.deactivate(),void(Le.current={activate:function(){},deactivate:function(){}});var Be=q.current,De=lm(ie.current,{onActivate:void 0,initialFocus:ye?function(){return(ye==null?void 0:ye.current)||Be}:void 0,fallbackFocus:Be,escapeDeactivates:!1,clickOutsideDeactivates:!1}),He=!1;Le.current={activate:function(){try{return He?Promise.resolve():(He=!0,Promise.resolve(De.activate()).then(function(){return Promise.resolve(new Promise(function(he){return setTimeout(function(){return he(void 0)},0)})).then(function(){})}))}catch(he){return Promise.reject(he)}},deactivate:function(){He&&(He=!1,De.deactivate())}}},[Te,q,ye,ie]),Le}({targetRef:j,fallbackRef:R,initialFocusRef:f||void 0,enabled:K&&b&&f!==!1}),Me=function(U){var ie=U.getSnapPoints,q=U.heightRef,ye=U.lastSnapRef,Te=U.ready,Le=function(Re){var pt=Re.contentRef,ht=Re.controlledMaxHeight,$e=Re.footerEnabled,Ft=Re.footerRef,Pt=Re.headerEnabled,gt=Re.headerRef,un=Re.registerReady,Jt=Re.resizeSourceRef,Zr=c.useMemo(function(){return un("contentHeight")},[un]),Xr=function(cn,kn,In){var Dn=c.useMemo(function(){return kn("maxHeight")},[kn]),Tn=c.useState(function(){return Zo(cn)||typeof window<"u"?window.innerHeight:0}),eo=Tn[0],to=Tn[1],fn=eo>0,se=c.useRef(0);return c.useDebugValue(cn?"controlled":"auto"),c.useEffect(function(){fn&&Dn()},[fn,Dn]),Br(function(){if(cn)return to(Zo(cn)),void(In.current="maxheightprop");var Md=function(){se.current||(se.current=requestAnimationFrame(function(){to(window.innerHeight),In.current="window",se.current=0}))};return window.addEventListener("resize",Md),to(window.innerHeight),In.current="window",Dn(),function(){window.removeEventListener("resize",Md),cancelAnimationFrame(se.current)}},[cn,Dn,In]),eo}(ht,un,Jt),ar=Ns(gt,{label:"headerHeight",enabled:Pt,resizeSourceRef:Jt}),_r=Ns(pt,{label:"contentHeight",enabled:!0,resizeSourceRef:Jt}),lr=Ns(Ft,{label:"footerHeight",enabled:$e,resizeSourceRef:Jt}),Pn=Math.min(Xr-ar-lr,_r)+ar+lr;c.useDebugValue("minHeight: "+Pn);var $r=_r>0;return c.useEffect(function(){$r&&Zr()},[$r,Zr]),{maxHeight:Xr,minHeight:Pn,headerHeight:ar,footerHeight:lr}}({contentRef:U.contentRef,controlledMaxHeight:U.controlledMaxHeight,footerEnabled:U.footerEnabled,footerRef:U.footerRef,headerEnabled:U.headerEnabled,headerRef:U.headerRef,registerReady:U.registerReady,resizeSourceRef:U.resizeSourceRef}),Be=Le.maxHeight,De=Le.minHeight,He=Le.headerHeight,he=Le.footerHeight,we=function(Re,pt){var ht=[].concat(Re).map(Zo).reduce(function(gt,un){return gt.add(Nr(un,0,pt)),gt},new Set),$e=Array.from(ht),Ft=Math.min.apply(Math,$e);if(Number.isNaN(Ft))throw new TypeError("minSnap is NaN");var Pt=Math.max.apply(Math,$e);if(Number.isNaN(Pt))throw new TypeError("maxSnap is NaN");return{snapPoints:$e,minSnap:Ft,maxSnap:Pt}}(Te?ie({height:q.current,footerHeight:he,headerHeight:He,minHeight:De,maxHeight:Be}):[0],Be),ut=we.snapPoints,qt=we.minSnap,at=we.maxSnap;return c.useDebugValue("minSnap: "+qt+", maxSnap:"+at),{minSnap:qt,maxSnap:at,findSnap:function(Re){var pt=Zo(typeof Re=="function"?Re({footerHeight:he,headerHeight:He,height:q.current,minHeight:De,maxHeight:Be,snapPoints:ut,lastSnap:ye.current}):Re);return ut.reduce(function(ht,$e){return Math.abs($e-pt)<Math.abs(ht-pt)?$e:ht},qt)},maxHeight:Be}}({contentRef:ue,controlledMaxHeight:p,footerEnabled:!!i,footerRef:B,getSnapPoints:S,headerEnabled:s!==!1,headerRef:Z,heightRef:X,lastSnapRef:u,ready:K,registerReady:J,resizeSourceRef:re}),ae=Me.minSnap,ce=Me.maxSnap,Ge=Me.maxHeight,Je=Me.findSnap,_=c.useRef(Ge),Ve=c.useRef(ae),Ue=c.useRef(ce),dt=c.useRef(Je),st=c.useRef(0);Br(function(){_.current=Ge,Ue.current=ce,Ve.current=ae,dt.current=Je,st.current=Je(m)},[Je,m,Ge,ce,ae]);var fe=c.useCallback(function(U){var ie=U.onRest,q=U.config,ye=(q=q===void 0?{}:q).velocity,Te=ye===void 0?1:ye,Le=Jo(q,Fm),Be=Jo(U,Gm);return new Promise(function(De){return te(ot({},Be,{config:ot({velocity:Te},Le,{mass:1,tension:Vm,friction:Math.max(Xo,Xo+(Xo-Xo*Te))}),onRest:function(){var He=[].slice.call(arguments);De.apply(void 0,He),ie==null||ie.apply(void 0,He)}}))})},[te]),Mn=wg(Hm,{devTools:!1,actions:{onOpenCancel:c.useCallback(function(){return D.current==null?void 0:D.current({type:"OPEN"})},[]),onSnapCancel:c.useCallback(function(U){return D.current==null?void 0:D.current({type:"SNAP",source:U.snapSource})},[]),onCloseCancel:c.useCallback(function(){return D.current==null?void 0:D.current({type:"CLOSE"})},[]),onResizeCancel:c.useCallback(function(){return D.current==null?void 0:D.current({type:"RESIZE",source:re.current})},[]),onOpenEnd:c.useCallback(function(){return k.current==null?void 0:k.current({type:"OPEN"})},[]),onSnapEnd:c.useCallback(function(U,ie){return k.current==null?void 0:k.current({type:"SNAP",source:U.snapSource})},[]),onResizeEnd:c.useCallback(function(){return k.current==null?void 0:k.current({type:"RESIZE",source:re.current})},[])},context:{initialState:l},services:{onSnapStart:c.useCallback(function(U,ie){try{return Promise.resolve(W.current==null?void 0:W.current({type:"SNAP",source:ie.payload.source||"custom"}))}catch(q){return Promise.reject(q)}},[]),onOpenStart:c.useCallback(function(){try{return Promise.resolve(W.current==null?void 0:W.current({type:"OPEN"}))}catch(U){return Promise.reject(U)}},[]),onCloseStart:c.useCallback(function(){try{return Promise.resolve(W.current==null?void 0:W.current({type:"CLOSE"}))}catch(U){return Promise.reject(U)}},[]),onResizeStart:c.useCallback(function(){try{return Promise.resolve(W.current==null?void 0:W.current({type:"RESIZE",source:re.current}))}catch(U){return Promise.reject(U)}},[]),onSnapEnd:c.useCallback(function(U,ie){try{return Promise.resolve(k.current==null?void 0:k.current({type:"SNAP",source:U.snapSource}))}catch(q){return Promise.reject(q)}},[]),onOpenEnd:c.useCallback(function(){try{return Promise.resolve(k.current==null?void 0:k.current({type:"OPEN"}))}catch(U){return Promise.reject(U)}},[]),onCloseEnd:c.useCallback(function(){try{return Promise.resolve(k.current==null?void 0:k.current({type:"CLOSE"}))}catch(U){return Promise.reject(U)}},[]),onResizeEnd:c.useCallback(function(){try{return Promise.resolve(k.current==null?void 0:k.current({type:"RESIZE",source:re.current}))}catch(U){return Promise.reject(U)}},[]),renderVisuallyHidden:c.useCallback(function(U,ie){try{return Promise.resolve(fe({y:st.current,ready:0,maxHeight:_.current,maxSnap:Ue.current,minSnap:st.current,immediate:!0})).then(function(){})}catch(q){return Promise.reject(q)}},[fe]),activate:c.useCallback(function(U,ie){try{return G.current=!0,Promise.resolve(Promise.all([le.current.activate(),Oe.current.activate(),Se.current.activate()])).then(function(){})}catch(q){return Promise.reject(q)}},[Se,Oe,le]),deactivate:c.useCallback(function(){try{return le.current.deactivate(),Oe.current.deactivate(),Se.current.deactivate(),G.current=!1,Promise.resolve()}catch(U){return Promise.reject(U)}},[Se,Oe,le]),openImmediately:c.useCallback(function(){try{return X.current=st.current,Promise.resolve(fe({y:st.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:st.current,immediate:!0})).then(function(){})}catch(U){return Promise.reject(U)}},[fe]),openSmoothly:c.useCallback(function(){try{return Promise.resolve(fe({y:0,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:st.current,immediate:!0})).then(function(){return X.current=st.current,Promise.resolve(fe({y:st.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:st.current,immediate:oe.current})).then(function(){})})}catch(U){return Promise.reject(U)}},[fe,oe]),snapSmoothly:c.useCallback(function(U,ie){try{var q=dt.current(U.y);return X.current=q,u.current=q,Promise.resolve(fe({y:q,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Ve.current,immediate:oe.current,config:{velocity:U.velocity}})).then(function(){})}catch(ye){return Promise.reject(ye)}},[fe,u,oe]),resizeSmoothly:c.useCallback(function(){try{var U=dt.current(X.current);return X.current=U,u.current=U,Promise.resolve(fe({y:U,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Ve.current,immediate:re.current!=="element"||oe.current})).then(function(){})}catch(ie){return Promise.reject(ie)}},[fe,u,oe]),closeSmoothly:c.useCallback(function(U,ie){try{return fe({minSnap:X.current,immediate:!0}),X.current=0,Promise.resolve(fe({y:0,maxHeight:_.current,maxSnap:Ue.current,immediate:oe.current})).then(function(){return Promise.resolve(fe({ready:0,immediate:!0})).then(function(){})})}catch(q){return Promise.reject(q)}},[fe,oe])}}),Ni=Mn[0],Mt=Mn[1];c.useEffect(function(){K&&Mt(a?"OPEN":"CLOSE")},[a,Mt,K]),Br(function(){(Ge||ce||ae)&&Mt("RESIZE")},[Ge,ce,ae,Mt]),c.useEffect(function(){return function(){le.current.deactivate(),Oe.current.deactivate(),Se.current.deactivate()}},[Se,Oe,le]),c.useImperativeHandle(e,function(){return{snapTo:function(U,ie){var q=ie===void 0?{}:ie,ye=q.velocity,Te=ye===void 0?1:ye,Le=q.source,Be=Le===void 0?"custom":Le;Mt("SNAP",{payload:{y:dt.current(U),velocity:Te,source:Be}})},get height(){return X.current}}},[Mt]),c.useEffect(function(){var U=ne.current,ie=function(ye){pe.current&&ye.preventDefault()},q=function(ye){U.scrollTop<0&&(requestAnimationFrame(function(){U.style.overflow="hidden",U.scrollTop=0,U.style.removeProperty("overflow")}),ye.preventDefault())};return T&&(U.addEventListener("scroll",ie),U.addEventListener("touchmove",ie),U.addEventListener("touchstart",q)),function(){U.removeEventListener("scroll",ie),U.removeEventListener("touchmove",ie),U.removeEventListener("touchstart",q)}},[T,ne]);var Rt=Qv(function(U){var ie=U.args,q=(ie=ie===void 0?[]:ie)[0],ye=(q=q===void 0?{}:q).closeOnTap,Te=ye!==void 0&&ye,Le=q.isContentDragging,Be=Le!==void 0&&Le,De=U.cancel,He=U.direction[1],he=U.down,we=U.first,ut=U.last,qt=U.memo,at=qt===void 0?V.y.getValue():qt,Re=U.tap,pt=U.velocity,ht=-1*U.movement[1];if(!G.current)return De(),at;if(d&&Te&&Re)return De(),setTimeout(function(){return d()},0),at;if(Re)return at;var $e=at+ht,Ft=ht*pt,Pt=Math.max(Ve.current,Math.min(Ue.current,$e+2*Ft));if(!he&&d&&He>0&&$e+Ft<Ve.current/2)return De(),d(),at;var gt=he?d||Ve.current!==Ue.current?Ar($e,d?0:Ve.current,Ue.current,.55):$e<Ve.current?Ar($e,Ve.current,2*Ue.current,.55):Ar($e,Ve.current/2,Ue.current,.55):Pt;return T&&Be?(gt>=Ue.current&&(gt=Ue.current),at===Ue.current&&ne.current.scrollTop>0&&(gt=Ue.current),pe.current=gt<Ue.current):pe.current=!1,we&&Mt("DRAG"),ut?(Mt("SNAP",{payload:{y:gt,velocity:pt>.05?pt:1,source:"dragging"}}),at):(te({y:gt,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Ve.current,immediate:!0,config:{velocity:pt}}),at)},{filterTaps:!0});if(Number.isNaN(Ue.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(Ve.current))throw new TypeError("minSnapRef is NaN!!");var ji=function(U){var ie,q=U.spring,ye=Jn([q.y,q.maxHeight],function(he,we){return Math.round(Nr(we-he,0,16))+"px"}),Te=Jn([q.y,q.minSnap,q.maxSnap],function(he,we,ut){return Nr(he,we,ut)+"px"}),Le=Jn([q.y,q.minSnap,q.maxSnap],function(he,we,ut){return he<we?we-he+"px":he>ut?ut-he+"px":"0px"}),Be=Jn([q.y,q.maxSnap],function(he,we){return he>=we?Math.ceil(he-we):0}),De=Jn([q.y,q.minSnap],function(he,we){if(!we)return 0;var ut=Math.max(we/2-45,0);return Nr((he-ut)*(1/(Math.min(we/2+45,we)-ut)+0),0,1)}),He=Jn([q.y,q.minSnap],function(he,we){return we?Nr(he/we,0,1):0});return(ie={})["--rsbs-content-opacity"]=De,ie["--rsbs-backdrop-opacity"]=He,ie["--rsbs-antigap-scale-y"]=Be,ie["--rsbs-overlay-translate-y"]=Le,ie["--rsbs-overlay-rounded"]=ye,ie["--rsbs-overlay-h"]=Te,ie}({spring:V});return c.createElement(av.div,ot({},z,{"data-rsbs-root":!0,"data-rsbs-state":Ym.find(Ni.matches),"data-rsbs-is-blocking":b,"data-rsbs-is-dismissable":!!d,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:j,style:ot({},ji,E,{opacity:V.ready})}),r,b&&c.createElement("div",ot({key:"backdrop","data-rsbs-backdrop":!0},Rt({closeOnTap:!0}))),c.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:R,onKeyDown:function(U){U.key==="Escape"&&(U.stopPropagation(),d&&d())}},s!==!1&&c.createElement("div",ot({key:"header","data-rsbs-header":!0,ref:Z},Rt()),s),c.createElement("div",ot({key:"scroll","data-rsbs-scroll":!0,ref:ne},T?Rt({isContentDragging:!0}):{}),c.createElement("div",{"data-rsbs-content":!0,ref:ue},n)),i&&c.createElement("div",ot({key:"footer",ref:B,"data-rsbs-footer":!0},Rt()),i)))}),Ym=["closed","opening","open","closing","dragging","snapping","resizing"];function Wm(t){var e=t.lastSnap;return e??Math.min.apply(Math,t.snapPoints)}function Km(t){return t.minHeight}var Rm=["onSpringStart","onSpringEnd","skipInitialTransition"],Gu=c.forwardRef(function(t,e){var n=t.onSpringStart,r=t.onSpringEnd,o=t.skipInitialTransition,i=Jo(t,Rm),s=c.useState(!1),a=s[0],l=s[1],u=c.useRef(),f=c.useRef(null),d=c.useRef(o&&i.open?"OPEN":"CLOSED");Br(function(){if(i.open)return cancelAnimationFrame(u.current),l(!0),function(){d.current="CLOSED"}},[i.open]);var p=c.useCallback(function(m){return Promise.resolve(n==null?void 0:n(m)).then(function(){m.type==="OPEN"&&cancelAnimationFrame(u.current)})},[n]),g=c.useCallback(function(m){return Promise.resolve(r==null?void 0:r(m)).then(function(){m.type==="CLOSE"&&(u.current=requestAnimationFrame(function(){return l(!1)}))})},[r]);return a?c.createElement(vh,{"data-rsbs-portal":!0},c.createElement(Qm,ot({},i,{lastSnapRef:f,ref:e,initialState:d.current,onSpringStart:p,onSpringEnd:g}))):null});function Vu(t,e){return function(){return t.apply(e,arguments)}}const{toString:qm}=Object.prototype,{getPrototypeOf:js}=Object,_o=(t=>e=>{const n=qm.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dt=t=>(t=t.toLowerCase(),e=>_o(e)===t),$o=t=>e=>typeof e===t,{isArray:_n}=Array,jr=$o("undefined");function Jm(t){return t!==null&&!jr(t)&&t.constructor!==null&&!jr(t.constructor)&&Et(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Qu=Dt("ArrayBuffer");function Zm(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Qu(t.buffer),e}const Xm=$o("string"),Et=$o("function"),Yu=$o("number"),ei=t=>t!==null&&typeof t=="object",_m=t=>t===!0||t===!1,ti=t=>{if(_o(t)!=="object")return!1;const e=js(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},$m=Dt("Date"),ey=Dt("File"),ty=Dt("Blob"),ny=Dt("FileList"),ry=t=>ei(t)&&Et(t.pipe),oy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Et(t.append)&&((e=_o(t))==="formdata"||e==="object"&&Et(t.toString)&&t.toString()==="[object FormData]"))},iy=Dt("URLSearchParams"),sy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ur(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),_n(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(r=0;r<s;r++)a=i[r],e.call(null,t[a],a,t)}}function Wu(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Ku=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ru=t=>!jr(t)&&t!==Ku;function Us(){const{caseless:t}=Ru(this)&&this||{},e={},n=(r,o)=>{const i=t&&Wu(e,o)||o;ti(e[i])&&ti(r)?e[i]=Us(e[i],r):ti(r)?e[i]=Us({},r):_n(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Ur(arguments[r],n);return e}const ay=(t,e,n,{allOwnKeys:r}={})=>(Ur(e,(o,i)=>{n&&Et(o)?t[i]=Vu(o,n):t[i]=o},{allOwnKeys:r}),t),ly=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),uy=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},cy=(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&js(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},fy=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},dy=t=>{if(!t)return null;if(_n(t))return t;let e=t.length;if(!Yu(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},py=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&js(Uint8Array)),hy=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},gy=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},vy=Dt("HTMLFormElement"),my=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),qu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),yy=Dt("RegExp"),Ju=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Ur(n,(o,i)=>{e(o,i,t)!==!1&&(r[i]=o)}),Object.defineProperties(t,r)},by=t=>{Ju(t,(e,n)=>{if(Et(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Et(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ey=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return _n(t)?r(t):r(String(t).split(e)),n},wy=()=>{},Cy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Hs="abcdefghijklmnopqrstuvwxyz",Zu="0123456789",Xu={DIGIT:Zu,ALPHA:Hs,ALPHA_DIGIT:Hs+Hs.toUpperCase()+Zu},Sy=(t=16,e=Xu.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Ly(t){return!!(t&&Et(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const xy=t=>{const e=new Array(10),n=(r,o)=>{if(ei(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=_n(r)?[]:{};return Ur(r,(s,a)=>{const l=n(s,o+1);!jr(l)&&(i[a]=l)}),e[o]=void 0,i}}return r};return n(t,0)},Ay=Dt("AsyncFunction"),N={isArray:_n,isArrayBuffer:Qu,isBuffer:Jm,isFormData:oy,isArrayBufferView:Zm,isString:Xm,isNumber:Yu,isBoolean:_m,isObject:ei,isPlainObject:ti,isUndefined:jr,isDate:$m,isFile:ey,isBlob:ty,isRegExp:yy,isFunction:Et,isStream:ry,isURLSearchParams:iy,isTypedArray:py,isFileList:ny,forEach:Ur,merge:Us,extend:ay,trim:sy,stripBOM:ly,inherits:uy,toFlatObject:cy,kindOf:_o,kindOfTest:Dt,endsWith:fy,toArray:dy,forEachEntry:hy,matchAll:gy,isHTMLForm:vy,hasOwnProperty:qu,hasOwnProp:qu,reduceDescriptors:Ju,freezeMethods:by,toObjectSet:Ey,toCamelCase:my,noop:wy,toFiniteNumber:Cy,findKey:Wu,global:Ku,isContextDefined:Ru,ALPHABET:Xu,generateString:Sy,isSpecCompliantForm:Ly,toJSONObject:xy,isAsyncFn:Ay,isThenable:t=>t&&(ei(t)||Et(t))&&Et(t.then)&&Et(t.catch)};function Ce(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}N.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _u=Ce.prototype,$u={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{$u[t]={value:t}}),Object.defineProperties(Ce,$u),Object.defineProperty(_u,"isAxiosError",{value:!0}),Ce.from=(t,e,n,r,o,i)=>{const s=Object.create(_u);return N.toFlatObject(t,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Ce.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const Oy=null;function zs(t){return N.isPlainObject(t)||N.isArray(t)}function ec(t){return N.endsWith(t,"[]")?t.slice(0,-2):t}function tc(t,e,n){return t?t.concat(e).map(function(o,i){return o=ec(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function My(t){return N.isArray(t)&&!t.some(zs)}const Py=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});function ni(t,e,n){if(!N.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,S){return!N.isUndefined(S[h])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(e);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(N.isDate(m))return m.toISOString();if(!l&&N.isBlob(m))throw new Ce("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(m)||N.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,h,S){let C=m;if(m&&!S&&typeof m=="object"){if(N.endsWith(h,"{}"))h=r?h:h.slice(0,-2),m=JSON.stringify(m);else if(N.isArray(m)&&My(m)||(N.isFileList(m)||N.endsWith(h,"[]"))&&(C=N.toArray(m)))return h=ec(h),C.forEach(function(y,A){!(N.isUndefined(y)||y===null)&&e.append(s===!0?tc([h],A,i):s===null?h:h+"[]",u(y))}),!1}return zs(m)?!0:(e.append(tc(S,h,i),u(m)),!1)}const d=[],p=Object.assign(Py,{defaultVisitor:f,convertValue:u,isVisitable:zs});function g(m,h){if(!N.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(m),N.forEach(m,function(C,b){(!(N.isUndefined(C)||C===null)&&o.call(e,C,N.isString(b)?b.trim():b,h,p))===!0&&g(C,h?h.concat(b):[b])}),d.pop()}}if(!N.isObject(t))throw new TypeError("data must be an object");return g(t),e}function nc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Fs(t,e){this._pairs=[],t&&ni(t,this,e)}const rc=Fs.prototype;rc.append=function(e,n){this._pairs.push([e,n])},rc.toString=function(e){const n=e?function(r){return e.call(this,r,nc)}:nc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ky(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oc(t,e,n){if(!e)return t;const r=n&&n.encode||ky,o=n&&n.serialize;let i;if(o?i=o(e,n):i=N.isURLSearchParams(e)?e.toString():new Fs(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Iy{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,function(r){r!==null&&e(r)})}}const ic=Iy,sc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dy=typeof URLSearchParams<"u"?URLSearchParams:Fs,Ty=typeof FormData<"u"?FormData:null,By=typeof Blob<"u"?Blob:null,Ny=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),jy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Tt={isBrowser:!0,classes:{URLSearchParams:Dy,FormData:Ty,Blob:By},isStandardBrowserEnv:Ny,isStandardBrowserWebWorkerEnv:jy,protocols:["http","https","file","blob","url","data"]};function Uy(t,e){return ni(t,new Tt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Tt.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Hy(t){return N.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function zy(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function ac(t){function e(n,r,o,i){let s=n[i++];const a=Number.isFinite(+s),l=i>=n.length;return s=!s&&N.isArray(o)?o.length:s,l?(N.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!N.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&N.isArray(o[s])&&(o[s]=zy(o[s])),!a)}if(N.isFormData(t)&&N.isFunction(t.entries)){const n={};return N.forEachEntry(t,(r,o)=>{e(Hy(r),o,n,0)}),n}return null}const Fy={"Content-Type":void 0};function Gy(t,e,n){if(N.isString(t))try{return(e||JSON.parse)(t),N.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ri={transitional:sc,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=N.isObject(e);if(i&&N.isHTMLForm(e)&&(e=new FormData(e)),N.isFormData(e))return o&&o?JSON.stringify(ac(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Uy(e,this.formSerializer).toString();if((a=N.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ni(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Gy(e)):e}],transformResponse:[function(e){const n=this.transitional||ri.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&N.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Ce.from(a,Ce.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Tt.classes.FormData,Blob:Tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};N.forEach(["delete","get","head"],function(e){ri.headers[e]={}}),N.forEach(["post","put","patch"],function(e){ri.headers[e]=N.merge(Fy)});const Gs=ri,Vy=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Qy=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
45
|
-
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]
|
|
46
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[lc]=this[lc]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Hr(s);r[a]||(Ry(o,s),r[a]=!0)}return N.isArray(e)?e.forEach(i):i(e),this}}ii.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.freezeMethods(ii.prototype),N.freezeMethods(ii);const Yt=ii;function Qs(t,e){const n=this||Gs,r=e||n,o=Yt.from(r.headers);let i=r.data;return N.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function uc(t){return!!(t&&t.__CANCEL__)}function zr(t,e,n){Ce.call(this,t??"canceled",Ce.ERR_CANCELED,e,n),this.name="CanceledError"}N.inherits(zr,Ce,{__CANCEL__:!0});function qy(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Jy=Tt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),N.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),N.isString(i)&&l.push("path="+i),N.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Zy(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Xy(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function cc(t,e){return t&&!Zy(e)?Xy(t,e):e}const _y=Tt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=N.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function $y(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function e0(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),f=r[i];s||(s=u),n[o]=l,r[o]=u;let d=i,p=0;for(;d!==o;)p+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-s<e)return;const g=f&&u-f;return g?Math.round(p*1e3/g):void 0}}function fc(t,e){let n=0;const r=e0(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,l=r(a),u=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const si={http:Oy,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Yt.from(t.headers).normalize(),s=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}N.isFormData(o)&&(Tt.isStandardBrowserEnv||Tt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+m))}const f=cc(t.baseURL,t.url);u.open(t.method.toUpperCase(),oc(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function d(){if(!u)return;const g=Yt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),h={data:!s||s==="text"||s==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:t,request:u};qy(function(C){n(C),l()},function(C){r(C),l()},h),u=null}if("onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){u&&(r(new Ce("Request aborted",Ce.ECONNABORTED,t,u)),u=null)},u.onerror=function(){r(new Ce("Network Error",Ce.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const h=t.transitional||sc;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),r(new Ce(m,h.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,t,u)),u=null},Tt.isStandardBrowserEnv){const g=(t.withCredentials||_y(f))&&t.xsrfCookieName&&Jy.read(t.xsrfCookieName);g&&i.set(t.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in u&&N.forEach(i.toJSON(),function(m,h){u.setRequestHeader(h,m)}),N.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),s&&s!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",fc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",fc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{u&&(r(!g||g.type?new zr(null,t,u):g),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const p=$y(f);if(p&&Tt.protocols.indexOf(p)===-1){r(new Ce("Unsupported protocol "+p+":",Ce.ERR_BAD_REQUEST,t));return}u.send(o||null)})}};N.forEach(si,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const t0={getAdapter:t=>{t=N.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let o=0;o<e&&(n=t[o],!(r=N.isString(n)?si[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new Ce(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(N.hasOwnProp(si,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!N.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:si};function Ys(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new zr(null,t)}function dc(t){return Ys(t),t.headers=Yt.from(t.headers),t.data=Qs.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),t0.getAdapter(t.adapter||Gs.adapter)(t).then(function(r){return Ys(t),r.data=Qs.call(t,t.transformResponse,r),r.headers=Yt.from(r.headers),r},function(r){return uc(r)||(Ys(t),r&&r.response&&(r.response.data=Qs.call(t,t.transformResponse,r.response),r.response.headers=Yt.from(r.response.headers))),Promise.reject(r)})}const pc=t=>t instanceof Yt?t.toJSON():t;function $n(t,e){e=e||{};const n={};function r(u,f,d){return N.isPlainObject(u)&&N.isPlainObject(f)?N.merge.call({caseless:d},u,f):N.isPlainObject(f)?N.merge({},f):N.isArray(f)?f.slice():f}function o(u,f,d){if(N.isUndefined(f)){if(!N.isUndefined(u))return r(void 0,u,d)}else return r(u,f,d)}function i(u,f){if(!N.isUndefined(f))return r(void 0,f)}function s(u,f){if(N.isUndefined(f)){if(!N.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function a(u,f,d){if(d in e)return r(u,f);if(d in t)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,f)=>o(pc(u),pc(f),!0)};return N.forEach(Object.keys(Object.assign({},t,e)),function(f){const d=l[f]||o,p=d(t[f],e[f],f);N.isUndefined(p)&&d!==a||(n[f]=p)}),n}const hc="1.4.0",Ws={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ws[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const gc={};Ws.transitional=function(e,n,r){function o(i,s){return"[Axios v"+hc+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(e===!1)throw new Ce(o(s," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!gc[s]&&(gc[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,a):!0}};function n0(t,e,n){if(typeof t!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const a=t[i],l=a===void 0||s(a,i,t);if(l!==!0)throw new Ce("option "+i+" must be "+l,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+i,Ce.ERR_BAD_OPTION)}}const Ks={assertOptions:n0,validators:Ws},nn=Ks.validators;class ai{constructor(e){this.defaults=e,this.interceptors={request:new ic,response:new ic}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=$n(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ks.assertOptions(r,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:Ks.assertOptions(o,{encode:nn.function,serialize:nn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s;s=i&&N.merge(i.common,i[n.method]),s&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Yt.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let f,d=0,p;if(!l){const m=[dc.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),p=m.length,f=Promise.resolve(n);d<p;)f=f.then(m[d++],m[d++]);return f}p=a.length;let g=n;for(d=0;d<p;){const m=a[d++],h=a[d++];try{g=m(g)}catch(S){h.call(this,S);break}}try{f=dc.call(this,g)}catch(m){return Promise.reject(m)}for(d=0,p=u.length;d<p;)f=f.then(u[d++],u[d++]);return f}getUri(e){e=$n(this.defaults,e);const n=cc(e.baseURL,e.url);return oc(n,e.params,e.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(e){ai.prototype[e]=function(n,r){return this.request($n(r||{},{method:e,url:n,data:(r||{}).data}))}}),N.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,a){return this.request($n(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}ai.prototype[e]=n(),ai.prototype[e+"Form"]=n(!0)});const li=ai;class Rs{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new zr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Rs(function(o){e=o}),cancel:e}}}const r0=Rs;function o0(t){return function(n){return t.apply(null,n)}}function i0(t){return N.isObject(t)&&t.isAxiosError===!0}const qs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qs).forEach(([t,e])=>{qs[e]=t});const s0=qs;function vc(t){const e=new li(t),n=Vu(li.prototype.request,e);return N.extend(n,li.prototype,e,{allOwnKeys:!0}),N.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return vc($n(t,o))},n}const qe=vc(Gs);qe.Axios=li,qe.CanceledError=zr,qe.CancelToken=r0,qe.isCancel=uc,qe.VERSION=hc,qe.toFormData=ni,qe.AxiosError=Ce,qe.Cancel=qe.CanceledError,qe.all=function(e){return Promise.all(e)},qe.spread=o0,qe.isAxiosError=i0,qe.mergeConfig=$n,qe.AxiosHeaders=Yt,qe.formToJSON=t=>ac(N.isHTMLForm(t)?new FormData(t):t),qe.HttpStatusCode=s0,qe.default=qe;const ui=qe.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),a0=512;var rn=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(rn||{}),Bt=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(Bt||{}),Nt=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(Nt||{});const l0={[Bt.CheckOrder]:["is_check_order","is_delivery"],[Bt.DressingRoom]:["is_dressing_room","is_delivery"],[Bt.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},u0={[Nt.Return]:["is_pickup"],[Nt.Shipping]:["is_pickup"],[Nt.Payment]:["pay_by_cash","pay_by_card","is_pickup"]};async function*mc({q:t,filter:e,bounds:n}={},{loading:r,onCancel:o,controller:i}={}){r&&i&&(i.abort(),o==null||o());const s={status:30,page_size:a0};t&&(s.q=t),e!=null&&e.type&&(s.type=e.type),e!=null&&e.receive&&Object.entries(e==null?void 0:e.receive).forEach(([f,d])=>{if(!d)return;l0[f].forEach(g=>{s[g]=!0})}),e!=null&&e.send&&Object.entries(e==null?void 0:e.send).forEach(([f,d])=>{if(!d)return;u0[f].forEach(g=>{s[g]=!0})}),n&&(s.start_latitude=n[0][0],s.end_latitude=n[0][1],s.start_longitude=n[1][0],s.end_longitude=n[1][1]);let a=await ui.get("/locations/points",{params:s,signal:i==null?void 0:i.signal}),l=a.data.data.num_pages,u=a.data.data.current_page;for(;u<l;){yield a,s.page=u+1;const f=await ui.get("/locations/points",{params:s,signal:i==null?void 0:i.signal});a.data.data.results=[...a.data.data.results,...f.data.data.results],a=f,u=f.data.data.current_page,l=f.data.data.num_pages}return yield a,a}const Js=new WeakSet;let er=new AbortController;Js.add(er);const c0=()=>{er.abort(),Js.delete(er),er=new AbortController,Js.add(er)},yc=(t,e,n)=>async r=>{const o={loading:t,controller:er,onCancel:c0};if(!n){const i=(await mc({filter:e},o).next()).value;r(i.data);return}for await(const i of mc({filter:e,bounds:n},o))r(i.data)},bc="@omnic/widget-locations",Zs=(t,e)=>{var n;(n=document.getElementById(bc))==null||n.style.setProperty(t,e)},f0={points:[],error:!1,loaded:!1,loading:!1,reloading:!1},jt=Xt()((t,e)=>({...f0,async loadNext(n,r){const o=e().reloading;t({error:!1,reloading:!0}),tt.getState().setBounds(n);let i=0;try{await yc(o,r,n)(a=>{t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++})}catch{t({error:!0})}finally{t({reloading:!1})}},async loadFirst(n){const r=e().loading,o=tt.getState().bounds;t({error:!1,loading:!0});let i=0;try{await yc(r,n,o)(a=>{i>=1&&t({loading:!1,loaded:!0}),t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++}),t({loading:!1,loaded:!0})}catch{t({error:!0,loading:!1})}finally{t({loading:!1})}}})),d0={query:"",type:rn.All,hours:["08:00","22:00"],send:{[Nt.Return]:!1,[Nt.Payment]:!1,[Nt.Shipping]:!1},receive:{[Bt.PayByCash]:!1,[Bt.CheckOrder]:!1,[Bt.DressingRoom]:!1}},En=Xt(t=>({...d0,setFilter(e){t(e)}})),p0=()=>{c.useEffect(()=>{jt.getState().loadFirst();const t=En.subscribe(e=>{jt.getState().loadFirst(e)});return()=>{t()}},[])},Fr=".",Xs=Symbol("target"),Ec=Symbol("unsubscribe");function _s(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function h0(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Ut=Array.isArray;function $s(t){return typeof t=="symbol"}const wt={after:(t,e)=>Ut(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Ut(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Fr),$s(e)?t+e.toString():t+e):t,initial:t=>{if(Ut(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Fr);return e===-1?"":t.slice(0,e)},last:t=>{if(Ut(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Fr);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Ut(t))for(const n of t)e(n);else if(t!==""){let n=0,r=t.indexOf(Fr);if(r===-1)e(t);else for(;n<t.length;)r===-1&&(r=t.length),e(t.slice(n,r)),n=r+1,r=t.indexOf(Fr,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function g0(t){return typeof t=="object"&&typeof t.next=="function"}function v0(t,e,n,r,o){const i=t.next;if(e.name==="entries")t.next=function(){const s=i.call(this);return s.done===!1&&(s.value[0]=o(s.value[0],e,s.value[0],r),s.value[1]=o(s.value[1],e,s.value[0],r)),s};else if(e.name==="values"){const s=n[Xs].keys();t.next=function(){const a=i.call(this);return a.done===!1&&(a.value=o(a.value,e,s.next().value,r)),a}}else t.next=function(){const s=i.call(this);return s.done===!1&&(s.value=o(s.value,e,s.value,r)),s};return t}function wc(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&$s(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class m0{constructor(e){this._equals=e,this._proxyCache=new WeakMap,this._pathCache=new WeakMap,this.isUnsubscribed=!1}_getDescriptorCache(){return this._descriptorCache===void 0&&(this._descriptorCache=new WeakMap),this._descriptorCache}_getProperties(e){const n=this._getDescriptorCache();let r=n.get(e);return r===void 0&&(r={},n.set(e,r)),r}_getOwnPropertyDescriptor(e,n){if(this.isUnsubscribed)return Reflect.getOwnPropertyDescriptor(e,n);const r=this._getProperties(e);let o=r[n];return o===void 0&&(o=Reflect.getOwnPropertyDescriptor(e,n),r[n]=o),o}getProxy(e,n,r,o){if(this.isUnsubscribed)return e;const i=e[o],s=i||e;this._pathCache.set(s,n);let a=this._proxyCache.get(s);return a===void 0&&(a=i===void 0?new Proxy(e,r):e,this._proxyCache.set(s,a)),a}getPath(e){return this.isUnsubscribed?void 0:this._pathCache.get(e)}isDetached(e,n){return!Object.is(e,wt.get(n,this.getPath(e)))}defineProperty(e,n,r){return Reflect.defineProperty(e,n,r)?(this.isUnsubscribed||(this._getProperties(e)[n]=r),!0):!1}setProperty(e,n,r,o,i){if(!this._equals(i,r)||!(n in e)){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&"set"in s?Reflect.set(e,n,r,o):Reflect.set(e,n,r)}return!0}deleteProperty(e,n,r){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const o=this._getDescriptorCache().get(e);o&&(delete o[n],this._pathCache.delete(r))}return!0}return!1}isSameDescriptor(e,n,r){const o=this._getOwnPropertyDescriptor(n,r);return e!==void 0&&o!==void 0&&Object.is(e.value,o.value)&&(e.writable||!1)===(o.writable||!1)&&(e.enumerable||!1)===(o.enumerable||!1)&&(e.configurable||!1)===(o.configurable||!1)&&e.get===o.get&&e.set===o.set}isGetInvariant(e,n){const r=this._getOwnPropertyDescriptor(e,n);return r!==void 0&&r.configurable!==!0&&r.writable!==!0}unsubscribe(){this._descriptorCache=null,this._pathCache=null,this._proxyCache=null,this.isUnsubscribed=!0}}function ea(t){return toString.call(t)==="[object Object]"}function ci(){return!0}function tr(t,e){return t.length!==e.length||t.some((n,r)=>e[r]!==n)}const Cc=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),y0=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),Sc={push:ci,pop:ci,shift:ci,unshift:ci,copyWithin:tr,reverse:tr,sort:tr,splice:tr,flat:tr,fill:tr},b0=new Set([...Cc,...y0,...Object.keys(Sc)]);function fi(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const Lc=["keys","values","entries"],xc=new Set(["has","toString"]),Ac={add:fi,clear:fi,delete:fi,forEach:fi},E0=new Set([...xc,...Object.keys(Ac),...Lc]);function di(t,e){if(t.size!==e.size)return!0;let n;for(const[r,o]of t)if(n=e.get(r),n!==o||n===void 0&&!e.has(r))return!0;return!1}const w0=new Set([...xc,"get"]),Oc={set:di,clear:di,delete:di,forEach:di},C0=new Set([...w0,...Object.keys(Oc),...Lc]);class on{constructor(e,n,r,o){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=o,this._changes=o?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return Cc.has(e)}_shallowClone(e){let n=e;if(ea(e))n={...e};else if(Ut(e)||ArrayBuffer.isView(e))n=[...e];else if(e instanceof Date)n=new Date(e);else if(e instanceof Set)n=new Set([...e].map(r=>this._shallowClone(r)));else if(e instanceof Map){n=new Map;for(const[r,o]of e.entries())n.set(r,this._shallowClone(o))}return this._clonedCache.add(n),n}preferredThisArg(e,n,r,o){return e?(Ut(o)?this._onIsChanged=Sc[n]:o instanceof Set?this._onIsChanged=Ac[n]:o instanceof Map&&(this._onIsChanged=Oc[n]),o):r}update(e,n,r){const o=wt.after(e,this._path);if(n!=="length"){let i=this.clone;wt.walk(o,s=>{i&&i[s]&&(this._clonedCache.has(i[s])||(i[s]=this._shallowClone(i[s])),i=i[s])}),this._hasOnValidate&&this._changes.push({path:o,property:n,previous:r}),i&&i[n]&&(i[n]=r)}this._isChanged=!0}undo(e){let n;for(let r=this._changes.length-1;r!==-1;r--)n=this._changes[r],wt.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class Mc extends on{static isHandledMethod(e){return b0.has(e)}}class S0 extends on{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class Pc extends on{static isHandledMethod(e){return E0.has(e)}undo(e){for(const n of this.clone)e.add(n);for(const n of e)this.clone.has(n)||e.delete(n)}}class kc extends on{static isHandledMethod(e){return C0.has(e)}undo(e){for(const[n,r]of this.clone.entries())e.set(n,r);for(const n of e.keys())this.clone.has(n)||e.delete(n)}}class L0 extends on{constructor(e,n,r,o){super(void 0,n,r,o),this._arg1=r[0],this._weakValue=e.has(this._arg1)}isChanged(e){return this._weakValue!==e.has(this._arg1)}undo(e){this._weakValue&&!e.has(this._arg1)?e.add(this._arg1):e.delete(this._arg1)}}class x0 extends on{constructor(e,n,r,o){super(void 0,n,r,o),this._weakKey=r[0],this._weakHas=e.has(this._weakKey),this._weakValue=e.get(this._weakKey)}isChanged(e){return this._weakValue!==e.get(this._weakKey)}undo(e){const n=e.has(this._weakKey);this._weakHas&&!n?e.set(this._weakKey,this._weakValue):!this._weakHas&&n?e.delete(this._weakKey):this._weakValue!==e.get(this._weakKey)&&e.set(this._weakKey,this._weakValue)}}class wn{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return ea(e)||Ut(e)||_s(e)}static isHandledMethod(e,n){return ea(e)?on.isHandledMethod(n):Ut(e)?Mc.isHandledMethod(n):e instanceof Set?Pc.isHandledMethod(n):e instanceof Map?kc.isHandledMethod(n):_s(e)}get isCloning(){return this._stack.length>0}start(e,n,r){let o=on;Ut(e)?o=Mc:e instanceof Date?o=S0:e instanceof Set?o=Pc:e instanceof Map?o=kc:e instanceof WeakSet?o=L0:e instanceof WeakMap&&(o=x0),this._stack.push(new o(e,n,r,this._hasOnValidate))}update(e,n,r){this._stack[this._stack.length-1].update(e,n,r)}preferredThisArg(e,n,r){const{name:o}=e,i=wn.isHandledMethod(r,o);return this._stack[this._stack.length-1].preferredThisArg(i,o,n,r)}isChanged(e,n,r){return this._stack[this._stack.length-1].isChanged(e,n,r)}undo(e){this._previousClone!==void 0&&this._previousClone.undo(e)}stop(){return this._previousClone=this._stack.pop(),this._previousClone.clone}}const A0={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Gr=(t,e,n={})=>{n={...A0,...n};const r=Symbol("ProxyTarget"),{equals:o,isShallow:i,ignoreDetached:s,details:a}=n,l=new m0(o),u=typeof n.onValidate=="function",f=new wn(u),d=(b,y,A,E,v)=>!u||f.isCloning||n.onValidate(wt.concat(l.getPath(b),y),A,E,v)===!0,p=(b,y,A,E)=>{!wc(l,n,y)&&!(s&&l.isDetached(b,t))&&g(l.getPath(b),y,A,E)},g=(b,y,A,E,v)=>{f.isCloning?f.update(b,y,E):e(wt.concat(b,y),A,E,v)},m=b=>b&&(b[r]||b),h=(b,y,A,E)=>h0(b)||A==="constructor"||i&&!wn.isHandledMethod(y,A)||wc(l,n,A)||l.isGetInvariant(y,A)||s&&l.isDetached(y,t)?b:(E===void 0&&(E=l.getPath(y)),l.getProxy(b,wt.concat(E,A),S,r)),S={get(b,y,A){if($s(y)){if(y===r||y===Xs)return b;if(y===Ec&&!l.isUnsubscribed&&l.getPath(b).length===0)return l.unsubscribe(),b}const E=_s(b)?Reflect.get(b,y):Reflect.get(b,y,A);return h(E,b,y)},set(b,y,A,E){A=m(A);const v=b[r]||b,x=v[y];if(o(x,A)&&y in b)return!0;const w=d(b,y,A,x);return w&&l.setProperty(v,y,A,E,x)?(p(b,y,b[y],x),!0):!w},defineProperty(b,y,A){if(!l.isSameDescriptor(A,b,y)){const E=b[y];d(b,y,A.value,E)&&l.defineProperty(b,y,A,E)&&p(b,y,A.value,E)}return!0},deleteProperty(b,y){if(!Reflect.has(b,y))return!0;const A=Reflect.get(b,y),E=d(b,y,void 0,A);return E&&l.deleteProperty(b,y,A)?(p(b,y,void 0,A),!0):!E},apply(b,y,A){const E=y[r]||y;if(l.isUnsubscribed)return Reflect.apply(b,E,A);if((a===!1||a!==!0&&!a.includes(b.name))&&wn.isHandledType(E)){let v=wt.initial(l.getPath(b));const x=wn.isHandledMethod(E,b.name);f.start(E,v,A);let w=Reflect.apply(b,f.preferredThisArg(b,y,E),x?A.map(P=>m(P)):A);const M=f.isChanged(E,o),O=f.stop();if(wn.isHandledType(w)&&x&&(y instanceof Map&&b.name==="get"&&(v=wt.concat(v,A[0])),w=l.getProxy(w,v,S)),M){const P={name:b.name,args:A,result:w},T=f.isCloning?wt.initial(v):v,z=f.isCloning?wt.last(v):"";d(wt.get(t,T),z,E,O,P)?g(T,z,E,O,P):f.undo(E)}return(y instanceof Map||y instanceof Set)&&g0(w)?v0(w,b,y,v,h):w}return Reflect.apply(b,y,A)}},C=l.getProxy(t,n.pathAsArray?[]:"",S);return e=e.bind(C),u&&(n.onValidate=n.onValidate.bind(C)),C};Gr.target=t=>t&&t[Xs]||t,Gr.unsubscribe=t=>t[Ec]||t;const O0=t=>{const[e,n]=c.useState({...$a,...t??window.OMNIC_WIDGET_LOCATIONS_CONFIG}),r=t&&!window.OMNIC_WIDGET_LOCATIONS_CONFIG,o=!t&&window.OMNIC_WIDGET_LOCATIONS_CONFIG;return c.useEffect(()=>{r&&n(t)},[t,r]),c.useEffect(()=>{if(o)return window.OMNIC_WIDGET_LOCATIONS_CONFIG=Gr(window.OMNIC_WIDGET_LOCATIONS_CONFIG,function(){const i=Gr.target(this);i.palette&&(i.palette={...i.palette}),i.map&&(i.map={...i.map}),n({...i})}),()=>{window.OMNIC_WIDGET_LOCATIONS_CONFIG&&Gr.unsubscribe(window.OMNIC_WIDGET_LOCATIONS_CONFIG)}},[o]),e},M0=(t,e)=>{ui.defaults.headers.get.Authorization=`INN ${t}`,e!=null&&e.baseURL&&(ui.defaults.baseURL=e.baseURL)};/*! *****************************************************************************
|
|
46
|
+
*/function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Cu(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?wu(Object(n),!0).forEach(function(r){vm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Su=function(){var t=[];return{activateTrap:function(n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}}}(),mm=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ym=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},bm=function(e){return e.key==="Tab"||e.keyCode===9},Lu=function(e){return setTimeout(e,0)},Au=function(e,n){var r=-1;return e.every(function(o,i){return n(o)?(r=i,!1):!0}),r},Ir=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,r):e},Jo=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Em=function(e,n){var r=(n==null?void 0:n.document)||document,o=Cu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(y,C,A){return y&&y[C]!==void 0?y[C]:o[A||C]},u=function(y){return i.containerGroups.findIndex(function(C){var A=C.container,P=C.tabbableNodes;return A.contains(y)||P.find(function(M){return M===y})})},l=function(y){var C=o[y];if(typeof C=="function"){for(var A=arguments.length,P=new Array(A>1?A-1:0),M=1;M<A;M++)P[M-1]=arguments[M];C=C.apply(void 0,P)}if(C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(y,"` was specified but was not a node, or did not return a node"))}var x=C;if(typeof C=="string"&&(x=r.querySelector(C),!x))throw new Error("`".concat(y,"` as selector refers to no known node"));return x},f=function(){var y=l("initialFocus");if(y===!1)return!1;if(y===void 0)if(u(r.activeElement)>=0)y=r.activeElement;else{var C=i.tabbableGroups[0],A=C&&C.firstTabbableNode;y=A||l("fallbackFocus")}if(!y)throw new Error("Your focus-trap needs to have at least one focusable element");return y},d=function(){if(i.containerGroups=i.containers.map(function(y){var C=hm(y,o.tabbableOptions),A=pm(y,o.tabbableOptions);return{container:y,tabbableNodes:C,focusableNodes:A,firstTabbableNode:C.length>0?C[0]:null,lastTabbableNode:C.length>0?C[C.length-1]:null,nextTabbableNode:function(M){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=A.findIndex(function(N){return N===M});if(!(k<0))return x?A.slice(k+1).find(function(N){return qo(N,o.tabbableOptions)}):A.slice(0,k).reverse().find(function(N){return qo(N,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(y){return y.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function S(y){if(y!==!1&&y!==r.activeElement){if(!y||!y.focus){S(f());return}y.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=y,mm(y)&&y.select()}},g=function(y){var C=l("setReturnFocus",y);return C||(C===!1?!1:y)},v=function(y){var C=Jo(y);if(!(u(C)>=0)){if(Ir(o.clickOutsideDeactivates,y)){s.deactivate({returnFocus:o.returnFocusOnDeactivate&&!ks(C,o.tabbableOptions)});return}Ir(o.allowOutsideClick,y)||y.preventDefault()}},p=function(y){var C=Jo(y),A=u(C)>=0;A||C instanceof Document?A&&(i.mostRecentlyFocusedNode=C):(y.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},w=function(y){var C=Jo(y);d();var A=null;if(i.tabbableGroups.length>0){var P=u(C),M=P>=0?i.containerGroups[P]:void 0;if(P<0)y.shiftKey?A=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:A=i.tabbableGroups[0].firstTabbableNode;else if(y.shiftKey){var x=Au(i.tabbableGroups,function(G){var K=G.firstTabbableNode;return C===K});if(x<0&&(M.container===C||ks(C,o.tabbableOptions)&&!qo(C,o.tabbableOptions)&&!M.nextTabbableNode(C,!1))&&(x=P),x>=0){var k=x===0?i.tabbableGroups.length-1:x-1,N=i.tabbableGroups[k];A=N.lastTabbableNode}}else{var z=Au(i.tabbableGroups,function(G){var K=G.lastTabbableNode;return C===K});if(z<0&&(M.container===C||ks(C,o.tabbableOptions)&&!qo(C,o.tabbableOptions)&&!M.nextTabbableNode(C))&&(z=P),z>=0){var Q=z===i.tabbableGroups.length-1?0:z+1,R=i.tabbableGroups[Q];A=R.firstTabbableNode}}}else A=l("fallbackFocus");A&&(y.preventDefault(),h(A))},E=function(y){if(ym(y)&&Ir(o.escapeDeactivates,y)!==!1){y.preventDefault(),s.deactivate();return}if(bm(y)){w(y);return}},m=function(y){var C=Jo(y);u(C)>=0||Ir(o.clickOutsideDeactivates,y)||Ir(o.allowOutsideClick,y)||(y.preventDefault(),y.stopImmediatePropagation())},b=function(){if(i.active)return Su.activateTrap(s),i.delayInitialFocusTimer=o.delayInitialFocus?Lu(function(){h(f())}):h(f()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",E,{capture:!0,passive:!1}),s},O=function(){if(i.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",E,!0),s};return s={get active(){return i.active},get paused(){return i.paused},activate:function(y){if(i.active)return this;var C=a(y,"onActivate"),A=a(y,"onPostActivate"),P=a(y,"checkCanFocusTrap");P||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,C&&C();var M=function(){P&&d(),b(),A&&A()};return P?(P(i.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(y){if(!i.active)return this;var C=Cu({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},y);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,O(),i.active=!1,i.paused=!1,Su.deactivateTrap(s);var A=a(C,"onDeactivate"),P=a(C,"onPostDeactivate"),M=a(C,"checkCanReturnFocus"),x=a(C,"returnFocus","returnFocusOnDeactivate");A&&A();var k=function(){Lu(function(){x&&h(g(i.nodeFocusedBeforeActivation)),P&&P()})};return x&&M?(M(g(i.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,O(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,d(),b(),this)},updateContainerElements:function(y){var C=[].concat(y).filter(Boolean);return i.containers=C.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&d(),this}},s.updateContainerElements(e),s};function wm(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}else return Array.from(t)}var Is=!1;if(typeof window<"u"){var xu={get passive(){Is=!0}};window.addEventListener("testPassive",null,xu),window.removeEventListener("testPassive",null,xu)}var Ou=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),nn=[],Zo=!1,Mu=-1,Dr=void 0,Tr=void 0,Pu=function(e){return nn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},_o=function(e){var n=e||window.event;return Pu(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Cm=function(e){if(Tr===void 0){var n=!!e&&e.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Tr=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}Dr===void 0&&(Dr=document.body.style.overflow,document.body.style.overflow="hidden")},Sm=function(){Tr!==void 0&&(document.body.style.paddingRight=Tr,Tr=void 0),Dr!==void 0&&(document.body.style.overflow=Dr,Dr=void 0)},Lm=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},Am=function(e,n){var r=e.targetTouches[0].clientY-Mu;return Pu(e.target)?!1:n&&n.scrollTop===0&&r>0||Lm(n)&&r<0?_o(e):(e.stopPropagation(),!0)},xm=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!nn.some(function(o){return o.targetElement===e})){var r={targetElement:e,options:n||{}};nn=[].concat(wm(nn),[r]),Ou?(e.ontouchstart=function(o){o.targetTouches.length===1&&(Mu=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&Am(o,e)},Zo||(document.addEventListener("touchmove",_o,Is?{passive:!1}:void 0),Zo=!0)):Cm(n)}},Om=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}nn=nn.filter(function(n){return n.targetElement!==e}),Ou?(e.ontouchstart=null,e.ontouchmove=null,Zo&&nn.length===0&&(document.removeEventListener("touchmove",_o,Is?{passive:!1}:void 0),Zo=!1)):nn.length||Sm()},En=[],Mm=function(){return En.some(function(t){return t.activeTargets.length>0})},Pm=function(){return En.some(function(t){return t.skippedTargets.length>0})},ku="ResizeObserver loop completed with undelivered notifications.",km=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:ku}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=ku),window.dispatchEvent(t)},Br;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Br||(Br={}));var wn=function(t){return Object.freeze(t)},Im=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,wn(this)}return t}(),Iu=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,wn(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,a=e.left,u=e.width,l=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:a,width:u,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ds=function(t){return t instanceof SVGElement&&"getBBox"in t},Du=function(t){if(Ds(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},Tu=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Dm=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Nr=typeof window<"u"?window:{},Xo=new WeakMap,Bu=/auto|scroll/,Tm=/^tb|vertical/,Bm=/msie|trident/i.test(Nr.navigator&&Nr.navigator.userAgent),Tt=function(t){return parseFloat(t||"0")},er=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Im((n?e:t)||0,(n?t:e)||0)},Nu=wn({devicePixelContentBoxSize:er(),borderBoxSize:er(),contentBoxSize:er(),contentRect:new Iu(0,0,0,0)}),ju=function(t,e){if(e===void 0&&(e=!1),Xo.has(t)&&!e)return Xo.get(t);if(Du(t))return Xo.set(t,Nu),Nu;var n=getComputedStyle(t),r=Ds(t)&&t.ownerSVGElement&&t.getBBox(),o=!Bm&&n.boxSizing==="border-box",i=Tm.test(n.writingMode||""),s=!r&&Bu.test(n.overflowY||""),a=!r&&Bu.test(n.overflowX||""),u=r?0:Tt(n.paddingTop),l=r?0:Tt(n.paddingRight),f=r?0:Tt(n.paddingBottom),d=r?0:Tt(n.paddingLeft),h=r?0:Tt(n.borderTopWidth),g=r?0:Tt(n.borderRightWidth),v=r?0:Tt(n.borderBottomWidth),p=r?0:Tt(n.borderLeftWidth),w=d+l,E=u+f,m=p+g,b=h+v,O=a?t.offsetHeight-b-t.clientHeight:0,S=s?t.offsetWidth-m-t.clientWidth:0,y=o?w+m:0,C=o?E+b:0,A=r?r.width:Tt(n.width)-y-S,P=r?r.height:Tt(n.height)-C-O,M=A+w+S+m,x=P+E+O+b,k=wn({devicePixelContentBoxSize:er(Math.round(A*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:er(M,x,i),contentBoxSize:er(A,P,i),contentRect:new Iu(d,u,A,P)});return Xo.set(t,k),k},Uu=function(t,e,n){var r=ju(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case Br.DEVICE_PIXEL_CONTENT_BOX:return s;case Br.BORDER_BOX:return o;default:return i}},Nm=function(){function t(e){var n=ju(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=wn([n.borderBoxSize]),this.contentBoxSize=wn([n.contentBoxSize]),this.devicePixelContentBoxSize=wn([n.devicePixelContentBoxSize])}return t}(),Hu=function(t){if(Du(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},jm=function(){var t=1/0,e=[];En.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(l){var f=new Nm(l.target),d=Hu(l.target);a.push(f),l.lastReportedSize=Uu(l.target,l.observedBox),d<t&&(t=d)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var o=r[n];o()}return t},zu=function(t){En.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(Hu(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},Um=function(){var t=0;for(zu(t);Mm();)t=jm(),zu(t);return Pm()&&km(),t>0},Ts,Fu=[],Hm=function(){return Fu.splice(0).forEach(function(t){return t()})},zm=function(t){if(!Ts){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Hm()}).observe(n,r),Ts=function(){n.textContent="".concat(e?e--:e++)}}Fu.push(t),Ts()},Fm=function(t){zm(function(){requestAnimationFrame(t)})},$o=0,Vm=function(){return!!$o},Gm=250,Qm={attributes:!0,characterData:!0,childList:!0,subtree:!0},Vu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Gu=function(t){return t===void 0&&(t=0),Date.now()+t},Bs=!1,Ym=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Gm),!Bs){Bs=!0;var r=Gu(e);Fm(function(){var o=!1;try{o=Um()}finally{if(Bs=!1,e=r-Gu(),!Vm())return;o?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Qm)};document.body?n():Nr.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Vu.forEach(function(n){return Nr.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Vu.forEach(function(n){return Nr.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Ns=new Ym,Qu=function(t){!$o&&t>0&&Ns.start(),$o+=t,!$o&&Ns.stop()},Wm=function(t){return!Ds(t)&&!Dm(t)&&getComputedStyle(t).display==="inline"},Km=function(){function t(e,n){this.target=e,this.observedBox=n||Br.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Uu(this.target,this.observedBox,!0);return Wm(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Rm=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),ei=new WeakMap,Yu=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},ti=function(){function t(){}return t.connect=function(e,n){var r=new Rm(e,n);ei.set(e,r)},t.observe=function(e,n,r){var o=ei.get(e),i=o.observationTargets.length===0;Yu(o.observationTargets,n)<0&&(i&&En.push(o),o.observationTargets.push(new Km(n,r&&r.box)),Qu(1),Ns.schedule())},t.unobserve=function(e,n){var r=ei.get(e),o=Yu(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&En.splice(En.indexOf(r),1),r.observationTargets.splice(o,1),Qu(-1))},t.disconnect=function(e){var n=this,r=ei.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),qm=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ti.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Tu(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ti.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Tu(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ti.unobserve(this,e)},t.prototype.disconnect=function(){ti.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();function it(){return it=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},it.apply(this,arguments)}function ni(t,e){if(t==null)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}var jr=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Ur(t,e,n){return e=(e=+e)==e?e:0,n=(n=+n)==n?n:0,(t=+t)==t&&(t=(t=t<=n?t:n)>=e?t:e),t}function ri(t){var e=Math.round(t);if(Number.isNaN(t))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return e}var Jm={box:"border-box"};function js(t,e){var n=e.label,r=e.enabled,o=e.resizeSourceRef,i=c.useState(0),s=i[0],a=i[1];c.useDebugValue(n+": "+s);var u=c.useCallback(function(l){a(l[0].borderBoxSize[0].blockSize),o.current="element"},[o]);return jr(function(){if(t.current&&r){var l=new qm(u);return l.observe(t.current,Jm),function(){l.disconnect()}}},[t,u,r]),r?s:0}function st(t){return t===void 0&&(t=1e3),new Promise(function(e){return setTimeout(e,t)})}var Wu={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},Ku={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},Zm=Sg({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:it({},Wu,Ku)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:it({},Wu,Ku)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:it({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[Lg({y:function(t,e){return e.payload.y},velocity:function(t,e){return e.payload.velocity},snapSource:function(t,e){var n=e.payload.source;return n===void 0?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(t,e){},onSnapCancel:function(t,e){},onResizeCancel:function(t,e){},onCloseCancel:function(t,e){},onOpenEnd:function(t,e){},onSnapEnd:function(t,e){},onRezizeEnd:function(t,e){}},services:{onSnapStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onSnapEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},renderVisuallyHidden:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},activate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},deactivate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openImmediately:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},snapSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},resizeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},closeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}}},guards:{initiallyClosed:function(t){return t.initialState==="CLOSED"},initiallyOpen:function(t){return t.initialState==="OPEN"}}}),_m=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],Xm=["velocity"],$m=["onRest","config"],Ru=Zg.default,ey=Ru.tension,oi=Ru.friction,ty=c.forwardRef(function(t,e){var n=t.children,r=t.sibling,o=t.className,i=t.footer,s=t.header,a=t.open,u=t.initialState,l=t.lastSnapRef,f=t.initialFocusRef,d=t.onDismiss,h=t.maxHeight,g=t.defaultSnap,v=g===void 0?ry:g,p=t.snapPoints,w=p===void 0?oy:p,E=t.blocking,m=E===void 0||E,b=t.scrollLocking,O=b===void 0||b,S=t.style,y=t.onSpringStart,C=t.onSpringCancel,A=t.onSpringEnd,P=t.reserveScrollBarGap,M=P===void 0?m:P,x=t.expandOnContentDrag,k=x!==void 0&&x,N=ni(t,_m),z=function(){var F=c.useState(!1),ie=F[0],Z=F[1],be=c.useState({}),Te=be[0],Ae=be[1],Be=c.useCallback(function(De){return Ae(function(He){var ge;return it({},He,((ge={})[De]=!1,ge))}),function(){Ae(function(He){var ge;return it({},He,((ge={})[De]=!0,ge))})}},[]);return c.useEffect(function(){var De=Object.values(Te);De.length!==0&&De.every(Boolean)&&Z(!0)},[Te]),{ready:ie,registerReady:Be}}(),Q=z.ready,R=z.registerReady,G=c.useRef(!1),K=c.useRef(y),T=c.useRef(C),I=c.useRef(A);c.useEffect(function(){K.current=y,T.current=C,I.current=A},[C,y,A]);var D,V,H=tv(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),Y=H[0],ne=H[1],U=c.useRef(null),ee=c.useRef(null),le=c.useRef(null),J=c.useRef(null),B=c.useRef(null),q=c.useRef(null),_=c.useRef(0),re=c.useRef(),pe=c.useRef(!1),oe=(D=c.useMemo(function(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),V=c.useRef(D==null?void 0:D.matches),c.useDebugValue(V.current?"reduce":"no-preference"),c.useEffect(function(){var F=function(ie){V.current=ie.matches};return D==null||D.addListener(F),function(){return D==null?void 0:D.removeListener(F)}},[D]),V),ue=function(F){var ie=F.targetRef,Z=F.enabled,be=F.reserveScrollBarGap,Te=c.useRef({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return c.useDebugValue(Z?"Enabled":"Disabled"),c.useEffect(function(){if(!Z)return Te.current.deactivate(),void(Te.current={activate:function(){},deactivate:function(){}});var Ae=ie.current,Be=!1;Te.current={activate:function(){Be||(Be=!0,xm(Ae,{allowTouchMove:function(De){return De.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:be}))},deactivate:function(){Be&&(Be=!1,Om(Ae))}}},[Z,ie,be]),Te}({targetRef:ee,enabled:Q&&O,reserveScrollBarGap:M}),Le=function(F){var ie=F.targetRef,Z=F.enabled,be=c.useRef({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return c.useDebugValue(Z?"Enabled":"Disabled"),c.useEffect(function(){if(!Z)return be.current.deactivate(),void(be.current={activate:function(){},deactivate:function(){}});var Te=ie.current,Ae=!1,Be=[],De=[];be.current={activate:function(){if(!Ae){Ae=!0;var He=Te.parentNode;document.querySelectorAll("body > *").forEach(function(ge){if(ge!==He){var we=ge.getAttribute("aria-hidden");we!==null&&we!=="false"||(Be.push(we),De.push(ge),ge.setAttribute("aria-hidden","true"))}})}},deactivate:function(){Ae&&(Ae=!1,De.forEach(function(He,ge){var we=Be[ge];we===null?He.removeAttribute("aria-hidden"):He.setAttribute("aria-hidden",we)}),Be=[],De=[])}}},[ie,Z]),be}({targetRef:U,enabled:Q&&m}),Me=function(F){var ie=F.targetRef,Z=F.fallbackRef,be=F.initialFocusRef,Te=F.enabled,Ae=c.useRef({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return c.useDebugValue(Te?"Enabled":"Disabled"),c.useEffect(function(){if(!Te)return Ae.current.deactivate(),void(Ae.current={activate:function(){},deactivate:function(){}});var Be=Z.current,De=Em(ie.current,{onActivate:void 0,initialFocus:be?function(){return(be==null?void 0:be.current)||Be}:void 0,fallbackFocus:Be,escapeDeactivates:!1,clickOutsideDeactivates:!1}),He=!1;Ae.current={activate:function(){try{return He?Promise.resolve():(He=!0,Promise.resolve(De.activate()).then(function(){return Promise.resolve(new Promise(function(ge){return setTimeout(function(){return ge(void 0)},0)})).then(function(){})}))}catch(ge){return Promise.reject(ge)}},deactivate:function(){He&&(He=!1,De.deactivate())}}},[Te,Z,be,ie]),Ae}({targetRef:U,fallbackRef:q,initialFocusRef:f||void 0,enabled:Q&&m&&f!==!1}),Pe=function(F){var ie=F.getSnapPoints,Z=F.heightRef,be=F.lastSnapRef,Te=F.ready,Ae=function(Je){var pt=Je.contentRef,gt=Je.controlledMaxHeight,tt=Je.footerEnabled,Ft=Je.footerRef,kt=Je.headerEnabled,vt=Je.headerRef,fn=Je.registerReady,Jt=Je.resizeSourceRef,eo=c.useMemo(function(){return fn("contentHeight")},[fn]),to=function(dn,Dn,Tn){var Bn=c.useMemo(function(){return Dn("maxHeight")},[Dn]),Nn=c.useState(function(){return ri(dn)||typeof window<"u"?window.innerHeight:0}),oo=Nn[0],io=Nn[1],hn=oo>0,se=c.useRef(0);return c.useDebugValue(dn?"controlled":"auto"),c.useEffect(function(){hn&&Bn()},[hn,Bn]),jr(function(){if(dn)return io(ri(dn)),void(Tn.current="maxheightprop");var Ud=function(){se.current||(se.current=requestAnimationFrame(function(){io(window.innerHeight),Tn.current="window",se.current=0}))};return window.addEventListener("resize",Ud),io(window.innerHeight),Tn.current="window",Bn(),function(){window.removeEventListener("resize",Ud),cancelAnimationFrame(se.current)}},[dn,Bn,Tn]),oo}(gt,fn,Jt),cr=js(vt,{label:"headerHeight",enabled:kt,resizeSourceRef:Jt}),no=js(pt,{label:"contentHeight",enabled:!0,resizeSourceRef:Jt}),fr=js(Ft,{label:"footerHeight",enabled:tt,resizeSourceRef:Jt}),In=Math.min(to-cr-fr,no)+cr+fr;c.useDebugValue("minHeight: "+In);var ro=no>0;return c.useEffect(function(){ro&&eo()},[ro,eo]),{maxHeight:to,minHeight:In,headerHeight:cr,footerHeight:fr}}({contentRef:F.contentRef,controlledMaxHeight:F.controlledMaxHeight,footerEnabled:F.footerEnabled,footerRef:F.footerRef,headerEnabled:F.headerEnabled,headerRef:F.headerRef,registerReady:F.registerReady,resizeSourceRef:F.resizeSourceRef}),Be=Ae.maxHeight,De=Ae.minHeight,He=Ae.headerHeight,ge=Ae.footerHeight,we=function(Je,pt){var gt=[].concat(Je).map(ri).reduce(function(vt,fn){return vt.add(Ur(fn,0,pt)),vt},new Set),tt=Array.from(gt),Ft=Math.min.apply(Math,tt);if(Number.isNaN(Ft))throw new TypeError("minSnap is NaN");var kt=Math.max.apply(Math,tt);if(Number.isNaN(kt))throw new TypeError("maxSnap is NaN");return{snapPoints:tt,minSnap:Ft,maxSnap:kt}}(Te?ie({height:Z.current,footerHeight:ge,headerHeight:He,minHeight:De,maxHeight:Be}):[0],Be),ct=we.snapPoints,qt=we.minSnap,lt=we.maxSnap;return c.useDebugValue("minSnap: "+qt+", maxSnap:"+lt),{minSnap:qt,maxSnap:lt,findSnap:function(Je){var pt=ri(typeof Je=="function"?Je({footerHeight:ge,headerHeight:He,height:Z.current,minHeight:De,maxHeight:Be,snapPoints:ct,lastSnap:be.current}):Je);return ct.reduce(function(gt,tt){return Math.abs(tt-pt)<Math.abs(gt-pt)?tt:gt},qt)},maxHeight:Be}}({contentRef:le,controlledMaxHeight:h,footerEnabled:!!i,footerRef:B,getSnapPoints:w,headerEnabled:s!==!1,headerRef:J,heightRef:_,lastSnapRef:l,ready:Q,registerReady:R,resizeSourceRef:re}),ae=Pe.minSnap,fe=Pe.maxSnap,Ve=Pe.maxHeight,_e=Pe.findSnap,X=c.useRef(Ve),Ge=c.useRef(ae),Ue=c.useRef(fe),ht=c.useRef(_e),at=c.useRef(0);jr(function(){X.current=Ve,Ue.current=fe,Ge.current=ae,ht.current=_e,at.current=_e(v)},[_e,v,Ve,fe,ae]);var de=c.useCallback(function(F){var ie=F.onRest,Z=F.config,be=(Z=Z===void 0?{}:Z).velocity,Te=be===void 0?1:be,Ae=ni(Z,Xm),Be=ni(F,$m);return new Promise(function(De){return ne(it({},Be,{config:it({velocity:Te},Ae,{mass:1,tension:ey,friction:Math.max(oi,oi+(oi-oi*Te))}),onRest:function(){var He=[].slice.call(arguments);De.apply(void 0,He),ie==null||ie.apply(void 0,He)}}))})},[ne]),kn=Tg(Zm,{devTools:!1,actions:{onOpenCancel:c.useCallback(function(){return T.current==null?void 0:T.current({type:"OPEN"})},[]),onSnapCancel:c.useCallback(function(F){return T.current==null?void 0:T.current({type:"SNAP",source:F.snapSource})},[]),onCloseCancel:c.useCallback(function(){return T.current==null?void 0:T.current({type:"CLOSE"})},[]),onResizeCancel:c.useCallback(function(){return T.current==null?void 0:T.current({type:"RESIZE",source:re.current})},[]),onOpenEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"OPEN"})},[]),onSnapEnd:c.useCallback(function(F,ie){return I.current==null?void 0:I.current({type:"SNAP",source:F.snapSource})},[]),onResizeEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"RESIZE",source:re.current})},[])},context:{initialState:u},services:{onSnapStart:c.useCallback(function(F,ie){try{return Promise.resolve(K.current==null?void 0:K.current({type:"SNAP",source:ie.payload.source||"custom"}))}catch(Z){return Promise.reject(Z)}},[]),onOpenStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"OPEN"}))}catch(F){return Promise.reject(F)}},[]),onCloseStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"CLOSE"}))}catch(F){return Promise.reject(F)}},[]),onResizeStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"RESIZE",source:re.current}))}catch(F){return Promise.reject(F)}},[]),onSnapEnd:c.useCallback(function(F,ie){try{return Promise.resolve(I.current==null?void 0:I.current({type:"SNAP",source:F.snapSource}))}catch(Z){return Promise.reject(Z)}},[]),onOpenEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"OPEN"}))}catch(F){return Promise.reject(F)}},[]),onCloseEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"CLOSE"}))}catch(F){return Promise.reject(F)}},[]),onResizeEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"RESIZE",source:re.current}))}catch(F){return Promise.reject(F)}},[]),renderVisuallyHidden:c.useCallback(function(F,ie){try{return Promise.resolve(de({y:at.current,ready:0,maxHeight:X.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(Z){return Promise.reject(Z)}},[de]),activate:c.useCallback(function(F,ie){try{return G.current=!0,Promise.resolve(Promise.all([ue.current.activate(),Me.current.activate(),Le.current.activate()])).then(function(){})}catch(Z){return Promise.reject(Z)}},[Le,Me,ue]),deactivate:c.useCallback(function(){try{return ue.current.deactivate(),Me.current.deactivate(),Le.current.deactivate(),G.current=!1,Promise.resolve()}catch(F){return Promise.reject(F)}},[Le,Me,ue]),openImmediately:c.useCallback(function(){try{return _.current=at.current,Promise.resolve(de({y:at.current,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(F){return Promise.reject(F)}},[de]),openSmoothly:c.useCallback(function(){try{return Promise.resolve(de({y:0,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){return _.current=at.current,Promise.resolve(de({y:at.current,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:at.current,immediate:oe.current})).then(function(){})})}catch(F){return Promise.reject(F)}},[de,oe]),snapSmoothly:c.useCallback(function(F,ie){try{var Z=ht.current(F.y);return _.current=Z,l.current=Z,Promise.resolve(de({y:Z,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:Ge.current,immediate:oe.current,config:{velocity:F.velocity}})).then(function(){})}catch(be){return Promise.reject(be)}},[de,l,oe]),resizeSmoothly:c.useCallback(function(){try{var F=ht.current(_.current);return _.current=F,l.current=F,Promise.resolve(de({y:F,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:Ge.current,immediate:re.current!=="element"||oe.current})).then(function(){})}catch(ie){return Promise.reject(ie)}},[de,l,oe]),closeSmoothly:c.useCallback(function(F,ie){try{return de({minSnap:_.current,immediate:!0}),_.current=0,Promise.resolve(de({y:0,maxHeight:X.current,maxSnap:Ue.current,immediate:oe.current})).then(function(){return Promise.resolve(de({ready:0,immediate:!0})).then(function(){})})}catch(Z){return Promise.reject(Z)}},[de,oe])}}),Ui=kn[0],Pt=kn[1];c.useEffect(function(){Q&&Pt(a?"OPEN":"CLOSE")},[a,Pt,Q]),jr(function(){(Ve||fe||ae)&&Pt("RESIZE")},[Ve,fe,ae,Pt]),c.useEffect(function(){return function(){ue.current.deactivate(),Me.current.deactivate(),Le.current.deactivate()}},[Le,Me,ue]),c.useImperativeHandle(e,function(){return{snapTo:function(F,ie){var Z=ie===void 0?{}:ie,be=Z.velocity,Te=be===void 0?1:be,Ae=Z.source,Be=Ae===void 0?"custom":Ae;Pt("SNAP",{payload:{y:ht.current(F),velocity:Te,source:Be}})},get height(){return _.current}}},[Pt]),c.useEffect(function(){var F=ee.current,ie=function(be){pe.current&&be.preventDefault()},Z=function(be){F.scrollTop<0&&(requestAnimationFrame(function(){F.style.overflow="hidden",F.scrollTop=0,F.style.removeProperty("overflow")}),be.preventDefault())};return k&&(F.addEventListener("scroll",ie),F.addEventListener("touchmove",ie),F.addEventListener("touchstart",Z)),function(){F.removeEventListener("scroll",ie),F.removeEventListener("touchmove",ie),F.removeEventListener("touchstart",Z)}},[k,ee]);var Rt=tm(function(F){var ie=F.args,Z=(ie=ie===void 0?[]:ie)[0],be=(Z=Z===void 0?{}:Z).closeOnTap,Te=be!==void 0&&be,Ae=Z.isContentDragging,Be=Ae!==void 0&&Ae,De=F.cancel,He=F.direction[1],ge=F.down,we=F.first,ct=F.last,qt=F.memo,lt=qt===void 0?Y.y.getValue():qt,Je=F.tap,pt=F.velocity,gt=-1*F.movement[1];if(!G.current)return De(),lt;if(d&&Te&&Je)return De(),setTimeout(function(){return d()},0),lt;if(Je)return lt;var tt=lt+gt,Ft=gt*pt,kt=Math.max(Ge.current,Math.min(Ue.current,tt+2*Ft));if(!ge&&d&&He>0&&tt+Ft<Ge.current/2)return De(),d(),lt;var vt=ge?d||Ge.current!==Ue.current?Mr(tt,d?0:Ge.current,Ue.current,.55):tt<Ge.current?Mr(tt,Ge.current,2*Ue.current,.55):Mr(tt,Ge.current/2,Ue.current,.55):kt;return k&&Be?(vt>=Ue.current&&(vt=Ue.current),lt===Ue.current&&ee.current.scrollTop>0&&(vt=Ue.current),pe.current=vt<Ue.current):pe.current=!1,we&&Pt("DRAG"),ct?(Pt("SNAP",{payload:{y:vt,velocity:pt>.05?pt:1,source:"dragging"}}),lt):(ne({y:vt,ready:1,maxHeight:X.current,maxSnap:Ue.current,minSnap:Ge.current,immediate:!0,config:{velocity:pt}}),lt)},{filterTaps:!0});if(Number.isNaN(Ue.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(Ge.current))throw new TypeError("minSnapRef is NaN!!");var Hi=function(F){var ie,Z=F.spring,be=Xn([Z.y,Z.maxHeight],function(ge,we){return Math.round(Ur(we-ge,0,16))+"px"}),Te=Xn([Z.y,Z.minSnap,Z.maxSnap],function(ge,we,ct){return Ur(ge,we,ct)+"px"}),Ae=Xn([Z.y,Z.minSnap,Z.maxSnap],function(ge,we,ct){return ge<we?we-ge+"px":ge>ct?ct-ge+"px":"0px"}),Be=Xn([Z.y,Z.maxSnap],function(ge,we){return ge>=we?Math.ceil(ge-we):0}),De=Xn([Z.y,Z.minSnap],function(ge,we){if(!we)return 0;var ct=Math.max(we/2-45,0);return Ur((ge-ct)*(1/(Math.min(we/2+45,we)-ct)+0),0,1)}),He=Xn([Z.y,Z.minSnap],function(ge,we){return we?Ur(ge/we,0,1):0});return(ie={})["--rsbs-content-opacity"]=De,ie["--rsbs-backdrop-opacity"]=He,ie["--rsbs-antigap-scale-y"]=Be,ie["--rsbs-overlay-translate-y"]=Ae,ie["--rsbs-overlay-rounded"]=be,ie["--rsbs-overlay-h"]=Te,ie}({spring:Y});return c.createElement(bv.div,it({},N,{"data-rsbs-root":!0,"data-rsbs-state":ny.find(Ui.matches),"data-rsbs-is-blocking":m,"data-rsbs-is-dismissable":!!d,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:U,style:it({},Hi,S,{opacity:Y.ready})}),r,m&&c.createElement("div",it({key:"backdrop","data-rsbs-backdrop":!0},Rt({closeOnTap:!0}))),c.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:q,onKeyDown:function(F){F.key==="Escape"&&(F.stopPropagation(),d&&d())}},s!==!1&&c.createElement("div",it({key:"header","data-rsbs-header":!0,ref:J},Rt()),s),c.createElement("div",it({key:"scroll","data-rsbs-scroll":!0,ref:ee},k?Rt({isContentDragging:!0}):{}),c.createElement("div",{"data-rsbs-content":!0,ref:le},n)),i&&c.createElement("div",it({key:"footer",ref:B,"data-rsbs-footer":!0},Rt()),i)))}),ny=["closed","opening","open","closing","dragging","snapping","resizing"];function ry(t){var e=t.lastSnap;return e??Math.min.apply(Math,t.snapPoints)}function oy(t){return t.minHeight}var iy=["onSpringStart","onSpringEnd","skipInitialTransition"],qu=c.forwardRef(function(t,e){var n=t.onSpringStart,r=t.onSpringEnd,o=t.skipInitialTransition,i=ni(t,iy),s=c.useState(!1),a=s[0],u=s[1],l=c.useRef(),f=c.useRef(null),d=c.useRef(o&&i.open?"OPEN":"CLOSED");jr(function(){if(i.open)return cancelAnimationFrame(l.current),u(!0),function(){d.current="CLOSED"}},[i.open]);var h=c.useCallback(function(v){return Promise.resolve(n==null?void 0:n(v)).then(function(){v.type==="OPEN"&&cancelAnimationFrame(l.current)})},[n]),g=c.useCallback(function(v){return Promise.resolve(r==null?void 0:r(v)).then(function(){v.type==="CLOSE"&&(l.current=requestAnimationFrame(function(){return u(!1)}))})},[r]);return a?c.createElement(Mp,{"data-rsbs-portal":!0},c.createElement(ty,it({},i,{lastSnapRef:f,ref:e,initialState:d.current,onSpringStart:h,onSpringEnd:g}))):null});function Ju(t,e){return function(){return t.apply(e,arguments)}}const{toString:sy}=Object.prototype,{getPrototypeOf:Us}=Object,ii=(t=>e=>{const n=sy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bt=t=>(t=t.toLowerCase(),e=>ii(e)===t),si=t=>e=>typeof e===t,{isArray:tr}=Array,Hr=si("undefined");function ay(t){return t!==null&&!Hr(t)&&t.constructor!==null&&!Hr(t.constructor)&&wt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Zu=Bt("ArrayBuffer");function ly(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Zu(t.buffer),e}const uy=si("string"),wt=si("function"),_u=si("number"),ai=t=>t!==null&&typeof t=="object",cy=t=>t===!0||t===!1,li=t=>{if(ii(t)!=="object")return!1;const e=Us(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},fy=Bt("Date"),dy=Bt("File"),hy=Bt("Blob"),py=Bt("FileList"),gy=t=>ai(t)&&wt(t.pipe),vy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||wt(t.append)&&((e=ii(t))==="formdata"||e==="object"&&wt(t.toString)&&t.toString()==="[object FormData]"))},my=Bt("URLSearchParams"),yy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),tr(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(r=0;r<s;r++)a=i[r],e.call(null,t[a],a,t)}}function Xu(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const $u=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ec=t=>!Hr(t)&&t!==$u;function Hs(){const{caseless:t}=ec(this)&&this||{},e={},n=(r,o)=>{const i=t&&Xu(e,o)||o;li(e[i])&&li(r)?e[i]=Hs(e[i],r):li(r)?e[i]=Hs({},r):tr(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&zr(arguments[r],n);return e}const by=(t,e,n,{allOwnKeys:r}={})=>(zr(e,(o,i)=>{n&&wt(o)?t[i]=Ju(o,n):t[i]=o},{allOwnKeys:r}),t),Ey=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),wy=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Cy=(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&Us(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Sy=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Ly=t=>{if(!t)return null;if(tr(t))return t;let e=t.length;if(!_u(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Ay=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Us(Uint8Array)),xy=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},Oy=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},My=Bt("HTMLFormElement"),Py=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),tc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ky=Bt("RegExp"),nc=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};zr(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},Iy=t=>{nc(t,(e,n)=>{if(wt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(wt(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Dy=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return tr(t)?r(t):r(String(t).split(e)),n},Ty=()=>{},By=(t,e)=>(t=+t,Number.isFinite(t)?t:e),zs="abcdefghijklmnopqrstuvwxyz",rc="0123456789",oc={DIGIT:rc,ALPHA:zs,ALPHA_DIGIT:zs+zs.toUpperCase()+rc},Ny=(t=16,e=oc.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function jy(t){return!!(t&&wt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Uy=t=>{const e=new Array(10),n=(r,o)=>{if(ai(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=tr(r)?[]:{};return zr(r,(s,a)=>{const u=n(s,o+1);!Hr(u)&&(i[a]=u)}),e[o]=void 0,i}}return r};return n(t,0)},Hy=Bt("AsyncFunction"),j={isArray:tr,isArrayBuffer:Zu,isBuffer:ay,isFormData:vy,isArrayBufferView:ly,isString:uy,isNumber:_u,isBoolean:cy,isObject:ai,isPlainObject:li,isUndefined:Hr,isDate:fy,isFile:dy,isBlob:hy,isRegExp:ky,isFunction:wt,isStream:gy,isURLSearchParams:my,isTypedArray:Ay,isFileList:py,forEach:zr,merge:Hs,extend:by,trim:yy,stripBOM:Ey,inherits:wy,toFlatObject:Cy,kindOf:ii,kindOfTest:Bt,endsWith:Sy,toArray:Ly,forEachEntry:xy,matchAll:Oy,isHTMLForm:My,hasOwnProperty:tc,hasOwnProp:tc,reduceDescriptors:nc,freezeMethods:Iy,toObjectSet:Dy,toCamelCase:Py,noop:Ty,toFiniteNumber:By,findKey:Xu,global:$u,isContextDefined:ec,ALPHABET:oc,generateString:Ny,isSpecCompliantForm:jy,toJSONObject:Uy,isAsyncFn:Hy,isThenable:t=>t&&(ai(t)||wt(t))&&wt(t.then)&&wt(t.catch)};function Se(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}j.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ic=Se.prototype,sc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{sc[t]={value:t}}),Object.defineProperties(Se,sc),Object.defineProperty(ic,"isAxiosError",{value:!0}),Se.from=(t,e,n,r,o,i)=>{const s=Object.create(ic);return j.toFlatObject(t,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),Se.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const zy=null;function Fs(t){return j.isPlainObject(t)||j.isArray(t)}function ac(t){return j.endsWith(t,"[]")?t.slice(0,-2):t}function lc(t,e,n){return t?t.concat(e).map(function(o,i){return o=ac(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function Fy(t){return j.isArray(t)&&!t.some(Fs)}const Vy=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function ui(t,e,n){if(!j.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,w){return!j.isUndefined(w[p])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(o))throw new TypeError("visitor must be a function");function l(v){if(v===null)return"";if(j.isDate(v))return v.toISOString();if(!u&&j.isBlob(v))throw new Se("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(v)||j.isTypedArray(v)?u&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,p,w){let E=v;if(v&&!w&&typeof v=="object"){if(j.endsWith(p,"{}"))p=r?p:p.slice(0,-2),v=JSON.stringify(v);else if(j.isArray(v)&&Fy(v)||(j.isFileList(v)||j.endsWith(p,"[]"))&&(E=j.toArray(v)))return p=ac(p),E.forEach(function(b,O){!(j.isUndefined(b)||b===null)&&e.append(s===!0?lc([p],O,i):s===null?p:p+"[]",l(b))}),!1}return Fs(v)?!0:(e.append(lc(w,p,i),l(v)),!1)}const d=[],h=Object.assign(Vy,{defaultVisitor:f,convertValue:l,isVisitable:Fs});function g(v,p){if(!j.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(v),j.forEach(v,function(E,m){(!(j.isUndefined(E)||E===null)&&o.call(e,E,j.isString(m)?m.trim():m,p,h))===!0&&g(E,p?p.concat(m):[m])}),d.pop()}}if(!j.isObject(t))throw new TypeError("data must be an object");return g(t),e}function uc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Vs(t,e){this._pairs=[],t&&ui(t,this,e)}const cc=Vs.prototype;cc.append=function(e,n){this._pairs.push([e,n])},cc.toString=function(e){const n=e?function(r){return e.call(this,r,uc)}:uc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Gy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fc(t,e,n){if(!e)return t;const r=n&&n.encode||Gy,o=n&&n.serialize;let i;if(o?i=o(e,n):i=j.isURLSearchParams(e)?e.toString():new Vs(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Qy{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){j.forEach(this.handlers,function(r){r!==null&&e(r)})}}const dc=Qy,hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Yy=typeof URLSearchParams<"u"?URLSearchParams:Vs,Wy=typeof FormData<"u"?FormData:null,Ky=typeof Blob<"u"?Blob:null,Ry=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),qy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Mt={isBrowser:!0,classes:{URLSearchParams:Yy,FormData:Wy,Blob:Ky},isStandardBrowserEnv:Ry,isStandardBrowserWebWorkerEnv:qy,protocols:["http","https","file","blob","url","data"]};function Jy(t,e){return ui(t,new Mt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Mt.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Zy(t){return j.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _y(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function pc(t){function e(n,r,o,i){let s=n[i++];const a=Number.isFinite(+s),u=i>=n.length;return s=!s&&j.isArray(o)?o.length:s,u?(j.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!j.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&j.isArray(o[s])&&(o[s]=_y(o[s])),!a)}if(j.isFormData(t)&&j.isFunction(t.entries)){const n={};return j.forEachEntry(t,(r,o)=>{e(Zy(r),o,n,0)}),n}return null}function Xy(t,e,n){if(j.isString(t))try{return(e||JSON.parse)(t),j.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Gs={transitional:hc,adapter:Mt.isNode?"http":"xhr",transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=j.isObject(e);if(i&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return o&&o?JSON.stringify(pc(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Jy(e,this.formSerializer).toString();if((a=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ui(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Xy(e)):e}],transformResponse:[function(e){const n=this.transitional||Gs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Se.from(a,Se.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mt.classes.FormData,Blob:Mt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],t=>{Gs.headers[t]={}});const Qs=Gs,$y=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e0=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
47
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&$y[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},gc=Symbol("internals");function Fr(t){return t&&String(t).trim().toLowerCase()}function ci(t){return t===!1||t==null?t:j.isArray(t)?t.map(ci):String(t)}function t0(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const n0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ys(t,e,n,r,o){if(j.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!j.isString(e)){if(j.isString(r))return e.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(e)}}function r0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function o0(t,e){const n=j.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class fi{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(a,u,l){const f=Fr(u);if(!f)throw new Error("header name must be a non-empty string");const d=j.findKey(o,f);(!d||o[d]===void 0||l===!0||l===void 0&&o[d]!==!1)&&(o[d||u]=ci(a))}const s=(a,u)=>j.forEach(a,(l,f)=>i(l,f,u));return j.isPlainObject(e)||e instanceof this.constructor?s(e,n):j.isString(e)&&(e=e.trim())&&!n0(e)?s(e0(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Fr(e),e){const r=j.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return t0(o);if(j.isFunction(n))return n.call(this,o,r);if(j.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Fr(e),e){const r=j.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ys(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Fr(s),s){const a=j.findKey(r,s);a&&(!n||Ys(r,r[a],a,n))&&(delete r[a],o=!0)}}return j.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Ys(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return j.forEach(this,(o,i)=>{const s=j.findKey(r,i);if(s){n[s]=ci(o),delete n[i];return}const a=e?r0(i):String(i).trim();a!==i&&delete n[i],n[a]=ci(o),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return j.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
|
48
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[gc]=this[gc]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Fr(s);r[a]||(o0(o,s),r[a]=!0)}return j.isArray(e)?e.forEach(i):i(e),this}}fi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(fi.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),j.freezeMethods(fi);const Yt=fi;function Ws(t,e){const n=this||Qs,r=e||n,o=Yt.from(r.headers);let i=r.data;return j.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function vc(t){return!!(t&&t.__CANCEL__)}function Vr(t,e,n){Se.call(this,t??"canceled",Se.ERR_CANCELED,e,n),this.name="CanceledError"}j.inherits(Vr,Se,{__CANCEL__:!0});function i0(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Se("Request failed with status code "+n.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const s0=Mt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const u=[];u.push(n+"="+encodeURIComponent(r)),j.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),j.isString(i)&&u.push("path="+i),j.isString(s)&&u.push("domain="+s),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function a0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function l0(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function mc(t,e){return t&&!a0(e)?l0(t,e):e}const u0=Mt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=j.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function c0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function f0(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),f=r[i];s||(s=l),n[o]=u,r[o]=l;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),l-s<e)return;const g=f&&l-f;return g?Math.round(h*1e3/g):void 0}}function yc(t,e){let n=0;const r=f0(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,u=r(a),l=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&l?(s-i)/u:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const di={http:zy,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Yt.from(t.headers).normalize(),s=t.responseType;let a;function u(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}j.isFormData(o)&&(Mt.isStandardBrowserEnv||Mt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+v))}const f=mc(t.baseURL,t.url);l.open(t.method.toUpperCase(),fc(f,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function d(){if(!l)return;const g=Yt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),p={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:t,request:l};i0(function(E){n(E),u()},function(E){r(E),u()},p),l=null}if("onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(d)},l.onabort=function(){l&&(r(new Se("Request aborted",Se.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new Se("Network Error",Se.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let v=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const p=t.transitional||hc;t.timeoutErrorMessage&&(v=t.timeoutErrorMessage),r(new Se(v,p.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,t,l)),l=null},Mt.isStandardBrowserEnv){const g=(t.withCredentials||u0(f))&&t.xsrfCookieName&&s0.read(t.xsrfCookieName);g&&i.set(t.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in l&&j.forEach(i.toJSON(),function(v,p){l.setRequestHeader(p,v)}),j.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&s!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",yc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",yc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{l&&(r(!g||g.type?new Vr(null,t,l):g),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=c0(f);if(h&&Mt.protocols.indexOf(h)===-1){r(new Se("Unsupported protocol "+h+":",Se.ERR_BAD_REQUEST,t));return}l.send(o||null)})}};j.forEach(di,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const bc={getAdapter:t=>{t=j.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let o=0;o<e&&(n=t[o],!(r=j.isString(n)?di[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new Se(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(j.hasOwnProp(di,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!j.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:di};function Ks(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Vr(null,t)}function Ec(t){return Ks(t),t.headers=Yt.from(t.headers),t.data=Ws.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),bc.getAdapter(t.adapter||Qs.adapter)(t).then(function(r){return Ks(t),r.data=Ws.call(t,t.transformResponse,r),r.headers=Yt.from(r.headers),r},function(r){return vc(r)||(Ks(t),r&&r.response&&(r.response.data=Ws.call(t,t.transformResponse,r.response),r.response.headers=Yt.from(r.response.headers))),Promise.reject(r)})}const wc=t=>t instanceof Yt?t.toJSON():t;function nr(t,e){e=e||{};const n={};function r(l,f,d){return j.isPlainObject(l)&&j.isPlainObject(f)?j.merge.call({caseless:d},l,f):j.isPlainObject(f)?j.merge({},f):j.isArray(f)?f.slice():f}function o(l,f,d){if(j.isUndefined(f)){if(!j.isUndefined(l))return r(void 0,l,d)}else return r(l,f,d)}function i(l,f){if(!j.isUndefined(f))return r(void 0,f)}function s(l,f){if(j.isUndefined(f)){if(!j.isUndefined(l))return r(void 0,l)}else return r(void 0,f)}function a(l,f,d){if(d in e)return r(l,f);if(d in t)return r(void 0,l)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(l,f)=>o(wc(l),wc(f),!0)};return j.forEach(Object.keys(Object.assign({},t,e)),function(f){const d=u[f]||o,h=d(t[f],e[f],f);j.isUndefined(h)&&d!==a||(n[f]=h)}),n}const Cc="1.5.0",Rs={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Rs[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Sc={};Rs.transitional=function(e,n,r){function o(i,s){return"[Axios v"+Cc+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(e===!1)throw new Se(o(s," has been removed"+(n?" in "+n:"")),Se.ERR_DEPRECATED);return n&&!Sc[s]&&(Sc[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,a):!0}};function d0(t,e,n){if(typeof t!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const a=t[i],u=a===void 0||s(a,i,t);if(u!==!0)throw new Se("option "+i+" must be "+u,Se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Se("Unknown option "+i,Se.ERR_BAD_OPTION)}}const qs={assertOptions:d0,validators:Rs},rn=qs.validators;class hi{constructor(e){this.defaults=e,this.interceptors={request:new dc,response:new dc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=nr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&qs.assertOptions(r,{silentJSONParsing:rn.transitional(rn.boolean),forcedJSONParsing:rn.transitional(rn.boolean),clarifyTimeoutError:rn.transitional(rn.boolean)},!1),o!=null&&(j.isFunction(o)?n.paramsSerializer={serialize:o}:qs.assertOptions(o,{encode:rn.function,serialize:rn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[n.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),n.headers=Yt.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(u=u&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let f,d=0,h;if(!u){const v=[Ec.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,l),h=v.length,f=Promise.resolve(n);d<h;)f=f.then(v[d++],v[d++]);return f}h=a.length;let g=n;for(d=0;d<h;){const v=a[d++],p=a[d++];try{g=v(g)}catch(w){p.call(this,w);break}}try{f=Ec.call(this,g)}catch(v){return Promise.reject(v)}for(d=0,h=l.length;d<h;)f=f.then(l[d++],l[d++]);return f}getUri(e){e=nr(this.defaults,e);const n=mc(e.baseURL,e.url);return fc(n,e.params,e.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(e){hi.prototype[e]=function(n,r){return this.request(nr(r||{},{method:e,url:n,data:(r||{}).data}))}}),j.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,a){return this.request(nr(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}hi.prototype[e]=n(),hi.prototype[e+"Form"]=n(!0)});const pi=hi;class Js{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new Vr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Js(function(o){e=o}),cancel:e}}}const h0=Js;function p0(t){return function(n){return t.apply(null,n)}}function g0(t){return j.isObject(t)&&t.isAxiosError===!0}const Zs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Zs).forEach(([t,e])=>{Zs[e]=t});const v0=Zs;function Lc(t){const e=new pi(t),n=Ju(pi.prototype.request,e);return j.extend(n,pi.prototype,e,{allOwnKeys:!0}),j.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Lc(nr(t,o))},n}const qe=Lc(Qs);qe.Axios=pi,qe.CanceledError=Vr,qe.CancelToken=h0,qe.isCancel=vc,qe.VERSION=Cc,qe.toFormData=ui,qe.AxiosError=Se,qe.Cancel=qe.CanceledError,qe.all=function(e){return Promise.all(e)},qe.spread=p0,qe.isAxiosError=g0,qe.mergeConfig=nr,qe.AxiosHeaders=Yt,qe.formToJSON=t=>pc(j.isHTMLForm(t)?new FormData(t):t),qe.getAdapter=bc.getAdapter,qe.HttpStatusCode=v0,qe.default=qe;const gi=qe.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),m0=512;var on=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(on||{}),Nt=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(Nt||{}),jt=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(jt||{});const y0={[Nt.CheckOrder]:["is_check_order","is_delivery"],[Nt.DressingRoom]:["is_dressing_room","is_delivery"],[Nt.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},b0={[jt.Return]:["is_pickup"],[jt.Shipping]:["is_pickup"],[jt.Payment]:["pay_by_cash","pay_by_card","is_pickup"]};async function*Ac({q:t,filter:e,bounds:n}={},{loading:r,onCancel:o,controller:i}={}){r&&i&&(i.abort(),o==null||o());const s={status:30,page_size:m0};t&&(s.q=t),e!=null&&e.type&&(s.type=e.type),e!=null&&e.receive&&Object.entries(e==null?void 0:e.receive).forEach(([f,d])=>{if(!d)return;y0[f].forEach(g=>{s[g]=!0})}),e!=null&&e.send&&Object.entries(e==null?void 0:e.send).forEach(([f,d])=>{if(!d)return;b0[f].forEach(g=>{s[g]=!0})}),n&&(s.start_latitude=n[0][0],s.end_latitude=n[0][1],s.start_longitude=n[1][0],s.end_longitude=n[1][1]);let a=await gi.get("/locations/points",{params:s,signal:i==null?void 0:i.signal}),u=a.data.data.num_pages,l=a.data.data.current_page;for(;l<u;){yield a,s.page=l+1;const f=await gi.get("/locations/points",{params:s,signal:i==null?void 0:i.signal});a.data.data.results=[...a.data.data.results,...f.data.data.results],a=f,l=f.data.data.current_page,u=f.data.data.num_pages}return yield a,a}const _s=new WeakSet;let rr=new AbortController;_s.add(rr);const E0=()=>{rr.abort(),_s.delete(rr),rr=new AbortController,_s.add(rr)},xc=(t,e,n)=>async r=>{const o={loading:t,controller:rr,onCancel:E0};if(!n){const i=(await Ac({filter:e},o).next()).value;r(i.data);return}for await(const i of Ac({filter:e,bounds:n},o))r(i.data)},Oc="@omnic/widget-locations",Xs=(t,e)=>{var n;(n=document.getElementById(Oc))==null||n.style.setProperty(t,e)},Mc=t=>{t.stopImmediatePropagation()},Pc=async(t,e="ROOFTOP")=>{fo.setLocationType(e);const n=await fo.fromLatLng(t[0].toString(),t[1].toString()),r=n.results.map(o=>{var i,s,a,u;return{...o,geometry:{...o.geometry,location:new google.maps.LatLng({lat:(s=(i=o.geometry)==null?void 0:i.location)==null?void 0:s.lat,lng:(u=(a=o.geometry)==null?void 0:a.location)==null?void 0:u.lng})}}});return{...n,results:r}},w0={points:[],error:!1,loaded:!1,loading:!1,reloading:!1},Ut=Xt()((t,e)=>({...w0,async loadNext(n,r){const o=e().reloading;t({error:!1,reloading:!0}),We.getState().setBounds(n);let i=0;try{await xc(o,r,n)(a=>{t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++})}catch{t({error:!0})}finally{t({reloading:!1})}},async loadFirst(n){const r=e().loading,o=We.getState().bounds;t({error:!1,loading:!0});let i=0;try{await xc(r,n,o)(a=>{i>=1&&t({loading:!1,loaded:!0}),t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++}),t({loading:!1,loaded:!0})}catch{t({error:!0,loading:!1})}finally{t({loading:!1})}}})),C0={query:"",type:on.All,hours:["08:00","22:00"],send:{[jt.Return]:!1,[jt.Payment]:!1,[jt.Shipping]:!1},receive:{[Nt.PayByCash]:!1,[Nt.CheckOrder]:!1,[Nt.DressingRoom]:!1}},Cn=Xt(t=>({...C0,setFilter(e){t(e)}})),S0=()=>{c.useEffect(()=>{Ut.getState().loadFirst();const t=Cn.subscribe(e=>{Ut.getState().loadFirst(e)});return()=>{t()}},[])},Gr=".",$s=Symbol("target"),kc=Symbol("unsubscribe");function ea(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function L0(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Ht=Array.isArray;function ta(t){return typeof t=="symbol"}const Ct={after:(t,e)=>Ht(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Ht(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Gr),ta(e)?t+e.toString():t+e):t,initial:t=>{if(Ht(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Gr);return e===-1?"":t.slice(0,e)},last:t=>{if(Ht(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Gr);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Ht(t))for(const n of t)e(n);else if(t!==""){let n=0,r=t.indexOf(Gr);if(r===-1)e(t);else for(;n<t.length;)r===-1&&(r=t.length),e(t.slice(n,r)),n=r+1,r=t.indexOf(Gr,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function A0(t){return typeof t=="object"&&typeof t.next=="function"}function x0(t,e,n,r,o){const i=t.next;if(e.name==="entries")t.next=function(){const s=i.call(this);return s.done===!1&&(s.value[0]=o(s.value[0],e,s.value[0],r),s.value[1]=o(s.value[1],e,s.value[0],r)),s};else if(e.name==="values"){const s=n[$s].keys();t.next=function(){const a=i.call(this);return a.done===!1&&(a.value=o(a.value,e,s.next().value,r)),a}}else t.next=function(){const s=i.call(this);return s.done===!1&&(s.value=o(s.value,e,s.value,r)),s};return t}function Ic(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&ta(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class O0{constructor(e){this._equals=e,this._proxyCache=new WeakMap,this._pathCache=new WeakMap,this.isUnsubscribed=!1}_getDescriptorCache(){return this._descriptorCache===void 0&&(this._descriptorCache=new WeakMap),this._descriptorCache}_getProperties(e){const n=this._getDescriptorCache();let r=n.get(e);return r===void 0&&(r={},n.set(e,r)),r}_getOwnPropertyDescriptor(e,n){if(this.isUnsubscribed)return Reflect.getOwnPropertyDescriptor(e,n);const r=this._getProperties(e);let o=r[n];return o===void 0&&(o=Reflect.getOwnPropertyDescriptor(e,n),r[n]=o),o}getProxy(e,n,r,o){if(this.isUnsubscribed)return e;const i=e[o],s=i||e;this._pathCache.set(s,n);let a=this._proxyCache.get(s);return a===void 0&&(a=i===void 0?new Proxy(e,r):e,this._proxyCache.set(s,a)),a}getPath(e){return this.isUnsubscribed?void 0:this._pathCache.get(e)}isDetached(e,n){return!Object.is(e,Ct.get(n,this.getPath(e)))}defineProperty(e,n,r){return Reflect.defineProperty(e,n,r)?(this.isUnsubscribed||(this._getProperties(e)[n]=r),!0):!1}setProperty(e,n,r,o,i){if(!this._equals(i,r)||!(n in e)){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&"set"in s?Reflect.set(e,n,r,o):Reflect.set(e,n,r)}return!0}deleteProperty(e,n,r){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const o=this._getDescriptorCache().get(e);o&&(delete o[n],this._pathCache.delete(r))}return!0}return!1}isSameDescriptor(e,n,r){const o=this._getOwnPropertyDescriptor(n,r);return e!==void 0&&o!==void 0&&Object.is(e.value,o.value)&&(e.writable||!1)===(o.writable||!1)&&(e.enumerable||!1)===(o.enumerable||!1)&&(e.configurable||!1)===(o.configurable||!1)&&e.get===o.get&&e.set===o.set}isGetInvariant(e,n){const r=this._getOwnPropertyDescriptor(e,n);return r!==void 0&&r.configurable!==!0&&r.writable!==!0}unsubscribe(){this._descriptorCache=null,this._pathCache=null,this._proxyCache=null,this.isUnsubscribed=!0}}function na(t){return toString.call(t)==="[object Object]"}function vi(){return!0}function or(t,e){return t.length!==e.length||t.some((n,r)=>e[r]!==n)}const Dc=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),M0=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),Tc={push:vi,pop:vi,shift:vi,unshift:vi,copyWithin:or,reverse:or,sort:or,splice:or,flat:or,fill:or},P0=new Set([...Dc,...M0,...Object.keys(Tc)]);function mi(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const Bc=["keys","values","entries"],Nc=new Set(["has","toString"]),jc={add:mi,clear:mi,delete:mi,forEach:mi},k0=new Set([...Nc,...Object.keys(jc),...Bc]);function yi(t,e){if(t.size!==e.size)return!0;let n;for(const[r,o]of t)if(n=e.get(r),n!==o||n===void 0&&!e.has(r))return!0;return!1}const I0=new Set([...Nc,"get"]),Uc={set:yi,clear:yi,delete:yi,forEach:yi},D0=new Set([...I0,...Object.keys(Uc),...Bc]);class sn{constructor(e,n,r,o){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=o,this._changes=o?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return Dc.has(e)}_shallowClone(e){let n=e;if(na(e))n={...e};else if(Ht(e)||ArrayBuffer.isView(e))n=[...e];else if(e instanceof Date)n=new Date(e);else if(e instanceof Set)n=new Set([...e].map(r=>this._shallowClone(r)));else if(e instanceof Map){n=new Map;for(const[r,o]of e.entries())n.set(r,this._shallowClone(o))}return this._clonedCache.add(n),n}preferredThisArg(e,n,r,o){return e?(Ht(o)?this._onIsChanged=Tc[n]:o instanceof Set?this._onIsChanged=jc[n]:o instanceof Map&&(this._onIsChanged=Uc[n]),o):r}update(e,n,r){const o=Ct.after(e,this._path);if(n!=="length"){let i=this.clone;Ct.walk(o,s=>{i&&i[s]&&(this._clonedCache.has(i[s])||(i[s]=this._shallowClone(i[s])),i=i[s])}),this._hasOnValidate&&this._changes.push({path:o,property:n,previous:r}),i&&i[n]&&(i[n]=r)}this._isChanged=!0}undo(e){let n;for(let r=this._changes.length-1;r!==-1;r--)n=this._changes[r],Ct.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class Hc extends sn{static isHandledMethod(e){return P0.has(e)}}class T0 extends sn{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class zc extends sn{static isHandledMethod(e){return k0.has(e)}undo(e){for(const n of this.clone)e.add(n);for(const n of e)this.clone.has(n)||e.delete(n)}}class Fc extends sn{static isHandledMethod(e){return D0.has(e)}undo(e){for(const[n,r]of this.clone.entries())e.set(n,r);for(const n of e.keys())this.clone.has(n)||e.delete(n)}}class B0 extends sn{constructor(e,n,r,o){super(void 0,n,r,o),this._arg1=r[0],this._weakValue=e.has(this._arg1)}isChanged(e){return this._weakValue!==e.has(this._arg1)}undo(e){this._weakValue&&!e.has(this._arg1)?e.add(this._arg1):e.delete(this._arg1)}}class N0 extends sn{constructor(e,n,r,o){super(void 0,n,r,o),this._weakKey=r[0],this._weakHas=e.has(this._weakKey),this._weakValue=e.get(this._weakKey)}isChanged(e){return this._weakValue!==e.get(this._weakKey)}undo(e){const n=e.has(this._weakKey);this._weakHas&&!n?e.set(this._weakKey,this._weakValue):!this._weakHas&&n?e.delete(this._weakKey):this._weakValue!==e.get(this._weakKey)&&e.set(this._weakKey,this._weakValue)}}class Sn{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return na(e)||Ht(e)||ea(e)}static isHandledMethod(e,n){return na(e)?sn.isHandledMethod(n):Ht(e)?Hc.isHandledMethod(n):e instanceof Set?zc.isHandledMethod(n):e instanceof Map?Fc.isHandledMethod(n):ea(e)}get isCloning(){return this._stack.length>0}start(e,n,r){let o=sn;Ht(e)?o=Hc:e instanceof Date?o=T0:e instanceof Set?o=zc:e instanceof Map?o=Fc:e instanceof WeakSet?o=B0:e instanceof WeakMap&&(o=N0),this._stack.push(new o(e,n,r,this._hasOnValidate))}update(e,n,r){this._stack[this._stack.length-1].update(e,n,r)}preferredThisArg(e,n,r){const{name:o}=e,i=Sn.isHandledMethod(r,o);return this._stack[this._stack.length-1].preferredThisArg(i,o,n,r)}isChanged(e,n,r){return this._stack[this._stack.length-1].isChanged(e,n,r)}undo(e){this._previousClone!==void 0&&this._previousClone.undo(e)}stop(){return this._previousClone=this._stack.pop(),this._previousClone.clone}}const j0={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Qr=(t,e,n={})=>{n={...j0,...n};const r=Symbol("ProxyTarget"),{equals:o,isShallow:i,ignoreDetached:s,details:a}=n,u=new O0(o),l=typeof n.onValidate=="function",f=new Sn(l),d=(m,b,O,S,y)=>!l||f.isCloning||n.onValidate(Ct.concat(u.getPath(m),b),O,S,y)===!0,h=(m,b,O,S)=>{!Ic(u,n,b)&&!(s&&u.isDetached(m,t))&&g(u.getPath(m),b,O,S)},g=(m,b,O,S,y)=>{f.isCloning?f.update(m,b,S):e(Ct.concat(m,b),O,S,y)},v=m=>m&&(m[r]||m),p=(m,b,O,S)=>L0(m)||O==="constructor"||i&&!Sn.isHandledMethod(b,O)||Ic(u,n,O)||u.isGetInvariant(b,O)||s&&u.isDetached(b,t)?m:(S===void 0&&(S=u.getPath(b)),u.getProxy(m,Ct.concat(S,O),w,r)),w={get(m,b,O){if(ta(b)){if(b===r||b===$s)return m;if(b===kc&&!u.isUnsubscribed&&u.getPath(m).length===0)return u.unsubscribe(),m}const S=ea(m)?Reflect.get(m,b):Reflect.get(m,b,O);return p(S,m,b)},set(m,b,O,S){O=v(O);const y=m[r]||m,C=y[b];if(o(C,O)&&b in m)return!0;const A=d(m,b,O,C);return A&&u.setProperty(y,b,O,S,C)?(h(m,b,m[b],C),!0):!A},defineProperty(m,b,O){if(!u.isSameDescriptor(O,m,b)){const S=m[b];d(m,b,O.value,S)&&u.defineProperty(m,b,O,S)&&h(m,b,O.value,S)}return!0},deleteProperty(m,b){if(!Reflect.has(m,b))return!0;const O=Reflect.get(m,b),S=d(m,b,void 0,O);return S&&u.deleteProperty(m,b,O)?(h(m,b,void 0,O),!0):!S},apply(m,b,O){const S=b[r]||b;if(u.isUnsubscribed)return Reflect.apply(m,S,O);if((a===!1||a!==!0&&!a.includes(m.name))&&Sn.isHandledType(S)){let y=Ct.initial(u.getPath(m));const C=Sn.isHandledMethod(S,m.name);f.start(S,y,O);let A=Reflect.apply(m,f.preferredThisArg(m,b,S),C?O.map(x=>v(x)):O);const P=f.isChanged(S,o),M=f.stop();if(Sn.isHandledType(A)&&C&&(b instanceof Map&&m.name==="get"&&(y=Ct.concat(y,O[0])),A=u.getProxy(A,y,w)),P){const x={name:m.name,args:O,result:A},k=f.isCloning?Ct.initial(y):y,N=f.isCloning?Ct.last(y):"";d(Ct.get(t,k),N,S,M,x)?g(k,N,S,M,x):f.undo(S)}return(b instanceof Map||b instanceof Set)&&A0(A)?x0(A,m,b,y,p):A}return Reflect.apply(m,b,O)}},E=u.getProxy(t,n.pathAsArray?[]:"",w);return e=e.bind(E),l&&(n.onValidate=n.onValidate.bind(E)),E};Qr.target=t=>t&&t[$s]||t,Qr.unsubscribe=t=>t[kc]||t;const U0=t=>{const[e,n]=c.useState({...sl,...t??window.OMNIC_WIDGET_LOCATIONS_CONFIG}),r=t&&!window.OMNIC_WIDGET_LOCATIONS_CONFIG,o=!t&&window.OMNIC_WIDGET_LOCATIONS_CONFIG;return c.useEffect(()=>{r&&n(t)},[t,r]),c.useEffect(()=>{if(o)return window.OMNIC_WIDGET_LOCATIONS_CONFIG=Qr(window.OMNIC_WIDGET_LOCATIONS_CONFIG,function(){const i=Qr.target(this);i.palette&&(i.palette={...i.palette}),i.map&&(i.map={...i.map}),n({...i})}),()=>{window.OMNIC_WIDGET_LOCATIONS_CONFIG&&Qr.unsubscribe(window.OMNIC_WIDGET_LOCATIONS_CONFIG)}},[o]),e},H0=(t,e)=>{gi.defaults.headers.get.Authorization=`INN ${t}`,e!=null&&e.baseURL&&(gi.defaults.baseURL=e.baseURL)},z0={location:null,hook:null},Wt=Xt()(t=>({...z0,setSelectedPoint(e){t({location:e})},setSelectPointHook(e){t({hook:e})}})),F0={root:"Overlay-module__root__y8tkGi"},ra=({children:t,className:e})=>L.jsx("div",{className:Ce(F0.root,e),children:t}),V0={loader:"Spinner-module__loader__HX--ed"},oa=()=>L.jsx("div",{className:V0.loader,children:"Loading..."});/*! *****************************************************************************
|
|
47
49
|
Copyright (c) Microsoft Corporation.
|
|
48
50
|
|
|
49
51
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -56,15 +58,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
56
58
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
57
59
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
58
60
|
PERFORMANCE OF THIS SOFTWARE.
|
|
59
|
-
***************************************************************************** */var
|
|
61
|
+
***************************************************************************** */var ia=function(t,e){return ia=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},ia(t,e)};function je(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ia(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var te=function(){return te=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},te.apply(this,arguments)};function sa(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function G0(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{l(r.next(f))}catch(d){s(d)}}function u(f){try{l(r.throw(f))}catch(d){s(d)}}function l(f){f.done?i(f.value):o(f.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}function Q0(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(f){return u([l,f])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(t,n)}catch(f){l=[6,f],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Vc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Y0=function(t,e,n,r,o,i,s,a){if(!t){var u;if(e===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,s,a],f=0;u=new Error(e.replace(/%s/g,function(){return l[f++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},W0=Y0,Ke=Vc(W0),he=c.createContext(null);function K0(){Ke(!!c.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=c.useContext(he);return Ke(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function R0(t,e,n){return Object.keys(t).reduce(function(o,i){return e(o,t[i],i)},n)}function q0(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function J0(t,e,n,r){var o={},i=function(s,a){var u=n[a];u!==e[a]&&(o[a]=u,s(r,u))};return q0(t,i),o}function Z0(t,e,n){var r=R0(n,function(i,s,a){return typeof t[a]=="function"&&i.push(google.maps.event.addListener(e,s,t[a])),i},[]);return r}function _0(t){google.maps.event.removeListener(t)}function ye(t){t===void 0&&(t=[]),t.forEach(_0)}function ve(t){var e=t.updaterMap,n=t.eventMap,r=t.prevProps,o=t.nextProps,i=t.instance,s=Z0(o,i,n);return J0(e,r,o,i),s}var Gc={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"},Qc={extraMapTypes:function(t,e){e.forEach(function(r,o){t.mapTypes.set(String(o),r)})},center:function(t,e){t.setCenter(e)},clickableIcons:function(t,e){t.setClickableIcons(e)},heading:function(t,e){t.setHeading(e)},mapTypeId:function(t,e){t.setMapTypeId(e)},options:function(t,e){t.setOptions(e)},streetView:function(t,e){t.setStreetView(e)},tilt:function(t,e){t.setTilt(e)},zoom:function(t,e){t.setZoom(e)}};function X0(t){var e=t.children,n=t.options,r=t.id,o=t.mapContainerStyle,i=t.mapContainerClassName,s=t.center,a=t.onClick,u=t.onDblClick,l=t.onDrag,f=t.onDragEnd,d=t.onDragStart,h=t.onMouseMove,g=t.onMouseOut,v=t.onMouseOver,p=t.onMouseDown,w=t.onMouseUp,E=t.onRightClick,m=t.onCenterChanged,b=t.onLoad,O=t.onUnmount,S=c.useState(null),y=S[0],C=S[1],A=c.useRef(null),P=c.useState(null),M=P[0],x=P[1],k=c.useState(null),N=k[0],z=k[1],Q=c.useState(null),R=Q[0],G=Q[1],K=c.useState(null),T=K[0],I=K[1],D=c.useState(null),V=D[0],H=D[1],Y=c.useState(null),ne=Y[0],U=Y[1],ee=c.useState(null),le=ee[0],J=ee[1],B=c.useState(null),q=B[0],_=B[1],re=c.useState(null),pe=re[0],oe=re[1],ue=c.useState(null),Le=ue[0],Me=ue[1],Pe=c.useState(null),ae=Pe[0],fe=Pe[1],Ve=c.useState(null),_e=Ve[0],X=Ve[1];return c.useEffect(function(){n&&y!==null&&y.setOptions(n)},[y,n]),c.useEffect(function(){y!==null&&typeof s<"u"&&y.setCenter(s)},[y,s]),c.useEffect(function(){y&&u&&(N!==null&&google.maps.event.removeListener(N),z(google.maps.event.addListener(y,"dblclick",u)))},[u]),c.useEffect(function(){y&&f&&(R!==null&&google.maps.event.removeListener(R),G(google.maps.event.addListener(y,"dragend",f)))},[f]),c.useEffect(function(){y&&d&&(T!==null&&google.maps.event.removeListener(T),I(google.maps.event.addListener(y,"dragstart",d)))},[d]),c.useEffect(function(){y&&p&&(V!==null&&google.maps.event.removeListener(V),H(google.maps.event.addListener(y,"mousedown",p)))},[p]),c.useEffect(function(){y&&h&&(ne!==null&&google.maps.event.removeListener(ne),U(google.maps.event.addListener(y,"mousemove",h)))},[h]),c.useEffect(function(){y&&g&&(le!==null&&google.maps.event.removeListener(le),J(google.maps.event.addListener(y,"mouseout",g)))},[g]),c.useEffect(function(){y&&v&&(q!==null&&google.maps.event.removeListener(q),_(google.maps.event.addListener(y,"mouseover",v)))},[v]),c.useEffect(function(){y&&w&&(pe!==null&&google.maps.event.removeListener(pe),oe(google.maps.event.addListener(y,"mouseup",w)))},[w]),c.useEffect(function(){y&&E&&(Le!==null&&google.maps.event.removeListener(Le),Me(google.maps.event.addListener(y,"rightclick",E)))},[E]),c.useEffect(function(){y&&a&&(ae!==null&&google.maps.event.removeListener(ae),fe(google.maps.event.addListener(y,"click",a)))},[a]),c.useEffect(function(){y&&l&&(_e!==null&&google.maps.event.removeListener(_e),X(google.maps.event.addListener(y,"drag",l)))},[l]),c.useEffect(function(){y&&m&&(M!==null&&google.maps.event.removeListener(M),x(google.maps.event.addListener(y,"center_changed",m)))},[a]),c.useEffect(function(){var Ge=A.current===null?null:new google.maps.Map(A.current,n);return C(Ge),Ge!==null&&b&&b(Ge),function(){Ge!==null&&O&&O(Ge)}},[]),L.jsx("div",{id:r,ref:A,style:o,className:i,children:L.jsx(he.Provider,{value:y,children:y!==null?e:L.jsx(L.Fragment,{})})})}c.memo(X0);var $0=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={map:null},n.registeredEvents=[],n.mapRef=null,n.getInstance=function(){return n.mapRef===null?null:new google.maps.Map(n.mapRef,n.props.options)},n.panTo=function(r){var o=n.getInstance();o&&o.panTo(r)},n.setMapCallback=function(){n.state.map!==null&&n.props.onLoad&&n.props.onLoad(n.state.map)},n.getRef=function(r){n.mapRef=r},n}return e.prototype.componentDidMount=function(){var n=this.getInstance();this.registeredEvents=ve({updaterMap:Qc,eventMap:Gc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{map:n}},this.setMapCallback)},e.prototype.componentDidUpdate=function(n){this.state.map!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Qc,eventMap:Gc,prevProps:n,nextProps:this.props,instance:this.state.map}))},e.prototype.componentWillUnmount=function(){this.state.map!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),ye(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:L.jsx(he.Provider,{value:this.state.map,children:this.state.map!==null?this.props.children:L.jsx(L.Fragment,{})})})},e}(c.PureComponent),an=typeof document<"u";function Yc(t){var e=t.url,n=t.id,r=t.nonce;return an?new Promise(function(i,s){var a=document.getElementById(n),u=window;if(a){var l=a.getAttribute("data-state");if(a.src===e&&l!=="error"){if(l==="ready")return i(n);var f=u.initMap,d=a.onerror;u.initMap=function(){f&&f(),i(n)},a.onerror=function(g){d&&d(g),s(g)};return}else a.remove()}var h=document.createElement("script");h.type="text/javascript",h.src=e,h.id=n,h.async=!0,h.nonce=r||"",h.onerror=function(v){h.setAttribute("data-state","error"),s(v)},u.initMap=function(){h.setAttribute("data-state","ready"),i(n)},document.head.appendChild(h)}).catch(function(o){throw console.error("injectScript error: ",o),o}):Promise.reject(new Error("document is undefined"))}function Wc(t){var e=t.href;return e&&(e.indexOf("https://fonts.googleapis.com/css?family=Roboto")===0||e.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text")===0)?!0:t.tagName.toLowerCase()==="style"&&t.styleSheet&&t.styleSheet.cssText&&t.styleSheet.cssText.replace(`\r
|
|
60
62
|
`,"").indexOf(".gm-style")===0?(t.styleSheet.cssText="",!0):t.tagName.toLowerCase()==="style"&&t.innerHTML&&t.innerHTML.replace(`\r
|
|
61
|
-
`,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function
|
|
63
|
+
`,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function aa(){var t=document.getElementsByTagName("head")[0];if(t){var e=t.insertBefore.bind(t);t.insertBefore=function(o,i){return Wc(o)||Reflect.apply(e,t,[o,i]),o};var n=t.appendChild.bind(t);t.appendChild=function(o){return Wc(o)||Reflect.apply(n,t,[o]),o}}}function Kc(t){var e=t.googleMapsApiKey,n=t.googleMapsClientId,r=t.version,o=r===void 0?"weekly":r,i=t.language,s=t.region,a=t.libraries,u=t.channel,l=t.mapIds,f=t.authReferrerPolicy,d=[];return Ke(e&&n||!(e&&n),"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."),e?d.push("key=".concat(e)):n&&d.push("client=".concat(n)),o&&d.push("v=".concat(o)),i&&d.push("language=".concat(i)),s&&d.push("region=".concat(s)),a&&a.length&&d.push("libraries=".concat(a.sort().join(","))),u&&d.push("channel=".concat(u)),l&&l.length&&d.push("map_ids=".concat(l.join(","))),f&&d.push("auth_referrer_policy=".concat(f)),d.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?".concat(d.join("&"))}var Yr=!1;function Rc(){return L.jsx("div",{children:"Loading..."})}var Wr={id:"script-loader",version:"weekly"};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.check=c.createRef(),n.state={loaded:!1},n.cleanupCallback=function(){delete window.google.maps,n.injectScript()},n.isCleaningUp=function(){return G0(n,void 0,void 0,function(){function r(o){if(!Yr)o();else if(an)var i=window.setInterval(function(){Yr||(window.clearInterval(i),o())},1)}return Q0(this,function(o){return[2,new Promise(r)]})})},n.cleanup=function(){Yr=!0;var r=document.getElementById(n.props.id);r&&r.parentNode&&r.parentNode.removeChild(r),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(i){return typeof i.src=="string"&&i.src.includes("maps.googleapis")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(i){return i.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(i){return i.innerText!==void 0&&i.innerText.length>0&&i.innerText.includes(".gm-")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)})},n.injectScript=function(){n.props.preventGoogleFontsLoading&&aa(),Ke(!!n.props.id,'LoadScript requires "id" prop to be a string: %s',n.props.id);var r={id:n.props.id,nonce:n.props.nonce,url:Kc(n.props)};Yc(r).then(function(){n.props.onLoad&&n.props.onLoad(),n.setState(function(){return{loaded:!0}})}).catch(function(o){n.props.onError&&n.props.onError(o),console.error(`
|
|
62
64
|
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(n.props.googleMapsApiKey||"-",") or Client ID (").concat(n.props.googleMapsClientId||"-",`) to <LoadScript />
|
|
63
65
|
Otherwise it is a Network issue.
|
|
64
|
-
`))})},n}return e.prototype.componentDidMount=function(){if(
|
|
66
|
+
`))})},n}return e.prototype.componentDidMount=function(){if(an){if(window.google&&window.google.maps&&!Yr){console.error("google api is already presented");return}this.isCleaningUp().then(this.injectScript).catch(function(r){console.error("Error at injecting script after cleaning up: ",r)})}},e.prototype.componentDidUpdate=function(n){this.props.libraries!==n.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"),an&&n.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))},e.prototype.componentWillUnmount=function(){var n=this;if(an){this.cleanup();var r=function(){n.check.current||(delete window.google,Yr=!1)};window.setTimeout(r,1),this.props.onUnmount&&this.props.onUnmount()}},e.prototype.render=function(){return L.jsxs(L.Fragment,{children:[L.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||L.jsx(Rc,{})]})},e.defaultProps=Wr,e})(c.PureComponent);var qc;function eb(t){var e=t.id,n=e===void 0?Wr.id:e,r=t.version,o=r===void 0?Wr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.googleMapsClientId,u=t.language,l=t.region,f=t.libraries,d=t.preventGoogleFontsLoading,h=t.channel,g=t.mapIds,v=t.authReferrerPolicy,p=c.useRef(!1),w=c.useState(!1),E=w[0],m=w[1],b=c.useState(void 0),O=b[0],S=b[1];c.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]),c.useEffect(function(){an&&d&&aa()},[d]),c.useEffect(function(){E&&Ke(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[E]);var y=Kc({version:o,googleMapsApiKey:s,googleMapsClientId:a,language:u,region:l,libraries:f,channel:h,mapIds:g,authReferrerPolicy:v});c.useEffect(function(){if(!an)return;function P(){p.current&&(m(!0),qc=y)}if(window.google&&window.google.maps&&qc===y){P();return}Yc({id:n,url:y,nonce:i}).then(P).catch(function(x){p.current&&S(x),console.warn(`
|
|
65
67
|
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(s||"-",") or Client ID (").concat(a||"-",`)
|
|
66
68
|
Otherwise it is a Network issue.
|
|
67
|
-
`)),console.error(P)})},[n,v,i]);var x=c.useRef();return c.useEffect(function(){x.current&&f!==x.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"),x.current=f},[f]),{isLoaded:C,loadError:A,url:v}}var V0=L.jsx(Hc,{});function Q0(t){var e=t.loadingElement,n=t.onLoad,r=t.onError,o=t.onUnmount,i=t.children,s=na(t,["loadingElement","onLoad","onError","onUnmount","children"]),a=G0(s),l=a.isLoaded,u=a.loadError;return c.useEffect(function(){l&&typeof n=="function"&&n()},[l,n]),c.useEffect(function(){u&&typeof r=="function"&&r(u)},[u,r]),c.useEffect(function(){return function(){o&&o()}},[o]),l?i:e||V0}var Y0=c.memo(Q0),Fc;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Fc||(Fc={}));var Gc={},Vc={options:function(t,e){t.setOptions(e)}};function W0(t){var e=t.options,n=t.onLoad,r=t.onUnmount,o=c.useContext(de),i=c.useState(null),s=i[0],a=i[1];return c.useEffect(function(){s!==null&&s.setMap(o)},[o]),c.useEffect(function(){e&&s!==null&&s.setOptions(e)},[s,e]),c.useEffect(function(){var l=new google.maps.TrafficLayer(ee(ee({},e||{}),{map:o}));return a(l),n&&n(l),function(){s!==null&&(r&&r(s),s.setMap(null))}},[]),null}c.memo(W0),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={trafficLayer:null},n.setTrafficLayerCallback=function(){n.state.trafficLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.trafficLayer)},n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=new google.maps.TrafficLayer(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:Vc,eventMap:Gc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Vc,eventMap:Gc,prevProps:n,nextProps:this.props,instance:this.state.trafficLayer}))},e.prototype.componentWillUnmount=function(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),me(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);function K0(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(de),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.BicyclingLayer;return s(a),a.setMap(r),e&&e(a),function(){a!==null&&(n&&n(a),a.setMap(null))}},[]),null}c.memo(K0),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={bicyclingLayer:null},n.setBicyclingLayerCallback=function(){n.state.bicyclingLayer!==null&&(n.state.bicyclingLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.bicyclingLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.BicyclingLayer;this.setState(function(){return{bicyclingLayer:n}},this.setBicyclingLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);function R0(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(de),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.TransitLayer;return s(a),a.setMap(r),e&&e(a),function(){i!==null&&(n&&n(i),i.setMap(null))}},[]),null}c.memo(R0),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={transitLayer:null},n.setTransitLayerCallback=function(){n.state.transitLayer!==null&&(n.state.transitLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.transitLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:n}},this.setTransitLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var Qc={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},Yc={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function q0(t){var e=t.options,n=t.drawingMode,r=t.onCircleComplete,o=t.onMarkerComplete,i=t.onOverlayComplete,s=t.onPolygonComplete,a=t.onPolylineComplete,l=t.onRectangleComplete,u=t.onLoad,f=t.onUnmount,d=c.useContext(de),p=c.useState(null),g=p[0],m=p[1],h=c.useState(null),S=h[0],C=h[1],b=c.useState(null),y=b[0],A=b[1],E=c.useState(null),v=E[0],x=E[1],w=c.useState(null),M=w[0],O=w[1],P=c.useState(null),T=P[0],z=P[1],Q=c.useState(null),K=Q[0],J=Q[1];return c.useEffect(function(){g!==null&&g.setMap(d)},[d]),c.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),c.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),c.useEffect(function(){g&&r&&(S!==null&&google.maps.event.removeListener(S),C(google.maps.event.addListener(g,"circlecomplete",r)))},[g,r]),c.useEffect(function(){g&&o&&(y!==null&&google.maps.event.removeListener(y),A(google.maps.event.addListener(g,"markercomplete",o)))},[g,o]),c.useEffect(function(){g&&i&&(v!==null&&google.maps.event.removeListener(v),x(google.maps.event.addListener(g,"overlaycomplete",i)))},[g,i]),c.useEffect(function(){g&&s&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(g,"polygoncomplete",s)))},[g,s]),c.useEffect(function(){g&&a&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(g,"polylinecomplete",a)))},[g,a]),c.useEffect(function(){g&&l&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(g,"rectanglecomplete",l)))},[g,l]),c.useEffect(function(){We(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var G=new google.maps.drawing.DrawingManager(ee(ee({},e||{}),{map:d}));return n&&G.setDrawingMode(n),r&&C(google.maps.event.addListener(G,"circlecomplete",r)),o&&A(google.maps.event.addListener(G,"markercomplete",o)),i&&x(google.maps.event.addListener(G,"overlaycomplete",i)),s&&O(google.maps.event.addListener(G,"polygoncomplete",s)),a&&z(google.maps.event.addListener(G,"polylinecomplete",a)),l&&J(google.maps.event.addListener(G,"rectanglecomplete",l)),m(G),u&&u(G),function(){g!==null&&(S&&google.maps.event.removeListener(S),y&&google.maps.event.removeListener(y),v&&google.maps.event.removeListener(v),M&&google.maps.event.removeListener(M),T&&google.maps.event.removeListener(T),K&&google.maps.event.removeListener(K),f&&f(g),g.setMap(null))}},[]),null}c.memo(q0),function(t){je(e,t);function e(n){var r=t.call(this,n)||this;return r.registeredEvents=[],r.state={drawingManager:null},r.setDrawingManagerCallback=function(){r.state.drawingManager!==null&&r.props.onLoad&&r.props.onLoad(r.state.drawingManager)},We(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing),r}return e.prototype.componentDidMount=function(){var n=new google.maps.drawing.DrawingManager(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:Yc,eventMap:Qc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Yc,eventMap:Qc,prevProps:n,nextProps:this.props,instance:this.state.drawingManager}))},e.prototype.componentWillUnmount=function(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),me(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var Wc={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"},Kc={animation:function(t,e){t.setAnimation(e)},clickable:function(t,e){t.setClickable(e)},cursor:function(t,e){t.setCursor(e)},draggable:function(t,e){t.setDraggable(e)},icon:function(t,e){t.setIcon(e)},label:function(t,e){t.setLabel(e)},map:function(t,e){t.setMap(e)},opacity:function(t,e){t.setOpacity(e)},options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},shape:function(t,e){t.setShape(e)},title:function(t,e){t.setTitle(e)},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},pi={};function J0(t){var e=t.position,n=t.options,r=t.clusterer,o=t.noClustererRedraw,i=t.children,s=t.draggable,a=t.visible,l=t.animation,u=t.clickable,f=t.cursor,d=t.icon,p=t.label,g=t.opacity,m=t.shape,h=t.title,S=t.zIndex,C=t.onClick,b=t.onDblClick,y=t.onDrag,A=t.onDragEnd,E=t.onDragStart,v=t.onMouseOut,x=t.onMouseOver,w=t.onMouseUp,M=t.onMouseDown,O=t.onRightClick,P=t.onClickableChanged,T=t.onCursorChanged,z=t.onAnimationChanged,Q=t.onDraggableChanged,K=t.onFlatChanged,J=t.onIconChanged,G=t.onPositionChanged,W=t.onShapeChanged,D=t.onTitleChanged,k=t.onVisibleChanged,I=t.onZindexChanged,H=t.onLoad,F=t.onUnmount,V=c.useContext(de),te=c.useState(null),j=te[0],ne=te[1],ue=c.useState(null),Z=ue[0],B=ue[1],R=c.useState(null),X=R[0],re=R[1],pe=c.useState(null),oe=pe[0],le=pe[1],Se=c.useState(null),Oe=Se[0],Me=Se[1],ae=c.useState(null),ce=ae[0],Ge=ae[1],Je=c.useState(null),_=Je[0],Ve=Je[1],Ue=c.useState(null),dt=Ue[0],st=Ue[1],fe=c.useState(null),Mn=fe[0],Ni=fe[1],Mt=c.useState(null),Rt=Mt[0],ji=Mt[1],U=c.useState(null),ie=U[0],q=U[1],ye=c.useState(null),Te=ye[0],Le=ye[1],Be=c.useState(null),De=Be[0],He=Be[1],he=c.useState(null),we=he[0],ut=he[1],qt=c.useState(null),at=qt[0],Re=qt[1],pt=c.useState(null),ht=pt[0],$e=pt[1],Ft=c.useState(null),Pt=Ft[0],gt=Ft[1],un=c.useState(null),Jt=un[0],Zr=un[1],Xr=c.useState(null),ar=Xr[0],_r=Xr[1],lr=c.useState(null),Pn=lr[0],$r=lr[1],cn=c.useState(null),kn=cn[0],In=cn[1],Dn=c.useState(null),Tn=Dn[0],eo=Dn[1];c.useEffect(function(){j!==null&&j.setMap(V)},[V]),c.useEffect(function(){typeof n<"u"&&j!==null&&j.setOptions(n)},[j,n]),c.useEffect(function(){typeof s<"u"&&j!==null&&j.setDraggable(s)},[j,s]),c.useEffect(function(){e&&j!==null&&j.setPosition(e)},[j,e]),c.useEffect(function(){typeof a<"u"&&j!==null&&j.setVisible(a)},[j,a]),c.useEffect(function(){j==null||j.setAnimation(l)},[j,l]),c.useEffect(function(){j&&b&&(Z!==null&&google.maps.event.removeListener(Z),B(google.maps.event.addListener(j,"dblclick",b)))},[b]),c.useEffect(function(){j&&A&&(X!==null&&google.maps.event.removeListener(X),re(google.maps.event.addListener(j,"dragend",A)))},[A]),c.useEffect(function(){j&&E&&(oe!==null&&google.maps.event.removeListener(oe),le(google.maps.event.addListener(j,"dragstart",E)))},[E]),c.useEffect(function(){j&&M&&(Oe!==null&&google.maps.event.removeListener(Oe),Me(google.maps.event.addListener(j,"mousedown",M)))},[M]),c.useEffect(function(){j&&v&&(ce!==null&&google.maps.event.removeListener(ce),Ge(google.maps.event.addListener(j,"mouseout",v)))},[v]),c.useEffect(function(){j&&x&&(_!==null&&google.maps.event.removeListener(_),Ve(google.maps.event.addListener(j,"mouseover",x)))},[x]),c.useEffect(function(){j&&w&&(dt!==null&&google.maps.event.removeListener(dt),st(google.maps.event.addListener(j,"mouseup",w)))},[w]),c.useEffect(function(){j&&O&&(Mn!==null&&google.maps.event.removeListener(Mn),Ni(google.maps.event.addListener(j,"rightclick",O)))},[O]),c.useEffect(function(){j&&C&&(Rt!==null&&google.maps.event.removeListener(Rt),ji(google.maps.event.addListener(j,"click",C)))},[C]),c.useEffect(function(){j&&y&&(ie!==null&&google.maps.event.removeListener(ie),q(google.maps.event.addListener(j,"drag",y)))},[y]),c.useEffect(function(){j&&P&&(Te!==null&&google.maps.event.removeListener(Te),Le(google.maps.event.addListener(j,"clickable_changed",P)))},[P]),c.useEffect(function(){j&&T&&(De!==null&&google.maps.event.removeListener(De),He(google.maps.event.addListener(j,"cursor_changed",T)))},[T]),c.useEffect(function(){j&&z&&(we!==null&&google.maps.event.removeListener(we),ut(google.maps.event.addListener(j,"animation_changed",z)))},[z]),c.useEffect(function(){j&&Q&&(at!==null&&google.maps.event.removeListener(at),Re(google.maps.event.addListener(j,"draggable_changed",Q)))},[Q]),c.useEffect(function(){j&&K&&(ht!==null&&google.maps.event.removeListener(ht),$e(google.maps.event.addListener(j,"flat_changed",K)))},[K]),c.useEffect(function(){j&&J&&(Pt!==null&&google.maps.event.removeListener(Pt),gt(google.maps.event.addListener(j,"icon_changed",J)))},[J]),c.useEffect(function(){j&&G&&(Jt!==null&&google.maps.event.removeListener(Jt),Zr(google.maps.event.addListener(j,"position_changed",G)))},[G]),c.useEffect(function(){j&&W&&(ar!==null&&google.maps.event.removeListener(ar),_r(google.maps.event.addListener(j,"shape_changed",W)))},[W]),c.useEffect(function(){j&&D&&(Pn!==null&&google.maps.event.removeListener(Pn),$r(google.maps.event.addListener(j,"title_changed",D)))},[D]),c.useEffect(function(){j&&k&&(kn!==null&&google.maps.event.removeListener(kn),In(google.maps.event.addListener(j,"visible_changed",k)))},[k]),c.useEffect(function(){j&&I&&(Tn!==null&&google.maps.event.removeListener(Tn),eo(google.maps.event.addListener(j,"zindex_changed",I)))},[I]),c.useEffect(function(){var fn=ee(ee(ee({},n||pi),r?pi:{map:V}),{position:e}),se=new google.maps.Marker(fn);return r?r.addMarker(se,!!o):se.setMap(V),e&&se.setPosition(e),typeof a<"u"&&se.setVisible(a),typeof s<"u"&&se.setDraggable(s),typeof u<"u"&&se.setClickable(u),typeof f=="string"&&se.setCursor(f),d&&se.setIcon(d),typeof p<"u"&&se.setLabel(p),typeof g<"u"&&se.setOpacity(g),m&&se.setShape(m),typeof h=="string"&&se.setTitle(h),typeof S=="number"&&se.setZIndex(S),b&&B(google.maps.event.addListener(se,"dblclick",b)),A&&re(google.maps.event.addListener(se,"dragend",A)),E&&le(google.maps.event.addListener(se,"dragstart",E)),M&&Me(google.maps.event.addListener(se,"mousedown",M)),v&&Ge(google.maps.event.addListener(se,"mouseout",v)),x&&Ve(google.maps.event.addListener(se,"mouseover",x)),w&&st(google.maps.event.addListener(se,"mouseup",w)),O&&Ni(google.maps.event.addListener(se,"rightclick",O)),C&&ji(google.maps.event.addListener(se,"click",C)),y&&q(google.maps.event.addListener(se,"drag",y)),P&&Le(google.maps.event.addListener(se,"clickable_changed",P)),T&&He(google.maps.event.addListener(se,"cursor_changed",T)),z&&ut(google.maps.event.addListener(se,"animation_changed",z)),Q&&Re(google.maps.event.addListener(se,"draggable_changed",Q)),K&&$e(google.maps.event.addListener(se,"flat_changed",K)),J&>(google.maps.event.addListener(se,"icon_changed",J)),G&&Zr(google.maps.event.addListener(se,"position_changed",G)),W&&_r(google.maps.event.addListener(se,"shape_changed",W)),D&&$r(google.maps.event.addListener(se,"title_changed",D)),k&&In(google.maps.event.addListener(se,"visible_changed",k)),I&&eo(google.maps.event.addListener(se,"zindex_changed",I)),ne(se),H&&H(se),function(){Z!==null&&google.maps.event.removeListener(Z),X!==null&&google.maps.event.removeListener(X),oe!==null&&google.maps.event.removeListener(oe),Oe!==null&&google.maps.event.removeListener(Oe),ce!==null&&google.maps.event.removeListener(ce),_!==null&&google.maps.event.removeListener(_),dt!==null&&google.maps.event.removeListener(dt),Mn!==null&&google.maps.event.removeListener(Mn),Rt!==null&&google.maps.event.removeListener(Rt),Te!==null&&google.maps.event.removeListener(Te),De!==null&&google.maps.event.removeListener(De),we!==null&&google.maps.event.removeListener(we),at!==null&&google.maps.event.removeListener(at),ht!==null&&google.maps.event.removeListener(ht),Pt!==null&&google.maps.event.removeListener(Pt),Jt!==null&&google.maps.event.removeListener(Jt),Pn!==null&&google.maps.event.removeListener(Pn),kn!==null&&google.maps.event.removeListener(kn),Tn!==null&&google.maps.event.removeListener(Tn),F&&F(se),r?r.removeMarker(se,!!o):se&&se.setMap(null)}},[]);var to=c.useMemo(function(){return i?c.Children.map(i,function(fn){if(!c.isValidElement(fn))return fn;var se=fn;return c.cloneElement(se,{anchor:j})}):null},[i,j]);return L.jsx(L.Fragment,{children:to})||null}c.memo(J0);var Rc=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=ee(ee(ee({},this.props.options||pi),this.props.clusterer?pi:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(n),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=ge({updaterMap:Kc,eventMap:Wc,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Kc,eventMap:Wc,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),me(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},e.prototype.render=function(){var n=this,r=null;return this.props.children&&(r=c.Children.map(this.props.children,function(o){if(!c.isValidElement(o))return o;var i=o;return c.cloneElement(i,{anchor:n.marker})})),r||null},e.contextType=de,e}(c.PureComponent),Z0=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,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.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(e.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return t.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},t.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},t.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var n=this.cluster.getClusterer();if(google.maps.event.trigger(n,"click",this.cluster),google.maps.event.trigger(n,"clusterclick",this.cluster),n.getZoomOnClick()){var r=n.getMaxZoom(),o=this.cluster.getBounds(),i=n.getMap();i!==null&&"fitBounds"in i&&i.fitBounds(o),this.timeOut=window.setTimeout(function(){var s=n.getMap();if(s!==null){"fitBounds"in s&&s.fitBounds(o);var a=s.getZoom()||0;r!==null&&a>r&&s.setZoom(r+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},t.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},t.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},t.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),(e=this.getPanes())===null||e===void 0||e.overlayMouseTarget.appendChild(this.div);var n=this.getMap();n!==null&&(this.boundsChangedListener=google.maps.event.addListener(n,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),this.boundsChangedListener!==null&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),this.timeOut!==null&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},t.prototype.draw=function(){if(this.visible&&this.div!==null&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=e!==null?"".concat(e.y,"px"):"0",this.div.style.left=e!==null?"".concat(e.x,"px"):"0"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){var e,n,r,o,i,s;if(this.div&&this.center){var a=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,l=this.backgroundPosition.split(" "),u=parseInt(((e=l[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),f=parseInt(((n=l[1])===null||n===void 0?void 0:n.replace(/^\s+|\s+$/g,""))||"0",10),d=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(d!==null?"".concat(d.y,"px"):"0","; left: ").concat(d!==null?"".concat(d.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var p=document.createElement("img");p.alt=a,p.src=this.url,p.width=this.width,p.height=this.height,p.setAttribute("style","position: absolute; top: ".concat(f,"px; left: ").concat(u,"px")),this.cluster.getClusterer().enableRetinaIcons||(p.style.clip="rect(-".concat(f,"px, -").concat(u+this.width,"px, -").concat(f+this.height,", -").concat(u,")"));var g=document.createElement("div");g.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),!((r=this.sums)===null||r===void 0)&&r.text&&(g.innerText="".concat((o=this.sums)===null||o===void 0?void 0:o.text)),!((i=this.sums)===null||i===void 0)&&i.html&&(g.innerHTML="".concat((s=this.sums)===null||s===void 0?void 0:s.html)),this.div.innerHTML="",this.div.appendChild(p),this.div.appendChild(g),this.div.title=a,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),r=n[Math.min(n.length-1,Math.max(0,e.index-1))];r&&(this.url=r.url,this.height=r.height,this.width=r.width,r.className&&(this.className="".concat(this.clusterClassName," ").concat(r.className)),this.anchorText=r.anchorText||[0,0],this.anchorIcon=r.anchorIcon||[this.height/2,this.width/2],this.textColor=r.textColor||"black",this.textSize=r.textSize||11,this.textDecoration=r.textDecoration||"none",this.fontWeight=r.fontWeight||"bold",this.fontStyle=r.fontStyle||"normal",this.fontFamily=r.fontFamily||"Arial,sans-serif",this.backgroundPosition=r.backgroundPosition||"0 0")},t.prototype.setCenter=function(e){this.center=e},t.prototype.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n!==null&&(n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0]),n},t}(),X0=function(){function t(e){this.markerClusterer=e,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 Z0(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}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 e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),r=0,o=n;r<o.length;r++){var i=o[r],s=i.getPosition();s&&e.extend(s)}return e},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(e){var n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var r=e.getPosition();if(r){var o=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(o-1)+r.lat())/o,(this.center.lng()*(o-1)+r.lng())/o),this.calculateBounds()}}}else{var r=e.getPosition();r&&(this.center=r,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var i=this.markers.length,s=this.markerClusterer.getMaxZoom(),a=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(s!==null&&typeof a<"u"&&a>s)e.getMap()!==this.map&&e.setMap(this.map);else if(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var l=0,u=this.markers;l<u.length;l++){var f=u[l];f.setMap(null)}else e.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(e){if(this.bounds!==null){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var e,n=this.markers.length,r=this.markerClusterer.getMaxZoom(),o=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(r!==null&&typeof o<"u"&&o>r){this.clusterIcon.hide();return}if(n<this.minClusterSize){this.clusterIcon.hide();return}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(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},t}();function _0(t,e){var n=t.length,r=n.toString().length,o=Math.min(r,e);return{text:n.toString(),index:o,title:""}}var $0=2e3,eb=500,tb="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",nb="png",rb=[53,56,66,78,90],ob="cluster",qc=function(){function t(e,n,r){n===void 0&&(n=[]),r===void 0&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,r.zoomOnClick!==void 0&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,r.averageCenter!==void 0&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,r.ignoreHidden!==void 0&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,r.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||tb,this.imageExtension=r.imageExtension||nb,this.imageSizes=r.imageSizes||rb,this.calculator=r.calculator||_0,this.batchSize=r.batchSize||$0,this.batchSizeIE=r.batchSizeIE||eb,this.clusterClass=r.clusterClass||ob,navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onZoomChanged=function(){var e,n;this.resetViewport(!1),(((e=this.getMap())===null||e===void 0?void 0:e.getZoom())===(this.get("minZoom")||0)||((n=this.getMap())===null||n===void 0?void 0:n.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},t.prototype.onIdle=function(){this.redraw()},t.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),e!==null&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},t.prototype.onRemove=function(){for(var e=0,n=this.markers;e<n.length;e++){var r=n[e];r.getMap()!==this.activeMap&&r.setMap(this.activeMap)}for(var o=0,i=this.clusters;o<i.length;o++){var s=i[o];s.remove()}this.clusters=[];for(var a=0,l=this.listeners;a<l.length;a++){var u=l[a];google.maps.event.removeListener(u)}this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.getMap=function(){return null},t.prototype.getPanes=function(){return null},t.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},t.prototype.setMap=function(){},t.prototype.addListener=function(){return{remove:function(){}}},t.prototype.bindTo=function(){},t.prototype.get=function(){},t.prototype.notify=function(){},t.prototype.set=function(){},t.prototype.setValues=function(){},t.prototype.unbind=function(){},t.prototype.unbindAll=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,r=0,o=e;r<o.length;r++){var i=o[r],s=i.getPosition();s&&n.extend(s)}var a=this.getMap();a!==null&&"fitBounds"in a&&a.fitBounds(n)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(e){this.gridSize=e},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(e){this.maxZoom=e},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(e){this.styles=e},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(e){this.title=e},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(e){this.averageCenter=e},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(e){this.imageExtension=e},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(e){this.imagePath=e},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(e){this.imageSizes=e},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(e){this.calculator=e},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(e){this.clusterClass=e},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(e,n){this.pushMarkerTo(e),n||this.redraw()},t.prototype.addMarkers=function(e,n){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];o&&this.pushMarkerTo(o)}n||this.redraw()},t.prototype.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){n.ready&&(e.isAdded=!1,n.repaint())}),e.isAdded=!1,this.markers.push(e)},t.prototype.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var r=0;r<this.markers.length;r++)if(e===this.markers[r]){n=r;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var r=this.removeMarker_(e);return!n&&r&&this.repaint(),r},t.prototype.removeMarkers=function(e,n){for(var r=!1,o=0,i=e;o<i.length;o++){var s=i[o];r=r||this.removeMarker_(s)}return!n&&r&&this.repaint(),r},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var r=0,o=e;r<o.length;r++){var i=o[r];i.remove()}},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),r=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));r!==null&&(r.x+=this.gridSize,r.y-=this.gridSize);var o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(o!==null&&(o.x-=this.gridSize,o.y+=this.gridSize),r!==null){var i=n.fromDivPixelToLatLng(r);i!==null&&e.extend(i)}if(o!==null){var s=n.fromDivPixelToLatLng(o);s!==null&&e.extend(s)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0,r=this.clusters;n<r.length;n++){var o=r[n];o.remove()}this.clusters=[];for(var i=0,s=this.markers;i<s.length;i++){var a=s[i];a.isAdded=!1,e&&a.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var r=6371,o=(n.lat()-e.lat())*Math.PI/180,i=(n.lng()-e.lng())*Math.PI/180,s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return r*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},t.prototype.isMarkerInBounds=function(e,n){var r=e.getPosition();return r?n.contains(r):!1},t.prototype.addToClosestCluster=function(e){for(var n,r=4e4,o=null,i=0,s=this.clusters;i<s.length;i++){var a=s[i];n=a;var l=n.getCenter(),u=e.getPosition();if(l&&u){var f=this.distanceBetweenPoints(l,u);f<r&&(r=f,o=n)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):(n=new X0(this),n.addMarker(e),this.clusters.push(n))},t.prototype.createClusters=function(e){var n=this;if(this.ready){e===0&&(google.maps.event.trigger(this,"clusteringbegin",this),this.timerRefStatic!==null&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=this.getMap(),o=r!==null&&("getBounds"in r)?r.getBounds():null,i=(r==null?void 0:r.getZoom())||0,s=i>3?new google.maps.LatLngBounds(o==null?void 0:o.getSouthWest(),o==null?void 0:o.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),a=this.getExtendedBounds(s),l=Math.min(e+this.batchSize,this.markers.length),u=e;u<l;u++){var f=this.markers[u];f&&!f.isAdded&&this.isMarkerInBounds(f,a)&&(!this.ignoreHidden||this.ignoreHidden&&f.getVisible())&&this.addToClosestCluster(f)}if(l<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(l)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var d=0,p=this.clusters;d<p.length;d++){var g=p[d];g.updateIcon()}}}},t.prototype.extend=function(e,n){return(function(o){for(var i in o.prototype){var s=i;this.prototype[s]=o.prototype[s]}return this}).apply(e,[n])},t}(),Ct={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},Ae={averageCenter:function(t,e){t.setAverageCenter(e)},batchSizeIE:function(t,e){t.setBatchSizeIE(e)},calculator:function(t,e){t.setCalculator(e)},clusterClass:function(t,e){t.setClusterClass(e)},enableRetinaIcons:function(t,e){t.setEnableRetinaIcons(e)},gridSize:function(t,e){t.setGridSize(e)},ignoreHidden:function(t,e){t.setIgnoreHidden(e)},imageExtension:function(t,e){t.setImageExtension(e)},imagePath:function(t,e){t.setImagePath(e)},imageSizes:function(t,e){t.setImageSizes(e)},maxZoom:function(t,e){t.setMaxZoom(e)},minimumClusterSize:function(t,e){t.setMinimumClusterSize(e)},styles:function(t,e){t.setStyles(e)},title:function(t,e){t.setTitle(e)},zoomOnClick:function(t,e){t.setZoomOnClick(e)}},ib={};function sb(t){var e=t.children,n=t.options,r=t.averageCenter,o=t.batchSizeIE,i=t.calculator,s=t.clusterClass,a=t.enableRetinaIcons,l=t.gridSize,u=t.ignoreHidden,f=t.imageExtension,d=t.imagePath,p=t.imageSizes,g=t.maxZoom,m=t.minimumClusterSize,h=t.styles,S=t.title,C=t.zoomOnClick,b=t.onClick,y=t.onClusteringBegin,A=t.onClusteringEnd,E=t.onMouseOver,v=t.onMouseOut,x=t.onLoad,w=t.onUnmount,M=c.useState(null),O=M[0],P=M[1],T=c.useContext(de),z=c.useState(null),Q=z[0],K=z[1],J=c.useState(null),G=J[0],W=J[1],D=c.useState(null),k=D[0],I=D[1],H=c.useState(null),F=H[0],V=H[1],te=c.useState(null),j=te[0],ne=te[1];return c.useEffect(function(){O&&v&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(O,Ct.onMouseOut,v)))},[v]),c.useEffect(function(){O&&E&&(j!==null&&google.maps.event.removeListener(j),ne(google.maps.event.addListener(O,Ct.onMouseOver,E)))},[E]),c.useEffect(function(){O&&b&&(Q!==null&&google.maps.event.removeListener(Q),K(google.maps.event.addListener(O,Ct.onClick,b)))},[b]),c.useEffect(function(){O&&y&&(G!==null&&google.maps.event.removeListener(G),W(google.maps.event.addListener(O,Ct.onClusteringBegin,y)))},[y]),c.useEffect(function(){O&&A&&(k!==null&&google.maps.event.removeListener(k),W(google.maps.event.addListener(O,Ct.onClusteringEnd,A)))},[A]),c.useEffect(function(){typeof r<"u"&&O!==null&&Ae.averageCenter(O,r)},[O,r]),c.useEffect(function(){typeof o<"u"&&O!==null&&Ae.batchSizeIE(O,o)},[O,o]),c.useEffect(function(){typeof i<"u"&&O!==null&&Ae.calculator(O,i)},[O,i]),c.useEffect(function(){typeof s<"u"&&O!==null&&Ae.clusterClass(O,s)},[O,s]),c.useEffect(function(){typeof a<"u"&&O!==null&&Ae.enableRetinaIcons(O,a)},[O,a]),c.useEffect(function(){typeof l<"u"&&O!==null&&Ae.gridSize(O,l)},[O,l]),c.useEffect(function(){typeof u<"u"&&O!==null&&Ae.ignoreHidden(O,u)},[O,u]),c.useEffect(function(){typeof f<"u"&&O!==null&&Ae.imageExtension(O,f)},[O,f]),c.useEffect(function(){typeof d<"u"&&O!==null&&Ae.imagePath(O,d)},[O,d]),c.useEffect(function(){typeof p<"u"&&O!==null&&Ae.imageSizes(O,p)},[O,p]),c.useEffect(function(){typeof g<"u"&&O!==null&&Ae.maxZoom(O,g)},[O,g]),c.useEffect(function(){typeof m<"u"&&O!==null&&Ae.minimumClusterSize(O,m)},[O,m]),c.useEffect(function(){typeof h<"u"&&O!==null&&Ae.styles(O,h)},[O,h]),c.useEffect(function(){typeof S<"u"&&O!==null&&Ae.title(O,S)},[O,S]),c.useEffect(function(){typeof C<"u"&&O!==null&&Ae.zoomOnClick(O,C)},[O,C]),c.useEffect(function(){if(T){var ue=ee({},n||ib),Z=new qc(T,[],ue);return r&&Ae.averageCenter(Z,r),o&&Ae.batchSizeIE(Z,o),i&&Ae.calculator(Z,i),s&&Ae.clusterClass(Z,s),a&&Ae.enableRetinaIcons(Z,a),l&&Ae.gridSize(Z,l),u&&Ae.ignoreHidden(Z,u),f&&Ae.imageExtension(Z,f),d&&Ae.imagePath(Z,d),p&&Ae.imageSizes(Z,p),g&&Ae.maxZoom(Z,g),m&&Ae.minimumClusterSize(Z,m),h&&Ae.styles(Z,h),S&&Ae.title(Z,S),C&&Ae.zoomOnClick(Z,C),v&&V(google.maps.event.addListener(Z,Ct.onMouseOut,v)),E&&ne(google.maps.event.addListener(Z,Ct.onMouseOver,E)),b&&K(google.maps.event.addListener(Z,Ct.onClick,b)),y&&W(google.maps.event.addListener(Z,Ct.onClusteringBegin,y)),A&&I(google.maps.event.addListener(Z,Ct.onClusteringEnd,A)),P(Z),x&&x(Z),function(){F!==null&&google.maps.event.removeListener(F),j!==null&&google.maps.event.removeListener(j),Q!==null&&google.maps.event.removeListener(Q),G!==null&&google.maps.event.removeListener(G),k!==null&&google.maps.event.removeListener(k),w&&w(Z)}}},[]),O!==null&&e(O)||null}c.memo(sb);var ab=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={markerClusterer:null},n.setClustererCallback=function(){n.state.markerClusterer!==null&&n.props.onLoad&&n.props.onLoad(n.state.markerClusterer)},n}return e.prototype.componentDidMount=function(){if(this.context){var n=new qc(this.context,[],this.props.options);this.registeredEvents=ge({updaterMap:Ae,eventMap:Ct,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Ae,eventMap:Ct,prevProps:n,nextProps:this.props,instance:this.state.markerClusterer}))},e.prototype.componentWillUnmount=function(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),me(this.registeredEvents),this.state.markerClusterer.setMap(null))},e.prototype.render=function(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null},e.contextType=de,e}(c.PureComponent);function Jc(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var Zc=function(){function t(e){e===void 0&&(e={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),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),typeof e.visible>"u"&&(typeof e.isHidden>"u"?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 e=this,n=function(u){u.returnValue=!1,u.preventDefault&&u.preventDefault(),e.enableEventPropagation||Jc(u)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),typeof this.content=="string"?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var r=this.getPanes();if(r!==null&&r[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var o=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-o.left-o.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"],s=0,a=i;s<a.length;s++){var l=a[s];this.eventListeners.push(google.maps.event.addListener(this.div,l,Jc))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",n),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var e="";return this.closeBoxURL!==""&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},t.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&this.closeBoxURL!==""?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},t.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},t.prototype.getCloseClickHandler=function(){return this.closeClickHandler},t.prototype.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var r=0,o=0,i=n.getBounds();i&&!i.contains(this.position)&&n.setCenter(this.position);var s=n.getDiv(),a=s.offsetWidth,l=s.offsetHeight,u=this.pixelOffset.width,f=this.pixelOffset.height,d=this.div.offsetWidth,p=this.div.offsetHeight,g=this.infoBoxClearance.width,m=this.infoBoxClearance.height,h=this.getProjection(),S=h.fromLatLngToContainerPixel(this.position);S!==null&&(S.x<-u+g?r=S.x+u-g:S.x+d+u+g>a&&(r=S.x+d+u+g-a),this.alignBottom?S.y<-f+m+p?o=S.y+f-m-p:S.y+f+m>l&&(o=S.y+f+m-l):S.y<-f+m?o=S.y+f-m:S.y+p+f+m>l&&(o=S.y+p+f+m-l)),r===0&&o===0||n.panBy(r,o)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var r=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+r*100+')"',this.div.style.filter="alpha(opacity="+r*100+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",this.zIndex!==null&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var n=this.div.ownerDocument,r=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.borderRightWidth||"",10)||0)}return e},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 e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),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(){var e=this.getMap();return typeof e>"u"||e===null?!1:!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(e,n){var r=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var o=n.getPosition();r.setPosition(o)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){r.setMap(n.map)})),this.setMap(e),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,n=this.eventListeners;e<n.length;e++){var r=n[e];google.maps.event.removeListener(r)}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(e,n){return(function(o){for(var i in o.prototype)Object.prototype.hasOwnProperty.call(this,i)||(this.prototype[i]=o.prototype[i]);return this}).apply(e,[n])},t}(),Xc={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},_c={options:function(t,e){t.setOptions(e)},position:function(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},lb={};function ub(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,u=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,p=t.onUnmount,g=c.useContext(de),m=c.useState(null),h=m[0],S=m[1],C=c.useState(null),b=C[0],y=C[1],A=c.useState(null),E=A[0],v=A[1],x=c.useState(null),w=x[0],M=x[1],O=c.useState(null),P=O[0],T=O[1],z=c.useState(null),Q=z[0],K=z[1],J=c.useRef(null);return c.useEffect(function(){g&&h!==null&&(h.close(),n?h.open(g,n):h.getPosition()&&h.open(g))},[g,h,n]),c.useEffect(function(){r&&h!==null&&h.setOptions(r)},[h,r]),c.useEffect(function(){if(o&&h!==null){var G=o instanceof google.maps.LatLng?o:new google.maps.LatLng(o.lat,o.lng);h.setPosition(G)}},[o]),c.useEffect(function(){typeof i=="number"&&h!==null&&h.setZIndex(i)},[i]),c.useEffect(function(){h&&s&&(b!==null&&google.maps.event.removeListener(b),y(google.maps.event.addListener(h,"closeclick",s)))},[s]),c.useEffect(function(){h&&a&&(E!==null&&google.maps.event.removeListener(E),v(google.maps.event.addListener(h,"domready",a)))},[a]),c.useEffect(function(){h&&l&&(w!==null&&google.maps.event.removeListener(w),M(google.maps.event.addListener(h,"content_changed",l)))},[l]),c.useEffect(function(){h&&u&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(h,"position_changed",u)))},[u]),c.useEffect(function(){h&&f&&(Q!==null&&google.maps.event.removeListener(Q),K(google.maps.event.addListener(h,"zindex_changed",f)))},[f]),c.useEffect(function(){if(g){var G=r||lb,W=G.position,D=na(G,["position"]),k=void 0;W&&!(W instanceof google.maps.LatLng)&&(k=new google.maps.LatLng(W.lat,W.lng));var I=new Zc(ee(ee({},D),k?{position:k}:{}));J.current=document.createElement("div"),S(I),s&&y(google.maps.event.addListener(I,"closeclick",s)),a&&v(google.maps.event.addListener(I,"domready",a)),l&&M(google.maps.event.addListener(I,"content_changed",l)),u&&T(google.maps.event.addListener(I,"position_changed",u)),f&&K(google.maps.event.addListener(I,"zindex_changed",f)),I.setContent(J.current),n?I.open(g,n):I.getPosition()?I.open(g):We(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(I)}return function(){h!==null&&(b&&google.maps.event.removeListener(b),w&&google.maps.event.removeListener(w),E&&google.maps.event.removeListener(E),P&&google.maps.event.removeListener(P),Q&&google.maps.event.removeListener(Q),p&&p(h),h.close())}},[]),J.current?Bn.createPortal(c.Children.only(e),J.current):null}c.memo(ub),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoBox:null},n.open=function(r,o){o?n.context!==null&&r.open(n.context,o):r.getPosition()?n.context!==null&&r.open(n.context):We(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},n.setInfoBoxCallback=function(){n.state.infoBox!==null&&n.containerElement!==null&&(n.state.infoBox.setContent(n.containerElement),n.open(n.state.infoBox,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoBox))},n}return e.prototype.componentDidMount=function(){var n=this.props.options||{},r=n.position,o=na(n,["position"]),i;r&&!(r instanceof google.maps.LatLng)&&(i=new google.maps.LatLng(r.lat,r.lng));var s=new Zc(ee(ee({},o),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=ge({updaterMap:_c,eventMap:Xc,prevProps:{},nextProps:this.props,instance:s}),this.setState({infoBox:s},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var r=this.state.infoBox;r!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:_c,eventMap:Xc,prevProps:n,nextProps:this.props,instance:r}))},e.prototype.componentWillUnmount=function(){var n=this.props.onUnmount,r=this.state.infoBox;r!==null&&(n&&n(r),me(this.registeredEvents),r.close())},e.prototype.render=function(){return this.containerElement?Bn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=de,e}(c.PureComponent);var cb=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n},$c=Ic(cb);const ef=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],oa=1,Qr=8;class ia{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[n,r]=new Uint8Array(e,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");const o=r>>4;if(o!==oa)throw new Error(`Got v${o} data when expected v${oa}.`);const i=ef[r&15];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new ia(a,s,i,e)}constructor(e,n=64,r=Float64Array,o){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const i=ef.indexOf(this.ArrayType),s=e*2*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);o&&o instanceof ArrayBuffer?(this.data=o,this.ids=new this.IndexArrayType(this.data,Qr,e),this.coords=new this.ArrayType(this.data,Qr+a+l,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(Qr+s+a+l),this.ids=new this.IndexArrayType(this.data,Qr,e),this.coords=new this.ArrayType(this.data,Qr+a+l,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(oa<<4)+i]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=e)}add(e,n){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=n,r}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return sa(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:a}=this,l=[0,i.length-1,0],u=[];for(;l.length;){const f=l.pop()||0,d=l.pop()||0,p=l.pop()||0;if(d-p<=a){for(let S=p;S<=d;S++){const C=s[2*S],b=s[2*S+1];C>=e&&C<=r&&b>=n&&b<=o&&u.push(i[S])}continue}const g=p+d>>1,m=s[2*g],h=s[2*g+1];m>=e&&m<=r&&h>=n&&h<=o&&u.push(i[g]),(f===0?e<=m:n<=h)&&(l.push(p),l.push(g-1),l.push(1-f)),(f===0?r>=m:o>=h)&&(l.push(g+1),l.push(d),l.push(1-f))}return u}within(e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:i,nodeSize:s}=this,a=[0,o.length-1,0],l=[],u=r*r;for(;a.length;){const f=a.pop()||0,d=a.pop()||0,p=a.pop()||0;if(d-p<=s){for(let S=p;S<=d;S++)nf(i[2*S],i[2*S+1],e,n)<=u&&l.push(o[S]);continue}const g=p+d>>1,m=i[2*g],h=i[2*g+1];nf(m,h,e,n)<=u&&l.push(o[g]),(f===0?e-r<=m:n-r<=h)&&(a.push(p),a.push(g-1),a.push(1-f)),(f===0?e+r>=m:n+r>=h)&&(a.push(g+1),a.push(d),a.push(1-f))}return l}}function sa(t,e,n,r,o,i){if(o-r<=n)return;const s=r+o>>1;tf(t,e,s,r,o,i),sa(t,e,n,r,s-1,1-i),sa(t,e,n,s+1,o,1-i)}function tf(t,e,n,r,o,i){for(;o>r;){if(o-r>600){const u=o-r+1,f=n-r+1,d=Math.log(u),p=.5*Math.exp(2*d/3),g=.5*Math.sqrt(d*p*(u-p)/u)*(f-u/2<0?-1:1),m=Math.max(r,Math.floor(n-f*p/u+g)),h=Math.min(o,Math.floor(n+(u-f)*p/u+g));tf(t,e,n,m,h,i)}const s=e[2*n+i];let a=r,l=o;for(Yr(t,e,r,n),e[2*o+i]>s&&Yr(t,e,r,o);a<l;){for(Yr(t,e,a,l),a++,l--;e[2*a+i]<s;)a++;for(;e[2*l+i]>s;)l--}e[2*r+i]===s?Yr(t,e,r,l):(l++,Yr(t,e,l,o)),l<=n&&(r=l+1),n<=l&&(o=l-1)}}function Yr(t,e,n,r){aa(t,n,r),aa(e,2*n,2*r),aa(e,2*n+1,2*r+1)}function aa(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function nf(t,e,n,r){const o=t-n,i=e-r;return o*o+i*i}const fb={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},rf=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),Sn=2,sn=3,la=4,an=5,of=6;class db{constructor(e){this.options=Object.assign(Object.create(fb),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:n,minZoom:r,maxZoom:o}=this.options;n&&console.time("total time");const i=`prepare ${e.length} points`;n&&console.time(i),this.points=e;const s=[];for(let l=0;l<e.length;l++){const u=e[l];if(!u.geometry)continue;const[f,d]=u.geometry.coordinates,p=rf(hi(f)),g=rf(gi(d));s.push(p,g,1/0,l,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[o+1]=this._createTree(s);n&&console.timeEnd(i);for(let l=o;l>=r;l--){const u=+Date.now();a=this.trees[l]=this._createTree(this._cluster(a,l)),n&&console.log("z%d: %d clusters in %dms",l,a.numItems,+Date.now()-u)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let r=((e[0]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[1]));let i=e[2]===180?180:((e[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,i=180;else if(r>i){const d=this.getClusters([r,o,180,s],n),p=this.getClusters([-180,o,i,s],n);return d.concat(p)}const a=this.trees[this._limitZoom(n)],l=a.range(hi(r),gi(s),hi(i),gi(o)),u=a.data,f=[];for(const d of l){const p=this.stride*d;f.push(u[p+an]>1?sf(u,p,this.clusterProps):this.points[u[p+sn]])}return f}getChildren(e){const n=this._getOriginId(e),r=this._getOriginZoom(e),o="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(o);const s=i.data;if(n*this.stride>=s.length)throw new Error(o);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),l=s[n*this.stride],u=s[n*this.stride+1],f=i.within(l,u,a),d=[];for(const p of f){const g=p*this.stride;s[g+la]===e&&d.push(s[g+an]>1?sf(s,g,this.clusterProps):this.points[s[g+sn]])}if(d.length===0)throw new Error(o);return d}getLeaves(e,n,r){n=n||10,r=r||0;const o=[];return this._appendLeaves(o,e,n,r,0),o}getTile(e,n,r){const o=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:s,radius:a}=this.options,l=a/s,u=(r-l)/i,f=(r+1+l)/i,d={features:[]};return this._addTileFeatures(o.range((n-l)/i,u,(n+1+l)/i,f),o.data,n,r,i,d),n===0&&this._addTileFeatures(o.range(1-l/i,u,1,f),o.data,i,r,i,d),n===i-1&&this._addTileFeatures(o.range(0,u,l/i,f),o.data,-1,r,i,d),d.features.length?d:null}getClusterExpansionZoom(e){let n=this._getOriginZoom(e)-1;for(;n<=this.options.maxZoom;){const r=this.getChildren(e);if(n++,r.length!==1)break;e=r[0].properties.cluster_id}return n}_appendLeaves(e,n,r,o,i){const s=this.getChildren(n);for(const a of s){const l=a.properties;if(l&&l.cluster?i+l.point_count<=o?i+=l.point_count:i=this._appendLeaves(e,l.cluster_id,r,o,i):i<o?i++:e.push(a),e.length===r)break}return i}_createTree(e){const n=new ia(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<e.length;r+=this.stride)n.add(e[r],e[r+1]);return n.finish(),n.data=e,n}_addTileFeatures(e,n,r,o,i,s){for(const a of e){const l=a*this.stride,u=n[l+an]>1;let f,d,p;if(u)f=af(n,l,this.clusterProps),d=n[l],p=n[l+1];else{const h=this.points[n[l+sn]];f=h.properties;const[S,C]=h.geometry.coordinates;d=hi(S),p=gi(C)}const g={type:1,geometry:[[Math.round(this.options.extent*(d*i-r)),Math.round(this.options.extent*(p*i-o))]],tags:f};let m;u||this.options.generateId?m=n[l+sn]:m=this.points[n[l+sn]].id,m!==void 0&&(g.id=m),s.features.push(g)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,n){const{radius:r,extent:o,reduce:i,minPoints:s}=this.options,a=r/(o*Math.pow(2,n)),l=e.data,u=[],f=this.stride;for(let d=0;d<l.length;d+=f){if(l[d+Sn]<=n)continue;l[d+Sn]=n;const p=l[d],g=l[d+1],m=e.within(l[d],l[d+1],a),h=l[d+an];let S=h;for(const C of m){const b=C*f;l[b+Sn]>n&&(S+=l[b+an])}if(S>h&&S>=s){let C=p*h,b=g*h,y,A=-1;const E=((d/f|0)<<5)+(n+1)+this.points.length;for(const v of m){const x=v*f;if(l[x+Sn]<=n)continue;l[x+Sn]=n;const w=l[x+an];C+=l[x]*w,b+=l[x+1]*w,l[x+la]=E,i&&(y||(y=this._map(l,d,!0),A=this.clusterProps.length,this.clusterProps.push(y)),i(y,this._map(l,x)))}l[d+la]=E,u.push(C/S,b/S,1/0,E,-1,S),i&&u.push(A)}else{for(let C=0;C<f;C++)u.push(l[d+C]);if(S>1)for(const C of m){const b=C*f;if(!(l[b+Sn]<=n)){l[b+Sn]=n;for(let y=0;y<f;y++)u.push(l[b+y])}}}}return u}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,r){if(e[n+an]>1){const s=this.clusterProps[e[n+of]];return r?Object.assign({},s):s}const o=this.points[e[n+sn]].properties,i=this.options.map(o);return r&&i===o?Object.assign({},i):i}}function sf(t,e,n){return{type:"Feature",id:t[e+sn],properties:af(t,e,n),geometry:{type:"Point",coordinates:[pb(t[e]),hb(t[e+1])]}}}function af(t,e,n){const r=t[e+an],o=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,i=t[e+of],s=i===-1?{}:Object.assign({},n[i]);return Object.assign(s,{cluster:!0,cluster_id:t[e+sn],point_count:r,point_count_abbreviated:o})}function hi(t){return t/360+.5}function gi(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function pb(t){return(t-.5)*360}function hb(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
|
|
69
|
+
`)),console.error(x)})},[n,y,i]);var C=c.useRef();return c.useEffect(function(){C.current&&f!==C.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"),C.current=f},[f]),{isLoaded:E,loadError:O,url:y}}var tb=L.jsx(Rc,{});function nb(t){var e=t.loadingElement,n=t.onLoad,r=t.onError,o=t.onUnmount,i=t.children,s=sa(t,["loadingElement","onLoad","onError","onUnmount","children"]),a=eb(s),u=a.isLoaded,l=a.loadError;return c.useEffect(function(){u&&typeof n=="function"&&n()},[u,n]),c.useEffect(function(){l&&typeof r=="function"&&r(l)},[l,r]),c.useEffect(function(){return function(){o&&o()}},[o]),u?i:e||tb}c.memo(nb);/*! *****************************************************************************
|
|
68
70
|
Copyright (c) Microsoft Corporation.
|
|
69
71
|
|
|
70
72
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -77,11 +79,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77
79
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
78
80
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
79
81
|
PERFORMANCE OF THIS SOFTWARE.
|
|
80
|
-
***************************************************************************** */function gb(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}class vt{static isAdvancedMarkerAvailable(e){return google.maps.marker&&e.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,n){this.isAdvancedMarker(e)?e.map=n:e.setMap(n)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return this.isAdvancedMarker(e)?!0:e.getVisible()}}class ua{constructor({markers:e,position:n}){this.markers=e,n&&(n instanceof google.maps.LatLng?this._position=n:this._position=new google.maps.LatLng(n))}get bounds(){if(this.markers.length===0&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const n of this.markers)e.extend(vt.getPosition(n));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>vt.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(vt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class vb{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return mb(e)}}const mb=t=>t.map(n=>new ua({position:vt.getPosition(n),markers:[n]}));class yb extends vb{constructor(e){var{maxZoom:n,radius:r=60}=e,o=gb(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new db(Object.assign({maxZoom:this.maxZoom,radius:r},o))}calculate(e){let n=!1;const r={zoom:e.map.getZoom()};if(!$c(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const o=this.markers.map(i=>{const s=vt.getPosition(i);return{type:"Feature",geometry:{type:"Point",coordinates:[s.lng(),s.lat()]},properties:{marker:i}}});this.superCluster.load(o)}return n||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(n=!$c(this.state,r)),this.state=r,n&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:n}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(n=>this.transformCluster(n))}transformCluster({geometry:{coordinates:[e,n]},properties:r}){if(r.cluster)return new ua({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(i=>i.properties.marker),position:{lat:n,lng:e}});const o=r.marker;return new ua({markers:[o],position:vt.getPosition(o)})}}class bb{constructor(e,n){this.markers={sum:e.length};const r=n.map(i=>i.count),o=r.reduce((i,s)=>i+s,0);this.clusters={count:n.length,markers:{mean:o/n.length,sum:o,min:Math.min(...r),max:Math.max(...r)}}}}class Eb{render({count:e,position:n},r,o){const s=`<svg fill="${e>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
|
|
82
|
+
***************************************************************************** */function rb(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{l(r.next(f))}catch(d){s(d)}}function u(f){try{l(r.throw(f))}catch(d){s(d)}}function l(f){f.done?i(f.value):o(f.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}var ob=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const Jc="__googleMapsScriptId";var ir;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(ir||(ir={}));class Ln{constructor({apiKey:e,authReferrerPolicy:n,channel:r,client:o,id:i=Jc,language:s,libraries:a=[],mapIds:u,nonce:l,region:f,retries:d=3,url:h="https://maps.googleapis.com/maps/api/js",version:g}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=n,this.channel=r,this.client=o,this.id=i||Jc,this.language=s,this.libraries=a,this.mapIds=u,this.nonce=l,this.region=f,this.retries=d,this.url=h,this.version=g,Ln.instance){if(!ob(this.options,Ln.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Ln.instance.options)}`);return Ln.instance}Ln.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,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?ir.FAILURE:this.done?ir.SUCCESS:this.loading?ir.LOADING:ir.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,n)=>{this.loadCallback(r=>{r?n(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,a,u,l="The Google Maps JavaScript API",f="google",d="importLibrary",h="__ib__",g=document,v=window;v=v[f]||(v[f]={});const p=v.maps||(v.maps={}),w=new Set,E=new URLSearchParams,m=()=>s||(s=new Promise((b,O)=>rb(this,void 0,void 0,function*(){var S;yield a=g.createElement("script"),a.id=this.id,E.set("libraries",[...w]+"");for(u in i)E.set(u.replace(/[A-Z]/g,y=>"_"+y[0].toLowerCase()),i[u]);E.set("callback",f+".maps."+h),a.src=this.url+"?"+E,p[h]=b,a.onerror=()=>s=O(Error(l+" could not load.")),a.nonce=this.nonce||((S=g.querySelector("script[nonce]"))===null||S===void 0?void 0:S.nonce)||"",g.head.append(a)})));p[d]?console.warn(l+" only loads once. Ignoring:",i):p[d]=(b,...O)=>w.add(b)&&m().then(()=>p[d](b,...O))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});this.loadErrorCallback(s)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){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."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}var ib=["maps"];function sb(t){var e=t.id,n=e===void 0?Wr.id:e,r=t.version,o=r===void 0?Wr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.language,u=t.region,l=t.libraries,f=l===void 0?ib:l,d=t.preventGoogleFontsLoading,h=t.mapIds,g=t.authReferrerPolicy,v=c.useRef(!1),p=c.useState(!1),w=p[0],E=p[1],m=c.useState(void 0),b=m[0],O=m[1];c.useEffect(function(){return v.current=!0,function(){v.current=!1}},[]);var S=c.useMemo(function(){return new Ln({id:n,apiKey:s,version:o,libraries:f,language:a||"en",region:u||"US",mapIds:h||[],nonce:i||"",authReferrerPolicy:g||"origin"})},[n,s,o,f,a,u,h,i,g]);c.useEffect(function(){w||S.load().then(function(){v.current&&E(!0)}).catch(function(A){O(A)})},[]),c.useEffect(function(){an&&d&&aa()},[d]);var y=c.useRef();return c.useEffect(function(){y.current&&f!==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=f},[f]),{isLoaded:w,loadError:b}}var Zc={},_c={options:function(t,e){t.setOptions(e)}};function ab(t){var e=t.options,n=t.onLoad,r=t.onUnmount,o=c.useContext(he),i=c.useState(null),s=i[0],a=i[1];return c.useEffect(function(){s!==null&&s.setMap(o)},[o]),c.useEffect(function(){e&&s!==null&&s.setOptions(e)},[s,e]),c.useEffect(function(){var u=new google.maps.TrafficLayer(te(te({},e||{}),{map:o}));return a(u),n&&n(u),function(){s!==null&&(r&&r(s),s.setMap(null))}},[]),null}c.memo(ab),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={trafficLayer:null},n.setTrafficLayerCallback=function(){n.state.trafficLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.trafficLayer)},n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=new google.maps.TrafficLayer(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:_c,eventMap:Zc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:_c,eventMap:Zc,prevProps:n,nextProps:this.props,instance:this.state.trafficLayer}))},e.prototype.componentWillUnmount=function(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),ye(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);function lb(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(he),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.BicyclingLayer;return s(a),a.setMap(r),e&&e(a),function(){a!==null&&(n&&n(a),a.setMap(null))}},[]),null}c.memo(lb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={bicyclingLayer:null},n.setBicyclingLayerCallback=function(){n.state.bicyclingLayer!==null&&(n.state.bicyclingLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.bicyclingLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.BicyclingLayer;this.setState(function(){return{bicyclingLayer:n}},this.setBicyclingLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);function ub(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(he),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.TransitLayer;return s(a),a.setMap(r),e&&e(a),function(){i!==null&&(n&&n(i),i.setMap(null))}},[]),null}c.memo(ub),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={transitLayer:null},n.setTransitLayerCallback=function(){n.state.transitLayer!==null&&(n.state.transitLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.transitLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:n}},this.setTransitLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var Xc={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},$c={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function cb(t){var e=t.options,n=t.drawingMode,r=t.onCircleComplete,o=t.onMarkerComplete,i=t.onOverlayComplete,s=t.onPolygonComplete,a=t.onPolylineComplete,u=t.onRectangleComplete,l=t.onLoad,f=t.onUnmount,d=c.useContext(he),h=c.useState(null),g=h[0],v=h[1],p=c.useState(null),w=p[0],E=p[1],m=c.useState(null),b=m[0],O=m[1],S=c.useState(null),y=S[0],C=S[1],A=c.useState(null),P=A[0],M=A[1],x=c.useState(null),k=x[0],N=x[1],z=c.useState(null),Q=z[0],R=z[1];return c.useEffect(function(){g!==null&&g.setMap(d)},[d]),c.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),c.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),c.useEffect(function(){g&&r&&(w!==null&&google.maps.event.removeListener(w),E(google.maps.event.addListener(g,"circlecomplete",r)))},[g,r]),c.useEffect(function(){g&&o&&(b!==null&&google.maps.event.removeListener(b),O(google.maps.event.addListener(g,"markercomplete",o)))},[g,o]),c.useEffect(function(){g&&i&&(y!==null&&google.maps.event.removeListener(y),C(google.maps.event.addListener(g,"overlaycomplete",i)))},[g,i]),c.useEffect(function(){g&&s&&(P!==null&&google.maps.event.removeListener(P),M(google.maps.event.addListener(g,"polygoncomplete",s)))},[g,s]),c.useEffect(function(){g&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(g,"polylinecomplete",a)))},[g,a]),c.useEffect(function(){g&&u&&(Q!==null&&google.maps.event.removeListener(Q),R(google.maps.event.addListener(g,"rectanglecomplete",u)))},[g,u]),c.useEffect(function(){Ke(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var G=new google.maps.drawing.DrawingManager(te(te({},e||{}),{map:d}));return n&&G.setDrawingMode(n),r&&E(google.maps.event.addListener(G,"circlecomplete",r)),o&&O(google.maps.event.addListener(G,"markercomplete",o)),i&&C(google.maps.event.addListener(G,"overlaycomplete",i)),s&&M(google.maps.event.addListener(G,"polygoncomplete",s)),a&&N(google.maps.event.addListener(G,"polylinecomplete",a)),u&&R(google.maps.event.addListener(G,"rectanglecomplete",u)),v(G),l&&l(G),function(){g!==null&&(w&&google.maps.event.removeListener(w),b&&google.maps.event.removeListener(b),y&&google.maps.event.removeListener(y),P&&google.maps.event.removeListener(P),k&&google.maps.event.removeListener(k),Q&&google.maps.event.removeListener(Q),f&&f(g),g.setMap(null))}},[]),null}c.memo(cb),function(t){je(e,t);function e(n){var r=t.call(this,n)||this;return r.registeredEvents=[],r.state={drawingManager:null},r.setDrawingManagerCallback=function(){r.state.drawingManager!==null&&r.props.onLoad&&r.props.onLoad(r.state.drawingManager)},Ke(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing),r}return e.prototype.componentDidMount=function(){var n=new google.maps.drawing.DrawingManager(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:$c,eventMap:Xc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:$c,eventMap:Xc,prevProps:n,nextProps:this.props,instance:this.state.drawingManager}))},e.prototype.componentWillUnmount=function(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),ye(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var ef={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"},tf={animation:function(t,e){t.setAnimation(e)},clickable:function(t,e){t.setClickable(e)},cursor:function(t,e){t.setCursor(e)},draggable:function(t,e){t.setDraggable(e)},icon:function(t,e){t.setIcon(e)},label:function(t,e){t.setLabel(e)},map:function(t,e){t.setMap(e)},opacity:function(t,e){t.setOpacity(e)},options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},shape:function(t,e){t.setShape(e)},title:function(t,e){t.setTitle(e)},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},bi={};function fb(t){var e=t.position,n=t.options,r=t.clusterer,o=t.noClustererRedraw,i=t.children,s=t.draggable,a=t.visible,u=t.animation,l=t.clickable,f=t.cursor,d=t.icon,h=t.label,g=t.opacity,v=t.shape,p=t.title,w=t.zIndex,E=t.onClick,m=t.onDblClick,b=t.onDrag,O=t.onDragEnd,S=t.onDragStart,y=t.onMouseOut,C=t.onMouseOver,A=t.onMouseUp,P=t.onMouseDown,M=t.onRightClick,x=t.onClickableChanged,k=t.onCursorChanged,N=t.onAnimationChanged,z=t.onDraggableChanged,Q=t.onFlatChanged,R=t.onIconChanged,G=t.onPositionChanged,K=t.onShapeChanged,T=t.onTitleChanged,I=t.onVisibleChanged,D=t.onZindexChanged,V=t.onLoad,H=t.onUnmount,Y=c.useContext(he),ne=c.useState(null),U=ne[0],ee=ne[1],le=c.useState(null),J=le[0],B=le[1],q=c.useState(null),_=q[0],re=q[1],pe=c.useState(null),oe=pe[0],ue=pe[1],Le=c.useState(null),Me=Le[0],Pe=Le[1],ae=c.useState(null),fe=ae[0],Ve=ae[1],_e=c.useState(null),X=_e[0],Ge=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1],de=c.useState(null),kn=de[0],Ui=de[1],Pt=c.useState(null),Rt=Pt[0],Hi=Pt[1],F=c.useState(null),ie=F[0],Z=F[1],be=c.useState(null),Te=be[0],Ae=be[1],Be=c.useState(null),De=Be[0],He=Be[1],ge=c.useState(null),we=ge[0],ct=ge[1],qt=c.useState(null),lt=qt[0],Je=qt[1],pt=c.useState(null),gt=pt[0],tt=pt[1],Ft=c.useState(null),kt=Ft[0],vt=Ft[1],fn=c.useState(null),Jt=fn[0],eo=fn[1],to=c.useState(null),cr=to[0],no=to[1],fr=c.useState(null),In=fr[0],ro=fr[1],dn=c.useState(null),Dn=dn[0],Tn=dn[1],Bn=c.useState(null),Nn=Bn[0],oo=Bn[1];c.useEffect(function(){U!==null&&U.setMap(Y)},[Y]),c.useEffect(function(){typeof n<"u"&&U!==null&&U.setOptions(n)},[U,n]),c.useEffect(function(){typeof s<"u"&&U!==null&&U.setDraggable(s)},[U,s]),c.useEffect(function(){e&&U!==null&&U.setPosition(e)},[U,e]),c.useEffect(function(){typeof a<"u"&&U!==null&&U.setVisible(a)},[U,a]),c.useEffect(function(){U==null||U.setAnimation(u)},[U,u]),c.useEffect(function(){U&&m&&(J!==null&&google.maps.event.removeListener(J),B(google.maps.event.addListener(U,"dblclick",m)))},[m]),c.useEffect(function(){U&&O&&(_!==null&&google.maps.event.removeListener(_),re(google.maps.event.addListener(U,"dragend",O)))},[O]),c.useEffect(function(){U&&S&&(oe!==null&&google.maps.event.removeListener(oe),ue(google.maps.event.addListener(U,"dragstart",S)))},[S]),c.useEffect(function(){U&&P&&(Me!==null&&google.maps.event.removeListener(Me),Pe(google.maps.event.addListener(U,"mousedown",P)))},[P]),c.useEffect(function(){U&&y&&(fe!==null&&google.maps.event.removeListener(fe),Ve(google.maps.event.addListener(U,"mouseout",y)))},[y]),c.useEffect(function(){U&&C&&(X!==null&&google.maps.event.removeListener(X),Ge(google.maps.event.addListener(U,"mouseover",C)))},[C]),c.useEffect(function(){U&&A&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(U,"mouseup",A)))},[A]),c.useEffect(function(){U&&M&&(kn!==null&&google.maps.event.removeListener(kn),Ui(google.maps.event.addListener(U,"rightclick",M)))},[M]),c.useEffect(function(){U&&E&&(Rt!==null&&google.maps.event.removeListener(Rt),Hi(google.maps.event.addListener(U,"click",E)))},[E]),c.useEffect(function(){U&&b&&(ie!==null&&google.maps.event.removeListener(ie),Z(google.maps.event.addListener(U,"drag",b)))},[b]),c.useEffect(function(){U&&x&&(Te!==null&&google.maps.event.removeListener(Te),Ae(google.maps.event.addListener(U,"clickable_changed",x)))},[x]),c.useEffect(function(){U&&k&&(De!==null&&google.maps.event.removeListener(De),He(google.maps.event.addListener(U,"cursor_changed",k)))},[k]),c.useEffect(function(){U&&N&&(we!==null&&google.maps.event.removeListener(we),ct(google.maps.event.addListener(U,"animation_changed",N)))},[N]),c.useEffect(function(){U&&z&&(lt!==null&&google.maps.event.removeListener(lt),Je(google.maps.event.addListener(U,"draggable_changed",z)))},[z]),c.useEffect(function(){U&&Q&&(gt!==null&&google.maps.event.removeListener(gt),tt(google.maps.event.addListener(U,"flat_changed",Q)))},[Q]),c.useEffect(function(){U&&R&&(kt!==null&&google.maps.event.removeListener(kt),vt(google.maps.event.addListener(U,"icon_changed",R)))},[R]),c.useEffect(function(){U&&G&&(Jt!==null&&google.maps.event.removeListener(Jt),eo(google.maps.event.addListener(U,"position_changed",G)))},[G]),c.useEffect(function(){U&&K&&(cr!==null&&google.maps.event.removeListener(cr),no(google.maps.event.addListener(U,"shape_changed",K)))},[K]),c.useEffect(function(){U&&T&&(In!==null&&google.maps.event.removeListener(In),ro(google.maps.event.addListener(U,"title_changed",T)))},[T]),c.useEffect(function(){U&&I&&(Dn!==null&&google.maps.event.removeListener(Dn),Tn(google.maps.event.addListener(U,"visible_changed",I)))},[I]),c.useEffect(function(){U&&D&&(Nn!==null&&google.maps.event.removeListener(Nn),oo(google.maps.event.addListener(U,"zindex_changed",D)))},[D]),c.useEffect(function(){var hn=te(te(te({},n||bi),r?bi:{map:Y}),{position:e}),se=new google.maps.Marker(hn);return r?r.addMarker(se,!!o):se.setMap(Y),e&&se.setPosition(e),typeof a<"u"&&se.setVisible(a),typeof s<"u"&&se.setDraggable(s),typeof l<"u"&&se.setClickable(l),typeof f=="string"&&se.setCursor(f),d&&se.setIcon(d),typeof h<"u"&&se.setLabel(h),typeof g<"u"&&se.setOpacity(g),v&&se.setShape(v),typeof p=="string"&&se.setTitle(p),typeof w=="number"&&se.setZIndex(w),m&&B(google.maps.event.addListener(se,"dblclick",m)),O&&re(google.maps.event.addListener(se,"dragend",O)),S&&ue(google.maps.event.addListener(se,"dragstart",S)),P&&Pe(google.maps.event.addListener(se,"mousedown",P)),y&&Ve(google.maps.event.addListener(se,"mouseout",y)),C&&Ge(google.maps.event.addListener(se,"mouseover",C)),A&&at(google.maps.event.addListener(se,"mouseup",A)),M&&Ui(google.maps.event.addListener(se,"rightclick",M)),E&&Hi(google.maps.event.addListener(se,"click",E)),b&&Z(google.maps.event.addListener(se,"drag",b)),x&&Ae(google.maps.event.addListener(se,"clickable_changed",x)),k&&He(google.maps.event.addListener(se,"cursor_changed",k)),N&&ct(google.maps.event.addListener(se,"animation_changed",N)),z&&Je(google.maps.event.addListener(se,"draggable_changed",z)),Q&&tt(google.maps.event.addListener(se,"flat_changed",Q)),R&&vt(google.maps.event.addListener(se,"icon_changed",R)),G&&eo(google.maps.event.addListener(se,"position_changed",G)),K&&no(google.maps.event.addListener(se,"shape_changed",K)),T&&ro(google.maps.event.addListener(se,"title_changed",T)),I&&Tn(google.maps.event.addListener(se,"visible_changed",I)),D&&oo(google.maps.event.addListener(se,"zindex_changed",D)),ee(se),V&&V(se),function(){J!==null&&google.maps.event.removeListener(J),_!==null&&google.maps.event.removeListener(_),oe!==null&&google.maps.event.removeListener(oe),Me!==null&&google.maps.event.removeListener(Me),fe!==null&&google.maps.event.removeListener(fe),X!==null&&google.maps.event.removeListener(X),ht!==null&&google.maps.event.removeListener(ht),kn!==null&&google.maps.event.removeListener(kn),Rt!==null&&google.maps.event.removeListener(Rt),Te!==null&&google.maps.event.removeListener(Te),De!==null&&google.maps.event.removeListener(De),we!==null&&google.maps.event.removeListener(we),lt!==null&&google.maps.event.removeListener(lt),gt!==null&&google.maps.event.removeListener(gt),kt!==null&&google.maps.event.removeListener(kt),Jt!==null&&google.maps.event.removeListener(Jt),In!==null&&google.maps.event.removeListener(In),Dn!==null&&google.maps.event.removeListener(Dn),Nn!==null&&google.maps.event.removeListener(Nn),H&&H(se),r?r.removeMarker(se,!!o):se&&se.setMap(null)}},[]);var io=c.useMemo(function(){return i?c.Children.map(i,function(hn){if(!c.isValidElement(hn))return hn;var se=hn;return c.cloneElement(se,{anchor:U})}):null},[i,U]);return L.jsx(L.Fragment,{children:io})||null}c.memo(fb);var nf=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=te(te(te({},this.props.options||bi),this.props.clusterer?bi:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(n),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=ve({updaterMap:tf,eventMap:ef,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:tf,eventMap:ef,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),ye(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},e.prototype.render=function(){var n=this,r=null;return this.props.children&&(r=c.Children.map(this.props.children,function(o){if(!c.isValidElement(o))return o;var i=o;return c.cloneElement(i,{anchor:n.marker})})),r||null},e.contextType=he,e}(c.PureComponent),db=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,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.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(e.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return t.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},t.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},t.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var n=this.cluster.getClusterer();if(google.maps.event.trigger(n,"click",this.cluster),google.maps.event.trigger(n,"clusterclick",this.cluster),n.getZoomOnClick()){var r=n.getMaxZoom(),o=this.cluster.getBounds(),i=n.getMap();i!==null&&"fitBounds"in i&&i.fitBounds(o),this.timeOut=window.setTimeout(function(){var s=n.getMap();if(s!==null){"fitBounds"in s&&s.fitBounds(o);var a=s.getZoom()||0;r!==null&&a>r&&s.setZoom(r+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},t.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},t.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},t.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),(e=this.getPanes())===null||e===void 0||e.overlayMouseTarget.appendChild(this.div);var n=this.getMap();n!==null&&(this.boundsChangedListener=google.maps.event.addListener(n,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),this.boundsChangedListener!==null&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),this.timeOut!==null&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},t.prototype.draw=function(){if(this.visible&&this.div!==null&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=e!==null?"".concat(e.y,"px"):"0",this.div.style.left=e!==null?"".concat(e.x,"px"):"0"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){var e,n,r,o,i,s;if(this.div&&this.center){var a=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,u=this.backgroundPosition.split(" "),l=parseInt(((e=u[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),f=parseInt(((n=u[1])===null||n===void 0?void 0:n.replace(/^\s+|\s+$/g,""))||"0",10),d=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(d!==null?"".concat(d.y,"px"):"0","; left: ").concat(d!==null?"".concat(d.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var h=document.createElement("img");h.alt=a,h.src=this.url,h.width=this.width,h.height=this.height,h.setAttribute("style","position: absolute; top: ".concat(f,"px; left: ").concat(l,"px")),this.cluster.getClusterer().enableRetinaIcons||(h.style.clip="rect(-".concat(f,"px, -").concat(l+this.width,"px, -").concat(f+this.height,", -").concat(l,")"));var g=document.createElement("div");g.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),!((r=this.sums)===null||r===void 0)&&r.text&&(g.innerText="".concat((o=this.sums)===null||o===void 0?void 0:o.text)),!((i=this.sums)===null||i===void 0)&&i.html&&(g.innerHTML="".concat((s=this.sums)===null||s===void 0?void 0:s.html)),this.div.innerHTML="",this.div.appendChild(h),this.div.appendChild(g),this.div.title=a,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),r=n[Math.min(n.length-1,Math.max(0,e.index-1))];r&&(this.url=r.url,this.height=r.height,this.width=r.width,r.className&&(this.className="".concat(this.clusterClassName," ").concat(r.className)),this.anchorText=r.anchorText||[0,0],this.anchorIcon=r.anchorIcon||[this.height/2,this.width/2],this.textColor=r.textColor||"black",this.textSize=r.textSize||11,this.textDecoration=r.textDecoration||"none",this.fontWeight=r.fontWeight||"bold",this.fontStyle=r.fontStyle||"normal",this.fontFamily=r.fontFamily||"Arial,sans-serif",this.backgroundPosition=r.backgroundPosition||"0 0")},t.prototype.setCenter=function(e){this.center=e},t.prototype.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n!==null&&(n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0]),n},t}(),hb=function(){function t(e){this.markerClusterer=e,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 db(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}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 e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),r=0,o=n;r<o.length;r++){var i=o[r],s=i.getPosition();s&&e.extend(s)}return e},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(e){var n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var r=e.getPosition();if(r){var o=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(o-1)+r.lat())/o,(this.center.lng()*(o-1)+r.lng())/o),this.calculateBounds()}}}else{var r=e.getPosition();r&&(this.center=r,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var i=this.markers.length,s=this.markerClusterer.getMaxZoom(),a=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(s!==null&&typeof a<"u"&&a>s)e.getMap()!==this.map&&e.setMap(this.map);else if(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var u=0,l=this.markers;u<l.length;u++){var f=l[u];f.setMap(null)}else e.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(e){if(this.bounds!==null){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var e,n=this.markers.length,r=this.markerClusterer.getMaxZoom(),o=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(r!==null&&typeof o<"u"&&o>r){this.clusterIcon.hide();return}if(n<this.minClusterSize){this.clusterIcon.hide();return}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(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},t}();function pb(t,e){var n=t.length,r=n.toString().length,o=Math.min(r,e);return{text:n.toString(),index:o,title:""}}var gb=2e3,vb=500,mb="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",yb="png",bb=[53,56,66,78,90],Eb="cluster",rf=function(){function t(e,n,r){n===void 0&&(n=[]),r===void 0&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,r.zoomOnClick!==void 0&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,r.averageCenter!==void 0&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,r.ignoreHidden!==void 0&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,r.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||mb,this.imageExtension=r.imageExtension||yb,this.imageSizes=r.imageSizes||bb,this.calculator=r.calculator||pb,this.batchSize=r.batchSize||gb,this.batchSizeIE=r.batchSizeIE||vb,this.clusterClass=r.clusterClass||Eb,navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onZoomChanged=function(){var e,n;this.resetViewport(!1),(((e=this.getMap())===null||e===void 0?void 0:e.getZoom())===(this.get("minZoom")||0)||((n=this.getMap())===null||n===void 0?void 0:n.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},t.prototype.onIdle=function(){this.redraw()},t.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),e!==null&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},t.prototype.onRemove=function(){for(var e=0,n=this.markers;e<n.length;e++){var r=n[e];r.getMap()!==this.activeMap&&r.setMap(this.activeMap)}for(var o=0,i=this.clusters;o<i.length;o++){var s=i[o];s.remove()}this.clusters=[];for(var a=0,u=this.listeners;a<u.length;a++){var l=u[a];google.maps.event.removeListener(l)}this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.getMap=function(){return null},t.prototype.getPanes=function(){return null},t.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},t.prototype.setMap=function(){},t.prototype.addListener=function(){return{remove:function(){}}},t.prototype.bindTo=function(){},t.prototype.get=function(){},t.prototype.notify=function(){},t.prototype.set=function(){},t.prototype.setValues=function(){},t.prototype.unbind=function(){},t.prototype.unbindAll=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,r=0,o=e;r<o.length;r++){var i=o[r],s=i.getPosition();s&&n.extend(s)}var a=this.getMap();a!==null&&"fitBounds"in a&&a.fitBounds(n)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(e){this.gridSize=e},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(e){this.maxZoom=e},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(e){this.styles=e},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(e){this.title=e},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(e){this.averageCenter=e},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(e){this.imageExtension=e},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(e){this.imagePath=e},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(e){this.imageSizes=e},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(e){this.calculator=e},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(e){this.clusterClass=e},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(e,n){this.pushMarkerTo(e),n||this.redraw()},t.prototype.addMarkers=function(e,n){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];o&&this.pushMarkerTo(o)}n||this.redraw()},t.prototype.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){n.ready&&(e.isAdded=!1,n.repaint())}),e.isAdded=!1,this.markers.push(e)},t.prototype.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var r=0;r<this.markers.length;r++)if(e===this.markers[r]){n=r;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var r=this.removeMarker_(e);return!n&&r&&this.repaint(),r},t.prototype.removeMarkers=function(e,n){for(var r=!1,o=0,i=e;o<i.length;o++){var s=i[o];r=r||this.removeMarker_(s)}return!n&&r&&this.repaint(),r},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var r=0,o=e;r<o.length;r++){var i=o[r];i.remove()}},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),r=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));r!==null&&(r.x+=this.gridSize,r.y-=this.gridSize);var o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(o!==null&&(o.x-=this.gridSize,o.y+=this.gridSize),r!==null){var i=n.fromDivPixelToLatLng(r);i!==null&&e.extend(i)}if(o!==null){var s=n.fromDivPixelToLatLng(o);s!==null&&e.extend(s)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0,r=this.clusters;n<r.length;n++){var o=r[n];o.remove()}this.clusters=[];for(var i=0,s=this.markers;i<s.length;i++){var a=s[i];a.isAdded=!1,e&&a.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var r=6371,o=(n.lat()-e.lat())*Math.PI/180,i=(n.lng()-e.lng())*Math.PI/180,s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/2);return r*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},t.prototype.isMarkerInBounds=function(e,n){var r=e.getPosition();return r?n.contains(r):!1},t.prototype.addToClosestCluster=function(e){for(var n,r=4e4,o=null,i=0,s=this.clusters;i<s.length;i++){var a=s[i];n=a;var u=n.getCenter(),l=e.getPosition();if(u&&l){var f=this.distanceBetweenPoints(u,l);f<r&&(r=f,o=n)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):(n=new hb(this),n.addMarker(e),this.clusters.push(n))},t.prototype.createClusters=function(e){var n=this;if(this.ready){e===0&&(google.maps.event.trigger(this,"clusteringbegin",this),this.timerRefStatic!==null&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=this.getMap(),o=r!==null&&("getBounds"in r)?r.getBounds():null,i=(r==null?void 0:r.getZoom())||0,s=i>3?new google.maps.LatLngBounds(o==null?void 0:o.getSouthWest(),o==null?void 0:o.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),a=this.getExtendedBounds(s),u=Math.min(e+this.batchSize,this.markers.length),l=e;l<u;l++){var f=this.markers[l];f&&!f.isAdded&&this.isMarkerInBounds(f,a)&&(!this.ignoreHidden||this.ignoreHidden&&f.getVisible())&&this.addToClosestCluster(f)}if(u<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(u)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var d=0,h=this.clusters;d<h.length;d++){var g=h[d];g.updateIcon()}}}},t.prototype.extend=function(e,n){return(function(o){for(var i in o.prototype){var s=i;this.prototype[s]=o.prototype[s]}return this}).apply(e,[n])},t}(),St={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},Oe={averageCenter:function(t,e){t.setAverageCenter(e)},batchSizeIE:function(t,e){t.setBatchSizeIE(e)},calculator:function(t,e){t.setCalculator(e)},clusterClass:function(t,e){t.setClusterClass(e)},enableRetinaIcons:function(t,e){t.setEnableRetinaIcons(e)},gridSize:function(t,e){t.setGridSize(e)},ignoreHidden:function(t,e){t.setIgnoreHidden(e)},imageExtension:function(t,e){t.setImageExtension(e)},imagePath:function(t,e){t.setImagePath(e)},imageSizes:function(t,e){t.setImageSizes(e)},maxZoom:function(t,e){t.setMaxZoom(e)},minimumClusterSize:function(t,e){t.setMinimumClusterSize(e)},styles:function(t,e){t.setStyles(e)},title:function(t,e){t.setTitle(e)},zoomOnClick:function(t,e){t.setZoomOnClick(e)}},wb={};function Cb(t){var e=t.children,n=t.options,r=t.averageCenter,o=t.batchSizeIE,i=t.calculator,s=t.clusterClass,a=t.enableRetinaIcons,u=t.gridSize,l=t.ignoreHidden,f=t.imageExtension,d=t.imagePath,h=t.imageSizes,g=t.maxZoom,v=t.minimumClusterSize,p=t.styles,w=t.title,E=t.zoomOnClick,m=t.onClick,b=t.onClusteringBegin,O=t.onClusteringEnd,S=t.onMouseOver,y=t.onMouseOut,C=t.onLoad,A=t.onUnmount,P=c.useState(null),M=P[0],x=P[1],k=c.useContext(he),N=c.useState(null),z=N[0],Q=N[1],R=c.useState(null),G=R[0],K=R[1],T=c.useState(null),I=T[0],D=T[1],V=c.useState(null),H=V[0],Y=V[1],ne=c.useState(null),U=ne[0],ee=ne[1];return c.useEffect(function(){M&&y&&(H!==null&&google.maps.event.removeListener(H),Y(google.maps.event.addListener(M,St.onMouseOut,y)))},[y]),c.useEffect(function(){M&&S&&(U!==null&&google.maps.event.removeListener(U),ee(google.maps.event.addListener(M,St.onMouseOver,S)))},[S]),c.useEffect(function(){M&&m&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(M,St.onClick,m)))},[m]),c.useEffect(function(){M&&b&&(G!==null&&google.maps.event.removeListener(G),K(google.maps.event.addListener(M,St.onClusteringBegin,b)))},[b]),c.useEffect(function(){M&&O&&(I!==null&&google.maps.event.removeListener(I),K(google.maps.event.addListener(M,St.onClusteringEnd,O)))},[O]),c.useEffect(function(){typeof r<"u"&&M!==null&&Oe.averageCenter(M,r)},[M,r]),c.useEffect(function(){typeof o<"u"&&M!==null&&Oe.batchSizeIE(M,o)},[M,o]),c.useEffect(function(){typeof i<"u"&&M!==null&&Oe.calculator(M,i)},[M,i]),c.useEffect(function(){typeof s<"u"&&M!==null&&Oe.clusterClass(M,s)},[M,s]),c.useEffect(function(){typeof a<"u"&&M!==null&&Oe.enableRetinaIcons(M,a)},[M,a]),c.useEffect(function(){typeof u<"u"&&M!==null&&Oe.gridSize(M,u)},[M,u]),c.useEffect(function(){typeof l<"u"&&M!==null&&Oe.ignoreHidden(M,l)},[M,l]),c.useEffect(function(){typeof f<"u"&&M!==null&&Oe.imageExtension(M,f)},[M,f]),c.useEffect(function(){typeof d<"u"&&M!==null&&Oe.imagePath(M,d)},[M,d]),c.useEffect(function(){typeof h<"u"&&M!==null&&Oe.imageSizes(M,h)},[M,h]),c.useEffect(function(){typeof g<"u"&&M!==null&&Oe.maxZoom(M,g)},[M,g]),c.useEffect(function(){typeof v<"u"&&M!==null&&Oe.minimumClusterSize(M,v)},[M,v]),c.useEffect(function(){typeof p<"u"&&M!==null&&Oe.styles(M,p)},[M,p]),c.useEffect(function(){typeof w<"u"&&M!==null&&Oe.title(M,w)},[M,w]),c.useEffect(function(){typeof E<"u"&&M!==null&&Oe.zoomOnClick(M,E)},[M,E]),c.useEffect(function(){if(k){var le=te({},n||wb),J=new rf(k,[],le);return r&&Oe.averageCenter(J,r),o&&Oe.batchSizeIE(J,o),i&&Oe.calculator(J,i),s&&Oe.clusterClass(J,s),a&&Oe.enableRetinaIcons(J,a),u&&Oe.gridSize(J,u),l&&Oe.ignoreHidden(J,l),f&&Oe.imageExtension(J,f),d&&Oe.imagePath(J,d),h&&Oe.imageSizes(J,h),g&&Oe.maxZoom(J,g),v&&Oe.minimumClusterSize(J,v),p&&Oe.styles(J,p),w&&Oe.title(J,w),E&&Oe.zoomOnClick(J,E),y&&Y(google.maps.event.addListener(J,St.onMouseOut,y)),S&&ee(google.maps.event.addListener(J,St.onMouseOver,S)),m&&Q(google.maps.event.addListener(J,St.onClick,m)),b&&K(google.maps.event.addListener(J,St.onClusteringBegin,b)),O&&D(google.maps.event.addListener(J,St.onClusteringEnd,O)),x(J),C&&C(J),function(){H!==null&&google.maps.event.removeListener(H),U!==null&&google.maps.event.removeListener(U),z!==null&&google.maps.event.removeListener(z),G!==null&&google.maps.event.removeListener(G),I!==null&&google.maps.event.removeListener(I),A&&A(J)}}},[]),M!==null&&e(M)||null}c.memo(Cb);var Sb=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={markerClusterer:null},n.setClustererCallback=function(){n.state.markerClusterer!==null&&n.props.onLoad&&n.props.onLoad(n.state.markerClusterer)},n}return e.prototype.componentDidMount=function(){if(this.context){var n=new rf(this.context,[],this.props.options);this.registeredEvents=ve({updaterMap:Oe,eventMap:St,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Oe,eventMap:St,prevProps:n,nextProps:this.props,instance:this.state.markerClusterer}))},e.prototype.componentWillUnmount=function(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),ye(this.registeredEvents),this.state.markerClusterer.setMap(null))},e.prototype.render=function(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null},e.contextType=he,e}(c.PureComponent);function of(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var sf=function(){function t(e){e===void 0&&(e={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),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),typeof e.visible>"u"&&(typeof e.isHidden>"u"?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 e=this,n=function(l){l.returnValue=!1,l.preventDefault&&l.preventDefault(),e.enableEventPropagation||of(l)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),typeof this.content=="string"?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var r=this.getPanes();if(r!==null&&r[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var o=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-o.left-o.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"],s=0,a=i;s<a.length;s++){var u=a[s];this.eventListeners.push(google.maps.event.addListener(this.div,u,of))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",n),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var e="";return this.closeBoxURL!==""&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},t.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&this.closeBoxURL!==""?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},t.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},t.prototype.getCloseClickHandler=function(){return this.closeClickHandler},t.prototype.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var r=0,o=0,i=n.getBounds();i&&!i.contains(this.position)&&n.setCenter(this.position);var s=n.getDiv(),a=s.offsetWidth,u=s.offsetHeight,l=this.pixelOffset.width,f=this.pixelOffset.height,d=this.div.offsetWidth,h=this.div.offsetHeight,g=this.infoBoxClearance.width,v=this.infoBoxClearance.height,p=this.getProjection(),w=p.fromLatLngToContainerPixel(this.position);w!==null&&(w.x<-l+g?r=w.x+l-g:w.x+d+l+g>a&&(r=w.x+d+l+g-a),this.alignBottom?w.y<-f+v+h?o=w.y+f-v-h:w.y+f+v>u&&(o=w.y+f+v-u):w.y<-f+v?o=w.y+f-v:w.y+h+f+v>u&&(o=w.y+h+f+v-u)),r===0&&o===0||n.panBy(r,o)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var r=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+r*100+')"',this.div.style.filter="alpha(opacity="+r*100+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",this.zIndex!==null&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var n=this.div.ownerDocument,r=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.borderRightWidth||"",10)||0)}return e},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 e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),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(){var e=this.getMap();return typeof e>"u"||e===null?!1:!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(e,n){var r=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var o=n.getPosition();r.setPosition(o)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){r.setMap(n.map)})),this.setMap(e),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,n=this.eventListeners;e<n.length;e++){var r=n[e];google.maps.event.removeListener(r)}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(e,n){return(function(o){for(var i in o.prototype)Object.prototype.hasOwnProperty.call(this,i)||(this.prototype[i]=o.prototype[i]);return this}).apply(e,[n])},t}(),af={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},lf={options:function(t,e){t.setOptions(e)},position:function(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},Lb={};function Ab(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,u=t.onContentChanged,l=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(he),v=c.useState(null),p=v[0],w=v[1],E=c.useState(null),m=E[0],b=E[1],O=c.useState(null),S=O[0],y=O[1],C=c.useState(null),A=C[0],P=C[1],M=c.useState(null),x=M[0],k=M[1],N=c.useState(null),z=N[0],Q=N[1],R=c.useRef(null);return c.useEffect(function(){g&&p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){if(o&&p!==null){var G=o instanceof google.maps.LatLng?o:new google.maps.LatLng(o.lat,o.lng);p.setPosition(G)}},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(m!==null&&google.maps.event.removeListener(m),b(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),y(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&u&&(A!==null&&google.maps.event.removeListener(A),P(google.maps.event.addListener(p,"content_changed",u)))},[u]),c.useEffect(function(){p&&l&&(x!==null&&google.maps.event.removeListener(x),k(google.maps.event.addListener(p,"position_changed",l)))},[l]),c.useEffect(function(){p&&f&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){if(g){var G=r||Lb,K=G.position,T=sa(G,["position"]),I=void 0;K&&!(K instanceof google.maps.LatLng)&&(I=new google.maps.LatLng(K.lat,K.lng));var D=new sf(te(te({},T),I?{position:I}:{}));R.current=document.createElement("div"),w(D),s&&b(google.maps.event.addListener(D,"closeclick",s)),a&&y(google.maps.event.addListener(D,"domready",a)),u&&P(google.maps.event.addListener(D,"content_changed",u)),l&&k(google.maps.event.addListener(D,"position_changed",l)),f&&Q(google.maps.event.addListener(D,"zindex_changed",f)),D.setContent(R.current),n?D.open(g,n):D.getPosition()?D.open(g):Ke(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(D)}return function(){p!==null&&(m&&google.maps.event.removeListener(m),A&&google.maps.event.removeListener(A),S&&google.maps.event.removeListener(S),x&&google.maps.event.removeListener(x),z&&google.maps.event.removeListener(z),h&&h(p),p.close())}},[]),R.current?jn.createPortal(c.Children.only(e),R.current):null}c.memo(Ab),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoBox:null},n.open=function(r,o){o?n.context!==null&&r.open(n.context,o):r.getPosition()?n.context!==null&&r.open(n.context):Ke(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},n.setInfoBoxCallback=function(){n.state.infoBox!==null&&n.containerElement!==null&&(n.state.infoBox.setContent(n.containerElement),n.open(n.state.infoBox,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoBox))},n}return e.prototype.componentDidMount=function(){var n=this.props.options||{},r=n.position,o=sa(n,["position"]),i;r&&!(r instanceof google.maps.LatLng)&&(i=new google.maps.LatLng(r.lat,r.lng));var s=new sf(te(te({},o),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=ve({updaterMap:lf,eventMap:af,prevProps:{},nextProps:this.props,instance:s}),this.setState({infoBox:s},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var r=this.state.infoBox;r!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:lf,eventMap:af,prevProps:n,nextProps:this.props,instance:r}))},e.prototype.componentWillUnmount=function(){var n=this.props.onUnmount,r=this.state.infoBox;r!==null&&(n&&n(r),ye(this.registeredEvents),r.close())},e.prototype.render=function(){return this.containerElement?jn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=he,e}(c.PureComponent);var xb=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n},uf=Vc(xb);const cf=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],la=1,Kr=8;class ua{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[n,r]=new Uint8Array(e,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");const o=r>>4;if(o!==la)throw new Error(`Got v${o} data when expected v${la}.`);const i=cf[r&15];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new ua(a,s,i,e)}constructor(e,n=64,r=Float64Array,o){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const i=cf.indexOf(this.ArrayType),s=e*2*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,u=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);o&&o instanceof ArrayBuffer?(this.data=o,this.ids=new this.IndexArrayType(this.data,Kr,e),this.coords=new this.ArrayType(this.data,Kr+a+u,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(Kr+s+a+u),this.ids=new this.IndexArrayType(this.data,Kr,e),this.coords=new this.ArrayType(this.data,Kr+a+u,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(la<<4)+i]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=e)}add(e,n){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=n,r}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return ca(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:a}=this,u=[0,i.length-1,0],l=[];for(;u.length;){const f=u.pop()||0,d=u.pop()||0,h=u.pop()||0;if(d-h<=a){for(let w=h;w<=d;w++){const E=s[2*w],m=s[2*w+1];E>=e&&E<=r&&m>=n&&m<=o&&l.push(i[w])}continue}const g=h+d>>1,v=s[2*g],p=s[2*g+1];v>=e&&v<=r&&p>=n&&p<=o&&l.push(i[g]),(f===0?e<=v:n<=p)&&(u.push(h),u.push(g-1),u.push(1-f)),(f===0?r>=v:o>=p)&&(u.push(g+1),u.push(d),u.push(1-f))}return l}within(e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:i,nodeSize:s}=this,a=[0,o.length-1,0],u=[],l=r*r;for(;a.length;){const f=a.pop()||0,d=a.pop()||0,h=a.pop()||0;if(d-h<=s){for(let w=h;w<=d;w++)df(i[2*w],i[2*w+1],e,n)<=l&&u.push(o[w]);continue}const g=h+d>>1,v=i[2*g],p=i[2*g+1];df(v,p,e,n)<=l&&u.push(o[g]),(f===0?e-r<=v:n-r<=p)&&(a.push(h),a.push(g-1),a.push(1-f)),(f===0?e+r>=v:n+r>=p)&&(a.push(g+1),a.push(d),a.push(1-f))}return u}}function ca(t,e,n,r,o,i){if(o-r<=n)return;const s=r+o>>1;ff(t,e,s,r,o,i),ca(t,e,n,r,s-1,1-i),ca(t,e,n,s+1,o,1-i)}function ff(t,e,n,r,o,i){for(;o>r;){if(o-r>600){const l=o-r+1,f=n-r+1,d=Math.log(l),h=.5*Math.exp(2*d/3),g=.5*Math.sqrt(d*h*(l-h)/l)*(f-l/2<0?-1:1),v=Math.max(r,Math.floor(n-f*h/l+g)),p=Math.min(o,Math.floor(n+(l-f)*h/l+g));ff(t,e,n,v,p,i)}const s=e[2*n+i];let a=r,u=o;for(Rr(t,e,r,n),e[2*o+i]>s&&Rr(t,e,r,o);a<u;){for(Rr(t,e,a,u),a++,u--;e[2*a+i]<s;)a++;for(;e[2*u+i]>s;)u--}e[2*r+i]===s?Rr(t,e,r,u):(u++,Rr(t,e,u,o)),u<=n&&(r=u+1),n<=u&&(o=u-1)}}function Rr(t,e,n,r){fa(t,n,r),fa(e,2*n,2*r),fa(e,2*n+1,2*r+1)}function fa(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function df(t,e,n,r){const o=t-n,i=e-r;return o*o+i*i}const Ob={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},hf=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),An=2,ln=3,da=4,un=5,pf=6;class Mb{constructor(e){this.options=Object.assign(Object.create(Ob),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:n,minZoom:r,maxZoom:o}=this.options;n&&console.time("total time");const i=`prepare ${e.length} points`;n&&console.time(i),this.points=e;const s=[];for(let u=0;u<e.length;u++){const l=e[u];if(!l.geometry)continue;const[f,d]=l.geometry.coordinates,h=hf(Ei(f)),g=hf(wi(d));s.push(h,g,1/0,u,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[o+1]=this._createTree(s);n&&console.timeEnd(i);for(let u=o;u>=r;u--){const l=+Date.now();a=this.trees[u]=this._createTree(this._cluster(a,u)),n&&console.log("z%d: %d clusters in %dms",u,a.numItems,+Date.now()-l)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let r=((e[0]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[1]));let i=e[2]===180?180:((e[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,i=180;else if(r>i){const d=this.getClusters([r,o,180,s],n),h=this.getClusters([-180,o,i,s],n);return d.concat(h)}const a=this.trees[this._limitZoom(n)],u=a.range(Ei(r),wi(s),Ei(i),wi(o)),l=a.data,f=[];for(const d of u){const h=this.stride*d;f.push(l[h+un]>1?gf(l,h,this.clusterProps):this.points[l[h+ln]])}return f}getChildren(e){const n=this._getOriginId(e),r=this._getOriginZoom(e),o="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(o);const s=i.data;if(n*this.stride>=s.length)throw new Error(o);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),u=s[n*this.stride],l=s[n*this.stride+1],f=i.within(u,l,a),d=[];for(const h of f){const g=h*this.stride;s[g+da]===e&&d.push(s[g+un]>1?gf(s,g,this.clusterProps):this.points[s[g+ln]])}if(d.length===0)throw new Error(o);return d}getLeaves(e,n,r){n=n||10,r=r||0;const o=[];return this._appendLeaves(o,e,n,r,0),o}getTile(e,n,r){const o=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:s,radius:a}=this.options,u=a/s,l=(r-u)/i,f=(r+1+u)/i,d={features:[]};return this._addTileFeatures(o.range((n-u)/i,l,(n+1+u)/i,f),o.data,n,r,i,d),n===0&&this._addTileFeatures(o.range(1-u/i,l,1,f),o.data,i,r,i,d),n===i-1&&this._addTileFeatures(o.range(0,l,u/i,f),o.data,-1,r,i,d),d.features.length?d:null}getClusterExpansionZoom(e){let n=this._getOriginZoom(e)-1;for(;n<=this.options.maxZoom;){const r=this.getChildren(e);if(n++,r.length!==1)break;e=r[0].properties.cluster_id}return n}_appendLeaves(e,n,r,o,i){const s=this.getChildren(n);for(const a of s){const u=a.properties;if(u&&u.cluster?i+u.point_count<=o?i+=u.point_count:i=this._appendLeaves(e,u.cluster_id,r,o,i):i<o?i++:e.push(a),e.length===r)break}return i}_createTree(e){const n=new ua(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<e.length;r+=this.stride)n.add(e[r],e[r+1]);return n.finish(),n.data=e,n}_addTileFeatures(e,n,r,o,i,s){for(const a of e){const u=a*this.stride,l=n[u+un]>1;let f,d,h;if(l)f=vf(n,u,this.clusterProps),d=n[u],h=n[u+1];else{const p=this.points[n[u+ln]];f=p.properties;const[w,E]=p.geometry.coordinates;d=Ei(w),h=wi(E)}const g={type:1,geometry:[[Math.round(this.options.extent*(d*i-r)),Math.round(this.options.extent*(h*i-o))]],tags:f};let v;l||this.options.generateId?v=n[u+ln]:v=this.points[n[u+ln]].id,v!==void 0&&(g.id=v),s.features.push(g)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,n){const{radius:r,extent:o,reduce:i,minPoints:s}=this.options,a=r/(o*Math.pow(2,n)),u=e.data,l=[],f=this.stride;for(let d=0;d<u.length;d+=f){if(u[d+An]<=n)continue;u[d+An]=n;const h=u[d],g=u[d+1],v=e.within(u[d],u[d+1],a),p=u[d+un];let w=p;for(const E of v){const m=E*f;u[m+An]>n&&(w+=u[m+un])}if(w>p&&w>=s){let E=h*p,m=g*p,b,O=-1;const S=((d/f|0)<<5)+(n+1)+this.points.length;for(const y of v){const C=y*f;if(u[C+An]<=n)continue;u[C+An]=n;const A=u[C+un];E+=u[C]*A,m+=u[C+1]*A,u[C+da]=S,i&&(b||(b=this._map(u,d,!0),O=this.clusterProps.length,this.clusterProps.push(b)),i(b,this._map(u,C)))}u[d+da]=S,l.push(E/w,m/w,1/0,S,-1,w),i&&l.push(O)}else{for(let E=0;E<f;E++)l.push(u[d+E]);if(w>1)for(const E of v){const m=E*f;if(!(u[m+An]<=n)){u[m+An]=n;for(let b=0;b<f;b++)l.push(u[m+b])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,r){if(e[n+un]>1){const s=this.clusterProps[e[n+pf]];return r?Object.assign({},s):s}const o=this.points[e[n+ln]].properties,i=this.options.map(o);return r&&i===o?Object.assign({},i):i}}function gf(t,e,n){return{type:"Feature",id:t[e+ln],properties:vf(t,e,n),geometry:{type:"Point",coordinates:[Pb(t[e]),kb(t[e+1])]}}}function vf(t,e,n){const r=t[e+un],o=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,i=t[e+pf],s=i===-1?{}:Object.assign({},n[i]);return Object.assign(s,{cluster:!0,cluster_id:t[e+ln],point_count:r,point_count_abbreviated:o})}function Ei(t){return t/360+.5}function wi(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function Pb(t){return(t-.5)*360}function kb(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
|
|
83
|
+
Copyright (c) Microsoft Corporation.
|
|
84
|
+
|
|
85
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
86
|
+
purpose with or without fee is hereby granted.
|
|
87
|
+
|
|
88
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
89
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
90
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
91
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
92
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
93
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
94
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
95
|
+
***************************************************************************** */function Ib(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}class mt{static isAdvancedMarkerAvailable(e){return google.maps.marker&&e.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,n){this.isAdvancedMarker(e)?e.map=n:e.setMap(n)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return this.isAdvancedMarker(e)?!0:e.getVisible()}}class ha{constructor({markers:e,position:n}){this.markers=e,n&&(n instanceof google.maps.LatLng?this._position=n:this._position=new google.maps.LatLng(n))}get bounds(){if(this.markers.length===0&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const n of this.markers)e.extend(mt.getPosition(n));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>mt.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(mt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class Db{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Tb(e)}}const Tb=t=>t.map(n=>new ha({position:mt.getPosition(n),markers:[n]}));class Bb extends Db{constructor(e){var{maxZoom:n,radius:r=60}=e,o=Ib(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new Mb(Object.assign({maxZoom:this.maxZoom,radius:r},o))}calculate(e){let n=!1;const r={zoom:e.map.getZoom()};if(!uf(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const o=this.markers.map(i=>{const s=mt.getPosition(i);return{type:"Feature",geometry:{type:"Point",coordinates:[s.lng(),s.lat()]},properties:{marker:i}}});this.superCluster.load(o)}return n||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(n=!uf(this.state,r)),this.state=r,n&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:n}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(n=>this.transformCluster(n))}transformCluster({geometry:{coordinates:[e,n]},properties:r}){if(r.cluster)return new ha({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(i=>i.properties.marker),position:{lat:n,lng:e}});const o=r.marker;return new ha({markers:[o],position:mt.getPosition(o)})}}class Nb{constructor(e,n){this.markers={sum:e.length};const r=n.map(i=>i.count),o=r.reduce((i,s)=>i+s,0);this.clusters={count:n.length,markers:{mean:o/n.length,sum:o,min:Math.min(...r),max:Math.max(...r)}}}}class jb{render({count:e,position:n},r,o){const s=`<svg fill="${e>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
|
|
81
96
|
<circle cx="120" cy="120" opacity=".6" r="70" />
|
|
82
97
|
<circle cx="120" cy="120" opacity=".3" r="90" />
|
|
83
98
|
<circle cx="120" cy="120" opacity=".2" r="110" />
|
|
84
99
|
<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>
|
|
85
|
-
</svg>`,a=`Cluster of ${e} markers`,l=Number(google.maps.Marker.MAX_ZINDEX)+e;if(vt.isAdvancedMarkerAvailable(o)){const f=document.createElement("div");f.innerHTML=s;const d=f.firstElementChild;d.setAttribute("transform","translate(0 25)");const p={map:o,position:n,zIndex:l,title:a,content:d};return new google.maps.marker.AdvancedMarkerElement(p)}const u={position:n,zIndex:l,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(s)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(u)}}function wb(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class ca{constructor(){wb(ca,google.maps.OverlayView)}}var Wr;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(Wr||(Wr={}));const Cb=(t,e,n)=>{n.fitBounds(e.bounds)};class Sb extends ca{constructor({map:e,markers:n=[],algorithmOptions:r={},algorithm:o=new yb(r),renderer:i=new Eb,onClusterClick:s=Cb}){super(),this.markers=[...n],this.clusters=[],this.algorithm=o,this.renderer=i,this.onClusterClick=s,e&&this.setMap(e)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(r=>{this.addMarker(r,!0)}),n||this.render()}removeMarker(e,n){const r=this.markers.indexOf(e);return r===-1?!1:(vt.setMap(e,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(e,n){let r=!1;return e.forEach(o=>{r=this.removeMarker(o,!0)||r}),r&&!n&&this.render(),r}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,Wr.CLUSTERING_BEGIN,this);const{clusters:n,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||r==null){const o=new Set;for(const s of n)s.markers.length==1&&o.add(s.markers[0]);const i=[];for(const s of this.clusters)s.marker!=null&&(s.markers.length==1?o.has(s.marker)||vt.setMap(s.marker,null):i.push(s.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>i.forEach(s=>vt.setMap(s,null)))}google.maps.event.trigger(this,Wr.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>vt.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new bb(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(r=>{r.markers.length===1?r.marker=r.markers[0]:(r.marker=this.renderer.render(r,e,n),r.markers.forEach(o=>vt.setMap(o,null)),this.onClusterClick&&r.marker.addListener("click",o=>{google.maps.event.trigger(this,Wr.CLUSTER_CLICK,r),this.onClusterClick(o,r,n)})),vt.setMap(r.marker,n)})}}function Lb(t){var e=T0(),n=c.useState(null),r=n[0],o=n[1];return c.useEffect(function(){if(e&&r===null){var i=new Sb(ee(ee({},t),{map:e}));o(i)}},[e]),r}function xb(t){var e=t.children,n=t.options,r=Lb(n);return r!==null?e(r):null}c.memo(xb);var lf={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},uf={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Ab(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,u=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,p=t.onUnmount,g=c.useContext(de),m=c.useState(null),h=m[0],S=m[1],C=c.useState(null),b=C[0],y=C[1],A=c.useState(null),E=A[0],v=A[1],x=c.useState(null),w=x[0],M=x[1],O=c.useState(null),P=O[0],T=O[1],z=c.useState(null),Q=z[0],K=z[1],J=c.useRef(null);return c.useEffect(function(){h!==null&&(h.close(),n?h.open(g,n):h.getPosition()&&h.open(g))},[g,h,n]),c.useEffect(function(){r&&h!==null&&h.setOptions(r)},[h,r]),c.useEffect(function(){o&&h!==null&&h.setPosition(o)},[o]),c.useEffect(function(){typeof i=="number"&&h!==null&&h.setZIndex(i)},[i]),c.useEffect(function(){h&&s&&(b!==null&&google.maps.event.removeListener(b),y(google.maps.event.addListener(h,"closeclick",s)))},[s]),c.useEffect(function(){h&&a&&(E!==null&&google.maps.event.removeListener(E),v(google.maps.event.addListener(h,"domready",a)))},[a]),c.useEffect(function(){h&&l&&(w!==null&&google.maps.event.removeListener(w),M(google.maps.event.addListener(h,"content_changed",l)))},[l]),c.useEffect(function(){h&&u&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(h,"position_changed",u)))},[u]),c.useEffect(function(){h&&f&&(Q!==null&&google.maps.event.removeListener(Q),K(google.maps.event.addListener(h,"zindex_changed",f)))},[f]),c.useEffect(function(){var G=new google.maps.InfoWindow(ee({},r||{}));return S(G),J.current=document.createElement("div"),s&&y(google.maps.event.addListener(G,"closeclick",s)),a&&v(google.maps.event.addListener(G,"domready",a)),l&&M(google.maps.event.addListener(G,"content_changed",l)),u&&T(google.maps.event.addListener(G,"position_changed",u)),f&&K(google.maps.event.addListener(G,"zindex_changed",f)),G.setContent(J.current),o&&G.setPosition(o),i&&G.setZIndex(i),n?G.open(g,n):G.getPosition()?G.open(g):We(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(G),function(){b&&google.maps.event.removeListener(b),w&&google.maps.event.removeListener(w),E&&google.maps.event.removeListener(E),P&&google.maps.event.removeListener(P),Q&&google.maps.event.removeListener(Q),p&&p(G),G.close()}},[]),J.current?Bn.createPortal(c.Children.only(e),J.current):null}c.memo(Ab);var cf=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoWindow:null},n.open=function(r,o){o?r.open(n.context,o):r.getPosition()?r.open(n.context):We(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},n.setInfoWindowCallback=function(){n.state.infoWindow!==null&&n.containerElement!==null&&(n.state.infoWindow.setContent(n.containerElement),n.open(n.state.infoWindow,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoWindow))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.InfoWindow(ee({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=ge({updaterMap:uf,eventMap:lf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:uf,eventMap:lf,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(me(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?Bn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=de,e}(c.PureComponent),ff={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},df={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},visible:function(t,e){t.setVisible(e)}},Ob={};function Mb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,u=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,p=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,h=t.onClick,S=t.onDrag,C=t.onLoad,b=t.onUnmount,y=c.useContext(de),A=c.useState(null),E=A[0],v=A[1],x=c.useState(null),w=x[0],M=x[1],O=c.useState(null),P=O[0],T=O[1],z=c.useState(null),Q=z[0],K=z[1],J=c.useState(null),G=J[0],W=J[1],D=c.useState(null),k=D[0],I=D[1],H=c.useState(null),F=H[0],V=H[1],te=c.useState(null),j=te[0],ne=te[1],ue=c.useState(null),Z=ue[0],B=ue[1],R=c.useState(null),X=R[0],re=R[1],pe=c.useState(null),oe=pe[0],le=pe[1],Se=c.useState(null),Oe=Se[0],Me=Se[1];return c.useEffect(function(){E!==null&&E.setMap(y)},[y]),c.useEffect(function(){typeof e<"u"&&E!==null&&E.setOptions(e)},[E,e]),c.useEffect(function(){typeof n<"u"&&E!==null&&E.setDraggable(n)},[E,n]),c.useEffect(function(){typeof r<"u"&&E!==null&&E.setEditable(r)},[E,r]),c.useEffect(function(){typeof o<"u"&&E!==null&&E.setVisible(o)},[E,o]),c.useEffect(function(){typeof i<"u"&&E!==null&&E.setPath(i)},[E,i]),c.useEffect(function(){E&&s&&(w!==null&&google.maps.event.removeListener(w),M(google.maps.event.addListener(E,"dblclick",s)))},[s]),c.useEffect(function(){E&&a&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(E,"dragend",a)))},[a]),c.useEffect(function(){E&&l&&(Q!==null&&google.maps.event.removeListener(Q),K(google.maps.event.addListener(E,"dragstart",l)))},[l]),c.useEffect(function(){E&&u&&(G!==null&&google.maps.event.removeListener(G),W(google.maps.event.addListener(E,"mousedown",u)))},[u]),c.useEffect(function(){E&&f&&(k!==null&&google.maps.event.removeListener(k),I(google.maps.event.addListener(E,"mousemove",f)))},[f]),c.useEffect(function(){E&&d&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(E,"mouseout",d)))},[d]),c.useEffect(function(){E&&p&&(j!==null&&google.maps.event.removeListener(j),ne(google.maps.event.addListener(E,"mouseover",p)))},[p]),c.useEffect(function(){E&&g&&(Z!==null&&google.maps.event.removeListener(Z),B(google.maps.event.addListener(E,"mouseup",g)))},[g]),c.useEffect(function(){E&&m&&(X!==null&&google.maps.event.removeListener(X),re(google.maps.event.addListener(E,"rightclick",m)))},[m]),c.useEffect(function(){E&&h&&(oe!==null&&google.maps.event.removeListener(oe),le(google.maps.event.addListener(E,"click",h)))},[h]),c.useEffect(function(){E&&S&&(Oe!==null&&google.maps.event.removeListener(Oe),Me(google.maps.event.addListener(E,"drag",S)))},[S]),c.useEffect(function(){var ae=new google.maps.Polyline(ee(ee({},e||Ob),{map:y}));return i&&ae.setPath(i),typeof o<"u"&&ae.setVisible(o),typeof r<"u"&&ae.setEditable(r),typeof n<"u"&&ae.setDraggable(n),s&&M(google.maps.event.addListener(ae,"dblclick",s)),a&&T(google.maps.event.addListener(ae,"dragend",a)),l&&K(google.maps.event.addListener(ae,"dragstart",l)),u&&W(google.maps.event.addListener(ae,"mousedown",u)),f&&I(google.maps.event.addListener(ae,"mousemove",f)),d&&V(google.maps.event.addListener(ae,"mouseout",d)),p&&ne(google.maps.event.addListener(ae,"mouseover",p)),g&&B(google.maps.event.addListener(ae,"mouseup",g)),m&&re(google.maps.event.addListener(ae,"rightclick",m)),h&&le(google.maps.event.addListener(ae,"click",h)),S&&Me(google.maps.event.addListener(ae,"drag",S)),v(ae),C&&C(ae),function(){w!==null&&google.maps.event.removeListener(w),P!==null&&google.maps.event.removeListener(P),Q!==null&&google.maps.event.removeListener(Q),G!==null&&google.maps.event.removeListener(G),k!==null&&google.maps.event.removeListener(k),F!==null&&google.maps.event.removeListener(F),j!==null&&google.maps.event.removeListener(j),Z!==null&&google.maps.event.removeListener(Z),X!==null&&google.maps.event.removeListener(X),oe!==null&&google.maps.event.removeListener(oe),b&&b(ae),ae.setMap(null)}},[]),null}c.memo(Mb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polyline:null},n.setPolylineCallback=function(){n.state.polyline!==null&&n.props.onLoad&&n.props.onLoad(n.state.polyline)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polyline(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:df,eventMap:ff,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:df,eventMap:ff,prevProps:n,nextProps:this.props,instance:this.state.polyline}))},e.prototype.componentWillUnmount=function(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),me(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var pf={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},hf={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},paths:function(t,e){t.setPaths(e)},visible:function(t,e){t.setVisible(e)}};function Pb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.paths,a=t.onDblClick,l=t.onDragEnd,u=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,p=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,h=t.onRightClick,S=t.onClick,C=t.onDrag,b=t.onLoad,y=t.onUnmount,A=c.useContext(de),E=c.useState(null),v=E[0],x=E[1],w=c.useState(null),M=w[0],O=w[1],P=c.useState(null),T=P[0],z=P[1],Q=c.useState(null),K=Q[0],J=Q[1],G=c.useState(null),W=G[0],D=G[1],k=c.useState(null),I=k[0],H=k[1],F=c.useState(null),V=F[0],te=F[1],j=c.useState(null),ne=j[0],ue=j[1],Z=c.useState(null),B=Z[0],R=Z[1],X=c.useState(null),re=X[0],pe=X[1],oe=c.useState(null),le=oe[0],Se=oe[1],Oe=c.useState(null),Me=Oe[0],ae=Oe[1];return c.useEffect(function(){v!==null&&v.setMap(A)},[A]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setDraggable(n)},[v,n]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setEditable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setVisible(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setPath(i)},[v,i]),c.useEffect(function(){typeof s<"u"&&v!==null&&v.setPaths(s)},[v,s]),c.useEffect(function(){v&&a&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(v,"dblclick",a)))},[a]),c.useEffect(function(){v&&l&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(v,"dragend",l)))},[l]),c.useEffect(function(){v&&u&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(v,"dragstart",u)))},[u]),c.useEffect(function(){v&&f&&(W!==null&&google.maps.event.removeListener(W),D(google.maps.event.addListener(v,"mousedown",f)))},[f]),c.useEffect(function(){v&&d&&(I!==null&&google.maps.event.removeListener(I),H(google.maps.event.addListener(v,"mousemove",d)))},[d]),c.useEffect(function(){v&&p&&(V!==null&&google.maps.event.removeListener(V),te(google.maps.event.addListener(v,"mouseout",p)))},[p]),c.useEffect(function(){v&&g&&(ne!==null&&google.maps.event.removeListener(ne),ue(google.maps.event.addListener(v,"mouseover",g)))},[g]),c.useEffect(function(){v&&m&&(B!==null&&google.maps.event.removeListener(B),R(google.maps.event.addListener(v,"mouseup",m)))},[m]),c.useEffect(function(){v&&h&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(v,"rightclick",h)))},[h]),c.useEffect(function(){v&&S&&(le!==null&&google.maps.event.removeListener(le),Se(google.maps.event.addListener(v,"click",S)))},[S]),c.useEffect(function(){v&&C&&(Me!==null&&google.maps.event.removeListener(Me),ae(google.maps.event.addListener(v,"drag",C)))},[C]),c.useEffect(function(){var ce=new google.maps.Polygon(ee(ee({},e||{}),{map:A}));return i&&ce.setPath(i),s&&ce.setPaths(s),typeof o<"u"&&ce.setVisible(o),typeof r<"u"&&ce.setEditable(r),typeof n<"u"&&ce.setDraggable(n),a&&O(google.maps.event.addListener(ce,"dblclick",a)),l&&z(google.maps.event.addListener(ce,"dragend",l)),u&&J(google.maps.event.addListener(ce,"dragstart",u)),f&&D(google.maps.event.addListener(ce,"mousedown",f)),d&&H(google.maps.event.addListener(ce,"mousemove",d)),p&&te(google.maps.event.addListener(ce,"mouseout",p)),g&&ue(google.maps.event.addListener(ce,"mouseover",g)),m&&R(google.maps.event.addListener(ce,"mouseup",m)),h&&pe(google.maps.event.addListener(ce,"rightclick",h)),S&&Se(google.maps.event.addListener(ce,"click",S)),C&&ae(google.maps.event.addListener(ce,"drag",C)),x(ce),b&&b(ce),function(){M!==null&&google.maps.event.removeListener(M),T!==null&&google.maps.event.removeListener(T),K!==null&&google.maps.event.removeListener(K),W!==null&&google.maps.event.removeListener(W),I!==null&&google.maps.event.removeListener(I),V!==null&&google.maps.event.removeListener(V),ne!==null&&google.maps.event.removeListener(ne),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),le!==null&&google.maps.event.removeListener(le),y&&y(ce),ce.setMap(null)}},[]),null}c.memo(Pb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polygon:null},n.setPolygonCallback=function(){n.state.polygon!==null&&n.props.onLoad&&n.props.onLoad(n.state.polygon)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polygon(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:hf,eventMap:pf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:hf,eventMap:pf,prevProps:n,nextProps:this.props,instance:this.state.polygon}))},e.prototype.componentWillUnmount=function(){this.state.polygon!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),me(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var gf={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"},vf={bounds:function(t,e){t.setBounds(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},visible:function(t,e){t.setVisible(e)}};function kb(t){var e=t.options,n=t.bounds,r=t.draggable,o=t.editable,i=t.visible,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,u=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,p=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,h=t.onClick,S=t.onDrag,C=t.onBoundsChanged,b=t.onLoad,y=t.onUnmount,A=c.useContext(de),E=c.useState(null),v=E[0],x=E[1],w=c.useState(null),M=w[0],O=w[1],P=c.useState(null),T=P[0],z=P[1],Q=c.useState(null),K=Q[0],J=Q[1],G=c.useState(null),W=G[0],D=G[1],k=c.useState(null),I=k[0],H=k[1],F=c.useState(null),V=F[0],te=F[1],j=c.useState(null),ne=j[0],ue=j[1],Z=c.useState(null),B=Z[0],R=Z[1],X=c.useState(null),re=X[0],pe=X[1],oe=c.useState(null),le=oe[0],Se=oe[1],Oe=c.useState(null),Me=Oe[0],ae=Oe[1],ce=c.useState(null),Ge=ce[0],Je=ce[1];return c.useEffect(function(){v!==null&&v.setMap(A)},[A]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setDraggable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setEditable(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setVisible(i)},[v,i]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setBounds(n)},[v,n]),c.useEffect(function(){v&&s&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(v,"dblclick",s)))},[s]),c.useEffect(function(){v&&a&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(v,"dragend",a)))},[a]),c.useEffect(function(){v&&l&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(v,"dragstart",l)))},[l]),c.useEffect(function(){v&&u&&(W!==null&&google.maps.event.removeListener(W),D(google.maps.event.addListener(v,"mousedown",u)))},[u]),c.useEffect(function(){v&&f&&(I!==null&&google.maps.event.removeListener(I),H(google.maps.event.addListener(v,"mousemove",f)))},[f]),c.useEffect(function(){v&&d&&(V!==null&&google.maps.event.removeListener(V),te(google.maps.event.addListener(v,"mouseout",d)))},[d]),c.useEffect(function(){v&&p&&(ne!==null&&google.maps.event.removeListener(ne),ue(google.maps.event.addListener(v,"mouseover",p)))},[p]),c.useEffect(function(){v&&g&&(B!==null&&google.maps.event.removeListener(B),R(google.maps.event.addListener(v,"mouseup",g)))},[g]),c.useEffect(function(){v&&m&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(v,"rightclick",m)))},[m]),c.useEffect(function(){v&&h&&(le!==null&&google.maps.event.removeListener(le),Se(google.maps.event.addListener(v,"click",h)))},[h]),c.useEffect(function(){v&&S&&(Me!==null&&google.maps.event.removeListener(Me),ae(google.maps.event.addListener(v,"drag",S)))},[S]),c.useEffect(function(){v&&C&&(Ge!==null&&google.maps.event.removeListener(Ge),Je(google.maps.event.addListener(v,"bounds_changed",C)))},[C]),c.useEffect(function(){var _=new google.maps.Rectangle(ee(ee({},e||{}),{map:A}));return typeof i<"u"&&_.setVisible(i),typeof o<"u"&&_.setEditable(o),typeof r<"u"&&_.setDraggable(r),typeof n<"u"&&_.setBounds(n),s&&O(google.maps.event.addListener(_,"dblclick",s)),a&&z(google.maps.event.addListener(_,"dragend",a)),l&&J(google.maps.event.addListener(_,"dragstart",l)),u&&D(google.maps.event.addListener(_,"mousedown",u)),f&&H(google.maps.event.addListener(_,"mousemove",f)),d&&te(google.maps.event.addListener(_,"mouseout",d)),p&&ue(google.maps.event.addListener(_,"mouseover",p)),g&&R(google.maps.event.addListener(_,"mouseup",g)),m&&pe(google.maps.event.addListener(_,"rightclick",m)),h&&Se(google.maps.event.addListener(_,"click",h)),S&&ae(google.maps.event.addListener(_,"drag",S)),C&&Je(google.maps.event.addListener(_,"bounds_changed",C)),x(_),b&&b(_),function(){M!==null&&google.maps.event.removeListener(M),T!==null&&google.maps.event.removeListener(T),K!==null&&google.maps.event.removeListener(K),W!==null&&google.maps.event.removeListener(W),I!==null&&google.maps.event.removeListener(I),V!==null&&google.maps.event.removeListener(V),ne!==null&&google.maps.event.removeListener(ne),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),le!==null&&google.maps.event.removeListener(le),Me!==null&&google.maps.event.removeListener(Me),Ge!==null&&google.maps.event.removeListener(Ge),y&&y(_),_.setMap(null)}},[]),null}c.memo(kb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={rectangle:null},n.setRectangleCallback=function(){n.state.rectangle!==null&&n.props.onLoad&&n.props.onLoad(n.state.rectangle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Rectangle(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:vf,eventMap:gf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:vf,eventMap:gf,prevProps:n,nextProps:this.props,instance:this.state.rectangle}))},e.prototype.componentWillUnmount=function(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),me(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var mf={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},yf={center:function(t,e){t.setCenter(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},radius:function(t,e){t.setRadius(e)},visible:function(t,e){t.setVisible(e)}},Ib={};function Db(t){var e=t.options,n=t.center,r=t.radius,o=t.draggable,i=t.editable,s=t.visible,a=t.onDblClick,l=t.onDragEnd,u=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,p=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,h=t.onRightClick,S=t.onClick,C=t.onDrag,b=t.onCenterChanged,y=t.onRadiusChanged,A=t.onLoad,E=t.onUnmount,v=c.useContext(de),x=c.useState(null),w=x[0],M=x[1],O=c.useState(null),P=O[0],T=O[1],z=c.useState(null),Q=z[0],K=z[1],J=c.useState(null),G=J[0],W=J[1],D=c.useState(null),k=D[0],I=D[1],H=c.useState(null),F=H[0],V=H[1],te=c.useState(null),j=te[0],ne=te[1],ue=c.useState(null),Z=ue[0],B=ue[1],R=c.useState(null),X=R[0],re=R[1],pe=c.useState(null),oe=pe[0],le=pe[1],Se=c.useState(null),Oe=Se[0],Me=Se[1],ae=c.useState(null),ce=ae[0],Ge=ae[1],Je=c.useState(null),_=Je[0],Ve=Je[1],Ue=c.useState(null),dt=Ue[0],st=Ue[1];return c.useEffect(function(){w!==null&&w.setMap(v)},[v]),c.useEffect(function(){typeof e<"u"&&w!==null&&w.setOptions(e)},[w,e]),c.useEffect(function(){typeof o<"u"&&w!==null&&w.setDraggable(o)},[w,o]),c.useEffect(function(){typeof i<"u"&&w!==null&&w.setEditable(i)},[w,i]),c.useEffect(function(){typeof s<"u"&&w!==null&&w.setVisible(s)},[w,s]),c.useEffect(function(){typeof r=="number"&&w!==null&&w.setRadius(r)},[w,r]),c.useEffect(function(){typeof n<"u"&&w!==null&&w.setCenter(n)},[w,n]),c.useEffect(function(){w&&a&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(w,"dblclick",a)))},[a]),c.useEffect(function(){w&&l&&(Q!==null&&google.maps.event.removeListener(Q),K(google.maps.event.addListener(w,"dragend",l)))},[l]),c.useEffect(function(){w&&u&&(G!==null&&google.maps.event.removeListener(G),W(google.maps.event.addListener(w,"dragstart",u)))},[u]),c.useEffect(function(){w&&f&&(k!==null&&google.maps.event.removeListener(k),I(google.maps.event.addListener(w,"mousedown",f)))},[f]),c.useEffect(function(){w&&d&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(w,"mousemove",d)))},[d]),c.useEffect(function(){w&&p&&(j!==null&&google.maps.event.removeListener(j),ne(google.maps.event.addListener(w,"mouseout",p)))},[p]),c.useEffect(function(){w&&g&&(Z!==null&&google.maps.event.removeListener(Z),B(google.maps.event.addListener(w,"mouseover",g)))},[g]),c.useEffect(function(){w&&m&&(X!==null&&google.maps.event.removeListener(X),re(google.maps.event.addListener(w,"mouseup",m)))},[m]),c.useEffect(function(){w&&h&&(oe!==null&&google.maps.event.removeListener(oe),le(google.maps.event.addListener(w,"rightclick",h)))},[h]),c.useEffect(function(){w&&S&&(Oe!==null&&google.maps.event.removeListener(Oe),Me(google.maps.event.addListener(w,"click",S)))},[S]),c.useEffect(function(){w&&C&&(ce!==null&&google.maps.event.removeListener(ce),Ge(google.maps.event.addListener(w,"drag",C)))},[C]),c.useEffect(function(){w&&b&&(_!==null&&google.maps.event.removeListener(_),Ve(google.maps.event.addListener(w,"center_changed",b)))},[S]),c.useEffect(function(){w&&y&&(dt!==null&&google.maps.event.removeListener(dt),st(google.maps.event.addListener(w,"radius_changed",y)))},[y]),c.useEffect(function(){var fe=new google.maps.Circle(ee(ee({},e||Ib),{map:v}));return typeof r=="number"&&fe.setRadius(r),typeof n<"u"&&fe.setCenter(n),typeof r=="number"&&fe.setRadius(r),typeof s<"u"&&fe.setVisible(s),typeof i<"u"&&fe.setEditable(i),typeof o<"u"&&fe.setDraggable(o),a&&T(google.maps.event.addListener(fe,"dblclick",a)),l&&K(google.maps.event.addListener(fe,"dragend",l)),u&&W(google.maps.event.addListener(fe,"dragstart",u)),f&&I(google.maps.event.addListener(fe,"mousedown",f)),d&&V(google.maps.event.addListener(fe,"mousemove",d)),p&&ne(google.maps.event.addListener(fe,"mouseout",p)),g&&B(google.maps.event.addListener(fe,"mouseover",g)),m&&re(google.maps.event.addListener(fe,"mouseup",m)),h&&le(google.maps.event.addListener(fe,"rightclick",h)),S&&Me(google.maps.event.addListener(fe,"click",S)),C&&Ge(google.maps.event.addListener(fe,"drag",C)),b&&Ve(google.maps.event.addListener(fe,"center_changed",b)),y&&st(google.maps.event.addListener(fe,"radius_changed",y)),M(fe),A&&A(fe),function(){P!==null&&google.maps.event.removeListener(P),Q!==null&&google.maps.event.removeListener(Q),G!==null&&google.maps.event.removeListener(G),k!==null&&google.maps.event.removeListener(k),F!==null&&google.maps.event.removeListener(F),j!==null&&google.maps.event.removeListener(j),Z!==null&&google.maps.event.removeListener(Z),X!==null&&google.maps.event.removeListener(X),oe!==null&&google.maps.event.removeListener(oe),Oe!==null&&google.maps.event.removeListener(Oe),_!==null&&google.maps.event.removeListener(_),dt!==null&&google.maps.event.removeListener(dt),E&&E(fe),fe.setMap(null)}},[]),null}c.memo(Db),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={circle:null},n.setCircleCallback=function(){n.state.circle!==null&&n.props.onLoad&&n.props.onLoad(n.state.circle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Circle(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:yf,eventMap:mf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:yf,eventMap:mf,prevProps:n,nextProps:this.props,instance:this.state.circle}))},e.prototype.componentWillUnmount=function(){var n;this.state.circle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),me(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var bf={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},Ef={add:function(t,e){t.add(e)},addgeojson:function(t,e,n){t.addGeoJson(e,n)},contains:function(t,e){t.contains(e)},foreach:function(t,e){t.forEach(e)},loadgeojson:function(t,e,n,r){t.loadGeoJson(e,n,r)},overridestyle:function(t,e,n){t.overrideStyle(e,n)},remove:function(t,e){t.remove(e)},revertstyle:function(t,e){t.revertStyle(e)},controlposition:function(t,e){t.setControlPosition(e)},controls:function(t,e){t.setControls(e)},drawingmode:function(t,e){t.setDrawingMode(e)},map:function(t,e){t.setMap(e)},style:function(t,e){t.setStyle(e)},togeojson:function(t,e){t.toGeoJson(e)}};function Tb(t){var e=t.options,n=t.onClick,r=t.onDblClick,o=t.onMouseDown,i=t.onMouseMove,s=t.onMouseOut,a=t.onMouseOver,l=t.onMouseUp,u=t.onRightClick,f=t.onAddFeature,d=t.onRemoveFeature,p=t.onRemoveProperty,g=t.onSetGeometry,m=t.onSetProperty,h=t.onLoad,S=t.onUnmount,C=c.useContext(de),b=c.useState(null),y=b[0],A=b[1],E=c.useState(null),v=E[0],x=E[1],w=c.useState(null),M=w[0],O=w[1],P=c.useState(null),T=P[0],z=P[1],Q=c.useState(null),K=Q[0],J=Q[1],G=c.useState(null),W=G[0],D=G[1],k=c.useState(null),I=k[0],H=k[1],F=c.useState(null),V=F[0],te=F[1],j=c.useState(null),ne=j[0],ue=j[1],Z=c.useState(null),B=Z[0],R=Z[1],X=c.useState(null),re=X[0],pe=X[1],oe=c.useState(null),le=oe[0],Se=oe[1],Oe=c.useState(null),Me=Oe[0],ae=Oe[1],ce=c.useState(null),Ge=ce[0],Je=ce[1];return c.useEffect(function(){y!==null&&y.setMap(C)},[C]),c.useEffect(function(){y&&r&&(v!==null&&google.maps.event.removeListener(v),x(google.maps.event.addListener(y,"dblclick",r)))},[r]),c.useEffect(function(){y&&o&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(y,"mousedown",o)))},[o]),c.useEffect(function(){y&&i&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(y,"mousemove",i)))},[i]),c.useEffect(function(){y&&s&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(y,"mouseout",s)))},[s]),c.useEffect(function(){y&&a&&(W!==null&&google.maps.event.removeListener(W),D(google.maps.event.addListener(y,"mouseover",a)))},[a]),c.useEffect(function(){y&&l&&(I!==null&&google.maps.event.removeListener(I),H(google.maps.event.addListener(y,"mouseup",l)))},[l]),c.useEffect(function(){y&&u&&(V!==null&&google.maps.event.removeListener(V),te(google.maps.event.addListener(y,"rightclick",u)))},[u]),c.useEffect(function(){y&&n&&(ne!==null&&google.maps.event.removeListener(ne),ue(google.maps.event.addListener(y,"click",n)))},[n]),c.useEffect(function(){y&&f&&(B!==null&&google.maps.event.removeListener(B),R(google.maps.event.addListener(y,"addfeature",f)))},[f]),c.useEffect(function(){y&&d&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(y,"removefeature",d)))},[d]),c.useEffect(function(){y&&p&&(le!==null&&google.maps.event.removeListener(le),Se(google.maps.event.addListener(y,"removeproperty",p)))},[p]),c.useEffect(function(){y&&g&&(Me!==null&&google.maps.event.removeListener(Me),ae(google.maps.event.addListener(y,"setgeometry",g)))},[g]),c.useEffect(function(){y&&m&&(Ge!==null&&google.maps.event.removeListener(Ge),Je(google.maps.event.addListener(y,"setproperty",m)))},[m]),c.useEffect(function(){if(C!==null){var _=new google.maps.Data(ee(ee({},e||{}),{map:C}));r&&x(google.maps.event.addListener(_,"dblclick",r)),o&&O(google.maps.event.addListener(_,"mousedown",o)),i&&z(google.maps.event.addListener(_,"mousemove",i)),s&&J(google.maps.event.addListener(_,"mouseout",s)),a&&D(google.maps.event.addListener(_,"mouseover",a)),l&&H(google.maps.event.addListener(_,"mouseup",l)),u&&te(google.maps.event.addListener(_,"rightclick",u)),n&&ue(google.maps.event.addListener(_,"click",n)),f&&R(google.maps.event.addListener(_,"addfeature",f)),d&&pe(google.maps.event.addListener(_,"removefeature",d)),p&&Se(google.maps.event.addListener(_,"removeproperty",p)),g&&ae(google.maps.event.addListener(_,"setgeometry",g)),m&&Je(google.maps.event.addListener(_,"setproperty",m)),A(_),h&&h(_)}return function(){y&&(v!==null&&google.maps.event.removeListener(v),M!==null&&google.maps.event.removeListener(M),T!==null&&google.maps.event.removeListener(T),K!==null&&google.maps.event.removeListener(K),W!==null&&google.maps.event.removeListener(W),I!==null&&google.maps.event.removeListener(I),V!==null&&google.maps.event.removeListener(V),ne!==null&&google.maps.event.removeListener(ne),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),le!==null&&google.maps.event.removeListener(le),Me!==null&&google.maps.event.removeListener(Me),Ge!==null&&google.maps.event.removeListener(Ge),S&&S(y),y.setMap(null))}},[]),null}c.memo(Tb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={data:null},n.setDataCallback=function(){n.state.data!==null&&n.props.onLoad&&n.props.onLoad(n.state.data)},n}return e.prototype.componentDidMount=function(){if(this.context!==null){var n=new google.maps.Data(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=ge({updaterMap:Ef,eventMap:bf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Ef,eventMap:bf,prevProps:n,nextProps:this.props,instance:this.state.data}))},e.prototype.componentWillUnmount=function(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),me(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var wf={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},Cf={options:function(t,e){t.setOptions(e)},url:function(t,e){t.setUrl(e)},zIndex:function(t,e){t.setZIndex(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={kmlLayer:null},n.setKmlLayerCallback=function(){n.state.kmlLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.kmlLayer)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.KmlLayer(ee(ee({},this.props.options),{map:this.context}));this.registeredEvents=ge({updaterMap:Cf,eventMap:wf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Cf,eventMap:wf,prevProps:n,nextProps:this.props,instance:this.state.kmlLayer}))},e.prototype.componentWillUnmount=function(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),me(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e})(c.PureComponent);function Sf(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Bb(t,e){return new e(t.lat,t.lng)}function Nb(t,e){return new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng))}function jb(t,e,n){return t instanceof e?t:n(t,e)}function Ub(t,e,n){return t instanceof e?t:n(t,e)}function Hb(t,e,n){var r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),o=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:"".concat(o.x+e.x,"px"),top:"".concat(r.y+e.y,"px"),width:"".concat(r.x-o.x-e.x,"px"),height:"".concat(o.y-r.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function zb(t,e,n){var r=t&&t.fromLatLngToDivPixel(n);if(r){var o=r.x,i=r.y;return{left:"".concat(o+e.x,"px"),top:"".concat(i+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function Lf(t,e,n,r){return n!==void 0?Hb(t,e,Ub(n,google.maps.LatLngBounds,Nb)):zb(t,e,jb(r,google.maps.LatLng,Bb))}function Fb(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function Gb(t,e,n,r,o){var i=function(s){je(a,s);function a(l,u,f,d){var p=s.call(this)||this;return p.container=l,p.pane=u,p.position=f,p.bounds=d,p}return a.prototype.onAdd=function(){var l,u=(l=this.getPanes())===null||l===void 0?void 0:l[this.pane];u==null||u.appendChild(this.container)},a.prototype.draw=function(){for(var l=this.getProjection(),u=ee({},this.container?Sf(this.container,o):{x:0,y:0}),f=Lf(l,u,this.bounds,this.position),d=0,p=Object.entries(f);d<p.length;d++){var g=p[d],m=g[0],h=g[1];this.container.style[m]=h}},a.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},a}(google.maps.OverlayView);return new i(t,e,n,r)}function xf(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function Af(t){if(!t)return"";var e=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));return e+""}function Vb(t){var e=t.position,n=t.bounds,r=t.mapPaneName,o=t.zIndex,i=t.onLoad,s=t.onUnmount,a=t.getPixelPositionOffset,l=t.children,u=c.useContext(de),f=c.useMemo(function(){var p=document.createElement("div");return p.style.position="absolute",p},[]),d=c.useMemo(function(){return Gb(f,r,e,n,a)},[f,r,e,n]);return c.useEffect(function(){return i==null||i(d),d==null||d.setMap(u),function(){s==null||s(d),d==null||d.setMap(null)}},[u,d]),c.useEffect(function(){f.style.zIndex="".concat(o)},[o,f]),La.createPortal(l,f)}c.memo(Vb),function(t){je(e,t);function e(n){var r=t.call(this,n)||this;r.state={paneEl:null,containerStyle:{position:"absolute"}},r.updatePane=function(){var i=r.props.mapPaneName,s=r.overlayView.getPanes();We(!!i,"OverlayView requires props.mapPaneName but got %s",i),s?r.setState({paneEl:s[i]}):r.setState({paneEl:null})},r.onAdd=function(){var i,s;r.updatePane(),(s=(i=r.props).onLoad)===null||s===void 0||s.call(i,r.overlayView)},r.onPositionElement=function(){var i,s=r.overlayView.getProjection(),a=ee({x:0,y:0},r.containerRef.current?Sf(r.containerRef.current,r.props.getPixelPositionOffset):{}),l=Lf(s,a,r.props.bounds,r.props.position),u=(i=r.state.containerStyle,i.left),f=i.top,d=i.width,p=i.height;Fb(l,{left:u,top:f,width:d,height:p})||r.setState({containerStyle:{top:l.top||0,left:l.left||0,width:l.width||0,height:l.height||0,position:"absolute"}})},r.draw=function(){r.onPositionElement()},r.onRemove=function(){var i,s;r.setState(function(){return{paneEl:null}}),(s=(i=r.props).onUnmount)===null||s===void 0||s.call(i,r.overlayView)},r.containerRef=c.createRef();var o=new google.maps.OverlayView;return o.onAdd=r.onAdd,o.draw=r.draw,o.onRemove=r.onRemove,r.overlayView=o,r}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var r=xf(n.position),o=xf(this.props.position),i=Af(n.bounds),s=Af(this.props.bounds);(r!==o||i!==s)&&this.overlayView.draw(),n.mapPaneName!==this.props.mapPaneName&&this.updatePane()},e.prototype.componentWillUnmount=function(){this.overlayView.setMap(null)},e.prototype.render=function(){var n=this.state.paneEl;return n?La.createPortal(L.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:c.Children.only(this.props.children)}),n):null},e.FLOAT_PANE="floatPane",e.MAP_PANE="mapPane",e.MARKER_LAYER="markerLayer",e.OVERLAY_LAYER="overlayLayer",e.OVERLAY_MOUSE_TARGET="overlayMouseTarget",e.contextType=de,e}(c.PureComponent);function Qb(){}var Of={onDblClick:"dblclick",onClick:"click"},Mf={opacity:function(t,e){t.setOpacity(e)}};function Yb(t){var e=t.url,n=t.bounds,r=t.options,o=t.visible,i=c.useContext(de),s=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),a=c.useMemo(function(){var l=new google.maps.GroundOverlay(e,s,ee({},r));return l},[]);return c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){typeof e<"u"&&a!==null&&(a.set("url",e),a.setMap(i))},[a,e]),c.useEffect(function(){typeof o<"u"&&a!==null&&a.setOpacity(o?1:0)},[a,o]),c.useEffect(function(){var l=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));typeof n<"u"&&a!==null&&(a.set("bounds",l),a.setMap(i))},[a,n]),null}c.memo(Yb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={groundOverlay:null},n.setGroundOverlayCallback=function(){n.state.groundOverlay!==null&&n.props.onLoad&&n.props.onLoad(n.state.groundOverlay)},n}return e.prototype.componentDidMount=function(){We(!!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");var n=new google.maps.GroundOverlay(this.props.url,this.props.bounds,ee(ee({},this.props.options),{map:this.context}));this.registeredEvents=ge({updaterMap:Mf,eventMap:Of,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Mf,eventMap:Of,prevProps:n,nextProps:this.props,instance:this.state.groundOverlay}))},e.prototype.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},e.prototype.render=function(){return null},e.defaultProps={onLoad:Qb},e.contextType=de,e}(c.PureComponent);var Pf={},kf={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function Wb(t){var e=t.data,n=t.onLoad,r=t.onUnmount,o=t.options,i=c.useContext(de),s=c.useState(null),a=s[0],l=s[1];return c.useEffect(function(){google.maps.visualization||We(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),c.useEffect(function(){We(!!e,"data property is required in HeatmapLayer %s",e)},[e]),c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){o&&a!==null&&a.setOptions(o)},[a,o]),c.useEffect(function(){var u=new google.maps.visualization.HeatmapLayer(ee(ee({},o||{}),{data:e,map:i}));return l(u),n&&n(u),function(){a!==null&&(r&&r(a),a.setMap(null))}},[]),null}c.memo(Wb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={heatmapLayer:null},n.setHeatmapLayerCallback=function(){n.state.heatmapLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.heatmapLayer)},n}return e.prototype.componentDidMount=function(){We(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),We(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer(ee(ee({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=ge({updaterMap:kf,eventMap:Pf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){me(this.registeredEvents),this.registeredEvents=ge({updaterMap:kf,eventMap:Pf,prevProps:n,nextProps:this.props,instance:this.state.heatmapLayer})},e.prototype.componentWillUnmount=function(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),me(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent);var If={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Df={register:function(t,e,n){t.registerPanoProvider(e,n)},links:function(t,e){t.setLinks(e)},motionTracking:function(t,e){t.setMotionTracking(e)},options:function(t,e){t.setOptions(e)},pano:function(t,e){t.setPano(e)},position:function(t,e){t.setPosition(e)},pov:function(t,e){t.setPov(e)},visible:function(t,e){t.setVisible(e)},zoom:function(t,e){t.setZoom(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={streetViewPanorama:null},n.setStreetViewPanoramaCallback=function(){n.state.streetViewPanorama!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewPanorama)},n}return e.prototype.componentDidMount=function(){var n,r,o=(r=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&r!==void 0?r:null;this.registeredEvents=ge({updaterMap:Df,eventMap:If,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{streetViewPanorama:o}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Df,eventMap:If,prevProps:n,nextProps:this.props,instance:this.state.streetViewPanorama}))},e.prototype.componentWillUnmount=function(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),me(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=de,e})(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={streetViewService:null},n.setStreetViewServiceCallback=function(){n.state.streetViewService!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewService)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:n}},this.setStreetViewServiceCallback)},e.prototype.componentWillUnmount=function(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},e.prototype.render=function(){return null},e.contextType=de,e}(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={directionsService:null},n.setDirectionsServiceCallback=function(){n.state.directionsService!==null&&n.props.onLoad&&n.props.onLoad(n.state.directionsService)},n}return e.prototype.componentDidMount=function(){We(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);var n=new google.maps.DirectionsService;this.setState(function(){return{directionsService:n}},this.setDirectionsServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.directionsService!==null&&this.state.directionsService.route(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.directionsService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)},e.prototype.render=function(){return null},e}(c.PureComponent);var Tf={onDirectionsChanged:"directions_changed"},Bf={directions:function(t,e){t.setDirections(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},panel:function(t,e){t.setPanel(e)},routeIndex:function(t,e){t.setRouteIndex(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={directionsRenderer:null},n.setDirectionsRendererCallback=function(){n.state.directionsRenderer!==null&&(n.state.directionsRenderer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.directionsRenderer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=ge({updaterMap:Bf,eventMap:Tf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Bf,eventMap:Tf,prevProps:n,nextProps:this.props,instance:this.state.directionsRenderer}))},e.prototype.componentWillUnmount=function(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),me(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return L.jsx(L.Fragment,{})},e.contextType=de,e})(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={distanceMatrixService:null},n.setDistanceMatrixServiceCallback=function(){n.state.distanceMatrixService!==null&&n.props.onLoad&&n.props.onLoad(n.state.distanceMatrixService)},n}return e.prototype.componentDidMount=function(){We(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);var n=new google.maps.DistanceMatrixService;this.setState(function(){return{distanceMatrixService:n}},this.setDistanceMatrixServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.distanceMatrixService!==null&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.distanceMatrixService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)},e.prototype.render=function(){return null},e}(c.PureComponent);var Nf={onPlacesChanged:"places_changed"},jf={bounds:function(t,e){t.setBounds(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=c.createRef(),n.state={searchBox:null},n.setSearchBoxCallback=function(){n.state.searchBox!==null&&n.props.onLoad&&n.props.onLoad(n.state.searchBox)},n}return e.prototype.componentDidMount=function(){if(We(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){var n=this.containerElement.current.querySelector("input");if(n!==null){var r=new google.maps.places.SearchBox(n,this.props.options);this.registeredEvents=ge({updaterMap:jf,eventMap:Nf,prevProps:{},nextProps:this.props,instance:r}),this.setState(function(){return{searchBox:r}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(me(this.registeredEvents),this.registeredEvents=ge({updaterMap:jf,eventMap:Nf,prevProps:n,nextProps:this.props,instance:this.state.searchBox}))},e.prototype.componentWillUnmount=function(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),me(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,children:c.Children.only(this.props.children)})},e.contextType=de,e})(c.PureComponent);var Uf={onPlaceChanged:"place_changed"},Hf={bounds:function(t,e){t.setBounds(e)},restrictions:function(t,e){t.setComponentRestrictions(e)},fields:function(t,e){t.setFields(e)},options:function(t,e){t.setOptions(e)},types:function(t,e){t.setTypes(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=c.createRef(),n.state={autocomplete:null},n.setAutocompleteCallback=function(){n.state.autocomplete!==null&&n.props.onLoad&&n.props.onLoad(n.state.autocomplete)},n}return e.prototype.componentDidMount=function(){var n;We(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var r=(n=this.containerElement.current)===null||n===void 0?void 0:n.querySelector("input");if(r){var o=new google.maps.places.Autocomplete(r,this.props.options);this.registeredEvents=ge({updaterMap:Hf,eventMap:Uf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{autocomplete:o}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){me(this.registeredEvents),this.registeredEvents=ge({updaterMap:Hf,eventMap:Uf,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&me(this.registeredEvents)},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,className:this.props.className,children:c.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=de,e})(c.PureComponent);const Kb={location:null,hook:null},Wt=Xt()(t=>({...Kb,setSelectedPoint(e){t({location:e})},setSelectPointHook(e){t({hook:e})}})),Rb={root:"Overlay-module__root__y8tkGi"},vi=({children:t,className:e})=>L.jsx("div",{className:ke(Rb.root,e),children:t}),qb={loader:"Spinner-module__loader__HX--ed"},mi=()=>L.jsx("div",{className:qb.loader,children:"Loading..."});var zf={},Ff={exports:{}};(function(t){var e=function(n){var r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(D,k,I){D[k]=I.value},s,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(D,k,I){return Object.defineProperty(D,k,{value:I,enumerable:!0,configurable:!0,writable:!0}),D[k]}try{d({},"")}catch{d=function(k,I,H){return k[I]=H}}function p(D,k,I,H){var F=k&&k.prototype instanceof y?k:y,V=Object.create(F.prototype),te=new J(H||[]);return i(V,"_invoke",{value:T(D,I,te)}),V}n.wrap=p;function g(D,k,I){try{return{type:"normal",arg:D.call(k,I)}}catch(H){return{type:"throw",arg:H}}}var m="suspendedStart",h="suspendedYield",S="executing",C="completed",b={};function y(){}function A(){}function E(){}var v={};d(v,l,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(G([])));w&&w!==r&&o.call(w,l)&&(v=w);var M=E.prototype=y.prototype=Object.create(v);A.prototype=E,i(M,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:A,configurable:!0}),A.displayName=d(E,f,"GeneratorFunction");function O(D){["next","throw","return"].forEach(function(k){d(D,k,function(I){return this._invoke(k,I)})})}n.isGeneratorFunction=function(D){var k=typeof D=="function"&&D.constructor;return k?k===A||(k.displayName||k.name)==="GeneratorFunction":!1},n.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,E):(D.__proto__=E,d(D,f,"GeneratorFunction")),D.prototype=Object.create(M),D},n.awrap=function(D){return{__await:D}};function P(D,k){function I(V,te,j,ne){var ue=g(D[V],D,te);if(ue.type==="throw")ne(ue.arg);else{var Z=ue.arg,B=Z.value;return B&&typeof B=="object"&&o.call(B,"__await")?k.resolve(B.__await).then(function(R){I("next",R,j,ne)},function(R){I("throw",R,j,ne)}):k.resolve(B).then(function(R){Z.value=R,j(Z)},function(R){return I("throw",R,j,ne)})}}var H;function F(V,te){function j(){return new k(function(ne,ue){I(V,te,ne,ue)})}return H=H?H.then(j,j):j()}i(this,"_invoke",{value:F})}O(P.prototype),d(P.prototype,u,function(){return this}),n.AsyncIterator=P,n.async=function(D,k,I,H,F){F===void 0&&(F=Promise);var V=new P(p(D,k,I,H),F);return n.isGeneratorFunction(k)?V:V.next().then(function(te){return te.done?te.value:V.next()})};function T(D,k,I){var H=m;return function(V,te){if(H===S)throw new Error("Generator is already running");if(H===C){if(V==="throw")throw te;return W()}for(I.method=V,I.arg=te;;){var j=I.delegate;if(j){var ne=z(j,I);if(ne){if(ne===b)continue;return ne}}if(I.method==="next")I.sent=I._sent=I.arg;else if(I.method==="throw"){if(H===m)throw H=C,I.arg;I.dispatchException(I.arg)}else I.method==="return"&&I.abrupt("return",I.arg);H=S;var ue=g(D,k,I);if(ue.type==="normal"){if(H=I.done?C:h,ue.arg===b)continue;return{value:ue.arg,done:I.done}}else ue.type==="throw"&&(H=C,I.method="throw",I.arg=ue.arg)}}}function z(D,k){var I=k.method,H=D.iterator[I];if(H===s)return k.delegate=null,I==="throw"&&D.iterator.return&&(k.method="return",k.arg=s,z(D,k),k.method==="throw")||I!=="return"&&(k.method="throw",k.arg=new TypeError("The iterator does not provide a '"+I+"' method")),b;var F=g(H,D.iterator,k.arg);if(F.type==="throw")return k.method="throw",k.arg=F.arg,k.delegate=null,b;var V=F.arg;if(!V)return k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,b;if(V.done)k[D.resultName]=V.value,k.next=D.nextLoc,k.method!=="return"&&(k.method="next",k.arg=s);else return V;return k.delegate=null,b}O(M),d(M,f,"Generator"),d(M,l,function(){return this}),d(M,"toString",function(){return"[object Generator]"});function Q(D){var k={tryLoc:D[0]};1 in D&&(k.catchLoc=D[1]),2 in D&&(k.finallyLoc=D[2],k.afterLoc=D[3]),this.tryEntries.push(k)}function K(D){var k=D.completion||{};k.type="normal",delete k.arg,D.completion=k}function J(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(Q,this),this.reset(!0)}n.keys=function(D){var k=Object(D),I=[];for(var H in k)I.push(H);return I.reverse(),function F(){for(;I.length;){var V=I.pop();if(V in k)return F.value=V,F.done=!1,F}return F.done=!0,F}};function G(D){if(D){var k=D[l];if(k)return k.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var I=-1,H=function F(){for(;++I<D.length;)if(o.call(D,I))return F.value=D[I],F.done=!1,F;return F.value=s,F.done=!0,F};return H.next=H}}return{next:W}}n.values=G;function W(){return{value:s,done:!0}}return J.prototype={constructor:J,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(K),!D)for(var k in this)k.charAt(0)==="t"&&o.call(this,k)&&!isNaN(+k.slice(1))&&(this[k]=s)},stop:function(){this.done=!0;var D=this.tryEntries[0],k=D.completion;if(k.type==="throw")throw k.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var k=this;function I(ne,ue){return V.type="throw",V.arg=D,k.next=ne,ue&&(k.method="next",k.arg=s),!!ue}for(var H=this.tryEntries.length-1;H>=0;--H){var F=this.tryEntries[H],V=F.completion;if(F.tryLoc==="root")return I("end");if(F.tryLoc<=this.prev){var te=o.call(F,"catchLoc"),j=o.call(F,"finallyLoc");if(te&&j){if(this.prev<F.catchLoc)return I(F.catchLoc,!0);if(this.prev<F.finallyLoc)return I(F.finallyLoc)}else if(te){if(this.prev<F.catchLoc)return I(F.catchLoc,!0)}else if(j){if(this.prev<F.finallyLoc)return I(F.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,k){for(var I=this.tryEntries.length-1;I>=0;--I){var H=this.tryEntries[I];if(H.tryLoc<=this.prev&&o.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var F=H;break}}F&&(D==="break"||D==="continue")&&F.tryLoc<=k&&k<=F.finallyLoc&&(F=null);var V=F?F.completion:{};return V.type=D,V.arg=k,F?(this.method="next",this.next=F.finallyLoc,b):this.complete(V)},complete:function(D,k){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&k&&(this.next=k),b},finish:function(D){for(var k=this.tryEntries.length-1;k>=0;--k){var I=this.tryEntries[k];if(I.finallyLoc===D)return this.complete(I.completion,I.afterLoc),K(I),b}},catch:function(D){for(var k=this.tryEntries.length-1;k>=0;--k){var I=this.tryEntries[k];if(I.tryLoc===D){var H=I.completion;if(H.type==="throw"){var F=H.arg;K(I)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(D,k,I){return this.delegate={iterator:G(D),resultName:k,nextLoc:I},this.method==="next"&&(this.arg=s),b}},n}(t.exports);try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Ff);var Jb=Ff.exports;(function(t){var e=Jb;function n(m,h,S,C,b,y,A){try{var E=m[y](A),v=E.value}catch(x){return void S(x)}E.done?h(v):Promise.resolve(v).then(C,b)}function r(m){return function(){var h=this,S=arguments;return new Promise(function(C,b){var y=m.apply(h,S);function A(v){n(y,C,b,A,E,"next",v)}function E(v){n(y,C,b,A,E,"throw",v)}A(void 0)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=!1,i=null,s="en",a=null,l=null,u="https://maps.googleapis.com/maps/api/geocode/json";function f(m){var h=arguments.length>1&&arguments[1]!==void 0&&arguments[1];o&&(h?console.warn(m):console.log(m))}function d(m){return p.apply(this,arguments)}function p(){return(p=r(e.mark(function m(h){var S,C;return e.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,fetch(h).catch(function(){return Promise.reject(new Error("Error fetching data"))});case 2:return S=b.sent,b.next=5,S.json().catch(function(){return f("Error parsing server response"),Promise.reject(new Error("Error parsing server response"))});case 5:if((C=b.sent).status!=="OK"){b.next=9;break}return f(C),b.abrupt("return",C);case 9:return f("".concat(C.error_message,`.
|
|
86
|
-
Server returned status code `).concat(C.status),!0),b.abrupt("return",Promise.reject(new Error("".concat(C.error_message,`.
|
|
87
|
-
Server returned status code `).concat(C.status))));case 11:case"end":return b.stop()}},m)}))).apply(this,arguments)}var g={setApiKey:function(m){i=m},setLanguage:function(m){s=m},setRegion:function(m){a=m},setLocationType:function(m){l=m},enableDebug:function(){var m=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];o=m},fromLatLng:function(m,h,S,C,b,y){return r(e.mark(function A(){var E,v;return e.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(m&&h){x.next=3;break}return f("Provided coordinates are invalid",!0),x.abrupt("return",Promise.reject(new Error("Provided coordinates are invalid")));case 3:return E="".concat(m,",").concat(h),v="".concat(u,"?latlng=").concat(encodeURIComponent(E)),(S||i)&&(v+="&key=".concat(i=S||i)),(C||s)&&(v+="&language=".concat(s=C||s)),(b||a)&&(a=b||a,v+="®ion=".concat(encodeURIComponent(a))),(y||l)&&(l=y||l,v+="&location_type=".concat(encodeURIComponent(l))),x.abrupt("return",d(v));case 9:case"end":return x.stop()}},A)}))()},fromAddress:function(m,h,S,C){return r(e.mark(function b(){var y;return e.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(m){A.next=3;break}return f("Provided address is invalid",!0),A.abrupt("return",Promise.reject(new Error("Provided address is invalid")));case 3:return y="".concat(u,"?address=").concat(encodeURIComponent(m)),(h||i)&&(y+="&key=".concat(i=h||i)),(S||s)&&(y+="&language=".concat(s=S||s)),(C||a)&&(a=C||a,y+="®ion=".concat(encodeURIComponent(a))),A.abrupt("return",d(y));case 8:case"end":return A.stop()}},b)}))()}};t.default=g})(zf);const yi=no(zf),Zb=_a,Xb=["places"],_b={clickableIcons:!1,disableDefaultUI:!0},Gf={optimized:!0},$b=1e3,Ht={root:"MapGoogle-module__root__iB2RTt",hideUI:"MapGoogle-module__hideUI__zGYpjY",mapContainer:"MapGoogle-module__mapContainer__qTVsu4",balloon:"MapGoogle-module__balloon__nNM3fV",details:"MapGoogle-module__details__MuhoyT",cluster:"MapGoogle-module__cluster__KIS2sn",overlay:"MapGoogle-module__overlay__z03Yoa",bottomSheet:"MapGoogle-module__bottomSheet__ql8eoC",sheetSubmit:"MapGoogle-module__sheetSubmit__pjGRS0"};yi.setLocationType("ROOFTOP"),yi.setApiKey("AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA");const eE=({children:t,className:e,onLoad:n,onIdle:r,onUnmount:o})=>{const{map:i,disableCourierDelivery:s,hideMapUI:a}=Lt(),l=Qt(p=>p.setCourierPoint),u=Wt(p=>p.setSelectedPoint),f=c.useMemo(()=>{var p,g;return{lat:((p=i==null?void 0:i.center)==null?void 0:p[0])??Xi[0],lng:((g=i==null?void 0:i.center)==null?void 0:g[1])??Xi[1]}},[i==null?void 0:i.center]),d=c.useCallback(async p=>{var m,h;const{latLng:g}=p;if(!(!g||s)){u(null);try{const S=await yi.fromLatLng(g.lat().toString(),g.lng().toString()),C=(h=(m=S==null?void 0:S.results)==null?void 0:m[0])==null?void 0:h.formatted_address;C&&l({address:C,coords:[g.lat(),g.lng()]})}catch{l({address:null,coords:[g.lat(),g.lng()]})}}},[s,l,u]);return L.jsx(F0,{zoom:Zb,center:f,options:_b,mapContainerClassName:ke(Ht.root,e,{[Ht.hideUI]:a}),onLoad:n,onIdle:r,onUnmount:o,onClick:d,children:t})},Vf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAFmTSURBVHgB7X1psGVHedjX545GaBkYEKDFGB4Yi4BjZ6SRKFYz88+uggSSQAL5geQkUhbHoKSSOFtpximXU85igbMhx9aQBSfIFUNwIOVyrCckgo00SxIjh/0JxIwkS+hJI7TMzD2d/vr21/fr7q/79Ln33Pvum5lPenPO6X359l6ugvMwCOw5um+3eeyG8XgPtOPdoJs1rfSrQOvdoNRuBbBmE5p30CadmuZlr5ug1aZJswnQbk6Sqw0T9iCA3mxAH1N6x+Z9b1w/BudhEFBwHnqDQfY1OH1qX6tGf0K14zUMMkO5FiQSRlbxt2I8BbgQrYU86hgShSEQQxTN3U0LG+cJoz+cJ4AOsJx9PN7XaniH0u0eDLIcPACHoME3TMPCxzROlgICqLR4OYOREnBMG6Jo2ubTl+6AY+vXrG/CecjCeQIQYM99b9tnhuZPGUwzyK73aR6p49Q6CFZA+Cljd5bL5+KzoDozuLasK0cQ91+/vg7nIYDzBACOy58evxsaeIdB+HdPOXyI3PxFV5atiHszrh2oQmGA9FlVSyIWZBULpcG6efl024w+dey8dDh3CcAjvdIfBKvDO6SPsD1F/j7oPwFJGoTqfKcClNTYW1IIBSrQn4JGffrI3nsOwTkK5xwBePVGtzeY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fDeM/kIfhZEu47Rj2djId/YaYQxr7TT/gQW2gF/rlGfcrNODebdglk9sQ6F3HeVH9uGTy80ykjgDl4+C4d6Dvu/1TxL29URx7UgjR4286f4thzmi1PyKI3hqUrrghjVafDZNBPd6+8x/JY78Jti2QnsN2JgAOgbqE7/RDeqgOOcNU81+cwTQkLRhhABnZFI9eDZIcMCEU3L9CxrdduSZAaYIGotv8p5xaIY4xERUt8kEH8hDHpvJtpyOEpiceKnEErV3btbOTLJLSj95hv1F35z9ttGPyA3jaXUMCtDhFOzH5RvxluisXBWcLAeQgIAxSnRDYijQe4bThZ6YXvqKIt0iO2zXG7OdVneENTjWgw9sWiGDQI0LEhcA2/PmG0Tc+ESiOhxMCuzIsIbqdqoqQ2nbScXKqk9yP+I7tZ4eSvL7ufkLWc3QE2nKM706VQbA4fzYguwRnOwHkwBMGHeTBX5B3hjYe6LFP+s1h+tkmBPo1eYIzk98vsz82jU+naiGx+FsaxtMf9LNExKEQrgl5EbGxTI7MpJ7gaiqdv8Z3vEqQ2sp87kC/BE/l09Uizg+PQSvlnVkWnKsEUALyHE0OKYPd1arcdlzlruRAu8Mmdgt4FsHoSWsIJF3Yj094VYx+tR6BrR9oLpGQQ+OTqyPoBWPuRXA7Jm17nJoCrs0BF2f9O6cQvAvOE8B8oHqGE7cF59rV/Jv9yHQM1rh1e2QmAexM7NmqniwD/j9/ewWbk1NBkwAAAABJRU5ErkJggg==",Qf=28,Yf=({children:t,hideFooter:e,minSnapHeight:n,submitDisabled:r,onSubmitClick:o,...i})=>L.jsx(Gu,{...i,defaultSnap:({snapPoints:s})=>Math.min(...s),snapPoints:({headerHeight:s,minHeight:a,footerHeight:l,maxHeight:u})=>[n==null?a:s+l+n,u-Qf],footer:e?null:L.jsx(yt,{disabled:r,variant:"primary",className:Ht.sheetSubmit,onClick:o,children:L.jsx(pn,{keyName:"choose",ns:"common"})}),children:L.jsx("div",{className:Ht.bottomSheet,children:t})}),Wf=t=>be.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),be.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.0035 28.0008V17.7646C31.0035 16.6603 30.3968 15.6453 29.4242 15.1223L22.4206 11.3567C21.5335 10.8798 20.4663 10.8798 19.5793 11.3567L12.5757 15.1223C11.603 15.6453 10.9963 16.6603 10.9963 17.7646V28.0008C10.9963 29.6576 12.3395 31.0008 13.9963 31.0008H19.311C19.3291 31.0012 19.3473 31.0014 19.3654 31.0014H22.634C22.6522 31.0014 22.6703 31.0012 22.6884 31.0008H28.0035C29.6604 31.0008 31.0035 29.6576 31.0035 28.0008ZM25.0841 29.0008H28.0035C28.5558 29.0008 29.0035 28.5531 29.0035 28.0008V17.7646C29.0035 17.3965 28.8013 17.0582 28.4771 16.8838L21.4735 13.1183C21.1778 12.9593 20.8221 12.9593 20.5264 13.1183L13.5228 16.8838C13.1986 17.0582 12.9963 17.3965 12.9963 17.7646V28.0008C12.9963 28.5531 13.4441 29.0008 13.9963 29.0008H16.9153C16.8826 28.8394 16.8654 28.6724 16.8654 28.5014V20.8949C16.8654 19.5142 17.9847 18.3949 19.3654 18.3949H22.634C24.0147 18.3949 25.134 19.5142 25.134 20.8949V28.5014C25.134 28.6724 25.1168 28.8394 25.0841 29.0008ZM22.6583 29.0008C22.9232 28.9881 23.134 28.7694 23.134 28.5014V20.8949C23.134 20.6188 22.9102 20.3949 22.634 20.3949H19.3654C19.0893 20.3949 18.8654 20.6188 18.8654 20.8949V28.5014C18.8654 28.7694 19.0763 28.9881 19.3411 29.0008H22.6583Z",fill:"currentcolor"}),be.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),tE=t=>be.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("g",{clipPath:"url(#clip0_422_11470)"},be.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0712 3.07116C16.583 2.58301 15.7916 2.58301 15.3034 3.07116L10 8.37456L4.69661 3.07116C4.20845 2.583 3.417 2.583 2.92884 3.07116C2.44069 3.55931 2.44069 4.35077 2.92884 4.83893L8.23224 10.1423L2.92903 15.4455C2.44087 15.9337 2.44087 16.7251 2.92903 17.2133C3.41718 17.7015 4.20864 17.7015 4.69679 17.2133L10 11.9101L15.3032 17.2133C15.7914 17.7015 16.5828 17.7015 17.071 17.2133C17.5591 16.7251 17.5591 15.9337 17.071 15.4455L11.7678 10.1423L17.0712 4.83893C17.5593 4.35078 17.5593 3.55932 17.0712 3.07116Z",fill:"currentcolor"})),be.createElement("defs",null,be.createElement("clipPath",{id:"clip0_422_11470"},be.createElement("rect",{width:20.0004,height:20,fill:"white"})))),nE={root:"CloseButton-module__root__233rOd"},bi=({className:t,...e})=>L.jsx("div",{...e,className:ke(nE.root,t),children:L.jsx(tE,{})}),ln={root:"CourierBalloon-module__root__4MUq03",details:"CourierBalloon-module__details__Ji6B9l",header:"CourierBalloon-module__header__SAzGF6",title:"CourierBalloon-module__title__FdGkJ2",description:"CourierBalloon-module__description__Su359i",actions:"CourierBalloon-module__actions__zJkpDW",errorVariant:"CourierBalloon-module__errorVariant__TjUPgn",logo:"CourierBalloon-module__logo__DMba5H"},fa=({SSR:t,variant:e,address:n,className:r,hasCloseButton:o,onDetails:i,onClose:s})=>{const a=e==="error",l=e==="default",u=t?"{ courier_balloon.title }":L.jsx(pn,{keyName:"title",ns:"courier_balloon"}),f=t?"{ courier_balloon.error_title }":L.jsx(pn,{keyName:"error_title",ns:"courier_balloon"}),d=t?"{ courier_balloon.error_description }":L.jsx(pn,{keyName:"error_description",ns:"courier_balloon"});return L.jsxs("div",{className:ke(ln.root,r,ln[`${e}Variant`]),children:[L.jsxs("div",{className:ln.header,children:[L.jsx(Wf,{className:ln.logo}),L.jsx("span",{className:ln.title,children:a?f:u}),o&&L.jsx(bi,{onClick:s})]}),L.jsx("div",{className:ln.description,children:a?d:n||"{{ properties.address }}"}),l&&L.jsx("div",{className:ln.actions,children:L.jsx(yt,{id:ao,as:"button",variant:"primary",className:ln.details,onClick:i,children:t?"{ details }":L.jsx(pn,{keyName:"details",ns:"common"})})})]})},Kf={root:"Chip-module__root__A1duWr",active:"Chip-module__active__PmXa7K"},Ei=({active:t,children:e,className:n,...r})=>L.jsx("div",{...r,className:ke(Kf.root,n,{[Kf.active]:t}),children:e}),rE={root:"TextArea-module__root__l-RDfr"},Rf=c.forwardRef(({className:t,inputRef:e,onChange:n,onBlur:r,...o},i)=>{const s=c.useRef(null);c.useImperativeHandle(i,()=>({focus:()=>{var l;(l=s.current)==null||l.focus()},blur:()=>{var l;(l=s.current)==null||l.blur()},setValue:l=>{if(n){n({target:{value:l}});return}r&&r({target:{value:l}}),s.current&&(s.current.value=l)}}),[r,n]);const a=fd(e,s);return L.jsx("textarea",{...o,ref:a,className:ke(rE.root,t),onBlur:r,onChange:n})}),oE=({set:t})=>(e,n)=>{let r={...e};switch(n.type){case"SET_COMMENT":r={...e,comment:n.payload};break;case"SET_DELIVERY_TIME":r={...e,delivery_time:n.payload};break;case"SET_APARTMENT_NUMBER":r={...e,apartment_number:n.payload};break}return t==null||t(r),r},qf=t=>{const{delivery_time:e,apartment_number:n}=t;return!!e&&!!n},ct={title:"CourierDetailsView-module__title__erksdV",logo:"CourierDetailsView-module__logo__qYbLKL",header:"CourierDetailsView-module__header__JofwHC",content:"CourierDetailsView-module__content__8xEbUb",section:"CourierDetailsView-module__section__NQlWki",chips:"CourierDetailsView-module__chips__T1ep8H",actions:"CourierDetailsView-module__actions__IgFrOE",submit:"CourierDetailsView-module__submit__Z-6fPa",actionsHidden:"CourierDetailsView-module__actionsHidden__VfVd-Y",commentSection:"CourierDetailsView-module__commentSection__vN110S",comment:"CourierDetailsView-module__comment__rOoPVP"},iE=({location:t,hideActions:e,onClose:n,onChange:r,onSubmit:o})=>{const{inputs:i}=Lt(),s=rr("screenSm"),{t:a}=St(["details_modal","courier_balloon","common"]),l=c.useMemo(()=>oE({set:r}),[r]),[u,f]=c.useReducer(l,{...t,comment:"",delivery_time:"",apartment_number:""}),d=()=>{o==null||o(u)},p=y=>()=>{f({payload:y,type:"SET_DELIVERY_TIME"})},g=y=>{f({payload:y.target.value,type:"SET_APARTMENT_NUMBER"})},m=y=>{f({payload:y.target.value,type:"SET_COMMENT"})},h=qf(u),S=Ai(i==null?void 0:i.apartment),C=Ai(i==null?void 0:i.comment),b=c.useRef(null);return c.useEffect(()=>{var y,A;(y=b.current)==null||y.focus(),(A=b.current)==null||A.scrollIntoView()},[]),L.jsxs(L.Fragment,{children:[L.jsxs("div",{tabIndex:-1,ref:b,className:ct.header,children:[L.jsx(bi,{onClick:n}),L.jsxs("div",{className:ct.title,children:[L.jsx(Wf,{className:ct.logo}),L.jsx("span",{children:a("title",{ns:"courier_balloon"})})]})]}),L.jsxs("div",{className:ct.content,children:[L.jsxs("section",{className:ct.section,children:[L.jsxs("label",{children:[a("address"),":"]}),L.jsx("p",{children:t.address})]}),L.jsxs("section",{className:ct.section,children:[L.jsxs("label",{children:[a("delivery_time"),":"]}),L.jsxs("div",{className:ct.chips,children:[L.jsx(Ei,{active:u.delivery_time==="8:00-13:00",onClick:p("8:00-13:00"),children:"8:00 - 13:00"}),L.jsx(Ei,{active:u.delivery_time==="14:00-22:00",onClick:p("14:00-22:00"),children:"14:00 - 22:00"})]})]}),L.jsxs("section",{className:ct.section,children:[L.jsxs("label",{children:[a("apartment_number"),":"]}),L.jsx(Rf,{...S,autoFocus:!s,rows:1,onBlur:g})]}),L.jsxs("section",{className:ke(ct.section,ct.commentSection),children:[L.jsxs("label",{children:[a("comment"),":"]}),L.jsx(Rf,{...C,autoFocus:!s,className:ct.comment,onBlur:m})]})]}),L.jsx("div",{className:ke(ct.actions,{[ct.actionsHidden]:e}),children:L.jsx(yt,{disabled:!h,variant:"primary",className:ct.submit,onClick:d,children:a("choose",{ns:"common"})})})]})},Jf=c.memo(iE),sE=({point:t,setOpenDetails:e,setCourierPoint:n,onPointClick:r})=>{const[o,i]=c.useState({...t,comment:"",delivery_time:"",apartment_number:""}),[s,a]=c.useState(null),l=rr("screenSm"),u={lat:o.coords[0],lng:o.coords[1]},f=()=>{e(!0)},d=()=>{n(null)},p={url:Vf,scaledSize:new google.maps.Size(...Vt)},g=()=>{r(o),e(!1),n(null)},m=L.jsx(fa,{...o,hasCloseButton:l,variant:o.address?"default":"error",className:Ht.balloon,onDetails:f,onClose:d}),h=qf(o);return L.jsxs(Rc,{noClustererRedraw:!0,icon:p,position:u,options:Gf,onLoad:a,children:[l&&L.jsxs(Yf,{minSnapHeight:o.address?200:void 0,submitDisabled:!h,hideFooter:!o.address,open:!!(s!=null&&s.getVisible()),onDismiss:d,onSubmitClick:g,children:[o.address&&L.jsx(Jf,{hideActions:!0,location:t,onChange:i,onClose:d}),!o.address&&m]}),!l&&(s==null?void 0:s.getVisible())&&L.jsx(cf,{onCloseClick:d,children:m})]})},da="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGAkSURBVHgB7b1rrGVHeSj41T4NNg87TRxiuk2SQ5QxvjxMG7sJUn7QziQSoyR+ZJQokEjYuSOIeQRQJgl5je3cGJh7EyUo4ZXJBHOx4SqZwW2QCBjjPow0UkZu280oAeIbwfEM7jZ5tt0mYHefXbe+WvVVfV/VV+ux99r77HO6v+51Vq1a9a7vXVVrGzgHo8ChQ4f2fuc739l7+vTpA9bavS5q3RjzA+6O4b0ubh3TubjwjE82L+YkXi6Nv0+nAJMJbLq8j+DzZDI5hu/uv//+Y3AORgED52AwvPrVr15/+umnDzmEfAUitrsOuOh1nsYhamc5FSJQ01Fx1mfCB4tEgMSCRPFF15bNc4QxHM4RQAccOHBg79ra2iGHeK9pEN0ccMi4t0/eLiJokLk/pOSRCP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jNTG7/UJ64iDuIAHKEL1Fi0RpYLNjH3QMDAr7G8UP0D/iQeH035Y8AQCaPOgGUtNwJhYTC/zEK3juigrt+1hnvBzWGzSPibu14T44GOChxGaSAybLcuv8vqaQOYVEv2aWmciX4fBbouUjiShx+G4MkASTPZX8dwzYBBoD9i61wO/UWwRnAnjZbPED4BcF9d5/TFjfgXXmaE+aM96jQh1ic0za3pg3RIwzJDrtikR8wUw5fXvqosXtdyGebIhNFFjuCAYGX7RwD5Ho/UrAaI+mpK8KE4YYDQEmGWwOdAs9k/vtNOHafB4iWv2R6WHTLZu2g6wzg3QTup5QOTgd4IHD3FEzZNx4D8AZH5movEFnzAAAAAASUVORK5CYII=",Zf=t=>be.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),be.createElement("path",{d:"M7.63362 25C7.33927 25 7.067 24.9259 6.81681 24.7778C6.56662 24.6296 6.36793 24.4296 6.22076 24.1778C6.07359 23.9259 6 23.6519 6 23.3556V18.6444C6 18.3407 6.07359 18.0667 6.22076 17.8222C6.36793 17.5704 6.56662 17.3704 6.81681 17.2222C7.067 17.0741 7.33927 17 7.63362 17H12.3137C12.6081 17 12.8767 17.0741 13.1195 17.2222C13.3697 17.3704 13.5684 17.5704 13.7155 17.8222C13.8701 18.0667 13.9473 18.3407 13.9473 18.6444V23.3556C13.9473 23.6519 13.8701 23.9259 13.7155 24.1778C13.5684 24.4296 13.3697 24.6296 13.1195 24.7778C12.8767 24.9259 12.6081 25 12.3137 25H7.63362ZM7.71089 23.2667H12.2144V18.7333H7.71089V23.2667Z",fill:"black"}),be.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),be.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),be.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),be.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),rt={title:"LocationView-module__title__QP69kD",logo:"LocationView-module__logo__nlPQaG",header:"LocationView-module__header__9DDuVU",content:"LocationView-module__content__Se2TSy",section:"LocationView-module__section__9m1x1v",chips:"LocationView-module__chips__6j-ZAh",services:"LocationView-module__services__rwbp2x",images:"LocationView-module__images__zfnQMA",image:"LocationView-module__image__JKvt9J",actions:"LocationView-module__actions__AGih3C",actionsHidden:"LocationView-module__actionsHidden__DBV1vj",submit:"LocationView-module__submit__6mD2w-",scheduleItem:"LocationView-module__scheduleItem__snTLMb"},aE=({location:t,hideActions:e,onClose:n,onSubmit:r})=>{const{t:o}=St(["details_modal","common"]);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:rt.header,children:[L.jsx(bi,{onClick:n}),L.jsxs("div",{className:rt.title,children:[L.jsx(Zf,{className:rt.logo}),L.jsx("span",{children:t.name}),"C"]})]}),L.jsxs("div",{className:rt.content,children:[L.jsxs("section",{className:rt.section,children:[L.jsxs("label",{children:[o("address"),":"]}),L.jsx("p",{children:t.location.full_address})]}),!!t.schedule.length&&L.jsxs("section",{className:rt.section,children:[L.jsxs("label",{children:[o("schedule"),":"]}),t.schedule.map((i,s)=>L.jsx("p",{className:rt.scheduleItem,children:i},s))]}),(t.pay_by_card||t.pay_by_card)&&L.jsxs("section",{className:rt.section,children:[L.jsxs("label",{children:[o("payment_method"),":"]}),L.jsxs("div",{className:rt.chips,children:[t.pay_by_cash&&L.jsx(Ei,{children:o("pay_by_cash")}),t.pay_by_card&&L.jsx(Ei,{children:o("pay_by_card")})]})]}),L.jsxs("section",{className:rt.section,children:[L.jsxs("label",{children:[o("services"),":"]}),L.jsxs("div",{className:rt.services,children:[t.is_pickup&&L.jsx("span",{children:o("is_pickup")}),t.is_delivery&&L.jsx("span",{children:o("is_delivery")}),t.is_dressing_room&&L.jsx("span",{children:o("is_dressing_room")}),t.is_check_order&&L.jsx("span",{children:o("is_check_order")})]})]}),L.jsxs("section",{className:rt.section,children:[L.jsxs("label",{children:[o("location"),":"]}),L.jsx("p",{children:t.location_name})]}),L.jsx("section",{className:rt.images,children:t.images.map(i=>L.jsx("img",{src:i,alt:t.name,className:rt.image},i))})]}),L.jsx("div",{className:ke(rt.actions,{[rt.actionsHidden]:e}),children:L.jsx(yt,{variant:"primary",className:rt.submit,onClick:r,children:o("choose",{ns:"common"})})})]})},Xf=c.memo(aE),lE=t=>be.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("path",{d:"M12.5 8.00003C12.5 8.28678 12.392 8.5735 12.1763 8.79212L5.38748 15.6718C4.95562 16.1094 4.25544 16.1094 3.82376 15.6718C3.39208 15.2343 3.39208 14.5249 3.82376 14.0872L9.83091 8.00003L3.82397 1.91279C3.39229 1.47515 3.39229 0.765811 3.82397 0.328387C4.25565 -0.109461 4.95583 -0.109461 5.38769 0.328387L12.1765 7.20793C12.3922 7.42666 12.5 7.71338 12.5 8.00003Z",fill:"currentcolor"})),Ln={root:"LocationBalloon-module__root__D5p9cL",submit:"LocationBalloon-module__submit__Ri5JaR",details:"LocationBalloon-module__details__6et6aX",header:"LocationBalloon-module__header__LCvDj0",title:"LocationBalloon-module__title__octhrc",description:"LocationBalloon-module__description__r7vFbw",actions:"LocationBalloon-module__actions__-jdejn"},_f=({SSR:t,name:e,location:n,onSubmit:r,className:o,onDetails:i,location_name:s})=>L.jsxs("div",{className:ke(Ln.root,o),children:[L.jsxs("div",{className:Ln.header,children:[L.jsx(Zf,{}),L.jsx("span",{className:Ln.title,children:e||"{{ properties.point.name }}"})]}),L.jsxs("div",{className:Ln.description,children:[(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}",","," ",s||"{{ properties.point.location_name }}"]}),L.jsxs("div",{className:Ln.actions,children:[L.jsx(yt,{id:_i,variant:"primary",className:Ln.submit,onClick:r,children:t?"{ choose }":L.jsx(pn,{keyName:"choose",ns:"common"})}),L.jsxs(yt,{id:ao,as:"link",variant:"primary",className:Ln.details,onClick:i,children:[t?"{ details }":L.jsx(pn,{keyName:"details",ns:"common"}),L.jsx(lE,{})]})]})]}),uE=({point:t,clusterer:e,onPointClick:n,selectedPoint:r,setOpenDetails:o,onPointSelected:i})=>{const s=rr("screenSm"),[a,l]=c.useState(null),u=()=>{o(!1),i(t)},f={lat:t.location.latitude,lng:t.location.longitude},d=()=>{i(null)},p=()=>{o(!0),i(t)},g=()=>{n(t),o(!1),i(null)},m=(r==null?void 0:r.uid)===t.uid,h=m?jn:Vt,S={scaledSize:new google.maps.Size(...h),url:t.type===30?pa:da},C=m&&!!(a!=null&&a.getVisible());return L.jsxs(Rc,{noClustererRedraw:!0,icon:S,position:f,clusterer:e,options:Gf,onLoad:l,onClick:u,children:[s&&L.jsx(Yf,{minSnapHeight:200,open:C,onDismiss:d,onSubmitClick:g,children:L.jsx(Xf,{hideActions:!0,location:t,onClose:d})}),C&&!s&&L.jsx(cf,{onCloseClick:d,children:L.jsx(_f,{...t,className:Ht.balloon,onSubmit:g,onDetails:p})})]},t.uid)},cE=({points:t,selectedPoint:e,onOpenDetails:n,onPointClick:r,onPointSelected:o})=>L.jsx(ab,{clusterClass:Ht.cluster,children:i=>L.jsx(c.Fragment,{children:t.map(s=>L.jsx(uE,{point:s,clusterer:i,selectedPoint:e,setOpenDetails:n,onPointClick:r,onPointSelected:o},s.uid))})}),fE=c.memo(cE),dE=({mounted:t,onOpenDetails:e,onPointClick:n,onPointSelected:r})=>{const{locale:o}=Lt(),i=jt(u=>u.points),s=Wt(u=>u.location),a=Un(u=>u.place);if(!t)return null;const l=JSON.stringify([i.length,o,a==null?void 0:a.place_id]);return L.jsx(fE,{points:i,selectedPoint:s,onOpenDetails:e,onPointClick:n,onPointSelected:r},l)},pE=c.memo(dE),hE=({map:t,onAttach:e})=>{const n=Wt(o=>o.setSelectPointHook),r=c.useCallback(o=>{o&&(e==null||e(),t==null||t.setZoom(lo),t==null||t.setCenter({lat:o.location.latitude,lng:o.location.longitude}))},[t]);c.useEffect(()=>{n(r)},[r,n])},gE=()=>{const[t,e]=c.useState(!1);return c.useEffect(()=>{if(t)return;const n=setTimeout(()=>e(!0),$b);return()=>clearTimeout(n)},[t]),[t,e]},vE=({onUpdate:t})=>{const{locale:e}=Lt();c.useEffect(()=>{t==null||t(),e&&yi.setLanguage(e)},[e])},mE=({map:t})=>{const e=Un(r=>r.place),n=tt(r=>r.zoom);c.useEffect(()=>{var i,s,a,l;if(!e)return;t==null||t.setZoom(n);const r=(s=(i=e.geometry)==null?void 0:i.location)==null?void 0:s.lng(),o=(l=(a=e.geometry)==null?void 0:a.location)==null?void 0:l.lat();!o||!r||t==null||t.setCenter({lng:r,lat:o})},[e,t])},yE=({className:t})=>{const e=tt(A=>A.setLoaded),n=tt(A=>A.setDetailsOpen),r=En(),o=jt(A=>A.loading),i=jt(A=>A.loadNext),s=Qt(A=>A.courierPoint),a=Qt(A=>A.setCourierPoint),l=Wt(A=>A.setSelectedPoint),{locale:u,onPointClick:f}=Lt(),[d,p]=c.useState(null),[g,m]=gE();mE({map:d}),vE({onUpdate:()=>m(!1)}),hE({map:d,onAttach:()=>m(!1)});const h=()=>{e(!0)},S=c.useCallback(A=>{p(A)},[]),C=c.useCallback(()=>{p(null)},[]),b=c.useCallback(()=>{if(!d)return;const A=d==null?void 0:d.getBounds();A&&i([[A.getSouthWest().lat(),A.getNorthEast().lat()],[A.getSouthWest().lng(),A.getNorthEast().lng()]],r)},[r,i,d]),y=c.useCallback((...A)=>{a(null),l(...A)},[a,l]);return L.jsxs("div",{className:ke(Ht.mapContainer,t),children:[L.jsx(Y0,{language:u,libraries:Xb,googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",onLoad:h,loadingElement:L.jsx(vi,{className:Ht.overlay,children:L.jsx(mi,{})}),children:L.jsxs(eE,{onIdle:b,onLoad:S,onUnmount:C,children:[s&&L.jsx(sE,{point:s,onPointClick:f,setOpenDetails:n,setCourierPoint:a}),L.jsx(pE,{mounted:g,onPointClick:f,onOpenDetails:n,onPointSelected:y})]})},u),(o||!g)&&L.jsx(vi,{className:Ht.overlay,children:L.jsx(mi,{})})]})},bE=c.memo(yE);function xn(){return xn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xn.apply(this,arguments)}const $f=(t,e)=>{const n={};for(const r in t)e.indexOf(r)===-1&&(n[r]=t[r]);return n},ed=c.createContext(null),wi=c.createContext(null),td=t=>e=>c.createElement(wi.Consumer,null,n=>c.createElement(t,xn({parent:n},e))),EE=(t=[])=>{const[e,n]=c.useState(!1),r=c.useRef(t),o=(()=>{const s=c.useContext(ed);if(s===null)throw new Error("Couldn't find Yandex.Maps API in the context. Make sure that hook useYMaps is inside <YMaps /> provider");return s})(),i=o.getApi();return c.useEffect(()=>{o.load().then(()=>Promise.all(r.current.map(o.loadModule))).then(()=>n(!0))},[]),e&&i?i:null},wE=()=>{},CE=["onLoad","onError","modules","apiLoader"];function ha(t,e=!1,n=[]){return r=>{const{width:o,height:i,modules:s=[],onLoad:a=wE}=r,l=EE(n.concat(s)),u=!e||!!l,f=$f(r,CE);return c.useEffect(()=>l?a(l):void 0,[l]),u?c.createElement(t,xn({ymaps:l},f)):c.createElement("div",{style:{width:o,height:i}})}}const SE=typeof window<"u",nd={lang:"ru_RU",load:"",ns:"",mode:"release"},LE=t=>{const{version:e="2.1",enterprise:n=!1,query:r={lang:"ru_RU",load:"",ns:""},preload:o=!1,children:i}=t,s=c.useRef((a=>{const{query:l=nd}=a,u=Date.now().toString(32),f=l.ns||"",d="__yandex-maps-api-onload__$$"+u,p="__yandex-maps-api-onerror__$$"+u,g=SE?window:{},m={};let h;const S=()=>f?g[f]:h,C=()=>{delete g[d],delete g[p]};return{load:()=>{if(S())return Promise.resolve(h);if(m[f])return m[f];const b={onload:d,onerror:p,...nd,...l},y=Object.keys(b).map(E=>`${E}=${b[E]}`).join("&"),A=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+y].join("/");return m[f]=new Promise((E,v)=>{g[d]=x=>{C(),x.ready(()=>{h=x,E(x)})},g[p]=x=>{C(),v(x)},(x=>new Promise((w,M)=>{const O=document.createElement("script");O.type="text/javascript",O.onload=w,O.onerror=M,O.src=x,O.async=!0,document.head.appendChild(O)}))(A).catch(g[p])}),m[f]},getApi:S,loadModule:b=>new Promise((y,A)=>{h.modules.require(b).done(E=>{E.forEach(v=>{((x,w,M,O=!1)=>{const P=typeof w=="string"?w.split("."):w.slice();let T,z=x;for(;P.length>1;)T=P.shift(),z[T]||(z[T]={}),z=z[T];const Q=P[0];z[Q]=O===!0&&z[Q]||M})(h,b,v,!0)}),y(h)},A)})}})({version:e,enterprise:n,query:r,preload:o}));return c.useEffect(()=>{o&&s.current.load()},[s.current]),c.createElement(ed.Provider,{value:s.current},i)},rd=/^on(?=[A-Z])/;function Fe(t){return Object.keys(t).reduce((e,n)=>{if(rd.test(n)){const r=n.replace(rd,"").toLowerCase();e._events[r]=t[n]}else e[n]=t[n];return e},{_events:{}})}function An(t,e,n){typeof n=="function"&&t.events.add(e,n)}function On(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function nr(t,e,n){Object.keys(Object.assign({},e,n)).forEach(r=>{e[r]!==n[r]&&(On(t,r,e[r]),An(t,r,n[r]))})}const od=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function Xe(t,e){return t[e]!==void 0||t[od(e)]===void 0}function $(t,e,n){return(Xe(t,e)?t[e]:t[od(e)])||n}function _e(t,e,n=null){if(t!==e){if(t&&("current"in t?t.current=null:typeof t=="function"&&t(null)),!e)return;"current"in e?e.current=n:typeof e=="function"&&e(n)}}function id(t){const{width:e,height:n,style:r,className:o}=t;return r!==void 0||o!==void 0?Object.assign({},r&&{style:r},o&&{className:o}):{style:{width:e,height:n}}}class xE extends c.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,n){const{onError:r=()=>{}}=this.props;r(e),this.setState({error:e,errorInfo:n})}render(){return this.state.error?null:this.props.children}}const ga=t=>({onError:e,...n})=>c.createElement(xE,{onError:e},c.createElement(t,n));class Kr extends c.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=Kr.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&Kr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Kr.unmountObject(this.instance,this.props)}render(){const e=id(this.props),n=Fe(this.props),r=$f(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return c.createElement(wi.Provider,{value:this.state.instance},c.createElement("div",xn({ref:this._getRef},e,r),this.props.children))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=new n(e,$(r,"state"),$(r,"options"));return Object.keys(i).forEach(a=>An(s,a,i[a])),_e(null,o,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"state")){const l=$(n,"state",{}),u=$(r,"state",{});l.type!==u.type&&e.setType(u.type),l.behaviors!==u.behaviors&&(l.behaviors&&e.behaviors.disable(l.behaviors),u.behaviors&&e.behaviors.enable(u.behaviors)),u.zoom&&l.zoom!==u.zoom&&e.setZoom(u.zoom),u.center&&l.center!==u.center&&e.setCenter(u.center),u.bounds&&l.bounds!==u.bounds&&e.setBounds(u.bounds)}if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options",{});l!==u&&e.options.set(u)}$(n,"width")===$(r,"width")&&$(n,"height")===$(r,"height")||e.container.fitToViewport(),nr(e,s,o),_e(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>On(e,i,o[i])),e.destroy(),_e(r))}}const sd=ga(ha(Kr,!0,["Map"]));sd.defaultProps={width:320,height:240};class Ci extends c.Component{constructor(){super(),this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this._mounted=!0,this.props.ymaps.panorama.isSupported()&&Ci.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&Ci.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,Ci.unmountObject(this.state.instance,this.props)}render(){const e=id(this.props);return c.createElement("div",xn({ref:this._getRef},e))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=$(r,"point"),a=$(r,"locateOptions"),l=$(r,"options");return new Promise((u,f)=>{n.locate(s,a).done(d=>{if(d.length>0){const p=new n.Player(e,d[0],l);_e(null,o,p),Object.keys(i).forEach(g=>An(p,g,i[g])),u(p)}},f)})}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options");l!==u&&e.options.set(u)}if(Xe(r,"point")){const l=$(r,"point"),u=$(n,"point"),f=$(r,"locateOptions");l!==u&&e.moveTo(l,f)}nr(e,s,o),_e(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>On(e,i,o[i])),_e(r))}}class Si extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=Si.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Si.updateControl(this.instance,e,this.props)}componentWillUnmount(){Si.unmountControl(this.instance,this.props)}render(){return c.createElement(wi.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:r,parent:o,lazy:i,_events:s}=Fe(n),a=new e({data:$(n,"data"),options:$(n,"options"),state:$(n,"state"),mapTypes:$(n,"mapTypes"),lazy:i});if(Object.keys(s).forEach(l=>An(a,l,s[l])),o&&o.controls&&typeof o.controls.add=="function")o.controls.add(a);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(a)}return _e(null,r,a),a}static updateControl(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options");l!==u&&e.options.set(u)}if(Xe(r,"data")){const l=$(n,"data"),u=$(r,"data");l!==u&&e.data.set(u)}if(Xe(r,"state")){const l=$(n,"state"),u=$(r,"state");l!==u&&e.state.set(u)}if(Xe(r,"mapTypes")){const l=$(n,"mapTypes"),u=$(r,"mapTypes");l!==u&&(e.removeAllMapTypes(),u.forEach(f=>e.addMapType(f)))}nr(e,s,o),_e(a,i,e)}static unmountControl(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>On(e,s,i[s])),o.controls&&typeof o.controls.remove=="function"?o.controls.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),_e(r))}}class Li extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=Li.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&Li.updateObject(this.instance,e,this.props)}componentWillUnmount(){Li.unmountObject(this.instance,this.props)}render(){return c.createElement(wi.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e($(n,"options"));if(Object.keys(i).forEach(a=>An(s,a,i[a])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount Clusterer");o.add(s)}return _e(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options");l!==u&&e.options.set(u)}nr(e,s,o),_e(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>On(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),_e(r))}}class Rr extends c.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=Rr.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Rr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Rr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=$(n,"options",{}),a=$(n,"features",{}),l=$(n,"filter",null),u=$(n,"objects",{}),f=$(n,"clusters",{}),d=new e(s);if(d.add(a||[]),d.setFilter(l),d.objects.options.set(u),d.clusters.options.set(f),Object.keys(i).forEach(p=>An(d,p,i[p])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(d);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount ObjectManager");o.add(d)}return _e(null,r,d),d}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options");l!==u&&e.options.set(u)}if(Xe(r,"objects")){const l=$(n,"objects"),u=$(r,"objects");l!==u&&e.objects.options.set(u)}if(Xe(r,"clusters")){const l=$(n,"clusters"),u=$(r,"clusters");l!==u&&e.clusters.options.set(u)}if(Xe(r,"filter")){const l=$(n,"filter"),u=$(r,"filter");l!==u&&e.setFilter(u)}if(Xe(r,"features")){const l=$(n,"features"),u=$(r,"features");l!==u&&(e.remove(l),e.add(u))}nr(e,s,o),_e(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>On(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),_e(r))}}var AE=ga(td(ha(Rr,!0,["ObjectManager"])));class qr extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:r}=this.props,o=qr.mountObject(r&&typeof r.modifyConstructor=="function"?r.modifyConstructor(n[e]):n[e],this.props);this.instance=o,this.setState({instance:o})}componentDidUpdate(e){this.instance!==null&&qr.updateObject(this.instance,e,this.props)}componentWillUnmount(){qr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e($(n,"geometry"),$(n,"properties"),$(n,"options"));if(Object.keys(i).forEach(a=>An(s,a,i[a])),o&&o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(s)}return _e(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(Xe(r,"geometry")){const l=$(n,"geometry",{}),u=$(r,"geometry",{});Array.isArray(u)&&u!==l?Array.isArray(u[0])&&typeof u[1]=="number"?(e.geometry.setCoordinates(u[0]),e.geometry.setRadius(u[1])):e.geometry.setCoordinates(u):typeof u=="object"&&(u.coordinates!==l.coordinates&&e.geometry.setCoordinates(u.coordinates),u.radius!==l.radius&&e.geometry.setRadius(u.radius))}if(Xe(r,"properties")){const l=$(n,"properties"),u=$(r,"properties");l!==u&&e.properties.set(u)}if(Xe(r,"options")){const l=$(n,"options"),u=$(r,"options");l!==u&&e.options.set(u)}nr(e,s,o),_e(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>On(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),_e(r))}}var ad=ga(td(ha(t=>c.createElement(qr,xn({},t,{name:"Placemark"})),!0,["Placemark"])));const ld=(t,e,n)=>t==null?void 0:t.map(r=>{var o;return{id:r.uid,type:"Feature",properties:{point:r},geometry:{type:"Point",coordinates:[r.location.latitude,r.location.longitude]},options:{hideIconOnBalloonOpen:!1,preset:xi(r.type),balloonOffset:[0,-jn[1]],balloonContentLayout:(o=e==null?void 0:e.templateLayoutFactory)==null?void 0:o.createClass(n)}}}),xi=(t,e)=>t===30?`custom#pin-postmat${e?`__${e}`:""}`:`custom#pin-pvz${e?`__${e}`:""}`,Jr=t=>[-(t[0]/2),-t[1]],OE={en:"en_US",ru:"ru_RU"},ME={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},PE=["templateLayoutFactory","option.presetStorage","geocode"],kE=["objectManager.addon.objectsBalloon"],ud=["geoObject.addon.balloon"],IE={yandexMapDisablePoiInteractivity:!1},DE={clusterize:!0},cd={iconImageSize:Vt,iconLayout:"default#image",hideIconOnBalloonOpen:!1,iconImageHref:Vf,balloonOffset:[0,-Vt[1]],iconImageOffset:Jr(Vt)},va={root:"MapYandex-module__root__r3kDJ8",overlay:"MapYandex-module__overlay__f7UGYS",details:"MapYandex-module__details__E3bDvL"},TE=({className:t})=>{const{t:e}=St(["courier_balloon","common"]),n=c.useRef(),r=c.useRef(null),{map:o,locale:i,disableCourierDelivery:s,hideMapUI:a,onPointClick:l}=Lt(),[u,f]=c.useState(null),[d,p]=c.useState([]),[g,m]=c.useState(DE),h=Un(B=>B.place),S=tt(B=>B.zoom),C=tt(B=>B.setLoaded),b=tt(B=>B.setDetailsOpen),y=En(),A=jt(B=>B.points),E=jt(B=>B.loading),v=jt(B=>B.loadNext),x=Qt(B=>B.courierPoint),w=Qt(B=>B.setCourierPoint),M=Wt(B=>B.location),O=Wt(B=>B.setSelectedPoint),P=Wt(B=>B.setSelectPointHook),T=c.useRef([]),z=c.useMemo(()=>Ui.renderToString(L.jsx(_f,{SSR:!0})).replace("{ choose }",e("choose")).replace("{ details }",e("details")),[e,i]),Q=c.useMemo(()=>Ui.renderToString(L.jsx(fa,{SSR:!0,variant:"default"})).replace("{ details }",e("details",{ns:"common"})).replace("{ courier_balloon.title }",e("title")),[e,i]),K=c.useMemo(()=>Ui.renderToString(L.jsx(fa,{SSR:!0,variant:"error"})).replace("{ courier_balloon.error_title }",e("error_title")).replace("{ courier_balloon.error_description }",e("error_description")),[e,i]),J=c.useMemo(()=>({zoom:_a,center:(o==null?void 0:o.center)??Xi,behaviors:["default","scrollZoom"]}),[o==null?void 0:o.center]);c.useEffect(()=>{var B,R;(R=n.current)==null||R.events.fire("boundschange",{newBounds:(B=n.current)==null?void 0:B.getBounds()})},[u]),c.useEffect(()=>{if(!u||!r.current)return;T.current.forEach(R=>{var X;R.id!==(M==null?void 0:M.uid)&&((X=r.current)==null||X.remove(R))});const B=ld(A,u,z);T.current=B,r.current.add(B)},[z,u,A,M==null?void 0:M.uid]),c.useEffect(()=>{var X,re,pe,oe,le;if(!h)return;const B=(re=(X=h.geometry)==null?void 0:X.location)==null?void 0:re.lng(),R=(oe=(pe=h.geometry)==null?void 0:pe.location)==null?void 0:oe.lat();!R||!B||(le=n.current)==null||le.setCenter([R,B],S,{duration:300,timingFunction:"ease-in-out"})},[h]);const G=c.useCallback(B=>{const R=B.get("newBounds");v([[R[0][0],R[1][0]],[R[0][1],R[1][1]]],y)},[y,v]),W=c.useRef(M),D=c.useCallback(B=>{var R,X,re,pe;f(B),C(!0),(R=B==null?void 0:B.option)==null||R.presetStorage.add("custom#pin-postmat",{iconImageSize:Vt,iconLayout:"default#image",iconImageHref:pa,iconImageOffset:Jr(Vt)}),(X=B==null?void 0:B.option)==null||X.presetStorage.add("custom#pin-postmat__active",{iconLayout:"default#image",iconImageHref:pa,iconImageSize:jn,iconImageOffset:Jr(jn)}),(re=B==null?void 0:B.option)==null||re.presetStorage.add("custom#pin-pvz",{iconImageSize:Vt,iconLayout:"default#image",iconImageHref:da,iconImageOffset:Jr(Vt)}),(pe=B==null?void 0:B.option)==null||pe.presetStorage.add("custom#pin-pvz__active",{iconLayout:"default#image",iconImageHref:da,iconImageSize:jn,iconImageOffset:Jr(jn)}),m(oe=>{const le=window.getComputedStyle(document.getElementById(bc)).getPropertyValue("--color-primary");return{...oe,clusterIconColor:le}}),p(ld(A,B,z))},[z,A,C]),k=c.useCallback(B=>{var R,X;B&&((R=n.current)==null||R.setCenter([B.location.latitude,B.location.longitude],lo,{duration:300,timingFunction:"ease-in-out"}),(X=r.current)==null||X.objects.events.fire("click",{objectId:B.uid}))},[]);c.useEffect(()=>{P(k)},[k,P]);const I=c.useCallback(()=>{b(!0)},[b]),H=c.useCallback(()=>{var B;W.current&&(l(W.current),b(!1),O(null),w(null),(B=n.current)==null||B.balloon.close())},[l,w,b,O]),F=c.useCallback(()=>{var B,R;(B=document.getElementById(ao))==null||B.addEventListener("click",I),(R=document.getElementById(_i))==null||R.addEventListener("click",H)},[H,I]),V=c.useCallback(B=>{var X,re,pe,oe,le,Se;const R=B.get("objectId");((X=W.current)==null?void 0:X.uid)===R&&((oe=r.current)==null||oe.objects.setObjectOptions((re=W.current)==null?void 0:re.uid,{preset:xi((pe=W.current)==null?void 0:pe.type)}),w(null),O(null),w(null),W.current=null),(le=document.getElementById(ao))==null||le.removeEventListener("click",I),(Se=document.getElementById(_i))==null||Se.removeEventListener("click",H)},[H,I,w,O]),te=c.useCallback(B=>{var pe,oe,le,Se;const R=B.get("objectId"),X=(oe=(pe=r.current)==null?void 0:pe.objects)==null?void 0:oe.getById(R);if(!X)return;const re=X.properties.point;b(!1),w(null),O(re),(le=r.current)==null||le.objects.each(Oe=>{var ae;const Me=Oe;(ae=r.current)==null||ae.objects.setObjectOptions(Me.id,{preset:xi(Me.properties.point.type)})}),(Se=r.current)==null||Se.objects.setObjectOptions(R,{preset:xi(re.type,"active")}),W.current=re},[w,b,O]),j=c.useCallback(async B=>{if(!u||s)return;const R=B.get("coords"),{geoObjects:X}=await u.geocode(R),re=X.get(0),pe=re.getAddressLine(),oe=re.properties.get("metaDataProperty.GeocoderMetaData.precision",{});if(O(null),oe!=="exact"){w({coords:R,address:null});return}w({coords:R,address:pe})},[s,u,w,O]),ne=c.useMemo(()=>{var B;return{...cd,balloonContentLayout:(B=u==null?void 0:u.templateLayoutFactory)==null?void 0:B.createClass(Q)}},[Q,u==null?void 0:u.templateLayoutFactory]),ue=c.useMemo(()=>{var B;return{...cd,balloonContentLayout:(B=u==null?void 0:u.templateLayoutFactory)==null?void 0:B.createClass(K)}},[K,u==null?void 0:u.templateLayoutFactory]),Z=c.useCallback(B=>{var R,X,re,pe,oe;(R=B==null?void 0:B.balloon)==null||R.open(),(re=(X=B==null?void 0:B.balloon)==null?void 0:X.events)==null||re.add("open",F),(oe=(pe=B==null?void 0:B.balloon)==null?void 0:pe.events)==null||oe.add("close",V)},[V,F]);return L.jsxs("div",{className:ke(va.root,t,{[va.hideUI]:a}),children:[L.jsx(LE,{query:{...ME,lang:OE[i??"ru"]},children:L.jsxs(sd,{width:"100%",height:"100%",state:J,instanceRef:n,options:IE,modules:PE,onLoad:D,onClick:j,onBoundsChange:G,children:[(x==null?void 0:x.address)&&L.jsx(ad,{properties:x,modules:ud,geometry:x.coords,options:ne,instanceRef:Z},JSON.stringify(x.coords)),x&&!x.address&&L.jsx(ad,{modules:ud,geometry:x.coords,instanceRef:Z,options:ue},JSON.stringify(x.coords)),L.jsx(AE,{features:d,instanceRef:r,modules:kE,options:g,onClick:te,onBalloonOpen:F,onBalloonClose:V})]})},i),E&&L.jsx(vi,{className:va.overlay,children:L.jsx(mi,{})})]})},BE=c.memo(TE),NE=t=>({google:bE,yandex:BE})[t];function fd(...t){return c.useCallback(e=>{for(let n=0;n<t.length;n++){const r=t[n];typeof r=="function"?r(e):r&&typeof r=="object"&&(r.current=e)}},t)}const Ai=t=>{const e=c.useCallback(()=>{var n;(n=t==null?void 0:t.onClick)==null||n.call(t,t.name)},[t]);return{ref:t==null?void 0:t.ref,name:t==null?void 0:t.name,onClick:e}},jE={getInitialValueInEffect:!0};function UE(t,e){try{return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}catch{return t.addListener(e),()=>t.removeListener(e)}}function HE(t,e){return typeof e=="boolean"?e:typeof window<"u"&&"matchMedia"in window?window.matchMedia(t).matches:!1}function zE(t,e,{getInitialValueInEffect:n}=jE){const[r,o]=c.useState(n?!!e:HE(t,e)),i=c.useRef();return c.useEffect(()=>{if("matchMedia"in window)return i.current=window.matchMedia(t),o(i.current.matches),UE(i.current,s=>o(s.matches))},[t]),r}const FE={screenSm:"640px",screenMd:"768px",screenLg:"1024px",screenXl:"1280px",screen2Xl:"1536px"};function rr(t){return zE(`(max-width: calc(${FE[t]} - 1px))`)}const GE={root:"Hr-module__root__tBRShh"},ma=({className:t,...e})=>L.jsx("hr",{className:ke(GE.root,t),...e}),Kt={root:"Sidebar-module__root__hxXudu",closeButton:"Sidebar-module__closeButton__8k-Ph3",open:"Sidebar-module__open__qMGUBV",header:"Sidebar-module__header__Eu-wRc",typeFilter:"Sidebar-module__typeFilter__-lxVdY",separator:"Sidebar-module__separator__XDb6rs",withRightPadding:"Sidebar-module__withRightPadding__knvmuY",sheetContent:"Sidebar-module__sheetContent__4iWeTf",doneButton:"Sidebar-module__doneButton__chvXVP"},VE=()=>{const{t}=St("common"),e=rr("screenSm"),n=fr(o=>o.toggle),r=()=>{n(!1)};return L.jsxs("div",{className:Kt.header,children:[e&&L.jsx("div",{className:Kt.doneButton,onClick:r,children:t("done")}),!e&&L.jsx(bi,{className:Kt.closeButton,onClick:r})]})},Oi={root:"TypeFilter-module__root__FEaBBU",button:"TypeFilter-module__button__RYOzBQ"},QE=({value:t,onChange:e,className:n})=>{const{t:r}=St("type_filter"),o=i=>()=>e==null?void 0:e(i);return L.jsxs("div",{className:ke(Oi.root,n),children:[L.jsx(yt,{className:Oi.button,variant:t===rn.All?"primary":"secondary",onClick:o(rn.All),children:r("all")}),L.jsx(yt,{className:Oi.button,variant:t===rn.PostOffice?"primary":"secondary",onClick:o(rn.PostOffice),children:r("post_office")}),L.jsx(yt,{className:Oi.button,variant:t===rn.PickPoint?"primary":"secondary",onClick:o(rn.PickPoint),children:r("pick_point")})]})},YE=({className:t,onChange:e})=>{const n=En(r=>r.type);return L.jsx(QE,{value:n,className:t,onChange:e})},WE=c.memo(YE),dd={root:"Radio-module__root__FMbfCi",label:"Radio-module__label__-LLJSR"},KE=({label:t,className:e,labelProps:n={},...r})=>{const{className:o,...i}=n;return L.jsxs("label",{className:ke(dd.label,o),...i,children:[L.jsx("input",{type:"radio",className:ke(dd.root,e),...r}),t]})},or=t=>L.jsx(KE,{...t,type:"checkbox"}),ya={root:"RadioGroup-module__root__wNjmrq",body:"RadioGroup-module__body__n4Ho0-",legend:"RadioGroup-module__legend__ECksBN"},pd=({label:t,value:e,onChange:n,children:r,className:o,...i})=>L.jsxs("div",{className:ke(ya.root,o),...i,children:[t&&L.jsx("span",{className:ya.legend,children:t}),L.jsx("div",{className:ya.body,children:c.Children.map(r,s=>c.isValidElement(s)?c.cloneElement(s,{checked:!!(e!=null&&e[s.props.value]),onChange:a=>n==null?void 0:n({...e,[a.target.value]:a.target.checked})}):null)})]}),RE=({className:t,onChange:e})=>{const{t:n}=St("send_filter"),r=En(o=>o.send);return L.jsxs(pd,{className:t,value:r,label:n("title"),onChange:e,children:[L.jsx(or,{name:"send",value:Nt.Return,label:n("sending_returns")}),L.jsx(or,{name:"send",value:Nt.Shipping,label:n("shipping")}),L.jsx(or,{name:"send",value:Nt.Payment,label:n("payment")})]})},qE=c.memo(RE),JE=({className:t,onChange:e})=>{const{t:n}=St("receive_filter"),r=En(o=>o.receive);return L.jsxs(pd,{value:r,label:n("title"),onChange:e,className:t,children:[L.jsx(or,{name:"receive",value:Bt.DressingRoom,label:n("dressing_room")}),L.jsx(or,{name:"receive",value:Bt.CheckOrder,label:n("check_order")}),L.jsx(or,{name:"receive",value:Bt.PayByCash,label:n("pay_by_cash")})]})},ZE=c.memo(JE),TS="",XE=({className:t})=>{const e=rr("screenSm"),n=fr(l=>l.open),r=En(l=>l.setFilter),o=c.useCallback(l=>r({type:l}),[r]),i=c.useCallback(l=>r({send:l}),[r]),s=c.useCallback(l=>r({receive:l}),[r]),a=L.jsxs(L.Fragment,{children:[L.jsx(VE,{}),L.jsxs("div",{className:Kt.withRightPadding,children:[L.jsx(WE,{className:Kt.typeFilter,onChange:o}),L.jsx(ma,{className:Kt.separator}),L.jsx(ZE,{onChange:s}),L.jsx(ma,{}),L.jsx(qE,{onChange:i}),L.jsx(ma,{})]})]});return e?L.jsx(Gu,{open:n,snapPoints:({maxHeight:l})=>l-Qf,children:L.jsx("div",{className:Kt.sheetContent,children:a})}):L.jsx("div",{className:ke(Kt.root,t,{[Kt.open]:n}),children:a})},_E=t=>be.createElement("svg",{width:60,height:40,viewBox:"0 0 60 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("path",{d:"M0 0H52C56.4183 0 60 3.58172 60 8V32C60 36.4183 56.4183 40 52 40H0V0Z",fill:"none"}),be.createElement("path",{d:"M32.093 10H45.907C47.0581 10 48 10.9092 48 12.0205V14.2431C48 15.0513 47.4767 16.0615 46.9535 16.5667L42.4535 20.4056C41.8256 20.9108 41.407 21.921 41.407 22.7292V27.0733C41.407 27.6795 40.9884 28.4877 40.4651 28.7908L39 29.7C37.6395 30.5082 35.7558 29.599 35.7558 27.9826V22.6282C35.7558 21.921 35.3372 21.0118 34.9186 20.5067L30.9419 16.4656C30.4186 15.9605 30 15.0513 30 14.4451V12.1215C30 10.9092 30.9419 10 32.093 10Z",stroke:"white",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),$E=t=>be.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("g",{id:"Filtr_mob"},be.createElement("rect",{id:"bg",width:28,height:28,rx:4,fill:"#333333"}),be.createElement("path",{id:"Vector",d:"M9.16507 7H18.8348C19.6406 7 20.3 7.63646 20.3 8.41436V9.97015C20.3 10.5359 19.9337 11.2431 19.5674 11.5967L16.4174 14.2839C15.9779 14.6375 15.6848 15.3447 15.6848 15.9105V18.9513C15.6848 19.3756 15.3918 19.9414 15.0255 20.1535L14 20.79C13.0476 21.3557 11.729 20.7193 11.729 19.5878V15.8397C11.729 15.3447 11.436 14.7083 11.143 14.3547L8.35925 11.5259C7.99297 11.1724 7.69995 10.5359 7.69995 10.1116V8.48508C7.69995 7.63646 8.35925 7 9.16507 7Z",stroke:"white",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))),zt={root:"MapContainer-module__root__nze9pB",mapWrapper:"MapContainer-module__mapWrapper__twRo4C",locationSelector:"MapContainer-module__locationSelector__lEiSKq",filterButton:"MapContainer-module__filterButton__jIRGu9",sidebarOpen:"MapContainer-module__sidebarOpen__sUhaH-",filterIcon:"MapContainer-module__filterIcon__-2Qd2d",details:"MapContainer-module__details__sAP6T2",mobileWrapper:"MapContainer-module__mobileWrapper__qasSNN",wrapperBlurred:"MapContainer-module__wrapperBlurred__U-Ohae"},ew=()=>{const t=fr(o=>o.open),e=fr(o=>o.toggle),n=rr("screenSm"),r=()=>{e(!0)};return L.jsxs("div",{className:ke(zt.filterButton,{[zt.sidebarOpen]:t}),onClick:n?void 0:r,children:[n&&L.jsx(tl,{}),n?L.jsx($E,{className:zt.filterIcon,onClick:r}):L.jsx(_E,{className:zt.filterIcon})]})};var hd={},Mi={},gd={exports:{}},tw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",nw=tw,rw=nw;function vd(){}function md(){}md.resetWarningCache=vd;var ow=function(){function t(r,o,i,s,a,l){if(l!==rw){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:md,resetWarningCache:vd};return n.PropTypes=n,n};gd.exports=ow();var iw=gd.exports,Pi={},ir={};Object.defineProperty(ir,"__esModule",{value:!0}),ir.loadGoogleMapScript=ir.isBrowser=void 0;var yd=typeof window<"u"&&window.document;ir.isBrowser=yd;var sw=function(e,n){if(!yd||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var r=document.querySelectorAll('script[src*="'.concat(e,'"]'));if(r&&r.length)return new Promise(function(s){if(typeof google<"u")return s();r[0].addEventListener("load",function(){return s()})});var o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var i=document.createElement("script");return i.src=o.toString(),new Promise(function(s){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=s,document.body.appendChild(i)})};ir.loadGoogleMapScript=sw;var ki={};Object.defineProperty(ki,"__esModule",{value:!0}),ki.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var aw="https://maps.googleapis.com/maps/api/js";ki.GOOGLE_MAP_SCRIPT_BASE_URL=aw;function Ii(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ii=function(n){return typeof n}:Ii=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ii(t)}Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.default=pw;var ft=uw(c),ba=ir,lw=ki;function bd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(bd=function(o){return o?n:e})(t)}function uw(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Ii(t)!=="object"&&typeof t!="function")return{default:t};var n=bd(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Ed(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wd(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ed(Object(n),!0).forEach(function(r){cw(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function cw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fw(t,e){if(t==null)return{};var n=dw(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function dw(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function pw(t){var e=t.ref,n=t.onPlaceSelected,r=t.apiKey,o=t.libraries,i=o===void 0?"places":o,s=t.inputAutocompleteValue,a=s===void 0?"new-password":s,l=t.options;l=l===void 0?{}:l;var u=l.types,f=u===void 0?["(cities)"]:u,d=l.componentRestrictions,p=l.fields,g=p===void 0?["address_components","geometry.location","place_id","formatted_address"]:p,m=l.bounds,h=fw(l,["types","componentRestrictions","fields","bounds"]),S=t.googleMapsScriptBaseUrl,C=S===void 0?lw.GOOGLE_MAP_SCRIPT_BASE_URL:S,b=t.language,y=(0,ft.useRef)(null),A=(0,ft.useRef)(null),E=(0,ft.useRef)(null),v=(0,ft.useRef)(null),x=b?"&language=".concat(b):"",w="".concat(C,"?libraries=").concat(i,"&key=").concat(r).concat(x),M=(0,ft.useCallback)(function(){return(0,ba.loadGoogleMapScript)(C,w)},[C,w]);return(0,ft.useEffect)(function(){var O=wd(wd({},h),{},{fields:g,types:f,bounds:m});if(d&&(O.componentRestrictions=d),!(E.current||!y.current||!ba.isBrowser)){e&&!e.current&&(e.current=y.current);var P=function(){var z;if(typeof google>"u")return console.error("Google has not been found. Make sure your provide apiKey prop.");if(!((z=google.maps)!==null&&z!==void 0&&z.places))return console.error("Google maps places API must be loaded.");if(!y.current instanceof HTMLInputElement)return console.error("Input ref must be HTMLInputElement.");E.current=new google.maps.places.Autocomplete(y.current,O),E.current&&(A.current=E.current.addListener("place_changed",function(){n&&E&&E.current&&n(E.current.getPlace(),y.current,E.current)}))};return r?M().then(function(){return P()}):P(),function(){return A.current?A.current.remove():void 0}}},[]),(0,ft.useEffect)(function(){var O;!(ft.default!==null&&ft.default!==void 0&&(O=ft.default.version)!==null&&O!==void 0&&O.startsWith("18"))&&ba.isBrowser&&window.MutationObserver&&y.current&&y.current instanceof HTMLInputElement&&(v.current=new MutationObserver(function(){v.current.disconnect(),y.current&&(y.current.autocomplete=a)}),v.current.observe(y.current,{attributes:!0,attributeFilter:["autocomplete"]}))},[a]),(0,ft.useEffect)(function(){E.current&&E.current.setFields(g)},[g]),(0,ft.useEffect)(function(){E.current&&E.current.setBounds(m)},[m]),(0,ft.useEffect)(function(){E.current&&E.current.setComponentRestrictions(d)},[d]),(0,ft.useEffect)(function(){E.current&&E.current.setOptions(h)},[h]),{ref:y,autocompleteRef:E}}function Di(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Di=function(n){return typeof n}:Di=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Di(t)}Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.default=void 0;var Ea=gw(c),Ke=Cd(iw),hw=Cd(Pi);function Cd(t){return t&&t.__esModule?t:{default:t}}function Sd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Sd=function(o){return o?n:e})(t)}function gw(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Di(t)!=="object"&&typeof t!="function")return{default:t};var n=Sd(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Ti(){return Ti=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ti.apply(this,arguments)}function vw(t,e){if(t==null)return{};var n=mw(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function mw(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Ld(t){var e=t.onPlaceSelected,n=t.apiKey,r=t.libraries,o=t.inputAutocompleteValue,i=t.options,s=t.googleMapsScriptBaseUrl,a=t.refProp,l=t.language,u=vw(t,["onPlaceSelected","apiKey","libraries","inputAutocompleteValue","options","googleMapsScriptBaseUrl","refProp","language"]),f=(0,hw.default)({ref:a,googleMapsScriptBaseUrl:s,onPlaceSelected:e,apiKey:n,libraries:r,inputAutocompleteValue:o,options:i,language:l}),d=f.ref;return Ea.default.createElement("input",Ti({ref:d},u))}Ld.propTypes={apiKey:Ke.default.string,libraries:Ke.default.arrayOf(Ke.default.string),ref:Ke.default.oneOfType([Ke.default.func,Ke.default.shape({current:Ke.default.any})]),googleMapsScriptBaseUrl:Ke.default.string,onPlaceSelected:Ke.default.func,inputAutocompleteValue:Ke.default.string,options:Ke.default.shape({componentRestrictions:Ke.default.object,bounds:Ke.default.object,location:Ke.default.object,offset:Ke.default.number,origin:Ke.default.object,radius:Ke.default.number,sessionToken:Ke.default.object,types:Ke.default.arrayOf(Ke.default.string)}),language:Ke.default.string};var yw=(0,Ea.forwardRef)(function(t,e){return Ea.default.createElement(Ld,Ti({},t,{refProp:e}))});Mi.default=yw,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"usePlacesWidget",{enumerable:!0,get:function(){return n.default}});var e=r(Mi),n=r(Pi);function r(o){return o&&o.__esModule?o:{default:o}}}(hd);var xd=hd;const bw=t=>be.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},be.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6174 16.0317C13.0777 17.2635 11.1246 18 8.99951 18C4.02895 18 -0.000488281 13.9706 -0.000488281 9C-0.000488281 4.02944 4.02895 0 8.99951 0C13.9701 0 17.9995 4.02944 17.9995 9C17.9995 11.1249 17.2631 13.0778 16.0316 14.6175L19.707 18.2929C20.0975 18.6834 20.0975 19.3166 19.707 19.7071C19.3165 20.0977 18.6833 20.0977 18.2928 19.7071L14.6174 16.0317ZM1.99951 9C1.99951 5.13401 5.13352 2 8.99951 2C12.8655 2 15.9995 5.13401 15.9995 9C15.9995 10.8866 15.2532 12.5988 14.0397 13.8577C14.006 13.8836 13.9737 13.9121 13.9428 13.9429C13.9119 13.9738 13.8835 14.0062 13.8575 14.0399C12.5986 15.2535 10.8863 16 8.99951 16C5.13352 16 1.99951 12.866 1.99951 9Z",fill:"currentcolor"})),sr={root:"Input-module__root__4cwtKq",endAdornment:"Input-module__endAdornment__Tv4vyT",input:"Input-module__input__qeMAQB",startAdornment:"Input-module__startAdornment__4bXzn1",label:"Input-module__label__N2eUZ2",inputContainer:"Input-module__inputContainer__Ticemx"},Ad=c.forwardRef(({label:t,className:e,startAdornment:n,endAdornment:r,onChange:o,onBlur:i,inputRef:s,...a},l)=>{const u=c.useRef(null);c.useImperativeHandle(l,()=>({focus:()=>{var d;(d=u.current)==null||d.focus()},blur:()=>{var d;(d=u.current)==null||d.blur()},setValue:d=>{if(o){o({target:{value:d}});return}if(i){i({target:{value:d}});return}u.current&&(u.current.value=d)}}),[i,o]);const f=fd(s,u);return L.jsxs("label",{className:ke(sr.root,e),children:[t&&L.jsx("span",{className:sr.label,children:t}),L.jsxs("div",{className:sr.inputContainer,children:[n&&L.jsx("div",{className:sr.startAdornment,children:n}),L.jsx("input",{...a,ref:f,className:sr.input,onChange:o,onBlur:i}),r&&L.jsx("div",{className:sr.endAdornment,children:r})]})]})}),Ew=({className:t})=>{const{t:e}=St("location_selector"),{country:n,inputs:r}=Lt(),[o,i]=c.useState(""),[s,a]=c.useState(!1),l=tt(y=>y.setZoom),u=tt(y=>y.setBlurred),f=Un(y=>y.setPlace),d=[],p=n?{componentRestrictions:{country:n},types:d}:{types:d},g=y=>{l(lo),f(y)},{ref:m}=xd.usePlacesWidget({libraries:["places"],options:p,onPlaceSelected:g,inputAutocompleteValue:o}),h=y=>{s&&u(!!y.target.value),i(y.target.value)},S=()=>{o&&u(!0),a(!0)},C=()=>{u(!1),a(!1)},b=Ai(r==null?void 0:r.address);return L.jsx(Ad,{...b,inputRef:m,value:o,className:t,endAdornment:L.jsx(bw,{}),placeholder:e("placeholder"),onChange:h,onFocus:S,onBlur:C})},ww=({className:t})=>tt(n=>n.loaded)?L.jsx(Ew,{className:t}):null,Cw=c.memo(ww),Sw={root:"CourierDetailsModal-module__root__gLu0VW"},Lw=({onClose:t,onSubmit:e,location:n,className:r})=>L.jsx("div",{className:ke(Sw.root,r),children:L.jsx(Jf,{location:n,onClose:t,onSubmit:e})}),xw={root:"LocationDetailsModal-module__root__AzUydF"},Aw=({onClose:t,onSubmit:e,location:n,className:r})=>{const o=()=>{e==null||e(n)};return L.jsx("div",{className:ke(xw.root,r),children:L.jsx(Xf,{location:n,onClose:t,onSubmit:o})})},Ow=()=>{const{onPointClick:t}=Lt(),e=tt(u=>u.detailsOpen),n=tt(u=>u.setDetailsOpen),r=Wt(u=>u.location),o=Wt(u=>u.setSelectedPoint),i=Qt(u=>u.courierPoint),s=Qt(u=>u.setCourierPoint),a=c.useCallback(()=>{n(!1)},[n]),l=c.useCallback(u=>{t(u),n(!1),o(null),s(null)},[t,s,n,o]);return L.jsxs(L.Fragment,{children:[(i==null?void 0:i.address)&&e&&L.jsx(Lw,{location:i,className:zt.details,onClose:a,onSubmit:l}),r&&e&&L.jsx(Aw,{location:r,className:zt.details,onClose:a,onSubmit:l})]})},Mw=({className:t,children:e})=>{const n=tt(r=>r.blurred);return L.jsxs("div",{className:ke(zt.root,t),children:[L.jsx(Cw,{className:zt.locationSelector}),L.jsx(ew,{}),L.jsx("div",{className:ke(zt.mapWrapper,{[zt.wrapperBlurred]:n}),children:e}),L.jsx(Ow,{})]})},Pw=c.memo(Mw),Bi={root:"Aside-module__root__JSqCyF",open:"Aside-module__open__t8OMLZ",overlay:"Aside-module__overlay__0UAvMb",container:"Aside-module__container__KJNP0t"},kw=({open:t,children:e,className:n})=>L.jsxs("div",{className:ke(Bi.root,n,{[Bi.open]:t}),children:[L.jsx("div",{className:Bi.overlay}),L.jsx("div",{className:Bi.container,children:e})]}),wa={submit:"LocationAside-module__submit__hx8LTK",container:"LocationAside-module__container__KEGf9s",selector:"LocationAside-module__selector__ogsvtz",label:"LocationAside-module__label__-FWqoq"},Iw=()=>{const{t}=St(["location_aside","common"]),{country:e,inputs:n}=Lt(),r=c.useRef(null),o=tt(h=>h.setZoom),i=Un(h=>h.setPlace),[s,a]=c.useState(""),l=co(h=>h.open),u=co(h=>h.toggle),f=h=>{u(!1),o(th),i(h),h!=null&&h.formatted_address&&a(h==null?void 0:h.formatted_address)},d=e?{componentRestrictions:{country:e}}:void 0,p=h=>{a(h.target.value)},{ref:g}=xd.usePlacesWidget({libraries:["places"],options:d,onPlaceSelected:f,apiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",inputAutocompleteValue:s}),m=Ai(n==null?void 0:n.city);return L.jsx(kw,{open:l,children:L.jsx("div",{ref:r,className:wa.container,children:L.jsxs("div",{className:wa.selector,children:[L.jsx("div",{className:wa.label,children:t("choose_city")}),L.jsx(Ad,{...m,inputRef:g,value:s,placeholder:t("placeholder"),onChange:p})]})})})},Dw=c.memo(Iw),Tw=t=>{const e=Ap(["language"]);c.useEffect(()=>{t&&e.changeLanguage(t)},[t,e])},Bw=t=>{c.useEffect(()=>{t&&Object.keys(t).forEach(n=>{const r=t[n];r&&Zs(`--color-${n}`,r)})},[t])},Nw=t=>{c.useEffect(()=>{t&&typeof t<"u"&&Zs("--button-radius",`${t}px`)},[t])},jw=t=>{c.useEffect(()=>{t&&typeof t<"u"&&Zs("--font",t)},[t])},Uw=t=>{const e=co(r=>r.toggle),n=t==="selector";c.useEffect(()=>{n&&e(!0)},[n,e])},Hw=({children:t,locale:e})=>(Tw(e),L.jsx(L.Fragment,{children:t})),Od=()=>L.jsx(vi,{children:L.jsx(mi,{})}),zw=({children:t})=>{const e=jt(r=>r.loaded);return jt(r=>r.loading)&&!e?L.jsx(Od,{}):L.jsx(L.Fragment,{children:t})},Ca={map:"Widget-module__map__GhmuPO",sidebar:"Widget-module__sidebar__5gQrb3",header:"Widget-module__header__QlBK5m"},Fw=({config:t,options:e})=>{const n=O0(t),{map:r,font:o,radius:i,locale:s,palette:a,startScreen:l,INN:u}=n;xa(u,"INN is required"),M0(u,e),xa(r==null?void 0:r.provider,"Map provider is required");const f=NE(r.provider);return p0(),jw(o),Bw(a),Nw(i),Uw(l),L.jsx(Cp,{tolgee:Op,fallback:L.jsx(Od,{}),children:L.jsx(Hw,{locale:s,children:L.jsx(zw,{children:L.jsx(el.Provider,{value:n,children:L.jsxs(dh,{children:[L.jsx(ch,{className:Ca.header}),L.jsx(XE,{className:Ca.sidebar}),L.jsx(Pw,{className:Ca.map,children:L.jsx(f,{})}),L.jsx(Dw,{})]})})})})})};kt.Widget=Fw,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"})});
|
|
100
|
+
</svg>`,a=`Cluster of ${e} markers`,u=Number(google.maps.Marker.MAX_ZINDEX)+e;if(mt.isAdvancedMarkerAvailable(o)){const f=document.createElement("div");f.innerHTML=s;const d=f.firstElementChild;d.setAttribute("transform","translate(0 25)");const h={map:o,position:n,zIndex:u,title:a,content:d};return new google.maps.marker.AdvancedMarkerElement(h)}const l={position:n,zIndex:u,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(s)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(l)}}function Ub(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class pa{constructor(){Ub(pa,google.maps.OverlayView)}}var qr;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(qr||(qr={}));const Hb=(t,e,n)=>{n.fitBounds(e.bounds)};class zb extends pa{constructor({map:e,markers:n=[],algorithmOptions:r={},algorithm:o=new Bb(r),renderer:i=new jb,onClusterClick:s=Hb}){super(),this.markers=[...n],this.clusters=[],this.algorithm=o,this.renderer=i,this.onClusterClick=s,e&&this.setMap(e)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(r=>{this.addMarker(r,!0)}),n||this.render()}removeMarker(e,n){const r=this.markers.indexOf(e);return r===-1?!1:(mt.setMap(e,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(e,n){let r=!1;return e.forEach(o=>{r=this.removeMarker(o,!0)||r}),r&&!n&&this.render(),r}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,qr.CLUSTERING_BEGIN,this);const{clusters:n,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||r==null){const o=new Set;for(const s of n)s.markers.length==1&&o.add(s.markers[0]);const i=[];for(const s of this.clusters)s.marker!=null&&(s.markers.length==1?o.has(s.marker)||mt.setMap(s.marker,null):i.push(s.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>i.forEach(s=>mt.setMap(s,null)))}google.maps.event.trigger(this,qr.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>mt.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Nb(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(r=>{r.markers.length===1?r.marker=r.markers[0]:(r.marker=this.renderer.render(r,e,n),r.markers.forEach(o=>mt.setMap(o,null)),this.onClusterClick&&r.marker.addListener("click",o=>{google.maps.event.trigger(this,qr.CLUSTER_CLICK,r),this.onClusterClick(o,r,n)})),mt.setMap(r.marker,n)})}}function Fb(t){var e=K0(),n=c.useState(null),r=n[0],o=n[1];return c.useEffect(function(){if(e&&r===null){var i=new zb(te(te({},t),{map:e}));o(i)}},[e]),r}function Vb(t){var e=t.children,n=t.options,r=Fb(n);return r!==null?e(r):null}c.memo(Vb);var mf={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},yf={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Gb(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,u=t.onContentChanged,l=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(he),v=c.useState(null),p=v[0],w=v[1],E=c.useState(null),m=E[0],b=E[1],O=c.useState(null),S=O[0],y=O[1],C=c.useState(null),A=C[0],P=C[1],M=c.useState(null),x=M[0],k=M[1],N=c.useState(null),z=N[0],Q=N[1],R=c.useRef(null);return c.useEffect(function(){p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){o&&p!==null&&p.setPosition(o)},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(m!==null&&google.maps.event.removeListener(m),b(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),y(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&u&&(A!==null&&google.maps.event.removeListener(A),P(google.maps.event.addListener(p,"content_changed",u)))},[u]),c.useEffect(function(){p&&l&&(x!==null&&google.maps.event.removeListener(x),k(google.maps.event.addListener(p,"position_changed",l)))},[l]),c.useEffect(function(){p&&f&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){var G=new google.maps.InfoWindow(te({},r||{}));return w(G),R.current=document.createElement("div"),s&&b(google.maps.event.addListener(G,"closeclick",s)),a&&y(google.maps.event.addListener(G,"domready",a)),u&&P(google.maps.event.addListener(G,"content_changed",u)),l&&k(google.maps.event.addListener(G,"position_changed",l)),f&&Q(google.maps.event.addListener(G,"zindex_changed",f)),G.setContent(R.current),o&&G.setPosition(o),i&&G.setZIndex(i),n?G.open(g,n):G.getPosition()?G.open(g):Ke(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(G),function(){m&&google.maps.event.removeListener(m),A&&google.maps.event.removeListener(A),S&&google.maps.event.removeListener(S),x&&google.maps.event.removeListener(x),z&&google.maps.event.removeListener(z),h&&h(G),G.close()}},[]),R.current?jn.createPortal(c.Children.only(e),R.current):null}c.memo(Gb);var bf=function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoWindow:null},n.open=function(r,o){o?r.open(n.context,o):r.getPosition()?r.open(n.context):Ke(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},n.setInfoWindowCallback=function(){n.state.infoWindow!==null&&n.containerElement!==null&&(n.state.infoWindow.setContent(n.containerElement),n.open(n.state.infoWindow,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoWindow))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.InfoWindow(te({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=ve({updaterMap:yf,eventMap:mf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:yf,eventMap:mf,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(ye(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?jn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=he,e}(c.PureComponent),Ef={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},wf={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},visible:function(t,e){t.setVisible(e)}},Qb={};function Yb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.onDblClick,a=t.onDragEnd,u=t.onDragStart,l=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,v=t.onRightClick,p=t.onClick,w=t.onDrag,E=t.onLoad,m=t.onUnmount,b=c.useContext(he),O=c.useState(null),S=O[0],y=O[1],C=c.useState(null),A=C[0],P=C[1],M=c.useState(null),x=M[0],k=M[1],N=c.useState(null),z=N[0],Q=N[1],R=c.useState(null),G=R[0],K=R[1],T=c.useState(null),I=T[0],D=T[1],V=c.useState(null),H=V[0],Y=V[1],ne=c.useState(null),U=ne[0],ee=ne[1],le=c.useState(null),J=le[0],B=le[1],q=c.useState(null),_=q[0],re=q[1],pe=c.useState(null),oe=pe[0],ue=pe[1],Le=c.useState(null),Me=Le[0],Pe=Le[1];return c.useEffect(function(){S!==null&&S.setMap(b)},[b]),c.useEffect(function(){typeof e<"u"&&S!==null&&S.setOptions(e)},[S,e]),c.useEffect(function(){typeof n<"u"&&S!==null&&S.setDraggable(n)},[S,n]),c.useEffect(function(){typeof r<"u"&&S!==null&&S.setEditable(r)},[S,r]),c.useEffect(function(){typeof o<"u"&&S!==null&&S.setVisible(o)},[S,o]),c.useEffect(function(){typeof i<"u"&&S!==null&&S.setPath(i)},[S,i]),c.useEffect(function(){S&&s&&(A!==null&&google.maps.event.removeListener(A),P(google.maps.event.addListener(S,"dblclick",s)))},[s]),c.useEffect(function(){S&&a&&(x!==null&&google.maps.event.removeListener(x),k(google.maps.event.addListener(S,"dragend",a)))},[a]),c.useEffect(function(){S&&u&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(S,"dragstart",u)))},[u]),c.useEffect(function(){S&&l&&(G!==null&&google.maps.event.removeListener(G),K(google.maps.event.addListener(S,"mousedown",l)))},[l]),c.useEffect(function(){S&&f&&(I!==null&&google.maps.event.removeListener(I),D(google.maps.event.addListener(S,"mousemove",f)))},[f]),c.useEffect(function(){S&&d&&(H!==null&&google.maps.event.removeListener(H),Y(google.maps.event.addListener(S,"mouseout",d)))},[d]),c.useEffect(function(){S&&h&&(U!==null&&google.maps.event.removeListener(U),ee(google.maps.event.addListener(S,"mouseover",h)))},[h]),c.useEffect(function(){S&&g&&(J!==null&&google.maps.event.removeListener(J),B(google.maps.event.addListener(S,"mouseup",g)))},[g]),c.useEffect(function(){S&&v&&(_!==null&&google.maps.event.removeListener(_),re(google.maps.event.addListener(S,"rightclick",v)))},[v]),c.useEffect(function(){S&&p&&(oe!==null&&google.maps.event.removeListener(oe),ue(google.maps.event.addListener(S,"click",p)))},[p]),c.useEffect(function(){S&&w&&(Me!==null&&google.maps.event.removeListener(Me),Pe(google.maps.event.addListener(S,"drag",w)))},[w]),c.useEffect(function(){var ae=new google.maps.Polyline(te(te({},e||Qb),{map:b}));return i&&ae.setPath(i),typeof o<"u"&&ae.setVisible(o),typeof r<"u"&&ae.setEditable(r),typeof n<"u"&&ae.setDraggable(n),s&&P(google.maps.event.addListener(ae,"dblclick",s)),a&&k(google.maps.event.addListener(ae,"dragend",a)),u&&Q(google.maps.event.addListener(ae,"dragstart",u)),l&&K(google.maps.event.addListener(ae,"mousedown",l)),f&&D(google.maps.event.addListener(ae,"mousemove",f)),d&&Y(google.maps.event.addListener(ae,"mouseout",d)),h&&ee(google.maps.event.addListener(ae,"mouseover",h)),g&&B(google.maps.event.addListener(ae,"mouseup",g)),v&&re(google.maps.event.addListener(ae,"rightclick",v)),p&&ue(google.maps.event.addListener(ae,"click",p)),w&&Pe(google.maps.event.addListener(ae,"drag",w)),y(ae),E&&E(ae),function(){A!==null&&google.maps.event.removeListener(A),x!==null&&google.maps.event.removeListener(x),z!==null&&google.maps.event.removeListener(z),G!==null&&google.maps.event.removeListener(G),I!==null&&google.maps.event.removeListener(I),H!==null&&google.maps.event.removeListener(H),U!==null&&google.maps.event.removeListener(U),J!==null&&google.maps.event.removeListener(J),_!==null&&google.maps.event.removeListener(_),oe!==null&&google.maps.event.removeListener(oe),m&&m(ae),ae.setMap(null)}},[]),null}c.memo(Yb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polyline:null},n.setPolylineCallback=function(){n.state.polyline!==null&&n.props.onLoad&&n.props.onLoad(n.state.polyline)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polyline(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:wf,eventMap:Ef,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:wf,eventMap:Ef,prevProps:n,nextProps:this.props,instance:this.state.polyline}))},e.prototype.componentWillUnmount=function(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),ye(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var Cf={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Sf={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},paths:function(t,e){t.setPaths(e)},visible:function(t,e){t.setVisible(e)}};function Wb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.paths,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,v=t.onMouseUp,p=t.onRightClick,w=t.onClick,E=t.onDrag,m=t.onLoad,b=t.onUnmount,O=c.useContext(he),S=c.useState(null),y=S[0],C=S[1],A=c.useState(null),P=A[0],M=A[1],x=c.useState(null),k=x[0],N=x[1],z=c.useState(null),Q=z[0],R=z[1],G=c.useState(null),K=G[0],T=G[1],I=c.useState(null),D=I[0],V=I[1],H=c.useState(null),Y=H[0],ne=H[1],U=c.useState(null),ee=U[0],le=U[1],J=c.useState(null),B=J[0],q=J[1],_=c.useState(null),re=_[0],pe=_[1],oe=c.useState(null),ue=oe[0],Le=oe[1],Me=c.useState(null),Pe=Me[0],ae=Me[1];return c.useEffect(function(){y!==null&&y.setMap(O)},[O]),c.useEffect(function(){typeof e<"u"&&y!==null&&y.setOptions(e)},[y,e]),c.useEffect(function(){typeof n<"u"&&y!==null&&y.setDraggable(n)},[y,n]),c.useEffect(function(){typeof r<"u"&&y!==null&&y.setEditable(r)},[y,r]),c.useEffect(function(){typeof o<"u"&&y!==null&&y.setVisible(o)},[y,o]),c.useEffect(function(){typeof i<"u"&&y!==null&&y.setPath(i)},[y,i]),c.useEffect(function(){typeof s<"u"&&y!==null&&y.setPaths(s)},[y,s]),c.useEffect(function(){y&&a&&(P!==null&&google.maps.event.removeListener(P),M(google.maps.event.addListener(y,"dblclick",a)))},[a]),c.useEffect(function(){y&&u&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(y,"dragend",u)))},[u]),c.useEffect(function(){y&&l&&(Q!==null&&google.maps.event.removeListener(Q),R(google.maps.event.addListener(y,"dragstart",l)))},[l]),c.useEffect(function(){y&&f&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(y,"mousedown",f)))},[f]),c.useEffect(function(){y&&d&&(D!==null&&google.maps.event.removeListener(D),V(google.maps.event.addListener(y,"mousemove",d)))},[d]),c.useEffect(function(){y&&h&&(Y!==null&&google.maps.event.removeListener(Y),ne(google.maps.event.addListener(y,"mouseout",h)))},[h]),c.useEffect(function(){y&&g&&(ee!==null&&google.maps.event.removeListener(ee),le(google.maps.event.addListener(y,"mouseover",g)))},[g]),c.useEffect(function(){y&&v&&(B!==null&&google.maps.event.removeListener(B),q(google.maps.event.addListener(y,"mouseup",v)))},[v]),c.useEffect(function(){y&&p&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(y,"rightclick",p)))},[p]),c.useEffect(function(){y&&w&&(ue!==null&&google.maps.event.removeListener(ue),Le(google.maps.event.addListener(y,"click",w)))},[w]),c.useEffect(function(){y&&E&&(Pe!==null&&google.maps.event.removeListener(Pe),ae(google.maps.event.addListener(y,"drag",E)))},[E]),c.useEffect(function(){var fe=new google.maps.Polygon(te(te({},e||{}),{map:O}));return i&&fe.setPath(i),s&&fe.setPaths(s),typeof o<"u"&&fe.setVisible(o),typeof r<"u"&&fe.setEditable(r),typeof n<"u"&&fe.setDraggable(n),a&&M(google.maps.event.addListener(fe,"dblclick",a)),u&&N(google.maps.event.addListener(fe,"dragend",u)),l&&R(google.maps.event.addListener(fe,"dragstart",l)),f&&T(google.maps.event.addListener(fe,"mousedown",f)),d&&V(google.maps.event.addListener(fe,"mousemove",d)),h&&ne(google.maps.event.addListener(fe,"mouseout",h)),g&&le(google.maps.event.addListener(fe,"mouseover",g)),v&&q(google.maps.event.addListener(fe,"mouseup",v)),p&&pe(google.maps.event.addListener(fe,"rightclick",p)),w&&Le(google.maps.event.addListener(fe,"click",w)),E&&ae(google.maps.event.addListener(fe,"drag",E)),C(fe),m&&m(fe),function(){P!==null&&google.maps.event.removeListener(P),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),K!==null&&google.maps.event.removeListener(K),D!==null&&google.maps.event.removeListener(D),Y!==null&&google.maps.event.removeListener(Y),ee!==null&&google.maps.event.removeListener(ee),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),ue!==null&&google.maps.event.removeListener(ue),b&&b(fe),fe.setMap(null)}},[]),null}c.memo(Wb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polygon:null},n.setPolygonCallback=function(){n.state.polygon!==null&&n.props.onLoad&&n.props.onLoad(n.state.polygon)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polygon(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:Sf,eventMap:Cf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Sf,eventMap:Cf,prevProps:n,nextProps:this.props,instance:this.state.polygon}))},e.prototype.componentWillUnmount=function(){this.state.polygon!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),ye(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var Lf={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"},Af={bounds:function(t,e){t.setBounds(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},visible:function(t,e){t.setVisible(e)}};function Kb(t){var e=t.options,n=t.bounds,r=t.draggable,o=t.editable,i=t.visible,s=t.onDblClick,a=t.onDragEnd,u=t.onDragStart,l=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,v=t.onRightClick,p=t.onClick,w=t.onDrag,E=t.onBoundsChanged,m=t.onLoad,b=t.onUnmount,O=c.useContext(he),S=c.useState(null),y=S[0],C=S[1],A=c.useState(null),P=A[0],M=A[1],x=c.useState(null),k=x[0],N=x[1],z=c.useState(null),Q=z[0],R=z[1],G=c.useState(null),K=G[0],T=G[1],I=c.useState(null),D=I[0],V=I[1],H=c.useState(null),Y=H[0],ne=H[1],U=c.useState(null),ee=U[0],le=U[1],J=c.useState(null),B=J[0],q=J[1],_=c.useState(null),re=_[0],pe=_[1],oe=c.useState(null),ue=oe[0],Le=oe[1],Me=c.useState(null),Pe=Me[0],ae=Me[1],fe=c.useState(null),Ve=fe[0],_e=fe[1];return c.useEffect(function(){y!==null&&y.setMap(O)},[O]),c.useEffect(function(){typeof e<"u"&&y!==null&&y.setOptions(e)},[y,e]),c.useEffect(function(){typeof r<"u"&&y!==null&&y.setDraggable(r)},[y,r]),c.useEffect(function(){typeof o<"u"&&y!==null&&y.setEditable(o)},[y,o]),c.useEffect(function(){typeof i<"u"&&y!==null&&y.setVisible(i)},[y,i]),c.useEffect(function(){typeof n<"u"&&y!==null&&y.setBounds(n)},[y,n]),c.useEffect(function(){y&&s&&(P!==null&&google.maps.event.removeListener(P),M(google.maps.event.addListener(y,"dblclick",s)))},[s]),c.useEffect(function(){y&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(y,"dragend",a)))},[a]),c.useEffect(function(){y&&u&&(Q!==null&&google.maps.event.removeListener(Q),R(google.maps.event.addListener(y,"dragstart",u)))},[u]),c.useEffect(function(){y&&l&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(y,"mousedown",l)))},[l]),c.useEffect(function(){y&&f&&(D!==null&&google.maps.event.removeListener(D),V(google.maps.event.addListener(y,"mousemove",f)))},[f]),c.useEffect(function(){y&&d&&(Y!==null&&google.maps.event.removeListener(Y),ne(google.maps.event.addListener(y,"mouseout",d)))},[d]),c.useEffect(function(){y&&h&&(ee!==null&&google.maps.event.removeListener(ee),le(google.maps.event.addListener(y,"mouseover",h)))},[h]),c.useEffect(function(){y&&g&&(B!==null&&google.maps.event.removeListener(B),q(google.maps.event.addListener(y,"mouseup",g)))},[g]),c.useEffect(function(){y&&v&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(y,"rightclick",v)))},[v]),c.useEffect(function(){y&&p&&(ue!==null&&google.maps.event.removeListener(ue),Le(google.maps.event.addListener(y,"click",p)))},[p]),c.useEffect(function(){y&&w&&(Pe!==null&&google.maps.event.removeListener(Pe),ae(google.maps.event.addListener(y,"drag",w)))},[w]),c.useEffect(function(){y&&E&&(Ve!==null&&google.maps.event.removeListener(Ve),_e(google.maps.event.addListener(y,"bounds_changed",E)))},[E]),c.useEffect(function(){var X=new google.maps.Rectangle(te(te({},e||{}),{map:O}));return typeof i<"u"&&X.setVisible(i),typeof o<"u"&&X.setEditable(o),typeof r<"u"&&X.setDraggable(r),typeof n<"u"&&X.setBounds(n),s&&M(google.maps.event.addListener(X,"dblclick",s)),a&&N(google.maps.event.addListener(X,"dragend",a)),u&&R(google.maps.event.addListener(X,"dragstart",u)),l&&T(google.maps.event.addListener(X,"mousedown",l)),f&&V(google.maps.event.addListener(X,"mousemove",f)),d&&ne(google.maps.event.addListener(X,"mouseout",d)),h&&le(google.maps.event.addListener(X,"mouseover",h)),g&&q(google.maps.event.addListener(X,"mouseup",g)),v&&pe(google.maps.event.addListener(X,"rightclick",v)),p&&Le(google.maps.event.addListener(X,"click",p)),w&&ae(google.maps.event.addListener(X,"drag",w)),E&&_e(google.maps.event.addListener(X,"bounds_changed",E)),C(X),m&&m(X),function(){P!==null&&google.maps.event.removeListener(P),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),K!==null&&google.maps.event.removeListener(K),D!==null&&google.maps.event.removeListener(D),Y!==null&&google.maps.event.removeListener(Y),ee!==null&&google.maps.event.removeListener(ee),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),ue!==null&&google.maps.event.removeListener(ue),Pe!==null&&google.maps.event.removeListener(Pe),Ve!==null&&google.maps.event.removeListener(Ve),b&&b(X),X.setMap(null)}},[]),null}c.memo(Kb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={rectangle:null},n.setRectangleCallback=function(){n.state.rectangle!==null&&n.props.onLoad&&n.props.onLoad(n.state.rectangle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Rectangle(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:Af,eventMap:Lf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Af,eventMap:Lf,prevProps:n,nextProps:this.props,instance:this.state.rectangle}))},e.prototype.componentWillUnmount=function(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),ye(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var xf={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Of={center:function(t,e){t.setCenter(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},radius:function(t,e){t.setRadius(e)},visible:function(t,e){t.setVisible(e)}},Rb={};function qb(t){var e=t.options,n=t.center,r=t.radius,o=t.draggable,i=t.editable,s=t.visible,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,v=t.onMouseUp,p=t.onRightClick,w=t.onClick,E=t.onDrag,m=t.onCenterChanged,b=t.onRadiusChanged,O=t.onLoad,S=t.onUnmount,y=c.useContext(he),C=c.useState(null),A=C[0],P=C[1],M=c.useState(null),x=M[0],k=M[1],N=c.useState(null),z=N[0],Q=N[1],R=c.useState(null),G=R[0],K=R[1],T=c.useState(null),I=T[0],D=T[1],V=c.useState(null),H=V[0],Y=V[1],ne=c.useState(null),U=ne[0],ee=ne[1],le=c.useState(null),J=le[0],B=le[1],q=c.useState(null),_=q[0],re=q[1],pe=c.useState(null),oe=pe[0],ue=pe[1],Le=c.useState(null),Me=Le[0],Pe=Le[1],ae=c.useState(null),fe=ae[0],Ve=ae[1],_e=c.useState(null),X=_e[0],Ge=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1];return c.useEffect(function(){A!==null&&A.setMap(y)},[y]),c.useEffect(function(){typeof e<"u"&&A!==null&&A.setOptions(e)},[A,e]),c.useEffect(function(){typeof o<"u"&&A!==null&&A.setDraggable(o)},[A,o]),c.useEffect(function(){typeof i<"u"&&A!==null&&A.setEditable(i)},[A,i]),c.useEffect(function(){typeof s<"u"&&A!==null&&A.setVisible(s)},[A,s]),c.useEffect(function(){typeof r=="number"&&A!==null&&A.setRadius(r)},[A,r]),c.useEffect(function(){typeof n<"u"&&A!==null&&A.setCenter(n)},[A,n]),c.useEffect(function(){A&&a&&(x!==null&&google.maps.event.removeListener(x),k(google.maps.event.addListener(A,"dblclick",a)))},[a]),c.useEffect(function(){A&&u&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(A,"dragend",u)))},[u]),c.useEffect(function(){A&&l&&(G!==null&&google.maps.event.removeListener(G),K(google.maps.event.addListener(A,"dragstart",l)))},[l]),c.useEffect(function(){A&&f&&(I!==null&&google.maps.event.removeListener(I),D(google.maps.event.addListener(A,"mousedown",f)))},[f]),c.useEffect(function(){A&&d&&(H!==null&&google.maps.event.removeListener(H),Y(google.maps.event.addListener(A,"mousemove",d)))},[d]),c.useEffect(function(){A&&h&&(U!==null&&google.maps.event.removeListener(U),ee(google.maps.event.addListener(A,"mouseout",h)))},[h]),c.useEffect(function(){A&&g&&(J!==null&&google.maps.event.removeListener(J),B(google.maps.event.addListener(A,"mouseover",g)))},[g]),c.useEffect(function(){A&&v&&(_!==null&&google.maps.event.removeListener(_),re(google.maps.event.addListener(A,"mouseup",v)))},[v]),c.useEffect(function(){A&&p&&(oe!==null&&google.maps.event.removeListener(oe),ue(google.maps.event.addListener(A,"rightclick",p)))},[p]),c.useEffect(function(){A&&w&&(Me!==null&&google.maps.event.removeListener(Me),Pe(google.maps.event.addListener(A,"click",w)))},[w]),c.useEffect(function(){A&&E&&(fe!==null&&google.maps.event.removeListener(fe),Ve(google.maps.event.addListener(A,"drag",E)))},[E]),c.useEffect(function(){A&&m&&(X!==null&&google.maps.event.removeListener(X),Ge(google.maps.event.addListener(A,"center_changed",m)))},[w]),c.useEffect(function(){A&&b&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(A,"radius_changed",b)))},[b]),c.useEffect(function(){var de=new google.maps.Circle(te(te({},e||Rb),{map:y}));return typeof r=="number"&&de.setRadius(r),typeof n<"u"&&de.setCenter(n),typeof r=="number"&&de.setRadius(r),typeof s<"u"&&de.setVisible(s),typeof i<"u"&&de.setEditable(i),typeof o<"u"&&de.setDraggable(o),a&&k(google.maps.event.addListener(de,"dblclick",a)),u&&Q(google.maps.event.addListener(de,"dragend",u)),l&&K(google.maps.event.addListener(de,"dragstart",l)),f&&D(google.maps.event.addListener(de,"mousedown",f)),d&&Y(google.maps.event.addListener(de,"mousemove",d)),h&&ee(google.maps.event.addListener(de,"mouseout",h)),g&&B(google.maps.event.addListener(de,"mouseover",g)),v&&re(google.maps.event.addListener(de,"mouseup",v)),p&&ue(google.maps.event.addListener(de,"rightclick",p)),w&&Pe(google.maps.event.addListener(de,"click",w)),E&&Ve(google.maps.event.addListener(de,"drag",E)),m&&Ge(google.maps.event.addListener(de,"center_changed",m)),b&&at(google.maps.event.addListener(de,"radius_changed",b)),P(de),O&&O(de),function(){x!==null&&google.maps.event.removeListener(x),z!==null&&google.maps.event.removeListener(z),G!==null&&google.maps.event.removeListener(G),I!==null&&google.maps.event.removeListener(I),H!==null&&google.maps.event.removeListener(H),U!==null&&google.maps.event.removeListener(U),J!==null&&google.maps.event.removeListener(J),_!==null&&google.maps.event.removeListener(_),oe!==null&&google.maps.event.removeListener(oe),Me!==null&&google.maps.event.removeListener(Me),X!==null&&google.maps.event.removeListener(X),ht!==null&&google.maps.event.removeListener(ht),S&&S(de),de.setMap(null)}},[]),null}c.memo(qb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={circle:null},n.setCircleCallback=function(){n.state.circle!==null&&n.props.onLoad&&n.props.onLoad(n.state.circle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Circle(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:Of,eventMap:xf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Of,eventMap:xf,prevProps:n,nextProps:this.props,instance:this.state.circle}))},e.prototype.componentWillUnmount=function(){var n;this.state.circle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),ye(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var Mf={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},Pf={add:function(t,e){t.add(e)},addgeojson:function(t,e,n){t.addGeoJson(e,n)},contains:function(t,e){t.contains(e)},foreach:function(t,e){t.forEach(e)},loadgeojson:function(t,e,n,r){t.loadGeoJson(e,n,r)},overridestyle:function(t,e,n){t.overrideStyle(e,n)},remove:function(t,e){t.remove(e)},revertstyle:function(t,e){t.revertStyle(e)},controlposition:function(t,e){t.setControlPosition(e)},controls:function(t,e){t.setControls(e)},drawingmode:function(t,e){t.setDrawingMode(e)},map:function(t,e){t.setMap(e)},style:function(t,e){t.setStyle(e)},togeojson:function(t,e){t.toGeoJson(e)}};function Jb(t){var e=t.options,n=t.onClick,r=t.onDblClick,o=t.onMouseDown,i=t.onMouseMove,s=t.onMouseOut,a=t.onMouseOver,u=t.onMouseUp,l=t.onRightClick,f=t.onAddFeature,d=t.onRemoveFeature,h=t.onRemoveProperty,g=t.onSetGeometry,v=t.onSetProperty,p=t.onLoad,w=t.onUnmount,E=c.useContext(he),m=c.useState(null),b=m[0],O=m[1],S=c.useState(null),y=S[0],C=S[1],A=c.useState(null),P=A[0],M=A[1],x=c.useState(null),k=x[0],N=x[1],z=c.useState(null),Q=z[0],R=z[1],G=c.useState(null),K=G[0],T=G[1],I=c.useState(null),D=I[0],V=I[1],H=c.useState(null),Y=H[0],ne=H[1],U=c.useState(null),ee=U[0],le=U[1],J=c.useState(null),B=J[0],q=J[1],_=c.useState(null),re=_[0],pe=_[1],oe=c.useState(null),ue=oe[0],Le=oe[1],Me=c.useState(null),Pe=Me[0],ae=Me[1],fe=c.useState(null),Ve=fe[0],_e=fe[1];return c.useEffect(function(){b!==null&&b.setMap(E)},[E]),c.useEffect(function(){b&&r&&(y!==null&&google.maps.event.removeListener(y),C(google.maps.event.addListener(b,"dblclick",r)))},[r]),c.useEffect(function(){b&&o&&(P!==null&&google.maps.event.removeListener(P),M(google.maps.event.addListener(b,"mousedown",o)))},[o]),c.useEffect(function(){b&&i&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(b,"mousemove",i)))},[i]),c.useEffect(function(){b&&s&&(Q!==null&&google.maps.event.removeListener(Q),R(google.maps.event.addListener(b,"mouseout",s)))},[s]),c.useEffect(function(){b&&a&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(b,"mouseover",a)))},[a]),c.useEffect(function(){b&&u&&(D!==null&&google.maps.event.removeListener(D),V(google.maps.event.addListener(b,"mouseup",u)))},[u]),c.useEffect(function(){b&&l&&(Y!==null&&google.maps.event.removeListener(Y),ne(google.maps.event.addListener(b,"rightclick",l)))},[l]),c.useEffect(function(){b&&n&&(ee!==null&&google.maps.event.removeListener(ee),le(google.maps.event.addListener(b,"click",n)))},[n]),c.useEffect(function(){b&&f&&(B!==null&&google.maps.event.removeListener(B),q(google.maps.event.addListener(b,"addfeature",f)))},[f]),c.useEffect(function(){b&&d&&(re!==null&&google.maps.event.removeListener(re),pe(google.maps.event.addListener(b,"removefeature",d)))},[d]),c.useEffect(function(){b&&h&&(ue!==null&&google.maps.event.removeListener(ue),Le(google.maps.event.addListener(b,"removeproperty",h)))},[h]),c.useEffect(function(){b&&g&&(Pe!==null&&google.maps.event.removeListener(Pe),ae(google.maps.event.addListener(b,"setgeometry",g)))},[g]),c.useEffect(function(){b&&v&&(Ve!==null&&google.maps.event.removeListener(Ve),_e(google.maps.event.addListener(b,"setproperty",v)))},[v]),c.useEffect(function(){if(E!==null){var X=new google.maps.Data(te(te({},e||{}),{map:E}));r&&C(google.maps.event.addListener(X,"dblclick",r)),o&&M(google.maps.event.addListener(X,"mousedown",o)),i&&N(google.maps.event.addListener(X,"mousemove",i)),s&&R(google.maps.event.addListener(X,"mouseout",s)),a&&T(google.maps.event.addListener(X,"mouseover",a)),u&&V(google.maps.event.addListener(X,"mouseup",u)),l&&ne(google.maps.event.addListener(X,"rightclick",l)),n&&le(google.maps.event.addListener(X,"click",n)),f&&q(google.maps.event.addListener(X,"addfeature",f)),d&&pe(google.maps.event.addListener(X,"removefeature",d)),h&&Le(google.maps.event.addListener(X,"removeproperty",h)),g&&ae(google.maps.event.addListener(X,"setgeometry",g)),v&&_e(google.maps.event.addListener(X,"setproperty",v)),O(X),p&&p(X)}return function(){b&&(y!==null&&google.maps.event.removeListener(y),P!==null&&google.maps.event.removeListener(P),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),K!==null&&google.maps.event.removeListener(K),D!==null&&google.maps.event.removeListener(D),Y!==null&&google.maps.event.removeListener(Y),ee!==null&&google.maps.event.removeListener(ee),B!==null&&google.maps.event.removeListener(B),re!==null&&google.maps.event.removeListener(re),ue!==null&&google.maps.event.removeListener(ue),Pe!==null&&google.maps.event.removeListener(Pe),Ve!==null&&google.maps.event.removeListener(Ve),w&&w(b),b.setMap(null))}},[]),null}c.memo(Jb),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={data:null},n.setDataCallback=function(){n.state.data!==null&&n.props.onLoad&&n.props.onLoad(n.state.data)},n}return e.prototype.componentDidMount=function(){if(this.context!==null){var n=new google.maps.Data(te(te({},this.props.options||{}),{map:this.context}));this.registeredEvents=ve({updaterMap:Pf,eventMap:Mf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Pf,eventMap:Mf,prevProps:n,nextProps:this.props,instance:this.state.data}))},e.prototype.componentWillUnmount=function(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),ye(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var kf={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},If={options:function(t,e){t.setOptions(e)},url:function(t,e){t.setUrl(e)},zIndex:function(t,e){t.setZIndex(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={kmlLayer:null},n.setKmlLayerCallback=function(){n.state.kmlLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.kmlLayer)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.KmlLayer(te(te({},this.props.options),{map:this.context}));this.registeredEvents=ve({updaterMap:If,eventMap:kf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:If,eventMap:kf,prevProps:n,nextProps:this.props,instance:this.state.kmlLayer}))},e.prototype.componentWillUnmount=function(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),ye(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e})(c.PureComponent);function Df(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Zb(t,e){return new e(t.lat,t.lng)}function _b(t,e){return new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng))}function Xb(t,e,n){return t instanceof e?t:n(t,e)}function $b(t,e,n){return t instanceof e?t:n(t,e)}function eE(t,e,n){var r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),o=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:"".concat(o.x+e.x,"px"),top:"".concat(r.y+e.y,"px"),width:"".concat(r.x-o.x-e.x,"px"),height:"".concat(o.y-r.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function tE(t,e,n){var r=t&&t.fromLatLngToDivPixel(n);if(r){var o=r.x,i=r.y;return{left:"".concat(o+e.x,"px"),top:"".concat(i+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function Tf(t,e,n,r){return n!==void 0?eE(t,e,$b(n,google.maps.LatLngBounds,_b)):tE(t,e,Xb(r,google.maps.LatLng,Zb))}function nE(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function rE(t,e,n,r,o){var i=function(s){je(a,s);function a(u,l,f,d){var h=s.call(this)||this;return h.container=u,h.pane=l,h.position=f,h.bounds=d,h}return a.prototype.onAdd=function(){var u,l=(u=this.getPanes())===null||u===void 0?void 0:u[this.pane];l==null||l.appendChild(this.container)},a.prototype.draw=function(){for(var u=this.getProjection(),l=te({},this.container?Df(this.container,o):{x:0,y:0}),f=Tf(u,l,this.bounds,this.position),d=0,h=Object.entries(f);d<h.length;d++){var g=h[d],v=g[0],p=g[1];this.container.style[v]=p}},a.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},a}(google.maps.OverlayView);return new i(t,e,n,r)}function Bf(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function Nf(t){if(!t)return"";var e=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));return e+""}function oE(t){var e=t.position,n=t.bounds,r=t.mapPaneName,o=t.zIndex,i=t.onLoad,s=t.onUnmount,a=t.getPixelPositionOffset,u=t.children,l=c.useContext(he),f=c.useMemo(function(){var h=document.createElement("div");return h.style.position="absolute",h},[]),d=c.useMemo(function(){return rE(f,r,e,n,a)},[f,r,e,n]);return c.useEffect(function(){return i==null||i(d),d==null||d.setMap(l),function(){s==null||s(d),d==null||d.setMap(null)}},[l,d]),c.useEffect(function(){f.style.zIndex="".concat(o)},[o,f]),Ma.createPortal(u,f)}c.memo(oE),function(t){je(e,t);function e(n){var r=t.call(this,n)||this;r.state={paneEl:null,containerStyle:{position:"absolute"}},r.updatePane=function(){var i=r.props.mapPaneName,s=r.overlayView.getPanes();Ke(!!i,"OverlayView requires props.mapPaneName but got %s",i),s?r.setState({paneEl:s[i]}):r.setState({paneEl:null})},r.onAdd=function(){var i,s;r.updatePane(),(s=(i=r.props).onLoad)===null||s===void 0||s.call(i,r.overlayView)},r.onPositionElement=function(){var i,s=r.overlayView.getProjection(),a=te({x:0,y:0},r.containerRef.current?Df(r.containerRef.current,r.props.getPixelPositionOffset):{}),u=Tf(s,a,r.props.bounds,r.props.position),l=(i=r.state.containerStyle,i.left),f=i.top,d=i.width,h=i.height;nE(u,{left:l,top:f,width:d,height:h})||r.setState({containerStyle:{top:u.top||0,left:u.left||0,width:u.width||0,height:u.height||0,position:"absolute"}})},r.draw=function(){r.onPositionElement()},r.onRemove=function(){var i,s;r.setState(function(){return{paneEl:null}}),(s=(i=r.props).onUnmount)===null||s===void 0||s.call(i,r.overlayView)},r.containerRef=c.createRef();var o=new google.maps.OverlayView;return o.onAdd=r.onAdd,o.draw=r.draw,o.onRemove=r.onRemove,r.overlayView=o,r}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var r=Bf(n.position),o=Bf(this.props.position),i=Nf(n.bounds),s=Nf(this.props.bounds);(r!==o||i!==s)&&this.overlayView.draw(),n.mapPaneName!==this.props.mapPaneName&&this.updatePane()},e.prototype.componentWillUnmount=function(){this.overlayView.setMap(null)},e.prototype.render=function(){var n=this.state.paneEl;return n?Ma.createPortal(L.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:c.Children.only(this.props.children)}),n):null},e.FLOAT_PANE="floatPane",e.MAP_PANE="mapPane",e.MARKER_LAYER="markerLayer",e.OVERLAY_LAYER="overlayLayer",e.OVERLAY_MOUSE_TARGET="overlayMouseTarget",e.contextType=he,e}(c.PureComponent);function iE(){}var jf={onDblClick:"dblclick",onClick:"click"},Uf={opacity:function(t,e){t.setOpacity(e)}};function sE(t){var e=t.url,n=t.bounds,r=t.options,o=t.visible,i=c.useContext(he),s=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),a=c.useMemo(function(){var u=new google.maps.GroundOverlay(e,s,te({},r));return u},[]);return c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){typeof e<"u"&&a!==null&&(a.set("url",e),a.setMap(i))},[a,e]),c.useEffect(function(){typeof o<"u"&&a!==null&&a.setOpacity(o?1:0)},[a,o]),c.useEffect(function(){var u=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));typeof n<"u"&&a!==null&&(a.set("bounds",u),a.setMap(i))},[a,n]),null}c.memo(sE),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={groundOverlay:null},n.setGroundOverlayCallback=function(){n.state.groundOverlay!==null&&n.props.onLoad&&n.props.onLoad(n.state.groundOverlay)},n}return e.prototype.componentDidMount=function(){Ke(!!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");var n=new google.maps.GroundOverlay(this.props.url,this.props.bounds,te(te({},this.props.options),{map:this.context}));this.registeredEvents=ve({updaterMap:Uf,eventMap:jf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Uf,eventMap:jf,prevProps:n,nextProps:this.props,instance:this.state.groundOverlay}))},e.prototype.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},e.prototype.render=function(){return null},e.defaultProps={onLoad:iE},e.contextType=he,e}(c.PureComponent);var Hf={},zf={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function aE(t){var e=t.data,n=t.onLoad,r=t.onUnmount,o=t.options,i=c.useContext(he),s=c.useState(null),a=s[0],u=s[1];return c.useEffect(function(){google.maps.visualization||Ke(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),c.useEffect(function(){Ke(!!e,"data property is required in HeatmapLayer %s",e)},[e]),c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){o&&a!==null&&a.setOptions(o)},[a,o]),c.useEffect(function(){var l=new google.maps.visualization.HeatmapLayer(te(te({},o||{}),{data:e,map:i}));return u(l),n&&n(l),function(){a!==null&&(r&&r(a),a.setMap(null))}},[]),null}c.memo(aE),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={heatmapLayer:null},n.setHeatmapLayerCallback=function(){n.state.heatmapLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.heatmapLayer)},n}return e.prototype.componentDidMount=function(){Ke(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),Ke(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer(te(te({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=ve({updaterMap:zf,eventMap:Hf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:zf,eventMap:Hf,prevProps:n,nextProps:this.props,instance:this.state.heatmapLayer})},e.prototype.componentWillUnmount=function(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),ye(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent);var Ff={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Vf={register:function(t,e,n){t.registerPanoProvider(e,n)},links:function(t,e){t.setLinks(e)},motionTracking:function(t,e){t.setMotionTracking(e)},options:function(t,e){t.setOptions(e)},pano:function(t,e){t.setPano(e)},position:function(t,e){t.setPosition(e)},pov:function(t,e){t.setPov(e)},visible:function(t,e){t.setVisible(e)},zoom:function(t,e){t.setZoom(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={streetViewPanorama:null},n.setStreetViewPanoramaCallback=function(){n.state.streetViewPanorama!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewPanorama)},n}return e.prototype.componentDidMount=function(){var n,r,o=(r=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&r!==void 0?r:null;this.registeredEvents=ve({updaterMap:Vf,eventMap:Ff,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{streetViewPanorama:o}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Vf,eventMap:Ff,prevProps:n,nextProps:this.props,instance:this.state.streetViewPanorama}))},e.prototype.componentWillUnmount=function(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),ye(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=he,e})(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={streetViewService:null},n.setStreetViewServiceCallback=function(){n.state.streetViewService!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewService)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:n}},this.setStreetViewServiceCallback)},e.prototype.componentWillUnmount=function(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},e.prototype.render=function(){return null},e.contextType=he,e}(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={directionsService:null},n.setDirectionsServiceCallback=function(){n.state.directionsService!==null&&n.props.onLoad&&n.props.onLoad(n.state.directionsService)},n}return e.prototype.componentDidMount=function(){Ke(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);var n=new google.maps.DirectionsService;this.setState(function(){return{directionsService:n}},this.setDirectionsServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.directionsService!==null&&this.state.directionsService.route(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.directionsService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)},e.prototype.render=function(){return null},e}(c.PureComponent);var Gf={onDirectionsChanged:"directions_changed"},Qf={directions:function(t,e){t.setDirections(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},panel:function(t,e){t.setPanel(e)},routeIndex:function(t,e){t.setRouteIndex(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={directionsRenderer:null},n.setDirectionsRendererCallback=function(){n.state.directionsRenderer!==null&&(n.state.directionsRenderer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.directionsRenderer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=ve({updaterMap:Qf,eventMap:Gf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Qf,eventMap:Gf,prevProps:n,nextProps:this.props,instance:this.state.directionsRenderer}))},e.prototype.componentWillUnmount=function(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),ye(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return L.jsx(L.Fragment,{})},e.contextType=he,e})(c.PureComponent),function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={distanceMatrixService:null},n.setDistanceMatrixServiceCallback=function(){n.state.distanceMatrixService!==null&&n.props.onLoad&&n.props.onLoad(n.state.distanceMatrixService)},n}return e.prototype.componentDidMount=function(){Ke(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);var n=new google.maps.DistanceMatrixService;this.setState(function(){return{distanceMatrixService:n}},this.setDistanceMatrixServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.distanceMatrixService!==null&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.distanceMatrixService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)},e.prototype.render=function(){return null},e}(c.PureComponent);var Yf={onPlacesChanged:"places_changed"},Wf={bounds:function(t,e){t.setBounds(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=c.createRef(),n.state={searchBox:null},n.setSearchBoxCallback=function(){n.state.searchBox!==null&&n.props.onLoad&&n.props.onLoad(n.state.searchBox)},n}return e.prototype.componentDidMount=function(){if(Ke(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){var n=this.containerElement.current.querySelector("input");if(n!==null){var r=new google.maps.places.SearchBox(n,this.props.options);this.registeredEvents=ve({updaterMap:Wf,eventMap:Yf,prevProps:{},nextProps:this.props,instance:r}),this.setState(function(){return{searchBox:r}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Wf,eventMap:Yf,prevProps:n,nextProps:this.props,instance:this.state.searchBox}))},e.prototype.componentWillUnmount=function(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),ye(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,children:c.Children.only(this.props.children)})},e.contextType=he,e})(c.PureComponent);var Kf={onPlaceChanged:"place_changed"},Rf={bounds:function(t,e){t.setBounds(e)},restrictions:function(t,e){t.setComponentRestrictions(e)},fields:function(t,e){t.setFields(e)},options:function(t,e){t.setOptions(e)},types:function(t,e){t.setTypes(e)}};(function(t){je(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=c.createRef(),n.state={autocomplete:null},n.setAutocompleteCallback=function(){n.state.autocomplete!==null&&n.props.onLoad&&n.props.onLoad(n.state.autocomplete)},n}return e.prototype.componentDidMount=function(){var n;Ke(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var r=(n=this.containerElement.current)===null||n===void 0?void 0:n.querySelector("input");if(r){var o=new google.maps.places.Autocomplete(r,this.props.options);this.registeredEvents=ve({updaterMap:Rf,eventMap:Kf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{autocomplete:o}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){ye(this.registeredEvents),this.registeredEvents=ve({updaterMap:Rf,eventMap:Kf,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&ye(this.registeredEvents)},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,className:this.props.className,children:c.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=he,e})(c.PureComponent);const lE=t=>t.lat===zn[0]&&t.lng===zn[1],uE={clickableIcons:!1,disableDefaultUI:!0},qf={optimized:!0},cE=1e3,Ze={root:"MapGoogle-module__root__iB2RTt",hideUI:"MapGoogle-module__hideUI__zGYpjY",mapContainer:"MapGoogle-module__mapContainer__qTVsu4",balloon:"MapGoogle-module__balloon__nNM3fV",details:"MapGoogle-module__details__MuhoyT",cluster:"MapGoogle-module__cluster__KIS2sn",overlay:"MapGoogle-module__overlay__z03Yoa",mapControl:"MapGoogle-module__mapControl__Iu3xc4",geolocationControl:"MapGoogle-module__geolocationControl__cwYVsw",bottomSheet:"MapGoogle-module__bottomSheet__ql8eoC",locationViewContent:"MapGoogle-module__locationViewContent__LYJkkK",locationViewHeader:"MapGoogle-module__locationViewHeader__hzc7Ip",courierDetailsViewContent:"MapGoogle-module__courierDetailsViewContent__CIg-RD",courierDetailsViewHeader:"MapGoogle-module__courierDetailsViewHeader__vMFQjI",sheetSubmit:"MapGoogle-module__sheetSubmit__pjGRS0"},fE=({children:t,className:e,onLoad:n,onIdle:r,onUnmount:o})=>{const{map:i,disableCourierDelivery:s,hideMapUI:a}=Dt(),u=We(g=>g.setDetailsOpen),l=Qt(g=>g.setCourierPoint),f=Wt(g=>g.setSelectedPoint),d=c.useMemo(()=>{var g,v;return{lat:((g=i==null?void 0:i.center)==null?void 0:g[0])??zn[0],lng:((v=i==null?void 0:i.center)==null?void 0:v[1])??zn[1]}},[i==null?void 0:i.center]),h=c.useCallback(async g=>{var w,E;const{latLng:v}=g;if(!v||s)return;u(!1),f(null);const p=[v.lat(),v.lng()];try{const m=await Pc(p),b=(E=(w=m==null?void 0:m.results)==null?void 0:w[0])==null?void 0:E.formatted_address;b&&l({address:b,coords:p})}catch{l({address:null,coords:p})}},[s,l,u,f]);return L.jsx($0,{zoom:lE(d)?dp:$i,center:d,options:uE,mapContainerClassName:Ce(Ze.root,e,{[Ze.hideUI]:a}),onLoad:n,onIdle:r,onUnmount:o,onClick:h,children:t})},Jf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAFmTSURBVHgB7X1psGVHedjX545GaBkYEKDFGB4Yi4BjZ6SRKFYz88+uggSSQAL5geQkUhbHoKSSOFtpximXU85igbMhx9aQBSfIFUNwIOVyrCckgo00SxIjh/0JxIwkS+hJI7TMzD2d/vr21/fr7q/79Ln33Pvum5lPenPO6X359l6ugvMwCOw5um+3eeyG8XgPtOPdoJs1rfSrQOvdoNRuBbBmE5p30CadmuZlr5ug1aZJswnQbk6Sqw0T9iCA3mxAH1N6x+Z9b1w/BudhEFBwHnqDQfY1OH1qX6tGf0K14zUMMkO5FiQSRlbxt2I8BbgQrYU86hgShSEQQxTN3U0LG+cJoz+cJ4AOsJx9PN7XaniH0u0eDLIcPACHoME3TMPCxzROlgICqLR4OYOREnBMG6Jo2ubTl+6AY+vXrG/CecjCeQIQYM99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wxvvPfAsNvt1HN/1oMqkxIFOxGClseSQoj1i2CExKQp8mdViO3q93age+XTO4ntb81QL8igxD99oCXHtEpN/tOG8Yc0QDj1LzPlH4yAEy9QQ7uvDHatUm7SwVsGvp5JHAeGjqBRwiPLko1veuf6kF3pc2E2xP4b4fFV53DRKcH0un5r8LAiiJ8DNuFACSwG+9Qn6SbAvBCLtQz43UGjKPfDeM/kIfhZEu47Rj2djId/YaYQxr7TT/gQW2gF/rlGfcrNODebdglk9sQ6F3HeVH9uGTy80ykjgDl4+C4d6Dvu/1TxL29URx7UgjR4286f4thzmi1PyKI3hqUrrghjVafDZNBPd6+8x/JY78Jti2QnsN2JgAOgbqE7/RDeqgOOcNU81+cwTQkLRhhABnZFI9eDZIcMCEU3L9CxrdduSZAaYIGotv8p5xaIY4xERUt8kEH8hDHpvJtpyOEpiceKnEErV3btbOTLJLSj95hv1F35z9ttGPyA3jaXUMCtDhFOzH5RvxluisXBWcLAeQgIAxSnRDYijQe4bThZ6YXvqKIt0iO2zXG7OdVneENTjWgw9sWiGDQI0LEhcA2/PmG0Tc+ESiOhxMCuzIsIbqdqoqQ2nbScXKqk9yP+I7tZ4eSvL7ufkLWc3QE2nKM706VQbA4fzYguwRnOwHkwBMGHeTBX5B3hjYe6LFP+s1h+tkmBPo1eYIzk98vsz82jU+naiGx+FsaxtMf9LNExKEQrgl5EbGxTI7MpJ7gaiqdv8Z3vEqQ2sp87kC/BE/l09Uizg+PQSvlnVkWnKsEUALyHE0OKYPd1arcdlzlruRAu8Mmdgt4FsHoSWsIJF3Yj094VYx+tR6BrR9oLpGQQ+OTqyPoBWPuRXA7Jm17nJoCrs0BF2f9O6cQvAvOE8B8oHqGE7cF59rV/Jv9yHQM1rh1e2QmAexM7NmqniwD/j9/ewWbk1NBkwAAAABJRU5ErkJggg==",Zf=28,_f=({children:t,hideFooter:e,minSnapHeight:n,submitDisabled:r,onSubmitClick:o,...i})=>L.jsx(qu,{...i,initialFocusRef:!1,defaultSnap:({snapPoints:s})=>Math.min(...s),snapPoints:({headerHeight:s,minHeight:a,footerHeight:u,maxHeight:l})=>[n==null?a:s+u+n,l-Zf],footer:e?null:L.jsx(bt,{disabled:r,variant:"primary",className:Ze.sheetSubmit,onClick:o,children:L.jsx(pn,{keyName:"choose",ns:"common"})}),sibling:L.jsx("div",{"data-rsbs-backdrop":"true",onClick:s=>{var a;s.stopPropagation(),s.preventDefault(),(a=i.onDismiss)==null||a.call(i)}}),blocking:!1,children:L.jsx("div",{className:Ze.bottomSheet,children:t})}),dE=({map:t,onAttach:e})=>{const n=Wt(o=>o.setSelectPointHook),r=c.useCallback(o=>{o&&(e==null||e(),t==null||t.setZoom(vo),t==null||t.setCenter({lat:o.location.latitude,lng:o.location.longitude}))},[t]);c.useEffect(()=>{n(r)},[r,n])},hE=()=>{const[t,e]=c.useState(!1);return c.useEffect(()=>{if(t)return;const n=setTimeout(()=>e(!0),cE);return()=>clearTimeout(n)},[t]),[t,e]},pE=({map:t})=>{const e=gn(r=>r.place),n=We(r=>r.zoom);c.useEffect(()=>{var i,s,a,u;if(!e)return;t==null||t.setZoom(n);const r=(s=(i=e.geometry)==null?void 0:i.location)==null?void 0:s.lng(),o=(u=(a=e.geometry)==null?void 0:a.location)==null?void 0:u.lat();!o||!r||t==null||t.setCenter({lng:r,lat:o})},[e,t])},Xf=({isSelectedPoint:t})=>{const[e,n]=c.useState(!0),r=We(o=>o.detailsOpen);return c.useEffect(()=>{n(t?!r:!0)},[r,t]),e},$f=t=>ce.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.0035 28.0008V17.7646C31.0035 16.6603 30.3968 15.6453 29.4242 15.1223L22.4206 11.3567C21.5335 10.8798 20.4663 10.8798 19.5793 11.3567L12.5757 15.1223C11.603 15.6453 10.9963 16.6603 10.9963 17.7646V28.0008C10.9963 29.6576 12.3395 31.0008 13.9963 31.0008H19.311C19.3291 31.0012 19.3473 31.0014 19.3654 31.0014H22.634C22.6522 31.0014 22.6703 31.0012 22.6884 31.0008H28.0035C29.6604 31.0008 31.0035 29.6576 31.0035 28.0008ZM25.0841 29.0008H28.0035C28.5558 29.0008 29.0035 28.5531 29.0035 28.0008V17.7646C29.0035 17.3965 28.8013 17.0582 28.4771 16.8838L21.4735 13.1183C21.1778 12.9593 20.8221 12.9593 20.5264 13.1183L13.5228 16.8838C13.1986 17.0582 12.9963 17.3965 12.9963 17.7646V28.0008C12.9963 28.5531 13.4441 29.0008 13.9963 29.0008H16.9153C16.8826 28.8394 16.8654 28.6724 16.8654 28.5014V20.8949C16.8654 19.5142 17.9847 18.3949 19.3654 18.3949H22.634C24.0147 18.3949 25.134 19.5142 25.134 20.8949V28.5014C25.134 28.6724 25.1168 28.8394 25.0841 29.0008ZM22.6583 29.0008C22.9232 28.9881 23.134 28.7694 23.134 28.5014V20.8949C23.134 20.6188 22.9102 20.3949 22.634 20.3949H19.3654C19.0893 20.3949 18.8654 20.6188 18.8654 20.8949V28.5014C18.8654 28.7694 19.0763 28.9881 19.3411 29.0008H22.6583Z",fill:"currentcolor"}),ce.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),gE=t=>ce.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("g",{clipPath:"url(#clip0_422_11470)"},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0712 3.07116C16.583 2.58301 15.7916 2.58301 15.3034 3.07116L10 8.37456L4.69661 3.07116C4.20845 2.583 3.417 2.583 2.92884 3.07116C2.44069 3.55931 2.44069 4.35077 2.92884 4.83893L8.23224 10.1423L2.92903 15.4455C2.44087 15.9337 2.44087 16.7251 2.92903 17.2133C3.41718 17.7015 4.20864 17.7015 4.69679 17.2133L10 11.9101L15.3032 17.2133C15.7914 17.7015 16.5828 17.7015 17.071 17.2133C17.5591 16.7251 17.5591 15.9337 17.071 15.4455L11.7678 10.1423L17.0712 4.83893C17.5593 4.35078 17.5593 3.55932 17.0712 3.07116Z",fill:"currentcolor"})),ce.createElement("defs",null,ce.createElement("clipPath",{id:"clip0_422_11470"},ce.createElement("rect",{width:20.0004,height:20,fill:"white"})))),vE={root:"CloseButton-module__root__233rOd"},Ci=({className:t,...e})=>L.jsx("div",{...e,className:Ce(vE.root,t),children:L.jsx(gE,{})}),cn={root:"CourierBalloon-module__root__4MUq03",details:"CourierBalloon-module__details__Ji6B9l",header:"CourierBalloon-module__header__SAzGF6",title:"CourierBalloon-module__title__FdGkJ2",description:"CourierBalloon-module__description__Su359i",actions:"CourierBalloon-module__actions__zJkpDW",errorVariant:"CourierBalloon-module__errorVariant__TjUPgn",logo:"CourierBalloon-module__logo__DMba5H"},ga=({SSR:t,variant:e,address:n,className:r,hasCloseButton:o,onDetails:i,onClose:s})=>{const a=e==="error",u=e==="default",l=t?"{ courier_balloon.title }":L.jsx(pn,{keyName:"title",ns:"courier_balloon"}),f=t?"{ courier_balloon.error_title }":L.jsx(pn,{keyName:"error_title",ns:"courier_balloon"}),d=t?"{ courier_balloon.error_description }":L.jsx(pn,{keyName:"error_description",ns:"courier_balloon"});return L.jsxs("div",{className:Ce(cn.root,r,cn[`${e}Variant`]),children:[L.jsxs("div",{className:cn.header,children:[L.jsx($f,{className:cn.logo}),L.jsx("span",{className:cn.title,children:a?f:l}),o&&L.jsx(Ci,{onClick:s})]}),L.jsx("div",{className:cn.description,children:a?d:n||"{{ properties.address }}"}),u&&L.jsx("div",{className:cn.actions,children:L.jsx(bt,{id:go,as:"button",variant:"primary",className:cn.details,onClick:i,children:t?"{ details }":L.jsx(pn,{keyName:"details",ns:"common"})})})]})},ed={root:"Chip-module__root__A1duWr",active:"Chip-module__active__PmXa7K"},td=({active:t,children:e,className:n,...r})=>L.jsx("div",{...r,className:Ce(ed.root,n,{[ed.active]:t}),children:e}),mE={root:"TextArea-module__root__l-RDfr"},nd=c.forwardRef(({className:t,inputRef:e,onChange:n,onBlur:r,...o},i)=>{const s=c.useRef(null);c.useImperativeHandle(i,()=>({focus:()=>{var u;(u=s.current)==null||u.focus()},blur:()=>{var u;(u=s.current)==null||u.blur()},setValue:u=>{if(n){n({target:{value:u}});return}r&&r({target:{value:u}}),s.current&&(s.current.value=u)}}),[r,n]);const a=Ed(e,s);return L.jsx("textarea",{...o,ref:a,className:Ce(mE.root,t),onBlur:r,onChange:n})}),yE=({set:t})=>(e,n)=>{let r={...e};switch(n.type){case"SET_COMMENT":r={...e,comment:n.payload};break;case"SET_DELIVERY_TIME":r={...e,delivery_time:n.payload};break;case"SET_APARTMENT_NUMBER":r={...e,apartment_number:n.payload};break}return t==null||t(r),r},rd=t=>{const{delivery_time:e,apartment_number:n}=t;return!!e&&!!n},ft={title:"CourierDetailsView-module__title__erksdV",logo:"CourierDetailsView-module__logo__qYbLKL",header:"CourierDetailsView-module__header__JofwHC",content:"CourierDetailsView-module__content__8xEbUb",section:"CourierDetailsView-module__section__NQlWki",chips:"CourierDetailsView-module__chips__T1ep8H",actions:"CourierDetailsView-module__actions__IgFrOE",submit:"CourierDetailsView-module__submit__Z-6fPa",actionsHidden:"CourierDetailsView-module__actionsHidden__VfVd-Y",commentSection:"CourierDetailsView-module__commentSection__vN110S",comment:"CourierDetailsView-module__comment__rOoPVP"},bE=({location:t,hideActions:e,classes:n,onClose:r,onChange:o,onSubmit:i})=>{const{inputs:s}=Dt(),{t:a}=Lt(["details_modal","courier_balloon","common"]),u=c.useMemo(()=>yE({set:o}),[o]),[l,f]=c.useReducer(u,{...t,comment:"",delivery_time:"",apartment_number:""}),d=()=>{i==null||i(l)},h=m=>()=>{f({payload:m,type:"SET_DELIVERY_TIME"})},g=m=>{f({payload:m.target.value,type:"SET_APARTMENT_NUMBER"})},v=m=>{f({payload:m.target.value,type:"SET_COMMENT"})},p=rd(l),w=Mi(s==null?void 0:s.apartment),E=Mi(s==null?void 0:s.comment);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ce(ft.header,n==null?void 0:n.header),children:[L.jsx(Ci,{onClick:r}),L.jsxs("div",{className:ft.title,children:[L.jsx($f,{className:ft.logo}),L.jsx("span",{children:a("title",{ns:"courier_balloon"})})]})]}),L.jsxs("div",{className:Ce(ft.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("address"),":"]}),L.jsx("p",{children:t.address})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("delivery_time"),":"]}),L.jsxs("div",{className:ft.chips,children:[L.jsx(td,{active:l.delivery_time==="8:00-13:00",onClick:h("8:00-13:00"),children:"8:00 - 13:00"}),L.jsx(td,{active:l.delivery_time==="14:00-22:00",onClick:h("14:00-22:00"),children:"14:00 - 22:00"})]})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("apartment_number"),":"]}),L.jsx(nd,{...w,rows:1,onChange:g})]}),L.jsxs("section",{className:Ce(ft.section,ft.commentSection),children:[L.jsxs("label",{children:[a("comment"),":"]}),L.jsx(nd,{...E,className:ft.comment,onChange:v})]})]}),L.jsx("div",{className:Ce(ft.actions,{[ft.actionsHidden]:e}),children:L.jsx(bt,{disabled:!p,variant:"primary",className:ft.submit,onClick:d,children:a("choose",{ns:"common"})})})]})},od=c.memo(bE),EE={header:Ze.courierDetailsViewHeader,content:Ze.courierDetailsViewContent},wE=({point:t,setOpenDetails:e,setCourierPoint:n,onPointClick:r})=>{const o=Xf({isSelectedPoint:!0}),[i,s]=c.useState({...t,comment:"",delivery_time:"",apartment_number:""});c.useEffect(()=>{s({...t,comment:"",delivery_time:"",apartment_number:""})},[t]);const[a,u]=c.useState(null),l=$r("screenSm"),f={lat:i.coords[0],lng:i.coords[1]},d=()=>{e(!0)},h=()=>{n(null)},g={url:Jf,scaledSize:new google.maps.Size(...Gt)},v=()=>{r(i),e(!1),n(null)},p=L.jsx(ga,{...i,hasCloseButton:l,variant:i.address?"default":"error",className:Ze.balloon,onDetails:d,onClose:h}),w=rd(i),E=o&&!!(a!=null&&a.getVisible());return L.jsxs(nf,{noClustererRedraw:!0,icon:g,position:f,options:qf,onLoad:u,children:[l&&L.jsxs(_f,{minSnapHeight:i.address?200:void 0,submitDisabled:!w,hideFooter:!i.address,open:E,onDismiss:h,onSubmitClick:v,children:[i.address&&L.jsx(od,{classes:EE,hideActions:!0,location:t,onChange:s,onClose:h}),!i.address&&p]}),!l&&E&&L.jsx(bf,{onCloseClick:h,children:p})]})},va="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGAkSURBVHgB7b1rrGVHeSj41T4NNg87TRxiuk2SQ5QxvjxMG7sJUn7QziQSoyR+ZJQokEjYuSOIeQRQJgl5je3cGJh7EyUo4ZXJBHOx4SqZwW2QCBjjPow0UkZu280oAeIbwfEM7jZ5tt0mYHefXbe+WvVVfV/VV+ux99r77HO6v+51Vq1a9a7vXVVrGzgHo8ChQ4f2fuc739l7+vTpA9bavS5q3RjzA+6O4b0ubh3TubjwjE82L+YkXi6Nv0+nAJMJbLq8j+DzZDI5hu/uv//+Y3AORgED52AwvPrVr15/+umnDzmEfAUitrsOuOh1nsYhamc5FSJQ01Fx1mfCB4tEgMSCRPFF15bNc4QxHM4RQAccOHBg79ra2iGHeK9pEN0ccMi4t0/eLiJokLk/pOSRCPIkKDmQII45grj7zJkzxxychHNQhXMEoMBVV111aDqdXmutcQhvDyWEa6AHc/fIzzl3Dn25v0wfnyARAL/TOwEbRBBHjx7dgHMg4BwBQMPlHYJc54KOy4O7W8HhCZmbMAyCmhQgVQZft0mC8lUN+WtEwCWFcSoTbLjA3Y7AD5+TDmcxARDSO+R7Az4CtKk1Q7h/g3BdEgChjwpEZUj1R6+zDHe01JjD7nb3gw8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wUw5fXvqosXtdyGebIhNFFjuCAYGX7RwD5Ho/UrAaI+mpK8KE4YYDQEmGWwOdAs9k/vtNOHafB4iWv2R6WHTLZu2g6wzg3QTup5QOTgd4IHD3FEzZNx4D8AZH5movEFnzAAAAAASUVORK5CYII=",id=t=>ce.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ce.createElement("path",{d:"M7.63362 25C7.33927 25 7.067 24.9259 6.81681 24.7778C6.56662 24.6296 6.36793 24.4296 6.22076 24.1778C6.07359 23.9259 6 23.6519 6 23.3556V18.6444C6 18.3407 6.07359 18.0667 6.22076 17.8222C6.36793 17.5704 6.56662 17.3704 6.81681 17.2222C7.067 17.0741 7.33927 17 7.63362 17H12.3137C12.6081 17 12.8767 17.0741 13.1195 17.2222C13.3697 17.3704 13.5684 17.5704 13.7155 17.8222C13.8701 18.0667 13.9473 18.3407 13.9473 18.6444V23.3556C13.9473 23.6519 13.8701 23.9259 13.7155 24.1778C13.5684 24.4296 13.3697 24.6296 13.1195 24.7778C12.8767 24.9259 12.6081 25 12.3137 25H7.63362ZM7.71089 23.2667H12.2144V18.7333H7.71089V23.2667Z",fill:"black"}),ce.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),ce.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),ce.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),ce.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),CE=t=>ce.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("path",{d:"M12.5 8.00003C12.5 8.28678 12.392 8.5735 12.1763 8.79212L5.38748 15.6718C4.95562 16.1094 4.25544 16.1094 3.82376 15.6718C3.39208 15.2343 3.39208 14.5249 3.82376 14.0872L9.83091 8.00003L3.82397 1.91279C3.39229 1.47515 3.39229 0.765811 3.82397 0.328387C4.25565 -0.109461 4.95583 -0.109461 5.38769 0.328387L12.1765 7.20793C12.3922 7.42666 12.5 7.71338 12.5 8.00003Z",fill:"currentcolor"})),xn={root:"LocationBalloon-module__root__D5p9cL",submit:"LocationBalloon-module__submit__Ri5JaR",details:"LocationBalloon-module__details__6et6aX",header:"LocationBalloon-module__header__LCvDj0",title:"LocationBalloon-module__title__octhrc",description:"LocationBalloon-module__description__r7vFbw",actions:"LocationBalloon-module__actions__-jdejn"},sd=({SSR:t,name:e,location:n,onSubmit:r,className:o,onDetails:i,location_name:s})=>L.jsxs("div",{className:Ce(xn.root,o),children:[L.jsxs("div",{className:xn.header,children:[L.jsx(id,{}),L.jsx("span",{className:xn.title,children:e||"{{ properties.point.name }}"})]}),L.jsxs("div",{className:xn.description,children:[(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}",","," ",s||"{{ properties.point.location_name }}"]}),L.jsxs("div",{className:xn.actions,children:[L.jsx(bt,{id:Xi,variant:"primary",className:xn.submit,onClick:r,children:t?"{ choose }":L.jsx(pn,{keyName:"choose",ns:"common"})}),L.jsxs(bt,{id:go,as:"link",variant:"primary",className:xn.details,onClick:i,children:[t?"{ details }":L.jsx(pn,{keyName:"details",ns:"common"}),L.jsx(CE,{})]})]})]}),ot={title:"LocationView-module__title__QP69kD",logo:"LocationView-module__logo__nlPQaG",header:"LocationView-module__header__9DDuVU",content:"LocationView-module__content__Se2TSy",section:"LocationView-module__section__9m1x1v",chips:"LocationView-module__chips__6j-ZAh",services:"LocationView-module__services__rwbp2x",images:"LocationView-module__images__zfnQMA",image:"LocationView-module__image__JKvt9J",actions:"LocationView-module__actions__AGih3C",actionsHidden:"LocationView-module__actionsHidden__DBV1vj",submit:"LocationView-module__submit__6mD2w-",scheduleItem:"LocationView-module__scheduleItem__snTLMb"},SE=({location:t,hideActions:e,classes:n,onClose:r,onSubmit:o})=>{const{t:i}=Lt(["details_modal","common"]);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ce(ot.header,n==null?void 0:n.header),children:[L.jsx(Ci,{onClick:r}),L.jsxs("div",{className:ot.title,children:[L.jsx(id,{className:ot.logo}),L.jsx("span",{children:t.name})]})]}),L.jsxs("div",{className:Ce(ot.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("address"),":"]}),L.jsx("p",{children:t.location.full_address})]}),!!t.schedule.length&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("schedule"),":"]}),t.schedule.map((s,a)=>L.jsx("p",{className:ot.scheduleItem,children:s},a))]}),(t.pay_by_card||t.pay_by_card)&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("payment_method"),":"]}),L.jsxs("div",{className:ot.chips,children:[t.pay_by_cash&&i("pay_by_cash"),t.pay_by_card&&t.pay_by_cash&&", ",t.pay_by_card&&i("pay_by_card")]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("services"),":"]}),L.jsxs("div",{className:ot.services,children:[t.is_pickup&&L.jsx("span",{children:i("is_pickup")}),t.is_delivery&&L.jsx("span",{children:i("is_delivery")}),t.is_dressing_room&&L.jsx("span",{children:i("is_dressing_room")}),t.is_check_order&&L.jsx("span",{children:i("is_check_order")})]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("location"),":"]}),L.jsx("p",{children:t.location_name})]}),!!t.images.length&&L.jsx("section",{className:ot.images,children:t.images.map(s=>L.jsx("img",{src:s,alt:t.name,className:ot.image},s))})]}),L.jsx("div",{className:Ce(ot.actions,{[ot.actionsHidden]:e}),children:L.jsx(bt,{variant:"primary",className:ot.submit,onClick:o,children:i("choose",{ns:"common"})})})]})},ad=c.memo(SE),LE={header:Ze.locationViewHeader,content:Ze.locationViewContent},AE=({point:t,clusterer:e,onPointClick:n,selectedPoint:r,setOpenDetails:o,onPointSelected:i})=>{const s=$r("screenSm"),[a,u]=c.useState(null),l=()=>{o(!1),i(t)},f=()=>{i(null)},d=()=>{o(!0),i(t)},h=()=>{n(t),o(!1),i(null)},g=(r==null?void 0:r.uid)===t.uid,v=g?Hn:Gt,p=Xf({isSelectedPoint:g}),w={scaledSize:new google.maps.Size(...v),url:t.type===30?ma:va},E={lat:t.location.latitude,lng:t.location.longitude},m=g&&p&&!!(a!=null&&a.getVisible());return L.jsxs(nf,{noClustererRedraw:!0,icon:w,position:E,clusterer:e,options:qf,onLoad:u,onClick:l,children:[s&&L.jsx(_f,{minSnapHeight:200,open:m,onDismiss:f,onSubmitClick:h,children:L.jsx(ad,{classes:LE,hideActions:!0,location:t,onClose:f})}),m&&!s&&L.jsx(bf,{onCloseClick:f,children:L.jsx(sd,{...t,className:Ze.balloon,onSubmit:h,onDetails:d})})]},t.uid)},xE=({points:t,selectedPoint:e,onOpenDetails:n,onPointClick:r,onPointSelected:o})=>L.jsx(Sb,{clusterClass:Ze.cluster,onClusteringEnd:()=>{setTimeout(()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.addEventListener("touchstart",Mc,{passive:!0})},100)},onUnmount:()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.removeEventListener("touchstart",Mc)},children:i=>L.jsx(c.Fragment,{children:t.map(s=>L.jsx(AE,{point:s,clusterer:i,selectedPoint:e,setOpenDetails:n,onPointClick:r,onPointSelected:o},s.uid))})}),OE=c.memo(xE),ME=({mounted:t,onOpenDetails:e,onPointClick:n,onPointSelected:r})=>{const{locale:o}=Dt(),i=Ut(l=>l.points),s=Wt(l=>l.location),a=gn(l=>l.place);if(!t)return null;const u=JSON.stringify([i.length,o,a==null?void 0:a.place_id]);return L.jsx(OE,{points:i,selectedPoint:s,onOpenDetails:e,onPointClick:n,onPointSelected:r},u)},PE=c.memo(ME),kE=t=>ce.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("g",{id:"icon"},ce.createElement("rect",{id:"Rectangle 1602",x:9,width:2,height:20,rx:1,fill:"white"}),ce.createElement("rect",{id:"Rectangle 1603",x:20,y:9,width:2,height:20,rx:1,transform:"rotate(90 20 9)",fill:"white"}),ce.createElement("circle",{id:"Ellipse 789",cx:10,cy:10,r:8,fill:"white"}),ce.createElement("circle",{id:"Ellipse 790",cx:10,cy:10,r:6,fill:"currentcolor"}),ce.createElement("circle",{id:"Ellipse 791",cx:10,cy:10,r:4,fill:"white"}))),IE=t=>{const e=document.createElement("div"),n=document.createElement("div");e.classList.add(Ze.mapControl),n.classList.add(Ze.mapControl),e.innerHTML="+",n.innerHTML="—",t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(n),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{const r=t.getZoom()||0;return t.setZoom(r+1)}),n.addEventListener("click",()=>{const r=t.getZoom()||0;return t.setZoom(r-1)})},DE=t=>{const e=document.createElement("div");e.classList.add(Ze.mapControl),e.classList.add(Ze.geolocationControl),e.innerHTML=so.renderToString(L.jsx(kE,{})),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{navigator.geolocation&&navigator.geolocation.getCurrentPosition(n=>{const{latitude:r,longitude:o}=n.coords;t.panTo({lat:r,lng:o}),t.setZoom($i)})})},TE=({className:t})=>{const e=We(m=>m.loading),n=We(m=>m.setDetailsOpen),r=Cn(),o=Ut(m=>m.loading),i=Ut(m=>m.loadNext),s=Qt(m=>m.courierPoint),a=Qt(m=>m.setCourierPoint),u=Wt(m=>m.setSelectedPoint),{onPointClick:l}=Dt(),[f,d]=hE(),[h,g]=c.useState(null);pE({map:h}),dE({map:h,onAttach:()=>d(!1)});const v=c.useCallback(m=>{g(m),IE(m),DE(m)},[]),p=c.useCallback(()=>{g(null)},[]),w=c.useCallback(()=>{if(!h)return;const m=h==null?void 0:h.getBounds();m&&i([[m.getSouthWest().lat(),m.getNorthEast().lat()],[m.getSouthWest().lng(),m.getNorthEast().lng()]],r)},[r,i,h]),E=c.useCallback((...m)=>{a(null),u(...m)},[a,u]);return L.jsxs("div",{className:Ce(Ze.mapContainer,t),children:[L.jsxs(fE,{onIdle:w,onLoad:v,onUnmount:p,children:[s&&L.jsx(wE,{point:s,onPointClick:l,setOpenDetails:n,setCourierPoint:a}),L.jsx(PE,{mounted:f,onPointClick:l,onOpenDetails:n,onPointSelected:E})]}),(o||e||!f)&&L.jsx(ra,{className:Ze.overlay,children:L.jsx(oa,{})})]})},BE=c.memo(TE);function On(){return On=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},On.apply(this,arguments)}const ld=(t,e)=>{const n={};for(const r in t)e.indexOf(r)===-1&&(n[r]=t[r]);return n},ud=c.createContext(null),Si=c.createContext(null),cd=t=>e=>c.createElement(Si.Consumer,null,n=>c.createElement(t,On({parent:n},e))),NE=(t=[])=>{const[e,n]=c.useState(!1),r=c.useRef(t),o=(()=>{const s=c.useContext(ud);if(s===null)throw new Error("Couldn't find Yandex.Maps API in the context. Make sure that hook useYMaps is inside <YMaps /> provider");return s})(),i=o.getApi();return c.useEffect(()=>{o.load().then(()=>Promise.all(r.current.map(o.loadModule))).then(()=>n(!0))},[]),e&&i?i:null},jE=()=>{},UE=["onLoad","onError","modules","apiLoader"];function ya(t,e=!1,n=[]){return r=>{const{width:o,height:i,modules:s=[],onLoad:a=jE}=r,u=NE(n.concat(s)),l=!e||!!u,f=ld(r,UE);return c.useEffect(()=>u?a(u):void 0,[u]),l?c.createElement(t,On({ymaps:u},f)):c.createElement("div",{style:{width:o,height:i}})}}const HE=typeof window<"u",fd={lang:"ru_RU",load:"",ns:"",mode:"release"},zE=t=>{const{version:e="2.1",enterprise:n=!1,query:r={lang:"ru_RU",load:"",ns:""},preload:o=!1,children:i}=t,s=c.useRef((a=>{const{query:u=fd}=a,l=Date.now().toString(32),f=u.ns||"",d="__yandex-maps-api-onload__$$"+l,h="__yandex-maps-api-onerror__$$"+l,g=HE?window:{},v={};let p;const w=()=>f?g[f]:p,E=()=>{delete g[d],delete g[h]};return{load:()=>{if(w())return Promise.resolve(p);if(v[f])return v[f];const m={onload:d,onerror:h,...fd,...u},b=Object.keys(m).map(S=>`${S}=${m[S]}`).join("&"),O=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+b].join("/");return v[f]=new Promise((S,y)=>{g[d]=C=>{E(),C.ready(()=>{p=C,S(C)})},g[h]=C=>{E(),y(C)},(C=>new Promise((A,P)=>{const M=document.createElement("script");M.type="text/javascript",M.onload=A,M.onerror=P,M.src=C,M.async=!0,document.head.appendChild(M)}))(O).catch(g[h])}),v[f]},getApi:w,loadModule:m=>new Promise((b,O)=>{p.modules.require(m).done(S=>{S.forEach(y=>{((C,A,P,M=!1)=>{const x=typeof A=="string"?A.split("."):A.slice();let k,N=C;for(;x.length>1;)k=x.shift(),N[k]||(N[k]={}),N=N[k];const z=x[0];N[z]=M===!0&&N[z]||P})(p,m,y,!0)}),b(p)},O)})}})({version:e,enterprise:n,query:r,preload:o}));return c.useEffect(()=>{o&&s.current.load()},[s.current]),c.createElement(ud.Provider,{value:s.current},i)},dd=/^on(?=[A-Z])/;function Fe(t){return Object.keys(t).reduce((e,n)=>{if(dd.test(n)){const r=n.replace(dd,"").toLowerCase();e._events[r]=t[n]}else e[n]=t[n];return e},{_events:{}})}function Mn(t,e,n){typeof n=="function"&&t.events.add(e,n)}function Pn(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function sr(t,e,n){Object.keys(Object.assign({},e,n)).forEach(r=>{e[r]!==n[r]&&(Pn(t,r,e[r]),Mn(t,r,n[r]))})}const hd=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function $e(t,e){return t[e]!==void 0||t[hd(e)]===void 0}function $(t,e,n){return($e(t,e)?t[e]:t[hd(e)])||n}function et(t,e,n=null){if(t!==e){if(t&&("current"in t?t.current=null:typeof t=="function"&&t(null)),!e)return;"current"in e?e.current=n:typeof e=="function"&&e(n)}}function pd(t){const{width:e,height:n,style:r,className:o}=t;return r!==void 0||o!==void 0?Object.assign({},r&&{style:r},o&&{className:o}):{style:{width:e,height:n}}}class FE extends c.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,n){const{onError:r=()=>{}}=this.props;r(e),this.setState({error:e,errorInfo:n})}render(){return this.state.error?null:this.props.children}}const ba=t=>({onError:e,...n})=>c.createElement(FE,{onError:e},c.createElement(t,n));class Jr extends c.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=Jr.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&Jr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Jr.unmountObject(this.instance,this.props)}render(){const e=pd(this.props),n=Fe(this.props),r=ld(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return c.createElement(Si.Provider,{value:this.state.instance},c.createElement("div",On({ref:this._getRef},e,r),this.props.children))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=new n(e,$(r,"state"),$(r,"options"));return Object.keys(i).forEach(a=>Mn(s,a,i[a])),et(null,o,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"state")){const u=$(n,"state",{}),l=$(r,"state",{});u.type!==l.type&&e.setType(l.type),u.behaviors!==l.behaviors&&(u.behaviors&&e.behaviors.disable(u.behaviors),l.behaviors&&e.behaviors.enable(l.behaviors)),l.zoom&&u.zoom!==l.zoom&&e.setZoom(l.zoom),l.center&&u.center!==l.center&&e.setCenter(l.center),l.bounds&&u.bounds!==l.bounds&&e.setBounds(l.bounds)}if($e(r,"options")){const u=$(n,"options"),l=$(r,"options",{});u!==l&&e.options.set(l)}$(n,"width")===$(r,"width")&&$(n,"height")===$(r,"height")||e.container.fitToViewport(),sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>Pn(e,i,o[i])),e.destroy(),et(r))}}const gd=ba(ya(Jr,!0,["Map"]));gd.defaultProps={width:320,height:240};class Li extends c.Component{constructor(){super(),this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this._mounted=!0,this.props.ymaps.panorama.isSupported()&&Li.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&Li.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,Li.unmountObject(this.state.instance,this.props)}render(){const e=pd(this.props);return c.createElement("div",On({ref:this._getRef},e))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=$(r,"point"),a=$(r,"locateOptions"),u=$(r,"options");return new Promise((l,f)=>{n.locate(s,a).done(d=>{if(d.length>0){const h=new n.Player(e,d[0],u);et(null,o,h),Object.keys(i).forEach(g=>Mn(h,g,i[g])),l(h)}},f)})}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=$(n,"options"),l=$(r,"options");u!==l&&e.options.set(l)}if($e(r,"point")){const u=$(r,"point"),l=$(n,"point"),f=$(r,"locateOptions");u!==l&&e.moveTo(u,f)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>Pn(e,i,o[i])),et(r))}}class Ai extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=Ai.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Ai.updateControl(this.instance,e,this.props)}componentWillUnmount(){Ai.unmountControl(this.instance,this.props)}render(){return c.createElement(Si.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:r,parent:o,lazy:i,_events:s}=Fe(n),a=new e({data:$(n,"data"),options:$(n,"options"),state:$(n,"state"),mapTypes:$(n,"mapTypes"),lazy:i});if(Object.keys(s).forEach(u=>Mn(a,u,s[u])),o&&o.controls&&typeof o.controls.add=="function")o.controls.add(a);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(a)}return et(null,r,a),a}static updateControl(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=$(n,"options"),l=$(r,"options");u!==l&&e.options.set(l)}if($e(r,"data")){const u=$(n,"data"),l=$(r,"data");u!==l&&e.data.set(l)}if($e(r,"state")){const u=$(n,"state"),l=$(r,"state");u!==l&&e.state.set(l)}if($e(r,"mapTypes")){const u=$(n,"mapTypes"),l=$(r,"mapTypes");u!==l&&(e.removeAllMapTypes(),l.forEach(f=>e.addMapType(f)))}sr(e,s,o),et(a,i,e)}static unmountControl(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>Pn(e,s,i[s])),o.controls&&typeof o.controls.remove=="function"?o.controls.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class xi extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=xi.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&xi.updateObject(this.instance,e,this.props)}componentWillUnmount(){xi.unmountObject(this.instance,this.props)}render(){return c.createElement(Si.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e($(n,"options"));if(Object.keys(i).forEach(a=>Mn(s,a,i[a])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount Clusterer");o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=$(n,"options"),l=$(r,"options");u!==l&&e.options.set(l)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>Pn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class Zr extends c.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=Zr.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Zr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Zr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=$(n,"options",{}),a=$(n,"features",{}),u=$(n,"filter",null),l=$(n,"objects",{}),f=$(n,"clusters",{}),d=new e(s);if(d.add(a||[]),d.setFilter(u),d.objects.options.set(l),d.clusters.options.set(f),Object.keys(i).forEach(h=>Mn(d,h,i[h])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(d);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount ObjectManager");o.add(d)}return et(null,r,d),d}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=$(n,"options"),l=$(r,"options");u!==l&&e.options.set(l)}if($e(r,"objects")){const u=$(n,"objects"),l=$(r,"objects");u!==l&&e.objects.options.set(l)}if($e(r,"clusters")){const u=$(n,"clusters"),l=$(r,"clusters");u!==l&&e.clusters.options.set(l)}if($e(r,"filter")){const u=$(n,"filter"),l=$(r,"filter");u!==l&&e.setFilter(l)}if($e(r,"features")){const u=$(n,"features"),l=$(r,"features");u!==l&&(e.remove(u),e.add(l))}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>Pn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var VE=ba(cd(ya(Zr,!0,["ObjectManager"])));class _r extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:r}=this.props,o=_r.mountObject(r&&typeof r.modifyConstructor=="function"?r.modifyConstructor(n[e]):n[e],this.props);this.instance=o,this.setState({instance:o})}componentDidUpdate(e){this.instance!==null&&_r.updateObject(this.instance,e,this.props)}componentWillUnmount(){_r.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e($(n,"geometry"),$(n,"properties"),$(n,"options"));if(Object.keys(i).forEach(a=>Mn(s,a,i[a])),o&&o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"geometry")){const u=$(n,"geometry",{}),l=$(r,"geometry",{});Array.isArray(l)&&l!==u?Array.isArray(l[0])&&typeof l[1]=="number"?(e.geometry.setCoordinates(l[0]),e.geometry.setRadius(l[1])):e.geometry.setCoordinates(l):typeof l=="object"&&(l.coordinates!==u.coordinates&&e.geometry.setCoordinates(l.coordinates),l.radius!==u.radius&&e.geometry.setRadius(l.radius))}if($e(r,"properties")){const u=$(n,"properties"),l=$(r,"properties");u!==l&&e.properties.set(l)}if($e(r,"options")){const u=$(n,"options"),l=$(r,"options");u!==l&&e.options.set(l)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>Pn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var vd=ba(cd(ya(t=>c.createElement(_r,On({},t,{name:"Placemark"})),!0,["Placemark"])));const md=(t,e,n)=>t==null?void 0:t.map(r=>{var o;return{id:r.uid,type:"Feature",properties:{point:r},geometry:{type:"Point",coordinates:[r.location.latitude,r.location.longitude]},options:{hideIconOnBalloonOpen:!1,preset:Oi(r.type),balloonOffset:[0,-Hn[1]],balloonContentLayout:(o=e==null?void 0:e.templateLayoutFactory)==null?void 0:o.createClass(n)}}}),Oi=(t,e)=>t===30?`custom#pin-postmat${e?`__${e}`:""}`:`custom#pin-pvz${e?`__${e}`:""}`,Xr=t=>[-(t[0]/2),-t[1]],GE={en:"en_US",ru:"ru_RU"},QE={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},YE=["templateLayoutFactory","option.presetStorage","geocode"],WE=["objectManager.addon.objectsBalloon"],yd=["geoObject.addon.balloon"],KE={yandexMapDisablePoiInteractivity:!1},RE={clusterize:!0},bd={iconImageSize:Gt,iconLayout:"default#image",hideIconOnBalloonOpen:!1,iconImageHref:Jf,balloonOffset:[0,-Gt[1]],iconImageOffset:Xr(Gt)},Ea={root:"MapYandex-module__root__r3kDJ8",overlay:"MapYandex-module__overlay__f7UGYS",details:"MapYandex-module__details__E3bDvL"},qE=({className:t})=>{const{t:e}=Lt(["courier_balloon","common"]),n=c.useRef(),r=c.useRef(null),{map:o,locale:i,disableCourierDelivery:s,hideMapUI:a,onPointClick:u}=Dt(),[l,f]=c.useState(null),[d,h]=c.useState([]),[g,v]=c.useState(RE),p=gn(B=>B.place),w=We(B=>B.zoom),E=We(B=>B.setLoaded),m=We(B=>B.setDetailsOpen),b=Cn(),O=Ut(B=>B.points),S=Ut(B=>B.loading),y=Ut(B=>B.loadNext),C=Qt(B=>B.courierPoint),A=Qt(B=>B.setCourierPoint),P=Wt(B=>B.location),M=Wt(B=>B.setSelectedPoint),x=Wt(B=>B.setSelectPointHook),k=c.useRef([]),N=c.useMemo(()=>so.renderToString(L.jsx(sd,{SSR:!0})).replace("{ choose }",e("choose")).replace("{ details }",e("details")),[e,i]),z=c.useMemo(()=>so.renderToString(L.jsx(ga,{SSR:!0,variant:"default"})).replace("{ details }",e("details",{ns:"common"})).replace("{ courier_balloon.title }",e("title")),[e,i]),Q=c.useMemo(()=>so.renderToString(L.jsx(ga,{SSR:!0,variant:"error"})).replace("{ courier_balloon.error_title }",e("error_title")).replace("{ courier_balloon.error_description }",e("error_description")),[e,i]),R=c.useMemo(()=>({zoom:$i,center:(o==null?void 0:o.center)??zn,behaviors:["default","scrollZoom"]}),[o==null?void 0:o.center]);c.useEffect(()=>{var B,q;(q=n.current)==null||q.events.fire("boundschange",{newBounds:(B=n.current)==null?void 0:B.getBounds()})},[l]),c.useEffect(()=>{if(!l||!r.current)return;k.current.forEach(q=>{var _;q.id!==(P==null?void 0:P.uid)&&((_=r.current)==null||_.remove(q))});const B=md(O,l,N);k.current=B,r.current.add(B)},[N,l,O,P==null?void 0:P.uid]),c.useEffect(()=>{var _,re,pe,oe,ue;if(!p)return;const B=(re=(_=p.geometry)==null?void 0:_.location)==null?void 0:re.lng(),q=(oe=(pe=p.geometry)==null?void 0:pe.location)==null?void 0:oe.lat();!q||!B||(ue=n.current)==null||ue.setCenter([q,B],w,{duration:300,timingFunction:"ease-in-out"})},[p]);const G=c.useCallback(B=>{const q=B.get("newBounds");y([[q[0][0],q[1][0]],[q[0][1],q[1][1]]],b)},[b,y]),K=c.useRef(P),T=c.useCallback(B=>{var q,_,re,pe;f(B),E(),(q=B==null?void 0:B.option)==null||q.presetStorage.add("custom#pin-postmat",{iconImageSize:Gt,iconLayout:"default#image",iconImageHref:ma,iconImageOffset:Xr(Gt)}),(_=B==null?void 0:B.option)==null||_.presetStorage.add("custom#pin-postmat__active",{iconLayout:"default#image",iconImageHref:ma,iconImageSize:Hn,iconImageOffset:Xr(Hn)}),(re=B==null?void 0:B.option)==null||re.presetStorage.add("custom#pin-pvz",{iconImageSize:Gt,iconLayout:"default#image",iconImageHref:va,iconImageOffset:Xr(Gt)}),(pe=B==null?void 0:B.option)==null||pe.presetStorage.add("custom#pin-pvz__active",{iconLayout:"default#image",iconImageHref:va,iconImageSize:Hn,iconImageOffset:Xr(Hn)}),v(oe=>{const ue=window.getComputedStyle(document.getElementById(Oc)).getPropertyValue("--color-primary");return{...oe,clusterIconColor:ue}}),h(md(O,B,N))},[N,O,E]),I=c.useCallback(B=>{var q,_;B&&((q=n.current)==null||q.setCenter([B.location.latitude,B.location.longitude],vo,{duration:300,timingFunction:"ease-in-out"}),(_=r.current)==null||_.objects.events.fire("click",{objectId:B.uid}))},[]);c.useEffect(()=>{x(I)},[I,x]);const D=c.useCallback(()=>{m(!0)},[m]),V=c.useCallback(()=>{var B;K.current&&(u(K.current),m(!1),M(null),A(null),(B=n.current)==null||B.balloon.close())},[u,A,m,M]),H=c.useCallback(()=>{var B,q;(B=document.getElementById(go))==null||B.addEventListener("click",D),(q=document.getElementById(Xi))==null||q.addEventListener("click",V)},[V,D]),Y=c.useCallback(B=>{var _,re,pe,oe,ue,Le;const q=B.get("objectId");((_=K.current)==null?void 0:_.uid)===q&&((oe=r.current)==null||oe.objects.setObjectOptions((re=K.current)==null?void 0:re.uid,{preset:Oi((pe=K.current)==null?void 0:pe.type)}),A(null),M(null),A(null),K.current=null),(ue=document.getElementById(go))==null||ue.removeEventListener("click",D),(Le=document.getElementById(Xi))==null||Le.removeEventListener("click",V)},[V,D,A,M]),ne=c.useCallback(B=>{var pe,oe,ue,Le;const q=B.get("objectId"),_=(oe=(pe=r.current)==null?void 0:pe.objects)==null?void 0:oe.getById(q);if(!_)return;const re=_.properties.point;m(!1),A(null),M(re),(ue=r.current)==null||ue.objects.each(Me=>{var ae;const Pe=Me;(ae=r.current)==null||ae.objects.setObjectOptions(Pe.id,{preset:Oi(Pe.properties.point.type)})}),(Le=r.current)==null||Le.objects.setObjectOptions(q,{preset:Oi(re.type,"active")}),K.current=re},[A,m,M]),U=c.useCallback(async B=>{if(!l||s)return;const q=B.get("coords"),{geoObjects:_}=await l.geocode(q),re=_.get(0),pe=re.getAddressLine(),oe=re.properties.get("metaDataProperty.GeocoderMetaData.precision",{});if(M(null),oe!=="exact"){A({coords:q,address:null});return}A({coords:q,address:pe})},[s,l,A,M]),ee=c.useMemo(()=>{var B;return{...bd,balloonContentLayout:(B=l==null?void 0:l.templateLayoutFactory)==null?void 0:B.createClass(z)}},[z,l==null?void 0:l.templateLayoutFactory]),le=c.useMemo(()=>{var B;return{...bd,balloonContentLayout:(B=l==null?void 0:l.templateLayoutFactory)==null?void 0:B.createClass(Q)}},[Q,l==null?void 0:l.templateLayoutFactory]),J=c.useCallback(B=>{var q,_,re,pe,oe;(q=B==null?void 0:B.balloon)==null||q.open(),(re=(_=B==null?void 0:B.balloon)==null?void 0:_.events)==null||re.add("open",H),(oe=(pe=B==null?void 0:B.balloon)==null?void 0:pe.events)==null||oe.add("close",Y)},[Y,H]);return L.jsxs("div",{className:Ce(Ea.root,t,{[Ea.hideUI]:a}),children:[L.jsx(zE,{query:{...QE,lang:GE[i??"ru"]},children:L.jsxs(gd,{width:"100%",height:"100%",state:R,instanceRef:n,options:KE,modules:YE,onLoad:T,onClick:U,onBoundsChange:G,children:[(C==null?void 0:C.address)&&L.jsx(vd,{properties:C,modules:yd,geometry:C.coords,options:ee,instanceRef:J},JSON.stringify(C.coords)),C&&!C.address&&L.jsx(vd,{modules:yd,geometry:C.coords,instanceRef:J,options:le},JSON.stringify(C.coords)),L.jsx(VE,{features:d,instanceRef:r,modules:WE,options:g,onClick:ne,onBalloonOpen:H,onBalloonClose:Y})]})},i),S&&L.jsx(ra,{className:Ea.overlay,children:L.jsx(oa,{})})]})},JE=c.memo(qE),ZE=t=>({google:BE,yandex:JE})[t];function Ed(...t){return c.useCallback(e=>{for(let n=0;n<t.length;n++){const r=t[n];typeof r=="function"?r(e):r&&typeof r=="object"&&(r.current=e)}},t)}const Mi=t=>{const e=c.useCallback(()=>{var n;(n=t==null?void 0:t.onClick)==null||n.call(t,t.name)},[t]);return{ref:t==null?void 0:t.ref,name:t==null?void 0:t.name,onClick:e}};function _E(t){const e=c.useCallback(o=>{const i=window.matchMedia(t);return i.addEventListener("change",o),()=>{i.removeEventListener("change",o)}},[t]),n=()=>window.matchMedia(t).matches,r=()=>{throw Error("useMediaQuery is a client-only hook")};return c.useSyncExternalStore(e,n,r)}const XE={screenSm:"768px",screenMd:"1024px",screenLg:"1280px",screenXl:"1536px"};function $r(t){return _E(`(max-width: calc(${XE[t]} - 1px))`)}const $E={root:"Hr-module__root__tBRShh"},wa=({className:t,...e})=>L.jsx("hr",{className:Ce($E.root,t),...e}),Kt={root:"Sidebar-module__root__hxXudu",closeButton:"Sidebar-module__closeButton__8k-Ph3",open:"Sidebar-module__open__qMGUBV",header:"Sidebar-module__header__Eu-wRc",typeFilter:"Sidebar-module__typeFilter__-lxVdY",separator:"Sidebar-module__separator__XDb6rs",withRightPadding:"Sidebar-module__withRightPadding__knvmuY",sheetContent:"Sidebar-module__sheetContent__4iWeTf",doneButton:"Sidebar-module__doneButton__chvXVP"},ew=()=>{const{t}=Lt("common"),e=$r("screenSm"),n=Fn(o=>o.toggle),r=()=>{n(!1)};return L.jsxs("div",{className:Kt.header,children:[e&&L.jsx("div",{className:Kt.doneButton,onClick:r,children:t("done")}),!e&&L.jsx(Ci,{className:Kt.closeButton,onClick:r})]})},Pi={root:"TypeFilter-module__root__FEaBBU",button:"TypeFilter-module__button__RYOzBQ"},tw=({value:t,onChange:e,className:n})=>{const{t:r}=Lt("type_filter"),o=i=>()=>e==null?void 0:e(i);return L.jsxs("div",{className:Ce(Pi.root,n),children:[L.jsx(bt,{className:Pi.button,variant:t===on.All?"primary":"secondary",onClick:o(on.All),children:r("all")}),L.jsx(bt,{className:Pi.button,variant:t===on.PostOffice?"primary":"secondary",onClick:o(on.PostOffice),children:r("post_office")}),L.jsx(bt,{className:Pi.button,variant:t===on.PickPoint?"primary":"secondary",onClick:o(on.PickPoint),children:r("pick_point")})]})},nw=({className:t,onChange:e})=>{const n=Cn(r=>r.type);return L.jsx(tw,{value:n,className:t,onChange:e})},rw=c.memo(nw),wd={root:"Radio-module__root__FMbfCi",label:"Radio-module__label__-LLJSR"},ow=({label:t,className:e,labelProps:n={},...r})=>{const{className:o,...i}=n;return L.jsxs("label",{className:Ce(wd.label,o),...i,children:[L.jsx("input",{type:"radio",className:Ce(wd.root,e),...r}),t]})},ar=t=>L.jsx(ow,{...t,type:"checkbox"}),Ca={root:"RadioGroup-module__root__wNjmrq",body:"RadioGroup-module__body__n4Ho0-",legend:"RadioGroup-module__legend__ECksBN"},Cd=({label:t,value:e,onChange:n,children:r,className:o,...i})=>L.jsxs("div",{className:Ce(Ca.root,o),...i,children:[t&&L.jsx("span",{className:Ca.legend,children:t}),L.jsx("div",{className:Ca.body,children:c.Children.map(r,s=>c.isValidElement(s)?c.cloneElement(s,{checked:!!(e!=null&&e[s.props.value]),onChange:a=>n==null?void 0:n({...e,[a.target.value]:a.target.checked})}):null)})]}),iw=({className:t,onChange:e})=>{const{t:n}=Lt("send_filter"),r=Cn(o=>o.send);return L.jsxs(Cd,{className:t,value:r,label:n("title"),onChange:e,children:[L.jsx(ar,{name:"send",value:jt.Return,label:n("sending_returns")}),L.jsx(ar,{name:"send",value:jt.Shipping,label:n("shipping")}),L.jsx(ar,{name:"send",value:jt.Payment,label:n("payment")})]})},sw=c.memo(iw),aw=({className:t,onChange:e})=>{const{t:n}=Lt("receive_filter"),r=Cn(o=>o.receive);return L.jsxs(Cd,{value:r,label:n("title"),onChange:e,className:t,children:[L.jsx(ar,{name:"receive",value:Nt.DressingRoom,label:n("dressing_room")}),L.jsx(ar,{name:"receive",value:Nt.CheckOrder,label:n("check_order")}),L.jsx(ar,{name:"receive",value:Nt.PayByCash,label:n("pay_by_cash")})]})},lw=c.memo(aw),$S="",uw=({className:t})=>{const e=$r("screenSm"),n=Fn(f=>f.open),r=Fn(f=>f.toggle),o=Cn(f=>f.setFilter),i=c.useCallback(f=>o({type:f}),[o]),s=c.useCallback(f=>o({send:f}),[o]),a=c.useCallback(f=>o({receive:f}),[o]),u=c.useCallback(()=>r(!1),[r]),l=L.jsxs(L.Fragment,{children:[L.jsx(ew,{}),L.jsxs("div",{className:Kt.withRightPadding,children:[L.jsx(rw,{className:Kt.typeFilter,onChange:i}),L.jsx(wa,{className:Kt.separator}),L.jsx(lw,{onChange:a}),L.jsx(wa,{}),L.jsx(sw,{onChange:s}),L.jsx(wa,{})]})]});return e?L.jsx(qu,{initialFocusRef:!1,open:n,snapPoints:({maxHeight:f})=>f-Zf,onDismiss:u,children:L.jsx("div",{className:Kt.sheetContent,children:l})}):L.jsx("div",{className:Ce(Kt.root,t,{[Kt.open]:n}),children:l})},cw=t=>ce.createElement("svg",{width:60,height:40,viewBox:"0 0 60 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("path",{d:"M0 0H52C56.4183 0 60 3.58172 60 8V32C60 36.4183 56.4183 40 52 40H0V0Z",fill:"none"}),ce.createElement("path",{d:"M32.093 10H45.907C47.0581 10 48 10.9092 48 12.0205V14.2431C48 15.0513 47.4767 16.0615 46.9535 16.5667L42.4535 20.4056C41.8256 20.9108 41.407 21.921 41.407 22.7292V27.0733C41.407 27.6795 40.9884 28.4877 40.4651 28.7908L39 29.7C37.6395 30.5082 35.7558 29.599 35.7558 27.9826V22.6282C35.7558 21.921 35.3372 21.0118 34.9186 20.5067L30.9419 16.4656C30.4186 15.9605 30 15.0513 30 14.4451V12.1215C30 10.9092 30.9419 10 32.093 10Z",stroke:"white",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),fw=t=>ce.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("g",{id:"Filtr_mob"},ce.createElement("rect",{id:"bg",width:28,height:28,rx:4,fill:"#333333"}),ce.createElement("path",{id:"Vector",d:"M9.16507 7H18.8348C19.6406 7 20.3 7.63646 20.3 8.41436V9.97015C20.3 10.5359 19.9337 11.2431 19.5674 11.5967L16.4174 14.2839C15.9779 14.6375 15.6848 15.3447 15.6848 15.9105V18.9513C15.6848 19.3756 15.3918 19.9414 15.0255 20.1535L14 20.79C13.0476 21.3557 11.729 20.7193 11.729 19.5878V15.8397C11.729 15.3447 11.436 14.7083 11.143 14.3547L8.35925 11.5259C7.99297 11.1724 7.69995 10.5359 7.69995 10.1116V8.48508C7.69995 7.63646 8.35925 7 9.16507 7Z",stroke:"white",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))),zt={root:"MapContainer-module__root__nze9pB",mapWrapper:"MapContainer-module__mapWrapper__twRo4C",wrapperBlurred:"MapContainer-module__wrapperBlurred__U-Ohae",locationSelector:"MapContainer-module__locationSelector__lEiSKq",filterButton:"MapContainer-module__filterButton__jIRGu9",sidebarOpen:"MapContainer-module__sidebarOpen__sUhaH-",filterIcon:"MapContainer-module__filterIcon__-2Qd2d",details:"MapContainer-module__details__sAP6T2"},dw=()=>{const t=Fn(o=>o.open),e=Fn(o=>o.toggle),n=$r("screenSm"),r=()=>{e(!0)};return L.jsxs("div",{className:Ce(zt.filterButton,{[zt.sidebarOpen]:t}),onClick:n?void 0:r,children:[n&&L.jsx(ll,{}),n?L.jsx(fw,{className:zt.filterIcon,onClick:r}):L.jsx(cw,{className:zt.filterIcon})]})};var Sd={},ki={},Ld={exports:{}},hw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",pw=hw,gw=pw;function Ad(){}function xd(){}xd.resetWarningCache=Ad;var vw=function(){function t(r,o,i,s,a,u){if(u!==gw){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:xd,resetWarningCache:Ad};return n.PropTypes=n,n};Ld.exports=vw();var mw=Ld.exports,Ii={},lr={};Object.defineProperty(lr,"__esModule",{value:!0}),lr.loadGoogleMapScript=lr.isBrowser=void 0;var Od=typeof window<"u"&&window.document;lr.isBrowser=Od;var yw=function(e,n){if(!Od||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var r=document.querySelectorAll('script[src*="'.concat(e,'"]'));if(r&&r.length)return new Promise(function(s){if(typeof google<"u")return s();r[0].addEventListener("load",function(){return s()})});var o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var i=document.createElement("script");return i.src=o.toString(),new Promise(function(s){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=s,document.body.appendChild(i)})};lr.loadGoogleMapScript=yw;var Di={};Object.defineProperty(Di,"__esModule",{value:!0}),Di.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var bw="https://maps.googleapis.com/maps/api/js";Di.GOOGLE_MAP_SCRIPT_BASE_URL=bw;function Ti(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ti=function(n){return typeof n}:Ti=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ti(t)}Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=Aw;var dt=ww(c),Sa=lr,Ew=Di;function Md(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Md=function(o){return o?n:e})(t)}function ww(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Ti(t)!=="object"&&typeof t!="function")return{default:t};var n=Md(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Pd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function kd(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Pd(Object(n),!0).forEach(function(r){Cw(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Cw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sw(t,e){if(t==null)return{};var n=Lw(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Lw(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Aw(t){var e=t.ref,n=t.onPlaceSelected,r=t.apiKey,o=t.libraries,i=o===void 0?"places":o,s=t.inputAutocompleteValue,a=s===void 0?"new-password":s,u=t.options;u=u===void 0?{}:u;var l=u.types,f=l===void 0?["(cities)"]:l,d=u.componentRestrictions,h=u.fields,g=h===void 0?["address_components","geometry.location","place_id","formatted_address"]:h,v=u.bounds,p=Sw(u,["types","componentRestrictions","fields","bounds"]),w=t.googleMapsScriptBaseUrl,E=w===void 0?Ew.GOOGLE_MAP_SCRIPT_BASE_URL:w,m=t.language,b=(0,dt.useRef)(null),O=(0,dt.useRef)(null),S=(0,dt.useRef)(null),y=(0,dt.useRef)(null),C=m?"&language=".concat(m):"",A="".concat(E,"?libraries=").concat(i,"&key=").concat(r).concat(C),P=(0,dt.useCallback)(function(){return(0,Sa.loadGoogleMapScript)(E,A)},[E,A]);return(0,dt.useEffect)(function(){var M=kd(kd({},p),{},{fields:g,types:f,bounds:v});if(d&&(M.componentRestrictions=d),!(S.current||!b.current||!Sa.isBrowser)){e&&!e.current&&(e.current=b.current);var x=function(){var N;if(typeof google>"u")return console.error("Google has not been found. Make sure your provide apiKey prop.");if(!((N=google.maps)!==null&&N!==void 0&&N.places))return console.error("Google maps places API must be loaded.");if(!b.current instanceof HTMLInputElement)return console.error("Input ref must be HTMLInputElement.");S.current=new google.maps.places.Autocomplete(b.current,M),S.current&&(O.current=S.current.addListener("place_changed",function(){n&&S&&S.current&&n(S.current.getPlace(),b.current,S.current)}))};return r?P().then(function(){return x()}):x(),function(){return O.current?O.current.remove():void 0}}},[]),(0,dt.useEffect)(function(){var M;!(dt.default!==null&&dt.default!==void 0&&(M=dt.default.version)!==null&&M!==void 0&&M.startsWith("18"))&&Sa.isBrowser&&window.MutationObserver&&b.current&&b.current instanceof HTMLInputElement&&(y.current=new MutationObserver(function(){y.current.disconnect(),b.current&&(b.current.autocomplete=a)}),y.current.observe(b.current,{attributes:!0,attributeFilter:["autocomplete"]}))},[a]),(0,dt.useEffect)(function(){S.current&&S.current.setFields(g)},[g]),(0,dt.useEffect)(function(){S.current&&S.current.setBounds(v)},[v]),(0,dt.useEffect)(function(){S.current&&S.current.setComponentRestrictions(d)},[d]),(0,dt.useEffect)(function(){S.current&&S.current.setOptions(p)},[p]),{ref:b,autocompleteRef:S}}function Bi(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Bi=function(n){return typeof n}:Bi=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Bi(t)}Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=void 0;var La=Ow(c),Re=Id(mw),xw=Id(Ii);function Id(t){return t&&t.__esModule?t:{default:t}}function Dd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Dd=function(o){return o?n:e})(t)}function Ow(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Bi(t)!=="object"&&typeof t!="function")return{default:t};var n=Dd(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Ni(){return Ni=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ni.apply(this,arguments)}function Mw(t,e){if(t==null)return{};var n=Pw(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Pw(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Td(t){var e=t.onPlaceSelected,n=t.apiKey,r=t.libraries,o=t.inputAutocompleteValue,i=t.options,s=t.googleMapsScriptBaseUrl,a=t.refProp,u=t.language,l=Mw(t,["onPlaceSelected","apiKey","libraries","inputAutocompleteValue","options","googleMapsScriptBaseUrl","refProp","language"]),f=(0,xw.default)({ref:a,googleMapsScriptBaseUrl:s,onPlaceSelected:e,apiKey:n,libraries:r,inputAutocompleteValue:o,options:i,language:u}),d=f.ref;return La.default.createElement("input",Ni({ref:d},l))}Td.propTypes={apiKey:Re.default.string,libraries:Re.default.arrayOf(Re.default.string),ref:Re.default.oneOfType([Re.default.func,Re.default.shape({current:Re.default.any})]),googleMapsScriptBaseUrl:Re.default.string,onPlaceSelected:Re.default.func,inputAutocompleteValue:Re.default.string,options:Re.default.shape({componentRestrictions:Re.default.object,bounds:Re.default.object,location:Re.default.object,offset:Re.default.number,origin:Re.default.object,radius:Re.default.number,sessionToken:Re.default.object,types:Re.default.arrayOf(Re.default.string)}),language:Re.default.string};var kw=(0,La.forwardRef)(function(t,e){return La.default.createElement(Td,Ni({},t,{refProp:e}))});ki.default=kw,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"usePlacesWidget",{enumerable:!0,get:function(){return n.default}});var e=r(ki),n=r(Ii);function r(o){return o&&o.__esModule?o:{default:o}}}(Sd);var Bd=Sd;const Iw=t=>ce.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ce.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6174 16.0317C13.0777 17.2635 11.1246 18 8.99951 18C4.02895 18 -0.000488281 13.9706 -0.000488281 9C-0.000488281 4.02944 4.02895 0 8.99951 0C13.9701 0 17.9995 4.02944 17.9995 9C17.9995 11.1249 17.2631 13.0778 16.0316 14.6175L19.707 18.2929C20.0975 18.6834 20.0975 19.3166 19.707 19.7071C19.3165 20.0977 18.6833 20.0977 18.2928 19.7071L14.6174 16.0317ZM1.99951 9C1.99951 5.13401 5.13352 2 8.99951 2C12.8655 2 15.9995 5.13401 15.9995 9C15.9995 10.8866 15.2532 12.5988 14.0397 13.8577C14.006 13.8836 13.9737 13.9121 13.9428 13.9429C13.9119 13.9738 13.8835 14.0062 13.8575 14.0399C12.5986 15.2535 10.8863 16 8.99951 16C5.13352 16 1.99951 12.866 1.99951 9Z",fill:"currentcolor"})),ur={root:"Input-module__root__4cwtKq",endAdornment:"Input-module__endAdornment__Tv4vyT",input:"Input-module__input__qeMAQB",startAdornment:"Input-module__startAdornment__4bXzn1",label:"Input-module__label__N2eUZ2",inputContainer:"Input-module__inputContainer__Ticemx"},Nd=c.forwardRef(({label:t,className:e,startAdornment:n,endAdornment:r,onChange:o,onBlur:i,inputRef:s,...a},u)=>{const l=c.useRef(null);c.useImperativeHandle(u,()=>({focus:()=>{var d;(d=l.current)==null||d.focus()},blur:()=>{var d;(d=l.current)==null||d.blur()},setValue:d=>{if(o){o({target:{value:d}});return}if(i){i({target:{value:d}});return}l.current&&(l.current.value=d)}}),[i,o]);const f=Ed(s,l);return L.jsxs("label",{className:Ce(ur.root,e),children:[t&&L.jsx("span",{className:ur.label,children:t}),L.jsxs("div",{className:ur.inputContainer,children:[n&&L.jsx("div",{className:ur.startAdornment,children:n}),L.jsx("input",{...a,ref:f,className:ur.input,onChange:o,onBlur:i}),r&&L.jsx("div",{className:ur.endAdornment,children:r})]})]})}),Dw=({className:t})=>{const{t:e}=Lt("location_selector"),{country:n,inputs:r}=Dt(),[o,i]=c.useState(""),[s,a]=c.useState(!1),u=We(O=>O.setZoom),l=We(O=>O.setBlurred),f=gn(O=>O.setPlace),d=[],h=n?{componentRestrictions:{country:n},types:d}:{types:d},g=O=>{u(vo),f(O)},{ref:v}=Bd.usePlacesWidget({libraries:["places"],options:h,onPlaceSelected:g,inputAutocompleteValue:o}),p=O=>{s&&l(!!O.target.value),i(O.target.value)},w=()=>{o&&l(!0),a(!0)},E=()=>{l(!1),a(!1)},m=O=>{O.key==="Enter"&&O.preventDefault()},b=Mi(r==null?void 0:r.address);return L.jsx(Nd,{...b,inputRef:v,value:o,className:t,endAdornment:L.jsx(Iw,{}),placeholder:e("placeholder"),onChange:p,onFocus:w,onBlur:E,onKeyDown:m})},Tw=({className:t})=>We(n=>n.loaded)?L.jsx(Dw,{className:t}):null,Bw=c.memo(Tw),Nw={root:"CourierDetailsModal-module__root__gLu0VW"},jw=({onClose:t,onSubmit:e,location:n,className:r})=>L.jsx("div",{className:Ce(Nw.root,r),children:L.jsx(od,{location:n,onClose:t,onSubmit:e})}),Uw={root:"LocationDetailsModal-module__root__AzUydF"},Hw=({onClose:t,onSubmit:e,location:n,className:r})=>{const o=()=>{e==null||e(n)};return L.jsx("div",{className:Ce(Uw.root,r),children:L.jsx(ad,{location:n,onClose:t,onSubmit:o})})},zw=()=>{const{onPointClick:t}=Dt(),e=We(l=>l.detailsOpen),n=We(l=>l.setDetailsOpen),r=Wt(l=>l.location),o=Wt(l=>l.setSelectedPoint),i=Qt(l=>l.courierPoint),s=Qt(l=>l.setCourierPoint),a=c.useCallback(()=>{n(!1)},[n]),u=c.useCallback(l=>{t(l),n(!1),o(null),s(null)},[t,s,n,o]);return L.jsxs(L.Fragment,{children:[(i==null?void 0:i.address)&&e&&L.jsx(jw,{location:i,className:zt.details,onClose:a,onSubmit:u}),r&&e&&L.jsx(Hw,{location:r,className:zt.details,onClose:a,onSubmit:u})]})},Fw=({className:t,children:e})=>{const n=We(r=>r.blurred);return L.jsxs("div",{className:Ce(zt.root,t),children:[L.jsx(Bw,{className:zt.locationSelector}),L.jsx(dw,{}),L.jsx("div",{className:Ce(zt.mapWrapper,{[zt.wrapperBlurred]:n}),children:e}),L.jsx(zw,{})]})},Vw=c.memo(Fw),ji={root:"Aside-module__root__JSqCyF",open:"Aside-module__open__t8OMLZ",overlay:"Aside-module__overlay__0UAvMb",container:"Aside-module__container__KJNP0t"},Gw=({open:t,children:e,className:n})=>L.jsxs("div",{className:Ce(ji.root,n,{[ji.open]:t}),children:[L.jsx("div",{className:ji.overlay}),L.jsx("div",{className:ji.container,children:e})]}),Aa={submit:"LocationAside-module__submit__hx8LTK",container:"LocationAside-module__container__KEGf9s",selector:"LocationAside-module__selector__ogsvtz",label:"LocationAside-module__label__-FWqoq"},Qw=()=>{const{t}=Lt(["location_aside","common"]),{country:e,inputs:n}=Dt(),r=c.useRef(null),o=We(p=>p.setZoom),i=gn(p=>p.setPlace),[s,a]=c.useState(""),u=yo(p=>p.open),l=yo(p=>p.toggle),f=p=>{l(!1),o(il),i(p),p!=null&&p.formatted_address&&a(p==null?void 0:p.formatted_address)},d=e?{componentRestrictions:{country:e}}:void 0,h=p=>{a(p.target.value)},{ref:g}=Bd.usePlacesWidget({libraries:["places"],options:d,onPlaceSelected:f,apiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",inputAutocompleteValue:s}),v=Mi(n==null?void 0:n.city);return L.jsx(Gw,{open:u,children:L.jsx("div",{ref:r,className:Aa.container,children:L.jsxs("div",{className:Aa.selector,children:[L.jsx("div",{className:Aa.label,children:t("choose_city")}),L.jsx(Nd,{...v,inputRef:g,value:s,placeholder:t("placeholder"),onChange:h})]})})})},Yw=c.memo(Qw),Ww=t=>{const e=Bh(["language"]);c.useEffect(()=>{t&&(e.changeLanguage(t),fo.setLanguage(t))},[t,e])},Kw=t=>{c.useEffect(()=>{t&&Object.keys(t).forEach(n=>{const r=t[n];r&&Xs(`--color-${n}`,r)})},[t])},Rw=t=>{c.useEffect(()=>{t&&typeof t<"u"&&Xs("--button-radius",`${t}px`)},[t])},qw=t=>{c.useEffect(()=>{t&&typeof t<"u"&&Xs("--font",t)},[t])},Jw=t=>{const e=yo(r=>r.toggle),n=t==="selector";c.useEffect(()=>{n&&e(!0)},[n,e])},Zw=(t,e)=>{const n=We(s=>s.setZoom),r=We(s=>s.setLoaded),o=gn(s=>s.setPlace),{isLoaded:i}=sb({libraries:["geocoding","places"],googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",language:e});c.useEffect(()=>{i&&r()},[i,r]),c.useEffect(()=>{!t||!i||(async()=>{const s=await Pc(t,"GEOMETRIC_CENTER");o(s.results[0]),n(il)})()},[t,i,n,o])},_w=({children:t,locale:e})=>(Ww(e),L.jsx(L.Fragment,{children:t})),jd=()=>L.jsx(ra,{children:L.jsx(oa,{})}),Xw=({children:t})=>{const e=Ut(r=>r.loaded);return Ut(r=>r.loading)&&!e?L.jsx(jd,{}):L.jsx(L.Fragment,{children:t})},xa={map:"Widget-module__map__GhmuPO",sidebar:"Widget-module__sidebar__5gQrb3",header:"Widget-module__header__QlBK5m"},$w=({config:t,options:e})=>{const n=U0(t),{map:r,font:o,radius:i,locale:s,palette:a,startScreen:u,INN:l}=n;co(l,"INN is required"),H0(l,e),co(r==null?void 0:r.provider,"Map provider is required");const f=ZE(r.provider);return S0(),qw(o),Kw(a),Rw(i),Jw(u),co(s,"Locale is required"),co(r.center,"Map center is required"),Zw(r==null?void 0:r.center,s),L.jsx(Ph,{tolgee:Hh,fallback:L.jsx(jd,{}),children:L.jsx(_w,{locale:s,children:L.jsx(Xw,{children:L.jsx(al.Provider,{value:n,children:L.jsxs(Lp,{children:[L.jsx(Cp,{className:xa.header}),L.jsx(uw,{className:xa.sidebar}),L.jsx(Vw,{className:xa.map,children:L.jsx(f,{})}),L.jsx(Yw,{})]})})})})})};It.Widget=$w,Object.defineProperty(It,Symbol.toStringTag,{value:"Module"})});
|